media/libvpx/vp8/common/arm/dequantize_arm.c

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libvpx/vp8/common/arm/dequantize_arm.c	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +/*
     1.5 + *  Copyright (c) 2010 The WebM project authors. All Rights Reserved.
     1.6 + *
     1.7 + *  Use of this source code is governed by a BSD-style license
     1.8 + *  that can be found in the LICENSE file in the root of the source
     1.9 + *  tree. An additional intellectual property rights grant can be found
    1.10 + *  in the file PATENTS.  All contributing project authors may
    1.11 + *  be found in the AUTHORS file in the root of the source tree.
    1.12 + */
    1.13 +
    1.14 +
    1.15 +#include "vpx_config.h"
    1.16 +#include "vp8/common/blockd.h"
    1.17 +
    1.18 +#if HAVE_NEON
    1.19 +extern void vp8_dequantize_b_loop_neon(short *Q, short *DQC, short *DQ);
    1.20 +#endif
    1.21 +
    1.22 +#if HAVE_MEDIA
    1.23 +extern void vp8_dequantize_b_loop_v6(short *Q, short *DQC, short *DQ);
    1.24 +#endif
    1.25 +
    1.26 +#if HAVE_NEON
    1.27 +
    1.28 +void vp8_dequantize_b_neon(BLOCKD *d, short *DQC)
    1.29 +{
    1.30 +    short *DQ  = d->dqcoeff;
    1.31 +    short *Q   = d->qcoeff;
    1.32 +
    1.33 +    vp8_dequantize_b_loop_neon(Q, DQC, DQ);
    1.34 +}
    1.35 +#endif
    1.36 +
    1.37 +#if HAVE_MEDIA
    1.38 +void vp8_dequantize_b_v6(BLOCKD *d, short *DQC)
    1.39 +{
    1.40 +    short *DQ  = d->dqcoeff;
    1.41 +    short *Q   = d->qcoeff;
    1.42 +
    1.43 +    vp8_dequantize_b_loop_v6(Q, DQC, DQ);
    1.44 +}
    1.45 +#endif

mercurial