Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaMuxer.java108 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData() argument
445 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData() argument
451 if (byteBuf == null) { in writeSampleData()
459 || (bufferInfo.offset + bufferInfo.size) > byteBuf.capacity() in writeSampleData()
473 nativeWriteSampleData(mNativeObject, trackIndex, byteBuf, in writeSampleData()
DMediaExtractor.java511 public native int readSampleData(@NonNull ByteBuffer byteBuf, int offset);
/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.cpp136 jobject byteBuf, size_t offset, size_t *sampleSize) { in readSampleData() argument
139 void *dst = env->GetDirectBufferAddress(byteBuf); in readSampleData()
153 (jbyteArray)env->CallObjectMethod(byteBuf, arrayID); in readSampleData()
164 dstSize = (size_t) env->GetDirectBufferCapacity(byteBuf); in readSampleData()
200 byteBuf, limitID, offset + *sampleSize); in readSampleData()
203 byteBuf, positionID, offset); in readSampleData()
407 JNIEnv *env, jobject thiz, jobject byteBuf, jint offset) { in android_media_MediaExtractor_readSampleData() argument
416 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);