Lines Matching refs:y_pos
578 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument
583 WebPConvertARGBToY(src, buf->y + y_pos * buf->y_stride, width); in ConvertToYUVA()
587 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA()
588 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA()
591 WebPConvertARGBToUV(src, u, v, width, !(y_pos & 1)); in ConvertToYUVA()
595 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
604 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument
612 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()
613 ++y_pos; in ExportYUVA()
622 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local
630 y_pos += ExportYUVA(dec, y_pos); in EmitRescaledRowsYUVA()
632 return y_pos; in EmitRescaledRowsYUVA()
638 int y_pos = dec->last_out_row_; in EmitRowsYUVA() local
640 ConvertToYUVA((const uint32_t*)in, mb_w, y_pos, dec->output_); in EmitRowsYUVA()
642 ++y_pos; in EmitRowsYUVA()
644 return y_pos; in EmitRowsYUVA()