FFmpeg
Functions
mediacodec_surface.c File Reference
#include <jni.h>
#include "ffjni.h"
#include "mediacodec_surface.h"

Go to the source code of this file.

Functions

FFANativeWindowff_mediacodec_surface_ref (void *surface, void *log_ctx)
 
int ff_mediacodec_surface_unref (FFANativeWindow *window, void *log_ctx)
 

Function Documentation

FFANativeWindow* ff_mediacodec_surface_ref ( void surface,
void log_ctx 
)

Definition at line 28 of file mediacodec_surface.c.

Referenced by ff_mediacodec_dec_init().

int ff_mediacodec_surface_unref ( FFANativeWindow window,
void log_ctx 
)

Definition at line 40 of file mediacodec_surface.c.

Referenced by ff_mediacodec_dec_unref().