| @@ -82,16 +82,8 @@ · 81 unmodified lines |
| 82 | #define IS_16X8(a) ((a) & MB_TYPE_16x8) | 82 | #define IS_16X8(a) ((a) & MB_TYPE_16x8) |
| 83 | #define IS_8X16(a) ((a) & MB_TYPE_8x16) | 83 | #define IS_8X16(a) ((a) & MB_TYPE_8x16) |
| 84 | #define IS_8X8(a) ((a) & MB_TYPE_8x8) | 84 | #define IS_8X8(a) ((a) & MB_TYPE_8x8) |
| 85 | #define IS_SUB_8X8(a) ((a) & MB_TYPE_16x16) // note reused | | |
| 86 | #define IS_SUB_8X4(a) ((a) & MB_TYPE_16x8) // note reused | | |
| 87 | #define IS_SUB_4X8(a) ((a) & MB_TYPE_8x16) // note reused | | |
| 88 | #define IS_SUB_4X4(a) ((a) & MB_TYPE_8x8) // note reused | | |
| 89 | #define IS_ACPRED(a) ((a) & MB_TYPE_ACPRED) | 85 | #define IS_ACPRED(a) ((a) & MB_TYPE_ACPRED) |
| 90 | #define IS_QUANT(a) ((a) & MB_TYPE_QUANT) | 86 | #define IS_QUANT(a) ((a) & MB_TYPE_QUANT) |
| 91 | #define IS_DIR(a, part, list) ((a) & (MB_TYPE_P0L0 << ((part) + 2 * (list)))) | | |
| 92 | | | |
| 93 | // does this mb use listX, note does not work if subMBs | | |
| 94 | #define USES_LIST(a, list) ((a) & ((MB_TYPE_P0L0 | MB_TYPE_P1L0) << (2 * (list)))) | | |
| 95 | | 87 | |
| 96 | #define HAS_CBP(a) ((a) & MB_TYPE_CBP) | 88 | #define HAS_CBP(a) ((a) & MB_TYPE_CBP) |
| 97 | #define HAS_FORWARD_MV(a) ((a) & MB_TYPE_FORWARD_MV) | 89 | #define HAS_FORWARD_MV(a) ((a) & MB_TYPE_FORWARD_MV) |