Home
last modified time | relevance | path

Searched refs:seed (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwb/src/
Dnoise_gen_amrwb.cpp112 int16 noise_gen_amrwb(int16 * seed) in noise_gen_amrwb() argument
115 *seed = (int16)fxp_mac_16by16(*seed, 31821, 13849L); in noise_gen_amrwb()
117 return (*seed); in noise_gen_amrwb()
Dlagconceal.cpp143 int16 * seed, in lagconceal() argument
222 D = noise_gen_amrwb(seed); /* D={-1, ...,1} */ in lagconceal()
307 D = noise_gen_amrwb(seed); /* D={-1,.., 1} */ in lagconceal()
Dpvamrwbdecoder_acelp.h76 int16 * seed,
312 int16 noise_gen_amrwb(int16 * seed);
De_pv_amrwbdec.h106 int16 seed; /* random memory for frame erasure */ member
Dpvamrwbdecoder.cpp236 dec_state->seed = 21845; /* init random with 21845 */ in pvDecoder_AmrWb_Reset()
721 code[i] = noise_gen_amrwb(&(st->seed)) >> 3; in pvDecoder_AmrWb()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Drandom.c27 Word16 Random(Word16 * seed) in Random() argument
30 *seed = (Word16)(L_add((L_mult(*seed, 31821) >> 1), 13849L)); in Random()
31 return (*seed); in Random()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DDynamicIdMap.java33 public DynamicIdMap(int seed) { in DynamicIdMap() argument
34 mDynamicSeed = seed; in DynamicIdMap()
37 public void reset(int seed) { in reset() argument
40 mDynamicSeed = seed; in reset()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAdapterViewICS.java1006 int seed = mSyncPosition; in findSyncPosition() local
1014 seed = Math.max(0, seed); in findSyncPosition()
1015 seed = Math.min(count - 1, seed); in findSyncPosition()
1022 int first = seed; in findSyncPosition()
1025 int last = seed; in findSyncPosition()
1044 rowId = adapter.getItemId(seed); in findSyncPosition()
1047 return seed; in findSyncPosition()
1061 seed = last; in findSyncPosition()
1067 seed = first; in findSyncPosition()
/frameworks/base/core/java/android/widget/
DAdapterView.java1065 int seed = mSyncPosition; in findSyncPosition() local
1073 seed = Math.max(0, seed); in findSyncPosition()
1074 seed = Math.min(count - 1, seed); in findSyncPosition()
1081 int first = seed; in findSyncPosition()
1084 int last = seed; in findSyncPosition()
1103 rowId = adapter.getItemId(seed); in findSyncPosition()
1106 return seed; in findSyncPosition()
1120 seed = last; in findSyncPosition()
1126 seed = first; in findSyncPosition()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DBlackWhiteFilter.java127 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local
128 mProgram.setHostValue("seed", seed); in updateParameters()
DDocumentaryFilter.java161 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local
162 mProgram.setHostValue("seed", seed); in initParameters()
DLomoishFilter.java173 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in initParameters() local
174 mProgram.setHostValue("seed", seed); in initParameters()
DGrainFilter.java132 float seed[] = { mRandom.nextFloat(), mRandom.nextFloat() }; in updateParameters() local
133 mNoiseProgram.setHostValue("seed", seed); in updateParameters()
/frameworks/native/opengl/tests/hwc/
DhwcStress.cpp203 void initFrames(unsigned int seed);
551 void initFrames(unsigned int seed) in initFrames() argument
558 if (verbose) { testPrintI("initFrames seed: %u", seed); } in initFrames()
559 srand48(seed); in initFrames()
/frameworks/base/core/java/android/util/
DMathUtils.java177 public static void randomSeed(long seed) { in randomSeed() argument
178 sRandom.setSeed(seed); in randomSeed()
/frameworks/rs/cpu_ref/linkloader/
Dmain.cpp95 void stub_srand(unsigned int seed) { in stub_srand() argument
96 srand(seed); in stub_srand()
/frameworks/compile/mclinker/lib/Support/Windows/
DSystem.inc47 /// srandom - set the initial seed value for future calls to random().
/frameworks/compile/mclinker/include/mcld/ADT/
DStringHash.h142 const uint32_t seed = 131;
146 hash_val = (hash_val * seed) + pKey[i];
/frameworks/compile/mclinker/lib/Support/Unix/
DSystem.inc77 /// srandom - set the initial seed value for future calls to random().
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp808 unsigned long seed = 0xdeadbeef; in main() local
823 seed = x; in main()
845 "with \"%s -s %lu\"\n", me, seed); in main()
847 srand(seed); in main()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerBaseTest.java123 public LoggingRng(long seed) { in LoggingRng() argument
124 super(seed); in LoggingRng()
125 Log.i(LOG_TAG, "Seeding RNG with value: " + seed); in LoggingRng()
/frameworks/base/docs/html/tools/help/
Dmonkey.jd93 <td><code>-s &lt;seed&gt;</code></td>
94 <td>Seed value for pseudo-random number generator. If you re-run the Monkey with the same seed
238 need to clear data, use of the seed, etc. -->
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java376 private int checksum(ByteBuffer buf, int seed, int start, int end) { in checksum() argument
377 int sum = seed; in checksum()
/frameworks/native/opengl/tests/angeles/
Ddemo.c46 static void seedRandom(unsigned long seed) in seedRandom() argument
48 sRandomSeed = seed; in seedRandom()
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java143 Batch(Alarm seed) { in Batch() argument
144 start = seed.whenElapsed; in Batch()
145 end = seed.maxWhen; in Batch()
146 alarms.add(seed); in Batch()

12