FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
mediacodecdec.c File Reference
#include <stdint.h>
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/fifo.h"
#include "libavutil/opt.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "h264_parse.h"
#include "hevc_parse.h"
#include "internal.h"
#include "mediacodec_wrapper.h"
#include "mediacodecdec_common.h"

Go to the source code of this file.

Data Structures

struct  MediaCodecH264DecContext
 

Functions

static av_cold int mediacodec_decode_close (AVCodecContext *avctx)
 
static av_cold int mediacodec_decode_init (AVCodecContext *avctx)
 
static int mediacodec_process_data (AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *pkt)
 
static int mediacodec_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
 
static void mediacodec_decode_flush (AVCodecContext *avctx)
 

Function Documentation

static av_cold int mediacodec_decode_close ( AVCodecContext avctx)
static

Definition at line 52 of file mediacodecdec.c.

Referenced by mediacodec_decode_init().

static av_cold int mediacodec_decode_init ( AVCodecContext avctx)
static

Definition at line 294 of file mediacodecdec.c.

static int mediacodec_process_data ( AVCodecContext avctx,
AVFrame frame,
int got_frame,
AVPacket pkt 
)
static

Definition at line 421 of file mediacodecdec.c.

Referenced by mediacodec_decode_frame().

static int mediacodec_decode_frame ( AVCodecContext avctx,
void data,
int got_frame,
AVPacket avpkt 
)
static

Definition at line 429 of file mediacodecdec.c.

static void mediacodec_decode_flush ( AVCodecContext avctx)
static

Definition at line 528 of file mediacodecdec.c.