From fcccbcbb395ce4cf31b54ce1245cc28e5e3ef4c1 Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Tue, 27 Nov 2012 13:59:17 -0800 Subject: Add vp9_ prefix to all vp9 files Support for gyp which doesn't support multiple objects in the same static library having the same basename. Change-Id: Ib947eefbaf68f8b177a796d23f875ccdfa6bc9dc --- vp9/common/generic/vp9_systemdependent.c | 46 ++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 vp9/common/generic/vp9_systemdependent.c (limited to 'vp9/common/generic/vp9_systemdependent.c') diff --git a/vp9/common/generic/vp9_systemdependent.c b/vp9/common/generic/vp9_systemdependent.c new file mode 100644 index 000000000..29d1c3057 --- /dev/null +++ b/vp9/common/generic/vp9_systemdependent.c @@ -0,0 +1,46 @@ +/* + * 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_ports/config.h" +#include "vp9_rtcd.h" +#include "vp9/common/vp9_subpixel.h" +#include "vp9/common/vp9_loopfilter.h" +#include "vp9/common/vp9_onyxc_int.h" + +extern void vp9_arch_x86_common_init(VP9_COMMON *ctx); +extern void vp9_arch_arm_common_init(VP9_COMMON *ctx); + +void vp9_machine_specific_config(VP9_COMMON *ctx) { +#if CONFIG_RUNTIME_CPU_DETECT + VP9_COMMON_RTCD *rtcd = &ctx->rtcd; + +#if CONFIG_POSTPROC || (CONFIG_VP9_ENCODER && CONFIG_INTERNAL_STATS) + rtcd->postproc.down = vp9_mbpost_proc_down_c; + rtcd->postproc.across = vp9_mbpost_proc_across_ip_c; + rtcd->postproc.downacross = vp9_post_proc_down_and_across_c; + rtcd->postproc.addnoise = vp9_plane_add_noise_c; + rtcd->postproc.blend_mb_inner = vp9_blend_mb_inner_c; + rtcd->postproc.blend_mb_outer = vp9_blend_mb_outer_c; + rtcd->postproc.blend_b = vp9_blend_b_c; +#endif + +#endif + +#if ARCH_X86 || ARCH_X86_64 + vp9_arch_x86_common_init(ctx); +#endif + +#if ARCH_ARM + vp9_arch_arm_common_init(ctx); +#endif + + vp9_rtcd(); +} -- cgit v1.2.3