Searched defs:pos (Results 26 - 50 of 185) sorted by path

12345678

/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c29 #define NB_POS 16 /* pos in track, mask for sign bit */
32 Word16 pos, /* (i) position of the pulse */
42 index = L_deposit_l((Word16) (pos & mask));
43 if ((pos & NB_POS) != 0)
188 Word16 pos[], /* (i) position of the pulse 1..4 */
203 if ((pos[k] & nb_pos) == 0)
205 posA[i++] = pos[k];
208 posB[j++] = pos[k];
254 Word16 pos[], /* (i) position of the pulse 1..5 */
268 if ((pos[
31 quant_1p_N1( Word16 pos, Word16 N) argument
187 quant_4p_4N( Word16 pos[], Word16 N) argument
253 quant_5p_5N( Word16 pos[], Word16 N) argument
327 quant_6p_6N_2( Word16 pos[], Word16 N) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp529 PV_STATUS movePointerTo(BitstreamDecVideo *stream, int32 pos) argument
532 if (pos < 0)
534 pos = 0;
537 byte_pos = pos >> 3;
551 PV_BitstreamFlushBits(stream, ((pos & 0x7) + ((byte_pos & 0x3) << 3)));
803 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1'
892 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1'
H A Dvlc_decode.cpp147 int pos = (x_pos + y_pos * doubleWidth) << 1; local
183 mot_x[pos+offset] = (MOT) mvx;
184 mot_y[pos+offset] = (MOT) mvy;
212 mot_x[pos] = mot_x[pos+1] = (MOT) mvx;
213 mot_y[pos] = mot_y[pos+1] = (MOT) mvy;
214 pos += doubleWidth;
215 mot_x[pos] = mot_x[pos
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3reader.cpp241 off64_t pos = *inout_pos; local
254 if (pos >= *inout_pos + kMaxBytesChecked) {
271 totalBytesRead = sourceReadAt(fp, pos + remainingBytes,
287 ++pos;
298 ++pos;
307 off64_t test_pos = pos + frame_size;
336 *inout_pos = pos;
343 ++pos;
362 off64_t pos = 0;
364 bool success = resync(mFp, 0 /*match_header*/, &pos,
398 off64_t pos = mCurrentPos; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_DeblockingLuma_unsafe_s.s79 pos RN 7 label
171 SEL pos, t1, m00
172 USUB8 neg, pos, t1
173 USUB8 t3, pos, tC
174 SEL pos, tC, pos
181 UQADD8 P0a, p_0, pos
182 UQSUB8 Q0a, q_0, pos
H A DomxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s93 pos RN 5 label
292 SEL pos, t1, m00
293 USUB8 neg, pos, t1
294 USUB8 t3, pos, tC
295 SEL pos, tC, pos
298 UQADD8 P_0, p_0, pos
299 UQSUB8 Q_0, q_0, pos
H A DomxVCM4P10_FilterDeblockingChroma_VerEdge_I_s.s117 pos RN 5 label
373 SEL pos, t1, m00
374 USUB8 neg, pos, t1
375 USUB8 t3, pos, tC
376 SEL pos, tC, pos
379 UQADD8 P_0, p_0, pos
380 UQSUB8 Q_0, q_0, pos
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DarmVCM4P10_InterpolateHalfDiag_Luma.c70 OMX_S32 HalfCoeff, pos; local
87 pos = (y-2) * iSrcStep + x;
89 pSrc [pos - 2] -
90 5 * pSrc [pos - 1] +
91 20 * pSrc [pos] +
92 20 * pSrc [pos + 1] -
93 5 * pSrc [pos + 2] +
94 pSrc [pos + 3];
104 pos = y * iWidth + x;
106 Buf [pos]
[all...]
H A DarmVCM4P10_InterpolateHalfHor_Luma.c69 OMX_S32 HalfCoeff, pos; local
79 pos = y * iSrcStep + x;
81 pSrc [pos - 2] -
82 5 * pSrc [pos - 1] +
83 20 * pSrc [pos] +
84 20 * pSrc [pos + 1] -
85 5 * pSrc [pos + 2] +
86 pSrc [pos + 3];
H A DarmVCM4P10_InterpolateHalfVer_Luma.c69 OMX_S32 HalfCoeff, pos; local
81 pos = y * iSrcStep + x;
83 pSrc [pos - 2 * iSrcStep] -
84 5 * pSrc [pos - 1 * iSrcStep] +
85 20 * pSrc [pos] +
86 20 * pSrc [pos + 1 * iSrcStep] -
87 5 * pSrc [pos + 2 * iSrcStep] +
88 pSrc [pos + 3 * iSrcStep];
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.cpp1846 size_t pos = 0; local
1849 if (buffer->size() >= pos + 3 &&
1850 !memcmp("\xef\xbb\xbf", buffer->data() + pos, 3)) {
1851 pos += 3;
1855 if (buffer->size() < pos + 6 ||
1856 memcmp("WEBVTT", buffer->data() + pos, 6)) {
1859 pos += 6;
1861 if (buffer->size() == pos) {
1865 uint8_t sep = buffer->data()[pos];
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp302 long long pos; local
309 res = mCluster->Parse(pos, len);
327 mCluster, nextCluster, pos, len);
343 res = mCluster->Parse(pos, len);
410 long len; long long pos; local
411 pSegment->ParseCues(pEntry->pos, pos, len);
806 long long pos; local
807 if (ebmlHeader.Parse(mReader, pos) < 0) {
816 mkvparser::Segment::CreateInstance(mReader, pos, mSegmen
1376 long long pos; local
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DESQueue.cpp855 const NALPosition &pos = nals.itemAt(i); local
857 unsigned nalType = mBuffer->data()[pos.nalOffset] & 0x1f;
859 if (nalType == 6 && pos.nalSize > 0) {
866 seiPos.nalSize = pos.nalSize;
881 mBuffer->data() + pos.nalOffset,
882 pos.nalSize);
884 dstOffset += pos.nalSize + 4;
891 const NALPosition &pos = nals.itemAt(nals.size() - 1); local
892 size_t nextScan = pos.nalOffset + pos
918 NALPosition pos; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp382 size_t pos = ((*curSize - 1 ) / size + 1) * size; local
384 if (pos + size > *totSize) {
385 while (pos + size > *totSize) {
394 *curSize = pos + size;
395 return pos;
405 size_t pos; local
408 pos = growParamSize(param, sizeof(short), curSize, totSize);
409 if (pos == 0) {
412 *(short *)(*param + pos) = (short)atoi(node->value);
413 ALOGV("readParamValue() reading short %d", *(short *)(*param + pos));
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.cpp479 size_t pos = 0; local
480 int ret = stoi(std::string{cameraId.string()}, &pos);
481 if (errno != 0 || pos != cameraId.size()) {
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp486 int pos = c - '0'; // Position in the character list local
487 if (pos < 0 || pos > 10) {
495 int left = pos * DIGIT_WIDTH;
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java287 boolean getPosForTime(long time, float[] pos) { argument
289 pos[0] = mTapLocation[0];
290 pos[1] = mTapLocation[1];
295 return mPathMeasure.getPosTan(getLength(), pos, null);
298 return mPathMeasure.getPosTan(length, pos, null);
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java149 + " @ pos " + out.dataPosition() + "; returning partial result");
165 void pushViewStackEntry(ViewNode node, int pos) { argument
167 if (pos >= mViewStack.size()) {
170 if (DEBUG_PARCEL_TREE) Log.d(TAG, "New stack entry at " + pos + ": " + entry);
172 entry = mViewStack.get(pos);
173 if (DEBUG_PARCEL_TREE) Log.d(TAG, "Existing stack entry at " + pos + ": " + entry);
196 int pos = ++mCurViewStackPos;
197 pushViewStackEntry(child, pos);
216 int pos = --mCurViewStackPos;
218 + "; popping up to " + pos);
[all...]
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java86 int pos = allocateHeader_native(header, newStateFD);
87 if (pos < 0) {
88 throw new IOException("allocateHeader_native failed (error " + pos + ")");
96 // fill in the header (seeking back to pos). The file pointer will be returned to
98 err = writeHeader_native(header, newStateFD, pos);
113 int pos = rawKey.indexOf(':');
114 if (pos > 0) {
115 String prefix = rawKey.substring(0, pos);
119 stream.key = rawKey.substring(pos+1);
146 private static native int writeHeader_native(Header h, FileDescriptor fd, int pos); argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java117 public String getNamespacePrefix(int pos) throws XmlPullParserException { argument
132 public String getNamespaceUri(int pos) throws XmlPullParserException { argument
/frameworks/base/core/java/android/database/
H A DCursorWindow.java213 * @param pos The new zero-based start position.
215 public void setStartPosition(int pos) { argument
216 mStartPos = pos;
/frameworks/base/core/java/android/os/
H A DParcel.java261 private static native void nativeSetDataPosition(long nativePtr, int pos); argument
411 * @param pos New offset in the parcel; must be between 0 and
414 public final void setDataPosition(int pos) { argument
415 nativeSetDataPosition(mNativePtr, pos);
H A DParcelFileDescriptor.java588 public long seekTo(long pos) throws IOException { argument
590 return mWrapped.seekTo(pos);
593 return Os.lseek(mFd, pos, SEEK_SET);
/frameworks/base/core/java/android/text/
H A DMeasuredText.java93 void setPos(int pos) { argument
94 mPos = pos - mTextStart;
/frameworks/base/core/java/android/util/
H A DJsonReader.java196 private int pos = 0; field in class:JsonReader
614 pos--;
618 pos--;
636 pos--;
661 pos--;
682 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') {
683 pos++;
712 pos--;
718 * Returns true once {@code limit - pos >
[all...]

Completed in 664 milliseconds

12345678