Changeset 917 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibEncoder/TEncAnalyze.h
- Timestamp:
- 12 Nov 2014, 19:17:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-upgrade/source/Lib/TLibEncoder/TEncAnalyze.h ¶
r916 r917 165 165 if (printMSEBasedSNR) 166 166 { 167 #if SVC_EXTENSION 168 if( layer == 0 ) 169 { 170 #endif 167 171 printf( " \tTotal Frames | " "Bitrate " "Y-PSNR" ); 168 172 … … 171 175 172 176 //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 173 184 printf( "Average: \t %8d %c " "%12.4lf " "%8.4lf", 185 #endif 174 186 getNumPic(), cDelim, 175 187 getBits() * dScale, … … 182 194 else printf("\n"); 183 195 196 #if SVC_EXTENSION 197 printf( "From MSE: L%d \t %8d %c " "%12.4lf " "%8.4lf\n", 198 layer, 199 #else 184 200 printf( "From MSE:\t %8d %c " "%12.4lf " "%8.4lf\n", 201 #endif 185 202 getNumPic(), cDelim, 186 203 getBits() * dScale, … … 196 213 //printf( "\t------------ " " ----------" " -------- " " -------- " " --------\n" ); 197 214 #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", 199 216 layer, 200 217 #else … … 223 240 if (printMSEBasedSNR) 224 241 { 242 #if SVC_EXTENSION 243 if( layer == 0 ) 244 { 245 #endif 225 246 printf( " \tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR " "YUV-PSNR " ); 226 247 … … 229 250 230 251 //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 231 257 printf( "Average: \t %8d %c " "%12.4lf " "%8.4lf " "%8.4lf " "%8.4lf " "%8.4lf", 258 #endif 232 259 getNumPic(), cDelim, 233 260 getBits() * dScale, … … 247 274 else printf("\n"); 248 275 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 249 280 printf( "From MSE:\t %8d %c " "%12.4lf " "%8.4lf " "%8.4lf " "%8.4lf " "%8.4lf\n", 281 #endif 250 282 getNumPic(), cDelim, 251 283 getBits() * dScale, … … 257 289 else 258 290 { 291 #if SVC_EXTENSION 292 if( layer == 0 ) 293 { 294 #endif 259 295 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR " "YUV-PSNR " ); 260 296 … … 263 299 264 300 //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 265 306 printf( "\t %8d %c " "%12.4lf " "%8.4lf " "%8.4lf " "%8.4lf " "%8.4lf", 307 #endif 266 308 getNumPic(), cDelim, 267 309 getBits() * dScale,
Note: See TracChangeset for help on using the changeset viewer.