FFmpeg
4.0
|
#include <stdint.h>
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/pixfmt.h"
#include "libavutil/internal.h"
#include "avcodec.h"
#include "decode.h"
#include "h264_parse.h"
#include "hevc_parse.h"
#include "hwaccel.h"
#include "internal.h"
#include "mediacodec_wrapper.h"
#include "mediacodecdec_common.h"
Go to the source code of this file.
Data Structures | |
struct | MediaCodecH264DecContext |
Macros | |
#define | OFFSET(x) offsetof(MediaCodecH264DecContext, x) |
#define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
#define | DECLARE_MEDIACODEC_VCLASS(short_name) |
#define | DECLARE_MEDIACODEC_VDEC(short_name, full_name, codec_id, bsf) |
Functions | |
static av_cold int | mediacodec_decode_close (AVCodecContext *avctx) |
static av_cold int | mediacodec_decode_init (AVCodecContext *avctx) |
static int | mediacodec_send_receive (AVCodecContext *avctx, MediaCodecH264DecContext *s, AVFrame *frame, bool wait) |
static int | mediacodec_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
static void | mediacodec_decode_flush (AVCodecContext *avctx) |
Variables | |
static const AVCodecHWConfigInternal * | mediacodec_hw_configs [] |
static const AVOption | ff_mediacodec_vdec_options [] |
#define OFFSET | ( | x | ) | offsetof(MediaCodecH264DecContext, x) |
Definition at line 494 of file mediacodecdec.c.
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Definition at line 495 of file mediacodecdec.c.
#define DECLARE_MEDIACODEC_VCLASS | ( | short_name | ) |
Definition at line 502 of file mediacodecdec.c.
#define DECLARE_MEDIACODEC_VDEC | ( | short_name, | |
full_name, | |||
codec_id, | |||
bsf | |||
) |
Definition at line 510 of file mediacodecdec.c.
|
static |
Definition at line 54 of file mediacodecdec.c.
Referenced by mediacodec_decode_init().
|
static |
Definition at line 287 of file mediacodecdec.c.
|
static |
Definition at line 394 of file mediacodecdec.c.
Referenced by mediacodec_receive_frame().
|
static |
Definition at line 417 of file mediacodecdec.c.
|
static |
Definition at line 472 of file mediacodecdec.c.
|
static |
Definition at line 481 of file mediacodecdec.c.
|
static |
Definition at line 496 of file mediacodecdec.c.