Changeset 1090 in 3DVCSoftware for branches/HTM-12.2-dev1-Mediatek
- Timestamp:
- 28 Oct 2014, 03:54:11 (10 years ago)
- Location:
- branches/HTM-12.2-dev1-Mediatek
- Files:
-
- 2 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev1-Mediatek/source/App/TAppEncoder/TAppEncTop.cpp
r1084 r1090 2091 2091 vps.setInterSDCFlag( layer, !isLayerZero && isDepth && m_bDepthInterSDCFlag ); 2092 2092 #endif 2093 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 2094 vps.setSingleDepthModeFlag( layer, !isLayerZero && isDepth && m_useSingleDepthMode ); 2095 #endif 2093 2096 #if H_3D_IV_MERGE 2094 2097 #if H_3D_FCO -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon/TComSlice.cpp
r1084 r1090 1953 1953 m_ivMvScalingFlag[i] = true; 1954 1954 m_bIVPFlag [i] = false; 1955 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1956 m_singleDepthModeFlag[ i ] = false; 1957 #endif 1955 1958 #endif 1956 1959 -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon/TComSlice.h
r1084 r1090 950 950 Bool m_bMPIFlag[MAX_NUM_LAYERS ]; 951 951 #endif 952 952 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 953 Bool m_singleDepthModeFlag [ MAX_NUM_LAYERS ]; 954 #endif 953 955 #endif 954 956 public: … … 1345 1347 Bool getMPIFlag ( Int layerIdInVps ) { return m_bMPIFlag[layerIdInVps]; } 1346 1348 Void setMPIFlag ( Int layerIdInVps, Bool bval ){ m_bMPIFlag[layerIdInVps] = bval; } 1349 #endif 1350 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1351 Void setSingleDepthModeFlag ( Int layerIdInVps, Bool val ) { m_singleDepthModeFlag[ layerIdInVps ] = val; } 1352 Bool getSingleDepthModeFlag ( Int layerIdInVps ) { return m_singleDepthModeFlag[ layerIdInVps ]; }; 1347 1353 #endif 1348 1354 #endif … … 2425 2431 TComPic* getTexturePic () { return m_ivPicsCurrPoc[0][ m_viewIndex ]; } 2426 2432 #endif 2433 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 2427 2434 #if H_3D_SINGLE_DEPTH 2428 2435 Void setApplySingleDepthMode( Bool b ) { m_bApplySingleDepthMode = b; } 2429 2436 Bool getApplySingleDepthMode() { return m_bApplySingleDepthMode; } 2437 #endif 2430 2438 #endif 2431 2439 #if H_3D_IC -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibCommon/TypeDef.h
r1089 r1090 231 231 232 232 #define H_3D_SINGLE_DEPTH 1 // Single depth mode proposed in JCT3V-I0095 233 233 #define MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1 // Add VPS control flags and remove slice header control flag for single depth, JCT3V-J0060 234 234 235 235 #define H_3D_INTER_SDC 1 // INTER SDC, Inter simplified depth coding -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1089 r1090 1903 1903 READ_FLAG( uiCode, "depth_inter_SDC_flag" ); pcVPS->setInterSDCFlag( i, uiCode ? true : false ); 1904 1904 #endif 1905 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1906 READ_FLAG( uiCode, "single_depth_mode_flag[i]"); pcVPS->setSingleDepthModeFlag( i, uiCode == 1 ? true : false ); 1907 #endif 1905 1908 } 1906 1909 } … … 2559 2562 } 2560 2563 #endif 2564 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 2561 2565 #if H_3D_SINGLE_DEPTH 2562 2566 if(rpcSlice->getIsDepth()) … … 2566 2570 rpcSlice->setApplySingleDepthMode(uiCodeTmp); 2567 2571 } 2572 #endif 2568 2573 #endif 2569 2574 if (!rpcSlice->isIntra()) -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibDecoder/TDecEntropy.cpp
r1084 r1090 59 59 return; 60 60 } 61 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 62 if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps())) 63 { 64 return; 65 } 66 #else 61 67 if(!pcCU->getSlice()->getApplySingleDepthMode()) 62 68 { 63 69 return; 64 70 } 71 #endif 65 72 m_pcEntropyDecoderIf->parseSingleDepthMode( pcCU, uiAbsPartIdx, uiDepth ); 66 73 } -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncCavlc.cpp
r1089 r1090 1619 1619 WRITE_FLAG( pcVPS->getInterSDCFlag( i ) ? 1 : 0, "depth_inter_SDC_flag" ); 1620 1620 #endif 1621 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1622 WRITE_FLAG( pcVPS->getSingleDepthModeFlag( i ) ? 1 : 0, "single_depth_mode_flag" ); 1623 #endif 1621 1624 } 1622 1625 } … … 2046 2049 } 2047 2050 #endif 2051 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 2048 2052 #if H_3D_SINGLE_DEPTH 2049 2053 if(pcSlice->getIsDepth()) … … 2051 2055 WRITE_FLAG( pcSlice->getApplySingleDepthMode() ? 1 : 0, "slice_enable_single_depth_mode" ); 2052 2056 } 2057 #endif 2053 2058 #endif 2054 2059 #if H_3D_IV_MERGE -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncCu.cpp
r1084 r1090 715 715 #if H_3D_SINGLE_DEPTH 716 716 rpcTempCU->initEstData( uiDepth, iMinQP, isAddLowestQP ); 717 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 718 if(rpcBestCU->getSlice()->getVPS()->getSingleDepthModeFlag(rpcBestCU->getSlice()->getLayerIdInVps())) 719 #else 717 720 if(rpcBestCU->getSlice()->getApplySingleDepthMode()) 721 #endif 718 722 { 719 723 xCheckRDCostSingleDepth( rpcBestCU, rpcTempCU, SIZE_2Nx2N ); -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncEntropy.cpp
r1084 r1090 126 126 return; 127 127 } 128 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 129 if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps())) 130 { 131 return; 132 } 133 #else 128 134 if(!pcCU->getSlice()->getApplySingleDepthMode()) 129 135 { 130 136 return; 131 137 } 132 138 #endif 133 139 if( bRD ) 134 140 { -
branches/HTM-12.2-dev1-Mediatek/source/Lib/TLibEncoder/TEncGOP.cpp
r1084 r1090 941 941 pcSlice->setRefPicList ( rcListPic ); 942 942 #endif 943 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 943 944 #if H_3D_SINGLE_DEPTH 944 945 TEncTop* pcEncTop = (TEncTop*) m_pcCfg; … … 953 954 pcSlice->setApplySingleDepthMode(enableSingleDepthMode); 954 955 #endif 956 #endif 955 957 #if H_3D_ARP 956 958 //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh
Note: See TracChangeset for help on using the changeset viewer.