Searched defs:seed (Results 1 - 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dnoise_gen_amrwb.cpp47 int16 * seed seed for the random ng
112 int16 noise_gen_amrwb(int16 * seed) argument
114 /* int16 seed = 21845; */
115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L);
117 return (*seed);
H A De_pv_amrwbdec.h106 int16 seed; /* random memory for frame erasure */ member in struct:__anon604
H A Dlagconceal.cpp51 int16 * seed,
143 int16 * seed,
222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */
307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */
138 lagconceal( int16 gain_hist[], int16 lag_hist[], int16 * T0, int16 * old_T0, int16 * seed, int16 unusable_frame ) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Drandom.c27 Word16 Random(Word16 * seed) argument
29 /* static Word16 seed = 21845; */
30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L));
31 return (*seed);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DDynamicIdMap.java33 public DynamicIdMap(int seed) { argument
34 mDynamicSeed = seed;
37 public void reset(int seed) { argument
40 mDynamicSeed = seed;
/frameworks/compile/linkloader/
H A Dmain.cpp95 void stub_srand(unsigned int seed) { argument
96 srand(seed);
/frameworks/compile/mclinker/include/mcld/ADT/
H A DStringHash.h141 const size_t seed = 131; local
145 hash_val = (hash_val * seed) + pKey[i];
/frameworks/base/core/java/android/util/
H A DMathUtils.java177 public static void randomSeed(long seed) { argument
178 sRandom.setSeed(seed);
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp203 void initFrames(unsigned int seed);
532 // sets the seed on each pass. Defensively set it here
551 void initFrames(unsigned int seed) argument
558 if (verbose) { testPrintI("initFrames seed: %u", seed); }
559 srand48(seed);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp787 " -s(eed) Set the random seed\n"
807 unsigned long seed = 0xdeadbeef; local
818 fprintf(stderr, "Malformed seed.\n");
822 seed = x;
844 "with \"%s -s %lu\"\n", me, seed);
846 srand(seed);
/frameworks/base/core/java/android/net/dhcp/
H A DDhcpPacket.java267 // needed to seed the IP checksum.
373 * payload) on the specified portion of a ByteBuffer. The seed
376 private int checksum(ByteBuffer buf, int seed, int start, int end) { argument
377 int sum = seed;
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerBaseTest.java110 * Creates RNG with self-generated seed value.
119 * Creats RNG with given initial seed value
121 * @param seed The initial seed value
123 public LoggingRng(long seed) { argument
124 super(seed);
125 Log.i(LOG_TAG, "Seeding RNG with value: " + seed);
/frameworks/native/opengl/tests/angeles/
H A Ddemo.c46 static void seedRandom(unsigned long seed) argument
48 sRandomSeed = seed;

Completed in 296 milliseconds