Revision 7bc9090a libavcodec/h264data.h

View differences:

libavcodec/h264data.h
306 306
 (0+1*2)*16, (1+1*2)*16,  //FIXME
307 307
};
308 308

  
309
#define MB_TYPE_REF0       0x40000000
310
#define IS_REF0(a)       ((a)&MB_TYPE_REF0)
311

  
309 312
typedef struct IMbInfo{
310 313
    uint16_t type;
311 314
    uint8_t pred_mode;
......
362 365
};
363 366

  
364 367
static const PMbInfo b_mb_type_info[23]={
365
{MB_TYPE_DIRECT                                                   , 1, },
368
{MB_TYPE_DIRECT2                                                   , 1, },
366 369
{MB_TYPE_16x16|MB_TYPE_P0L0                                       , 1, },
367 370
{MB_TYPE_16x16             |MB_TYPE_P0L1                          , 1, },
368 371
{MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1                          , 1, },
......
388 391
};
389 392

  
390 393
static const PMbInfo b_sub_mb_type_info[13]={
391
{MB_TYPE_DIRECT                                                   , 1, },
394
{MB_TYPE_DIRECT2                                                   , 1, },
392 395
{MB_TYPE_16x16|MB_TYPE_P0L0                                       , 1, },
393 396
{MB_TYPE_16x16             |MB_TYPE_P0L1                          , 1, },
394 397
{MB_TYPE_16x16|MB_TYPE_P0L0|MB_TYPE_P0L1                          , 1, },

Also available in: Unified diff