[svn] / trunk / xvidcore / examples / xvid_bstat.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/examples/xvid_bstat.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 894, Sat Feb 22 18:54:04 2003 UTC revision 896, Sat Feb 22 21:37:50 2003 UTC
# Line 74  Line 74 
74    
75  #include <stdio.h>  #include <stdio.h>
76  #include <stdlib.h>  #include <stdlib.h>
77    #include <string.h>
78  #include <math.h>               // needed for log10  #include <math.h>               // needed for log10
79  #include <sys/time.h>           // only needed for gettimeofday  #include <sys/time.h>           // only needed for gettimeofday
80    
# Line 351  Line 352 
352    
353          xframe.image = image;          xframe.image = image;
354          xframe.stride = XDIM;          xframe.stride = XDIM;
355          xframe.colorspace = XVID_CSP_YV12;      // defined in <xvid.h>          xframe.colorspace = XVID_CSP_I420;      // defined in <xvid.h>
356    
357          xframe.intra = -1; // let the codec decide between I-frame (1) and P-frame (0)          xframe.intra = -1; // let the codec decide between I-frame (1) and P-frame (0)
358    
# Line 424  Line 425 
425          xframe.length = 1234; // *m4v_size;          xframe.length = 1234; // *m4v_size;
426          xframe.image = out_buffer;          xframe.image = out_buffer;
427          xframe.stride = XDIM;          xframe.stride = XDIM;
428          xframe.colorspace = XVID_CSP_YV12;             // XVID_CSP_USER is fastest (no memcopy involved)          xframe.colorspace = XVID_CSP_I420;             // XVID_CSP_USER is fastest (no memcopy involved)
429    
430          xerr = xvid_decore(dec_handle, XVID_DEC_DECODE, &xframe, NULL);          xerr = xvid_decore(dec_handle, XVID_DEC_DECODE, &xframe, NULL);
431    

Legend:
Removed from v.894  
changed lines
  Added in v.896

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4