Searched refs:readAt (Results 1 - 25 of 45) 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
/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.cpp38 ssize_t ThrottledSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::ThrottledSource
41 ssize_t n = mSource->readAt(offset, data, size);
H A DMPEG4Extractor.cpp104 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
152 ssize_t MPEG4DataSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::MPEG4DataSource
161 return mSource->readAt(offset, data, size);
186 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
420 if (DataSource->readAt(offset, &data, 1) < 1) {
434 if (mDataSource->readAt(data_offset, &updateIdTag, 1) < 1) {
453 if (mDataSource->readAt(data_offset, &descriptorTag, 1) < 1) {
464 if (mDataSource->readAt(data_offset, buffer, 2) < 2) {
473 if (mDataSource->readAt(data_offset, buffer, 8) < 8) {
496 if (mDataSource->readAt(data_offse
[all...]
H A DSampleIterator.cpp192 if (mTable->mDataSource->readAt(
204 if (mTable->mDataSource->readAt(
233 if (mTable->mDataSource->readAt(
246 if (mTable->mDataSource->readAt(
259 if (mTable->mDataSource->readAt(
274 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.cpp42 ssize_t n = source->readAt(pos, header, sizeof(header));
58 n = source->readAt(pos, vbriHeader, sizeof(vbriHeader));
86 n = source->readAt(pos + sizeof(vbriHeader), buffer, totalEntrySize);
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 DSampleTable.cpp179 if (mDataSource->readAt(
217 if (mDataSource->readAt(
238 if (mDataSource->readAt(
270 if (mDataSource->readAt(
322 if (mDataSource->readAt(
336 if (mDataSource->readAt(
357 if (mDataSource->readAt(
377 if (mDataSource->readAt(
404 if (mDataSource->readAt(
422 if (mDataSource->readAt(mSyncSampleOffse
[all...]
H A DWAVExtractor.cpp139 if (mDataSource->readAt(
154 if (mDataSource->readAt(offset, chunkHeader, 8) < 8) {
173 if (mDataSource->readAt(offset, formatSpec, 2) < 2) {
189 if (mDataSource->readAt(offset, formatSpec, fmtSize) < fmtSize) {
415 ssize_t n = mDataSource->readAt(
492 if (source->readAt(0, header, sizeof(header)) < (ssize_t)sizeof(header)) {
H A DAVIExtractor.cpp188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size);
428 ssize_t n = mDataSource->readAt(offset, tmp, 8);
452 n = mDataSource->readAt(offset + 8, &tmp[8], 4);
599 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size());
689 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size());
773 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size());
1014 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size());
1075 ssize_t n = mDataSource->readAt(offset, buffer->data(), buffer->size());
1129 ssize_t n = mDataSource->readAt(*offset, tmp, 8);
1289 if (source->readAt(
[all...]
/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.h33 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DChromiumHTTPDataSource.h42 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { function in class:android::StreamSource
H A DStreamSource.h35 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
/frameworks/av/include/media/stagefright/
H A DFileSource.h37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
H A DDataSource.h53 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
/frameworks/av/media/libstagefright/chromium_http/
H A DDataUriSource.cpp47 ssize_t DataUriSource::readAt(off64_t offset, void *out, size_t size) { function in class:android::DataUriSource
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp36 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { function in struct:android::StreamSource
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp183 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
196 if ((readSize = mSource->readAt(*offset, &character, 1)) < 1) {
261 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 227 milliseconds

12