Lines Matching refs:y_pos
637 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument
642 WebPConvertARGBToY(src, buf->y + y_pos * buf->y_stride, width); in ConvertToYUVA()
646 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA()
647 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA()
650 WebPConvertARGBToUV(src, u, v, width, !(y_pos & 1)); in ConvertToYUVA()
654 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
663 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument
671 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()
672 ++y_pos; in ExportYUVA()
681 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local
692 y_pos += ExportYUVA(dec, y_pos); in EmitRescaledRowsYUVA()
694 return y_pos; in EmitRescaledRowsYUVA()
700 int y_pos = dec->last_out_row_; in EmitRowsYUVA() local
702 ConvertToYUVA((const uint32_t*)in, mb_w, y_pos, dec->output_); in EmitRowsYUVA()
704 ++y_pos; in EmitRowsYUVA()
706 return y_pos; in EmitRowsYUVA()