Opened 13 years ago Closed 11 years ago #501 closed enhancement (fixed)Decoding part_mode with inter_4x4 can use CNU context
Description
When disable_inter_4x4 is equal to 0, it is possible to decode a bin for part_mode with context increment of 2, which indexes a context state initialized with CNU (154). This should be explicitly called out, not left up to the default catch-all. static const UChar INIT_PART_SIZE[3][NUM_PART_SIZE_CTX] = { { 184, CNU, CNU, CNU, }, { 154, 139, '''CNU''', CNU, }, { 154, 139, '''CNU''', CNU, }, }; TDecSbac::parsePartSize .... for ( UInt ui = 0; ui < uiMaxNumBits; ui++ ) { // ui could be 2 at here m_pcTDecBinIf->decodeBin( uiSymbol, m_cCUPartSizeSCModel.get( 0, 0, ui) ); if ( uiSymbol ) { break; } uiMode++; } Change History (5)comment:1 Changed 13 years ago by DefaultCC Plugin
comment:2 Changed 13 years ago by ksuehringcomment:3 Changed 13 years ago by pieterkapsenberg
comment:4 Changed 13 years ago by pieterkapsenberg
Actually Main Profile streams can have this problem too, when the min CU size is larger than 8x8, because then inter NxN is allowed. comment:5 Changed 11 years ago by fbossen
Fixed in r3774 Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
This is related to issue #436. Context initializations were only run for common test conditions.