Lines Matching refs:y_pos
454 static void ConvertToYUVA(const uint32_t* const src, int width, int y_pos, in ConvertToYUVA() argument
460 uint8_t* const y = buf->y + y_pos * buf->y_stride; in ConvertToYUVA()
469 uint8_t* const u = buf->u + (y_pos >> 1) * buf->u_stride; in ConvertToYUVA()
470 uint8_t* const v = buf->v + (y_pos >> 1) * buf->v_stride; in ConvertToYUVA()
481 if (!(y_pos & 1)) { // even lines: store values in ConvertToYUVA()
497 if (!(y_pos & 1)) { // even lines in ConvertToYUVA()
511 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
516 static int ExportYUVA(const VP8LDecoder* const dec, int y_pos) { in ExportYUVA() argument
523 ConvertToYUVA(src, dst_width, y_pos, dec->output_); in ExportYUVA()
524 ++y_pos; in ExportYUVA()
535 int y_pos = dec->last_out_row_; in EmitRescaledRowsYUVA() local
540 y_pos += ExportYUVA(dec, y_pos); in EmitRescaledRowsYUVA()
542 return y_pos; in EmitRescaledRowsYUVA()
548 int y_pos = dec->last_out_row_; in EmitRowsYUVA() local
551 ConvertToYUVA((const uint32_t*)row_in, mb_w, y_pos, dec->output_); in EmitRowsYUVA()
553 ++y_pos; in EmitRowsYUVA()
555 return y_pos; in EmitRowsYUVA()