Changeset 433 in 3DVCSoftware for branches/HTM-6.2-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
- Timestamp:
- 22 May 2013, 21:05:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp
r427 r433 877 877 } 878 878 #endif 879 #endif 879 880 } 880 881 … … 917 918 } 918 919 } 920 #if !PKU_QC_DEPTH_INTRA_UNI_D0195 919 921 #if RWTH_SDC_DLT_B0036 920 922 if( !pcCU->getSlice()->isInterB() && pcCU->isIntra(uiAbsPartIdx) && pcCU->getSDCFlag(uiAbsPartIdx) ) … … 924 926 } 925 927 #endif 928 #endif 926 929 927 930 m_pcEntropyCoderIf->codePartSize( pcCU, uiAbsPartIdx, uiDepth ); 928 931 932 #if !PKU_QC_DEPTH_INTRA_UNI_D0195 929 933 #if RWTH_SDC_DLT_B0036 930 934 // code SDC flag now! … … 940 944 } 941 945 } 946 #endif 942 947 #endif 943 948 } … … 1220 1225 1221 1226 // Intra direction for Luma 1222 Void TEncEntropy::encodeIntraDirModeLuma ( TComDataCU* pcCU, UInt uiAbsPartIdx ) 1223 { 1224 m_pcEntropyCoderIf->codeIntraDirLumaAng( pcCU, uiAbsPartIdx ); 1227 Void TEncEntropy::encodeIntraDirModeLuma ( TComDataCU* pcCU, UInt uiAbsPartIdx 1228 #if PKU_QC_DEPTH_INTRA_UNI_D0195 1229 ,Bool bSdcRD 1230 #endif 1231 ) 1232 { 1233 m_pcEntropyCoderIf->codeIntraDirLumaAng( pcCU, uiAbsPartIdx 1234 #if PKU_QC_DEPTH_INTRA_UNI_D0195 1235 ,bSdcRD 1236 #endif 1237 ); 1225 1238 } 1226 1239 … … 1236 1249 } 1237 1250 1238 Void TEncEntropy::encodePredInfo( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 1251 Void TEncEntropy::encodePredInfo( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD 1252 #if PKU_QC_DEPTH_INTRA_UNI_D0195 1253 ,Bool bSdcRD 1254 #endif 1255 ) 1239 1256 { 1240 1257 if( bRD ) … … 1243 1260 } 1244 1261 1262 #if !PKU_QC_DEPTH_INTRA_UNI_D0195 1245 1263 #if RWTH_SDC_DLT_B0036 1246 1264 if( pcCU->getSDCFlag(uiAbsPartIdx) ) … … 1249 1267 return; 1250 1268 } 1269 #endif 1251 1270 #endif 1252 1271 … … 1263 1282 encodeIntraDirModeLuma( pcCU, uiAbsPartIdx + uiPartOffset*2 ); 1264 1283 encodeIntraDirModeLuma( pcCU, uiAbsPartIdx + uiPartOffset*3 ); 1284 #if PKU_QC_DEPTH_INTRA_UNI_D0195 1285 if(!pcCU->getSDCFlag(uiAbsPartIdx)) 1286 #endif 1265 1287 encodeIntraDirModeChroma( pcCU, uiAbsPartIdx, bRD ); 1266 1288 } 1267 1289 else // if it is not NxN size, encode 1 intra directions 1268 1290 { 1269 encodeIntraDirModeLuma ( pcCU, uiAbsPartIdx );1291 encodeIntraDirModeLuma ( pcCU, uiAbsPartIdx 1270 1292 encodeIntraDirModeChroma( pcCU, uiAbsPartIdx, bRD ); 1271 1293 } … … 1465 1487 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_U) == 1 ); 1466 1488 assert( pcCU->getCbf(uiAbsPartIdx, TEXT_CHROMA_V) == 1 ); 1467 1468 1489 encodeSDCResidualData(pcCU, uiAbsPartIdx); 1490 #endif 1469 1491 return; 1470 1492 } … … 1862 1884 1863 1885 #if RWTH_SDC_DLT_B0036 1886 #if !PKU_QC_DEPTH_INTRA_UNI_D0195 1864 1887 Void TEncEntropy::encodeSDCPredMode( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 1865 1888 { … … 1881 1904 m_pcEntropyCoderIf->codeSDCFlag(pcCU, uiAbsPartIdx); 1882 1905 } 1883 1884 1906 Void TEncEntropy::encodeSDCResidualData( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 1885 1907 {
Note: See TracChangeset for help on using the changeset viewer.