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
2138 int src_x, int src_y,2138 int src_x, int src_y,
2139 int direction)2139 int direction)
2140{2140{
2141 if (dst_x == src_x && dst_y == src_y)
2142 return 0;
2143 mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16;2141 mb->w = IS_8X8(mb_type) || IS_8X16(mb_type) ? 8 : 16;
2144 mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16;2142 mb->h = IS_8X8(mb_type) || IS_16X8(mb_type) ? 8 : 16;
2145 mb->src_x = src_x;2143 mb->src_x = src_x;
tests/ref/fate/filter-codecview-mvs+15−15
@@ -15,47 +15,47 @@ · 14 unmodified lines
150, 13, 13, 1, 276480, 0x5f7a0d4f150, 13, 13, 1, 276480, 0x5f7a0d4f
160, 14, 14, 1, 276480, 0x5f7a0d4f160, 14, 14, 1, 276480, 0x5f7a0d4f
170, 15, 15, 1, 276480, 0x5f7a0d4f170, 15, 15, 1, 276480, 0x5f7a0d4f
180, 16, 16, 1, 276480, 0x5f7a0d4f180, 16, 16, 1, 276480, 0xc3b80edf
190, 17, 17, 1, 276480, 0x5f7a0d4f190, 17, 17, 1, 276480, 0x5f7a0d4f
200, 18, 18, 1, 276480, 0x5f7a0d4f200, 18, 18, 1, 276480, 0x5f7a0d4f
210, 19, 19, 1, 276480, 0x5f7a0d4f210, 19, 19, 1, 276480, 0x5f7a0d4f
220, 20, 20, 1, 276480, 0x5f7a0d4f220, 20, 20, 1, 276480, 0xc3b80edf
230, 21, 21, 1, 276480, 0x5f7a0d4f230, 21, 21, 1, 276480, 0x5f7a0d4f
240, 22, 22, 1, 276480, 0x5f7a0d4f240, 22, 22, 1, 276480, 0x5f7a0d4f
250, 23, 23, 1, 276480, 0x5f7a0d4f250, 23, 23, 1, 276480, 0x5f7a0d4f
260, 24, 24, 1, 276480, 0x5f7a0d4f260, 24, 24, 1, 276480, 0xc3b80edf
270, 25, 25, 1, 276480, 0x5f7a0d4f270, 25, 25, 1, 276480, 0x5f7a0d4f
280, 26, 26, 1, 276480, 0x5f7a0d4f280, 26, 26, 1, 276480, 0x5f7a0d4f
290, 27, 27, 1, 276480, 0x5f7a0d4f290, 27, 27, 1, 276480, 0x5f7a0d4f
300, 28, 28, 1, 276480, 0x5f7a0d4f300, 28, 28, 1, 276480, 0xc3b80edf
310, 29, 29, 1, 276480, 0x5f7a0d4f310, 29, 29, 1, 276480, 0x5f7a0d4f
320, 30, 30, 1, 276480, 0x5f7a0d4f320, 30, 30, 1, 276480, 0x5f7a0d4f
330, 31, 31, 1, 276480, 0x5f7a0d4f330, 31, 31, 1, 276480, 0x5f7a0d4f
340, 32, 32, 1, 276480, 0x5f7a0d4f340, 32, 32, 1, 276480, 0xc3b80edf
350, 33, 33, 1, 276480, 0x75641594350, 33, 33, 1, 276480, 0x75641594
360, 34, 34, 1, 276480, 0x32ee3526360, 34, 34, 1, 276480, 0x32ee3526
370, 35, 35, 1, 276480, 0xcb53479a370, 35, 35, 1, 276480, 0xcb53479a
380, 36, 36, 1, 276480, 0x7ca9658e380, 36, 36, 1, 276480, 0xe1be6e26
390, 37, 37, 1, 276480, 0x5ce39368390, 37, 37, 1, 276480, 0x5ce39368
400, 38, 38, 1, 276480, 0x4ec1e418400, 38, 38, 1, 276480, 0x4ec1e418
410, 39, 39, 1, 276480, 0x23c418ae410, 39, 39, 1, 276480, 0x23c418ae
420, 40, 40, 1, 276480, 0x70ac4c76420, 40, 40, 1, 276480, 0x499c55d6
430, 41, 41, 1, 276480, 0x166ef020430, 41, 41, 1, 276480, 0x166ef020
440, 42, 42, 1, 276480, 0xaa0614ab440, 42, 42, 1, 276480, 0xaa0614ab
450, 43, 43, 1, 276480, 0x8bc2fa2b450, 43, 43, 1, 276480, 0x8bc2fa2b
460, 44, 44, 1, 276480, 0x07956a97460, 44, 44, 1, 276480, 0xc9c873f7
470, 45, 45, 1, 276480, 0x6fcb808b470, 45, 45, 1, 276480, 0x99838153
480, 46, 46, 1, 276480, 0x841cf493480, 46, 46, 1, 276480, 0x32e5f45b
490, 47, 47, 1, 276480, 0xe7834514490, 47, 47, 1, 276480, 0xe7834514
500, 48, 48, 1, 276480, 0xb805fcb1500, 48, 48, 1, 276480, 0x454c99c8
510, 49, 49, 1, 276480, 0xe29bacc8510, 49, 49, 1, 276480, 0xe29bacc8
520, 50, 50, 1, 276480, 0x6b79c3d3520, 50, 50, 1, 276480, 0x6b79c3d3
530, 51, 51, 1, 276480, 0x798c35c6530, 51, 51, 1, 276480, 0x284d358e
540, 52, 52, 1, 276480, 0x1b31d2ed540, 52, 52, 1, 276480, 0x17552cd4
550, 53, 53, 1, 276480, 0x6ceebf3e550, 53, 53, 1, 276480, 0x6ceebf3e
560, 54, 54, 1, 276480, 0x7ac8de3c560, 54, 54, 1, 276480, 0x7ac8de3c
570, 55, 55, 1, 276480, 0x14d6768c570, 55, 55, 1, 276480, 0x14d6768c
580, 56, 56, 1, 276480, 0xcb08af08580, 56, 56, 1, 276480, 0x59891e5f
590, 57, 57, 1, 276480, 0xed3053ea590, 57, 57, 1, 276480, 0xed3053ea
600, 58, 58, 1, 276480, 0x015782fb600, 58, 58, 1, 276480, 0x9b0182c3
610, 59, 59, 1, 276480, 0xf849eb88610, 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