FFmpeg
4.0
|
#include <drm_fourcc.h>
#include <pthread.h>
#include <rockchip/mpp_buffer.h>
#include <rockchip/rk_mpi.h>
#include <time.h>
#include <unistd.h>
#include "avcodec.h"
#include "decode.h"
#include "hwaccel.h"
#include "internal.h"
#include "libavutil/buffer.h"
#include "libavutil/common.h"
#include "libavutil/frame.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_drm.h"
#include "libavutil/imgutils.h"
#include "libavutil/log.h"
Go to the source code of this file.
Data Structures | |
struct | RKMPPDecoder |
struct | RKMPPDecodeContext |
struct | RKMPPFrameContext |
Macros | |
#define | RECEIVE_FRAME_TIMEOUT 100 |
#define | FRAMEGROUP_MAX_FRAMES 16 |
#define | INPUT_MAX_PACKETS 4 |
#define | RKMPP_DEC_CLASS(NAME) |
#define | RKMPP_DEC(NAME, ID, BSFS) |
Functions | |
static MppCodingType | rkmpp_get_codingtype (AVCodecContext *avctx) |
static uint32_t | rkmpp_get_frameformat (MppFrameFormat mppformat) |
static int | rkmpp_write_data (AVCodecContext *avctx, uint8_t *buffer, int size, int64_t pts) |
static int | rkmpp_close_decoder (AVCodecContext *avctx) |
static void | rkmpp_release_decoder (void *opaque, uint8_t *data) |
static int | rkmpp_init_decoder (AVCodecContext *avctx) |
static int | rkmpp_send_packet (AVCodecContext *avctx, const AVPacket *avpkt) |
static void | rkmpp_release_frame (void *opaque, uint8_t *data) |
static int | rkmpp_retrieve_frame (AVCodecContext *avctx, AVFrame *frame) |
static int | rkmpp_receive_frame (AVCodecContext *avctx, AVFrame *frame) |
static void | rkmpp_flush (AVCodecContext *avctx) |
Variables | |
static const AVCodecHWConfigInternal * | rkmpp_hw_configs [] |
#define RECEIVE_FRAME_TIMEOUT 100 |
Definition at line 41 of file rkmppdec.c.
Referenced by rkmpp_init_decoder().
#define FRAMEGROUP_MAX_FRAMES 16 |
Definition at line 42 of file rkmppdec.c.
Referenced by rkmpp_init_decoder().
#define INPUT_MAX_PACKETS 4 |
Definition at line 43 of file rkmppdec.c.
#define RKMPP_DEC_CLASS | ( | NAME | ) |
Definition at line 556 of file rkmppdec.c.
#define RKMPP_DEC | ( | NAME, | |
ID, | |||
BSFS | |||
) |
Definition at line 562 of file rkmppdec.c.
|
static |
Definition at line 67 of file rkmppdec.c.
Referenced by rkmpp_init_decoder().
|
static |
Definition at line 78 of file rkmppdec.c.
Referenced by rkmpp_retrieve_frame().
|
static |
Definition at line 89 of file rkmppdec.c.
Referenced by rkmpp_send_packet().
|
static |
Definition at line 124 of file rkmppdec.c.
Referenced by rkmpp_init_decoder().
Definition at line 131 of file rkmppdec.c.
Referenced by rkmpp_init_decoder().
|
static |
Definition at line 152 of file rkmppdec.c.
|
static |
Definition at line 269 of file rkmppdec.c.
Definition at line 307 of file rkmppdec.c.
Referenced by rkmpp_retrieve_frame().
|
static |
Definition at line 320 of file rkmppdec.c.
|
static |
Definition at line 496 of file rkmppdec.c.
|
static |
Definition at line 536 of file rkmppdec.c.
|
static |
Definition at line 551 of file rkmppdec.c.