| 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 |
| 11 | 11 |
| 12 #include "vpx_config.h" | 12 #include "vpx_config.h" |
| 13 #include "alloccommon.h" |
| 13 #include "blockd.h" | 14 #include "blockd.h" |
| 14 #include "vpx_mem/vpx_mem.h" | 15 #include "vpx_mem/vpx_mem.h" |
| 15 #include "onyxc_int.h" | 16 #include "onyxc_int.h" |
| 16 #include "findnearmv.h" | 17 #include "findnearmv.h" |
| 17 #include "entropymode.h" | 18 #include "entropymode.h" |
| 18 #include "systemdependent.h" | 19 #include "systemdependent.h" |
| 19 | 20 |
| 20 void vp8_de_alloc_frame_buffers(VP8_COMMON *oci) | 21 void vp8_de_alloc_frame_buffers(VP8_COMMON *oci) |
| 21 { | 22 { |
| 22 int i; | 23 int i; |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 | 181 |
| 181 /* Default disable buffer to buffer copying */ | 182 /* Default disable buffer to buffer copying */ |
| 182 oci->copy_buffer_to_gf = 0; | 183 oci->copy_buffer_to_gf = 0; |
| 183 oci->copy_buffer_to_arf = 0; | 184 oci->copy_buffer_to_arf = 0; |
| 184 } | 185 } |
| 185 | 186 |
| 186 void vp8_remove_common(VP8_COMMON *oci) | 187 void vp8_remove_common(VP8_COMMON *oci) |
| 187 { | 188 { |
| 188 vp8_de_alloc_frame_buffers(oci); | 189 vp8_de_alloc_frame_buffers(oci); |
| 189 } | 190 } |
| OLD | NEW |