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