Lines Matching refs:JMediaCodec

115 JMediaCodec::JMediaCodec(  in JMediaCodec()  function in android::JMediaCodec
144 void JMediaCodec::cacheJavaObjects(JNIEnv *env) { in cacheJavaObjects()
183 status_t JMediaCodec::initCheck() const { in initCheck()
187 void JMediaCodec::registerSelf() { in registerSelf()
191 void JMediaCodec::release() { in release()
205 JMediaCodec::~JMediaCodec() { in ~JMediaCodec()
230 void JMediaCodec::deleteJavaObjects(JNIEnv *env) { in deleteJavaObjects()
242 status_t JMediaCodec::enableOnFrameRenderedListener(jboolean enable) { in enableOnFrameRenderedListener()
254 status_t JMediaCodec::setCallback(jobject cb) { in setCallback()
266 status_t JMediaCodec::configure( in configure()
282 status_t JMediaCodec::setSurface( in setSurface()
295 status_t JMediaCodec::createInputSurface( in createInputSurface()
300 status_t JMediaCodec::setInputSurface( in setInputSurface()
305 status_t JMediaCodec::start() { in start()
309 status_t JMediaCodec::stop() { in stop()
315 status_t JMediaCodec::flush() { in flush()
319 status_t JMediaCodec::reset() { in reset()
323 status_t JMediaCodec::queueInputBuffer( in queueInputBuffer()
331 status_t JMediaCodec::queueSecureInputBuffer( in queueSecureInputBuffer()
348 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer()
352 status_t JMediaCodec::dequeueOutputBuffer( in dequeueOutputBuffer()
373 status_t JMediaCodec::releaseOutputBuffer( in releaseOutputBuffer()
383 status_t JMediaCodec::signalEndOfInputStream() { in signalEndOfInputStream()
387 status_t JMediaCodec::getFormat(JNIEnv *env, bool input, jobject *format) const { in getFormat()
398 status_t JMediaCodec::getOutputFormat(JNIEnv *env, size_t index, jobject *format) const { in getOutputFormat()
408 status_t JMediaCodec::getBuffers( in getBuffers()
449 status_t JMediaCodec::createByteBufferFromABuffer( in createByteBufferFromABuffer()
493 status_t JMediaCodec::getBuffer( in getBuffer()
510 status_t JMediaCodec::getImage( in getImage()
605 status_t JMediaCodec::getName(JNIEnv *env, jstring *nameStr) const { in getName()
619 status_t JMediaCodec::setParameters(const sp<AMessage> &msg) { in setParameters()
623 void JMediaCodec::setVideoScalingMode(int mode) { in setVideoScalingMode()
669 void JMediaCodec::handleCallback(const sp<AMessage> &msg) { in handleCallback()
763 void JMediaCodec::handleFrameRenderedNotification(const sp<AMessage> &msg) { in handleFrameRenderedNotification()
784 void JMediaCodec::onMessageReceived(const sp<AMessage> &msg) { in onMessageReceived()
807 static sp<JMediaCodec> setMediaCodec( in setMediaCodec()
808 JNIEnv *env, jobject thiz, const sp<JMediaCodec> &codec) { in setMediaCodec()
809 sp<JMediaCodec> old = (JMediaCodec *)env->GetLongField(thiz, gFields.context); in setMediaCodec()
827 static sp<JMediaCodec> getMediaCodec(JNIEnv *env, jobject thiz) { in getMediaCodec()
828 return (JMediaCodec *)env->GetLongField(thiz, gFields.context); in getMediaCodec()
927 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_enableOnFrameRenderedListener()
943 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setCallback()
962 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_configure()
1005 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_native_setSurface()
1129 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setInputSurface()
1148 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_createInputSurface()
1170 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_start()
1185 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_stop()
1200 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_reset()
1222 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_flush()
1244 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_queueInputBuffer()
1270 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_queueSecureInputBuffer()
1429 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_dequeueInputBuffer()
1450 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_dequeueOutputBuffer()
1473 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_releaseOutputBuffer()
1489 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_signalEndOfInputStream()
1504 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getFormatNative()
1527 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getOutputFormatForIndexNative()
1550 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getBuffers()
1576 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getBuffer()
1602 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getImage()
1628 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_getName()
1651 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setParameters()
1670 sp<JMediaCodec> codec = getMediaCodec(env, thiz); in android_media_MediaCodec_setVideoScalingMode()
1846 sp<JMediaCodec> codec = new JMediaCodec(env, thiz, tmp, nameIsType, encoder); in android_media_MediaCodec_native_setup()