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.20 2003-02-15 15:22:17 edgomez Exp $ |
* $Id: xvid_stat.c,v 1.22 2003-02-22 21:37:49 chl Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
853 |
|
|
854 |
if(use_assembler) { |
if(use_assembler) { |
855 |
|
|
856 |
#ifdef ARCH_IA64 |
#ifdef ARCH_IS_IA64 |
857 |
xinit.cpu_flags = XVID_CPU_FORCE | XVID_CPU_IA64; |
xinit.cpu_flags = XVID_CPU_FORCE | XVID_CPU_IA64; |
858 |
#else |
#else |
859 |
xinit.cpu_flags = 0; |
xinit.cpu_flags = 0; |
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 |
|
|