Home
last modified time | relevance | path

Searched refs:byteBuf (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaMuxer.java94 int trackIndex, ByteBuffer byteBuf, in nativeWriteSampleData() argument
305 public void writeSampleData(int trackIndex, ByteBuffer byteBuf, in writeSampleData() argument
311 if (byteBuf == null) { in writeSampleData()
319 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity() in writeSampleData()
333 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
DMediaExtractor.java307 public native int readSampleData(ByteBuffer byteBuf, int offset); in readSampleData() argument
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { in android_media_MediaMuxer_writeSampleData() argument
84 void *dst = env->GetDirectBufferAddress(byteBuf); in android_media_MediaMuxer_writeSampleData()
92 (jbyteArray)env->CallObjectMethod(byteBuf, gFields.arrayID); in android_media_MediaMuxer_writeSampleData()
105 dstSize = env->GetDirectBufferCapacity(byteBuf); in android_media_MediaMuxer_writeSampleData()
Dandroid_media_MediaExtractor.cpp203 jobject byteBuf, size_t offset, size_t *sampleSize) { in readSampleData() argument
206 void *dst = env->GetDirectBufferAddress(byteBuf); in readSampleData()
220 (jbyteArray)env->CallObjectMethod(byteBuf, arrayID); in readSampleData()
231 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
267 byteBuf, limitID, offset + *sampleSize); in readSampleData()
270 byteBuf, positionID, offset); in readSampleData()
474 JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) { in android_media_MediaExtractor_readSampleData() argument
483 status_t err = extractor->readSampleData(byteBuf, offset, &sampleSize); in android_media_MediaExtractor_readSampleData()
Dandroid_media_MediaExtractor.h58 status_t readSampleData(jobject byteBuf, size_t offset, size_t *sampleSize);