Lines Matching refs:y_height
181 int y_height) { in GetPSNRYuv() argument
184 const int uv_height = ((y_height + 1) >> 1); in GetPSNRYuv()
186 for (y = 0; y < y_height; ++y) { in GetPSNRYuv()
416 int y_height = img->d_h; in VPXDecode() local
420 int uv_height = ((y_height + 1) >> 1); in VPXDecode()
424 *p_height = y_height; in VPXDecode()
425 if ((*p_Y = (uint8 *)(calloc(y_stride * y_height in VPXDecode()
428 *p_U = *p_Y + y_height * y_stride; in VPXDecode()
430 for (y = 0; y < y_height; ++y) { in VPXDecode()
540 int y_height = im2->sy; in gd_RGBAToYUV420() local
562 for (y = 0; y < (y_height >> 1); ++y) { in gd_RGBAToYUV420()
571 if (y_height & 1) { in gd_RGBAToYUV420()
572 RGBALinepairToYUV420(im->tpixels[y_height - 1], in gd_RGBAToYUV420()
573 im->tpixels[y_height - 1], in gd_RGBAToYUV420()
575 Y + (y_height - 1) * y_stride, in gd_RGBAToYUV420()
576 Y + (y_height - 1) * y_stride, in gd_RGBAToYUV420()
577 U + (y_height >> 1) * uv_stride, in gd_RGBAToYUV420()
578 V + (y_height >> 1) * uv_stride); in gd_RGBAToYUV420()
603 int y_height = height; in RGBAToYUV420() local
609 for (y = 0; y < (y_height >> 1); ++y) { in RGBAToYUV420()
618 if (y_height & 1) { in RGBAToYUV420()
619 RGBALinepairToYUV420(pixdata + (y_height - 1) * words_per_line, in RGBAToYUV420()
620 pixdata + (y_height - 1) * words_per_line, in RGBAToYUV420()
622 Y + (y_height - 1) * y_stride, in RGBAToYUV420()
623 Y + (y_height - 1) * y_stride, in RGBAToYUV420()
624 U + (y_height >> 1) * uv_stride, in RGBAToYUV420()
625 V + (y_height >> 1) * uv_stride); in RGBAToYUV420()
659 int y_height, in VPXEncode() argument
681 || y_width <= 0 || y_height <= 0 || uv_width <= 0 || uv_height <= 0 in VPXEncode()
694 cfg.g_h = y_height; in VPXEncode()
710 y_width, y_height, 16, (uint8*)(Y)); in VPXEncode()
746 int y_height, in WebPEncode() argument
759 y_width, y_height, y_stride, in WebPEncode()
792 int y_height = height; in AdjustColorspace() local
795 int uv_height = ((y_height + 1) >> 1); in AdjustColorspace()
799 for (y = 0; y < y_height; ++y) { in AdjustColorspace()
820 int y_height = height; in AdjustColorspaceBack() local
823 int uv_height = ((y_height + 1) >> 1); in AdjustColorspaceBack()
827 for (y = 0; y < y_height; ++y) { in AdjustColorspaceBack()