Skip to content
Snippets Groups Projects
Commit 213ec2a8 authored by Nan Hu's avatar Nan Hu
Browse files

JVET_L0392_ALF_INIT_STATE: bug fix of initial context state for ALF ctb enable flag

parent 9736275f
No related branches found
No related tags found
No related merge requests found
...@@ -652,9 +652,15 @@ const CtxSet ContextSetCfg::ctbAlfFlag = ...@@ -652,9 +652,15 @@ const CtxSet ContextSetCfg::ctbAlfFlag =
{ {
ContextSetCfg::addCtxSet ContextSetCfg::addCtxSet
( { ( {
#if JVET_L0392_ALF_INIT_STATE
{ 100, 153, 200, 100, 153, 200, 100, 153, 200 },
{ 100, 153, 200, 100, 153, 200, 100, 153, 200 },
{ 100, 153, 200, 100, 153, 200, 100, 153, 200 },
#else
{ 100, 100, 100, 100, 100, 100, 100, 100, 100 }, { 100, 100, 100, 100, 100, 100, 100, 100, 100 },
{ 153, 153, 153, 153, 153, 153, 153, 153, 153 }, { 153, 153, 153, 153, 153, 153, 153, 153, 153 },
{ 200, 200, 200, 200, 200, 200, 200, 200, 200 }, { 200, 200, 200, 200, 200, 200, 200, 200, 200 },
#endif
} ) } )
}; };
......
...@@ -50,6 +50,8 @@ ...@@ -50,6 +50,8 @@
#include <assert.h> #include <assert.h>
#include <cassert> #include <cassert>
#define JVET_L0392_ALF_INIT_STATE 1
#define JVET_L0664_ALF_REMOVE_LUMA_5x5 1 #define JVET_L0664_ALF_REMOVE_LUMA_5x5 1
#define JVET_L0083_ALF_FRAC_BIT 1 // Reduce number of ALF fractional bit to 7 #define JVET_L0083_ALF_FRAC_BIT 1 // Reduce number of ALF fractional bit to 7
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment