Home
last modified time | relevance | path

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

/external/libaom/libaom/common/
Drawenc.c41 static void write_greyscale(const bool high_bitdepth, int n, WRITER writer_func, in write_greyscale() argument
44 if (high_bitdepth) { in write_greyscale()
48 high_bitdepth ? n / (BATCH_SIZE / 2) : n / BATCH_SIZE; in write_greyscale()
52 const int remaining = high_bitdepth ? n % (BATCH_SIZE / 2) : n % BATCH_SIZE; in write_greyscale()
54 if (high_bitdepth) { in write_greyscale()
67 const bool high_bitdepth = img->fmt & AOM_IMG_FMT_HIGHBITDEPTH; in raw_write_image_file_or_md5() local
68 const int bytes_per_sample = high_bitdepth ? 2 : 1; in raw_write_image_file_or_md5()
76 write_greyscale(high_bitdepth, w * h, writer_func, file_or_md5); in raw_write_image_file_or_md5()
Dav1_config.c154 AV1C_READ_BIT_OR_RETURN_ERROR(high_bitdepth); in parse_color_config()
155 config->high_bitdepth = high_bitdepth; in parse_color_config()
158 if (config->seq_profile == 2 && config->high_bitdepth) { in parse_color_config()
163 bit_depth = config->high_bitdepth ? 10 : 8; in parse_color_config()
441 AV1C_READ_BIT_OR_RETURN_ERROR(high_bitdepth); in read_av1config()
442 config->high_bitdepth = high_bitdepth; in read_av1config()
488 aom_wb_write_bit(&writer, config->high_bitdepth); in write_av1config()
Dav1_config.h55 uint8_t high_bitdepth; member
/external/libaom/libaom/test/
Dav1_config_test.cc60 EXPECT_EQ(0, av1_config.high_bitdepth); in VerifyAv1c()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4209 const int high_bitdepth = aom_rb_read_bit(rb); in read_bitdepth() local
4210 if (seq_params->profile == PROFILE_2 && high_bitdepth) { in read_bitdepth()
4214 seq_params->bit_depth = high_bitdepth ? AOM_BITS_10 : AOM_BITS_8; in read_bitdepth()