Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: source/libvpx/vp8/common/arm/neon/dequantizeb_neon.c

Issue 290653003: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 <arm_neon.h> 11 #include <arm_neon.h>
12 12
13 void vp8_dequantize_b_loop_neon( 13 #include "vp8/common/blockd.h"
14 int16_t *Q, 14
15 int16_t *DQC, 15 void vp8_dequantize_b_neon(BLOCKD *d, short *DQC) {
16 int16_t *DQ) {
17 int16x8x2_t qQ, qDQC, qDQ; 16 int16x8x2_t qQ, qDQC, qDQ;
18 17
19 qQ = vld2q_s16(Q); 18 qQ = vld2q_s16(d->qcoeff);
20 qDQC = vld2q_s16(DQC); 19 qDQC = vld2q_s16(DQC);
21 20
22 qDQ.val[0] = vmulq_s16(qQ.val[0], qDQC.val[0]); 21 qDQ.val[0] = vmulq_s16(qQ.val[0], qDQC.val[0]);
23 qDQ.val[1] = vmulq_s16(qQ.val[1], qDQC.val[1]); 22 qDQ.val[1] = vmulq_s16(qQ.val[1], qDQC.val[1]);
24 23
25 vst2q_s16(DQ, qDQ); 24 vst2q_s16(d->dqcoeff, qDQ);
26 return;
27 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698