FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
mediacodecdec.h File Reference
#include <stdint.h>
#include <sys/types.h>
#include "libavutil/frame.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "mediacodec_wrapper.h"

Go to the source code of this file.

Data Structures

struct  MediaCodecDecContext
 

Functions

int ff_mediacodec_dec_init (AVCodecContext *avctx, MediaCodecDecContext *s, const char *mime, FFAMediaFormat *format)
 
int ff_mediacodec_dec_decode (AVCodecContext *avctx, MediaCodecDecContext *s, AVFrame *frame, int *got_frame, AVPacket *pkt)
 
int ff_mediacodec_dec_flush (AVCodecContext *avctx, MediaCodecDecContext *s)
 
int ff_mediacodec_dec_close (AVCodecContext *avctx, MediaCodecDecContext *s)
 

Function Documentation

int ff_mediacodec_dec_init ( AVCodecContext avctx,
MediaCodecDecContext s,
const char *  mime,
FFAMediaFormat format 
)

Definition at line 307 of file mediacodecdec.c.

Referenced by mediacodec_decode_init().

int ff_mediacodec_dec_decode ( AVCodecContext avctx,
MediaCodecDecContext s,
AVFrame frame,
int *  got_frame,
AVPacket pkt 
)

Definition at line 377 of file mediacodecdec.c.

Referenced by mediacodec_decode_frame(), and mediacodec_process_data().

int ff_mediacodec_dec_flush ( AVCodecContext avctx,
MediaCodecDecContext s 
)

Definition at line 543 of file mediacodecdec.c.

Referenced by mediacodec_decode_flush().

int ff_mediacodec_dec_close ( AVCodecContext avctx,
MediaCodecDecContext s 
)

Definition at line 565 of file mediacodecdec.c.

Referenced by ff_mediacodec_dec_init(), and mediacodec_decode_close().