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_bench.c,v 1.26 2005-10-26 12:38:33 Skal Exp $ |
* $Id: xvid_bench.c,v 1.27 2005-11-03 05:44:07 Skal Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
1829 |
int nb_err = 0; |
int nb_err = 0; |
1830 |
int32_t v; |
int32_t v; |
1831 |
if (sizeof(uint16_t)<2) { |
if (sizeof(uint16_t)<2) { |
1832 |
printf( "ERROR: sizeof(uint16_t)<2!\n" ); |
printf( "ERROR: sizeof(uint16_t)<2 !!\n" ); |
1833 |
nb_err++; |
nb_err++; |
1834 |
} |
} |
1835 |
if (sizeof(int16_t)<2) { |
if (sizeof(int16_t)<2) { |
1836 |
printf( "ERROR: sizeof(int16_t)<2!\n" ); |
printf( "ERROR: sizeof(int16_t)<2 !!\n" ); |
1837 |
nb_err++; |
nb_err++; |
1838 |
} |
} |
1839 |
if (sizeof(uint8_t)!=1) { |
if (sizeof(uint8_t)!=1) { |
1840 |
printf( "ERROR: sizeof(uint8_t)!=1!\n" ); |
printf( "ERROR: sizeof(uint8_t)!=1 !!\n" ); |
1841 |
nb_err++; |
nb_err++; |
1842 |
} |
} |
1843 |
if (sizeof(int8_t)!=1) { |
if (sizeof(int8_t)!=1) { |
1844 |
printf( "ERROR: sizeof(uint8_t)!=1!\n" ); |
printf( "ERROR: sizeof(int8_t)!=1 !!\n" ); |
1845 |
nb_err++; |
nb_err++; |
1846 |
} |
} |
1847 |
if (sizeof(uint32_t)<4) { |
if (sizeof(uint32_t)<4) { |
1848 |
printf( "ERROR: sizeof(uint8_t)<4!\n" ); |
printf( "ERROR: sizeof(uint32_t)<4 !!\n" ); |
1849 |
nb_err++; |
nb_err++; |
1850 |
} |
} |
1851 |
if (sizeof(int32_t)<4) { |
if (sizeof(int32_t)<4) { |
1852 |
printf( "ERROR: sizeof(uint32_t)<4!\n" ); |
printf( "ERROR: sizeof(int32_t)<4 !!\n" ); |
1853 |
nb_err++; |
nb_err++; |
1854 |
} |
} |
1855 |
/* yes, i know, this test is silly. But better be safe than sorry. :) */ |
/* yes, i know, this test is silly. But better be safe than sorry. :) */ |