List Info

Thread: compress/decoder decmain.cpp,1.23,1.24




compress/decoder decmain.cpp,1.23,1.24
user name
2007-11-11 20:20:44
Update of /cvsroot/dirac/compress/decoder
In directory
sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv19284/decoder

Modified Files:
	decmain.cpp 
Log Message:
Cosmetic changes - all debug info in verbose mode is output
to standard out and
not standard error to keep it consistent with rest of code.


Index: decmain.cpp
============================================================
=======
RCS file: /cvsroot/dirac/compress/decoder/decmain.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** decmain.cpp	3 Sep 2007 11:31:42 -0000	1.23
--- decmain.cpp	12 Nov 2007 02:20:42 -0000	1.24
***************
*** 199,203 ****
              if (verbose)
              {
!                 fprintf (stderr, "SEQUENCE :
major_ver=%d minor_version=%d profile=%d level=%d width=%d
height=%d chroma=%s chroma_width=%d chroma_height=%d
frame_rate=%d/%d, interlace=%s topfieldfirst=%sn", 
                  decoder->parse_params.major_ver,
                  decoder->parse_params.minor_ver,
--- 199,203 ----
              if (verbose)
              {
!                 fprintf (stdout, "nSEQUENCE :
major_ver=%d minor_version=%d profile=%d level=%d width=%d
height=%d chroma=%s chroma_width=%d chroma_height=%d
frame_rate=%d/%d, interlace=%s topfieldfirst=%s", 
                  decoder->parse_params.major_ver,
                  decoder->parse_params.minor_ver,
***************
*** 233,237 ****
              */
              if (verbose)
!                 fprintf (stderr,
"SEQUENCE_ENDn");
              
              FreeFrameBuffer(decoder);
--- 233,237 ----
              */
              if (verbose)
!                 fprintf (stdout,
"nSEQUENCE_END");
              
              FreeFrameBuffer(decoder);
***************
*** 245,249 ****
              if (verbose)
              {
!                 fprintf (stderr, "PICTURE_START :
frame_type=%s frame_num=%dn",
                     
ftype2string(decoder->frame_params.ftype,
decoder->frame_params.rtype),
                      decoder->frame_params.fnum);
--- 245,249 ----
              if (verbose)
              {
!                 fprintf (stdout, "nPICTURE_START :
frame_type=%s frame_num=%d",
                     
ftype2string(decoder->frame_params.ftype,
decoder->frame_params.rtype),
                      decoder->frame_params.fnum);
***************
*** 253,257 ****
              {
                  if (verbose)
!                     fprintf (stderr, "              :
Skipping framen");
  
                  dirac_skip (decoder, 1);
--- 253,257 ----
              {
                  if (verbose)
!                     fprintf (stdout, "n             
: Skipping frame");
  
                  dirac_skip (decoder, 1);
***************
*** 265,269 ****
              if (verbose)
              {
!                 fprintf (stderr, "PICTURE_AVAIL :
frame_type=%s frame_num=%dn",
                     
ftype2string(decoder->frame_params.ftype,
decoder->frame_params.rtype), 
                      decoder->frame_params.fnum);
--- 265,269 ----
              if (verbose)
              {
!                 fprintf (stdout, "nPICTURE_AVAIL :
frame_type=%s frame_num=%d",
                     
ftype2string(decoder->frame_params.ftype,
decoder->frame_params.rtype), 
                      decoder->frame_params.fnum);
***************
*** 285,289 ****
  
      if ( verbose )
!         fprintf (stdout, "Time per frame:
%gn",
                 
(double)(stop_t-start_t)/(double)(CLOCKS_PER_SEC*num_frames)
);
  
--- 285,289 ----
  
      if ( verbose )
!         fprintf (stdout, "nTime per frame:
%g",
                 
(double)(stop_t-start_t)/(double)(CLOCKS_PER_SEC*num_frames)
);
  


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Dirac-commits mailing list
Dirac-commitslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dirac-com
mits

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )