Lines Matching refs:xstride
104 …e av_flatten void FUNCC(h264_loop_filter_luma)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystrid… in FUNCC()
108 xstride >>= sizeof(pixel)-1; in FUNCC()
119 const int p0 = pix[-1*xstride]; in FUNCC()
120 const int p1 = pix[-2*xstride]; in FUNCC()
121 const int p2 = pix[-3*xstride]; in FUNCC()
123 const int q1 = pix[1*xstride]; in FUNCC()
124 const int q2 = pix[2*xstride]; in FUNCC()
135 …pix[-2*xstride] = p1 + av_clip( (( p2 + ( ( p0 + q0 + 1 ) >> 1 ) ) >> 1) - p1, -tc_orig, tc_orig ); in FUNCC()
140 …pix[ xstride] = q1 + av_clip( (( q2 + ( ( p0 + q0 + 1 ) >> 1 ) ) >> 1) - q1, -tc_orig, tc_orig ); in FUNCC()
145 pix[-xstride] = av_clip_pixel( p0 + i_delta ); /* p0' */ in FUNCC()
165 …latten void FUNCC(h264_loop_filter_luma_intra)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystrid… in FUNCC()
169 xstride >>= sizeof(pixel)-1; in FUNCC()
174 const int p2 = pix[-3*xstride]; in FUNCC()
175 const int p1 = pix[-2*xstride]; in FUNCC()
176 const int p0 = pix[-1*xstride]; in FUNCC()
178 const int q0 = pix[ 0*xstride]; in FUNCC()
179 const int q1 = pix[ 1*xstride]; in FUNCC()
180 const int q2 = pix[ 2*xstride]; in FUNCC()
189 const int p3 = pix[-4*xstride]; in FUNCC()
191 pix[-1*xstride] = ( p2 + 2*p1 + 2*p0 + 2*q0 + q1 + 4 ) >> 3; in FUNCC()
192 pix[-2*xstride] = ( p2 + p1 + p0 + q0 + 2 ) >> 2; in FUNCC()
193 pix[-3*xstride] = ( 2*p3 + 3*p2 + p1 + p0 + q0 + 4 ) >> 3; in FUNCC()
196 pix[-1*xstride] = ( 2*p1 + p0 + q1 + 2 ) >> 2; in FUNCC()
200 const int q3 = pix[3*xstride]; in FUNCC()
202 pix[0*xstride] = ( p1 + 2*p0 + 2*q0 + 2*q1 + q2 + 4 ) >> 3; in FUNCC()
203 pix[1*xstride] = ( p0 + q0 + q1 + q2 + 2 ) >> 2; in FUNCC()
204 pix[2*xstride] = ( 2*q3 + 3*q2 + q1 + q0 + p0 + 4 ) >> 3; in FUNCC()
207 pix[0*xstride] = ( 2*q1 + q0 + p1 + 2 ) >> 2; in FUNCC()
211 pix[-1*xstride] = ( 2*p1 + p0 + q1 + 2 ) >> 2; in FUNCC()
212 pix[ 0*xstride] = ( 2*q1 + q0 + p1 + 2 ) >> 2; in FUNCC()
231 …av_flatten void FUNCC(h264_loop_filter_chroma)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystrid… in FUNCC()
237 xstride >>= sizeof(pixel)-1; in FUNCC()
246 const int p0 = pix[-1*xstride]; in FUNCC()
247 const int p1 = pix[-2*xstride]; in FUNCC()
249 const int q1 = pix[1*xstride]; in FUNCC()
257 pix[-xstride] = av_clip_pixel( p0 + delta ); /* p0' */ in FUNCC()
285 …tten void FUNCC(h264_loop_filter_chroma_intra)(uint8_t *p_pix, ptrdiff_t xstride, ptrdiff_t ystrid… in FUNCC()
289 xstride >>= sizeof(pixel)-1; in FUNCC()
294 const int p0 = pix[-1*xstride]; in FUNCC()
295 const int p1 = pix[-2*xstride]; in FUNCC()
297 const int q1 = pix[1*xstride]; in FUNCC()
303 pix[-xstride] = ( 2*p1 + p0 + q1 + 2 ) >> 2; /* p0' */ in FUNCC()