Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(441)

Side by Side Diff: source/libvpx/vp9/common/vp9_common.h

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vp9/common/vp9_blockd.h ('k') | source/libvpx/vp9/common/vp9_common_data.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef VP9_COMMON_VP9_COMMON_H_ 11 #ifndef VP9_COMMON_VP9_COMMON_H_
12 #define VP9_COMMON_VP9_COMMON_H_ 12 #define VP9_COMMON_VP9_COMMON_H_
13 13
14 /* Interface header for common constant data structures and lookup tables */ 14 /* Interface header for common constant data structures and lookup tables */
15 15
16 #include <assert.h> 16 #include <assert.h>
17 17
18 #include "./vpx_config.h" 18 #include "./vpx_config.h"
19 #include "vpx_dsp/vpx_dsp_common.h" 19 #include "vpx_dsp/vpx_dsp_common.h"
20 #include "vpx_mem/vpx_mem.h" 20 #include "vpx_mem/vpx_mem.h"
21 #include "vpx/vpx_integer.h" 21 #include "vpx/vpx_integer.h"
22 #include "vp9/common/vp9_systemdependent.h" 22 #include "vpx_ports/bitops.h"
23 23
24 #ifdef __cplusplus 24 #ifdef __cplusplus
25 extern "C" { 25 extern "C" {
26 #endif 26 #endif
27 27
28 // Only need this for fixed-size arrays, for structs just assign. 28 // Only need this for fixed-size arrays, for structs just assign.
29 #define vp9_copy(dest, src) { \ 29 #define vp9_copy(dest, src) { \
30 assert(sizeof(dest) == sizeof(src)); \ 30 assert(sizeof(dest) == sizeof(src)); \
31 memcpy(dest, src, sizeof(src)); \ 31 memcpy(dest, src, sizeof(src)); \
32 } 32 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 #define VP9_SYNC_CODE_2 0x42 66 #define VP9_SYNC_CODE_2 0x42
67 67
68 #define VP9_FRAME_MARKER 0x2 68 #define VP9_FRAME_MARKER 0x2
69 69
70 70
71 #ifdef __cplusplus 71 #ifdef __cplusplus
72 } // extern "C" 72 } // extern "C"
73 #endif 73 #endif
74 74
75 #endif // VP9_COMMON_VP9_COMMON_H_ 75 #endif // VP9_COMMON_VP9_COMMON_H_
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/vp9_blockd.h ('k') | source/libvpx/vp9/common/vp9_common_data.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698