2 * Copyright (c) 2010 The VP8 project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license and patent
5 * grant that can be found in the LICENSE file in the root of the source
6 * tree. All contributing project authors may be found in the AUTHORS
7 * file in the root of the source tree.
14 #if defined(__cplusplus)
18 #define invert2(x) (x)
19 #define invert4(x) (x)
21 #define low_byte(x) (unsigned char)x
22 #define mid1Byte(x) (unsigned char)(x >> 8)
23 #define mid2Byte(x) (unsigned char)(x >> 16)
24 #define high_byte(x) (unsigned char)(x >> 24)
28 #if defined(__cplusplus)