Revision 917f55cc

View differences:

libavcodec/dsputil.c
50 50
uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, };
51 51
uint32_t ff_squareTbl[512] = {0, };
52 52

  
53
static const unsigned long pb_7f = 0x7f7f7f7f7f7f7f7fUL;
54
static const unsigned long pb_80 = 0x8080808080808080UL;
53
// 0x7f7f7f7f or 0x7f7f7f7f7f7f7f7f or whatever, depending on the cpu's native arithmetic size
54
#define pb_7f (~0UL/255 * 0x7f)
55
#define pb_80 (~0UL/255 * 0x80)
55 56

  
56 57
const uint8_t ff_zigzag_direct[64] = {
57 58
    0,   1,  8, 16,  9,  2,  3, 10,

Also available in: Unified diff