Lines Matching refs:JMediaCodec
104 JMediaCodec::JMediaCodec( in JMediaCodec() function in android::JMediaCodec
133 void JMediaCodec::cacheJavaObjects(JNIEnv *env) { in cacheJavaObjects()
172 status_t JMediaCodec::initCheck() const { in initCheck()
176 void JMediaCodec::registerSelf() { in registerSelf()
180 void JMediaCodec::release() { in release()
194 JMediaCodec::~JMediaCodec() { in ~JMediaCodec()
219 void JMediaCodec::deleteJavaObjects(JNIEnv *env) { in deleteJavaObjects()
231 status_t JMediaCodec::enableOnFrameRenderedListener(jboolean enable) { in enableOnFrameRenderedListener()
243 status_t JMediaCodec::setCallback(jobject cb) { in setCallback()
255 status_t JMediaCodec::configure( in configure()
271 status_t JMediaCodec::setSurface( in setSurface()
284 status_t JMediaCodec::createInputSurface( in createInputSurface()
289 status_t JMediaCodec::setInputSurface( in setInputSurface()
294 status_t JMediaCodec::start() { in start()
298 status_t JMediaCodec::stop() { in stop()
304 status_t JMediaCodec::flush() { in flush()
308 status_t JMediaCodec::reset() { in reset()
312 status_t JMediaCodec::queueInputBuffer( in queueInputBuffer()
320 status_t JMediaCodec::queueSecureInputBuffer( in queueSecureInputBuffer()
336 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer()
340 status_t JMediaCodec::dequeueOutputBuffer( in dequeueOutputBuffer()
361 status_t JMediaCodec::releaseOutputBuffer( in releaseOutputBuffer()
371 status_t JMediaCodec::signalEndOfInputStream() { in signalEndOfInputStream()
375 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const { in getFormat()
386 status_t JMediaCodec::getOutputFormat(JNIEnv *env, size_t index, jobject *format) const { in getOutputFormat()
396 status_t JMediaCodec::getBuffers( in getBuffers()
437 status_t JMediaCodec::createByteBufferFromABuffer( in createByteBufferFromABuffer()
475 status_t JMediaCodec::getBuffer( in getBuffer()
492 status_t JMediaCodec::getImage( in getImage()
587 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const { in getName()
601 status_t JMediaCodec::setParameters(const sp<AMessage> &msg) { in setParameters()
605 void JMediaCodec::setVideoScalingMode(int mode) { in setVideoScalingMode()
651 void JMediaCodec::handleCallback(const sp<AMessage> &msg) { in handleCallback()
745 void JMediaCodec::handleFrameRenderedNotification(const sp<AMessage> &msg) { in handleFrameRenderedNotification()
766 void JMediaCodec::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
789 static sp<JMediaCodec> setMediaCodec( in setMediaCodec()
790 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) { in setMediaCodec()
791 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context); in setMediaCodec()
809 static sp<JMediaCodec> getMediaCodec(JNIEnv *env, jobject thiz) { in getMediaCodec()
810 return (JMediaCodec *)env->GetLongField(thiz, gFields.context); in getMediaCodec()
898 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
914 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setCallback()
933 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_configure()
976 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setSurface()
1100 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setInputSurface()
1119 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_createInputSurface()
1141 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_start()
1156 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_stop()
1171 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_reset()
1193 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_flush()
1215 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_queueInputBuffer()
1241 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_queueSecureInputBuffer()
1377 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_dequeueInputBuffer()
1398 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_dequeueOutputBuffer()
1421 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_releaseOutputBuffer()
1437 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_signalEndOfInputStream()
1452 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getFormatNative()
1475 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getOutputFormatForIndexNative()
1498 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getBuffers()
1524 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getBuffer()
1550 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getImage()
1576 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getName()
1599 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setParameters()
1618 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setVideoScalingMode()
1761 sp<JMediaCodec> codec = new JMediaCodec(env, thiz, tmp, nameIsType, encoder); in android_media_MediaCodec_native_setup()