Lines Matching refs:mb_w
31 const int mb_w = io->mb_w; in EmitYUV() local
33 const int uv_w = (mb_w + 1) / 2; in EmitYUV()
35 WebPCopyPlane(io->y, io->y_stride, y_dst, buf->y_stride, mb_w, mb_h); in EmitYUV()
48 dst, buf->stride, io->mb_w, io->mb_h, in EmitSampledRGB()
69 const int mb_w = io->mb_w; in EmitFancyRGB() local
70 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB()
74 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
78 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
91 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
97 memcpy(p->tmp_y, cur_y, mb_w * sizeof(*p->tmp_y)); in EmitFancyRGB()
107 dst + buf->stride, NULL, mb_w); in EmitFancyRGB()
129 const int mb_w = io->mb_w; in EmitAlphaYUV() local
137 memcpy(dst, alpha, mb_w * sizeof(*dst)); in EmitAlphaYUV()
143 FillAlphaPlane(dst, mb_w, mb_h, buf->a_stride); in EmitAlphaYUV()
178 const int mb_w = io->mb_w; in EmitAlphaRGB() local
187 const int has_alpha = WebPDispatchAlpha(alpha, io->width, mb_w, in EmitAlphaRGB()
194 mb_w, num_rows, buf->stride); in EmitAlphaRGB()
204 const int mb_w = io->mb_w; in EmitAlphaRGBA4444() local
218 for (i = 0; i < mb_w; ++i) { in EmitAlphaRGBA4444()
230 WebPApplyAlphaMultiply4444(base_rgba, mb_w, num_rows, buf->stride); in EmitAlphaRGBA4444()
263 io->a, io->width, io->mb_w, mb_h, 0); in EmitRescaledYUV()
299 const int uv_in_width = (io->mb_w + 1) >> 1; in InitYUVRescaler()
326 WebPRescalerInit(p->scaler_y, io->mb_w, io->mb_h, in InitYUVRescaler()
338 WebPRescalerInit(p->scaler_a, io->mb_w, io->mb_h, in InitYUVRescaler()
481 const int uv_in_width = (io->mb_w + 1) >> 1; in InitRGBRescaler()
512 WebPRescalerInit(p->scaler_y, io->mb_w, io->mb_h, in InitRGBRescaler()
525 WebPRescalerInit(p->scaler_a, io->mb_w, io->mb_h, in InitRGBRescaler()
576 const int uv_width = (io->mb_w + 1) >> 1; in CustomSetup()
577 p->memory = WebPSafeMalloc(1ULL, (size_t)(io->mb_w + 2 * uv_width)); in CustomSetup()
582 p->tmp_u = p->tmp_y + io->mb_w; in CustomSetup()
610 const int mb_w = io->mb_w; in CustomPut() local
615 if (mb_w <= 0 || mb_h <= 0) { in CustomPut()