Merge "makefile: fix error message due to missing quotes"
[libvpx.git] / vp8 / common / littlend.h
blob08c525c5dedd167be596f850dcc5aba7469b0614
1 /*
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.
8 */
11 #ifndef _littlend_h
12 #define _littlend_h
14 #if defined(__cplusplus)
15 extern "C" {
16 #endif
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)
26 #define SWAPENDS 0
28 #if defined(__cplusplus)
30 #endif
32 #endif