#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.
static int is_keyframe |
( |
NalUnitType |
naltype | ) |
|
|
static |
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 376 of file libx265.c.
Referenced by libx265_encode_init_csp().
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 385 of file libx265.c.
Referenced by libx265_encode_init_csp().
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 399 of file libx265.c.
Referenced by libx265_encode_init_csp().
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 430 of file libx265.c.
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 452 of file libx265.c.