/external/libaom/libaom/aom/src/ |
D | aom_image.c | 30 aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w, unsigned int d_h, in img_alloc_helper() argument 93 w = align_image_dimension(d_w, xcs, size_align); in img_alloc_helper() 142 if (!aom_img_set_rect(img, 0, 0, d_w, d_h, border)) return img; in img_alloc_helper() 150 unsigned int d_w, unsigned int d_h, in aom_img_alloc() argument 152 return img_alloc_helper(img, fmt, d_w, d_h, align, align, 1, NULL, 0); in aom_img_alloc() 155 aom_image_t *aom_img_wrap(aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w, in aom_img_wrap() argument 160 return img_alloc_helper(img, fmt, d_w, d_h, 1, stride_align, 1, img_data, 0); in aom_img_wrap() 164 unsigned int d_w, unsigned int d_h, in aom_img_alloc_with_border() argument 168 return img_alloc_helper(img, fmt, d_w, d_h, align, align, size_align, NULL, in aom_img_alloc_with_border() 177 img->d_w = w; in aom_img_set_rect() [all …]
|
/external/libvpx/libvpx/ |
D | tools_common.c | 207 return (img->d_w + 1) >> img->x_chroma_shift; in vpx_img_plane_width() 209 return img->d_w; in vpx_img_plane_width() 276 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_upshift() 290 int w = src->d_w; in highbd_img_upshift() 312 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in lowbd_img_upshift() 326 int w = src->d_w; in lowbd_img_upshift() 354 if (dst->fmt + VPX_IMG_FMT_HIGHBITDEPTH != src->fmt || dst->d_w != src->d_w || in vpx_img_truncate_16_to_8() 367 int w = src->d_w; in vpx_img_truncate_16_to_8() 388 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_downshift() 402 int w = src->d_w; in highbd_img_downshift() [all …]
|
D | vpxdec.c | 161 src->d_w, src->d_h, (uint16_t *)dst->planes[VPX_PLANE_Y], in libyuv_scale() 164 dst->stride[VPX_PLANE_V] / 2, dst->d_w, dst->d_h, mode); in libyuv_scale() 171 src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V], src->d_w, in libyuv_scale() 174 dst->planes[VPX_PLANE_V], dst->stride[VPX_PLANE_V], dst->d_w, in libyuv_scale() 424 unsigned int d_w, unsigned int d_h, in generate_filename() argument 438 case 'w': snprintf(q, q_len - 1, "%d", d_w); break; in generate_filename() 512 return img->d_w != shifted->d_w || img->d_h != shifted->d_h || in img_shifted_realloc_required() 923 render_width = img->d_w; in main_loop() 935 if (img->d_w != scaled_img->d_w || img->d_h != scaled_img->d_h) { in main_loop() 967 vpx_img_alloc(NULL, shifted_fmt, img->d_w, img->d_h, 16); in main_loop() [all …]
|
D | vpxenc.c | 626 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in find_mismatch_high() 637 for (j = 0; match && j < img1->d_w; j += bsize) { in find_mismatch_high() 640 const int sj = mmin(j + bsize, img1->d_w) - j; in find_mismatch_high() 718 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in find_mismatch() 725 for (j = 0; match && j < img1->d_w; j += bsize) { in find_mismatch() 728 const int sj = mmin(j + bsize, img1->d_w) - j; in find_mismatch() 803 uint32_t l_w = img1->d_w; in compare_img() 804 uint32_t c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in compare_img() 811 match &= (img1->d_w == img2->d_w); in compare_img() 1614 (img->d_w != cfg->g_w || img->d_h != cfg->g_h)) { in encode_frame() [all …]
|
/external/libaom/libaom/common/ |
D | tools_common.c | 249 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_upshift() 262 int w = src->d_w; in highbd_img_upshift() 284 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in lowbd_img_upshift() 298 int w = src->d_w; in lowbd_img_upshift() 327 if (dst->fmt + AOM_IMG_FMT_HIGHBITDEPTH != src->fmt || dst->d_w != src->d_w || in aom_img_truncate_16_to_8() 339 int w = src->d_w; in aom_img_truncate_16_to_8() 360 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in highbd_img_downshift() 373 int w = src->d_w; in highbd_img_downshift() 393 if (dst->d_w != src->d_w || dst->d_h != src->d_h || in lowbd_img_downshift() 406 int w = src->d_w; in lowbd_img_downshift() [all …]
|
/external/libaom/libaom/examples/ |
D | encoder_util.c | 35 is_y_plane ? img1->d_w in find_mismatch_plane() 36 : (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in find_mismatch_plane() 40 assert(img1->d_w == img2->d_w && img1->d_h == img2->d_h); in find_mismatch_plane() 110 uint32_t l_w = img1->d_w; in aom_compare_img() 111 uint32_t c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in aom_compare_img() 117 match &= (img1->d_w == img2->d_w); in aom_compare_img()
|
D | decode_to_md5.c | 52 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; in get_image_md5() 119 fprintf(outfile, " img-%dx%d-%04d.i420\n", img->d_w, img->d_h, in main()
|
D | lightfield_tile_list_decoder.c | 58 const uint8_t output_frame_width_in_tiles = img->d_w / tile_width; in write_tile_yuv1d() 181 printf("writing ref image to %s, %d, %d\n", name, img->d_w, img->d_h); in main()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_image.c | 19 unsigned int d_w, unsigned int d_h, in img_alloc_helper() argument 74 w = d_w; in img_alloc_helper() 97 w = (d_w + align) & ~align; in img_alloc_helper() 128 if (!vpx_img_set_rect(img, 0, 0, d_w, d_h)) return img; in img_alloc_helper() 136 unsigned int d_w, unsigned int d_h, in vpx_img_alloc() argument 138 return img_alloc_helper(img, fmt, d_w, d_h, align, align, NULL); in vpx_img_alloc() 141 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w, in vpx_img_wrap() argument 146 return img_alloc_helper(img, fmt, d_w, d_h, 1, stride_align, img_data); in vpx_img_wrap() 154 img->d_w = w; in vpx_img_set_rect()
|
/external/libvpx/libvpx/test/ |
D | encode_test_driver.cc | 29 cfg_.g_w = img->d_w; in InitEncoder() 78 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal() 79 cfg_.g_w = img->d_w; in EncodeFrameInternal() 130 (img1->d_w == img2->d_w) && (img1->d_h == img2->d_h); in compare_img() 134 const unsigned int width_y = img1->d_w; in compare_img() 143 const unsigned int width_uv = (img1->d_w + 1) >> 1; in compare_img()
|
D | util.h | 25 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) && in compute_psnr() 28 const unsigned int width_y = img1->d_w; in compute_psnr()
|
D | md5_helper.h | 35 (plane ? (img->d_w + img->x_chroma_shift) >> img->x_chroma_shift in Add() 36 : img->d_w) * in Add()
|
D | y4m_test.cc | 67 (plane ? (img->d_w + img->x_chroma_shift) >> img->x_chroma_shift in write_image_file() 68 : img->d_w); in write_image_file() 96 ASSERT_EQ(img()->d_w, kWidth); in HeaderChecks()
|
D | active_map_refresh_test.cc | 26 int c_top = std::min(c0 + 16, static_cast<int>(current.d_w)); in CheckMb() 85 const int width = static_cast<int>(current->d_w); in PreEncodeFrameHook()
|
/external/libaom/libaom/aom/ |
D | aom_image.h | 156 unsigned int d_w; /**< Displayed image width */ member 221 unsigned int d_w, unsigned int d_h, 243 aom_image_t *aom_img_wrap(aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w, 269 unsigned int d_w, unsigned int d_h,
|
/external/libaom/libaom/test/ |
D | util.h | 26 assert((img1->fmt == img2->fmt) && (img1->d_w == img2->d_w) && in compute_psnr() 29 const unsigned int width_y = img1->d_w; in compute_psnr()
|
D | encode_test_driver.cc | 32 cfg_.g_w = img->d_w; in InitEncoder() 64 if (cfg_.g_w != img->d_w || cfg_.g_h != img->d_h) { in EncodeFrameInternal() 65 cfg_.g_w = img->d_w; in EncodeFrameInternal() 136 img1->mc != img2->mc || img1->d_w != img2->d_w || in compare_img()
|
D | md5_helper.h | 36 (plane ? (img->d_w + img->x_chroma_shift) >> img->x_chroma_shift in Add() 37 : img->d_w) * in Add()
|
/external/libvpx/libvpx/vpx/ |
D | vpx_image.h | 82 unsigned int d_w; /**< Displayed image width */ member 144 unsigned int d_w, unsigned int d_h, 166 vpx_image_t *vpx_img_wrap(vpx_image_t *img, vpx_img_fmt_t fmt, unsigned int d_w,
|
/external/libvpx/libvpx/examples/ |
D | decode_to_md5.c | 53 const int w = plane ? (img->d_w + 1) >> 1 : img->d_w; in get_image_md5() 120 fprintf(outfile, " img-%dx%d-%04d.i420\n", img->d_w, img->d_h, in main()
|
D | vp9cx_set_ref.c | 73 uint32_t l_w = img1->d_w; in compare_img() 74 uint32_t c_w = (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in compare_img() 81 match &= (img1->d_w == img2->d_w); in compare_img() 110 (img1->d_w + img1->x_chroma_shift) >> img1->x_chroma_shift; in find_mismatch() 117 for (j = 0; match && j < img1->d_w; j += bsize) { in find_mismatch() 120 const int sj = mmin(j + bsize, img1->d_w) - j; in find_mismatch()
|
D | vp8_multi_resolution_encoder.c | 85 int w = (plane ? (1 + img->d_w) / 2 : img->d_w); in read_frame_by_row() 473 if (raw[0].stride[VPX_PLANE_Y] == (int)raw[0].d_w) in main() 555 raw[i - 1].d_w, raw[i - 1].d_h, raw[i].planes[VPX_PLANE_Y], in main() 558 raw[i].stride[VPX_PLANE_V], raw[i].d_w, raw[i].d_h, 1); in main()
|
/external/libaom/libaom/apps/ |
D | aomdec.c | 129 src->d_w, src->d_h, (uint16_t *)dst->planes[AOM_PLANE_Y], in libyuv_scale() 132 dst->stride[AOM_PLANE_V] / 2, dst->d_w, dst->d_h, mode); in libyuv_scale() 138 src->planes[AOM_PLANE_V], src->stride[AOM_PLANE_V], src->d_w, in libyuv_scale() 141 dst->planes[AOM_PLANE_V], dst->stride[AOM_PLANE_V], dst->d_w, in libyuv_scale() 346 unsigned int d_w, unsigned int d_h, in generate_filename() argument 360 case 'w': snprintf(q, q_len - 1, "%d", d_w); break; in generate_filename() 823 render_width = img->d_w; in main_loop() 837 if (img->d_w != scaled_img->d_w || img->d_h != scaled_img->d_h) { in main_loop() 863 aom_input_ctx.width = img->d_w; in main_loop() 927 generate_filename(outfile_pattern, outfile_name, PATH_MAX, img->d_w, in main_loop()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 44 img->d_w = yv12->y_crop_width; in yuvconfig2image() 87 yv12->y_crop_width = img->d_w; in image2yuvconfig() 91 yv12->y_width = img->d_w; in image2yuvconfig()
|
/external/libaom/libaom/av1/ |
D | av1_iface_common.h | 46 img->d_w = yv12->y_crop_width; in yuvconfig2image() 84 yv12->y_crop_width = img->d_w; in image2yuvconfig()
|