Changeset 549 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
21 Jan 2014, 03:57:34 (12 years ago)
Author:
seregin
Message:

set MAX_LAYERS to 8, should be lossless

Location:
branches/SHM-5.0-dev/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r540 r549  
    31083108
    31093109#if SVC_EXTENSION
    3110 #if ADAPTIVE_QP_SELECTION
    3111   printf("POC %4d LId: %1d TId: %1d ( %c-SLICE, nQP %d QP %d ) %10d bits",
     3110#if ADAPTIVE_QP_SELECTION 
     3111  printf("POC %4d LId: %1d TId: %1d ( %c-SLICE %s, nQP %d QP %d ) %10d bits",
    31123112         pcSlice->getPOC(),
    31133113         pcSlice->getLayerId(),
    31143114         pcSlice->getTLayer(),
    31153115         c,
     3116         NaluToStr( pcSlice->getNalUnitType() ).data(),
    31163117         pcSlice->getSliceQpBase(),
    31173118         pcSlice->getSliceQp(),
    31183119         uibits );
    31193120#else
    3120   printf("POC %4d LId: %1d TId: %1d ( %c-SLICE, QP %d ) %10d bits",
     3121  printf("POC %4d LId: %1d TId: %1d ( %c-SLICE %s, QP %d ) %10d bits",
    31213122         pcSlice->getPOC()-pcSlice->getLastIDR(),
    31223123         pcSlice->getLayerId(),
    31233124         pcSlice->getTLayer(),
    31243125         c,
     3126         NaluToStr( pcSlice->getNalUnitType() ).data().
    31253127         pcSlice->getSliceQp(),
    31263128         uibits );
  • branches/SHM-5.0-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r540 r549  
    16321632    if (m_cIlpPic[0] == NULL)
    16331633    {
    1634       for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++) // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
     1634      for (Int j=0; j < m_numLayer; j++) // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
    16351635      {
    16361636        m_cIlpPic[j] = new  TComPic;
     
    16991699    if (m_cIlpPic[0] == NULL)
    17001700    {
    1701       for (Int j=0; j < MAX_LAYERS /*MAX_NUM_REF*/; j++) // consider to set to NumDirectRefLayers[LayerIdInVps[nuh_layer_id]]
     1701      for (Int j=0; j < m_numDirectRefLayers; j++)
    17021702      {
    17031703        m_cIlpPic[j] = new  TComPic;
Note: See TracChangeset for help on using the changeset viewer.