diff --git a/libs.mk b/libs.mk index 43545e38a35ef96dc1f05b277d8a7bac83defe8d..4691a125846419481083ef95cdbd0adfb0780a91 100644 --- a/libs.mk +++ b/libs.mk @@ -183,8 +183,6 @@ CODEC_EXPORTS-$(CONFIG_DECODERS) += vpx/exports_dec INSTALL-LIBS-yes += include/vpx/vpx_codec.h INSTALL-LIBS-yes += include/vpx/vpx_image.h INSTALL-LIBS-yes += include/vpx/vpx_integer.h -INSTALL-LIBS-yes += include/vpx/vpx_codec_impl_top.h -INSTALL-LIBS-yes += include/vpx/vpx_codec_impl_bottom.h INSTALL-LIBS-$(CONFIG_DECODERS) += include/vpx/vpx_decoder.h INSTALL-LIBS-$(CONFIG_ENCODERS) += include/vpx/vpx_encoder.h ifeq ($(CONFIG_EXTERNAL_BUILD),yes) diff --git a/vpx/vp8.h b/vpx/vp8.h index 0b4cb1b9e6d24b9d51a25e229c29d27273f4f932..ff71503284fdec6d7f66b8f1c78dda3f1226a345 100644 --- a/vpx/vp8.h +++ b/vpx/vp8.h @@ -30,7 +30,10 @@ */ #ifndef VP8_H #define VP8_H -#include "vpx_codec_impl_top.h" + +#ifdef __cplusplus +extern "C" { +#endif /*!\brief Control functions * @@ -125,5 +128,8 @@ VPX_CTRL_USE_TYPE(VP9_GET_REFERENCE, vp9_ref_frame_t *) /*! @} - end defgroup vp8 */ -#include "vpx_codec_impl_bottom.h" +#ifdef __cplusplus +} // extern "C" +#endif + #endif diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index f3ea6d3a206b41eef805e828d6c0ad7c8aabb40d..92fdb004ba9899b298c4a6e4d309d0157c451a4a 100644 --- a/vpx/vp8cx.h +++ b/vpx/vp8cx.h @@ -22,7 +22,10 @@ */ #ifndef VP8CX_H #define VP8CX_H -#include "vpx_codec_impl_top.h" + +#ifdef __cplusplus +extern "C" { +#endif /*!\name Algorithm interface for VP8 * @@ -334,5 +337,8 @@ VPX_CTRL_USE_TYPE(VP9E_SET_FRAME_PARALLEL_DECODING, unsigned int) VPX_CTRL_USE_TYPE(VP9E_SET_MAX_Q, unsigned int) VPX_CTRL_USE_TYPE(VP9E_SET_MIN_Q, unsigned int) /*! @} - end defgroup vp8_encoder */ -#include "vpx_codec_impl_bottom.h" +#ifdef __cplusplus +} // extern "C" +#endif + #endif diff --git a/vpx/vp8dx.h b/vpx/vp8dx.h index 7d250ccae8eb95403c1e6f52cbfdc7aa83d63dce..50a223f2ad403bdc27b7f0cf30539cc4c6a61431 100644 --- a/vpx/vp8dx.h +++ b/vpx/vp8dx.h @@ -22,7 +22,10 @@ */ #ifndef VP8DX_H #define VP8DX_H -#include "vpx_codec_impl_top.h" + +#ifdef __cplusplus +extern "C" { +#endif /*!\name Algorithm interface for VP8 * @@ -100,6 +103,8 @@ VPX_CTRL_USE_TYPE(VP9_INVERT_TILE_DECODE_ORDER, int) /*! @} - end defgroup vp8_decoder */ +#ifdef __cplusplus +} // extern "C" +#endif -#include "vpx_codec_impl_bottom.h" #endif diff --git a/vpx/vpx_codec.mk b/vpx/vpx_codec.mk index ffa123f127f5e609e0f490065f4cce77368e4b7a..3d5510f66d2a3211c8b53290fe948d4e7bd3b22c 100644 --- a/vpx/vpx_codec.mk +++ b/vpx/vpx_codec.mk @@ -35,7 +35,5 @@ API_SRCS-yes += src/vpx_codec.c API_SRCS-yes += src/vpx_image.c API_SRCS-yes += vpx_codec.h API_SRCS-yes += vpx_codec.mk -API_SRCS-yes += vpx_codec_impl_bottom.h -API_SRCS-yes += vpx_codec_impl_top.h API_SRCS-yes += vpx_image.h API_SRCS-$(BUILD_LIBVPX) += vpx_integer.h diff --git a/vpx/vpx_codec_impl_bottom.h b/vpx/vpx_codec_impl_bottom.h deleted file mode 100644 index 6eb79a88a401ae05878df93896c8bc88bc18f624..0000000000000000000000000000000000000000 --- a/vpx/vpx_codec_impl_bottom.h +++ /dev/null @@ -1,19 +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. - */ - - -/* - * This file is to be included at the bottom of the header files defining the - * interface to individual codecs and contains matching blocks to those defined - * in vpx_codec_impl_top.h - */ -#ifdef __cplusplus -} -#endif diff --git a/vpx/vpx_codec_impl_top.h b/vpx/vpx_codec_impl_top.h deleted file mode 100644 index c9b8cfab29a4fe67ef9a5ca8b26af6c2dbb7c7bd..0000000000000000000000000000000000000000 --- a/vpx/vpx_codec_impl_top.h +++ /dev/null @@ -1,19 +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. - */ - - -/* - * This file is to be included at the top of the header files defining the - * interface to individual codecs and contains various workarounds common - * to all codec implementations. - */ -#ifdef __cplusplus -extern "C" { -#endif