Lines Matching refs:y
151 static void ToRGB(int y, int u, int v, uint32* const dst) { in ToRGB() argument
155 const int r = kClip[y + r_off - RGB_RANGE_MIN]; in ToRGB()
156 const int g = kClip[y + g_off - RGB_RANGE_MIN]; in ToRGB()
157 const int b = kClip[y + b_off - RGB_RANGE_MIN]; in ToRGB()
182 int x, y, row_idx; in GetPSNRYuv() local
186 for (y = 0; y < y_height; ++y) { in GetPSNRYuv()
188 row_idx = y * y_width; in GetPSNRYuv()
194 for (y = 0; y < uv_height; ++y) { in GetPSNRYuv()
196 row_idx = y * uv_width; in GetPSNRYuv()
337 int y; in YUV420toRGBA() local
345 for (y = 0; y < height; ++y) { in YUV420toRGBA()
346 YUV420toRGBLine(Y + y * y_stride, in YUV420toRGBA()
347 U + (y >> 1) * uv_stride, in YUV420toRGBA()
348 V + (y >> 1) * uv_stride, in YUV420toRGBA()
350 pixdata + y * words_per_line); in YUV420toRGBA()
364 int y; in gd_YUV420toRGBA() local
377 for (y = 0; y < height; ++y) { in gd_YUV420toRGBA()
378 YUV420toRGBLine(Y + y * y_stride, in gd_YUV420toRGBA()
379 U + (y >> 1) * uv_stride, in gd_YUV420toRGBA()
380 V + (y >> 1) * uv_stride, in gd_YUV420toRGBA()
382 im->tpixels[y]); in gd_YUV420toRGBA()
421 int y; in VPXDecode() local
430 for (y = 0; y < y_height; ++y) { in VPXDecode()
431 memcpy(*p_Y + y * y_stride, in VPXDecode()
432 img->planes[0] + y * img->stride[0], in VPXDecode()
435 for (y = 0; y < uv_height; ++y) { in VPXDecode()
436 memcpy(*p_U + y * uv_stride, in VPXDecode()
437 img->planes[1] + y * img->stride[1], in VPXDecode()
439 memcpy(*p_V + y * uv_stride, in VPXDecode()
440 img->planes[2] + y * img->stride[2], in VPXDecode()
544 int y; in gd_RGBAToYUV420() local
562 for (y = 0; y < (y_height >> 1); ++y) { in gd_RGBAToYUV420()
563 RGBALinepairToYUV420(im->tpixels[2 * y], in gd_RGBAToYUV420()
564 im->tpixels[2 * y + 1], in gd_RGBAToYUV420()
566 Y + 2 * y * y_stride, in gd_RGBAToYUV420()
567 Y + (2 * y + 1) * y_stride, in gd_RGBAToYUV420()
568 U + y * uv_stride, in gd_RGBAToYUV420()
569 V + y * uv_stride); in gd_RGBAToYUV420()
607 int y; in RGBAToYUV420() local
609 for (y = 0; y < (y_height >> 1); ++y) { in RGBAToYUV420()
610 RGBALinepairToYUV420(pixdata + 2 * y * words_per_line, in RGBAToYUV420()
611 pixdata + (2 * y + 1) * words_per_line, in RGBAToYUV420()
613 Y + 2 * y * y_stride, in RGBAToYUV420()
614 Y + (2 * y + 1) * y_stride, in RGBAToYUV420()
615 U + y * uv_stride, in RGBAToYUV420()
616 V + y * uv_stride); in RGBAToYUV420()
797 int x, y; in AdjustColorspace() local
799 for (y = 0; y < y_height; ++y) { in AdjustColorspace()
800 uint8* const Yrow = Y + y * y_stride; in AdjustColorspace()
807 for (y = 0; y < uv_height; ++y) { in AdjustColorspace()
808 uint8* const Urow = U + y * uv_stride; in AdjustColorspace()
809 uint8* const Vrow = V + y * uv_stride; in AdjustColorspace()
825 int x, y; in AdjustColorspaceBack() local
827 for (y = 0; y < y_height; ++y) { in AdjustColorspaceBack()
828 uint8* const Yrow = Y + y * y_stride; in AdjustColorspaceBack()
836 for (y = 0; y < uv_height; ++y) { in AdjustColorspaceBack()
837 uint8* const Urow = U + y * uv_stride; in AdjustColorspaceBack()
838 uint8* const Vrow = V + y * uv_stride; in AdjustColorspaceBack()