a53d5a4c44
These functions are now used by the encoder. This is WIP with the goal of creating a common idct/add for the encoder and decoder. A boost of 1.8% was seen for the HD rt test clip used. [Tero] Added needed changes to ARM side. Change-Id: Ibbb8000be09034203d7adffc457d3c3f8b06a5bf
34 lines
921 B
C
34 lines
921 B
C
/*
|
|
* 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/common/dequantize.h"
|
|
#include "vp8/decoder/onyxd_int.h"
|
|
|
|
extern void vp8_arch_x86_decode_init(VP8D_COMP *pbi);
|
|
extern void vp8_arch_arm_decode_init(VP8D_COMP *pbi);
|
|
|
|
void vp8_dmachine_specific_config(VP8D_COMP *pbi)
|
|
{
|
|
/* Pure C: */
|
|
#if CONFIG_RUNTIME_CPU_DETECT
|
|
pbi->mb.rtcd = &pbi->common.rtcd;
|
|
#endif
|
|
|
|
#if ARCH_X86 || ARCH_X86_64
|
|
vp8_arch_x86_decode_init(pbi);
|
|
#endif
|
|
|
|
#if ARCH_ARM
|
|
vp8_arch_arm_decode_init(pbi);
|
|
#endif
|
|
}
|