Ignore:
Timestamp:
2 Jun 2015, 15:08:23 (10 years ago)
Author:
tech
Message:

Fixes:

  • Windows compiler warning
  • Naming DLT related syntax elements.
Location:
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1243 r1247  
    373373{
    374374#if NH_3D_DLT
    375   WRITE_FLAG( pcPPS->getDLT()->getDltPresentFlag() ? 1 : 0, "dlt_present_flag" );
     375  WRITE_FLAG( pcPPS->getDLT()->getDltPresentFlag() ? 1 : 0, "dlts_present_flag" );
    376376
    377377  if ( pcPPS->getDLT()->getDltPresentFlag() )
    378378  {
    379379    WRITE_CODE(pcPPS->getDLT()->getNumDepthViews() - 1, 6, "pps_depth_layers_minus1");
    380     WRITE_CODE((pcPPS->getDLT()->getDepthViewBitDepth() - 8), 4, "pps_bit_depth_for_depth_views_minus8");
     380    WRITE_CODE((pcPPS->getDLT()->getDepthViewBitDepth() - 8), 4, "pps_bit_depth_for_depth_layers_minus8");
    381381   
    382382    for( Int i = 0; i <= pcPPS->getDLT()->getNumDepthViews(); i++ )
     
    384384      Int layerId = pcPPS->getDLT()->getDepthIdxToLayerId(i);
    385385     
    386       WRITE_FLAG( pcPPS->getDLT()->getUseDLTFlag( layerId ) ? 1 : 0, "dlt_flag[layerId]" );
     386      WRITE_FLAG( pcPPS->getDLT()->getUseDLTFlag( layerId ) ? 1 : 0, "dlt_flag[i]" );
    387387     
    388388      if ( pcPPS->getDLT()->getUseDLTFlag( layerId ) )
     
    392392       
    393393        // ----------------------------- Actual coding -----------------------------
    394         WRITE_FLAG( pcPPS->getDLT()->getInterViewDltPredEnableFlag( layerId ) ? 1 : 0, "inter_view_dlt_pred_enable_flag[ layerId ]");
     394        WRITE_FLAG( pcPPS->getDLT()->getInterViewDltPredEnableFlag( layerId ) ? 1 : 0, "dlt_pred_flag[i]");
    395395        if ( pcPPS->getDLT()->getInterViewDltPredEnableFlag( layerId ) == false )
    396396        {
    397           WRITE_FLAG( pcPPS->getDLT()->getUseBitmapRep( layerId ) ? 1 : 0, "dlt_bit_map_rep_flag[ layerId ]" );
     397          WRITE_FLAG( pcPPS->getDLT()->getUseBitmapRep( layerId ) ? 1 : 0, "dlt_val_flags_present_flag[i]" );
    398398         
    399399          for( UInt ui = 0; ui<uiNumDepthValues_coded; ui++ )
     
    419419            if ( d == aiIdx2DepthValue_coded[uiDltArrayIndex] )
    420420            {
    421               WRITE_FLAG(1, "dlt_bit_map_flag[ layerId ][ j ]");
     421              WRITE_FLAG(1, "dlt_value_flag[i][j]");
    422422              uiDltArrayIndex++;
    423423            }
    424424            else
    425425            {
    426               WRITE_FLAG(0, "dlt_bit_map_flag[ layerId ][ j ]");
     426              WRITE_FLAG(0, "dlt_value_flag[i][j]");
    427427            }
    428428          }
     
    462462          }
    463463         
    464           WRITE_CODE(uiNumDepthValues_coded, 8, "num_depth_values_in_dlt[layerId]");    // num_entry
     464          WRITE_CODE(uiNumDepthValues_coded, 8, "num_val_delta_dlt");    // num_entry
    465465          {
    466466            // The condition if( uiNumDepthValues_coded > 0 ) is always true since for Single-view Diff Coding, there is at least one depth value in depth component.
    467467            if ( uiNumDepthValues_coded > 1 )
    468468            {
    469               WRITE_CODE(uiMaxDiff, 8, "max_diff[ layerId ]");        // max_diff
     469              WRITE_CODE(uiMaxDiff, 8, "max_diff");        // max_diff
    470470            }
    471471           
    472472            if ( uiNumDepthValues_coded > 2 )
    473473            {
    474               WRITE_CODE((uiMinDiff - 1), uiLengthMinDiff, "min_diff_minus1[ layerId ]");     // min_diff_minus1
     474              WRITE_CODE((uiMinDiff - 1), uiLengthMinDiff, "min_diff_minus1");     // min_diff_minus1
    475475            }
    476476           
    477             WRITE_CODE(aiIdx2DepthValue_coded[0], 8, "dlt_depth_value0[layerId]");          // entry0
     477            WRITE_CODE(aiIdx2DepthValue_coded[0], 8, "delta_dlt_val0");          // entry0
    478478           
    479479            if (uiMaxDiff > uiMinDiff)
     
    481481              for (UInt d=1; d < uiNumDepthValues_coded; d++)
    482482              {
    483                 WRITE_CODE( (puiDltDiffValues[d] - uiMinDiff), uiLengthDltDiffMinusMin, "dlt_depth_value_diff_minus_min[ layerId ][ j ]");    // entry_value_diff_minus_min[ k ]
     483                WRITE_CODE( (puiDltDiffValues[d] - uiMinDiff), uiLengthDltDiffMinusMin, "delta_val_diff_minus_min[k]");    // entry_value_diff_minus_min[ k ]
    484484              }
    485485            }
  • branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp

    r1243 r1247  
    31983198          Bool zeroResiTest = (pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP());
    31993199#if NH_3D_SDC_INTRA
    3200           zeroResiTest |= pcCU->getSDCFlag(uiPartOffset);
     3200          zeroResiTest = zeroResiTest || pcCU->getSDCFlag(uiPartOffset);
    32013201          if( uiSDC != 0 && iSDCDeltaResi != 0 )
    32023202          {
     
    32043204          }
    32053205#endif
    3206           for( UInt zeroResi = 0; zeroResi <= zeroResiTest?1:0; zeroResi++ )
     3206          for( UInt zeroResi = 0; zeroResi <= ( zeroResiTest ? 1 : 0 ); zeroResi++ )
    32073207          {
    32083208#endif
Note: See TracChangeset for help on using the changeset viewer.