Changeset 695 in SHVCSoftware


Ignore:
Timestamp:
18 Apr 2014, 19:18:30 (11 years ago)
Author:
seregin
Message:

code formatting

Location:
branches/SHM-6-dev/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r694 r695  
    704704#if REPN_FORMAT_IN_VPS
    705705#if Q0200_CONFORMANCE_BL_SIZE
    706           Int xScal=1,yScal=1;
     706          Int xScal = 1, yScal = 1;
    707707#else
    708708          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
     
    828828#if REPN_FORMAT_IN_VPS
    829829#if Q0200_CONFORMANCE_BL_SIZE
    830           Int xScal=1,yScal=1;
     830          Int xScal = 1, yScal = 1;
    831831#else
    832832          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
     
    947947#if REPN_FORMAT_IN_VPS
    948948#if Q0200_CONFORMANCE_BL_SIZE
    949           Int xScal=1,yScal=1;
     949          Int xScal = 1, yScal = 1;
    950950#else
    951951          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
     
    10731073#if REPN_FORMAT_IN_VPS
    10741074#if Q0200_CONFORMANCE_BL_SIZE
    1075           Int xScal=1,yScal=1;
     1075          Int xScal = 1,yScal = 1;
    10761076#else
    10771077          UInt chromaFormatIdc = pcPic->getSlice(0)->getChromaFormatIdc();
  • branches/SHM-6-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r694 r695  
    128128#if Q0200_CONFORMANCE_BL_SIZE
    129129  const Window &confBL = currSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();
    130   widthBL  -= (confBL.getWindowLeftOffset() + confBL.getWindowRightOffset());
    131   heightBL -= (confBL.getWindowBottomOffset() + confBL.getWindowTopOffset());
     130  widthBL  -= confBL.getWindowLeftOffset() + confBL.getWindowRightOffset();
     131  heightBL -= confBL.getWindowBottomOffset() + confBL.getWindowTopOffset();
    132132#endif
    133133#if P0312_VERT_PHASE_ADJ
     
    442442    leftOffset = leftStartC > 0 ? leftStartC : 0;
    443443#if Q0200_CONFORMANCE_BL_SIZE
    444 leftStartC+= (confBL.getWindowLeftOffset()>>1)<<4;
    445 topStartC+= (confBL.getWindowTopOffset()>>1)<<4;
     444    leftStartC += ( confBL.getWindowLeftOffset() >> 1 ) << 4;
     445    topStartC  += ( confBL.getWindowTopOffset() >> 1 ) << 4;
    446446#endif
    447447    shiftX = 16;
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r694 r695  
    15561556        Int heightBL  = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight();
    15571557#if Q0200_CONFORMANCE_BL_SIZE
    1558 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();
    1559 widthBL   -= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset());
    1560 heightBL  -= (confBL.getWindowTopOffset()+confBL.getWindowBottomOffset());
     1558        const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();
     1559        widthBL  -= confBL.getWindowLeftOffset() + confBL.getWindowRightOffset();
     1560        heightBL -= confBL.getWindowTopOffset() + confBL.getWindowBottomOffset();
    15611561#endif
    15621562        Int widthEL   = pcPic->getPicYuvRec()->getWidth()  - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset();
  • branches/SHM-6-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r694 r695  
    10441044        Int heightBL  = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight();
    10451045#if Q0200_CONFORMANCE_BL_SIZE
    1046 const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();
    1047 widthBL   -= (confBL.getWindowLeftOffset()+confBL.getWindowRightOffset());
    1048 heightBL  -= (confBL.getWindowTopOffset()+confBL.getWindowBottomOffset());
     1046        const Window &confBL = pcSlice->getBaseColPic(refLayerIdc)->getConformanceWindow();
     1047        widthBL  -= confBL.getWindowLeftOffset() + confBL.getWindowRightOffset();
     1048        heightBL -= confBL.getWindowTopOffset() + confBL.getWindowBottomOffset();
    10491049#endif
    10501050        Int widthEL   = pcPic->getPicYuvRec()->getWidth()  - scalEL.getWindowLeftOffset() - scalEL.getWindowRightOffset();
Note: See TracChangeset for help on using the changeset viewer.