Home
last modified time | relevance | path

Searched refs:GetFilmGrainRandomNumber (Results 1 – 4 of 4) sorted by relevance

/external/libgav1/src/dsp/
Dfilm_grain_common.h34 inline int GetFilmGrainRandomNumber(int bits, uint16_t* seed) { in GetFilmGrainRandomNumber() function
Dfilm_grain.cc264 const int rand = GetFilmGrainRandomNumber(8, &seed); in ConstructNoiseStripes_C()
326 const int rand = GetFilmGrainRandomNumber(8, &seed); in ConstructNoiseStripesWithOverlap_C()
344 const int rand = GetFilmGrainRandomNumber(8, &seed); in ConstructNoiseStripesWithOverlap_C()
/external/libgav1/src/
Dfilm_grain.cc381 kGaussianSequence[GetFilmGrainRandomNumber(11, &seed)], shift); in GenerateLumaGrain()
406 kGaussianSequence[GetFilmGrainRandomNumber(11, &seed)], shift); in GenerateChromaGrains()
422 kGaussianSequence[GetFilmGrainRandomNumber(11, &seed)], shift); in GenerateChromaGrains()
Dfilm_grain_test.cc917 TEST(FilmGrainTest, GetFilmGrainRandomNumber) { in TEST() argument
926 int rand = GetFilmGrainRandomNumber(11, &seed); in TEST()
937 int rand = GetFilmGrainRandomNumber(8, &seed); in TEST()