Update of contexts of ALF.

WIP
This commit is contained in:
Arttu Makinen 2019-10-07 18:01:33 +03:00 committed by Arttu Makinen
parent ebb99a7223
commit ade4fc4061

View file

@ -270,9 +270,13 @@ static const uint8_t INIT_JOINT_CB_CR_FLAG[4][3] = {
{ 27, 36, 45, }, { 27, 36, 45, },
{ 12, 21, 35, }, { 12, 21, 35, },
{ 1, 1, 0, }, { 1, 1, 0, },
static const uint8_t INIT_ALF_CTB_FLAG[4][9] = {
{ 26, 45, 46, 33, 61, 54, 33, 61, 54, },
{ 6, 23, 46, 27, 61, 54, 20, 46, 54, },
{ 39, 39, 39, 54, 39, 39, 31, 62, 39, },
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, },
}; };
static const INIT_ALF_CTB_ALTERNATIVE[4][2] = { static const INIT_ALF_CTB_ALTERNATIVE[4][2] = {
{ 18, 18, }, { 18, 18, },
{ 20, 12, }, { 20, 12, },
@ -280,6 +284,20 @@ static const INIT_ALF_CTB_ALTERNATIVE[4][2] = {
{ 0, 0, }, { 0, 0, },
}; };
static const uint8_t INIT_ALF_LATEST_FILT[4] = {
{ 58, },
{ 50, },
{ 31, },
{ 0, },
};
static const uint8_t INIT_ALF_TEMPORAL_FILT[4] = {
{ 53, },
{ 53, },
{ CNU, },
{ 0, },
};
static const uint8_t INIT_CU_TRANSQUANT_BYPASS[4][1] = { static const uint8_t INIT_CU_TRANSQUANT_BYPASS[4][1] = {
{ CNU, }, { CNU, },
{ CNU, }, { CNU, },