Searched refs:seed (Results 1 - 15 of 15) sorted by relevance

/hardware/intel/img/libdrm/libdrm/
H A Dxf86drmRandom.c101 long seed; member in struct:RandomState
105 extern void *drmRandomCreate(unsigned long seed);
111 void *drmRandomCreate(unsigned long seed) argument
132 state->seed = seed;
135 if (state->seed <= 0) state->seed = 1;
136 if (state->seed >= state->m) state->seed = state->m - 1;
153 hi = s->seed /
169 check_period(long seed) argument
[all...]
H A Dxf86drmHash.c91 #define HASH_RANDOM_INIT(seed) srandom(seed)
98 #define HASH_RANDOM_INIT(seed) state = drmRandomCreate(seed)
H A Dxf86drmSL.c63 #define SL_RANDOM_INIT(seed) if (!state) { srandom(seed); ++state; }
69 #define SL_RANDOM_INIT(seed) if (!state) state = drmRandomCreate(seed)
H A Dxf86drm.h648 extern void *drmRandomCreate(unsigned long seed);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Dacm_random.h24 explicit ACMRandom(int seed) : random_(seed) {} argument
26 void Reset(int seed) { argument
27 random_.Reseed(seed);
H A Dvideo_source.h145 RandomVideoSource(int seed = ACMRandom::DeterministicSeed())
146 : rnd_(seed),
147 seed_(seed) { }
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Ddecode_with_partial_drops.c47 // partition boundaries where possible. The following example will seed the RNG
48 // with the seed 123 and drop approximately 5% of the pieces. Pieces which
204 unsigned int seed; local
227 seed = (m > 0) ? m : (unsigned int)time(NULL);
228 srand(seed);thrown_frame = 0;
229 printf("Seed: %u\n", seed);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/
H A Dmkvmuxerutil.cpp677 mkvmuxer::uint64 mkvmuxer::MakeUID(unsigned int* seed) { argument
681 srand(*seed);
689 (void)seed;
705 const int32 nn = rand_r(seed);
H A Dmkvmuxerutil.hpp145 // Returns a random number to be used for UID, using |seed| to seed
147 uint64 MakeUID(unsigned int* seed);
H A Dmkvmuxer.hpp309 // The |seed| parameter is used to synthesize a UID for the track.
310 explicit Track(unsigned int* seed);
405 // The |seed| parameter is used to synthesize a UID for the track.
406 explicit VideoTrack(unsigned int* seed);
455 // The |seed| parameter is used to synthesize a UID for the track.
456 explicit AudioTrack(unsigned int* seed);
614 // Chapter object. The |seed| parameter is used to create the UID
616 void Init(unsigned int* seed);
672 Chapter* AddChapter(unsigned int* seed);
H A Dmkvmuxer.cpp515 Track::Track(unsigned int* seed) argument
523 uid_(MakeUID(seed)),
802 VideoTrack::VideoTrack(unsigned int* seed) argument
803 : Track(seed),
910 AudioTrack::AudioTrack(unsigned int* seed) argument
911 : Track(seed),
1177 void Chapter::Init(unsigned int* seed) { argument
1182 uid_ = MakeUID(seed);
1372 Chapter* Chapters::AddChapter(unsigned int* seed) { argument
1377 chapter.Init(seed);
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc505 // A valid random seed must be in [1, kMaxRandomSeed].
534 // Returns a random seed in range [1, kMaxRandomSeed] based on the
541 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
549 // Returns the first valid random seed after 'seed'. The behavior is
550 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is
552 inline int GetNextRandomSeed(int seed) { argument
553 GTEST_CHECK_(1 <= seed && seed <
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dvpxenc.c130 static unsigned int murmur(const void *key, int len, unsigned int seed) { argument
134 unsigned int h = seed ^ len;
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/
H A Domx_vdec_test.cpp208 uint16 crc_16_l_step_nv12 (uint16 seed, const void *buf_ptr, argument
211 uint16 crc_16 = ~seed;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
H A Dgtest.h7640 explicit Random(UInt32 seed) : state_(seed) {} argument
7642 void Reseed(UInt32 seed) { state_ = seed; } argument
17531 // This flag specifies the random number seed.
18561 // Returns the random seed used at the start of the current test run.

Completed in 345 milliseconds