Changeset 869 in 3DVCSoftware for branches/HTM-10.0-dev0/source/Lib/TLibEncoder


Ignore:
Timestamp:
25 Mar 2014, 17:20:55 (11 years ago)
Author:
tech
Message:

Minor fixes.

Location:
branches/HTM-10.0-dev0/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-10.0-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r867 r869  
    270270  WRITE_FLAG( pcPPS->getListsModificationPresentFlag(), "lists_modification_present_flag");
    271271  WRITE_UVLC( pcPPS->getLog2ParallelMergeLevelMinus2(), "log2_parallel_merge_level_minus2");
    272 #if PPS_FIX_DEPTH
    273   if( pcPPS->getSPS()->getVPS()->getDepthId(pcPPS->getSPS()->getLayerId()) )
    274   {
    275     WRITE_FLAG( 1, "slice_segment_header_extension_present_flag" );
    276   }
    277   else
    278 #endif
    279272  WRITE_FLAG( pcPPS->getSliceHeaderExtensionPresentFlag() ? 1 : 0, "slice_segment_header_extension_present_flag");
    280273
     
    12771270      {
    12781271#if H_MV_HLS_7_VPS_P0306_22
    1279         Int numBits = 1;
    1280         while ((1 << numBits) < (pcVPS->getVpsNumRepFormatsMinus1() + 1))
    1281         {
    1282           numBits++;
    1283         }
    1284         WRITE_CODE( pcVPS->getVpsRepFormatIdx(i), numBits, "vps_rep_format_idx[i]" );
     1272        WRITE_CODE( pcVPS->getVpsRepFormatIdx(i), pcVPS->getVpsRepFormatIdxLen(), "vps_rep_format_idx[i]" );
    12851273#else
    12861274        WRITE_CODE( pcVPS->getVpsRepFormatIdx( i ), 8, "vps_rep_format_idx" );
  • branches/HTM-10.0-dev0/source/Lib/TLibEncoder/TEncTop.cpp

    r854 r869  
    942942    }
    943943  }
    944 #if H_3D
    945   if( m_cVPS->hasCamParInSliceHeader( getViewIndex() ) )
    946   {
    947     m_cPPS.setSliceHeaderExtensionPresentFlag( true );
    948   }
    949 #endif
    950944}
    951945
Note: See TracChangeset for help on using the changeset viewer.