Changeset 1111 in 3DVCSoftware for branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder
- Timestamp:
- 7 Nov 2014, 14:12:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.2-dev2-HHI/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1110 r1111 1330 1330 } 1331 1331 1332 #if H_MV_FIX_NUM_VIEWS 1333 pcVPS->initNumViews(); 1334 #endif 1335 1332 1336 READ_CODE( 4, uiCode, "view_id_len" ); pcVPS->setViewIdLen( uiCode ); 1333 1337 … … 2022 2026 2023 2027 READ_UVLC( uiCamParPrecision, "cp_precision" ); 2028 #if HHI_VIEW_ID_LIST_I5_J0107 2029 for (Int n = 1; n < pcVPS->getNumViews(); n++) 2030 { 2031 Int viewIndex = pcVPS->getViewOIdxList( n ); 2032 #else 2024 2033 for (UInt viewIndex=1; viewIndex<pcVPS->getNumViews(); viewIndex++) 2025 2034 { 2035 #endif 2026 2036 pcVPS->setCamParPresent ( viewIndex, false ); 2027 2037 pcVPS->setHasCamParInSliceHeader( viewIndex, false ); … … 2032 2042 if ( !bCamParSlice ) 2033 2043 { 2034 for( UInt uiBaseIndex = 0; uiBaseIndex < viewIndex; uiBaseIndex++ ) 2035 { 2044 #if HHI_VIEW_ID_LIST_I5_J0107 2045 for( UInt m = 0; m < n; n++ ) 2046 { 2047 Int uiBaseIndex = pcVPS->getViewOIdxList ( m ); 2036 2048 Int iCode; 2037 2049 READ_SVLC( iCode, "vps_cp_scale" ); m_aaiTempScale [ uiBaseIndex ][ viewIndex ] = iCode; … … 2042 2054 } 2043 2055 pcVPS->initCamParaVPS( viewIndex, bCamParPresentFlag, uiCamParPrecision, bCamParSlice, m_aaiTempScale, m_aaiTempOffset ); 2056 #else 2057 for( UInt uiBaseIndex = 0; uiBaseIndex < viewIndex; uiBaseIndex++ ) 2058 { 2059 Int iCode; 2060 READ_SVLC( iCode, "vps_cp_scale" ); m_aaiTempScale [ uiBaseIndex ][ viewIndex ] = iCode; 2061 READ_SVLC( iCode, "vps_cp_off" ); m_aaiTempOffset [ uiBaseIndex ][ viewIndex ] = iCode; 2062 READ_SVLC( iCode, "vps_cp_inv_scale_plus_scale" ); m_aaiTempScale [ viewIndex ][ uiBaseIndex ] = iCode - m_aaiTempScale [ uiBaseIndex ][ viewIndex ]; 2063 READ_SVLC( iCode, "vps_cp_inv_off_plus_off" ); m_aaiTempOffset [ viewIndex ][ uiBaseIndex ] = iCode - m_aaiTempOffset[ uiBaseIndex ][ viewIndex ]; 2064 } 2065 } 2066 pcVPS->initCamParaVPS( viewIndex, bCamParPresentFlag, uiCamParPrecision, bCamParSlice, m_aaiTempScale, m_aaiTempOffset ); 2067 #endif 2044 2068 } 2045 2069 }
Note: See TracChangeset for help on using the changeset viewer.