Searched refs:scaling_lut (Results 1 – 5 of 5) sorted by relevance
/external/libgav1/libgav1/src/dsp/arm/ |
D | film_grain_neon.cc | 563 uint8_t scaling_lut[kScalingLookupTableSize]) { in InitializeScalingLookupTable_NEON() 565 memset(scaling_lut, 0, sizeof(scaling_lut[0]) * kScalingLookupTableSize); in InitializeScalingLookupTable_NEON() 568 static_assert(sizeof(scaling_lut[0]) == 1, ""); in InitializeScalingLookupTable_NEON() 569 memset(scaling_lut, point_scaling[0], point_value[0]); in InitializeScalingLookupTable_NEON() 594 vst1_u8(&scaling_lut[point_value[i] + x], in InitializeScalingLookupTable_NEON() 602 memset(&scaling_lut[last_point_value], point_scaling[num_points - 1], in InitializeScalingLookupTable_NEON() 614 const uint8_t scaling_lut[kScalingLookupTableSize], const Pixel* source) { in GetScalingFactors() 617 start_vals[0] = scaling_lut[source[0]]; in GetScalingFactors() 618 start_vals[1] = scaling_lut[source[1]]; in GetScalingFactors() 619 start_vals[2] = scaling_lut[source[2]]; in GetScalingFactors() [all …]
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | film_grain_sse4.cc | 130 const uint8_t scaling_lut[kScalingLookupTableSize], const Pixel* source) { in GetScalingFactors() 136 start_vals[i] = scaling_lut[source[i]]; in GetScalingFactors() 144 start_vals[i] = scaling_lut[index]; in GetScalingFactors() 145 end_vals[i] = scaling_lut[index + 1]; in GetScalingFactors() 220 const uint8_t scaling_lut[kScalingLookupTableSize], in BlendChromaValsWithCfl() 224 GetScalingFactors<bitdepth, Pixel>(scaling_lut, average_luma_buffer); in BlendChromaValsWithCfl() 236 const uint8_t scaling_lut[kScalingLookupTableSize], const Pixel* in_y_row, in BlendChromaPlaneWithCfl_SSE4_1() 269 average_luma_buffer, scaling_lut, &in_chroma_row[x], in BlendChromaPlaneWithCfl_SSE4_1() 294 average_luma_buffer, scaling_lut, &in_chroma_row[x], in BlendChromaPlaneWithCfl_SSE4_1() 312 const uint8_t scaling_lut[kScalingLookupTableSize], in BlendNoiseWithImageChromaWithCfl_SSE4_1() [all …]
|
/external/libgav1/libgav1/src/dsp/ |
D | film_grain.cc | 45 uint8_t scaling_lut[kScalingLookupTableSize]) { in InitializeScalingLookupTable_C() 50 memset(scaling_lut, 0, sizeof(scaling_lut[0]) * kScalingLookupTableSize); in InitializeScalingLookupTable_C() 53 static_assert(sizeof(scaling_lut[0]) == 1, ""); in InitializeScalingLookupTable_C() 54 memset(scaling_lut, point_scaling[0], point_value[0]); in InitializeScalingLookupTable_C() 62 scaling_lut[point_value[i] + x] = v; in InitializeScalingLookupTable_C() 66 memset(&scaling_lut[last_point_value], point_scaling[num_points - 1], in InitializeScalingLookupTable_C() 73 int ScaleLut(const uint8_t scaling_lut[kScalingLookupTableSize], int index) { in ScaleLut() 79 return scaling_lut[quotient]; in ScaleLut() 82 const int start = scaling_lut[quotient]; in ScaleLut() 83 const int end = scaling_lut[quotient + 1]; in ScaleLut() [all …]
|
D | dsp.h | 735 uint8_t scaling_lut[kScalingLookupTableSize]); 763 const uint8_t scaling_lut[kScalingLookupTableSize],
|
/external/libaom/libaom/aom_dsp/ |
D | grain_synthesis.c | 537 int scaling_lut[]) { in init_scaling_function() argument 541 scaling_lut[i] = scaling_points[0][1]; in init_scaling_function() 550 scaling_lut[scaling_points[point][0] + x] = in init_scaling_function() 556 scaling_lut[i] = scaling_points[num_points - 1][1]; in init_scaling_function() 561 static int scale_LUT(int *scaling_lut, int index, int bit_depth) { in scale_LUT() argument 565 return scaling_lut[x]; in scale_LUT() 567 return scaling_lut[x] + (((scaling_lut[x + 1] - scaling_lut[x]) * in scale_LUT()
|