Searched refs:film_grain (Results 1 – 3 of 3) sorted by relevance
945 aom_film_grain_t film_grain; in TEST() local950 EXPECT_TRUE(aom_noise_model_get_grain_parameters(&model, &film_grain)); in TEST()951 EXPECT_EQ(lag, film_grain.ar_coeff_lag); in TEST()958 EXPECT_FALSE(aom_noise_model_get_grain_parameters(&model, &film_grain)); in TEST()1003 aom_film_grain_t film_grain; in TEST() local1004 EXPECT_TRUE(aom_noise_model_get_grain_parameters(&model, &film_grain)); in TEST()1005 EXPECT_EQ(1, film_grain.ar_coeff_lag); in TEST()1006 EXPECT_EQ(test_case.expected_ar_coeff_shift, film_grain.ar_coeff_shift); in TEST()1007 EXPECT_EQ(test_case.expected_value, film_grain.ar_coeffs_y[0]); in TEST()1036 aom_film_grain_t film_grain; in TEST() local[all …]
1133 aom_film_grain_t *film_grain) { in aom_noise_model_get_grain_parameters() argument1138 uint16_t random_seed = film_grain->random_seed; in aom_noise_model_get_grain_parameters()1139 memset(film_grain, 0, sizeof(*film_grain)); in aom_noise_model_get_grain_parameters()1140 film_grain->random_seed = random_seed; in aom_noise_model_get_grain_parameters()1142 film_grain->apply_grain = 1; in aom_noise_model_get_grain_parameters()1143 film_grain->update_parameters = 1; in aom_noise_model_get_grain_parameters()1145 film_grain->ar_coeff_lag = noise_model->params.lag; in aom_noise_model_get_grain_parameters()1175 film_grain->scaling_shift = 5 + (8 - max_scaling_value_log2); in aom_noise_model_get_grain_parameters()1178 film_grain->num_y_points = scaling_points[0].num_points; in aom_noise_model_get_grain_parameters()1179 film_grain->num_cb_points = scaling_points[1].num_points; in aom_noise_model_get_grain_parameters()[all …]
263 aom_film_grain_t *film_grain);