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

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

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

revision 860, Sun Feb 16 05:11:39 2003 UTC revision 896, Sat Feb 22 21:37:50 2003 UTC
# Line 19  Line 19 
19   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: xvid_stat.c,v 1.21 2003-02-16 05:11:39 suxen_drol Exp $   * $Id: xvid_stat.c,v 1.22 2003-02-22 21:37:49 chl Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 915  Line 915 
915          xframe.length = -1;     /* this is written by the routine */          xframe.length = -1;     /* this is written by the routine */
916    
917          xframe.image = image;          xframe.image = image;
918          xframe.colorspace = XVID_CSP_YV12;      /* defined in <xvid.h> */          xframe.colorspace = XVID_CSP_I420;      /* defined in <xvid.h> */
919    
920          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) */
921    
# Line 997  Line 997 
997          xframe.length = m4v_size;          xframe.length = m4v_size;
998          xframe.image = out_buffer;          xframe.image = out_buffer;
999          xframe.stride = XDIM;          xframe.stride = XDIM;
1000          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) */
1001    
1002          xerr = xvid_decore(dec_handle, XVID_DEC_DECODE, &xframe, NULL);          xerr = xvid_decore(dec_handle, XVID_DEC_DECODE, &xframe, NULL);
1003    

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

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