Mercurial > libavcodec.hg
comparison mpeg4data.h @ 1177:fea03d2c4946 libavcodec
simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4
error concealment /resilience for mpeg1/2
various minor optimizations
| author | michaelni |
|---|---|
| date | Thu, 10 Apr 2003 13:18:38 +0000 |
| parents | 61c89e8ffa88 |
| children | 89e6c3ce263a |
comparison
equal
deleted
inserted
replaced
| 1176:a39d55237445 | 1177:fea03d2c4946 |
|---|---|
| 25 #define GMC_SPRITE 2 | 25 #define GMC_SPRITE 2 |
| 26 | 26 |
| 27 #define MOTION_MARKER 0x1F001 | 27 #define MOTION_MARKER 0x1F001 |
| 28 #define DC_MARKER 0x6B001 | 28 #define DC_MARKER 0x6B001 |
| 29 | 29 |
| 30 #define MB_TYPE_B_DIRECT 0 | 30 const static int mb_type_b_map[4]= { |
| 31 #define MB_TYPE_B_BIDIR 1 | 31 MB_TYPE_DIRECT2 | MB_TYPE_L0L1, |
| 32 #define MB_TYPE_B_BACKW 2 | 32 MB_TYPE_L0L1 | MB_TYPE_16x16, |
| 33 #define MB_TYPE_B_FORW 3 | 33 MB_TYPE_L1 | MB_TYPE_16x16, |
| 34 MB_TYPE_L0 | MB_TYPE_16x16, | |
| 35 }; | |
| 34 | 36 |
| 35 #define VOS_STARTCODE 0x1B0 | 37 #define VOS_STARTCODE 0x1B0 |
| 36 #define USER_DATA_STARTCODE 0x1B2 | 38 #define USER_DATA_STARTCODE 0x1B2 |
| 37 #define GOP_STARTCODE 0x1B3 | 39 #define GOP_STARTCODE 0x1B3 |
| 38 #define VISUAL_OBJ_STARTCODE 0x1B5 | 40 #define VISUAL_OBJ_STARTCODE 0x1B5 |
