Searched refs:offset (Results 226 - 250 of 706) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon555
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_framedecoder.cpp271 * offset in bytes from the first byte of the sync word
562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val;
571 int32 offset = (pVars->inputStream.usedBits) >> INBUF_ARRAY_INDEX_SHIFT; local
576 if ((offset + temp) < BUFSIZE)
578 uint8 * ptr = pVars->inputStream.pBuffer + offset;
580 offset = pVars->mainDataStream.offset;
585 if ((offset + temp) < BUFSIZE)
587 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8));
588 pVars->mainDataStream.offset
[all...]
/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DStagefrightMetadataRetriever.h39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip);
169 size_t offset = 0; local
174 memcpy((uint8_t *)accessUnit->data() + offset,
177 offset += unit->size();
H A DAMPEG4AudioAssembler.cpp368 size_t offset = 0; local
382 CHECK_LT(offset, buffer->size());
383 tmp = ptr[offset++];
408 CHECK_LE(offset + payloadLength, buffer->size());
410 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
413 offset += payloadLength;
419 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size());
420 offset += mOtherDataLenBits / 8;
424 if (offset < buffer->size()) {
425 ALOGI("ignoring %d bytes of trailing data", buffer->size() - offset);
[all...]
H A DAAVCAssembler.cpp292 size_t offset = 1; local
302 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2);
303 offset += buffer->size() - 2;
329 size_t offset = 0; local
332 memcpy(accessUnit->data() + offset, "\x00\x00\x00\x01", 4);
333 offset += 4;
336 memcpy(accessUnit->data() + offset, nal->data(), nal->size());
337 offset += nal->size();
H A DAMPEG4ElementaryAssembler.cpp331 size_t offset = 2 + (AU_headers_length + 7) / 8; local
334 ABitReader bits(buffer->data() + offset, buffer->size() - offset);
338 offset += (mAuxiliaryDataSizeLength + auxSize + 7) / 8;
345 CHECK_LE(offset + header.mSize, buffer->size());
348 memcpy(accessUnit->data(), buffer->data() + offset, header.mSize);
350 offset += header.mSize;
356 CHECK_EQ(offset, buffer->size());
/frameworks/base/core/java/android/text/
H A DGraphicsOperations.java64 int getTextRunCursor(int contextStart, int contextEnd, int flags, int offset, argument
H A DSelection.java24 * A cursor is a selection where the start and end are at the same offset.
34 * Return the offset of the selection anchor or cursor, or -1 if
45 * Return the offset of the selection edge or cursor, or -1 if
84 * Move the cursor to offset <code>index</code>.
98 * Move the selection edge to offset <code>index</code>.
118 * Move the cursor to the buffer offset physically above the current
119 * offset, or return false if the cursor is already on the top line.
159 * Move the cursor to the buffer offset physically below the current
160 * offset, or return false if the cursor is already on the bottom line.
200 * Move the cursor to the buffer offset physicall
[all...]
/frameworks/base/libs/hwui/
H A DProgram.cpp165 const mat4& transformMatrix, bool offset) {
166 if (projectionMatrix != mProjection || offset != mOffset) {
167 if (CC_LIKELY(!offset)) {
171 // offset screenspace xy by an amount that compensates for typical precision
174 // This offset value is based on an assumption that some hardware may use as
175 // little as 12.4 precision, so we offset by slightly more than 1/16.
180 mOffset = offset;
164 set(const mat4& projectionMatrix, const mat4& modelViewMatrix, const mat4& transformMatrix, bool offset) argument
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java98 int offset, int size, long presentationTimeUs, int flags);
319 if (bufferInfo.size < 0 || bufferInfo.offset < 0
320 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity()
323 " valid buffer offset, size and presentation time");
335 bufferInfo.offset, bufferInfo.size,
96 nativeWriteSampleData(int nativeObject, int trackIndex, ByteBuffer byteBuf, int offset, int size, long presentationTimeUs, int flags) argument
H A DAmrInputStream.java76 public int read(byte[] b, int offset, int length) throws IOException { argument
98 System.arraycopy(mBuf, mBufOut, b, offset, length);
H A DResampleInputStream.java84 public int read(byte[] b, int offset, int length) throws IOException { argument
111 fir21(mBuf, 0, b, offset, length / 2);
/frameworks/base/media/mca/filterfw/jni/
H A Djni_vertex_frame.h44 jint offset,
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/base/native/android/
H A Dasset_manager.cpp176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument
178 return asset->mAsset->seek(offset, whence);
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument
183 return asset->mAsset->seek(offset, whence);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java427 * @param bitOffset the bit offset that the septet should be packed at
450 * @param offset the byte offset of
454 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
456 return gsm7BitPackedToString(pdu, offset, lengthSeptets, 0, 0, 0);
466 * @param offset the byte offset of
475 public static String gsm7BitPackedToString(byte[] pdu, int offset, argument
509 gsmVal = (0x7f & (pdu[offset + byteOffset] >> shift));
516 gsmVal |= 0x7f & (pdu[offset
559 gsm8BitUnpackedToString(byte[] data, int offset, int length) argument
574 gsm8BitUnpackedToString(byte[] data, int offset, int length, String characterset) argument
668 stringToGsm8BitUnpackedField(String s, byte dest[], int offset, int length) argument
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp49 /// @param pOffset - the offset, can be larger than the fragment, but can not
51 /// @return if the offset is legal, return the fragment reference. Otherwise,
55 int64_t offset = pOffset; local
59 offset -= frag->size();
60 if (offset <= 0)
70 new (result) FragmentRef(*frag, offset + frag->size());
124 // check if the offset is still in a legal range.
/frameworks/native/include/binder/
H A DMemoryDealer.h40 virtual void deallocate(size_t offset);
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp103 int offset = (i >> 1) * (width >> 1); local
104 cb[i/2] = uRows + offset;
105 cr[i/2] = vRows + offset;
120 int offset = ((rowIndex >> 1) + row) * fStrides[1]; local
121 uint8_t* vu = vuPlanar + offset;
177 int offset = i * (width >> 1); local
178 cb[i] = uRows + offset;
179 cr[i] = vRows + offset;
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java62 rect.offset(0, -2 * second.getBottom());
87 rect.offset(0,
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h42 status_t setDataSource(int fd, off64_t offset, off64_t size);
56 status_t readSampleData(jobject byteBuf, size_t offset, size_t *sampleSize);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonAbsoluteStub.cpp86 int64_t offset = pTargetSymValue - pSource; local
87 // if offset is going to fit in nbits then we dont
89 if (FITS_IN_NBITS(offset, nbits))
/frameworks/ex/variablespeed/jni/
H A Djni_entry.cc42 JNI_METHOD(playFileDescriptor, void) (JNIEnv*, jclass, int fd, jlong offset,
45 AudioEngine::GetEngine()->PlayFileDescriptor(fd, offset, length);

Completed in 667 milliseconds

1234567891011>>