Home
last modified time | relevance | path

Searched refs:readAt (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/libstagefright/
DXINGSeeker.cpp87 if (source->readAt(offset, &buffer, 4) < 4) { // get header in CreateFromSource()
116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID in CreateFromSource()
129 if (source->readAt(offset, &buffer, 4) < 4) { // flags in CreateFromSource()
136 if (source->readAt(offset, buffer, 4) < 4) { in CreateFromSource()
150 if (source->readAt(offset, buffer, 4) < 4) { in CreateFromSource()
157 if (source->readAt(offset + 1, seeker->mTOC, 99) < 99) { in CreateFromSource()
166 if (source->readAt(offset, buffer, 4) < 4) { in CreateFromSource()
173 if (source->readAt(xingbase + 0xaf - 0x24, &buffer, 1) < 1) { // encoding flags in CreateFromSource()
182 if (source->readAt(xingbase + 0xb1 - 0x24, &buffer, 3) == 3) { in CreateFromSource()
DMPEG4Extractor.cpp161 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
209 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { in readAt() function in android::MPEG4DataSource
218 return mSource->readAt(offset, data, size); in readAt()
243 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); in setCachedRange()
483 if (mDataSource->readAt(offset, hdr, 8) < 8) { in readMetaData()
558 if (DataSource->readAt(offset, &data, 1) < 1) { in readSize()
572 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) { in parseDrmSINF()
591 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) { in parseDrmSINF()
602 if (mDataSource->readAt(data_offset, buffer, 2) < 2) { in parseDrmSINF()
611 if (mDataSource->readAt(data_offset, buffer, 8) < 8) { in parseDrmSINF()
[all …]
DSampleIterator.cpp192 if (mTable->mDataSource->readAt( in getChunkOffset()
204 if (mTable->mDataSource->readAt( in getChunkOffset()
233 if (mTable->mDataSource->readAt( in getSampleSizeDirect()
246 if (mTable->mDataSource->readAt( in getSampleSizeDirect()
259 if (mTable->mDataSource->readAt( in getSampleSizeDirect()
274 if (mTable->mDataSource->readAt( in getSampleSizeDirect()
DAACExtractor.cpp103 if (source->readAt(offset, &syncword, 2) != 2) { in getAdtsFrameLength()
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) { in getAdtsFrameLength()
117 if (source->readAt(offset + 3, &header, 3) < 3) { in getAdtsFrameLength()
156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) { in AACExtractor()
313 if (mDataSource->readAt(mOffset + headerSize, buffer->data(), in read()
341 if (source->readAt(pos, id3header, sizeof(id3header)) in SniffAAC()
368 if (source->readAt(pos, &header, 2) != 2) { in SniffAAC()
DDataSource.cpp52 if (readAt(offset, byte, 2) != 2) { in getUInt16()
65 if (readAt(offset, byte, 3) != 3) { in getUInt24()
78 if (readAt(offset, &tmp, 4) != 4) { in getUInt32()
91 if (readAt(offset, &tmp, 8) != 8) { in getUInt64()
DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { in readAt() function in android::ThrottledSource
37 ssize_t n = mSource->readAt(offset, data, size); in readAt()
DSampleTable.cpp179 if (mDataSource->readAt( in setChunkOffsetParams()
217 if (mDataSource->readAt( in setSampleToChunkParams()
238 if (mDataSource->readAt( in setSampleToChunkParams()
270 if (mDataSource->readAt( in setSampleSizeParams()
322 if (mDataSource->readAt( in setTimeToSampleParams()
336 if (mDataSource->readAt( in setTimeToSampleParams()
357 if (mDataSource->readAt( in setCompositionTimeToSampleParams()
377 if (mDataSource->readAt( in setCompositionTimeToSampleParams()
404 if (mDataSource->readAt( in setSyncSampleParams()
422 if (mDataSource->readAt(mSyncSampleOffset + 8, mSyncSamples, size) in setSyncSampleParams()
DVBRISeeker.cpp42 ssize_t n = source->readAt(pos, header, sizeof(header)); in CreateFromSource()
58 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader)); in CreateFromSource()
86 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize); in CreateFromSource()
DJPEGSource.cpp123 ssize_t n = mSource->readAt(mOffset, buffer->data(), mSize - mOffset); in read()
160 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG()
166 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG()
DWAVExtractor.cpp140 if (mDataSource->readAt( in init()
155 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) { in init()
174 if (mDataSource->readAt(offset, formatSpec, 2) < 2) { in init()
191 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) { in init()
451 ssize_t n = mDataSource->readAt( in read()
533 if (source->readAt(0, header, sizeof(header)) < (ssize_t)sizeof(header)) { in SniffWAV()
DAMRExtractor.cpp103 if (source->readAt(offset, &header, 1) < 1) { in getFrameSizeByOffset()
279 ssize_t n = mDataSource->readAt(mOffset, &header, 1); in read()
306 n = mDataSource->readAt(mOffset, buffer->data(), frameSize); in read()
334 if (source->readAt(0, header, sizeof(header)) != sizeof(header)) { in SniffAMR()
DAVIExtractor.cpp188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size); in read()
428 ssize_t n = mDataSource->readAt(offset, tmp, 8); in parseChunk()
452 n = mDataSource->readAt(offset + 8, &tmp[8], 4); in parseChunk()
599 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size()); in parseStreamHeader()
689 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size()); in parseStreamFormat()
773 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size()); in parseIndex()
1014 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size()); in addMPEG4CodecSpecificData()
1075 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size()); in addH264CodecSpecificData()
1129 ssize_t n = mDataSource->readAt(*offset, tmp, 8); in getSampleInfo()
1289 if (source->readAt(0, tmp, 12) < 12) { in SniffAVI()
DMP3Extractor.cpp61 if (source->readAt(*inout_pos, id3header, sizeof(id3header)) in Resync()
124 totalBytesRead = source->readAt(pos + remainingBytes, in Resync()
168 if (source->readAt(test_pos, tmp, 4) < 4) { in Resync()
516 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), 4); in read()
560 ssize_t n = mDataSource->readAt(mCurrentPos, buffer->data(), frame_size); in read()
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE); in getFrameSize()
107 ssize_t readSize = mDataSource->readAt(2, &header, 2); in AacAdtsExtractor()
284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), in read()
/frameworks/base/media/java/android/media/
DDataSource.java35 public int readAt(long offset, byte[] buffer, int size); in readAt() method
/frameworks/av/media/libstagefright/timedtext/
DTimedTextSRTSource.cpp182 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) { in readNextLine()
195 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) { in readNextLine()
260 if (mSource->readAt(info.offset, str, info.textLen) < info.textLen) { in getText()
/frameworks/base/media/tests/omxjpegdecoder/
DStreamSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { in readAt() function in android::StreamSource
/frameworks/wilhelm/src/android/
DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/include/
DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
DThrottledSource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/chromium_http/
DDataUriSource.cpp47 ssize_t DataUriSource::readAt(off64_t offset, void *out, size_t size) { in readAt() function in android::DataUriSource
/frameworks/av/include/media/stagefright/
DFileSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/mpeg2ts/
DMPEG2TSExtractor.cpp209 ssize_t n = mDataSource->readAt(mOffset, packet, kTSPacketSize); in feedMore()
254 if (source->readAt(kTSPacketSize * i, &header, 1) != 1 in SniffMPEG2TS()

12