Mercurial > libavcodec.hg
comparison dct-test.c @ 4197:bbe0bc387a19 libavcodec
revert bad checkin
author | mru |
---|---|
date | Tue, 14 Nov 2006 03:18:09 +0000 |
parents | fbac0859753d |
children | d49f8b3e8c4a |
comparison
equal
deleted
inserted
replaced
4196:fbac0859753d | 4197:bbe0bc387a19 |
---|---|
67 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552, | 67 12873, 17855, 16819, 15137, 12873, 10114, 6967, 3552, |
68 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446, | 68 8867, 12299, 11585, 10426, 8867, 6967, 4799, 2446, |
69 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247 | 69 4520, 6270, 5906, 5315, 4520, 3552, 2446, 1247 |
70 }; | 70 }; |
71 | 71 |
72 uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP]; | 72 uint8_t cropTbl[256 + 2 * MAX_NEG_CROP]; |
73 | 73 |
74 int64_t gettime(void) | 74 int64_t gettime(void) |
75 { | 75 { |
76 struct timeval tv; | 76 struct timeval tv; |
77 gettimeofday(&tv,NULL); | 77 gettimeofday(&tv,NULL); |
471 int test=1; | 471 int test=1; |
472 | 472 |
473 init_fdct(); | 473 init_fdct(); |
474 idct_mmx_init(); | 474 idct_mmx_init(); |
475 | 475 |
476 for(i=0;i<256;i++) ff_cropTbl[i + MAX_NEG_CROP] = i; | 476 for(i=0;i<256;i++) cropTbl[i + MAX_NEG_CROP] = i; |
477 for(i=0;i<MAX_NEG_CROP;i++) { | 477 for(i=0;i<MAX_NEG_CROP;i++) { |
478 ff_cropTbl[i] = 0; | 478 cropTbl[i] = 0; |
479 ff_cropTbl[i + MAX_NEG_CROP + 256] = 255; | 479 cropTbl[i + MAX_NEG_CROP + 256] = 255; |
480 } | 480 } |
481 | 481 |
482 for(;;) { | 482 for(;;) { |
483 c = getopt(argc, argv, "ih4"); | 483 c = getopt(argc, argv, "ih4"); |
484 if (c == -1) | 484 if (c == -1) |