FFmpeg
Data Structures | Functions
mediacodec_surface.h File Reference
#include "libavcodec/avcodec.h"

Go to the source code of this file.

Data Structures

struct  FFANativeWindow
 

Functions

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

Function Documentation

◆ ff_mediacodec_surface_ref()

FFANativeWindow* ff_mediacodec_surface_ref ( void *  surface,
void *  native_window,
void *  log_ctx 
)

Definition at line 30 of file mediacodec_surface.c.

Referenced by ff_mediacodec_dec_init(), and mediacodec_init().

◆ ff_mediacodec_surface_unref()

int ff_mediacodec_surface_unref ( FFANativeWindow window,
void *  log_ctx 
)

Definition at line 59 of file mediacodec_surface.c.

Referenced by ff_mediacodec_dec_unref(), and mediacodec_close().