Home
last modified time | relevance | path

Searched refs:av_clip_pixel (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsimple_idct_template.c271 dest[0] = av_clip_pixel((int)(a0 + b0) >> COL_SHIFT);
273 dest[0] = av_clip_pixel((int)(a1 + b1) >> COL_SHIFT);
275 dest[0] = av_clip_pixel((int)(a2 + b2) >> COL_SHIFT);
277 dest[0] = av_clip_pixel((int)(a3 + b3) >> COL_SHIFT);
279 dest[0] = av_clip_pixel((int)(a3 - b3) >> COL_SHIFT);
281 dest[0] = av_clip_pixel((int)(a2 - b2) >> COL_SHIFT);
283 dest[0] = av_clip_pixel((int)(a1 - b1) >> COL_SHIFT);
285 dest[0] = av_clip_pixel((int)(a0 - b0) >> COL_SHIFT);
295 dest[0] = av_clip_pixel(dest[0] + ((int)(a0 + b0) >> COL_SHIFT));
297 dest[0] = av_clip_pixel(dest[0] + ((int)(a1 + b1) >> COL_SHIFT));
[all …]
Dh264idct_template.c60 dst[i + 0*stride]= av_clip_pixel(dst[i + 0*stride] + ((int)(z0 + z3) >> 6)); in FUNCC()
61 dst[i + 1*stride]= av_clip_pixel(dst[i + 1*stride] + ((int)(z1 + z2) >> 6)); in FUNCC()
62 dst[i + 2*stride]= av_clip_pixel(dst[i + 2*stride] + ((int)(z1 - z2) >> 6)); in FUNCC()
63 dst[i + 3*stride]= av_clip_pixel(dst[i + 3*stride] + ((int)(z0 - z3) >> 6)); in FUNCC()
130 dst[i + 0*stride] = av_clip_pixel( dst[i + 0*stride] + ((int)(b0 + b7) >> 6) ); in FUNCC()
131 dst[i + 1*stride] = av_clip_pixel( dst[i + 1*stride] + ((int)(b2 + b5) >> 6) ); in FUNCC()
132 dst[i + 2*stride] = av_clip_pixel( dst[i + 2*stride] + ((int)(b4 + b3) >> 6) ); in FUNCC()
133 dst[i + 3*stride] = av_clip_pixel( dst[i + 3*stride] + ((int)(b6 + b1) >> 6) ); in FUNCC()
134 dst[i + 4*stride] = av_clip_pixel( dst[i + 4*stride] + ((int)(b6 - b1) >> 6) ); in FUNCC()
135 dst[i + 5*stride] = av_clip_pixel( dst[i + 5*stride] + ((int)(b4 - b3) >> 6) ); in FUNCC()
[all …]
Dhevcdsp_template.c54 dst[x] = av_clip_pixel(dst[x] + *res); in FUNC()
316 dst[x] = av_clip_pixel(src[x] + offset_table[src[x] >> shift]); in FUNC()
348 dst[x] = av_clip_pixel(src[x] + sao_offset_val[offset_val]); in FUNC()
375 dst[y * stride_dst] = av_clip_pixel(src[y * stride_src] + offset_val); in FUNC()
383 … dst[x * stride_dst + offset] = av_clip_pixel(src[x * stride_src + offset] + offset_val); in FUNC()
392 dst[x] = av_clip_pixel(src[x] + offset_val); in FUNC()
399 dst[x + y_stride_dst] = av_clip_pixel(src[x + y_stride_src] + offset_val); in FUNC()
425 dst[y * stride_dst] = av_clip_pixel(src[y * stride_src] + offset_val); in FUNC()
433 … dst[x * stride_dst + offset] = av_clip_pixel(src[x * stride_src + offset] + offset_val); in FUNC()
442 dst[x] = av_clip_pixel(src[x] + offset_val); in FUNC()
[all …]
Dvp9dsp_template.c200 dst[0] = av_clip_pixel(top[0] + l_m_tl); in tm_4x4_c()
201 dst[1] = av_clip_pixel(top[1] + l_m_tl); in tm_4x4_c()
202 dst[2] = av_clip_pixel(top[2] + l_m_tl); in tm_4x4_c()
203 dst[3] = av_clip_pixel(top[3] + l_m_tl); in tm_4x4_c()
220 dst[0] = av_clip_pixel(top[0] + l_m_tl); in tm_8x8_c()
221 dst[1] = av_clip_pixel(top[1] + l_m_tl); in tm_8x8_c()
222 dst[2] = av_clip_pixel(top[2] + l_m_tl); in tm_8x8_c()
223 dst[3] = av_clip_pixel(top[3] + l_m_tl); in tm_8x8_c()
224 dst[4] = av_clip_pixel(top[4] + l_m_tl); in tm_8x8_c()
225 dst[5] = av_clip_pixel(top[5] + l_m_tl); in tm_8x8_c()
[all …]
Dbit_depth_template.c45 # undef av_clip_pixel
78 # define av_clip_pixel(a) av_clip_uintp2(a, BIT_DEPTH) macro
98 # define av_clip_pixel(a) av_clip_uint8(a) macro
Dh264dsp_template.c30 #define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
31 #define op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_d…
145 pix[-xstride] = av_clip_pixel( p0 + i_delta ); /* p0' */ in FUNCC()
146 pix[0] = av_clip_pixel( q0 - i_delta ); /* q0' */ in FUNCC()
257 pix[-xstride] = av_clip_pixel( p0 + delta ); /* p0' */ in FUNCC()
258 pix[0] = av_clip_pixel( q0 - delta ); /* q0' */ in FUNCC()
Dhevcpred_template.c478 POS(0, y) = av_clip_pixel(top[0] + ((left[y] - left[-1]) >> 1)); in FUNC()
505 POS(x, 0) = av_clip_pixel(left[0] + ((top[x ] - top[-1]) >> 1)); in FUNC()
506 POS(x + 1, 0) = av_clip_pixel(left[0] + ((top[x + 1] - top[-1]) >> 1)); in FUNC()
507 POS(x + 2, 0) = av_clip_pixel(left[0] + ((top[x + 2] - top[-1]) >> 1)); in FUNC()
508 POS(x + 3, 0) = av_clip_pixel(left[0] + ((top[x + 3] - top[-1]) >> 1)); in FUNC()
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp_yuv2yuv_template.c76 dst0[x << SS_W] = av_clip_pixel((cyy * y00 + uv_val) >> sh); in fn()
78 dst0[x * 2 + 1] = av_clip_pixel((cyy * y01 + uv_val) >> sh); in fn()
81 av_clip_pixel((cyy * y10 + uv_val) >> sh); in fn()
83 av_clip_pixel((cyy * y11 + uv_val) >> sh); in fn()
87 dst1[x] = av_clip_pixel((u * cuu + v * cuv + uv_off_out) >> sh); in fn()
88 dst2[x] = av_clip_pixel((u * cvu + v * cvv + uv_off_out) >> sh); in fn()
Dcolorspacedsp_template.c45 #undef av_clip_pixel
48 #define av_clip_pixel(x) av_clip_uint8(x) macro
51 #define av_clip_pixel(x) av_clip_uintp2(x, BIT_DEPTH) macro
166 yuv0[x << SS_W] = av_clip_pixel(yuv_offset[0] + in fn()
170 yuv0[x * 2 + 1] = av_clip_pixel(yuv_offset[0] + in fn()
174 yuv0[x * 2 + 0 + s0] = av_clip_pixel(yuv_offset[0] + in fn()
177 yuv0[x * 2 + 1 + s0] = av_clip_pixel(yuv_offset[0] + in fn()
183 yuv1[x] = av_clip_pixel(uv_offset + in fn()
187 yuv2[x] = av_clip_pixel(uv_offset + in fn()
262 yuv0[x << SS_W] = av_clip_pixel(yuv_offset[0] + (y00 >> sh)); in fn()
[all …]