Searched refs:num_y_points (Results 1 – 8 of 8) sorted by relevance
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.h | 42 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()
|
D | grain_table.c | 68 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()
|
D | grain_synthesis.c | 254 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()
|
D | noise_model.c | 1178 film_grain->num_y_points = scaling_points[0].num_points; in aom_noise_model_get_grain_parameters()
|
/external/libaom/libaom/test/ |
D | film_grain_table_test.cc | 24 EXPECT_EQ(expected->num_y_points, actual->num_y_points); in grain_equal() 28 expected->num_y_points * in grain_equal()
|
D | noise_model_test.cc | 1108 EXPECT_EQ(kNumScalingPointsY, film_grain.num_y_points); in TEST()
|
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 2485 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/ |
D | decodeframe.c | 4278 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()
|