55 ctx->
surface = (*env)->NewGlobalRef(env, surface);
82 (*env)->DeleteGlobalRef(env, ctx->
surface);
97 "Releasing output buffer %zd (%p) ts=%"PRId64
" with render=%d [%d pending]\n",
This structure holds a reference to a android/view/Surface object that will be used as output by the ...
Memory handling functions.
void * hwaccel_context
Hardware accelerator context.
atomic_int hw_buffer_count
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
#define atomic_load(object)
#define AV_LOG_DEBUG
Stuff which is only useful for libav* developers.
void * av_mallocz(size_t size)
Allocate a memory block with alignment suitable for all memory accesses (including vectors if availab...
#define atomic_fetch_sub(object, operand)
#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.