Searched refs:num_y_points (Results 1 – 11 of 11) 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 | 1184 film_grain->num_y_points = scaling_points[0].num_points; in aom_noise_model_get_grain_parameters()
|
/external/libgav1/libgav1/src/ |
D | film_grain.cc | 286 const bool use_luma = params_.num_y_points > 0; in Init() 323 params_.num_y_points, params_.point_y_value, params_.point_y_scaling, in Init() 366 assert(params.num_y_points > 0); in GenerateLumaGrain() 430 if (params_.num_y_points > 0) { in AllocateNoiseStripes() 441 if (params_.num_y_points > 0) { in AllocateNoiseStripes() 465 if (params_.num_y_points > 0 && in AllocateNoiseImage() 630 const bool use_luma = params_.num_y_points > 0; in AddNoise()
|
D | obu_parser.cc | 1448 film_grain_params.num_y_points = scratch; in ParseFilmGrainParameters() 1449 if (film_grain_params.num_y_points > 14) { in ParseFilmGrainParameters() 1451 film_grain_params.num_y_points); in ParseFilmGrainParameters() 1454 for (int i = 0; i < film_grain_params.num_y_points; ++i) { in ParseFilmGrainParameters() 1477 film_grain_params.num_y_points == 0)) { in ParseFilmGrainParameters() 1542 if (film_grain_params.num_y_points > 0) { in ParseFilmGrainParameters()
|
/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/libgav1/libgav1/src/utils/ |
D | types.h | 401 uint8_t num_y_points; // [0, 14]. member
|
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 2514 aom_wb_write_literal(wb, pars->num_y_points, 4); // max 14 in write_film_grain_params() 2515 for (int i = 0; i < pars->num_y_points; i++) { in write_film_grain_params() 2528 (cm->seq_params.subsampling_y == 1) && (pars->num_y_points == 0))) { in write_film_grain_params() 2554 if (pars->num_y_points > 0) ++num_pos_chroma; in write_film_grain_params() 2556 if (pars->num_y_points) in write_film_grain_params()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 3912 pars->num_y_points = aom_rb_read_literal(rb, 4); // max 14 in av1_read_film_grain_params() 3913 if (pars->num_y_points > 14) in av1_read_film_grain_params() 3917 for (int i = 0; i < pars->num_y_points; i++) { in av1_read_film_grain_params() 3933 (pars->num_y_points == 0))) { in av1_read_film_grain_params() 3985 if (pars->num_y_points > 0) ++num_pos_chroma; in av1_read_film_grain_params() 3987 if (pars->num_y_points) in av1_read_film_grain_params()
|