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 13 #include "vp8/common/blockd.h" 14 vp8_dequantize_b_neon(BLOCKD * d,short * DQC)15void vp8_dequantize_b_neon(BLOCKD *d, short *DQC) { 16 int16x8x2_t qQ, qDQC, qDQ; 17 18 qQ = vld2q_s16(d->qcoeff); 19 qDQC = vld2q_s16(DQC); 20 21 qDQ.val[0] = vmulq_s16(qQ.val[0], qDQC.val[0]); 22 qDQ.val[1] = vmulq_s16(qQ.val[1], qDQC.val[1]); 23 24 vst2q_s16(d->dqcoeff, qDQ); 25 } 26