Changeset 837 in 3DVCSoftware for branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 8 Feb 2014, 00:23:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-10.0rc1-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
r833 r837 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2013, ITU/ISO/IEC6 * Copyright (c) 2010-2014, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 256 256 if( pcPPS->getScalingListPresentFlag() ) 257 257 { 258 #if SCALING_LIST_OUTPUT_RESULT259 printf("PPS\n");260 #endif261 258 codeScalingList( m_pcSlice->getScalingList() ); 262 259 } … … 742 739 if(pcSPS->getScalingListPresentFlag()) 743 740 { 744 #if SCALING_LIST_OUTPUT_RESULT745 printf("SPS\n");746 #endif747 741 codeScalingList( m_pcSlice->getScalingList() ); 748 742 } … … 1688 1682 TComReferencePictureSet* rps = pcSlice->getRPS(); 1689 1683 1690 #if FIX10711691 1684 // check for bitstream restriction stating that: 1692 1685 // If the current picture is a BLA or CRA picture, the value of NumPocTotalCurr shall be equal to 0. … … 1699 1692 } 1700 1693 } 1701 #endif1702 1694 1703 1695 if(pcSlice->getRPSidx() < 0) … … 1833 1825 { 1834 1826 WRITE_FLAG( pcSlice->getSaoEnabledFlag(), "slice_sao_luma_flag" ); 1835 { 1836 SAOParam *saoParam = pcSlice->getPic()->getPicSym()->getSaoParam(); 1837 WRITE_FLAG( saoParam->bSaoFlag[1], "slice_sao_chroma_flag" ); 1838 } 1827 WRITE_FLAG( pcSlice->getSaoEnabledFlagChroma(), "slice_sao_chroma_flag" ); 1839 1828 } 1840 1829 } … … 2429 2418 Bool scalingListPredModeFlag; 2430 2419 2431 #if SCALING_LIST_OUTPUT_RESULT2432 Int startBit;2433 Int startTotalBit;2434 startBit = m_pcBitIf->getNumberOfWrittenBits();2435 startTotalBit = m_pcBitIf->getNumberOfWrittenBits();2436 #endif2437 2438 2420 //for each size 2439 2421 for(sizeId = 0; sizeId < SCALING_LIST_SIZE_NUM; sizeId++) … … 2441 2423 for(listId = 0; listId < g_scalingListNum[sizeId]; listId++) 2442 2424 { 2443 #if SCALING_LIST_OUTPUT_RESULT2444 startBit = m_pcBitIf->getNumberOfWrittenBits();2445 #endif2446 2425 scalingListPredModeFlag = scalingList->checkPredMode( sizeId, listId ); 2447 2426 WRITE_FLAG( scalingListPredModeFlag, "scaling_list_pred_mode_flag" ); … … 2454 2433 xCodeScalingList(scalingList, sizeId, listId); 2455 2434 } 2456 #if SCALING_LIST_OUTPUT_RESULT 2457 printf("Matrix [%d][%d] Bit %d\n",sizeId,listId,m_pcBitIf->getNumberOfWrittenBits() - startBit); 2458 #endif 2459 } 2460 } 2461 #if SCALING_LIST_OUTPUT_RESULT 2462 printf("Total Bit %d\n",m_pcBitIf->getNumberOfWrittenBits()-startTotalBit); 2463 #endif 2435 } 2436 } 2464 2437 return; 2465 2438 }
Note: See TracChangeset for help on using the changeset viewer.