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_rtcd.h" 14 #include "vp8/common/blockd.h" 15 vp8_dequantize_b_neon(BLOCKD * d,short * DQC)16void vp8_dequantize_b_neon(BLOCKD *d, short *DQC) { 17 int16x8x2_t qQ, qDQC, qDQ; 18 19 qQ = vld2q_s16(d->qcoeff); 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(d->dqcoeff, qDQ); 26 } 27