Mercurial > libavcodec.hg
comparison dsputil.c @ 676:c3bdb00a98a9 libavcodec
dont store version for bit-exact tests
author | michaelni |
---|---|
date | Sat, 14 Sep 2002 22:07:35 +0000 |
parents | 45e8f39fda50 |
children | efcbfbd18864 |
comparison
equal
deleted
inserted
replaced
675:9008cbe229ce | 676:c3bdb00a98a9 |
---|---|
41 | 41 |
42 op_pixels_abs_func pix_abs8x8; | 42 op_pixels_abs_func pix_abs8x8; |
43 op_pixels_abs_func pix_abs8x8_x2; | 43 op_pixels_abs_func pix_abs8x8_x2; |
44 op_pixels_abs_func pix_abs8x8_y2; | 44 op_pixels_abs_func pix_abs8x8_y2; |
45 op_pixels_abs_func pix_abs8x8_xy2; | 45 op_pixels_abs_func pix_abs8x8_xy2; |
46 | |
47 int ff_bit_exact=0; | |
46 | 48 |
47 UINT8 cropTbl[256 + 2 * MAX_NEG_CROP]; | 49 UINT8 cropTbl[256 + 2 * MAX_NEG_CROP]; |
48 UINT32 squareTbl[512]; | 50 UINT32 squareTbl[512]; |
49 | 51 |
50 extern INT16 ff_mpeg1_default_intra_matrix[64]; | 52 extern INT16 ff_mpeg1_default_intra_matrix[64]; |
1695 } | 1697 } |
1696 | 1698 |
1697 /* remove any non bit exact operation (testing purpose) */ | 1699 /* remove any non bit exact operation (testing purpose) */ |
1698 void avcodec_set_bit_exact(void) | 1700 void avcodec_set_bit_exact(void) |
1699 { | 1701 { |
1702 ff_bit_exact=1; | |
1700 #ifdef HAVE_MMX | 1703 #ifdef HAVE_MMX |
1701 dsputil_set_bit_exact_mmx(); | 1704 dsputil_set_bit_exact_mmx(); |
1702 #endif | 1705 #endif |
1703 } | 1706 } |
1704 | 1707 |