Home
last modified time | relevance | path

Searched refs:scaling_shift (Results 1 – 12 of 12) sorted by relevance

/external/libgav1/libgav1/src/dsp/x86/
Dfilm_grain_sse4.cc158 const __m128i scaling_shift) { in ScaleNoise() argument
159 const __m128i shifted_scale_factors = _mm_sll_epi16(scaling, scaling_shift); in ScaleNoise()
165 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_SSE4_1() argument
179 const __m128i derived_scaling_shift = _mm_cvtsi32_si128(15 - scaling_shift); in BlendNoiseWithImageLuma_SSE4_1()
222 const __m128i scaling_shift) { in BlendChromaValsWithCfl() argument
227 noise = ScaleNoise<bitdepth>(noise, scaling, scaling_shift); in BlendChromaValsWithCfl()
235 int subsampling_y, int scaling_shift, in BlendChromaPlaneWithCfl_SSE4_1() argument
255 const __m128i derived_scaling_shift = _mm_cvtsi32_si128(15 - scaling_shift); in BlendChromaPlaneWithCfl_SSE4_1()
340 const __m128i& scaling_shift, const __m128i& offset, in BlendChromaValsNoCfl8bpp() argument
356 noise = ScaleNoise<8>(noise, scaling, scaling_shift); in BlendChromaValsNoCfl8bpp()
[all …]
/external/libaom/libaom/aom_dsp/
Dgrain_synthesis.h52 int scaling_shift; // values : 8..11 member
121 if (pa->scaling_shift != pb->scaling_shift) return 0; in av1_check_grain_params_equiv()
Dgrain_synthesis.c589 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block()
651 params->scaling_shift), in add_noise_to_block()
667 params->scaling_shift), in add_noise_to_block()
681 params->scaling_shift), in add_noise_to_block()
704 int rounding_offset = (1 << (params->scaling_shift - 1)); in add_noise_to_block_hbd()
768 params->scaling_shift), in add_noise_to_block_hbd()
783 params->scaling_shift), in add_noise_to_block_hbd()
798 params->scaling_shift), in add_noise_to_block_hbd()
Dgrain_table.c58 &pars->grain_scale_shift, &pars->scaling_shift, in grain_table_entry_read()
146 pars->scaling_shift, pars->chroma_scaling_from_luma, in grain_table_entry_write()
Dnoise_model.c1181 film_grain->scaling_shift = 5 + (8 - max_scaling_value_log2); in aom_noise_model_get_grain_parameters()
/external/libgav1/libgav1/src/dsp/arm/
Dfilm_grain_neon.cc689 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_NEON() argument
705 const int16x8_t scaling_shift_vect16 = vdupq_n_s16(-scaling_shift); in BlendNoiseWithImageLuma_NEON()
707 const int32x4_t scaling_shift_vect32 = vdupq_n_s32(-scaling_shift); in BlendNoiseWithImageLuma_NEON()
765 int subsampling_y, int scaling_shift, in BlendChromaPlaneWithCfl_NEON() argument
777 const int16x8_t scaling_shift_vect16 = vdupq_n_s16(-scaling_shift); in BlendChromaPlaneWithCfl_NEON()
778 const int32x4_t scaling_shift_vect32 = vdupq_n_s32(-scaling_shift); in BlendChromaPlaneWithCfl_NEON()
899 int subsampling_y, int scaling_shift, int chroma_offset, in BlendChromaPlane8bpp_NEON() argument
910 const int16x8_t scaling_shift_vect = vdupq_n_s16(-scaling_shift); in BlendChromaPlane8bpp_NEON()
/external/libgav1/libgav1/src/dsp/
Dfilm_grain.cc499 const void* noise_image_ptr, int min_value, int max_luma, int scaling_shift, in BlendNoiseWithImageLuma_C() argument
518 ScaleLut<bitdepth>(scaling_lut_y, orig) * noise, scaling_shift); in BlendNoiseWithImageLuma_C()
553 const int scaling_shift = params.chroma_scaling; in BlendNoiseWithImageChroma_C() local
578 ScaleLut<bitdepth>(scaling_lut_uv, merged) * noise, scaling_shift); in BlendNoiseWithImageChroma_C()
607 const int scaling_shift = params.chroma_scaling; in BlendNoiseWithImageChromaWithCfl_C() local
629 scaling_shift); in BlendNoiseWithImageChromaWithCfl_C()
Ddsp.h754 int scaling_shift, int width, int height, int start_height,
/external/libaom/libaom/test/
Dfilm_grain_table_test.cc36 EXPECT_EQ(expected->scaling_shift, actual->scaling_shift); in grain_equal()
Dnoise_model_test.cc1039 EXPECT_EQ(test_case.expected_scaling_shift, film_grain.scaling_shift); in TEST()
1107 EXPECT_EQ(10, film_grain.scaling_shift); in TEST()
/external/libaom/libaom/av1/encoder/
Dbitstream.c2544 aom_wb_write_literal(wb, pars->scaling_shift - 8, 2); // 8 + value in write_film_grain_params()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c3975 pars->scaling_shift = aom_rb_read_literal(rb, 2) + 8; // 8 + value in av1_read_film_grain_params()