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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 4, 6, | 152 4, 6, |
153 -0, -1, | 153 -0, -1, |
154 -2, -3, | 154 -2, -3, |
155 10, 12, | 155 10, 12, |
156 -4, -5, | 156 -4, -5, |
157 -6, -7 | 157 -6, -7 |
158 }; | 158 }; |
159 | 159 |
160 void vp8_init_mbmode_probs(VP8_COMMON *x) | 160 void vp8_init_mbmode_probs(VP8_COMMON *x) |
161 { | 161 { |
162 vpx_memcpy(x->fc.ymode_prob, vp8_ymode_prob, sizeof(vp8_ymode_prob)); | 162 memcpy(x->fc.ymode_prob, vp8_ymode_prob, sizeof(vp8_ymode_prob)); |
163 vpx_memcpy(x->fc.uv_mode_prob, vp8_uv_mode_prob, sizeof(vp8_uv_mode_prob)); | 163 memcpy(x->fc.uv_mode_prob, vp8_uv_mode_prob, sizeof(vp8_uv_mode_prob)); |
164 vpx_memcpy(x->fc.sub_mv_ref_prob, sub_mv_ref_prob, sizeof(sub_mv_ref_prob)); | 164 memcpy(x->fc.sub_mv_ref_prob, sub_mv_ref_prob, sizeof(sub_mv_ref_prob)); |
165 } | 165 } |
166 | 166 |
167 void vp8_default_bmode_probs(vp8_prob p [VP8_BINTRAMODES-1]) | 167 void vp8_default_bmode_probs(vp8_prob p [VP8_BINTRAMODES-1]) |
168 { | 168 { |
169 vpx_memcpy(p, vp8_bmode_prob, sizeof(vp8_bmode_prob)); | 169 memcpy(p, vp8_bmode_prob, sizeof(vp8_bmode_prob)); |
170 } | 170 } |
171 | 171 |
OLD | NEW |