mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Remove intra qp offset from preset parameters
This commit is contained in:
parent
3900468643
commit
7760dcf441
|
@ -335,7 +335,6 @@ where the names have been abbreviated to fit the layout in GitHub.
|
|||
| pu-depth-inter | 2-3 | 2-3 | 1-3 | 1-3 | 1-3 | 0-3 | 0-3 | 0-3 | 0-3 | 0-3 |
|
||||
| me | hexbs | hexbs | hexbs | hexbs | hexbs | hexbs | hexbs | hexbs | tz | tz |
|
||||
| gop | g4d4t1| g4d4t1| g4d4t1| g4d4t1| g4d4t1| 8 | 8 | 8 | 16 | 16 |
|
||||
| intra-qp-offset | 0 | 0 | 0 | 0 | 0 | -2 | -2 | -2 | -3 | -3 |
|
||||
| ref | 1 | 1 | 1 | 1 | 2 | 4 | 4 | 4 | 4 | 4 |
|
||||
| bipred | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 |
|
||||
| deblock | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|
||||
|
|
12
src/cfg.c
12
src/cfg.c
|
@ -442,7 +442,7 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
static const char * const scaling_list_names[] = { "off", "custom", "default", NULL };
|
||||
|
||||
static const char * const rc_algorithm_names[] = { "no-rc", "lambda", "oba", NULL };
|
||||
static const char * const preset_values[11][26*2] = {
|
||||
static const char * const preset_values[11][25*2] = {
|
||||
|
||||
{
|
||||
"ultrafast",
|
||||
|
@ -451,7 +451,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "2-3",
|
||||
"me", "hexbs",
|
||||
"gop", "lp-g4d4t1",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "1",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -480,7 +479,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "2-3",
|
||||
"me", "hexbs",
|
||||
"gop", "lp-g4d4t1",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "1",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -509,7 +507,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "1-3",
|
||||
"me", "hexbs",
|
||||
"gop", "lp-g4d4t1",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "1",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -538,7 +535,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "1-3",
|
||||
"me", "hexbs",
|
||||
"gop", "lp-g4d4t1",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "1",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -567,7 +563,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "1-3",
|
||||
"me", "hexbs",
|
||||
"gop", "lp-g4d4t1",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "2",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -596,7 +591,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "0-3",
|
||||
"me", "hexbs",
|
||||
"gop", "8",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "4",
|
||||
"bipred", "0",
|
||||
"deblock", "0:0",
|
||||
|
@ -625,7 +619,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "0-3",
|
||||
"me", "hexbs",
|
||||
"gop", "8",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "4",
|
||||
"bipred", "1",
|
||||
"deblock", "0:0",
|
||||
|
@ -654,7 +647,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "0-3",
|
||||
"me", "hexbs",
|
||||
"gop", "8",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "4",
|
||||
"bipred", "1",
|
||||
"deblock", "0:0",
|
||||
|
@ -683,7 +675,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "0-3",
|
||||
"me", "tz",
|
||||
"gop", "16",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "4",
|
||||
"bipred", "1",
|
||||
"deblock", "0:0",
|
||||
|
@ -712,7 +703,6 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value)
|
|||
"pu-depth-inter", "0-3",
|
||||
"me", "tz",
|
||||
"gop", "16",
|
||||
"intra-qp-offset", "auto",
|
||||
"ref", "4",
|
||||
"bipred", "1",
|
||||
"deblock", "0:0",
|
||||
|
|
|
@ -387,6 +387,7 @@ typedef struct kvz_config
|
|||
|
||||
/** \brief Offset to add to QP for intra frames */
|
||||
int8_t intra_qp_offset;
|
||||
/** \brief Select intra QP Offset based on GOP length */
|
||||
uint8_t intra_qp_offset_auto;
|
||||
|
||||
/** \brief Minimum QP that uses CABAC for residual cost instead of a fast estimate. */
|
||||
|
|
Loading…
Reference in a new issue