Changeset 1068 in SHVCSoftware


Ignore:
Timestamp:
5 Mar 2015, 01:56:43 (10 years ago)
Author:
seregin
Message:

fix g_bitDepthLayer index

Location:
branches/SHM-dev/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1067 r1068  
    244244
    245245    // Set this to be used in Upsampling filter in function "TComUpsampleFilter::upsampleBasePic"
    246     g_bitDepthLayer[CHANNEL_TYPE_LUMA][layer]   = g_bitDepth[CHANNEL_TYPE_LUMA];
    247     g_bitDepthLayer[CHANNEL_TYPE_CHROMA][layer] = g_bitDepth[CHANNEL_TYPE_CHROMA];
     246    g_bitDepthLayer[CHANNEL_TYPE_LUMA][m_acLayerCfg[layer].m_layerId]   = g_bitDepth[CHANNEL_TYPE_LUMA];
     247    g_bitDepthLayer[CHANNEL_TYPE_CHROMA][m_acLayerCfg[layer].m_layerId] = g_bitDepth[CHANNEL_TYPE_CHROMA];
    248248
    249249#if O0194_WEIGHTED_PREDICTION_CGS
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r1057 r1068  
    796796
    797797#if SVC_EXTENSION
    798       rpcPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth,
    799                       m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS);
     798      rpcPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, &m_cSPS);
    800799#else  //SVC_EXTENSION
    801800      rpcPic->create( m_iSourceWidth, m_iSourceHeight, m_chromaFormatIDC, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, m_conformanceWindow, m_defaultDisplayWindow, m_numReorderPics, false );
Note: See TracChangeset for help on using the changeset viewer.