#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 "codec_internal.h"
#include "decode.h"
#include "hwconfig.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.
◆ RECEIVE_FRAME_TIMEOUT
#define RECEIVE_FRAME_TIMEOUT 100 |
◆ FRAMEGROUP_MAX_FRAMES
#define FRAMEGROUP_MAX_FRAMES 16 |
◆ INPUT_MAX_PACKETS
#define INPUT_MAX_PACKETS 4 |
◆ RKMPP_DEC_CLASS
#define RKMPP_DEC_CLASS |
( |
|
NAME | ) |
|
Value: static const AVClass rkmpp_##NAME##_dec_class = { \
};
Definition at line 558 of file rkmppdec.c.
◆ RKMPP_DEC
#define RKMPP_DEC |
( |
|
NAME, |
|
|
|
ID, |
|
|
|
BSFS |
|
) |
| |
Value:
const
FFCodec ff_##NAME##_rkmpp_decoder = { \
.
p.
name = #NAME
"_rkmpp", \
CODEC_LONG_NAME(#NAME " (rkmpp)"), \
.p.priv_class = &rkmpp_##NAME##_dec_class, \
.bsfs = BSFS, \
.p.wrapper_name = "rkmpp", \
};
Definition at line 564 of file rkmppdec.c.
◆ rkmpp_get_codingtype()
◆ rkmpp_get_frameformat()
static uint32_t rkmpp_get_frameformat |
( |
MppFrameFormat |
mppformat | ) |
|
|
static |
◆ rkmpp_write_data()
◆ rkmpp_close_decoder()
◆ rkmpp_release_decoder()
static void rkmpp_release_decoder |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ rkmpp_init_decoder()
◆ rkmpp_send_packet()
◆ rkmpp_release_frame()
static void rkmpp_release_frame |
( |
void * |
opaque, |
|
|
uint8_t * |
data |
|
) |
| |
|
static |
◆ rkmpp_retrieve_frame()
◆ rkmpp_receive_frame()
◆ rkmpp_flush()
◆ rkmpp_hw_configs