Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_psnr.c68 int uv_w, uv_h; in WebPPictureDistortion() local
91 uv_w = (src->width + 1) >> 1; in WebPPictureDistortion()
98 ref->u, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion()
100 ref->v, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion()
106 result[1] = GetPSNR(sse[1] / (uv_w * uv_h)); in WebPPictureDistortion()
107 result[2] = GetPSNR(sse[2] / (uv_w * uv_h)); in WebPPictureDistortion()
111 int total_pixels = src->width * src->height + 2 * uv_w * uv_h; in WebPPictureDistortion()
125 uv_w, uv_h, &stats[1]); in WebPPictureDistortion()
128 uv_w, uv_h, &stats[2]); in WebPPictureDistortion()
Diterator.c136 const int uv_w = (w + 1) >> 1; in VP8IteratorImport() local
140 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF, uv_w, uv_h, 8); in VP8IteratorImport()
141 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF, uv_w, uv_h, 8); in VP8IteratorImport()
167 ImportLine(usrc - pic->uv_stride, 1, tmp_32 + 16, uv_w, 8); in VP8IteratorImport()
168 ImportLine(vsrc - pic->uv_stride, 1, tmp_32 + 16 + 8, uv_w, 8); in VP8IteratorImport()
205 const int uv_w = (w + 1) >> 1; in VP8IteratorExport() local
207 ExportBlock(usrc, udst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
208 ExportBlock(vsrc, vdst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
/external/chromium_org/third_party/libwebp/enc/
Dpicture_psnr.c68 int uv_w, uv_h; in WebPPictureDistortion() local
91 uv_w = (src->width + 1) >> 1; in WebPPictureDistortion()
98 ref->u, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion()
100 ref->v, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion()
106 result[1] = GetPSNR(sse[1] / (uv_w * uv_h)); in WebPPictureDistortion()
107 result[2] = GetPSNR(sse[2] / (uv_w * uv_h)); in WebPPictureDistortion()
111 int total_pixels = src->width * src->height + 2 * uv_w * uv_h; in WebPPictureDistortion()
125 uv_w, uv_h, &stats[1]); in WebPPictureDistortion()
128 uv_w, uv_h, &stats[2]); in WebPPictureDistortion()
Diterator.c136 const int uv_w = (w + 1) >> 1; in VP8IteratorImport() local
140 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF, uv_w, uv_h, 8); in VP8IteratorImport()
141 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF, uv_w, uv_h, 8); in VP8IteratorImport()
167 ImportLine(usrc - pic->uv_stride, 1, tmp_32 + 16, uv_w, 8); in VP8IteratorImport()
168 ImportLine(vsrc - pic->uv_stride, 1, tmp_32 + 16 + 8, uv_w, 8); in VP8IteratorImport()
205 const int uv_w = (w + 1) >> 1; in VP8IteratorExport() local
207 ExportBlock(usrc, udst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
208 ExportBlock(vsrc, vdst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
/external/chromium_org/third_party/libwebp/dec/
Dio.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()
101 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB() local
129 memcpy(p->tmp_u, cur_u, uv_w * sizeof(*p->tmp_u)); in EmitFancyRGB()
130 memcpy(p->tmp_v, cur_v, uv_w * sizeof(*p->tmp_v)); in EmitFancyRGB()
/external/webp/src/dec/
Dio.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()
101 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB() local
129 memcpy(p->tmp_u, cur_u, uv_w * sizeof(*p->tmp_u)); in EmitFancyRGB()
130 memcpy(p->tmp_v, cur_v, uv_w * sizeof(*p->tmp_v)); in EmitFancyRGB()
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/
Dvp8_dx_iface.c572 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local
583 yv12->uv_crop_width = uv_w; in image2yuvconfig()
585 yv12->uv_width = uv_w; in image2yuvconfig()
Dvp8_cx_iface.c705 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local
716 yv12->uv_crop_width = uv_w; in image2yuvconfig()
718 yv12->uv_width = uv_w; in image2yuvconfig()