Home
last modified time | relevance | path

Searched refs:chroma_scaling_from_luma (Results 1 – 9 of 9) sorted by relevance

/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h82 int chroma_scaling_from_luma; member
148 if (pa->chroma_scaling_from_luma != pb->chroma_scaling_from_luma) return 0; in av1_check_grain_params_equiv()
Dgrain_synthesis.c455 if (params->num_cb_points || params->chroma_scaling_from_luma) { in generate_chroma_grain_blocks()
469 if (params->num_cr_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()
527 if (params->num_cr_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()
595 (params->num_cr_points > 0 || params->chroma_scaling_from_luma) ? 1 : 0; in add_noise_to_block()
597 if (params->chroma_scaling_from_luma) { in add_noise_to_block()
708 (params->num_cb_points > 0 || params->chroma_scaling_from_luma) > 0 ? 1 in add_noise_to_block_hbd()
711 (params->num_cr_points > 0 || params->chroma_scaling_from_luma) > 0 ? 1 in add_noise_to_block_hbd()
714 if (params->chroma_scaling_from_luma) { in add_noise_to_block_hbd()
[all …]
Dgrain_table.c59 &pars->chroma_scaling_from_luma, &pars->overlap_flag, in grain_table_entry_read()
146 pars->scaling_shift, pars->chroma_scaling_from_luma, in grain_table_entry_write()
Dnoise_model.c1269 film_grain->chroma_scaling_from_luma = 0; in aom_noise_model_get_grain_parameters()
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc45 if (actual->num_cb_points || actual->chroma_scaling_from_luma) { in grain_equal()
49 if (actual->num_cr_points || actual->chroma_scaling_from_luma) { in grain_equal()
54 EXPECT_EQ(expected->chroma_scaling_from_luma, in grain_equal()
55 actual->chroma_scaling_from_luma); in grain_equal()
Dnoise_model_test.cc1147 EXPECT_EQ(0, film_grain.chroma_scaling_from_luma); in TEST()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2492 aom_wb_write_bit(wb, pars->chroma_scaling_from_luma); in write_film_grain_params()
2494 assert(!pars->chroma_scaling_from_luma); in write_film_grain_params()
2497 if (cm->seq_params.monochrome || pars->chroma_scaling_from_luma || in write_film_grain_params()
2531 if (pars->num_cb_points || pars->chroma_scaling_from_luma) in write_film_grain_params()
2535 if (pars->num_cr_points || pars->chroma_scaling_from_luma) in write_film_grain_params()
Dencoder.c479 pars->chroma_scaling_from_luma = 0; in reset_film_grain_chroma_params()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4293 pars->chroma_scaling_from_luma = aom_rb_read_bit(rb); in av1_read_film_grain_params()
4295 pars->chroma_scaling_from_luma = 0; in av1_read_film_grain_params()
4297 if (seq_params->monochrome || pars->chroma_scaling_from_luma || in av1_read_film_grain_params()
4357 if (pars->num_cb_points || pars->chroma_scaling_from_luma) in av1_read_film_grain_params()
4361 if (pars->num_cr_points || pars->chroma_scaling_from_luma) in av1_read_film_grain_params()