Changeset 532 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder
- Timestamp:
- 12 Jul 2013, 17:57:35 (11 years ago)
- Location:
- branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCavlc.cpp
r531 r532 762 762 #endif 763 763 #if H_3D_ARP 764 WRITE_FLAG( pcVPS->getUseAdvRP ( i ) ? 1 : 0, " advanced_residual_pred_flag" );764 WRITE_FLAG( pcVPS->getUseAdvRP ( i ) ? 1 : 0, "iv_res_pred_flag[i]" ); 765 765 #endif 766 766 #if H_3D_NBDV_REF … … 771 771 #endif 772 772 } 773 } 774 if( pcVPS->getDepthId( i ) ) 775 { 776 WRITE_FLAG( pcVPS->getVpsDepthModesFlag( i ), "vps_depth_modes_flag[i]" ); 777 773 else 774 { 775 WRITE_FLAG( pcVPS->getVpsDepthModesFlag( i ) ? 1 : 0 , "vps_depth_modes_flag[i]" ); 776 //WRITE_FLAG( pcVPS->getLimQtPredFlag ( i ) ? 1 : 0 , "lim_qt_pred_flag[i]" ); 778 777 #if H_3D_DIM_DLT 779 if( pcVPS->getVpsDepthModesFlag( i ) ) 780 { 781 WRITE_FLAG( pcVPS->getUseDLTFlag( i ) ? 1 : 0, "use_dlt_flag[i]" ); 778 if( pcVPS->getVpsDepthModesFlag( i ) ) 779 { 780 WRITE_FLAG( pcVPS->getUseDLTFlag( i ) ? 1 : 0, "dlt_flag[i]" ); 781 } 782 782 if( pcVPS->getUseDLTFlag( i ) ) 783 783 { 784 784 // code mapping 785 WRITE_UVLC(pcVPS->getNumDepthValues(i), "num_d lt_depth_values[i]");785 WRITE_UVLC(pcVPS->getNumDepthValues(i), "num_depth_values_in_dlt[i]"); 786 786 for(Int d=0; d<pcVPS->getNumDepthValues(i); d++) 787 787 { 788 788 WRITE_UVLC( pcVPS->idx2DepthValue(i, d), "dlt_depth_value[i][d]" ); 789 789 } 790 } 791 } 792 #endif 793 } 794 795 } 790 } 791 #endif 792 } 793 } 794 } 795 #if H_3D_TMVP 796 WRITE_FLAG( pcVPS->getIvMvScalingFlag( ) ? 1 : 0 , "iv_mv_scaling_flag" ); 797 #endif 796 798 #else 797 799 WRITE_FLAG( 0, "vps_extension2_flag" ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCfg.h
r531 r532 322 322 Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. 323 323 Bool m_CUTransquantBypassFlagValue; ///< if transquant_bypass_enable_flag, the fixed value to use for the per-CU cu_transquant_bypass_flag. 324 #if H_MV_FIX_VPS_POINTER 325 TComVPS* m_cVPS; ///< pointer to VPS, same for all layers 326 #else 324 327 TComVPS m_cVPS; 328 #endif 325 329 Bool m_recalculateQPAccordingToLambda; ///< recalculate QP value according to the lambda value 326 330 Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message … … 833 837 Bool getCUTransquantBypassFlagValue() { return m_CUTransquantBypassFlagValue; } 834 838 Void setCUTransquantBypassFlagValue(Bool flag) { m_CUTransquantBypassFlagValue = flag; } 839 #if H_MV_FIX_VPS_POINTER 840 Void setVPS ( TComVPS *p ) { m_cVPS = p; } 841 TComVPS* getVPS () { return m_cVPS; } 842 #else 835 843 Void setVPS(TComVPS *p) { m_cVPS = *p; } 836 844 TComVPS *getVPS() { return &m_cVPS; } 845 #endif 837 846 Void setUseRecalculateQPAccordingToLambda ( Bool b ) { m_recalculateQPAccordingToLambda = b; } 838 847 Bool getUseRecalculateQPAccordingToLambda () { return m_recalculateQPAccordingToLambda; } -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r531 r532 706 706 #if H_3D 707 707 pcSlice->setIvPicLists( m_ivPicLists ); 708 #if H_3D709 pcSlice->setPicLists( m_ivPicLists );710 #endif711 708 #if H_3D_IV_MERGE 712 709 assert( !m_pcEncTop->getIsDepth() || ( pcSlice->getTexturePic() != 0 ) ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSearch.cpp
r531 r532 7277 7277 Pel refDC1 = 0; Pel refDC2 = 0; 7278 7278 7279 TComPic* pcPicTex = pcCU->getSlice()->get PicLists()->getPic( pcCU->getSlice()->getViewIndex(), false, pcCU->getSlice()->getPOC());7279 TComPic* pcPicTex = pcCU->getSlice()->getTexturePic(); 7280 7280 assert( pcPicTex != NULL ); 7281 7281 TComDataCU* pcColTexCU = pcPicTex->getCU(pcCU->getAddr()); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
r521 r532 290 290 291 291 /* set the VPS profile information */ 292 #if H_MV_FIX_VPS_POINTER 293 // This seems to be incorrect, but irrelevant for the MV-HEVC 294 *(m_cVPS->getPTL()) = *m_cSPS.getPTL(); 295 #if L0043_TIMING_INFO 296 m_cVPS->getTimingInfo()->setTimingInfoPresentFlag ( false ); 297 #endif 298 #else 292 299 *m_cVPS.getPTL() = *m_cSPS.getPTL(); 300 293 301 #if L0043_TIMING_INFO 294 302 m_cVPS.getTimingInfo()->setTimingInfoPresentFlag ( false ); 303 #endif 295 304 #endif 296 305 // initialize PPS … … 668 677 { 669 678 #if H_MV 679 #if H_MV_FIX_VPS_POINTER 680 if( getVPS()->getNumDirectRefLayers( getLayerIdInVps() ) > 0 ) 681 #else 670 682 if( m_cVPS.getNumDirectRefLayers( getLayerIdInVps() ) > 0 ) 683 #endif 671 684 { 672 685 m_cPPS.setListsModificationPresentFlag( true );
Note: See TracChangeset for help on using the changeset viewer.