Home
last modified time | relevance | path

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

/external/libaom/libaom/examples/
Daom_cx_set_ref.c74 aom_image_t enc_img, dec_img; in testing_decode() local
79 if (aom_codec_control(encoder, AV1_GET_NEW_FRAME_IMAGE, &enc_img)) in testing_decode()
84 if ((enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) != in testing_decode()
86 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in testing_decode()
88 aom_img_alloc(&enc_hbd_img, enc_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in testing_decode()
89 enc_img.d_w, enc_img.d_h, 16); in testing_decode()
90 aom_img_truncate_16_to_8(&enc_hbd_img, &enc_img); in testing_decode()
91 enc_img = enc_hbd_img; in testing_decode()
102 if (!aom_compare_img(&enc_img, &dec_img)) { in testing_decode()
104 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in testing_decode()
[all …]
/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c73 vpx_image_t enc_img, dec_img; in testing_decode() local
82 enc_img = ref_enc.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()
102 vpx_img_free(&enc_img); in testing_decode()
Dvp9_spatial_svc_encoder.c760 vpx_image_t enc_img, dec_img; in test_decode() local
767 enc_img = ref_enc.img; in test_decode()
771 if ((enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) != in test_decode()
773 if (enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode()
774 vpx_img_alloc(&enc_img, enc_img.fmt - VPX_IMG_FMT_HIGHBITDEPTH, in test_decode()
775 enc_img.d_w, enc_img.d_h, 16); in test_decode()
776 vpx_img_truncate_16_to_8(&enc_img, &ref_enc.img); in test_decode()
786 if (!compare_img(&enc_img, &dec_img)) { in test_decode()
789 if (enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode()
790 find_mismatch_high(&enc_img, &dec_img, y, u, v); in test_decode()
[all …]
/external/libvpx/libvpx/
Dvpxenc.c1509 vpx_image_t enc_img, dec_img; in test_decode() local
1521 enc_img = ref_enc.img; in test_decode()
1535 enc_img = ref_enc.img; in test_decode()
1539 if ((enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) != in test_decode()
1541 if (enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode()
1542 vpx_img_alloc(&enc_img, enc_img.fmt - VPX_IMG_FMT_HIGHBITDEPTH, in test_decode()
1543 enc_img.d_w, enc_img.d_h, 16); in test_decode()
1544 vpx_img_truncate_16_to_8(&enc_img, &ref_enc.img); in test_decode()
1557 if (!compare_img(&enc_img, &dec_img)) { in test_decode()
1560 if (enc_img.fmt & VPX_IMG_FMT_HIGHBITDEPTH) { in test_decode()
[all …]
/external/libaom/libaom/apps/
Daomenc.c2162 aom_image_t enc_img, dec_img; in test_decode() local
2168 &enc_img); in test_decode()
2172 if ((enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) != in test_decode()
2174 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode()
2176 aom_img_alloc(&enc_hbd_img, enc_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in test_decode()
2177 enc_img.d_w, enc_img.d_h, 16); in test_decode()
2178 aom_img_truncate_16_to_8(&enc_hbd_img, &enc_img); in test_decode()
2179 enc_img = enc_hbd_img; in test_decode()
2193 if (!aom_compare_img(&enc_img, &dec_img)) { in test_decode()
2195 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode()
[all …]