Searched defs:offset (Results 1 - 25 of 693) 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 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_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_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/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 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");
/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 ...
/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 ...
/frameworks/support/transition/api14/android/support/transition/
H A DViewOverlayApi14.java282 private void getOffset(int[] offset) { argument
287 offset[0] = hostViewLocation[0] - contentViewLocation[0];
288 offset[1] = hostViewLocation[1] - contentViewLocation[1];
298 int[] offset = new int[2];
299 getOffset(offset);
304 dirty.offset(left + offset[0], top + offset[1]);
316 int[] offset = new int[2];
317 getOffset(offset);
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DDetailsFragmentBackgroundController.java150 int offset = mParallaxDrawableMaxOffset;
151 if (offset == 0) {
152 offset = FragmentUtil.getContext(mFragment).getResources()
161 0, -offset)
468 * Sets default parallax offset in pixels for bitmap moving vertically. This method must
471 * @param offset Offset in pixels (e.g. 120).
474 public final void setParallaxDrawableMaxOffset(int offset) { argument
478 mParallaxDrawableMaxOffset = offset;
482 * Returns Default parallax offset in pixels for bitmap moving vertically.
485 * @return Default parallax offset i
[all...]
H A DDetailsSupportFragmentBackgroundController.java153 int offset = mParallaxDrawableMaxOffset;
154 if (offset == 0) {
155 offset = mFragment.getContext().getResources()
164 0, -offset)
471 * Sets default parallax offset in pixels for bitmap moving vertically. This method must
474 * @param offset Offset in pixels (e.g. 120).
477 public final void setParallaxDrawableMaxOffset(int offset) { argument
481 mParallaxDrawableMaxOffset = offset;
485 * Returns Default parallax offset in pixels for bitmap moving vertically.
488 * @return Default parallax offset i
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DFitWidthBitmapDrawable.java132 * Sets the vertical offset which will be used for drawing the bitmap. The bitmap drawing
133 * will start the provided vertical offset.
136 public void setVerticalOffset(int offset) { argument
137 mBitmapState.mOffset = offset;
142 * Returns the current vertical offset.
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseGridView.java372 * Sets the offset in pixels for window alignment key line.
374 * @param offset The number of pixels to offset. If the offset is positive,
376 * if the offset is negative, the absolute value is distance from high
380 public void setWindowAlignmentOffset(int offset) { argument
381 mLayoutManager.setWindowAlignmentOffset(offset);
386 * Returns the offset in pixels for window alignment key line.
388 * @return The number of pixels to offset. If the offset i
432 setItemAlignmentOffset(int offset) argument
[all...]
H A DItemAlignmentFacet.java56 * @param offset In left to right or vertical case, it's the offset added to left/top edge.
57 * In right to left case, it's the offset subtracted from right edge.
59 public final void setItemAlignmentOffset(int offset) { argument
60 mOffset = offset;
65 * In left to right or vertical case, it's the offset added to left/top edge. In right to
66 * left case, it's the offset subtracted from right edge.
102 * Sets the offset percent for item alignment in addition to offset. E.g., 40
115 * Gets the offset percen
[all...]

Completed in 2454 milliseconds

1234567891011>>