Searched refs:max_luma (Results 1 – 6 of 6) sorted by relevance
/external/libgav1/libgav1/src/ |
D | film_grain.cc | 588 int max_luma, const uint8_t* source_plane_y, ptrdiff_t source_stride_y, in BlendNoiseLumaWorker() argument 606 noise_image_, min_value, max_luma, params_.chroma_scaling, width_, in BlendNoiseLumaWorker() 689 int max_luma; in AddNoise() local 693 max_luma = 235 << (bitdepth - 8); in AddNoise() 695 max_chroma = max_luma; in AddNoise() 701 max_luma = (256 << (bitdepth - 8)) - 1; in AddNoise() 702 max_chroma = max_luma; in AddNoise() 784 [this, dsp, &pending_workers, &job_counter, min_value, max_luma, in AddNoise() 786 BlendNoiseLumaWorker(dsp, &job_counter, min_value, max_luma, in AddNoise() 793 BlendNoiseLumaWorker(dsp, &job_counter, min_value, max_luma, in AddNoise() [all …]
|
D | film_grain.h | 125 int min_value, int max_luma,
|
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.c | 607 int min_luma, max_luma, min_chroma, max_chroma; in add_noise_to_block() local 611 max_luma = max_luma_legal_range; in add_noise_to_block() 622 max_luma = max_chroma = 255; in add_noise_to_block() 682 min_luma, max_luma); in add_noise_to_block() 724 int min_luma, max_luma, min_chroma, max_chroma; in add_noise_to_block_hbd() local 728 max_luma = max_luma_legal_range << (bit_depth - 8); in add_noise_to_block_hbd() 739 max_luma = max_chroma = (256 << (bit_depth - 8)) - 1; in add_noise_to_block_hbd() 799 min_luma, max_luma); in add_noise_to_block_hbd()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | film_grain_sse4.cc | 165 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_SSE4_1() argument 177 const __m128i ceiling = _mm_set1_epi16(max_luma); in BlendNoiseWithImageLuma_SSE4_1()
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 499 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_C() argument 519 out_y[y * dest_stride_y + x] = Clip3(orig + noise, min_value, max_luma); in BlendNoiseWithImageLuma_C()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 689 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_NEON() argument 701 const int16x8_t ceiling = vdupq_n_s16(max_luma); in BlendNoiseWithImageLuma_NEON()
|