Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h66 int ar_coeff_shift; // values : 6..9 member
135 if (pa->ar_coeff_shift != pb->ar_coeff_shift) return 0; in av1_check_grain_params_equiv()
Dgrain_table.c57 &pars->ar_coeff_lag, &pars->ar_coeff_shift, in grain_table_entry_read()
145 pars->ar_coeff_lag, pars->ar_coeff_shift, pars->grain_scale_shift, in grain_table_entry_write()
Dgrain_synthesis.c413 int rounding_offset = (1 << (params->ar_coeff_shift - 1)); in generate_luma_grain_block()
433 ((wsum + rounding_offset) >> params->ar_coeff_shift), in generate_luma_grain_block()
452 int rounding_offset = (1 << (params->ar_coeff_shift - 1)); in generate_chroma_grain_blocks()
525 ((wsum_cb + rounding_offset) >> params->ar_coeff_shift), in generate_chroma_grain_blocks()
530 ((wsum_cr + rounding_offset) >> params->ar_coeff_shift), in generate_chroma_grain_blocks()
Dnoise_model.c1238 film_grain->ar_coeff_shift = in aom_noise_model_get_grain_parameters()
1241 double scale_ar_coeff = 1 << film_grain->ar_coeff_shift; in aom_noise_model_get_grain_parameters()
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc38 EXPECT_EQ(expected->ar_coeff_shift, actual->ar_coeff_shift); in grain_equal()
Dnoise_model_test.cc1006 EXPECT_EQ(test_case.expected_ar_coeff_shift, film_grain.ar_coeff_shift); in TEST()
1106 EXPECT_EQ(7, film_grain.ar_coeff_shift); in TEST()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2539 aom_wb_write_literal(wb, pars->ar_coeff_shift - 6, 2); // 8 + value in write_film_grain_params()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4365 pars->ar_coeff_shift = aom_rb_read_literal(rb, 2) + 6; // 6 + value in av1_read_film_grain_params()