Home
last modified time | relevance | path

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

/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h42 int num_y_points; // value: 0..14 member
106 if (pa->num_y_points != pb->num_y_points) return 0; in av1_check_grain_params_equiv()
108 pa->num_y_points * 2 * sizeof(*pa->scaling_points_y)) != 0) in av1_check_grain_params_equiv()
Dgrain_table.c68 if (!fscanf(file, "\tsY %d ", &pars->num_y_points)) { in grain_table_entry_read()
73 for (int i = 0; i < pars->num_y_points; ++i) { in grain_table_entry_read()
150 fprintf(file, "\tsY %d ", pars->num_y_points); in grain_table_entry_write()
151 for (int i = 0; i < pars->num_y_points; ++i) { in grain_table_entry_write()
Dgrain_synthesis.c254 if (params->num_y_points > 0) ++num_pos_chroma; in init_arrays()
300 if (params->num_y_points > 0) { in init_arrays()
342 if (params->num_y_points > 0) ++num_pos_chroma; in dealloc_arrays()
403 if (params->num_y_points == 0) { in generate_luma_grain_block()
451 if (params->num_y_points > 0) ++num_pos_chroma; in generate_chroma_grain_blocks()
591 int apply_y = params->num_y_points > 0 ? 1 : 0; in add_noise_to_block()
706 int apply_y = params->num_y_points > 0 ? 1 : 0; in add_noise_to_block_hbd()
1106 init_scaling_function(params->scaling_points_y, params->num_y_points, in av1_add_film_grain_run()
Dnoise_model.c1178 film_grain->num_y_points = scaling_points[0].num_points; in aom_noise_model_get_grain_parameters()
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc24 EXPECT_EQ(expected->num_y_points, actual->num_y_points); in grain_equal()
28 expected->num_y_points * in grain_equal()
Dnoise_model_test.cc1108 EXPECT_EQ(kNumScalingPointsY, film_grain.num_y_points); in TEST()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2485 aom_wb_write_literal(wb, pars->num_y_points, 4); // max 14 in write_film_grain_params()
2486 for (int i = 0; i < pars->num_y_points; i++) { in write_film_grain_params()
2499 (cm->seq_params.subsampling_y == 1) && (pars->num_y_points == 0))) { in write_film_grain_params()
2525 if (pars->num_y_points > 0) ++num_pos_chroma; in write_film_grain_params()
2527 if (pars->num_y_points) in write_film_grain_params()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4278 pars->num_y_points = aom_rb_read_literal(rb, 4); // max 14 in av1_read_film_grain_params()
4279 if (pars->num_y_points > 14) in av1_read_film_grain_params()
4283 for (int i = 0; i < pars->num_y_points; i++) { in av1_read_film_grain_params()
4299 (pars->num_y_points == 0))) { in av1_read_film_grain_params()
4351 if (pars->num_y_points > 0) ++num_pos_chroma; in av1_read_film_grain_params()
4353 if (pars->num_y_points) in av1_read_film_grain_params()