diff options
Diffstat (limited to 'media/libvpx/libvpx/vp8/common/x86/idct_blk_mmx.c')
-rw-r--r-- | media/libvpx/libvpx/vp8/common/x86/idct_blk_mmx.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media/libvpx/libvpx/vp8/common/x86/idct_blk_mmx.c b/media/libvpx/libvpx/vp8/common/x86/idct_blk_mmx.c new file mode 100644 index 0000000000..fd804b1ca4 --- /dev/null +++ b/media/libvpx/libvpx/vp8/common/x86/idct_blk_mmx.c @@ -0,0 +1,23 @@ +/* + * Copyright (c) 2010 The WebM project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +#include "vpx_config.h" +#include "vp8_rtcd.h" +#include "vp8/common/blockd.h" +#include "vpx_mem/vpx_mem.h" + +extern void vp8_dequantize_b_impl_mmx(short *sq, short *dq, short *q); + +void vp8_dequantize_b_mmx(BLOCKD *d, short *DQC) { + short *sq = (short *)d->qcoeff; + short *dq = (short *)d->dqcoeff; + + vp8_dequantize_b_impl_mmx(sq, dq, DQC); +} |