Searched refs:num_cb_points (Results 1 – 9 of 9) sorted by relevance
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.h | 46 int num_cb_points; // value: 0..10 member 111 if (pa->num_cb_points != pb->num_cb_points) return 0; in av1_check_grain_params_equiv() 113 pa->num_cb_points * 2 * sizeof(*pa->scaling_points_cb)) != 0) in av1_check_grain_params_equiv()
|
D | grain_table.c | 81 if (!fscanf(file, "\n\tsCb %d", &pars->num_cb_points)) { in grain_table_entry_read() 86 for (int i = 0; i < pars->num_cb_points; ++i) { in grain_table_entry_read() 155 fprintf(file, "\n\tsCb %d", pars->num_cb_points); in grain_table_entry_write() 156 for (int i = 0; i < pars->num_cb_points; ++i) { in grain_table_entry_write()
|
D | grain_synthesis.c | 455 if (params->num_cb_points || params->chroma_scaling_from_luma) { in generate_chroma_grain_blocks() 522 if (params->num_cb_points || params->chroma_scaling_from_luma) in generate_chroma_grain_blocks() 593 (params->num_cb_points > 0 || params->chroma_scaling_from_luma) ? 1 : 0; in add_noise_to_block() 708 (params->num_cb_points > 0 || params->chroma_scaling_from_luma) > 0 ? 1 in add_noise_to_block_hbd() 1113 init_scaling_function(params->scaling_points_cb, params->num_cb_points, in av1_add_film_grain_run()
|
D | noise_model.c | 1185 film_grain->num_cb_points = scaling_points[1].num_points; in aom_noise_model_get_grain_parameters()
|
/external/libaom/libaom/test/ |
D | film_grain_table_test.cc | 25 EXPECT_EQ(expected->num_cb_points, actual->num_cb_points); in grain_equal() 31 expected->num_cb_points * in grain_equal() 45 if (actual->num_cb_points || actual->chroma_scaling_from_luma) { in grain_equal() 60 if (expected->num_cb_points) { in grain_equal()
|
D | noise_model_test.cc | 1128 EXPECT_EQ(2, film_grain.num_cb_points); in TEST()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 3934 pars->num_cb_points = 0; in av1_read_film_grain_params() 3937 pars->num_cb_points = aom_rb_read_literal(rb, 4); // max 10 in av1_read_film_grain_params() 3938 if (pars->num_cb_points > 10) in av1_read_film_grain_params() 3942 for (int i = 0; i < pars->num_cb_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() 3991 if (pars->num_cb_points || pars->chroma_scaling_from_luma) in av1_read_film_grain_params() 4003 if (pars->num_cb_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() 2531 aom_wb_write_literal(wb, pars->num_cb_points, 4); // max 10 in write_film_grain_params() 2532 for (int i = 0; i < pars->num_cb_points; i++) { in write_film_grain_params() 2560 if (pars->num_cb_points || pars->chroma_scaling_from_luma) in write_film_grain_params() 2572 if (pars->num_cb_points) { in write_film_grain_params()
|
D | encoder.c | 755 pars->num_cb_points = 0; in reset_film_grain_chroma_params()
|