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 #include <math.h> | 11 #include <math.h> |
12 #include <limits.h> | 12 #include <limits.h> |
13 #include <stdio.h> | 13 #include <stdio.h> |
14 | 14 |
| 15 #include "./vpx_scale_rtcd.h" |
15 #include "block.h" | 16 #include "block.h" |
16 #include "onyx_int.h" | 17 #include "onyx_int.h" |
17 #include "vp8/common/variance.h" | 18 #include "vp8/common/variance.h" |
18 #include "encodeintra.h" | 19 #include "encodeintra.h" |
19 #include "vp8/common/setupintrarecon.h" | 20 #include "vp8/common/setupintrarecon.h" |
20 #include "vp8/common/systemdependent.h" | 21 #include "vp8/common/systemdependent.h" |
21 #include "mcomp.h" | 22 #include "mcomp.h" |
22 #include "firstpass.h" | 23 #include "firstpass.h" |
23 #include "vpx_scale/vpxscale.h" | 24 #include "vpx_scale/vpxscale.h" |
24 #include "encodemb.h" | 25 #include "encodemb.h" |
(...skipping 3326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3351 } | 3352 } |
3352 | 3353 |
3353 if ((cpi->common.Width != new_width) || (cpi->common.Height != new_heigh
t)) | 3354 if ((cpi->common.Width != new_width) || (cpi->common.Height != new_heigh
t)) |
3354 { | 3355 { |
3355 cpi->common.Width = new_width; | 3356 cpi->common.Width = new_width; |
3356 cpi->common.Height = new_height; | 3357 cpi->common.Height = new_height; |
3357 vp8_alloc_compressor_data(cpi); | 3358 vp8_alloc_compressor_data(cpi); |
3358 } | 3359 } |
3359 } | 3360 } |
3360 } | 3361 } |
OLD | NEW |