FFmpeg
|
#include <inttypes.h>
#include <string.h>
#include "config.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
#include "libavutil/log.h"
#include "libavutil/pixdesc.h"
#include "vaapi_encode.h"
#include "encode.h"
#include "avcodec.h"
#include "refstruct.h"
Go to the source code of this file.
Data Structures | |
struct | VAAPIEncodeRTFormat |
Macros | |
#define | TRY_RC_MODE(mode, fail) |
Variables | |
const AVCodecHWConfigInternal *const | ff_vaapi_encode_hw_configs [] |
static const char *const | picture_type_name [] = { "IDR", "I", "P", "B" } |
static const VAAPIEncodeRTFormat | vaapi_encode_rt_formats [] |
static const VAEntrypoint | vaapi_encode_entrypoints_normal [] |
static const VAAPIEncodeRCMode | vaapi_encode_rc_modes [] |
|
static |
Definition at line 42 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 88 of file vaapi_encode.c.
Referenced by vaapi_encode_issue(), and vaapi_encode_make_misc_param_buffer().
|
static |
Definition at line 116 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 139 of file vaapi_encode.c.
Referenced by vaapi_encode_discard(), and vaapi_encode_output().
|
static |
Definition at line 184 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 239 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 266 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 667 of file vaapi_encode.c.
Referenced by vaapi_encode_output().
|
static |
Definition at line 707 of file vaapi_encode.c.
Referenced by vaapi_encode_get_coded_data().
|
static |
Definition at line 738 of file vaapi_encode.c.
Referenced by vaapi_encode_get_coded_data().
|
static |
Definition at line 774 of file vaapi_encode.c.
Referenced by vaapi_encode_output().
|
static |
Definition at line 819 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 864 of file vaapi_encode.c.
Referenced by vaapi_encode_free().
|
static |
Definition at line 881 of file vaapi_encode.c.
Referenced by vaapi_encode_send_frame().
|
static |
Definition at line 905 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_close(), vaapi_encode_clear_old(), and vaapi_encode_send_frame().
|
static |
Definition at line 937 of file vaapi_encode.c.
Referenced by vaapi_encode_pick_next(), and vaapi_encode_set_b_pictures().
|
static |
Definition at line 971 of file vaapi_encode.c.
Referenced by vaapi_encode_clear_old().
|
static |
Definition at line 1007 of file vaapi_encode.c.
Referenced by vaapi_encode_pick_next().
|
static |
Definition at line 1071 of file vaapi_encode.c.
Referenced by vaapi_encode_pick_next().
|
static |
Definition at line 1104 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 1256 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 1294 of file vaapi_encode.c.
Referenced by vaapi_encode_send_frame().
|
static |
Definition at line 1320 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
int ff_vaapi_encode_receive_packet | ( | AVCodecContext * | avctx, |
AVPacket * | pkt | ||
) |
if no B frame before repeat P frame, sent repeat P frame out.
loop to get an available pkt in encoder flushing.
Definition at line 1396 of file vaapi_encode.c.
|
static |
Definition at line 1495 of file vaapi_encode.c.
Referenced by vaapi_encode_init_quality(), and vaapi_encode_init_rate_control().
|
static |
Definition at line 1552 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 1773 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2131 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2188 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2309 of file vaapi_encode.c.
Referenced by vaapi_encode_init_slice_structure().
|
static |
Definition at line 2354 of file vaapi_encode.c.
Referenced by vaapi_encode_init_slice_structure().
|
static |
Definition at line 2415 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2506 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2566 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2613 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2646 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2659 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2685 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
av_cold int ff_vaapi_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 2773 of file vaapi_encode.c.
Referenced by vaapi_encode_av1_init(), vaapi_encode_h264_init(), vaapi_encode_h265_init(), vaapi_encode_mjpeg_init(), vaapi_encode_mpeg2_init(), vaapi_encode_vp8_init(), and vaapi_encode_vp9_init().
av_cold int ff_vaapi_encode_close | ( | AVCodecContext * | avctx | ) |
Definition at line 2982 of file vaapi_encode.c.
Referenced by vaapi_encode_av1_close(), vaapi_encode_h264_close(), vaapi_encode_h265_close(), vaapi_encode_mjpeg_close(), and vaapi_encode_mpeg2_close().
const AVCodecHWConfigInternal* const ff_vaapi_encode_hw_configs[] |
Definition at line 35 of file vaapi_encode.c.
Definition at line 40 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 1518 of file vaapi_encode.c.
Referenced by vaapi_encode_profile_entrypoint().
|
static |
Definition at line 1537 of file vaapi_encode.c.
Referenced by vaapi_encode_profile_entrypoint().
|
static |
Definition at line 1752 of file vaapi_encode.c.
Referenced by vaapi_encode_init_rate_control().