/external/webp/src/enc/ |
D | picture_psnr.c | 114 int has_alpha, uv_w, uv_h; in WebPPictureDistortion() local 126 uv_w = (src->width + 1) >> 1; in WebPPictureDistortion() 132 uv_w, uv_h, &stats[1]); in WebPPictureDistortion() 134 uv_w, uv_h, &stats[2]); in WebPPictureDistortion() 145 uv_w, uv_h, &stats[1]); in WebPPictureDistortion() 148 uv_w, uv_h, &stats[2]); in WebPPictureDistortion()
|
D | iterator.c | 136 const int uv_w = (w + 1) >> 1; in VP8IteratorImport() local 140 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport() 141 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF_ENC, 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()
|
D | picture_csp.c | 390 const int uv_w = w >> 1; in ConvertWRGBToYUV() local 394 const int off = 3 * ((i >> 1) + (j >> 1) * uv_w); in ConvertWRGBToYUV() 406 for (i = 0; i < uv_w; ++i) { in ConvertWRGBToYUV() 407 const int off = 3 * (i + j * uv_w); in ConvertWRGBToYUV() 431 const int uv_w = w >> 1; in PreprocessARGB() local 441 fixed_t* const best_uv = SAFE_ALLOC(uv_w * 3, uv_h, fixed_t); in PreprocessARGB() 442 fixed_t* const target_uv = SAFE_ALLOC(uv_w * 3, uv_h, fixed_t); in PreprocessARGB() 443 fixed_t* const best_rgb_uv = SAFE_ALLOC(uv_w * 3, 1, fixed_t); in PreprocessARGB() 467 const int uv_off = (j >> 1) * 3 * uv_w; in PreprocessARGB() 481 diff_sum += UpdateChroma(src1, src2, target_uv + uv_off, dst_y, uv_w); in PreprocessARGB() [all …]
|
/external/opencv3/3rdparty/libwebp/enc/ |
D | iterator.c | 126 const int uv_w = (w + 1) >> 1; in VP8IteratorImport() local 128 ImportBlock(usrc, pic->uv_stride, udst, uv_w, uv_h, 8); in VP8IteratorImport() 129 ImportBlock(vsrc, pic->uv_stride, vdst, uv_w, uv_h, 8); in VP8IteratorImport() 166 const int uv_w = (w + 1) >> 1; in VP8IteratorExport() local 168 ExportBlock(usrc, udst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport() 169 ExportBlock(vsrc, vdst, pic->uv_stride, uv_w, uv_h); in VP8IteratorExport()
|
D | picture.c | 966 int uv_w, uv_h; in WebPPictureDistortion() local 989 uv_w = HALVE(src->width); in WebPPictureDistortion() 996 ref->u, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion() 998 ref->v, ref->uv_stride, uv_w, uv_h); in WebPPictureDistortion() 1004 result[1] = GetPSNR(sse[1] / (uv_w * uv_h)); in WebPPictureDistortion() 1005 result[2] = GetPSNR(sse[2] / (uv_w * uv_h)); in WebPPictureDistortion() 1009 int total_pixels = src->width * src->height + 2 * uv_w * uv_h; in WebPPictureDistortion() 1023 uv_w, uv_h, &stats[1]); in WebPPictureDistortion() 1026 uv_w, uv_h, &stats[2]); in WebPPictureDistortion()
|
/external/webp/src/dec/ |
D | io.c | 33 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/opencv3/3rdparty/libwebp/dec/ |
D | io.c | 36 const int uv_w = (mb_w + 1) / 2; in EmitYUV() local 43 memcpy(u_dst + j * buf->u_stride, io->u + j * io->uv_stride, uv_w); in EmitYUV() 44 memcpy(v_dst + j * buf->v_stride, io->v + j * io->uv_stride, uv_w); in EmitYUV() 118 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB() local 146 memcpy(p->tmp_u, cur_u, uv_w * sizeof(*p->tmp_u)); in EmitFancyRGB() 147 memcpy(p->tmp_v, cur_v, uv_w * sizeof(*p->tmp_v)); in EmitFancyRGB()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 560 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local 571 yv12->uv_crop_width = uv_w; in image2yuvconfig() 573 yv12->uv_width = uv_w; in image2yuvconfig()
|
D | vp8_cx_iface.c | 736 const int uv_w = (img->d_w + 1) / 2; in image2yuvconfig() local 747 yv12->uv_crop_width = uv_w; in image2yuvconfig() 749 yv12->uv_width = uv_w; in image2yuvconfig()
|