1 /*
2  *  Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3  *
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
6  *  tree. An additional intellectual property rights grant can be found
7  *  in the file PATENTS.  All contributing project authors may
8  *  be found in the AUTHORS file in the root of the source tree.
9  */
10 
11 #include <arm_neon.h>
12 
vp8_dequantize_b_loop_neon(int16_t * Q,int16_t * DQC,int16_t * DQ)13 void vp8_dequantize_b_loop_neon(
14         int16_t *Q,
15         int16_t *DQC,
16         int16_t *DQ) {
17     int16x8x2_t qQ, qDQC, qDQ;
18 
19     qQ   = vld2q_s16(Q);
20     qDQC = vld2q_s16(DQC);
21 
22     qDQ.val[0] = vmulq_s16(qQ.val[0], qDQC.val[0]);
23     qDQ.val[1] = vmulq_s16(qQ.val[1], qDQC.val[1]);
24 
25     vst2q_s16(DQ, qDQ);
26     return;
27 }
28