Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
2944f9d1
Commit
2944f9d1
authored
Dec 15, 2017
by
Angie Chiang
Browse files
Turn lv_map lv_map_multi on by default
Change-Id: I80a1618be0b83edd3170aaf5e8da8783c02a1a55
parent
0c90a5b3
Changes
4
Hide whitespace changes
Inline
Side-by-side
av1/encoder/encodetxb.c
View file @
2944f9d1
...
...
@@ -725,6 +725,7 @@ static INLINE int get_br_cost(tran_low_t abs_qc, int ctx,
}
}
#if !CONFIG_LV_MAP_MULTI
static
INLINE
int
get_base_cost
(
tran_low_t
abs_qc
,
int
ctx
,
const
int
coeff_base
[
2
],
int
base_idx
)
{
const
int
level
=
base_idx
+
1
;
...
...
@@ -734,6 +735,7 @@ static INLINE int get_base_cost(tran_low_t abs_qc, int ctx,
else
return
coeff_base
[
abs_qc
==
level
];
}
#endif
// Note: don't call this function when eob is 0.
int
av1_cost_coeffs_txb
(
const
AV1_COMMON
*
const
cm
,
const
MACROBLOCK
*
x
,
...
...
@@ -1433,6 +1435,7 @@ static INLINE void set_eob(TxbInfo *txb_info, int eob) {
txb_info
->
seg_eob
=
av1_get_max_eob
(
txb_info
->
tx_size
);
}
#if !CONFIG_LV_MAP_MULTI
static
INLINE
int
get_eob_ctx
(
const
int
coeff_idx
,
// raster order
const
TX_SIZE
txs_ctx
)
{
if
(
txs_ctx
==
TX_4X4
)
return
av1_coeff_band_4x4
[
coeff_idx
];
...
...
@@ -1450,7 +1453,6 @@ static INLINE int get_eob_ctx(const int coeff_idx, // raster order
return
0
;
}
#if !CONFIG_LV_MAP_MULTI
// TODO(angiebird): add static to this function once it's called
int
try_change_eob
(
int
*
new_eob
,
int
coeff_idx
,
const
TxbCache
*
txb_cache
,
const
LV_MAP_COEFF_COST
*
txb_costs
,
TxbInfo
*
txb_info
,
...
...
build/cmake/aom_config_defaults.cmake
View file @
2944f9d1
...
...
@@ -156,8 +156,8 @@ set(CONFIG_LOOPFILTERING_ACROSS_TILES 1 CACHE NUMBER "AV1 experiment flag.")
set
(
CONFIG_LOOPFILTERING_ACROSS_TILES_EXT 0 CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LOOPFILTER_LEVEL 1 CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LOOP_RESTORATION 1 CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LV_MAP
0
CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LV_MAP_MULTI
0
CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LV_MAP
1
CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_LV_MAP_MULTI
1
CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_MAX_TILE 1 CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_MFMV 0 CACHE NUMBER
"AV1 experiment flag."
)
set
(
CONFIG_MONO_VIDEO 0 CACHE NUMBER
"AV1 experiment flag."
)
...
...
configure
View file @
2944f9d1
...
...
@@ -492,6 +492,8 @@ post_process_cmdline() {
soft_enable loop_restoration
soft_enable ext_partition
soft_enable ext_partition_types
soft_enable lv_map
soft_enable lv_map_multi
# Provisional adopted
soft_enable reference_buffer
...
...
test/encodetxb_test.cc
View file @
2944f9d1
...
...
@@ -23,7 +23,6 @@
#include "av1/common/onyxc_int.h"
#include "av1/common/scan.h"
#include "av1/common/txb_common.h"
#include "av1/decoder/decodeframe.h"
#include "test/acm_random.h"
#include "test/clear_system_state.h"
#include "test/register_state_check.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment