Home
last modified time | relevance | path

Searched refs:img_shifted (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/examples/
Dscalable_decoder.c159 aom_image_t *img_shifted = in main() local
161 img_shifted->bit_depth = 8; in main()
162 aom_img_downshift(img_shifted, img, in main()
163 img->bit_depth - img_shifted->bit_depth); in main()
166 aom_img_write(img_shifted, outfile[0]); in main()
169 aom_img_write(img_shifted, outfile[img->spatial_id]); in main()
/external/libaom/libaom/common/
Dtools_common.c443 aom_image_t *img_shifted = *img_shifted_ptr; in aom_shift_img() local
450 if (img_shifted && in aom_shift_img()
451 img_shifted_realloc_required(img, img_shifted, shifted_fmt)) { in aom_shift_img()
452 aom_img_free(img_shifted); in aom_shift_img()
453 img_shifted = NULL; in aom_shift_img()
455 if (img_shifted) { in aom_shift_img()
456 img_shifted->monochrome = img->monochrome; in aom_shift_img()
458 if (!img_shifted) { in aom_shift_img()
459 img_shifted = aom_img_alloc(NULL, shifted_fmt, img->d_w, img->d_h, 16); in aom_shift_img()
460 img_shifted->bit_depth = output_bit_depth; in aom_shift_img()
[all …]
/external/libaom/libaom/test/
Dtest_vector_test.cc76 aom_image_t *img_shifted = in DecompressedFrameHook() local
78 img_shifted->bit_depth = img.bit_depth; in DecompressedFrameHook()
79 img_shifted->monochrome = img.monochrome; in DecompressedFrameHook()
80 aom_img_downshift(img_shifted, &img, 0); in DecompressedFrameHook()
81 md5_res.Add(img_shifted); in DecompressedFrameHook()
82 aom_img_free(img_shifted); in DecompressedFrameHook()
Dexternal_frame_buffer_test.cc249 aom_image_t *img_shifted = in DecompressedFrameHook() local
251 img_shifted->bit_depth = img.bit_depth; in DecompressedFrameHook()
252 img_shifted->monochrome = img.monochrome; in DecompressedFrameHook()
253 aom_img_downshift(img_shifted, &img, 0); in DecompressedFrameHook()
254 md5_res.Add(img_shifted); in DecompressedFrameHook()
255 aom_img_free(img_shifted); in DecompressedFrameHook()
/external/libvpx/libvpx/
Dvpxdec.c557 vpx_image_t *img_shifted = NULL; in main_loop() local
961 if (img_shifted && in main_loop()
962 img_shifted_realloc_required(img, img_shifted, shifted_fmt)) { in main_loop()
963 vpx_img_free(img_shifted); in main_loop()
964 img_shifted = NULL; in main_loop()
966 if (!img_shifted) { in main_loop()
967 img_shifted = in main_loop()
969 img_shifted->bit_depth = output_bit_depth; in main_loop()
972 vpx_img_upshift(img_shifted, img, output_bit_depth - img->bit_depth); in main_loop()
974 vpx_img_downshift(img_shifted, img, in main_loop()
[all …]
/external/libaom/libaom/apps/
Daomdec.c460 aom_image_t *img_shifted = NULL; in main_loop() local
860 aom_shift_img(output_bit_depth, &img, &img_shifted); in main_loop()
990 if (img_shifted) aom_img_free(img_shifted); in main_loop()