Revision b7c51ebc

View differences:

libavcodec/h263.c
1763 1763
                if(code<33){
1764 1764
                    len= mvtab[code][1] + 1 + bit_size;
1765 1765
                }else{
1766
                    len= mvtab[32][1] + 2 + bit_size;
1766
                    len= mvtab[32][1] + av_log2(code>>5) + 2 + bit_size;
1767 1767
                }
1768 1768
            }
1769 1769

  
tests/ffmpeg.regression.ref
51 51
2414342 ./data/a-h263p.avi
52 52
28fd12ac0b168252d81df6f6e60a5d17 *./data/out.yuv
53 53
stddev:  2.07 PSNR:41.76 bytes:7602176
54
9aceeacc860415019807c8f5f462dd1b *./data/a-odivx.mp4
55
554440 ./data/a-odivx.mp4
56
e400c9175dd1811cdeee7be5555d33f1 *./data/out.yuv
54
80e21d45a75c2dfce42a2894be750b03 *./data/a-odivx.mp4
55
554527 ./data/a-odivx.mp4
56
57aed19df5cbada4b05991527ee72ebe *./data/out.yuv
57 57
stddev:  7.99 PSNR:30.06 bytes:7602176
58 58
8a9a98678a2e9c2e857f741cbb8e9ccb *./data/a-huffyuv.avi
59 59
7932708 ./data/a-huffyuv.avi
60 60
799d3db687f6cdd7a837ec156efc171f *./data/out.yuv
61 61
stddev:  0.00 PSNR:99.99 bytes:7602176
62
cd541209c9ef0c1824ac340d5087f0e0 *./data/a-mpeg4-rc.avi
63
824336 ./data/a-mpeg4-rc.avi
64
6656c0be50eba458b5ab91bfe6bf3077 *./data/out.yuv
62
cc4a9bf5046d4f471174800135867831 *./data/a-mpeg4-rc.avi
63
824318 ./data/a-mpeg4-rc.avi
64
df7de6d3ce1faf92393985485cdf287a *./data/out.yuv
65 65
stddev: 10.41 PSNR:27.77 bytes:7602176
66 66
81078d7852dfd6041ff17b5dc8ed0ffc *./data/a-mpeg4-adv.avi
67 67
600240 ./data/a-mpeg4-adv.avi
68 68
0b7935cee2070f3b838478cea6dc4b3c *./data/out.yuv
69 69
stddev: 10.25 PSNR:27.90 bytes:7602176
70
5da70c628af00fc6d2dba685d24341b6 *./data/a-mpeg4-thread.avi
71
764920 ./data/a-mpeg4-thread.avi
72
6e3cc8569fd1f39a3657045a8249dbc6 *./data/out.yuv
70
b0235e9bf3cf3867064b9ff21cda76de *./data/a-mpeg4-thread.avi
71
764896 ./data/a-mpeg4-thread.avi
72
d10f9ee6af493233f46a2ff2b178940a *./data/out.yuv
73 73
stddev: 12.32 PSNR:26.30 bytes:7602176
74 74
50867a2530035615152f1e068c989bfc *./data/a-mpeg4-Q.avi
75 75
899514 ./data/a-mpeg4-Q.avi
tests/rotozoom.regression.ref
71 71
253448 ./data/a-mpeg4-thread.avi
72 72
672eff5de3b19df7b82ed3e6bed8642d *./data/out.yuv
73 73
stddev:  4.05 PSNR:35.96 bytes:7602176
74
ddcb9476113fac71ee609018984353ce *./data/a-mpeg4-Q.avi
75
165016 ./data/a-mpeg4-Q.avi
76
94d8bd3897ac20bb3bef9cf384f9abd0 *./data/out.yuv
74
1d39759d16065aeb96cc81aabd735f78 *./data/a-mpeg4-Q.avi
75
165034 ./data/a-mpeg4-Q.avi
76
b15dac581c3ba6e5e016df5dea360dc0 *./data/out.yuv
77 77
stddev:  4.01 PSNR:36.05 bytes:7602176
78 78
217c694a61eea2dd8896d558fed3fc05 *./data/a-error-mpeg4-adv.avi
79 79
175778 ./data/a-error-mpeg4-adv.avi

Also available in: Unified diff