| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |