#include <x265.h>
#include <float.h>
#include "libavutil/internal.h"
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
◆ OFFSET
◆ VE
◆ is_keyframe()
static int is_keyframe |
( |
NalUnitType |
naltype | ) |
|
|
static |
◆ libx265_encode_close()
◆ libx265_encode_init()
◆ libx265_encode_frame()
◆ libx265_encode_init_csp()
◆ x265_csp_eight
Initial value:= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition at line 367 of file libx265.c.
Referenced by libx265_encode_init_csp().
◆ x265_csp_ten
Initial value:= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
#define AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_YUV444P10
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_YUV420P10
#define AV_PIX_FMT_YUV422P10
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition at line 376 of file libx265.c.
Referenced by libx265_encode_init_csp().
◆ x265_csp_twelve
Initial value:= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
#define AV_PIX_FMT_GBRP10
#define AV_PIX_FMT_YUV420P12
#define AV_PIX_FMT_GRAY10
#define AV_PIX_FMT_GRAY12
#define AV_PIX_FMT_YUV422P12
#define AV_PIX_FMT_YUV444P10
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
#define AV_PIX_FMT_YUV420P10
#define AV_PIX_FMT_GBRP12
#define AV_PIX_FMT_YUV422P10
#define AV_PIX_FMT_YUV444P12
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition at line 390 of file libx265.c.
Referenced by libx265_encode_init_csp().
◆ 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 },
{
"x265-params",
"set the x265 configuration using a :-separated list of key=value parameters",
OFFSET(x265_opts),
AV_OPT_TYPE_STRING, { 0 }, 0, 0, VE },
}
Definition at line 421 of file libx265.c.
◆ class_name
◆ item_name
◆ option
◆ version
◆ @92
◆ x265_defaults
◆ ff_libx265_encoder
Initial value:= {
.name = "libx265",
.priv_class = &class,
.wrapper_name = "libx265",
}
#define AV_CODEC_CAP_AUTO_THREADS
Codec supports avctx->thread_count == 0 (auto).
#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 int libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVCodecDefault defaults[]
static av_cold void libx265_encode_init_csp(AVCodec *codec)
static av_cold int libx265_encode_init(AVCodecContext *avctx)
static const AVCodecDefault x265_defaults[]
static av_cold int libx265_encode_close(AVCodecContext *avctx)
Definition at line 443 of file libx265.c.