Ticket #107: ticket107.patch
File ticket107.patch, 1.2 KB (added by Tomohiro Ikai, 8 years ago) |
---|
-
Lib/TLibCommon/TypeDef.h
67 67 #define NH_MV_FIX_TICKET_100 1 // Extra slice header bits 68 68 #define H_MV_ENC_DEC_TRAC 1 //< CU/PU level tracking 69 69 #define H_MV_ENC_DEC_TRAC_FIX 1 // by SHARP 70 #define NH_MV_FIX_TICKET_107 1 // layer_set_idx_for_ols inference 70 71 #if NH_3D 71 72 // FIXES 72 73 #define NH_3D_FIX_TICKET_98 1 // Writing of depth intra skip flag -
Lib/TLibDecoder/TDecCAVLC.cpp
1618 1618 { 1619 1619 READ_CODE( pcVPS->getLayerSetIdxForOlsMinus1Len( i ), uiCode, "layer_set_idx_for_ols_minus1[i]" ); pcVPS->setLayerSetIdxForOlsMinus1( i, uiCode ); 1620 1620 } 1621 #if NH_MV_FIX_TICKET_107 1622 else 1623 { 1624 pcVPS->setLayerSetIdxForOlsMinus1( i, (pcVPS->getNumLayerSets() == 2) ? 0 : i - 1 ); 1625 } 1626 #endif 1621 1627 1622 1628 if ( i > pcVPS->getVpsNumLayerSetsMinus1() || pcVPS->getDefaultOutputLayerIdc() == 2 ) 1623 1629 {