Commit ad667d90 authored by Thomas Davies's avatar Thomas Davies

NEW_MULTISYMBOL: remove compressed header always.

Enable the RESTRICT_COMPRESSED_HDR experiment when
NEW_MULTISYMBOL is on and apply when there is no
backward update also.

Change-Id: I5f6812df2cb3f9bc32fe533b2689fd51235aedbc
parent 4ac9a60c
......@@ -1304,11 +1304,13 @@ static INLINE int all_lossless(const AV1_COMMON *cm, const MACROBLOCKD *xd) {
static INLINE int use_compressed_header(const AV1_COMMON *cm) {
(void)cm;
#if CONFIG_RESTRICT_COMPRESSED_HDR
#if CONFIG_RESTRICT_COMPRESSED_HDR && CONFIG_NEW_MULTISYMBOL
return 0;
#elif CONFIG_RESTRICT_COMPRESSED_HDR
return cm->refresh_frame_context == REFRESH_FRAME_CONTEXT_FORWARD;
#else
return 1;
#endif // CONFIG_RESTRICT_COMPRESSED_HDR
#endif // CONFIG_RESTRICT_COMPRESSED_HDR && CONFIG_NEW_MULTISYMBOL
}
#ifdef __cplusplus
......
......@@ -568,6 +568,7 @@ post_process_cmdline() {
enabled rect_tx_ext && enable_feature rect_tx
enabled cfl && enable_feature smooth_hv
enabled cdef_singlepass && enable_feature cdef
enabled new_multisymbol && enable_feature restrict_compressed_hdr
if ! enabled delta_q && enabled ext_delta_q; then
log_echo "ext_delta_q requires delta_q, so disabling ext_delta_q"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment