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

Side by Side Diff: source/libvpx/vp8/decoder/onyxd_int.h

Issue 12077018: libvpx: Pull from upstream (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp8/decoder/onyxd_if.c ('k') | source/libvpx/vp8/encoder/onyx_if.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
(...skipping 15 matching lines...) Expand all
26 int ithread; 26 int ithread;
27 void *ptr1; 27 void *ptr1;
28 void *ptr2; 28 void *ptr2;
29 } DECODETHREAD_DATA; 29 } DECODETHREAD_DATA;
30 30
31 typedef struct 31 typedef struct
32 { 32 {
33 MACROBLOCKD mbd; 33 MACROBLOCKD mbd;
34 } MB_ROW_DEC; 34 } MB_ROW_DEC;
35 35
36 typedef struct
37 {
38 int enabled;
39 unsigned int count;
40 const unsigned char *ptrs[MAX_PARTITIONS];
41 unsigned int sizes[MAX_PARTITIONS];
42 } FRAGMENT_DATA;
43
36 typedef struct VP8D_COMP 44 typedef struct VP8D_COMP
37 { 45 {
38 DECLARE_ALIGNED(16, MACROBLOCKD, mb); 46 DECLARE_ALIGNED(16, MACROBLOCKD, mb);
39 47
40 YV12_BUFFER_CONFIG *dec_fb_ref[NUM_YV12_BUFFERS]; 48 YV12_BUFFER_CONFIG *dec_fb_ref[NUM_YV12_BUFFERS];
41 49
42 DECLARE_ALIGNED(16, VP8_COMMON, common); 50 DECLARE_ALIGNED(16, VP8_COMMON, common);
43 51
44 /* the last partition will be used for the modes/mvs */ 52 /* the last partition will be used for the modes/mvs */
45 vp8_reader mbc[MAX_PARTITIONS]; 53 vp8_reader mbc[MAX_PARTITIONS];
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #else 123 #else
116 #define CHECK_MEM_ERROR(lval,expr) do {\ 124 #define CHECK_MEM_ERROR(lval,expr) do {\
117 lval = (expr); \ 125 lval = (expr); \
118 if(!lval) \ 126 if(!lval) \
119 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\ 127 vpx_internal_error(&pbi->common.error, VPX_CODEC_MEM_ERROR,\
120 "Failed to allocate "#lval);\ 128 "Failed to allocate "#lval);\
121 } while(0) 129 } while(0)
122 #endif 130 #endif
123 131
124 #endif 132 #endif
OLDNEW
« no previous file with comments | « source/libvpx/vp8/decoder/onyxd_if.c ('k') | source/libvpx/vp8/encoder/onyx_if.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698