FFmpeg
|
#include <inttypes.h>
#include <string.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"
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 39 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 85 of file vaapi_encode.c.
Referenced by vaapi_encode_issue(), and vaapi_encode_make_misc_param_buffer().
|
static |
Definition at line 113 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 136 of file vaapi_encode.c.
Referenced by vaapi_encode_discard(), and vaapi_encode_output().
|
static |
Definition at line 167 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 222 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 249 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 626 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 695 of file vaapi_encode.c.
Referenced by vaapi_encode_free().
|
static |
Definition at line 712 of file vaapi_encode.c.
Referenced by vaapi_encode_send_frame().
|
static |
Definition at line 736 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_close(), vaapi_encode_clear_old(), and vaapi_encode_send_frame().
|
static |
Definition at line 767 of file vaapi_encode.c.
Referenced by vaapi_encode_pick_next(), and vaapi_encode_set_b_pictures().
|
static |
Definition at line 797 of file vaapi_encode.c.
Referenced by vaapi_encode_clear_old().
|
static |
Definition at line 827 of file vaapi_encode.c.
Referenced by vaapi_encode_pick_next().
|
static |
Definition at line 891 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 1025 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
|
static |
Definition at line 1063 of file vaapi_encode.c.
Referenced by vaapi_encode_send_frame().
|
static |
Definition at line 1089 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_receive_packet().
int ff_vaapi_encode_receive_packet | ( | AVCodecContext * | avctx, |
AVPacket * | pkt | ||
) |
Definition at line 1155 of file vaapi_encode.c.
|
static |
Definition at line 1221 of file vaapi_encode.c.
Referenced by vaapi_encode_init_quality(), and vaapi_encode_init_rate_control().
|
static |
Definition at line 1273 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 1494 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 1824 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 1888 of file vaapi_encode.c.
Referenced by vaapi_encode_init_slice_structure().
|
static |
Definition at line 1933 of file vaapi_encode.c.
Referenced by vaapi_encode_init_slice_structure().
|
static |
Definition at line 1994 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2083 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2143 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2190 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2223 of file vaapi_encode.c.
Referenced by vaapi_encode_alloc_output_buffer().
|
static |
Definition at line 2237 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
|
static |
Definition at line 2274 of file vaapi_encode.c.
Referenced by ff_vaapi_encode_init().
av_cold int ff_vaapi_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 2362 of file vaapi_encode.c.
Referenced by 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 2531 of file vaapi_encode.c.
Referenced by 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 32 of file vaapi_encode.c.
Definition at line 37 of file vaapi_encode.c.
Referenced by vaapi_encode_issue().
|
static |
Definition at line 1244 of file vaapi_encode.c.
Referenced by vaapi_encode_profile_entrypoint().
|
static |
Definition at line 1258 of file vaapi_encode.c.
Referenced by vaapi_encode_profile_entrypoint().
|
static |
Definition at line 1473 of file vaapi_encode.c.
Referenced by vaapi_encode_init_rate_control().