Home
last modified time | relevance | path

Searched refs:input_buffers (Results 1 – 2 of 2) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/androidmedia/jni/
Dgstamc-codec-jni.c40 RealBuffer *input_buffers, *output_buffers; member
556 if (codec->input_buffers) in gst_amc_codec_free()
557 gst_amc_jni_free_buffer_array (env, codec->input_buffers, in gst_amc_codec_free()
559 codec->input_buffers = NULL; in gst_amc_codec_free()
639 jobject input_buffers = NULL; in gst_amc_codec_get_input_buffers() local
649 media_codec.get_input_buffers, &input_buffers)) in gst_amc_codec_get_input_buffers()
652 gst_amc_jni_get_buffer_array (env, err, input_buffers, &ret, n_buffers); in gst_amc_codec_get_input_buffers()
655 if (input_buffers) in gst_amc_codec_get_input_buffers()
656 gst_amc_jni_object_local_unref (env, input_buffers); in gst_amc_codec_get_input_buffers()
703 if (codec->input_buffers) in gst_amc_codec_start()
[all …]
/third_party/ffmpeg/libavcodec/
Dmediacodec_wrapper.c285 jobject input_buffers; member
1320 (*env)->DeleteGlobalRef(env, codec->input_buffers); in DECLARE_FF_AMEDIACODEC_CREATE_FUNC()
1321 codec->input_buffers = NULL; in DECLARE_FF_AMEDIACODEC_CREATE_FUNC()
1539 jobject input_buffers = NULL; in ff_AMediaCodec_getInputBuffer() local
1549 if (!codec->input_buffers) { in ff_AMediaCodec_getInputBuffer()
1550input_buffers = (*env)->CallObjectMethod(env, codec->object, codec->jfields.get_input_buffers_id); in ff_AMediaCodec_getInputBuffer()
1555 codec->input_buffers = (*env)->NewGlobalRef(env, input_buffers); in ff_AMediaCodec_getInputBuffer()
1561 buffer = (*env)->GetObjectArrayElement(env, codec->input_buffers, idx); in ff_AMediaCodec_getInputBuffer()
1574 if (input_buffers) { in ff_AMediaCodec_getInputBuffer()
1575 (*env)->DeleteLocalRef(env, input_buffers); in ff_AMediaCodec_getInputBuffer()