Searched refs:num_cr_points (Results 1 – 9 of 9) sorted by relevance
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.h | 50 int num_cr_points; // value: 0..10 member 116 if (pa->num_cr_points != pb->num_cr_points) return 0; in av1_check_grain_params_equiv() 118 pa->num_cr_points * 2 * sizeof(*pa->scaling_points_cr)) != 0) in av1_check_grain_params_equiv()
|
D | grain_table.c | 94 if (!fscanf(file, "\n\tsCr %d", &pars->num_cr_points)) { in grain_table_entry_read() 99 for (int i = 0; i < pars->num_cr_points; ++i) { in grain_table_entry_read() 160 fprintf(file, "\n\tsCr %d", pars->num_cr_points); in grain_table_entry_write() 161 for (int i = 0; i < pars->num_cr_points; ++i) { in grain_table_entry_write()
|
D | grain_synthesis.c | 469 if (params->num_cr_points || params->chroma_scaling_from_luma) { in generate_chroma_grain_blocks() 527 if (params->num_cr_points || params->chroma_scaling_from_luma) in generate_chroma_grain_blocks() 595 (params->num_cr_points > 0 || params->chroma_scaling_from_luma) ? 1 : 0; in add_noise_to_block() 711 (params->num_cr_points > 0 || params->chroma_scaling_from_luma) > 0 ? 1 in add_noise_to_block_hbd() 1115 init_scaling_function(params->scaling_points_cr, params->num_cr_points, in av1_add_film_grain_run()
|
D | noise_model.c | 1186 film_grain->num_cr_points = scaling_points[2].num_points; in aom_noise_model_get_grain_parameters()
|
/external/libaom/libaom/test/ |
D | film_grain_table_test.cc | 26 EXPECT_EQ(expected->num_cr_points, actual->num_cr_points); in grain_equal() 34 expected->num_cr_points * in grain_equal() 49 if (actual->num_cr_points || actual->chroma_scaling_from_luma) { in grain_equal() 65 if (expected->num_cr_points) { in grain_equal()
|
D | noise_model_test.cc | 1135 EXPECT_EQ(2, film_grain.num_cr_points); in TEST()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 3935 pars->num_cr_points = 0; in av1_read_film_grain_params() 3952 pars->num_cr_points = aom_rb_read_literal(rb, 4); // max 10 in av1_read_film_grain_params() 3953 if (pars->num_cr_points > 10) in av1_read_film_grain_params() 3957 for (int i = 0; i < pars->num_cr_points; i++) { in av1_read_film_grain_params() 3968 (((pars->num_cb_points == 0) && (pars->num_cr_points != 0)) || in av1_read_film_grain_params() 3969 ((pars->num_cb_points != 0) && (pars->num_cr_points == 0)))) in av1_read_film_grain_params() 3995 if (pars->num_cr_points || pars->chroma_scaling_from_luma) in av1_read_film_grain_params() 4009 if (pars->num_cr_points) { in av1_read_film_grain_params()
|
/external/libaom/libaom/av1/encoder/ |
D | bitstream.c | 2529 assert(pars->num_cb_points == 0 && pars->num_cr_points == 0); in write_film_grain_params() 2537 aom_wb_write_literal(wb, pars->num_cr_points, 4); // max 10 in write_film_grain_params() 2538 for (int i = 0; i < pars->num_cr_points; i++) { in write_film_grain_params() 2564 if (pars->num_cr_points || pars->chroma_scaling_from_luma) in write_film_grain_params() 2578 if (pars->num_cr_points) { in write_film_grain_params()
|
D | encoder.c | 750 pars->num_cr_points = 0; in reset_film_grain_chroma_params()
|