Home
last modified time | relevance | path

Searched refs:AOM_IMG_FMT_HIGHBITDEPTH (Results 1 – 18 of 18) sorted by relevance

/external/libaom/libaom/examples/
Daom_cx_set_ref.c84 if ((enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) != in testing_decode()
85 (dec_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()
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()
104 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in testing_decode()
265 if (!CONFIG_LOWBITDEPTH) ref_fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in main()
318 aom_img_alloc(&raw_shift, raw_fmt | AOM_IMG_FMT_HIGHBITDEPTH, in main()
Dlightfield_decoder.c65 const int shift = (src->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 1 : 0; in aom_img_copy_tile()
279 if (!CONFIG_LOWBITDEPTH) out_fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in main()
Dlightfield_encoder.c60 ((img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1); in aom_img_size_bytes()
276 if (!CONFIG_LOWBITDEPTH) ref_fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in pass1()
462 aom_img_alloc(&raw_shift, AOM_IMG_FMT_I420 | AOM_IMG_FMT_HIGHBITDEPTH, w, h, in main()
Dnoise_model.c172 noise_args->img_fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in parse_args()
231 if (raw->fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in print_variance_y()
Dencoder_util.c119 if (img1->fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in aom_compare_img()
Dlightfield_tile_list_decoder.c65 const int shift = (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 1 : 0; in write_tile_yuv1d()
Danalyzer.cc235 const int hbd = !!(img->fmt & AOM_IMG_FMT_HIGHBITDEPTH); in render()
/external/libaom/libaom/aom/
Daom_image.h38 #define AOM_IMG_FMT_HIGHBITDEPTH 0x800 /**< Image uses 16bit framebuffer. */ macro
51 AOM_IMG_FMT_I42016 = AOM_IMG_FMT_I420 | AOM_IMG_FMT_HIGHBITDEPTH,
52 AOM_IMG_FMT_YV1216 = AOM_IMG_FMT_YV12 | AOM_IMG_FMT_HIGHBITDEPTH,
53 AOM_IMG_FMT_I42216 = AOM_IMG_FMT_I422 | AOM_IMG_FMT_HIGHBITDEPTH,
54 AOM_IMG_FMT_I44416 = AOM_IMG_FMT_I444 | AOM_IMG_FMT_HIGHBITDEPTH,
/external/libaom/libaom/common/
Dtools_common.c83 const int bytespp = (yuv_frame->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame()
200 ((img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1); in aom_img_write()
218 ((img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1); in aom_img_read()
287 dst->fmt != src->fmt + AOM_IMG_FMT_HIGHBITDEPTH || input_shift < 0) { in lowbd_img_upshift()
318 if (src->fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in aom_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()
396 src->fmt != dst->fmt + AOM_IMG_FMT_HIGHBITDEPTH || down_shift < 0) { in lowbd_img_downshift()
426 if (dst->fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in aom_img_downshift()
446 ? img->fmt & ~AOM_IMG_FMT_HIGHBITDEPTH in aom_shift_img()
447 : img->fmt | AOM_IMG_FMT_HIGHBITDEPTH; in aom_shift_img()
[all …]
Drawenc.c67 const bool high_bitdepth = img->fmt & AOM_IMG_FMT_HIGHBITDEPTH; in raw_write_image_file_or_md5()
/external/libaom/libaom/aom/src/
Daom_image.c98 stride_in_bytes = (fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? s * 2 : s; in img_alloc_helper()
129 img->bit_depth = (fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 16 : 8; in img_alloc_helper()
189 (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in aom_img_set_rect()
/external/libaom/libaom/av1/
Dav1_iface_common.h61 img->fmt = (aom_img_fmt_t)(img->fmt | AOM_IMG_FMT_HIGHBITDEPTH); in yuvconfig2image()
107 if (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in image2yuvconfig()
Dav1_dx_iface.c817 (ctx->img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 1 : 0; in decoder_get_frame()
1157 if (use_highbitdepth) fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in get_img_format()
/external/libaom/libaom/test/
Dmd5_helper.h31 (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in Add()
Dtest_vector_test.cc73 (aom_img_fmt)(img.fmt & ~AOM_IMG_FMT_HIGHBITDEPTH); in DecompressedFrameHook()
Dcoding_path_sync.cc129 if (img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) in Serialize()
Dexternal_frame_buffer_test.cc249 (aom_img_fmt)(img.fmt & ~AOM_IMG_FMT_HIGHBITDEPTH); in DecompressedFrameHook()
/external/libaom/libaom/apps/
Daomenc.c1849 if ((img->fmt & AOM_IMG_FMT_HIGHBITDEPTH) && in encode_frame()
2055 if ((enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) != in test_decode()
2056 (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH)) { in test_decode()
2057 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode()
2059 aom_img_alloc(&enc_hbd_img, enc_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in test_decode()
2064 if (dec_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode()
2066 aom_img_alloc(&dec_hbd_img, dec_img.fmt - AOM_IMG_FMT_HIGHBITDEPTH, in test_decode()
2078 if (enc_img.fmt & AOM_IMG_FMT_HIGHBITDEPTH) { in test_decode()
2243 if (input.bit_depth > 8) input.fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in main()
2465 aom_img_alloc(&raw_shift, raw.fmt | AOM_IMG_FMT_HIGHBITDEPTH, in main()
[all …]