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 |
|
|
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 |
|
|
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 |
|
|