Go to the source code of this file.
|
static int | is_keyframe (NalUnitType naltype) |
|
static int | rd_get (libx265Context *ctx) |
|
static void | rd_release (libx265Context *ctx, int idx) |
|
static av_cold int | libx265_encode_close (AVCodecContext *avctx) |
|
static av_cold int | libx265_param_parse_float (AVCodecContext *avctx, const char *key, float value) |
|
static av_cold int | libx265_param_parse_int (AVCodecContext *avctx, const char *key, int value) |
|
static int | handle_mdcv (void *logctx, const x265_api *api, x265_param *params, const AVMasteringDisplayMetadata *mdcv) |
|
static int | handle_side_data (AVCodecContext *avctx, const x265_api *api, x265_param *params) |
|
static av_cold int | libx265_encode_init (AVCodecContext *avctx) |
|
static av_cold int | libx265_encode_set_roi (libx265Context *ctx, const AVFrame *frame, x265_picture *pic) |
|
static void | free_picture (libx265Context *ctx, x265_picture *pic) |
|
static int | libx265_encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) |
|
static av_cold void | libx265_encode_init_csp (FFCodec *codec) |
|
◆ OFFSET
◆ VE
◆ is_keyframe()
static int is_keyframe |
( |
NalUnitType |
naltype | ) |
|
|
static |
◆ rd_get()
◆ rd_release()
◆ libx265_encode_close()
◆ libx265_param_parse_float()
◆ libx265_param_parse_int()
◆ handle_mdcv()
◆ handle_side_data()
static int handle_side_data |
( |
AVCodecContext * |
avctx, |
|
|
const x265_api * |
api, |
|
|
x265_param * |
params |
|
) |
| |
|
static |
◆ libx265_encode_init()
◆ libx265_encode_set_roi()
◆ free_picture()
◆ libx265_encode_frame()
◆ libx265_encode_init_csp()
◆ x265_csp_eight
◆ x265_csp_ten
◆ x265_csp_twelve
◆ options
Initial value:= {
{
"forced-idr",
"if forcing keyframes, force them as IDR frames",
OFFSET(forced_idr),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
VE },
{
"udu_sei",
"Use user data unregistered SEI if available",
OFFSET(udu_sei),
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1,
VE },
{
"x265-params",
"set the x265 configuration using a :-separated list of key=value parameters",
OFFSET(x265_opts),
AV_OPT_TYPE_DICT, { 0 }, 0, 0,
VE },
}
Definition at line 929 of file libx265.c.
◆ class_name
◆ item_name
◆ option
◆ version
◆ @114
◆ x265_defaults
Initial value:= {
{ "b", "0" },
{ "bf", "-1" },
{ "g", "-1" },
{ "keyint_min", "-1" },
{ "refs", "-1" },
{ "qmin", "-1" },
{ "qmax", "-1" },
{ "qdiff", "-1" },
{ "qblur", "-1" },
{ "qcomp", "-1" },
{ "i_qfactor", "-1" },
{ "b_qfactor", "-1" },
}
Definition at line 949 of file libx265.c.
◆ ff_libx265_encoder
Initial value:= {
.p.name = "libx265",
.p.priv_class = &class,
.p.wrapper_name = "libx265",
}
Definition at line 965 of file libx265.c.
static const FFCodecDefault defaults[]
#define AV_PIX_FMT_YUV420P10
#define FF_CODEC_CAP_NOT_INIT_THREADSAFE
The codec is not known to be init-threadsafe (i.e.
static int libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define AV_PIX_FMT_GBRP10
static av_cold void libx265_encode_init_csp(FFCodec *codec)
#define FF_CODEC_ENCODE_CB(func)
#define AV_PIX_FMT_YUV444P10
@ AV_PIX_FMT_YUVJ422P
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
#define AV_CODEC_CAP_OTHER_THREADS
Codec supports multithreading through a method other than slice- or frame-level multithreading.
#define AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE
This encoder can reorder user opaque values from input AVFrames and return them with corresponding ou...
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
#define CODEC_LONG_NAME(str)
@ AV_PIX_FMT_YUVJ444P
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
#define AV_PIX_FMT_GRAY10
@ AV_PIX_FMT_YUVJ420P
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
static av_cold int libx265_encode_init(AVCodecContext *avctx)
#define AV_PIX_FMT_YUV422P10
@ AV_PIX_FMT_GRAY8
Y , 8bpp.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV444P12
#define AV_PIX_FMT_GBRP12
#define AV_PIX_FMT_YUV420P12
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
static av_cold int libx265_encode_close(AVCodecContext *avctx)
@ AV_PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
@ AV_PIX_FMT_GBRP
planar GBR 4:4:4 24bpp
@ AV_PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define FF_CODEC_CAP_AUTO_THREADS
Codec handles avctx->thread_count == 0 (auto) internally.
static const FFCodecDefault x265_defaults[]
#define AV_PIX_FMT_GRAY12