29 #if CONFIG_H264_MEDIACODEC_HWACCEL
55 ctx->
surface = (*env)->NewGlobalRef(env, surface);
82 (*env)->DeleteGlobalRef(env, ctx->
surface);
This structure holds a reference to a android/view/Surface object that will be used as output by the ...
Memory handling functions.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
void * hwaccel_context
Hardware accelerator context.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define atomic_fetch_add(object, operand)
Libavcodec external API header.
main external API structure.
JNIEnv * ff_jni_get_env(void *log_ctx)
void * surface
android/view/Surface object reference.
#define AVERROR_EXTERNAL
Generic error in an external library.