Lines Matching defs:first_pixel
386 static av_always_inline void vp3_v_loop_filter_c(uint8_t *first_pixel, ptrdiff_t stride,
393 for (end = first_pixel + count; first_pixel < end; first_pixel++) {
394 filter_value = (first_pixel[2 * nstride] - first_pixel[stride]) +
395 (first_pixel[0] - first_pixel[nstride]) * 3;
398 first_pixel[nstride] = av_clip_uint8(first_pixel[nstride] + filter_value);
399 first_pixel[0] = av_clip_uint8(first_pixel[0] - filter_value);
403 static av_always_inline void vp3_h_loop_filter_c(uint8_t *first_pixel, ptrdiff_t stride,
409 for (end = first_pixel + count * stride; first_pixel != end; first_pixel += stride) {
410 filter_value = (first_pixel[-2] - first_pixel[1]) +
411 (first_pixel[ 0] - first_pixel[-1]) * 3;
414 first_pixel[-1] = av_clip_uint8(first_pixel[-1] + filter_value);
415 first_pixel[ 0] = av_clip_uint8(first_pixel[ 0] - filter_value);
420 void prefix##_##dim##_loop_filter_##count##suffix(uint8_t *first_pixel, ptrdiff_t stride, \
423 vp3_##dim##_loop_filter_c(first_pixel, stride, bounding_values, count); \