Searched refs:offset (Results 1 - 25 of 1102) sorted by last modified time

1234567891011>>

/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h165 XAAint64 offset; member in struct:XADataLocator_AndroidFD_
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h364 SLAint64 offset; member in struct:SLDataLocator_AndroidFD_
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
34 * @param offset offset in bytes relative to data of where the frame is supposed to start
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
48 const uint8_t *syncword = data + offset;
54 const uint8_t protectionAbsent = data[offset+1] & 0x1;
56 const uint8_t* header = data + offset
86 off64_t offset = 0; local
[all...]
H A DAudioPlayer_to_android.cpp1786 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local
1789 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
1790 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
1836 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local
1839 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
1840 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
H A DBufferQueueSource.cpp57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);
96 //assert(mStreamToBqOffset <= offset);
97 CHECK_LE(mStreamToBqOffset, offset);
99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) {
100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset);
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
H A DBufferQueueSource.h40 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
50 // a monotonically increasing offset used to translate an offset from the beginning
51 // of the stream, to an offset in each buffer from the buffer queue source
H A DMediaPlayer_to_android.cpp434 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; local
437 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
438 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
H A Dandroid_AudioSfDecoder.cpp215 dataSource = new FileSource(fd, mDataLocator.fdi.offset, mDataLocator.fdi.length);
H A Dandroid_AudioToCbRenderer.cpp66 size_t offset = 0; local
67 while (offset < full) {
70 + offset + mDecodeBuffer->range_offset(),
71 mDecodeBuffer->range_length() - offset,
73 offset += consumed;
74 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
H A Dandroid_GenericPlayer.cpp101 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument
102 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd,
103 offset, length, closeAfterUse ? "true" : "false");
115 if (offset >= sb.st_size) {
116 SL_LOGE("SfPlayer::setDataSource: invalid offset");
119 mDataLocator.fdi.offset = offset;
123 } else if (offset + length > sb.st_size) {
124 mDataLocator.fdi.length = sb.st_size - offset;
H A Dandroid_GenericPlayer.h67 void setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse = false);
H A Dandroid_LocAVPlayer.cpp79 } else if (mPlayer->setDataSource(mDataLocator.fdi.fd, mDataLocator.fdi.offset,
H A Dandroid_defs.h196 int64_t offset; member in struct:android::FdInfo
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument
55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
133 off64_t offset = 0, numFrames = 0; local
134 while (offset < streamSize) {
136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", (long long) offset);
144 offset += frameSize;
145 if (offset > streamSize) {
146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset
[all...]
/frameworks/wilhelm/src/
H A Ddata.cpp221 SL_LOGV("%s: fd=%d offset=%lld length=%lld", name, pDataLocator->mFD.fd,
222 pDataLocator->mFD.offset, pDataLocator->mFD.length);
/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.cpp54 size_t offset = x->mOffset; local
55 void *thisItf = (char *) thisObject + offset;
162 size_t offset = x->mOffset; local
163 void *thisItf = (char *) thisObject + offset;
231 size_t offset = x->mOffset; local
232 void *thisItf = (char *) thisObject + offset;
310 size_t offset = x->mOffset; local
311 void *thisItf = (char *) thisObject + offset;
410 size_t offset = x->mOffset; local
411 void *thisItf = (char *) thiz + offset;
[all...]
H A DIObject.cpp587 size_t offset = x->mOffset; local
588 void *thisItf = (char *) thiz + offset;
/frameworks/wilhelm/tests/examples/
H A DslesTestBassBoostPath.cpp125 locatorFd.offset = 0;
H A DslesTestEqFdPath.cpp52 , SLAint64 offset, SLAint64 size
130 locatorFd.offset = offset;
286 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
H A DslesTestEqOutputPath.cpp52 , SLAint64 offset, SLAint64 size
137 locatorFd.offset = offset;
290 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
H A DslesTestPlayFdPath.cpp71 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument
139 locatorFd.offset = offset;
230 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
H A DslesTestSendToPresetReverb.cpp184 locatorFd.offset = 0;
H A DslesTestVirtualizerPath.cpp126 locatorFd.offset = 0;
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...

Completed in 4802 milliseconds

1234567891011>>