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
40 lines
813 B
C
40 lines
813 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 "vpx_ports/arm.h"
|
|
#include "vp8/decoder/onyxd_int.h"
|
|
|
|
void vp8_arch_arm_decode_init(VP8D_COMP *pbi)
|
|
{
|
|
#if CONFIG_RUNTIME_CPU_DETECT
|
|
int flags = pbi->common.rtcd.flags;
|
|
|
|
#if HAVE_ARMV5TE
|
|
if (flags & HAS_EDSP)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if HAVE_ARMV6
|
|
if (flags & HAS_MEDIA)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#if HAVE_ARMV7
|
|
if (flags & HAS_NEON)
|
|
{
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|