Changeset 1068 in SHVCSoftware for branches/SHM-dev/source/App


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

fix g_bitDepthLayer index

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.