History

avcodec/mpegvideo: also export 0,0 motion vectors

Michael Niedermayer committed 11 years ago

Commit 146a2c41 parent b7f8e6d2 files · +15 −17Browse files

Unified · Split

2 files
  1. libavcodec/mpegvideo.c +0 −2
  2. tests/ref/fate/filter-codecview-mvs +15 −15
libavcodec/mpegvideo.c+0−2
@@ -2138,8 +2138,6 @@ static int add_mb(AVMotionVector *mb, uint32_t mb_type, · 2137 unmodified lines
21382138 int src_x, int src_y,
21392139 int direction)
21402140 {
2141− if (dst_x == src_x && dst_y == src_y)
2142− return 0;
21432141 mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16;
21442142 mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16;
21452143 mb->src_x = src_x;
tests/ref/fate/filter-codecview-mvs+15−15
@@ -15,47 +15,47 @@ · 14 unmodified lines
1515 0, 13, 13, 1, 276480, 0x5f7a0d4f
1616 0, 14, 14, 1, 276480, 0x5f7a0d4f
1717 0, 15, 15, 1, 276480, 0x5f7a0d4f
18−0, 16, 16, 1, 276480, 0x5f7a0d4f
18+0, 16, 16, 1, 276480, 0xc3b80edf
1919 0, 17, 17, 1, 276480, 0x5f7a0d4f
2020 0, 18, 18, 1, 276480, 0x5f7a0d4f
2121 0, 19, 19, 1, 276480, 0x5f7a0d4f
22−0, 20, 20, 1, 276480, 0x5f7a0d4f
22+0, 20, 20, 1, 276480, 0xc3b80edf
2323 0, 21, 21, 1, 276480, 0x5f7a0d4f
2424 0, 22, 22, 1, 276480, 0x5f7a0d4f
2525 0, 23, 23, 1, 276480, 0x5f7a0d4f
26−0, 24, 24, 1, 276480, 0x5f7a0d4f
26+0, 24, 24, 1, 276480, 0xc3b80edf
2727 0, 25, 25, 1, 276480, 0x5f7a0d4f
2828 0, 26, 26, 1, 276480, 0x5f7a0d4f
2929 0, 27, 27, 1, 276480, 0x5f7a0d4f
30−0, 28, 28, 1, 276480, 0x5f7a0d4f
30+0, 28, 28, 1, 276480, 0xc3b80edf
3131 0, 29, 29, 1, 276480, 0x5f7a0d4f
3232 0, 30, 30, 1, 276480, 0x5f7a0d4f
3333 0, 31, 31, 1, 276480, 0x5f7a0d4f
34−0, 32, 32, 1, 276480, 0x5f7a0d4f
34+0, 32, 32, 1, 276480, 0xc3b80edf
3535 0, 33, 33, 1, 276480, 0x75641594
3636 0, 34, 34, 1, 276480, 0x32ee3526
3737 0, 35, 35, 1, 276480, 0xcb53479a
38−0, 36, 36, 1, 276480, 0x7ca9658e
38+0, 36, 36, 1, 276480, 0xe1be6e26
3939 0, 37, 37, 1, 276480, 0x5ce39368
4040 0, 38, 38, 1, 276480, 0x4ec1e418
4141 0, 39, 39, 1, 276480, 0x23c418ae
42−0, 40, 40, 1, 276480, 0x70ac4c76
42+0, 40, 40, 1, 276480, 0x499c55d6
4343 0, 41, 41, 1, 276480, 0x166ef020
4444 0, 42, 42, 1, 276480, 0xaa0614ab
4545 0, 43, 43, 1, 276480, 0x8bc2fa2b
46−0, 44, 44, 1, 276480, 0x07956a97
47−0, 45, 45, 1, 276480, 0x6fcb808b
48−0, 46, 46, 1, 276480, 0x841cf493
46+0, 44, 44, 1, 276480, 0xc9c873f7
47+0, 45, 45, 1, 276480, 0x99838153
48+0, 46, 46, 1, 276480, 0x32e5f45b
4949 0, 47, 47, 1, 276480, 0xe7834514
50−0, 48, 48, 1, 276480, 0xb805fcb1
50+0, 48, 48, 1, 276480, 0x454c99c8
5151 0, 49, 49, 1, 276480, 0xe29bacc8
5252 0, 50, 50, 1, 276480, 0x6b79c3d3
53−0, 51, 51, 1, 276480, 0x798c35c6
54−0, 52, 52, 1, 276480, 0x1b31d2ed
53+0, 51, 51, 1, 276480, 0x284d358e
54+0, 52, 52, 1, 276480, 0x17552cd4
5555 0, 53, 53, 1, 276480, 0x6ceebf3e
5656 0, 54, 54, 1, 276480, 0x7ac8de3c
5757 0, 55, 55, 1, 276480, 0x14d6768c
58−0, 56, 56, 1, 276480, 0xcb08af08
58+0, 56, 56, 1, 276480, 0x59891e5f
5959 0, 57, 57, 1, 276480, 0xed3053ea
60−0, 58, 58, 1, 276480, 0x015782fb
60+0, 58, 58, 1, 276480, 0x9b0182c3
6161 0, 59, 59, 1, 276480, 0xf849eb88

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t