Searched refs:average_luma (Results 1 – 4 of 4) sorted by relevance
/external/libgav1/libgav1/src/dsp/x86/ |
D | film_grain_sse4.cc | 263 const __m128i average_luma = in BlendChromaPlaneWithCfl_SSE4_1() local 265 StoreUnsigned(average_luma_buffer, average_luma); in BlendChromaPlaneWithCfl_SSE4_1() 288 const __m128i average_luma = in BlendChromaPlaneWithCfl_SSE4_1() local 290 StoreUnsigned(average_luma_buffer, average_luma); in BlendChromaPlaneWithCfl_SSE4_1() 339 const int8_t* noise_image_cursor, const __m128i& average_luma, in BlendChromaValsNoCfl8bpp() argument 344 _mm_madd_epi16(_mm_unpacklo_epi16(average_luma, orig), weights); in BlendChromaValsNoCfl8bpp() 346 _mm_madd_epi16(_mm_unpackhi_epi16(average_luma, orig), weights); in BlendChromaValsNoCfl8bpp() 390 const __m128i average_luma = in BlendChromaPlane8bpp_SSE4_1() local 395 average_luma, derived_scaling_shift, offset, multipliers); in BlendChromaPlane8bpp_SSE4_1() 416 const __m128i average_luma = in BlendChromaPlane8bpp_SSE4_1() local [all …]
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 562 int average_luma; in BlendNoiseWithImageChroma_C() local 564 average_luma = RightShiftWithRounding( in BlendNoiseWithImageChroma_C() 569 average_luma = in_y[luma_y * source_stride_y + luma_x]; in BlendNoiseWithImageChroma_C() 572 const int combined = average_luma * luma_multiplier + orig * multiplier; in BlendNoiseWithImageChroma_C() 616 int average_luma; in BlendNoiseWithImageChromaWithCfl_C() local 618 average_luma = RightShiftWithRounding( in BlendNoiseWithImageChromaWithCfl_C() 623 average_luma = in_y[luma_y * source_stride_y + luma_x]; in BlendNoiseWithImageChromaWithCfl_C() 628 ScaleLut<bitdepth>(scaling_lut, average_luma) * noise_uv, in BlendNoiseWithImageChromaWithCfl_C()
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 796 const uint16x8_t average_luma = in BlendChromaPlaneWithCfl_NEON() local 798 StoreUnsigned8(average_luma_buffer, average_luma); in BlendChromaPlaneWithCfl_NEON() 819 const uint16x8_t average_luma = in BlendChromaPlaneWithCfl_NEON() local 821 StoreUnsigned8(average_luma_buffer, average_luma); in BlendChromaPlaneWithCfl_NEON() 877 const int16x8_t& average_luma, const int16x8_t& scaling_shift_vect, in BlendChromaValsNoCfl() argument 881 const int16x8_t weighted_luma = vmulq_n_s16(average_luma, luma_multiplier); in BlendChromaValsNoCfl() 924 const int16x8_t average_luma = vreinterpretq_s16_u16( in BlendChromaPlane8bpp_NEON() local 928 average_luma, scaling_shift_vect, offset, luma_multiplier, in BlendChromaPlane8bpp_NEON() 947 const int16x8_t average_luma = in BlendChromaPlane8bpp_NEON() local 951 average_luma, scaling_shift_vect, offset, luma_multiplier, in BlendChromaPlane8bpp_NEON()
|
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.c | 627 int average_luma = 0; in add_noise_to_block() local 629 average_luma = (luma[(i << chroma_subsamp_y) * luma_stride + in add_noise_to_block() 636 average_luma = luma[(i << chroma_subsamp_y) * luma_stride + j]; in add_noise_to_block() 643 clamp(((average_luma * cb_luma_mult + in add_noise_to_block() 659 clamp(((average_luma * cr_luma_mult + in add_noise_to_block() 744 int average_luma = 0; in add_noise_to_block_hbd() local 746 average_luma = (luma[(i << chroma_subsamp_y) * luma_stride + in add_noise_to_block_hbd() 753 average_luma = luma[(i << chroma_subsamp_y) * luma_stride + j]; in add_noise_to_block_hbd() 760 clamp(((average_luma * cb_luma_mult + in add_noise_to_block_hbd() 775 clamp(((average_luma * cr_luma_mult + in add_noise_to_block_hbd()
|