Searched refs:dec_img (Results 1 – 5 of 5) sorted by relevance
/external/libaom/libaom/examples/ |
D | aom_cx_set_ref.c | 74 aom_image_t enc_img, dec_img; in testing_decode() local 81 if (aom_codec_control(decoder, AV1_GET_NEW_FRAME_IMAGE, &dec_img)) in testing_decode() 85 (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH)) { in testing_decode() 93 if (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in testing_decode() 95 aom_img_alloc(&dec_hbd_img, dec_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in testing_decode() 96 dec_img.d_w, dec_img.d_h, 16); in testing_decode() 97 aom_img_truncate_16_to_8(&dec_hbd_img, &dec_img); in testing_decode() 98 dec_img = dec_hbd_img; in testing_decode() 102 if (!aom_compare_img(&enc_img, &dec_img)) { in testing_decode() 105 aom_find_mismatch_high(&enc_img, &dec_img, y, u, v); in testing_decode() [all …]
|
/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 73 vpx_image_t enc_img, dec_img; in testing_decode() local 85 dec_img = ref_dec.img; in testing_decode() 87 if (!compare_img(&enc_img, &dec_img)) { in testing_decode() 92 find_mismatch(&enc_img, &dec_img, y, u, v); in testing_decode() 103 vpx_img_free(&dec_img); in testing_decode()
|
D | vp9_spatial_svc_encoder.c | 760 vpx_image_t enc_img, dec_img; in test_decode() local 769 dec_img = ref_dec.img; in test_decode() 772 (dec_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH)) { in test_decode() 778 if (dec_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode() 779 vpx_img_alloc(&dec_img, dec_img.fmt - VPX_IMG_FMT_HIGHBITDEPTH, in test_decode() 780 dec_img.d_w, dec_img.d_h, 16); in test_decode() 781 vpx_img_truncate_16_to_8(&dec_img, &ref_dec.img); in test_decode() 786 if (!compare_img(&enc_img, &dec_img)) { in test_decode() 790 find_mismatch_high(&enc_img, &dec_img, y, u, v); in test_decode() 792 find_mismatch(&enc_img, &dec_img, y, u, v); in test_decode() [all …]
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 1509 vpx_image_t enc_img, dec_img; in test_decode() local 1523 dec_img = ref_dec.img; in test_decode() 1537 dec_img = ref_dec.img; in test_decode() 1540 (dec_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH)) { in test_decode() 1546 if (dec_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode() 1547 vpx_img_alloc(&dec_img, dec_img.fmt - VPX_IMG_FMT_HIGHBITDEPTH, in test_decode() 1548 dec_img.d_w, dec_img.d_h, 16); in test_decode() 1549 vpx_img_truncate_16_to_8(&dec_img, &ref_dec.img); in test_decode() 1557 if (!compare_img(&enc_img, &dec_img)) { in test_decode() 1561 find_mismatch_high(&enc_img, &dec_img, y, u, v); in test_decode() [all …]
|
/external/libaom/libaom/apps/ |
D | aomenc.c | 2162 aom_image_t enc_img, dec_img; in test_decode() local 2170 &dec_img); in test_decode() 2173 (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH)) { in test_decode() 2181 if (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode() 2183 aom_img_alloc(&dec_hbd_img, dec_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in test_decode() 2184 dec_img.d_w, dec_img.d_h, 16); in test_decode() 2185 aom_img_truncate_16_to_8(&dec_hbd_img, &dec_img); in test_decode() 2186 dec_img = dec_hbd_img; in test_decode() 2193 if (!aom_compare_img(&enc_img, &dec_img)) { in test_decode() 2196 aom_find_mismatch_high(&enc_img, &dec_img, y, u, v); in test_decode() [all …]
|