Home
last modified time | relevance | path

Searched refs:uv_w (Results 1 – 5 of 5) sorted by relevance

/external/webp/src/enc/
Dpicture_csp_enc.c288 fixed_t* dst, int uv_w) { in UpdateChroma() argument
290 for (i = 0; i < uv_w; ++i) { in UpdateChroma()
291 const int r = ScaleDown(src1[0 * uv_w + 0], src1[0 * uv_w + 1], in UpdateChroma()
292 src2[0 * uv_w + 0], src2[0 * uv_w + 1]); in UpdateChroma()
293 const int g = ScaleDown(src1[2 * uv_w + 0], src1[2 * uv_w + 1], in UpdateChroma()
294 src2[2 * uv_w + 0], src2[2 * uv_w + 1]); in UpdateChroma()
295 const int b = ScaleDown(src1[4 * uv_w + 0], src1[4 * uv_w + 1], in UpdateChroma()
296 src2[4 * uv_w + 0], src2[4 * uv_w + 1]); in UpdateChroma()
298 dst[0 * uv_w] = (fixed_t)(r - W); in UpdateChroma()
299 dst[1 * uv_w] = (fixed_t)(g - W); in UpdateChroma()
[all …]
Diterator_enc.c140 const int uv_w = (w + 1) >> 1; in VP8IteratorImport() local
144 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
145 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
171 ImportLine(usrc - pic->uv_stride, 1, tmp_32 + 16, uv_w, 8); in VP8IteratorImport()
172 ImportLine(vsrc - pic->uv_stride, 1, tmp_32 + 16 + 8, uv_w, 8); in VP8IteratorImport()
209 const int uv_w = (w + 1) >> 1; in VP8IteratorExport() local
211 ExportBlock(usrc, udst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
212 ExportBlock(vsrc, vdst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
/external/webp/src/dec/
Dio_dec.c33 const int uv_w = (mb_w + 1) / 2; in EmitYUV() local
40 memcpy(u_dst + j * buf->u_stride, io->u + j * io->uv_stride, uv_w); in EmitYUV()
41 memcpy(v_dst + j * buf->v_stride, io->v + j * io->uv_stride, uv_w); in EmitYUV()
75 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB() local
103 memcpy(p->tmp_u, cur_u, uv_w * sizeof(*p->tmp_u)); in EmitFancyRGB()
104 memcpy(p->tmp_v, cur_v, uv_w * sizeof(*p->tmp_v)); in EmitFancyRGB()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c534 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local
545 yv12->uv_crop_width = uv_w; in image2yuvconfig()
547 yv12->uv_width = uv_w; in image2yuvconfig()
Dvp8_cx_iface.c688 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local
699 yv12->uv_crop_width = uv_w; in image2yuvconfig()
701 yv12->uv_width = uv_w; in image2yuvconfig()