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_encraw.c,v 1.6 2002-12-18 20:48:25 edgomez Exp $ |
* $Id: xvid_encraw.c,v 1.8 2003-02-09 19:32:52 edgomez Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
176 |
FILE *out_file = NULL; |
FILE *out_file = NULL; |
177 |
FILE *hints_file = NULL; |
FILE *hints_file = NULL; |
178 |
|
|
179 |
printf("xvid_decraw - raw mpeg4 bitstream encoder "); |
printf("xvid_encraw - raw mpeg4 bitstream encoder "); |
180 |
printf("written by Christoph Lampert 2002\n\n"); |
printf("written by Christoph Lampert 2002\n\n"); |
181 |
|
|
182 |
/***************************************************************************** |
/***************************************************************************** |
536 |
/* Return time elapsed time in miliseconds since the program started */ |
/* Return time elapsed time in miliseconds since the program started */ |
537 |
static double msecond() |
static double msecond() |
538 |
{ |
{ |
539 |
#ifndef _MSC_VER |
#ifndef WIN32 |
540 |
struct timeval tv; |
struct timeval tv; |
541 |
gettimeofday(&tv, 0); |
gettimeofday(&tv, 0); |
542 |
return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3; |
return tv.tv_sec*1.0e3 + tv.tv_usec * 1.0e-3; |