|
FFmpeg
|
#include "config_components.h"#include <assert.h>#include <stdbool.h>#include <rockchip/mpp_frame.h>#include <rockchip/mpp_packet.h>#include <rockchip/rk_mpi.h>#include "libavutil/avassert.h"#include "libavutil/hwcontext.h"#include "libavutil/hwcontext_drm.h"#include "libavutil/imgutils.h"#include "libavutil/log.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "avcodec.h"#include "codec_internal.h"#include "encode.h"#include "hwconfig.h"Go to the source code of this file.
Data Structures | |
| struct | RKMPPEncoderContext |
Macros | |
| #define | RKMPP_TIME_BASE AV_TIME_BASE_Q |
| #define | RKMPP_ALIGN_SIZE 16 |
| #define | OFFSET(x) offsetof(RKMPPEncoderContext, x) |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
| #define | RKMPP_ENC(NAME, ID) |
Functions | |
| static av_cold int | rkmpp_close_encoder (AVCodecContext *avctx) |
| static int | rkmpp_create_frame_buf (AVCodecContext *avctx) |
| static int | rkmpp_export_extradata (AVCodecContext *avctx) |
| static av_cold int | rkmpp_init_encoder (AVCodecContext *avctx) |
| static int | rkmpp_output_pkt (AVCodecContext *avctx, AVPacket *pkt, MppPacket packet) |
| static int | rkmpp_set_hw_frame (AVCodecContext *avctx, MppFrame frame) |
| static int | rkmpp_set_sw_frame (AVCodecContext *avctx, MppFrame frame) |
| static int | rkmpp_send_frame (AVCodecContext *avctx) |
| static int | rkmpp_receive (AVCodecContext *avctx, AVPacket *pkt) |
| static av_cold void | rkmpp_flush (AVCodecContext *avctx) |
Variables | |
| static enum AVPixelFormat | rkmpp_pix_fmts [] |
| static const AVCodecHWConfigInternal *const | rkmpp_hw_configs [] |
| static const AVOption | rkmpp_options [] |
| static const AVClass | rkmpp_enc_class |
| #define RKMPP_TIME_BASE AV_TIME_BASE_Q |
Definition at line 45 of file rkmppenc.c.
| #define RKMPP_ALIGN_SIZE 16 |
Definition at line 46 of file rkmppenc.c.
| #define OFFSET | ( | x | ) | offsetof(RKMPPEncoderContext, x) |
Definition at line 536 of file rkmppenc.c.
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Definition at line 537 of file rkmppenc.c.
| #define RKMPP_ENC | ( | NAME, | |
| ID | |||
| ) |
Definition at line 557 of file rkmppenc.c.
|
static |
Definition at line 74 of file rkmppenc.c.
|
static |
Definition at line 104 of file rkmppenc.c.
Referenced by rkmpp_init_encoder().
|
static |
Definition at line 137 of file rkmppenc.c.
Referenced by rkmpp_init_encoder().
|
static |
Definition at line 182 of file rkmppenc.c.
|
static |
Definition at line 310 of file rkmppenc.c.
Referenced by rkmpp_receive().
|
static |
Definition at line 365 of file rkmppenc.c.
Referenced by rkmpp_send_frame().
|
static |
Definition at line 415 of file rkmppenc.c.
Referenced by rkmpp_send_frame().
|
static |
Definition at line 448 of file rkmppenc.c.
Referenced by rkmpp_receive().
|
static |
Definition at line 490 of file rkmppenc.c.
|
static |
Definition at line 524 of file rkmppenc.c.
|
static |
Definition at line 67 of file rkmppenc.c.
|
static |
Definition at line 531 of file rkmppenc.c.
|
static |
Definition at line 538 of file rkmppenc.c.
|
static |
Definition at line 550 of file rkmppenc.c.
1.8.17