Ticket #81: IdrFix_rev1026.patch
File IdrFix_rev1026.patch, 3.4 KB (added by jonatan, 9 years ago) |
---|
-
Lib/TLibCommon/TComSlice.cpp
79 79 , m_colFromL0Flag ( 1 ) 80 80 #if SETTING_NO_OUT_PIC_PRIOR 81 81 , m_noOutputPriorPicsFlag ( false ) 82 #if IDR_FIX 83 , m_firstSliceInPic ( false ) 84 #endif 82 85 , m_noRaslOutputFlag ( false ) 83 86 , m_handleCraAsBlaFlag ( false ) 84 87 #endif -
Lib/TLibCommon/TComSlice.h
2258 2258 TComTrQuant* m_pcTrQuant; 2259 2259 #endif 2260 2260 UInt m_colFromL0Flag; // collocated picture from List0 flag 2261 2261 #if IDR_FIX 2262 Bool m_firstSliceInPic; 2263 #endif 2262 2264 #if SETTING_NO_OUT_PIC_PRIOR 2263 2265 Bool m_noOutputPriorPicsFlag; 2264 2266 Bool m_noRaslOutputFlag; … … 2545 2547 Void setMaxNumMergeCand (UInt val ) { m_maxNumMergeCand = val; } 2546 2548 UInt getMaxNumMergeCand () { return m_maxNumMergeCand; } 2547 2549 2550 #if IDR_FIX 2551 Void setFirstSliceInPic ( Bool val ) { m_firstSliceInPic = val; } 2552 Bool getFirstSliceInPic () { return m_firstSliceInPic; } 2553 #endif 2554 2548 2555 #if SETTING_NO_OUT_PIC_PRIOR 2549 2556 Void setNoOutputPriorPicsFlag ( Bool val ) { m_noOutputPriorPicsFlag = val; } 2550 2557 Bool getNoOutputPriorPicsFlag () { return m_noOutputPriorPicsFlag; } -
Lib/TLibCommon/TypeDef.h
164 164 #endif 165 165 166 166 #define P0297_VPS_POC_LSB_ALIGNED_FLAG 1 ///< JCTVC-P0297: vps_poc_lsb_aligned_flag for cross-layer POC anchor picture derivation 167 167 #define IDR_FIX 1 168 168 #define VPS_EXTN_MASK_AND_DIM_INFO 1 ///< Include avc_base_layer_flag, splitting_flag, scalability mask and dimension related info 169 169 #if VPS_EXTN_MASK_AND_DIM_INFO 170 170 #define MAX_VPS_NUM_SCALABILITY_TYPES 16 -
Lib/TLibDecoder/TDecCAVLC.cpp
3067 3067 3068 3068 UInt firstSliceSegmentInPic; 3069 3069 READ_FLAG( firstSliceSegmentInPic, "first_slice_segment_in_pic_flag" ); 3070 #if IDR_FIX 3071 rpcSlice->setFirstSliceInPic(firstSliceSegmentInPic); 3072 #endif 3070 3073 if( rpcSlice->getRapPicFlag()) 3071 3074 { 3072 3075 READ_FLAG( uiCode, "no_output_of_prior_pics_flag" ); //ignored -- updated already -
Lib/TLibDecoder/TDecTop.cpp
1176 1176 1177 1177 // exit when a new picture is found 1178 1178 #if SVC_EXTENSION 1179 #if IDR_FIX 1180 bNewPOC = (m_apcSlicePilot->getPOC()!= m_prevPOC || (m_apcSlicePilot->getPOC()== m_prevPOC && m_apcSlicePilot->getFirstSliceInPic() && m_parseIdc == -1)); 1181 #else 1179 1182 bNewPOC = (m_apcSlicePilot->getPOC()!= m_prevPOC); 1180 1183 #endif 1181 1184 #if NO_OUTPUT_OF_PRIOR_PICS 1182 1185 #if NO_CLRAS_OUTPUT_FLAG 1183 1186 #if R0235_SMALLEST_LAYER_ID