#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 322 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_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 329 of file libx265.c.
Referenced by libx265_encode_init_csp().
Initial value:= {
{
"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 349 of file libx265.c.
Initial value:= {
.name = "libx265",
.priv_class = &class,
}
#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 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)
static const AVCodecDefault defaults[]
Definition at line 369 of file libx265.c.