Home
last modified time | relevance | path

Searched refs:scaling_shift (Results 1 – 8 of 8) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h52 int scaling_shift; // values : 8..11 member
121 if (pa->scaling_shift != pb->scaling_shift) return 0; in av1_check_grain_params_equiv()
Dgrain_synthesis.c589 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block()
651 params->scaling_shift), in add_noise_to_block()
667 params->scaling_shift), in add_noise_to_block()
681 params->scaling_shift), in add_noise_to_block()
704 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block_hbd()
768 params->scaling_shift), in add_noise_to_block_hbd()
783 params->scaling_shift), in add_noise_to_block_hbd()
798 params->scaling_shift), in add_noise_to_block_hbd()
Dgrain_table.c58 &pars->grain_scale_shift, &pars->scaling_shift, in grain_table_entry_read()
146 pars->scaling_shift, pars->chroma_scaling_from_luma, in grain_table_entry_write()
Dnoise_model.c1175 film_grain->scaling_shift = 5 + (8 - max_scaling_value_log2); in aom_noise_model_get_grain_parameters()
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc36 EXPECT_EQ(expected->scaling_shift, actual->scaling_shift); in grain_equal()
Dnoise_model_test.cc1039 EXPECT_EQ(test_case.expected_scaling_shift, film_grain.scaling_shift); in TEST()
1107 EXPECT_EQ(10, film_grain.scaling_shift); in TEST()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2515 aom_wb_write_literal(wb, pars->scaling_shift - 8, 2); // 8 + value in write_film_grain_params()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4341 pars->scaling_shift = aom_rb_read_literal(rb, 2) + 8; // 8 + value in av1_read_film_grain_params()