21 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
23 |
* |
* |
24 |
* $Id: xvid_encraw.c,v 1.21 2005-10-06 18:28:31 Isibaar Exp $ |
* $Id: xvid_encraw.c,v 1.22 2005-10-07 15:02:28 suxen_drol Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
467 |
return (-1); |
return (-1); |
468 |
} |
} |
469 |
|
|
470 |
|
ARG_MAXFRAMENR = min(ARG_MAXFRAMENR, avi_info.dwLength); |
471 |
|
|
472 |
XDIM = avi_info.rcFrame.right - avi_info.rcFrame.left; |
XDIM = avi_info.rcFrame.right - avi_info.rcFrame.left; |
473 |
YDIM = avi_info.rcFrame.bottom - avi_info.rcFrame.top; |
YDIM = avi_info.rcFrame.bottom - avi_info.rcFrame.top; |
474 |
ARG_FRAMERATE = (float) avi_info.dwRate / (float) avi_info.dwScale; |
ARG_FRAMERATE = (float) avi_info.dwRate / (float) avi_info.dwScale; |
756 |
clock_t clk; |
clock_t clk; |
757 |
|
|
758 |
clk = clock(); |
clk = clock(); |
759 |
return (clk * 1000 / CLOCKS_PER_SEC); |
return (clk * 1000.0 / CLOCKS_PER_SEC); |
760 |
#endif |
#endif |
761 |
} |
} |
762 |
|
|