#include "xavs2.h"
#include "mpeg12.h"
#include "libavutil/avstring.h"
Go to the source code of this file.
◆ xavs2_opt_set2
Value: do{ \
char opt_str[16] = {0}; \
int err; \
av_strlcatf(opt_str,
sizeof(opt_str),
format, __VA_ARGS__); \
err = cae->api->opt_set2(cae->param,
name, opt_str); \
if (err) {\
}\
} while(0);
Definition at line 29 of file libxavs2.c.
◆ OFFSET
◆ VE
◆ xavs2_init()
◆ xavs2_copy_frame_with_shift()
static void xavs2_copy_frame_with_shift |
( |
xavs2_picture_t * |
pic, |
|
|
const AVFrame * |
frame, |
|
|
const int |
shift_in |
|
) |
| |
|
static |
◆ xavs2_copy_frame()
static void xavs2_copy_frame |
( |
xavs2_picture_t * |
pic, |
|
|
const AVFrame * |
frame |
|
) |
| |
|
static |
◆ xavs2_encode_frame()
◆ xavs2_close()
◆ options
Initial value:= {
{
"lcu_row_threads" ,
"number of parallel threads for rows" ,
OFFSET(lcu_row_threads) ,
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX,
VE },
{
"initial_qp" ,
"Quantization initial parameter" ,
OFFSET(initial_qp) ,
AV_OPT_TYPE_INT, {.i64 = 34 }, 1, 63,
VE },
{
"speed_level" ,
"Speed level, higher is better but slower",
OFFSET(preset_level) ,
AV_OPT_TYPE_INT, {.i64 = 0 }, 0, 9,
VE },
{
"log_level" ,
"log level: -1: none, 0: error, 1: warning, 2: info, 3: debug",
OFFSET(log_level) ,
AV_OPT_TYPE_INT, {.i64 = 0 }, -1, 3,
VE },
{
"xavs2-params" ,
"set the xavs2 configuration using a :-separated list of key=value parameters",
OFFSET(xavs2_opts),
AV_OPT_TYPE_STRING, { 0 }, 0, 0,
VE },
}
Definition at line 252 of file libxavs2.c.
◆ libxavs2
Initial value:= {
.class_name = "XAVS2EContext",
}
Definition at line 264 of file libxavs2.c.
◆ xavs2_defaults
Initial value:= {
{ "b", "0" },
{ "g", "48"},
{ "bf", "7" },
}
Definition at line 271 of file libxavs2.c.
◆ ff_libxavs2_encoder
Initial value:= {
.name = "libxavs2",
.wrapper_name = "libxavs2",
}
Definition at line 278 of file libxavs2.c.