2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
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.
13 #include "./vp10_rtcd.h"
14 #include "./vpx_config.h"
15 #include "./vpx_dsp_rtcd.h"
17 #include "vp10/common/blockd.h"
18 #include "vpx_dsp/txfm_common.h"
20 void vp10_fdct8x8_quant_neon(const int16_t *input, int stride,
21 int16_t* coeff_ptr, intptr_t n_coeffs,
22 int skip_block, const int16_t* zbin_ptr,
23 const int16_t* round_ptr, const int16_t* quant_ptr,
24 const int16_t* quant_shift_ptr,
25 int16_t* qcoeff_ptr, int16_t* dqcoeff_ptr,
26 const int16_t* dequant_ptr, uint16_t* eob_ptr,
27 const int16_t* scan_ptr,
28 const int16_t* iscan_ptr) {
29 int16_t temp_buffer[64];
32 vpx_fdct8x8_neon(input, temp_buffer, stride);
33 vp10_quantize_fp_neon(temp_buffer, n_coeffs, skip_block, zbin_ptr, round_ptr,
34 quant_ptr, quant_shift_ptr, qcoeff_ptr, dqcoeff_ptr,
35 dequant_ptr, eob_ptr, scan_ptr, iscan_ptr);