From 0c2f8e77cc26e58f20f60b08fe5a9d7953568b3b Mon Sep 17 00:00:00 2001 From: John Koleszar Date: Wed, 21 Dec 2011 15:02:14 -0800 Subject: [PATCH] Remove useless g_common.h This file declared a bunch of nonexistent, unreferenced global function pointers. Change-Id: Ic26bb8c7712deba754c49fc01f383b53afc9e728 --- vp8/common/arm/arm_systemdependent.c | 1 - vp8/common/g_common.h | 21 --------------------- vp8/common/generic/systemdependent.c | 1 - vp8/common/ppc/systemdependent.c | 1 - vp8/common/x86/x86_systemdependent.c | 1 - vp8/decoder/onyxd_if.c | 1 - vp8/encoder/encodeintra.c | 1 - vp8/encoder/onyx_if.c | 1 - vp8/encoder/pickinter.c | 1 - vp8/encoder/rdopt.c | 1 - vp8/encoder/temporal_filter.c | 1 - vp8/vp8_common.mk | 1 - 12 files changed, 32 deletions(-) delete mode 100644 vp8/common/g_common.h diff --git a/vp8/common/arm/arm_systemdependent.c b/vp8/common/arm/arm_systemdependent.c index 1e24674..89a2be8 100644 --- a/vp8/common/arm/arm_systemdependent.c +++ b/vp8/common/arm/arm_systemdependent.c @@ -11,7 +11,6 @@ #include "vpx_config.h" #include "vpx_ports/arm.h" -#include "vp8/common/g_common.h" #include "vp8/common/pragmas.h" #include "vp8/common/subpixel.h" #include "vp8/common/loopfilter.h" diff --git a/vp8/common/g_common.h b/vp8/common/g_common.h deleted file mode 100644 index 5f52398..0000000 --- a/vp8/common/g_common.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * 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. - */ - - -extern void (*vp8_clear_system_state)(void); -extern void (*vp8_plane_add_noise)(unsigned char *Start, unsigned int Width, unsigned int Height, int Pitch, int DPitch, int q); -extern void (*de_interlace) -( - unsigned char *src_ptr, - unsigned char *dst_ptr, - int Width, - int Height, - int Stride -); diff --git a/vp8/common/generic/systemdependent.c b/vp8/common/generic/systemdependent.c index dbf8d65..01d7620 100644 --- a/vp8/common/generic/systemdependent.c +++ b/vp8/common/generic/systemdependent.c @@ -10,7 +10,6 @@ #include "vpx_config.h" -#include "vp8/common/g_common.h" #include "vp8/common/subpixel.h" #include "vp8/common/loopfilter.h" #include "vp8/common/recon.h" diff --git a/vp8/common/ppc/systemdependent.c b/vp8/common/ppc/systemdependent.c index 1f5d790..7046a63 100644 --- a/vp8/common/ppc/systemdependent.c +++ b/vp8/common/ppc/systemdependent.c @@ -9,7 +9,6 @@ */ -#include "g_common.h" #include "subpixel.h" #include "loopfilter.h" #include "recon.h" diff --git a/vp8/common/x86/x86_systemdependent.c b/vp8/common/x86/x86_systemdependent.c index ad3a1f7..7b831de 100644 --- a/vp8/common/x86/x86_systemdependent.c +++ b/vp8/common/x86/x86_systemdependent.c @@ -11,7 +11,6 @@ #include "vpx_config.h" #include "vpx_ports/x86.h" -#include "vp8/common/g_common.h" #include "vp8/common/subpixel.h" #include "vp8/common/loopfilter.h" #include "vp8/common/recon.h" diff --git a/vp8/decoder/onyxd_if.c b/vp8/decoder/onyxd_if.c index cf525f4..b9ff2e9 100644 --- a/vp8/decoder/onyxd_if.c +++ b/vp8/decoder/onyxd_if.c @@ -20,7 +20,6 @@ #include "vpx_scale/yv12extend.h" #include "vp8/common/loopfilter.h" #include "vp8/common/swapyv12buffer.h" -#include "vp8/common/g_common.h" #include "vp8/common/threading.h" #include "decoderthreading.h" #include diff --git a/vp8/encoder/encodeintra.c b/vp8/encoder/encodeintra.c index 4378b63..16393a1 100644 --- a/vp8/encoder/encodeintra.c +++ b/vp8/encoder/encodeintra.c @@ -18,7 +18,6 @@ #include "vp8/common/invtrans.h" #include "vp8/common/recon.h" #include "dct.h" -#include "vp8/common/g_common.h" #include "encodeintra.h" diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 32f0a25..9883ae4 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -23,7 +23,6 @@ #include "ratectrl.h" #include "vp8/common/quant_common.h" #include "segmentation.h" -#include "vp8/common/g_common.h" #include "vpx_scale/yv12extend.h" #if CONFIG_POSTPROC #include "vp8/common/postproc.h" diff --git a/vp8/encoder/pickinter.c b/vp8/encoder/pickinter.c index 2f58a4c..3b996a2 100644 --- a/vp8/encoder/pickinter.c +++ b/vp8/encoder/pickinter.c @@ -21,7 +21,6 @@ #include "vp8/common/reconinter.h" #include "vp8/common/reconintra.h" #include "vp8/common/reconintra4x4.h" -#include "vp8/common/g_common.h" #include "variance.h" #include "mcomp.h" #include "rdopt.h" diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c index 9b90034..f038fc0 100644 --- a/vp8/encoder/rdopt.c +++ b/vp8/encoder/rdopt.c @@ -28,7 +28,6 @@ #include "encodemb.h" #include "quantize.h" #include "vp8/common/idct.h" -#include "vp8/common/g_common.h" #include "variance.h" #include "mcomp.h" #include "rdopt.h" diff --git a/vp8/encoder/temporal_filter.c b/vp8/encoder/temporal_filter.c index b9ade1c..3af1630 100644 --- a/vp8/encoder/temporal_filter.c +++ b/vp8/encoder/temporal_filter.c @@ -22,7 +22,6 @@ #include "ratectrl.h" #include "vp8/common/quant_common.h" #include "segmentation.h" -#include "vp8/common/g_common.h" #include "vpx_scale/yv12extend.h" #include "vpx_mem/vpx_mem.h" #include "vp8/common/swapyv12buffer.h" diff --git a/vp8/vp8_common.mk b/vp8/vp8_common.mk index 8b7f0fd..efa081b 100644 --- a/vp8/vp8_common.mk +++ b/vp8/vp8_common.mk @@ -41,7 +41,6 @@ VP8_COMMON_SRCS-yes += common/entropymode.h VP8_COMMON_SRCS-yes += common/entropymv.h VP8_COMMON_SRCS-yes += common/extend.h VP8_COMMON_SRCS-yes += common/findnearmv.h -VP8_COMMON_SRCS-yes += common/g_common.h VP8_COMMON_SRCS-yes += common/header.h VP8_COMMON_SRCS-yes += common/idct.h VP8_COMMON_SRCS-yes += common/invtrans.h -- 2.7.4