Searched refs:num (Results 1 - 25 of 120) sorted by path

12345

/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp84 bool waitForNumCameras(size_t num) const {
87 if (mCameraStatuses.size() == num) {
91 while (mCameraStatuses.size() < num) {
/frameworks/av/include/media/stagefright/
H A DSkipCutBuffer.h48 void write(const char *src, size_t num);
49 size_t read(char *dst, size_t num);
/frameworks/av/media/libmedia/
H A DCharacterEncodingDetector.cpp297 size_t num = matches.size(); local
298 if (num == 0) {
301 if (num == 1) {
309 ALOGV("considering %zu matches", num);
314 for (size_t i = 0; i < num; i++) {
414 num = newconfidence.size();
415 for (size_t i = 1; i < num; i++) {
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp141 const size_t num = val; local
144 filter->setCapacity(num);
146 size_t size = num * sizeof(Metadata::Type);
169 for (size_t i = 0; i < num; ++i)
/frameworks/av/media/libmediaplayerservice/tests/
H A DDrmSessionManager_test.cpp83 static void GetSessionId(const uint8_t* ids, size_t num, Vector<uint8_t>* sessionId) { argument
84 for (size_t i = 0; i < num; ++i) {
/frameworks/av/media/libstagefright/
H A DSkipCutBuffer.cpp107 void SkipCutBuffer::write(const char *src, size_t num) { argument
115 if (available < num) {
116 int32_t newcapacity = mCapacity + (num - available);
126 if (copyfirst > num) copyfirst = num;
129 num -= copyfirst;
134 if (num) {
135 memcpy(mCutBuffer, src, num);
136 mWriteHead += num;
141 size_t SkipCutBuffer::read(char *dst, size_t num) { argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/asm/ARMV5E/
H A DRadix4FFT_v5.s36 mov r10, r1 @ i = num@
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c273 Word16 subBlockNumber, /*!< subblock num */
399 Word16 subBlockNumber, /*!< subblock num */
695 Word32 num, denom; local
699 num = workBuffer[0];
738 predictionGain = fixmul(num, temp);
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/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/amrwb/src/
H A Dlagconceal.cpp102 void insert(int16 array[], int16 num, int16 x);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
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 Dutil.c37 Word32 num = (Word32)L; local
38 while (num > 0) {
40 --num;
57 Word32 temp1,temp2,num; local
66 num = (Word32)(L>>1);
67 while (num > 0) {
72 --num;
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);
H A Dweight_a.c35 Word32 num = m - 1, fac; local
41 }while(--num != 0);
/frameworks/av/media/libstagefright/codecs/avc/common/include/
H A Davclib_common.h497 \param "num" "Size of the array."
500 void SortPicByPicNum(AVCPictureData *data[], int num);
506 \param "num" "Size of the array."
509 void SortPicByPicNumLongTerm(AVCPictureData *data[], int num);
515 \param "num" "Size of the array."
518 void SortFrameByFrameNumWrap(AVCFrameStore *data[], int num);
524 \param "num" "Size of the array."
527 void SortFrameByLTFrameIdx(AVCFrameStore *data[], int num);
533 \param "num" "Size of the array."
536 void SortPicByPOC(AVCPictureData *data[], int num, in
[all...]
/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);
H A Davcenc_api.h313 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncUpdateFrameRate(AVCHandle *avcHandle, uint32 num, uint32 denom);
/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/enc/
H A DSoftVPXEncoder.cpp153 mCodecConfiguration->g_timebase.num = 1;
/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/av/media/libstagefright/foundation/
H A DADebug.cpp161 uint64_t num = 0; // it is okay for this number to overflow
166 num = num * 10 + (c - '0');
168 num = num * 26 + (c - 'a');
170 num = num * 26 + (c - 'A');
172 num = num * 256 + c;
175 serialNum = num;
[all...]
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp390 void oneBufferPassGL(int num = 0);
441 void SurfaceMediaSourceGLTest::oneBufferPassGL(int num) { argument
442 int d = num % 50;

Completed in 475 milliseconds

12345