Changes between Initial Version and Version 3 of Ticket #14


Ignore:
Timestamp:
20 Feb 2016, 04:10:10 (8 years ago)
Author:
ksuehring
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14

    • Property Owner set to XiangLi
    • Property Status changed from new to assigned
  • Ticket #14 – Description

    initial v3  
    11I run JEM1.0 code with valgrind and found the problem of uninitialized memory . The error is as below. It is generated with LCU16x16 All Intra setting.
    22
     3{{{
    34==26659== Use of uninitialised value of size 8
    45==26659==    at 0x484FC7: ContextModel::getEntropyBits(short) (ContextModel.h:118)
     
    1516==26659==    by 0x45BE96: TEncSlice::compressSlice(TComPic*, bool, bool) (TEncSlice.cpp:855)
    1617
    17 
     18}}}
    1819
    1920
     
    2122
    2223In TEnslice.cpp Ln 666,
     24{{{
    2325  m_pcEntropyCoder->setEntropyCoder   ( m_pppcRDSbacCoder[0][CI_CURR_BEST] );
    2426  m_pcEntropyCoder->resetEntropy      ( pcSlice );
     27}}}
    2528
    2629here only the CI_CURR_BEST is initialized.
     
    3033The sbac status of CI_QT_TRAFO_ROOT loaded is possibly uninitialized.
    3134
     35{{{
    3236#if COM16_C806_EMT
    3337        if( bSaveEmtResults && ( uiSingleCbfLuma || !bAllIntra || !m_pcEncCfg->getUseFastIntraEMT() ) )
     
    3640        }
    3741#endif
     42}}}
    3843
    3944The above problem caused windows program produce different output from linux. But fixing it did not fix all the memory problem. there are other memory bugs need to be fixed.