Searched defs:offset (Results 1 - 25 of 447) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Ds_mp3bits.h94 uint32 offset; member in struct:__anon674
H A Dpvmp3_getbits.cpp114 uint32 offset; local
127 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
129 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE));
130 Elem1 = *(ptBitStream->pBuffer + module(offset + 1, BUFSIZE));
131 Elem2 = *(ptBitStream->pBuffer + module(offset + 2, BUFSIZE));
132 Elem3 = *(ptBitStream->pBuffer + module(offset + 3, BUFSIZE));
162 uint32 offset; local
168 offset = (ptBitStream->usedBits) >> INBUF_ARRAY_INDEX_SHIFT;
170 Elem = *(ptBitStream->pBuffer + module(offset , BUFSIZE));
171 Elem1 = *(ptBitStream->pBuffer + module(offset
198 uint32 offset; local
236 uint32 offset; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Disp_isf.cpp154 int16 i, ind, offset; local
166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c67 Word16 offset; local
79 offset = (Word16) (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
81 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset);
/frameworks/base/drm/java/android/drm/
H A DDrmConvertedStatus.java21 * offset for appending the header and body signature to the converted data.
25 * An valid offset value is provided only from a success call to
58 public final int offset; field in class:DrmConvertedStatus
66 * @param offset Offset value for appending the header and body signature.
68 public DrmConvertedStatus(int statusCode, byte[] convertedData, int offset) { argument
75 this.offset = offset;
/frameworks/native/include/utils/
H A DCompat.h30 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument
31 return lseek(fd, offset, whence);
35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) { argument
36 return pread(fd, buf, nbytes, offset);
/frameworks/native/libs/binder/
H A DMemoryBase.cpp29 ssize_t offset, size_t size)
30 : mSize(size), mOffset(offset), mHeap(heap)
34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const argument
36 if (offset) *offset = mOffset;
28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
/frameworks/base/media/java/android/media/
H A DDataSource.java30 * @param offset where in the source to read
35 public int readAt(long offset, byte[] buffer, int size); argument
/frameworks/av/drm/libdrmframework/plugins/common/include/
H A DDrmEngineBase.h84 int fd, off64_t offset, off64_t length, const char* mime);
104 void* buffer, ssize_t numBytes, off64_t offset);
340 * the output converted data and offset. In this case the
341 * application will ignore the offset information.
357 * the application on which offset these signature data
378 * @param[in] offset Start position of the content
385 int fd, off64_t offset, off64_t length) = 0;
393 * @param[in] offset Start position of the content
402 int fd, off64_t offset, off64_t length,
516 * @param[in] offset Offse
400 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length, const char* mime) argument
[all...]
/frameworks/av/include/drm/
H A DDrmConvertedStatus.h26 * data/checksum data and the offset. Offset is going to be used in the case of close
61 int offset; member in class:android::DrmConvertedStatus
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_Tools.c59 M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits)
64 input = (input << (32 - nb_bits - offset));
71 if((j*8)+i >= offset && (j*8)+i < nb_bits + offset)
85 if((j*8)+i >= offset && (j*8)+i < nb_bits + offset)
87 temp = ((input & (0x80000000 >> offset)) >> (31-offset));
57 M4VD_Tools_WriteBitsToMemory(M4OSA_UInt32 bitsToWrite, M4OSA_MemAddr32 dest_bits, M4OSA_UInt8 offset, M4OSA_UInt8 nb_bits) argument
/frameworks/av/media/libstagefright/
H A DThrottledSource.cpp38 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { argument
41 ssize_t n = mSource->readAt(offset, data, size);
/frameworks/av/media/libstagefright/chromium_http/
H A DDataUriSource.cpp47 ssize_t DataUriSource::readAt(off64_t offset, void *out, size_t size) { argument
53 if (offset >= length) {
59 offset + size >= length ? (length - offset) : size;
62 memcpy(out, dataBuf + offset, bytesToCopy);
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Dline_pe.h48 Word16 offset; member in struct:__anon531
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_lsf.cpp174 Word16 i, ind, offset;
180 offset = lsf[i] & 0x00ff; // offset = b0-b7 of lsf[i]
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
221 Word16 i, ind, offset; local
227 offset = lsf[i] & 0x00ff; /* offset = b0-b7 of lsf[i] */
229 /* lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 */
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >>
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp56 void ABuffer::setRange(size_t offset, size_t size) { argument
57 CHECK_LE(offset, mCapacity);
58 CHECK_LE(offset + size, mCapacity);
60 mRangeOffset = offset;
H A Dhexdump.cpp45 size_t offset = 0; local
46 while (offset < size) {
52 sprintf(tmp, "%08lx: ", (unsigned long)offset);
60 if (offset + i >= size) {
63 sprintf(tmp, "%02x ", data[offset + i]);
71 if (offset + i >= size) {
75 if (isprint(data[offset + i])) {
76 line.append((char)data[offset + i]);
89 offset += 16;
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.h54 // The offset of the text in the original file.
55 off64_t offset; member in struct:android::TimedTextSRTSource::TextInfo
65 off64_t *offset, int64_t *startTimeUs, TextInfo *info);
66 status_t readNextLine(off64_t *offset, AString *data);
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInputStream.java69 * {@code offset} within the array.
72 * @param offset The data will be stored in {@code b} beginning at this index
80 public int read(byte[] b, int offset, int size) throws IOException { argument
81 return mData.readEntityData(b, offset, size);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java70 * the byte array {@code b} starting at {@code offset}.
74 * @param offset
82 * if {@code offset < 0} or {@code length < 0}, or if
83 * {@code offset + length} is greater than the length of
89 public int read(byte[] b, int offset, int length) throws IOException { argument
93 if ((offset | length) < 0 || length > b.length - offset) {
94 throw new ArrayIndexOutOfBoundsException("invalid offset or length");
96 return mSocket.read(b, offset, length);
H A DBluetoothOutputStream.java61 * at position {@code offset} to this stream.
65 * @param offset
73 * if {@code offset < 0} or {@code count < 0}, or if
74 * {@code offset + count} is bigger than the length of
78 public void write(byte[] b, int offset, int count) throws IOException { argument
82 if ((offset | count) < 0 || count > b.length - offset) {
83 throw new IndexOutOfBoundsException("invalid offset or length");
85 mSocket.write(b, offset, count);
/frameworks/base/core/java/android/content/pm/
H A DLimitedLengthInputStream.java22 * Current offset in the stream.
28 * @param offset offset into stream where data starts
29 * @param length length of data at offset
32 public LimitedLengthInputStream(InputStream in, long offset, long length) throws IOException { argument
39 if (offset < 0) {
40 throw new IOException("offset < 0");
47 if (length > Long.MAX_VALUE - offset) {
48 throw new IOException("offset + length > Long.MAX_VALUE");
51 mEnd = offset
68 read(byte[] buffer, int offset, int byteCount) argument
[all...]
H A DMacAuthenticatedInputStream.java71 public int read(byte[] buffer, int offset, int count) throws IOException { argument
72 int numRead = super.read(buffer, offset, count);
74 mMac.update(buffer, offset, numRead);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java61 * @param offset The offset into {@code buffer} where the audio data starts.
66 public int audioAvailable(byte[] buffer, int offset, int length); argument
/frameworks/compile/mclinker/include/mcld/LD/
H A DFragmentRef.h52 /// @pNBytes - copies pNBytes from the fragment[offset()+pOffset]
53 /// @pOffset - additional offset.
54 /// the start address offset from fragment[offset()]
64 Offset offset() const function in class:mcld::FragmentRef

Completed in 305 milliseconds

1234567891011>>