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

12

/frameworks/base/media/java/android/media/
H A DDataSource.java35 public int readAt(long offset, byte[] buffer, int size); method in interface:DataSource
H A DIMediaHTTPConnection.aidl29 int readAt(long offset, int size);
/frameworks/av/media/libstagefright/
H A DXINGSeeker.cpp87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
116 if (source->readAt(offset, &buffer, 4) < 4) { // XING header ID
129 if (source->readAt(offset, &buffer, 4) < 4) { // flags
136 if (source->readAt(offset, buffer, 4) < 4) {
150 if (source->readAt(offset, buffer, 4) < 4) {
157 if (source->readAt(offset + 1, seeker->mTOC, 99) < 99) {
166 if (source->readAt(offset, buffer, 4) < 4) {
173 if (source->readAt(xingbase + 0xaf - 0x24, &buffer, 1) < 1) { // encoding flags
182 if (source->readAt(xingbase + 0xb1 - 0x24, &buffer, 3) == 3) {
H A DThrottledSource.cpp34 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::ThrottledSource
37 ssize_t n = mSource->readAt(offset, data, size);
H A DSampleIterator.cpp193 if (mTable->mDataSource->readAt(
205 if (mTable->mDataSource->readAt(
234 if (mTable->mDataSource->readAt(
247 if (mTable->mDataSource->readAt(
260 if (mTable->mDataSource->readAt(
275 if (mTable->mDataSource->readAt(
H A DAACExtractor.cpp103 if (source->readAt(offset, &syncword, 2) != 2) {
111 if (source->readAt(offset + 1, &protectionAbsent, 1) < 1) {
117 if (source->readAt(offset + 3, &header, 3) < 3) {
156 if (mDataSource->readAt(offset + 2, &header, 2) < 2) {
313 if (mDataSource->readAt(mOffset + headerSize, buffer->data(),
341 if (source->readAt(pos, id3header, sizeof(id3header))
368 if (source->readAt(pos, &header, 2) != 2) {
H A DJPEGSource.cpp123 ssize_t n = mSource->readAt(mOffset, buffer->data(), mSize - mOffset);
160 if (mSource->readAt(i++, &marker, 1) != 1) {
166 if (mSource->readAt(i++, &marker, 1) != 1) {
H A DVBRISeeker.cpp45 ssize_t n = source->readAt(pos, header, sizeof(header));
61 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader));
89 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize);
H A DMPEG4Extractor.cpp173 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
221 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::MPEG4DataSource
230 return mSource->readAt(offset, data, size);
255 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
508 if (mDataSource->readAt(offset, hdr, 8) < 8) {
581 if (DataSource->readAt(offset, &data, 1) < 1) {
596 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
615 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
626 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
635 if (mDataSource->readAt(data_offse
[all...]
H A DAMRExtractor.cpp103 if (source->readAt(offset, &header, 1) < 1) {
279 ssize_t n = mDataSource->readAt(mOffset, &header, 1);
306 n = mDataSource->readAt(mOffset, buffer->data(), frameSize);
334 if (source->readAt(0, header, sizeof(header)) != sizeof(header)) {
H A DDataSource.cpp55 if (readAt(offset, byte, 2) != 2) {
68 if (readAt(offset, byte, 3) != 3) {
81 if (readAt(offset, &tmp, 4) != 4) {
94 if (readAt(offset, &tmp, 8) != 8) {
H A DSampleTable.cpp179 if (mDataSource->readAt(
217 if (mDataSource->readAt(
238 if (mDataSource->readAt(
270 if (mDataSource->readAt(
322 if (mDataSource->readAt(
340 if (mDataSource->readAt(
361 if (mDataSource->readAt(
386 if (mDataSource->readAt(
413 if (mDataSource->readAt(
436 if (mDataSource->readAt(mSyncSampleOffse
[all...]
H A DWAVExtractor.cpp140 if (mDataSource->readAt(
155 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) {
174 if (mDataSource->readAt(offset, formatSpec, 2) < 2) {
191 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) {
455 ssize_t n = mDataSource->readAt(
537 if (source->readAt(0, header, sizeof(header)) < (ssize_t)sizeof(header)) {
H A DDataURISource.cpp87 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { function in class:android::DataURISource
/frameworks/av/include/media/
H A DIMediaHTTPConnection.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
/frameworks/av/include/media/stagefright/
H A DDataURISource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DFileSource.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DMediaHTTP.h41 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/wilhelm/src/android/
H A DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/include/
H A DDataUriSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DThrottledSource.h31 // implementation of readAt() that sleeps to achieve the desired max throughput
32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp81 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { function in class:android::MediaHTTP
98 ssize_t n = mHTTPConnection->readAt(
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp182 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
195 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
260 if (mSource->readAt(info.offset, str, info.textLen) < info.textLen) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
107 ssize_t readSize = mDataSource->readAt(2, &header, 2);
284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(),
286 //SL_LOGV("AacAdtsSource::read() readAt returned %u bytes", readSize);

Completed in 295 milliseconds

12