Home
last modified time | relevance | path

Searched refs:threshold1 (Results 1 - 8 of 8) sorted by relevance

/third_party/ffmpeg/libavfilter/x86/
H A Dvf_spp.c33 unsigned int threshold1; in hardthresh_mmx() local
35 threshold1 = qp * ((1<<4) - bias) - 1; in hardthresh_mmx()
94 : : "r" (src), "r" (dst), "g" (threshold1+1), "g" (threshold1+5), "g" (threshold1-4) //FIXME maybe more accurate then needed? in hardthresh_mmx()
103 unsigned int threshold1; in softthresh_mmx() local
105 threshold1 = qp*((1<<4) - bias) - 1; in softthresh_mmx()
171 : : "r" (src), "r" (dst), "g" (threshold1), "rm" (4) //FIXME maybe more accurate then needed? in softthresh_mmx()
/third_party/ffmpeg/libavfilter/
H A Dvf_pp7.c148 unsigned int threshold1 = p->thres2[qp][i]; in hardthresh_c() local
149 unsigned int threshold2 = threshold1 << 1; in hardthresh_c()
151 if (((unsigned)(level + threshold1)) > threshold2) in hardthresh_c()
164 unsigned int threshold1 = p->thres2[qp][i]; in mediumthresh_c() local
165 unsigned int threshold2 = threshold1 << 1; in mediumthresh_c()
167 if (((unsigned)(level + threshold1)) > threshold2) { in mediumthresh_c()
168 if (((unsigned)(level + 2 * threshold1)) > 2 * threshold2) in mediumthresh_c()
172 a += 2 * (level - (int)threshold1) * factor[i]; in mediumthresh_c()
174 a += 2 * (level + (int)threshold1) * factor[i]; in mediumthresh_c()
188 unsigned int threshold1 in softthresh_c() local
[all...]
H A Dvf_spp.c127 unsigned threshold1 = qp * ((1<<4) - bias) - 1; in hardthresh_c() local
128 unsigned threshold2 = threshold1 << 1; in hardthresh_c()
135 if (((unsigned)(level + threshold1)) > threshold2) { in hardthresh_c()
148 unsigned threshold1 = qp * ((1<<4) - bias) - 1; in softthresh_c() local
149 unsigned threshold2 = threshold1 << 1; in softthresh_c()
156 if (((unsigned)(level + threshold1)) > threshold2) { in softthresh_c()
158 if (level > 0) dst[j] = (level - threshold1 + 4) >> 3; in softthresh_c()
159 else dst[j] = (level + threshold1 + 4) >> 3; in softthresh_c()
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Dquant_levels_dec_utils.c163 // f(x) = 0 for x >= threshold1 in InitCorrectionLUT()
164 // and a linear interpolation for range x=[threshold2, threshold1] in InitCorrectionLUT()
166 // Note that: threshold2 = 3/4 * threshold1 in InitCorrectionLUT()
167 const int threshold1 = min_dist << LFIX; in InitCorrectionLUT() local
168 const int threshold2 = (3 * threshold1) >> 2; in InitCorrectionLUT()
170 const int delta = threshold1 - threshold2; in InitCorrectionLUT()
174 : (i < threshold1) ? max_threshold * (threshold1 - i) / delta in InitCorrectionLUT()
/third_party/skia/samplecode/
H A DSampleSimpleStroker.cpp269 const float threshold1 = radiusSquared * cosAlpha * cosAlpha; in join()
277 const float maxLenSqd = std::max(threshold1, threshold2); in join()
/third_party/ffmpeg/libavcodec/
H A Ddnxhdenc.c127 unsigned int threshold1, threshold2; in dnxhd_10bit_dct_quantize_444() local
136 threshold1 = (1 << 16) - bias - 1; in dnxhd_10bit_dct_quantize_444()
137 threshold2 = (threshold1 << 1); in dnxhd_10bit_dct_quantize_444()
143 if (((unsigned)(level + threshold1)) > threshold2) { in dnxhd_10bit_dct_quantize_444()
155 if (((unsigned)(level + threshold1)) > threshold2) { in dnxhd_10bit_dct_quantize_444()
H A Dmpegvideo_enc.c3794 unsigned int threshold1, threshold2; in dct_quantize_trellis_c() local
3868 threshold1= (1<<QMAT_SHIFT) - bias - 1; in dct_quantize_trellis_c()
3869 threshold2= (threshold1<<1); in dct_quantize_trellis_c()
3875 if(((unsigned)(level+threshold1))>threshold2){ in dct_quantize_trellis_c()
3887 if(((unsigned)(level+threshold1))>threshold2){ in dct_quantize_trellis_c()
4127 // unsigned int threshold1, threshold2; in dct_quantize_refine()
4481 unsigned int threshold1, threshold2; in ff_dct_quantize_c() local
4513 threshold1= (1<<QMAT_SHIFT) - bias - 1; in ff_dct_quantize_c()
4514 threshold2= (threshold1<<1); in ff_dct_quantize_c()
4519 if(((unsigned)(level+threshold1))>threshold in ff_dct_quantize_c()
[all...]
/third_party/mesa3d/src/amd/addrlib/src/r800/
H A Degbaddrlib.cpp1118 UINT_32 threshold1 = in ComputeSurfaceMipLevelTileMode() local
1136 (interleaveSize > threshold1) || in ComputeSurfaceMipLevelTileMode()

Completed in 28 milliseconds