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 "vpx_rtcd.h" | 13 #include "vp8_rtcd.h" |
14 #include "vp8/encoder/block.h" | 14 #include "vp8/encoder/block.h" |
15 #include <math.h> | 15 #include <math.h> |
16 #include "vpx_mem/vpx_mem.h" | 16 #include "vpx_mem/vpx_mem.h" |
17 #include "vp8/encoder/quantize.h" | 17 #include "vp8/encoder/quantize.h" |
18 #include "vp8/common/entropy.h" | 18 #include "vp8/common/entropy.h" |
19 | 19 |
20 | 20 |
21 #if HAVE_NEON | 21 #if HAVE_NEON |
22 | 22 |
23 /* vp8_quantize_mbX functions here differs from corresponding ones in | 23 /* vp8_quantize_mbX functions here differs from corresponding ones in |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 void vp8_quantize_mbuv_neon(MACROBLOCK *x) | 55 void vp8_quantize_mbuv_neon(MACROBLOCK *x) |
56 { | 56 { |
57 int i; | 57 int i; |
58 | 58 |
59 for (i = 16; i < 24; i+=2) | 59 for (i = 16; i < 24; i+=2) |
60 x->quantize_b_pair(&x->block[i], &x->block[i+1], | 60 x->quantize_b_pair(&x->block[i], &x->block[i+1], |
61 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); | 61 &x->e_mbd.block[i], &x->e_mbd.block[i+1]); |
62 } | 62 } |
63 | 63 |
64 #endif /* HAVE_NEON */ | 64 #endif /* HAVE_NEON */ |
OLD | NEW |