Changeset 917 in SHVCSoftware for branches/SHM-upgrade/source/Lib


Ignore:
Timestamp:
12 Nov 2014, 19:17:13 (10 years ago)
Author:
seregin
Message:

fix printing summary and remove REP_FORMAT_FIX, WPP_FIX, and P0050_KNEE_FUNCTION_SEI

Location:
branches/SHM-upgrade/source/Lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h

    r916 r917  
    228228
    229229#define Q0195_REP_FORMAT_CLEANUP         1      ///< JCTVC-Q0195: restructureing of rep_format() signaling
    230 #define REP_FORMAT_FIX                   1      ///< update_rep_format_flag should be inferred to be equal to 0
    231230
    232231#define R0156_CONF_WINDOW_IN_REP_FORMAT  O0096_REP_FORMAT_INDEX ///< JCTVC-R0156: add conformance window cropping offsets to rep_format()
     
    296295};
    297296
    298 #define WPP_FIX                          1
    299 
    300297/// normative encoder constraints --------
    301298#define MFM_ENCCONSTRAINT                1      ///< JCTVC-O0216: Encoder constraint for motion field mapping
     
    313310
    314311/// SEI messages -------------------------
    315 #define P0050_KNEE_FUNCTION_SEI          1      ///< JCTVC-P0050: Knee function SEI
    316312#define SUB_BITSTREAM_PROPERTY_SEI       1      ///< JCTVC-P0204: Sub-bitstream property SEI message
    317313#if SUB_BITSTREAM_PROPERTY_SEI
  • branches/SHM-upgrade/source/Lib/TLibEncoder/TEncAnalyze.h

    r916 r917  
    165165        if (printMSEBasedSNR)
    166166        {
     167#if SVC_EXTENSION
     168          if( layer == 0 )
     169          {
     170#endif
    167171          printf( "         \tTotal Frames |   "   "Bitrate     "  "Y-PSNR" );
    168172
     
    171175
    172176          //printf( "\t------------ "  " ----------"   " -------- "  " -------- "  " --------\n" );
     177#if SVC_EXTENSION
     178          }
     179
     180          printf( "Average:  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf",
     181                 layer,
     182
     183#else
    173184          printf( "Average: \t %8d    %c "          "%12.4lf  "    "%8.4lf",
     185#endif
    174186                 getNumPic(), cDelim,
    175187                 getBits() * dScale,
     
    182194          else printf("\n");
    183195
     196#if SVC_EXTENSION
     197          printf( "From MSE:  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf\n",
     198                 layer,
     199#else
    184200          printf( "From MSE:\t %8d    %c "          "%12.4lf  "    "%8.4lf\n",
     201#endif
    185202                 getNumPic(), cDelim,
    186203                 getBits() * dScale,
     
    196213          //printf( "\t------------ "  " ----------"   " -------- "  " -------- "  " --------\n" );
    197214#if SVC_EXTENSION
    198           printf( "    L%d\t %8d    %c "          "%12.4lf  "    "%8.4lf",
     215          printf( "  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf",
    199216                 layer,
    200217#else
     
    223240          if (printMSEBasedSNR)
    224241          {
     242#if SVC_EXTENSION
     243            if( layer == 0 )
     244            {
     245#endif
    225246            printf( "         \tTotal Frames |   "   "Bitrate     "  "Y-PSNR    "  "U-PSNR    "  "V-PSNR    "  "YUV-PSNR " );
    226247
     
    229250
    230251            //printf( "\t------------ "  " ----------"   " -------- "  " -------- "  " --------\n" );
     252#if SVC_EXTENSION
     253            }
     254            printf( "Average:  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf",
     255                   layer,
     256#else
    231257            printf( "Average: \t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf",
     258#endif
    232259                   getNumPic(), cDelim,
    233260                   getBits() * dScale,
     
    247274            else printf("\n");
    248275
     276#if SVC_EXTENSION
     277            printf( "From MSE:  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf\n",
     278                   layer,
     279#else
    249280            printf( "From MSE:\t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf\n",
     281#endif
    250282                   getNumPic(), cDelim,
    251283                   getBits() * dScale,
     
    257289          else
    258290          {
     291#if SVC_EXTENSION
     292            if( layer == 0 )
     293            {
     294#endif
    259295            printf( "\tTotal Frames |   "   "Bitrate     "  "Y-PSNR    "  "U-PSNR    "  "V-PSNR    "  "YUV-PSNR " );
    260296           
     
    263299
    264300            //printf( "\t------------ "  " ----------"   " -------- "  " -------- "  " --------\n" );
     301#if SVC_EXTENSION
     302            }
     303            printf( "  L%d \t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf",
     304                   layer,
     305#else
    265306            printf( "\t %8d    %c "          "%12.4lf  "    "%8.4lf  "   "%8.4lf  "    "%8.4lf  "   "%8.4lf",
     307#endif
    266308                   getNumPic(), cDelim,
    267309                   getBits() * dScale,
Note: See TracChangeset for help on using the changeset viewer.