Searched defs:offset (Results 226 - 250 of 447) sorted by relevance

1234567891011>>

/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", 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 DIObject.c587 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
/frameworks/base/media/java/android/media/
H A DMediaExtractor.java174 * @param offset the offset into the file where the data to be extracted starts, in bytes
178 FileDescriptor fd, long offset, long length);
250 * starting at the given offset. Returns the sample size (or -1 if
253 public native int readSampleData(ByteBuffer byteBuf, int offset); argument
177 setDataSource( FileDescriptor fd, long offset, long length) argument
H A DMediaMetadataRetriever.java113 * @param offset the offset into the file where the data to be played starts,
119 public native void setDataSource(FileDescriptor fd, long offset, long length) argument
H A DSoundPool.java228 * binary. The offset specifies the offset from the start of the file
232 * @param offset offset to the start of the sound
238 public int load(FileDescriptor fd, long offset, long length, int priority) { argument
239 return _load(fd, offset, length, priority);
244 private native final int _load(FileDescriptor fd, long offset, long length, int priority); argument
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool.cpp58 jlong offset, jlong length, jint priority)
64 int64_t(offset), int64_t(length), int(priority));
57 android_media_SoundPool_load_FD(JNIEnv *env, jobject thiz, jobject fileDescriptor, jlong offset, jlong length, jint priority) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DNativeFrame.java144 // TODO: This function may be a bit confusing: Is the offset the target or source offset? Maybe
147 public void setData(ByteBuffer buffer, int offset, int length) { argument
150 if ((length + offset) > buffer.limit()) {
152 (length + offset) + " bytes given, but only " + buffer.limit() +
158 } else if (!setNativeData(bytes, offset, length)) {
244 private native boolean setNativeData(byte[] data, int offset, int length); argument
H A DSerializedFrame.java230 public void setData(ByteBuffer buffer, int offset, int length) { argument
232 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_frame.cpp115 jint offset,
121 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset), length);
112 Java_android_filterfw_core_GLFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
H A Djni_native_frame.cpp56 jint offset,
62 const bool success = frame->WriteData(reinterpret_cast<const uint8_t*>(bytes + offset),
53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h248 // offset and stride to select the correct data portion.
254 // offset: The offset of the first element.
263 int offset,
278 int offset,
416 int offset; member in struct:android::filterfw::ShaderProgram::VertexAttrib
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DBassBoostTest.java209 private int byteArrayToInt(byte[] valueBuf, int offset) { argument
212 return converter.getInt(offset);
215 private short byteArrayToShort(byte[] valueBuf, int offset) { argument
218 return converter.getShort(offset);
H A DEqualizerTest.java341 private int byteArrayToInt(byte[] valueBuf, int offset) { argument
344 return converter.getInt(offset);
347 private short byteArrayToShort(byte[] valueBuf, int offset) { argument
350 return converter.getShort(offset);
H A DPresetReverbTest.java235 private int byteArrayToInt(byte[] valueBuf, int offset) { argument
238 return converter.getInt(offset);
241 private short byteArrayToShort(byte[] valueBuf, int offset) { argument
244 return converter.getShort(offset);
H A DVirtualizerTest.java206 private int byteArrayToInt(byte[] valueBuf, int offset) { argument
209 return converter.getInt(offset);
212 private short byteArrayToShort(byte[] valueBuf, int offset) { argument
215 return converter.getShort(offset);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMetadataParserTest.java65 // current position at the beginning of the parcel (offset 0).
70 // Write the number of bytes from the offset to the current
71 // position at position pointed by offset.
72 private void adjustSize(int offset) { argument
75 mParcel.setDataPosition(offset);
76 mParcel.writeInt(pos - offset);
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp43 int offset = buffer->range_offset(); local
50 data += offset;
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp70 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;} argument
/frameworks/base/native/android/
H A Dasset_manager.cpp176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) argument
178 return asset->mAsset->seek(offset, whence);
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) argument
183 return asset->mAsset->seek(offset, whence);
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11Ext.java40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument
56 int offset
73 int offset
90 int offset
107 int offset
136 int offset
150 int offset
/frameworks/av/drm/drmserver/
H A DDrmManagerService.cpp203 int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) {
206 return mDrmManager->openDecryptSession(uniqueId, fd, offset, length, mime);
269 void* buffer, ssize_t numBytes, off64_t offset) {
274 return mDrmManager->pread(uniqueId, decryptHandle, buffer, numBytes, offset);
202 openDecryptSession( int uniqueId, int fd, off64_t offset, off64_t length, const char* mime) argument
268 pread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c313 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument
322 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence);
326 newFilePos = lseek64(pSession->fileDesc, offset, whence);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp228 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/);
233 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/);
237 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) {
301 void* buffer, ssize_t numBytes, off64_t offset) {
236 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
300 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument

Completed in 267 milliseconds

1234567891011>>