/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 165 XAAint64 offset; member in struct:XADataLocator_AndroidFD_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 307 SLAint64 offset; member in struct:SLDataLocator_AndroidFD_
|
/frameworks/wilhelm/src/android/ |
H A D | AacBqToPcmCbRenderer.cpp | 30 * Note that if the returned value + offset > size, it means that a partial frame starts at that 31 * offset, but this function will still return the size of the full frame. 33 * @param offset offset in bytes relative to data of where the frame is supposed to start 35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given 38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument 41 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < size)) { 47 const uint8_t *syncword = data + offset; 53 const uint8_t protectionAbsent = data[offset+1] & 0x1; 55 const uint8_t* header = data + offset 85 off64_t offset = 0; local [all...] |
H A D | AudioPlayer_to_android.cpp | 1534 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local 1537 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 1538 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset, 1576 int64_t offset = (int64_t)pAudioPlayer->mDataSource.mLocator.mFD.offset; local 1579 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 1580 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
|
H A D | BufferQueueSource.cpp | 57 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 + size <= mStreamToBqOffset + oldFront->mDataSize) { 100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset); 102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
|
H A D | MediaPlayer_to_android.cpp | 436 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; local 439 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ? 440 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
|
H A D | android_AudioToCbRenderer.cpp | 65 size_t offset = 0; local 66 while (offset < full) { 69 + offset + mDecodeBuffer->range_offset(), 70 mDecodeBuffer->range_length() - offset, 72 offset += consumed; 73 //SL_LOGV("consumed=%u, offset=%u, full=%u", consumed, offset, full);
|
H A D | android_GenericPlayer.cpp | 100 void GenericPlayer::setDataSource(int fd, int64_t offset, int64_t length, bool closeAfterUse) { argument 101 SL_LOGV("GenericPlayer::setDataSource(fd=%d, offset=%lld, length=%lld, closeAfterUse=%s)", fd, 102 offset, length, closeAfterUse ? "true" : "false"); 114 if (offset >= sb.st_size) { 115 SL_LOGE("SfPlayer::setDataSource: invalid offset"); 118 mDataLocator.fdi.offset = offset; 122 } else if (offset + length > sb.st_size) { 123 mDataLocator.fdi.length = sb.st_size - offset;
|
H A D | android_defs.h | 194 int64_t offset; member in struct:android::FdInfo
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 48 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", 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 D | IDynamicInterfaceManagement.c | 54 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 D | IObject.c | 587 size_t offset = x->mOffset; local 588 void *thisItf = (char *) thiz + offset;
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestEqFdPath.cpp | 52 , 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 D | slesTestEqOutputPath.cpp | 52 , 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 D | slesTestPlayFdPath.cpp | 50 void TestPlayPathFromFD( SLObjectItf sl, const char* path, SLAint64 offset, SLAint64 size) argument 118 locatorFd.offset = offset; 199 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
|
/frameworks/support/renderscript/v8/jni/ |
H A D | android_renderscript_RenderScript.cpp | 420 nAllocationData1D_i(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jintArray data, int sizeBytes) argument 423 LOG_API("nAllocation1DData_i, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 425 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 430 nAllocationData1D_s(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jshortArray data, int sizeBytes) argument 433 LOG_API("nAllocation1DData_s, con(%p), adapter(%p), offset(%i), count(%i), len(%i), sizeBytes(%i)", con, (RsAllocation)alloc, offset, count, len, sizeBytes); 435 rsAllocation1DData(con, (RsAllocation)alloc, offset, lod, count, ptr, sizeBytes); 440 nAllocationData1D_b(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jbyteArray data, int sizeBytes) argument 443 LOG_API("nAllocation1DData_b, con(%p), adapter(%p), offset( 450 nAllocationData1D_f(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint count, jfloatArray data, int sizeBytes) argument 461 nAllocationElementData1D(JNIEnv *_env, jobject _this, RsContext con, jint alloc, jint offset, jint lod, jint compIdx, jbyteArray data, int sizeBytes) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdBcc.cpp | 549 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] + local 551 p.out = mtls->fep.ptrOut + (mtls->fep.yStrideOut * offset); 552 p.in = mtls->fep.ptrIn + (mtls->fep.yStrideIn * offset);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsType.cpp | 91 size_t offset = 0; local 96 mHal.state.lodOffset[lod] = offset; 97 offset += tx * rsMax(ty, 1u) * rsMax(tz, 1u) * mElement->getSizeBytes(); 103 // At this point the offset is the size of a mipmap chain; 104 mMipChainSizeBytes = offset; 107 offset *= 6; 109 mTotalSizeBytes = offset; 114 uint32_t offset = mHal.state.lodOffset[lod]; local 115 offset += x * mElement->getSizeBytes(); 116 return offset; 120 uint32_t offset = mHal.state.lodOffset[lod]; local 126 uint32_t offset = mHal.state.lodOffset[lod]; local 135 uint32_t offset = mHal.state.lodOffset[lod]; local [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 53 char c = buf[offset + i];
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewPager.java | 105 float offset; field in class:ViewPager.ItemInfo 254 * @param positionOffset Value from [0, 1) indicating the offset from the page at position. 255 * @param positionOffsetPixels Value in pixels indicating the offset from position. 534 Math.min(curInfo.offset, mLastOffset))); 1071 float offset = oldCurInfo.offset + oldCurInfo.widthFactor + marginOffset; 1081 // ask the adapter for an offset. 1082 offset += mAdapter.getPageWidth(pos) + marginOffset; 1085 ii.offset = offset; 1597 onPageScrolled(int position, float offset, int offsetPixels) argument [all...] |
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 434 public int read(byte[] buffer, int offset, int count) throws IOException { argument 435 int result = super.read(buffer, offset, count);
|
H A D | PoolingByteArrayOutputStream.java | 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/rs/driver/ |
H A D | rsdBcc.cpp | 374 uint32_t offset = mtls->fep.dimY * mtls->fep.dimZ * p.ar[0] + local 376 p.out = mtls->fep.ptrOut + (mtls->fep.yStrideOut * offset) + 378 p.in = mtls->fep.ptrIn + (mtls->fep.yStrideIn * offset) +
|
H A D | rsdShader.cpp | 534 uint32_t offset = e->mHal.state.fieldOffsetBytes[field]; local 535 const float *fd = reinterpret_cast<const float *>(&data[offset]); 547 ALOGV("Uniform slot=%i, offset=%i, constant=%i, field=%i, uidx=%i, name=%s", 548 slot, offset, ct, field, uidx, fieldName);
|
H A D | rsdVertexArray.cpp | 45 offset = 0; 55 bool normalized, uint32_t offset, 60 this->offset = offset; 70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%x", 79 mAttribs[idx].offset); 115 mAttribs[ct].ptr + mAttribs[ct].offset); 54 set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, uint32_t offset, const char *name) argument
|