Searched defs:num (Results 1 - 25 of 41) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dutil.c37 Word32 num = (Word32)L; local
40 }while(--num !=0);
56 Word32 temp1,temp2,num; local
62 num = (Word32)(L>>1);
70 }while(--num!=0);
H A Dweight_a.c35 Word32 num = m - 1, fac; local
41 }while(--num != 0);
H A Dhp400.c66 Word32 num; local
73 num = (Word32)lg;
94 }while(--num !=0);
H A Dhp50.c67 Word32 num; local
75 num = (Word32)lg;
94 }while(--num !=0);
H A Dwb_vad.c263 Word16 num, temp, stat_rat, exp, denom; local
283 num = level[i];
287 num = st->ave_level[i];
290 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */
291 if(num < STAT_THR_LEVEL)
293 num = STAT_THR_LEVEL;
302 /* stat_rat = num/denom * 64 */
303 temp = div_s(num >> 1, denom);
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp99 void SkipCutBuffer::write(const char *src, size_t num) { argument
107 if (available < num) {
108 int32_t newcapacity = mCapacity + (num - available);
118 if (copyfirst > num) copyfirst = num;
121 num -= copyfirst;
126 if (num) {
127 memcpy(mCutBuffer, src, num);
128 mWriteHead += num;
133 size_t SkipCutBuffer::read(char *dst, size_t num) { argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp113 int num = 0; local
115 num++;
119 if (num == 0) {
123 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint));
128 num = 0;
132 num*numInts, numInts,
135 num++;
H A Dandroid_util_EventLog.cpp101 jsize copied = 0, num = env->GetArrayLength(value); local
102 for (; copied < num && copied < 255; ++copied) {
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DRsBenchView.java99 void setDebugMode(int num) { argument
100 mRender.setDebugMode(num);
H A DRsBenchRS.java261 public void setDebugMode(int num) { argument
262 mScript.invoke_setDebugMode(num);
/frameworks/rs/
H A DrsPath.cpp51 void Path::rasterize(const BezierSegment_t *s, uint32_t num, Allocation *alloc) { argument
53 for (uint32_t i=0; i < num; i++) {
/frameworks/base/core/java/com/android/internal/os/
H A DTransferPipe.java165 void closeFd(int num) { argument
166 if (mFds[num] != null) {
167 if (DEBUG) Slog.i(TAG, "Closing: " + mFds[num]);
169 mFds[num].close();
172 mFds[num] = null;
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java878 private Notification notificationWithNumbers(int num) { argument
880 (num >= 0 && num < kNumberedIconResIDs.length)
881 ? kNumberedIconResIDs[num]
885 "Notification", "Number=" + num,
887 n.number = num;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dlearning_rate_controller-inl.h47 void SetIterationNumber(uint64 num) { argument
48 iteration_num_ = num;
H A Dstochastic_linear_ranker.h114 void SetIterationNumber(uint64 num) { argument
115 iteration_num_=num;
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Dreflist.cpp407 void SortPicByPicNum(AVCPictureData *data[], int num) argument
412 for (i = 0; i < num - 1; i++)
414 for (j = i + 1; j < num; j++)
429 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num) argument
434 for (i = 0; i < num - 1; i++)
436 for (j = i + 1; j < num; j++)
452 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num) argument
457 for (i = 0; i < num - 1; i++)
459 for (j = i + 1; j < num; j++)
474 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num) argument
496 SortPicByPOC(AVCPictureData *data[], int num, int descending) argument
535 SortPicByLTPicNum(AVCPictureData *data[], int num) argument
557 SortFrameByPOC(AVCFrameStore *data[], int num, int descending) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Davcenc_api.cpp692 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncUpdateFrameRate(AVCHandle *avcHandle, uint32 num, uint32 denom) argument
695 OSCL_UNUSED_ARG(num);
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseGeneralTest.java116 mDatabase.execSQL("CREATE TABLE phones (num TEXT);");
117 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('911');");
118 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('5555');");
119 mDatabase.execSQL("INSERT INTO phones (num) VALUES ('+" + PHONE_NUMBER + "');");
125 "PHONE_NUMBERS_EQUAL(num, '504-555-7683')", null, null, null, null);
130 "PHONE_NUMBERS_EQUAL(num, '911')", null, null, null, null);
134 number = c.getString(c.getColumnIndexOrThrow("num"));
139 "PHONE_NUMBERS_EQUAL(num, '5555')", null, null, null, null);
143 number = c.getString(c.getColumnIndexOrThrow("num"));
148 "PHONE_NUMBERS_EQUAL(num, '18005555555
696 setNum(int num) argument
700 checkNum(int num) argument
[all...]
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
H A DTimeZoneFilterTypeAdapter.java203 int num = parseNum(prefixString, startParsePosition);
204 if (num != Integer.MIN_VALUE) {
207 handleSearchByGmt(filtered, num, positiveOnly);
302 private void handleSearchByGmt(ArrayList<FilterTypeResult> filtered, int num, argument
306 if (num >= 0) {
307 if (num == 1) {
316 if (mTimeZoneData.hasTimeZonesInHrOffset(num)) {
317 r = new FilterTypeResult(FILTER_TYPE_GMT, "GMT+" + num, num);
320 num *
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp760 Word16 num; local
798 num = level[i];
803 num = st->ave_level[i];
806 /* Limit nimimum value of num and denom to STAT_THR_LEVEL */
807 if (num < STAT_THR_LEVEL)
809 num = STAT_THR_LEVEL;
820 /* stat_rat = num/denom * 64 */
821 temp = shr(num, 1, pOverflow);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp1475 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
1508 num[0]++; /* number of zeros in the middle */
1521 num[count-1]++; /* number of ones in the middle */
1531 num[1] and num[0] x
1533 num[0] x */
1537 if (num[1] > 10 || num[0] > 11) /* invalid RVLC code */
1541 tab2 = RvlcDCTtabInter + 146 + (num[0] << 1) + (code & 1);
1543 tab2 = RvlcDCTtabInter + ptrRvlcTab[num[
1558 int count, len, num[2] = {0, 0} /* 01/30/01 */; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_dpb.c115 static void ShellSort(dpbPicture_t *pPic, u32 num);
1558 static void ShellSort(dpbPicture_t *pPic, u32 num) argument
1569 for (i = step; i < num; i++)
/frameworks/native/opengl/tests/hwc/
H A DhwcStress.cpp55 * -s num Starting pass
56 * -e num Ending pass
57 * -p num Execute the single pass specified by num
58 * -n num Number of set operations to perform after each prepare operation
204 template <class T> vector<T> vectorRandSelect(const vector<T>& vec, size_t num);
285 testPrintE("Invalid command-line specified num set per pass "
617 * Prandomly selects and returns num elements from vec.
620 vector<T> vectorRandSelect(const vector<T>& vec, size_t num) argument
624 while (rv.size() > num) {
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtransform.c42 static void Shuffle(int *buf, int num, const unsigned char* bitTab) argument
49 part1 = buf + num;
73 static void Radix4First(int *buf, int num) argument
78 for (; num != 0; num--)
108 static void Radix8First(int *buf, int num) argument
116 for ( ; num != 0; num--)
188 static void Radix4FFT(int *buf, int num, int bgn, int *twidTab) argument
197 for (num >>
279 PreMDCT(int *buf0, int num, const int *csptr) argument
314 PostMDCT(int *buf0, int num, const int *csptr) argument
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp392 void oneBufferPassGL(int num = 0);
443 void SurfaceMediaSourceGLTest::oneBufferPassGL(int num) { argument
444 int d = num % 50;

Completed in 592 milliseconds

12