Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaMuxer.java303 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument
666 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData() argument
672 if (byteBuf == null) { in writeSampleData()
680 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity() in writeSampleData()
694 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
DMediaExtractor.java660 public native int readSampleData(@NonNull ByteBuffer byteBuf, int offset);
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp78 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { in android_media_MediaMuxer_writeSampleData() argument
87 void *dst = env->GetDirectBufferAddress(byteBuf); in android_media_MediaMuxer_writeSampleData()
95 (jbyteArray)env->CallObjectMethod(byteBuf, gFields.arrayID); in android_media_MediaMuxer_writeSampleData()
108 dstSize = env->GetDirectBufferCapacity(byteBuf); in android_media_MediaMuxer_writeSampleData()
Dandroid_media_MediaExtractor.cpp168 jobject byteBuf, size_t offset, size_t *sampleSize) { in readSampleData() argument
171 void *dst = env->GetDirectBufferAddress(byteBuf); in readSampleData()
185 (jbyteArray)env->CallObjectMethod(byteBuf, arrayID); in readSampleData()
196 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
232 byteBuf, limitID, offset + *sampleSize); in readSampleData()
235 byteBuf, positionID, offset); in readSampleData()
454 JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) { in android_media_MediaExtractor_readSampleData() argument
463 status_t err = extractor->readSampleData(byteBuf, offset, &sampleSize); in android_media_MediaExtractor_readSampleData()
Dandroid_media_MediaDescrambler.cpp107 JNIEnv *env, jobject byteBuf, jint offset, jint limit, size_t length, in getBufferAndSize() argument
109 void *ptr = env->GetDirectBufferAddress(byteBuf); in getBufferAndSize()
122 (jbyteArray)env->CallObjectMethod(byteBuf, arrayID); in getBufferAndSize()
Dandroid_media_MediaExtractor.h61 status_t readSampleData(jobject byteBuf, size_t offset, size_t *sampleSize);