diff --git a/build/make/obj_int_extract.c b/build/make/obj_int_extract.c index cef14e7f7..d9afb9d30 100644 --- a/build/make/obj_int_extract.c +++ b/build/make/obj_int_extract.c @@ -16,7 +16,7 @@ #if defined(_MSC_VER) #include #include -#include "vpx_ports/vpx_integer.h" +#include "vpx/vpx_integer.h" #else #include #include diff --git a/configure b/configure index e017f528c..314f40605 100755 --- a/configure +++ b/configure @@ -158,8 +158,8 @@ if ! enabled alt_tree_layout; then [ -d ${source_path}/vp8 ] && CODECS="${CODECS} vp8_encoder vp8_decoder" else # customer environment -[ -f ${source_path}/../include/vp8cx.h ] && CODECS="${CODECS} vp8_encoder" -[ -f ${source_path}/../include/vp8dx.h ] && CODECS="${CODECS} vp8_decoder" +[ -f ${source_path}/../include/vpx/vp8cx.h ] && CODECS="${CODECS} vp8_encoder" +[ -f ${source_path}/../include/vpx/vp8dx.h ] && CODECS="${CODECS} vp8_decoder" [ -f ${source_path}/../lib/*/*mt.lib ] && soft_enable static_msvcrt fi @@ -427,7 +427,7 @@ EOF check_header pthread.h check_header sys/mman.h - check_header vpx_ports/vpx_integer.h -I${source_path} && enable vpx_ports + check_header vpx/vpx_integer.h -I${source_path} && enable vpx_ports } process_toolchain() { diff --git a/example_xma.c b/example_xma.c index cc4e59196..753ca3c40 100644 --- a/example_xma.c +++ b/example_xma.c @@ -15,10 +15,10 @@ #include #define VPX_CODEC_DISABLE_COMPAT 1 #include "vpx_config.h" -#include "vpx_decoder.h" -#include "vpx_integer.h" +#include "vpx/vpx_decoder.h" +#include "vpx/vpx_integer.h" #if CONFIG_VP8_DECODER -#include "vp8dx.h" +#include "vpx/vp8dx.h" #endif static char *exec_name; diff --git a/examples.mk b/examples.mk index fa22e12d6..f05fd818e 100644 --- a/examples.mk +++ b/examples.mk @@ -14,7 +14,7 @@ UTILS-$(CONFIG_DECODERS) += ivfdec.c ivfdec.SRCS += md5_utils.c md5_utils.h ivfdec.SRCS += vpx_ports/vpx_timer.h -ivfdec.SRCS += vpx_ports/vpx_integer.h +ivfdec.SRCS += vpx/vpx_integer.h ivfdec.SRCS += args.c args.h vpx_ports/config.h ivfdec.GUID = BA5FE66F-38DD-E034-F542-B1578C5FB950 ivfdec.DESCRIPTION = Full featured decoder @@ -86,8 +86,6 @@ ifeq ($(HAVE_ALT_TREE_LAYOUT),yes) INC_PATH := $(SRC_PATH_BARE)/../include else LIB_PATH-yes += $(if $(BUILD_PFX),$(BUILD_PFX),.) - INC_PATH-yes += $(SRC_PATH_BARE)/vpx_codec - INC_PATH-yes += $(SRC_PATH_BARE)/vpx_ports INC_PATH-$(CONFIG_VP8_DECODER) += $(SRC_PATH_BARE)/vp8 INC_PATH-$(CONFIG_VP8_ENCODER) += $(SRC_PATH_BARE)/vp8 LIB_PATH := $(call enabled,LIB_PATH) diff --git a/examples/decoder_tmpl.c b/examples/decoder_tmpl.c index 91916bf17..59f0c11ed 100644 --- a/examples/decoder_tmpl.c +++ b/examples/decoder_tmpl.c @@ -16,8 +16,8 @@ #include #include #define VPX_CODEC_DISABLE_COMPAT 1 -#include "vpx_decoder.h" -#include "vp8dx.h" +#include "vpx/vpx_decoder.h" +#include "vpx/vp8dx.h" #define interface (&vpx_codec_vp8_dx_algo) @EXTRA_INCLUDES diff --git a/examples/decoder_tmpl.txt b/examples/decoder_tmpl.txt index 3287d5070..6da38c2a8 100644 --- a/examples/decoder_tmpl.txt +++ b/examples/decoder_tmpl.txt @@ -1,7 +1,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DEC_INCLUDES #define VPX_CODEC_DISABLE_COMPAT 1 -#include "vpx_decoder.h" -#include "vp8dx.h" +#include "vpx/vpx_decoder.h" +#include "vpx/vp8dx.h" #define interface (&vpx_codec_vp8_dx_algo) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DEC_INCLUDES diff --git a/examples/encoder_tmpl.c b/examples/encoder_tmpl.c index c301767f7..65473d1ab 100644 --- a/examples/encoder_tmpl.c +++ b/examples/encoder_tmpl.c @@ -16,8 +16,8 @@ #include #include #define VPX_CODEC_DISABLE_COMPAT 1 -#include "vpx_encoder.h" -#include "vp8cx.h" +#include "vpx/vpx_encoder.h" +#include "vpx/vp8cx.h" #define interface (&vpx_codec_vp8_cx_algo) #define fourcc 0x30385056 @EXTRA_INCLUDES diff --git a/examples/encoder_tmpl.txt b/examples/encoder_tmpl.txt index db1ea77c7..87055ca13 100644 --- a/examples/encoder_tmpl.txt +++ b/examples/encoder_tmpl.txt @@ -1,7 +1,7 @@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_INCLUDES #define VPX_CODEC_DISABLE_COMPAT 1 -#include "vpx_encoder.h" -#include "vp8cx.h" +#include "vpx/vpx_encoder.h" +#include "vpx/vp8cx.h" #define interface (&vpx_codec_vp8_cx_algo) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ENC_INCLUDES diff --git a/ivfdec.c b/ivfdec.c index e4c9981b0..94045f20c 100644 --- a/ivfdec.c +++ b/ivfdec.c @@ -17,10 +17,10 @@ #include #define VPX_CODEC_DISABLE_COMPAT 1 #include "vpx_config.h" -#include "vpx_decoder.h" +#include "vpx/vpx_decoder.h" #include "vpx_ports/vpx_timer.h" #if CONFIG_VP8_DECODER -#include "vp8dx.h" +#include "vpx/vp8dx.h" #endif #if CONFIG_MD5 #include "md5_utils.h" diff --git a/ivfenc.c b/ivfenc.c index 7922358ff..1f62199dc 100644 --- a/ivfenc.c +++ b/ivfenc.c @@ -21,7 +21,7 @@ #include #include #include -#include "vpx_encoder.h" +#include "vpx/vpx_encoder.h" #if USE_POSIX_MMAP #include #include @@ -29,7 +29,7 @@ #include #include #endif -#include "vp8cx.h" +#include "vpx/vp8cx.h" #include "vpx_ports/mem_ops.h" #include "vpx_ports/vpx_timer.h" diff --git a/libs.mk b/libs.mk index 16b4763d4..310e7225b 100644 --- a/libs.mk +++ b/libs.mk @@ -10,8 +10,8 @@ ASM:=$(if $(filter yes,$(CONFIG_GCC)),.asm.s,.asm) -include $(SRC_PATH_BARE)/vpx_codec/vpx_codec.mk -CODEC_SRCS-yes += $(addprefix vpx_codec/,$(call enabled,API_SRCS)) +include $(SRC_PATH_BARE)/vpx/vpx_codec.mk +CODEC_SRCS-yes += $(addprefix vpx/,$(call enabled,API_SRCS)) include $(SRC_PATH_BARE)/vpx_mem/vpx_mem.mk CODEC_SRCS-yes += $(addprefix vpx_mem/,$(call enabled,MEM_SRCS)) @@ -19,20 +19,16 @@ CODEC_SRCS-yes += $(addprefix vpx_mem/,$(call enabled,MEM_SRCS)) include $(SRC_PATH_BARE)/vpx_scale/vpx_scale.mk CODEC_SRCS-yes += $(addprefix vpx_scale/,$(call enabled,SCALE_SRCS)) -# Add vpx_codec/ to the include path to allow vp_n[cd]x.h to reference -# vpx_codec_impl_*.h without extra ifdeffery. vpx_ports to pick up -# vpx_integer.h -CFLAGS += -I$(SRC_PATH_BARE)/vpx_codec -CFLAGS += -I$(SRC_PATH_BARE)/vpx_ports ifeq ($(CONFIG_VP8_ENCODER),yes) VP8_PREFIX=vp8/ include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx.mk CODEC_SRCS-yes += $(addprefix $(VP8_PREFIX),$(call enabled,VP8_CX_SRCS)) CODEC_EXPORTS-yes += $(addprefix $(VP8_PREFIX),$(VP8_CX_EXPORTS)) - CODEC_SRCS-yes += $(VP8_PREFIX)vp8cx.mk - INSTALL_MAPS += include/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/% - CODEC_DOC_SRCS += vp8/vp8.h vp8/vp8cx.h + CODEC_SRCS-yes += $(VP8_PREFIX)vp8cx.mk vpx/vp8.h vpx/vp8cx.h vpx/vp8e.h + INSTALL-LIBS-yes += include/vpx/vp8.h include/vpx/vp8e.h include/vpx/vp8cx.h + INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/% + CODEC_DOC_SRCS += vpx/vp8.h vpx/vp8cx.h CODEC_DOC_SECTIONS += vp8 vp8_encoder endif @@ -41,9 +37,10 @@ ifeq ($(CONFIG_VP8_DECODER),yes) include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx.mk CODEC_SRCS-yes += $(addprefix $(VP8_PREFIX),$(call enabled,VP8_DX_SRCS)) CODEC_EXPORTS-yes += $(addprefix $(VP8_PREFIX),$(VP8_DX_EXPORTS)) - CODEC_SRCS-yes += $(VP8_PREFIX)vp8dx.mk - INSTALL_MAPS += include/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/% - CODEC_DOC_SRCS += vp8/vp8.h vp8/vp8dx.h + CODEC_SRCS-yes += $(VP8_PREFIX)vp8dx.mk vpx/vp8.h vpx/vp8dx.h + INSTALL-LIBS-yes += include/vpx/vp8.h include/vpx/vp8dx.h + INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/$(VP8_PREFIX)/% + CODEC_DOC_SRCS += vpx/vp8.h vpx/vp8dx.h CODEC_DOC_SECTIONS += vp8 vp8_decoder endif @@ -66,8 +63,8 @@ endif # The following pairs define a mapping of locations in the distribution # tree to locations in the source/build trees. -INSTALL_MAPS += include/% $(SRC_PATH_BARE)/vpx_codec/% -INSTALL_MAPS += include/% $(SRC_PATH_BARE)/vpx_ports/% +INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/vpx/% +INSTALL_MAPS += include/vpx/% $(SRC_PATH_BARE)/vpx_ports/% INSTALL_MAPS += lib/% % INSTALL_MAPS += src/% $(SRC_PATH_BARE)/% ifeq ($(CONFIG_MSVS),yes) @@ -83,7 +80,7 @@ endif $(eval $(if $(filter universal%,$(TOOLCHAIN)),LIPO_LIBVPX,BUILD_LIBVPX):=yes) CODEC_SRCS-$(BUILD_LIBVPX) += build/make/version.sh -CODEC_SRCS-$(BUILD_LIBVPX) += vpx_ports/vpx_integer.h +CODEC_SRCS-$(BUILD_LIBVPX) += vpx/vpx_integer.h CODEC_SRCS-$(BUILD_LIBVPX) += vpx_ports/vpx_timer.h CODEC_SRCS-$(BUILD_LIBVPX) += vpx_ports/mem.h CODEC_SRCS-$(BUILD_LIBVPX) += $(BUILD_PFX)vpx_config.c @@ -94,16 +91,16 @@ CODEC_SRCS-$(BUILD_LIBVPX) += vpx_ports/x86.h CODEC_SRCS-$(BUILD_LIBVPX) += vpx_ports/x86_abi_support.asm endif CODEC_SRCS-$(ARCH_ARM) += $(BUILD_PFX)vpx_config.asm -CODEC_EXPORTS-$(BUILD_LIBVPX) += vpx_codec/exports +CODEC_EXPORTS-$(BUILD_LIBVPX) += vpx/exports -INSTALL-LIBS-yes += include/vpx_codec.h -INSTALL-LIBS-yes += include/vpx_image.h -INSTALL-LIBS-yes += include/vpx_integer.h -INSTALL-LIBS-yes += include/vpx_codec_impl_top.h -INSTALL-LIBS-yes += include/vpx_codec_impl_bottom.h -INSTALL-LIBS-$(CONFIG_DECODERS) += include/vpx_decoder.h -INSTALL-LIBS-$(CONFIG_DECODERS) += include/vpx_decoder_compat.h -INSTALL-LIBS-$(CONFIG_ENCODERS) += include/vpx_encoder.h +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_DECODERS) += include/vpx/vpx_decoder_compat.h +INSTALL-LIBS-$(CONFIG_ENCODERS) += include/vpx/vpx_encoder.h ifeq ($(CONFIG_EXTERNAL_BUILD),yes) ifeq ($(CONFIG_MSVS),yes) INSTALL-LIBS-yes += $(foreach p,$(VS_PLATFORMS),lib/$(p)/$(CODEC_LIB).lib) @@ -211,10 +208,10 @@ $(filter %.asm.o,$(OBJS-yes)): $(BUILD_PFX)vpx_config.asm $(shell $(SRC_PATH_BARE)/build/make/version.sh "$(SRC_PATH_BARE)" $(BUILD_PFX)vpx_version.h) CLEAN-OBJS += $(BUILD_PFX)vpx_version.h -CODEC_DOC_SRCS += vpx_codec/vpx_codec.h \ - vpx_codec/vpx_decoder.h \ - vpx_codec/vpx_encoder.h \ - vpx_codec/vpx_image.h +CODEC_DOC_SRCS += vpx/vpx_codec.h \ + vpx/vpx_decoder.h \ + vpx/vpx_encoder.h \ + vpx/vpx_image.h CLEAN-OBJS += libs.doxy DOCS-yes += libs.doxy diff --git a/md5_utils.h b/md5_utils.h index 8dda8d1b0..6c0e93e52 100644 --- a/md5_utils.h +++ b/md5_utils.h @@ -29,14 +29,7 @@ without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software. */ -#ifndef HAVE_VPX_PORTS -#define HAVE_VPX_PORTS 0 -#endif -#if HAVE_VPX_PORTS -#include "vpx_ports/vpx_integer.h" -#else -#include "vpx_integer.h" -#endif +#include "vpx/vpx_integer.h" /* MD5 context. */ typedef struct diff --git a/vp8/common/onyx.h b/vp8/common/onyx.h index b66c40070..428721996 100644 --- a/vp8/common/onyx.h +++ b/vp8/common/onyx.h @@ -16,7 +16,7 @@ extern "C" { #endif -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/internal/vpx_codec_internal.h" #include "vpx_scale/yv12config.h" #include "type_aliases.h" #include "ppflags.h" diff --git a/vp8/common/onyxc_int.h b/vp8/common/onyxc_int.h index a40ffb9f0..39eab24ca 100644 --- a/vp8/common/onyxc_int.h +++ b/vp8/common/onyxc_int.h @@ -11,8 +11,8 @@ #ifndef __INC_VP8C_INT_H #define __INC_VP8C_INT_H -#include "vpx_ports/config.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx_config.h" +#include "vpx/internal/vpx_codec_internal.h" #include "loopfilter.h" #include "entropymv.h" #include "entropy.h" diff --git a/vp8/decoder/dboolhuff.h b/vp8/decoder/dboolhuff.h index f5c982202..772dbdb2e 100644 --- a/vp8/decoder/dboolhuff.h +++ b/vp8/decoder/dboolhuff.h @@ -12,7 +12,7 @@ #define DBOOLHUFF_H #include "vpx_ports/config.h" #include "vpx_ports/mem.h" -#include "vpx_ports/vpx_integer.h" +#include "vpx/vpx_integer.h" /* Size of the bool decoder backing storage * diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 29b120ed4..55076b091 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -25,7 +25,7 @@ #include "entropy.h" #include "threading.h" #include "vpx_ports/mem.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/internal/vpx_codec_internal.h" #include "mcomp.h" #define INTRARDOPT diff --git a/vp8/vp8_cx_iface.c b/vp8/vp8_cx_iface.c index 737e62716..b45b21207 100644 --- a/vp8/vp8_cx_iface.c +++ b/vp8/vp8_cx_iface.c @@ -8,11 +8,11 @@ */ -#include "vpx_codec/vpx_codec.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/vpx_codec.h" +#include "vpx/internal/vpx_codec_internal.h" #include "vpx_version.h" #include "onyx_int.h" -#include "vp8e.h" +#include "vpx/vp8e.h" #include "onyx.h" #include #include diff --git a/vp8/vp8_dx_iface.c b/vp8/vp8_dx_iface.c index 8aaa52c2c..9108bc2f6 100644 --- a/vp8/vp8_dx_iface.c +++ b/vp8/vp8_dx_iface.c @@ -10,9 +10,9 @@ #include #include -#include "vpx_codec/vpx_decoder.h" -#include "vp8dx.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/vpx_decoder.h" +#include "vpx/vp8dx.h" +#include "vpx/internal/vpx_codec_internal.h" #include "vpx_version.h" #include "onyxd.h" #include "onyxd_int.h" diff --git a/vp8/vp8cx.mk b/vp8/vp8cx.mk index e7e7663c4..651ee7767 100644 --- a/vp8/vp8cx.mk +++ b/vp8/vp8cx.mk @@ -18,7 +18,7 @@ ifeq ($(ARCH_ARM),yes) include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8cx_arm.mk endif -VP8_CX_SRCS-yes += vp8cx.h vp8e.h vp8_cx_iface.c +VP8_CX_SRCS-yes += vp8_cx_iface.c # encoder #INCLUDES += algo/vpx_common/vpx_mem/include @@ -100,5 +100,3 @@ VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/quantize_mmx.asm VP8_CX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += encoder/x86/encodeopt.asm VP8_CX_SRCS-yes := $(filter-out $(VP8_CX_SRCS_REMOVE-yes),$(VP8_CX_SRCS-yes)) - -INSTALL-LIBS-yes += include/vp8.h include/vp8e.h include/vp8cx.h diff --git a/vp8/vp8dx.mk b/vp8/vp8dx.mk index e6af5439c..76368eb53 100644 --- a/vp8/vp8dx.mk +++ b/vp8/vp8dx.mk @@ -18,7 +18,7 @@ ifeq ($(ARCH_ARM),yes) include $(SRC_PATH_BARE)/$(VP8_PREFIX)vp8dx_arm.mk endif -VP8_DX_SRCS-yes += vp8dx.h vp8_dx_iface.c +VP8_DX_SRCS-yes += vp8_dx_iface.c CFLAGS+=-I$(SRC_PATH_BARE)/$(VP8_PREFIX)decoder @@ -69,8 +69,6 @@ VP8_DX_SRCS-yes += decoder/threading.c VP8_DX_SRCS-yes := $(filter-out $(VP8_DX_SRCS_REMOVE-yes),$(VP8_DX_SRCS-yes)) -INSTALL-LIBS-yes += include/vp8.h include/vp8dx.h - VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/dequantize_x86.h VP8_DX_SRCS-$(ARCH_X86)$(ARCH_X86_64) += decoder/x86/x86_dsystemdependent.c VP8_DX_SRCS-$(HAVE_MMX) += decoder/x86/dequantize_mmx.asm diff --git a/vpx_codec/exports b/vpx/exports similarity index 100% rename from vpx_codec/exports rename to vpx/exports diff --git a/vpx_codec/internal/vpx_codec_internal.h b/vpx/internal/vpx_codec_internal.h similarity index 100% rename from vpx_codec/internal/vpx_codec_internal.h rename to vpx/internal/vpx_codec_internal.h diff --git a/vpx_codec/src/vpx_codec.c b/vpx/src/vpx_codec.c similarity index 98% rename from vpx_codec/src/vpx_codec.c rename to vpx/src/vpx_codec.c index ace449413..45dfce0aa 100644 --- a/vpx_codec/src/vpx_codec.c +++ b/vpx/src/vpx_codec.c @@ -14,8 +14,8 @@ */ #include #include -#include "vpx_ports/vpx_integer.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/vpx_integer.h" +#include "vpx/internal/vpx_codec_internal.h" #include "vpx_version.h" #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) diff --git a/vpx_codec/src/vpx_decoder.c b/vpx/src/vpx_decoder.c similarity index 99% rename from vpx_codec/src/vpx_decoder.c rename to vpx/src/vpx_decoder.c index 7e8575fd2..8257f89b2 100644 --- a/vpx_codec/src/vpx_decoder.c +++ b/vpx/src/vpx_decoder.c @@ -13,7 +13,7 @@ * */ #include -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/internal/vpx_codec_internal.h" #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) diff --git a/vpx_codec/src/vpx_decoder_compat.c b/vpx/src/vpx_decoder_compat.c similarity index 98% rename from vpx_codec/src/vpx_decoder_compat.c rename to vpx/src/vpx_decoder_compat.c index d5b04aec0..96594fe2f 100644 --- a/vpx_codec/src/vpx_decoder_compat.c +++ b/vpx/src/vpx_decoder_compat.c @@ -14,8 +14,8 @@ */ #include #include -#include "vpx_codec/vpx_decoder.h" -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/vpx_decoder.h" +#include "vpx/internal/vpx_codec_internal.h" #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) diff --git a/vpx_codec/src/vpx_encoder.c b/vpx/src/vpx_encoder.c similarity index 99% rename from vpx_codec/src/vpx_encoder.c rename to vpx/src/vpx_encoder.c index 98ad8bafa..a9a40de71 100644 --- a/vpx_codec/src/vpx_encoder.c +++ b/vpx/src/vpx_encoder.c @@ -14,7 +14,7 @@ */ #include #include -#include "vpx_codec/internal/vpx_codec_internal.h" +#include "vpx/internal/vpx_codec_internal.h" #define SAVE_STATUS(ctx,var) (ctx?(ctx->err = var):var) diff --git a/vpx_codec/src/vpx_image.c b/vpx/src/vpx_image.c similarity index 99% rename from vpx_codec/src/vpx_image.c rename to vpx/src/vpx_image.c index b10402459..881ab1a31 100644 --- a/vpx_codec/src/vpx_image.c +++ b/vpx/src/vpx_image.c @@ -10,7 +10,7 @@ #include #include -#include "vpx_codec/vpx_image.h" +#include "vpx/vpx_image.h" static vpx_image_t *img_alloc_helper(vpx_image_t *img, vpx_img_fmt_t fmt, diff --git a/vp8/vp8.h b/vpx/vp8.h similarity index 97% rename from vp8/vp8.h rename to vpx/vp8.h index 87ca2172d..6778b7e9c 100644 --- a/vp8/vp8.h +++ b/vpx/vp8.h @@ -29,7 +29,7 @@ */ #ifndef VP8_H #define VP8_H -#include "vpx_codec_impl_top.h" +#include "vpx/vpx_codec_impl_top.h" /*!\brief Control functions * @@ -112,5 +112,5 @@ VPX_CTRL_USE_TYPE(VP8_SET_POSTPROC, vp8_postproc_cfg_t *) DECLSPEC_DEPRECATED extern vpx_codec_iface_t vpx_codec_vp8_algo DEPRECATED; #endif -#include "vpx_codec_impl_bottom.h" +#include "vpx/vpx_codec_impl_bottom.h" #endif diff --git a/vp8/vp8cx.h b/vpx/vp8cx.h similarity index 99% rename from vp8/vp8cx.h rename to vpx/vp8cx.h index dd48c0722..0773edc16 100644 --- a/vp8/vp8cx.h +++ b/vpx/vp8cx.h @@ -21,7 +21,7 @@ */ #ifndef VP8CX_H #define VP8CX_H -#include "vpx_codec_impl_top.h" +#include "vpx/vpx_codec_impl_top.h" /*!\brief Algorithm interface for VP8 * @@ -257,5 +257,5 @@ VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER, int *) VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER_64, int *) /*! @} - end defgroup vp8_encoder */ -#include "vpx_codec_impl_bottom.h" +#include "vpx/vpx_codec_impl_bottom.h" #endif diff --git a/vp8/vp8dx.h b/vpx/vp8dx.h similarity index 92% rename from vp8/vp8dx.h rename to vpx/vp8dx.h index 7310b3bd6..8203557ba 100644 --- a/vp8/vp8dx.h +++ b/vpx/vp8dx.h @@ -21,7 +21,7 @@ */ #ifndef VP8DX_H #define VP8DX_H -#include "vpx_codec_impl_top.h" +#include "vpx/vpx_codec_impl_top.h" /*!\brief Algorithm interface for VP8 * @@ -37,5 +37,5 @@ extern vpx_codec_iface_t vpx_codec_vp8_dx_algo; /*! @} - end defgroup vp8_decoder */ -#include "vpx_codec_impl_bottom.h" +#include "vpx/vpx_codec_impl_bottom.h" #endif diff --git a/vp8/vp8e.h b/vpx/vp8e.h similarity index 96% rename from vp8/vp8e.h rename to vpx/vp8e.h index a90aa2aaf..85ca39f3a 100644 --- a/vp8/vp8e.h +++ b/vpx/vp8e.h @@ -13,7 +13,7 @@ */ #ifndef VP8E_H #define VP8E_H -#include "vpx_codec_impl_top.h" +#include "vpx/vpx_codec_impl_top.h" #if defined(VPX_CODEC_DISABLE_COMPAT) && VPX_CODEC_DISABLE_COMPAT #error "Backwards compatibility disabled: don't include vp8e.h" @@ -58,5 +58,5 @@ VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_FRAMETYPE, int) * #VPX_DL_BEST_QUALITY constants to that parameter instead. */ VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_ENCODING_MODE, vp8e_encoding_mode) -#include "vpx_codec_impl_bottom.h" +#include "vpx/vpx_codec_impl_bottom.h" #endif diff --git a/vpx_codec/vpx_codec.h b/vpx/vpx_codec.h similarity index 100% rename from vpx_codec/vpx_codec.h rename to vpx/vpx_codec.h diff --git a/vpx_codec/vpx_codec.mk b/vpx/vpx_codec.mk similarity index 100% rename from vpx_codec/vpx_codec.mk rename to vpx/vpx_codec.mk diff --git a/vpx_codec/vpx_codec_impl_bottom.h b/vpx/vpx_codec_impl_bottom.h similarity index 100% rename from vpx_codec/vpx_codec_impl_bottom.h rename to vpx/vpx_codec_impl_bottom.h diff --git a/vpx_codec/vpx_codec_impl_top.h b/vpx/vpx_codec_impl_top.h similarity index 100% rename from vpx_codec/vpx_codec_impl_top.h rename to vpx/vpx_codec_impl_top.h diff --git a/vpx_codec/vpx_decoder.h b/vpx/vpx_decoder.h similarity index 100% rename from vpx_codec/vpx_decoder.h rename to vpx/vpx_decoder.h diff --git a/vpx_codec/vpx_decoder_compat.h b/vpx/vpx_decoder_compat.h similarity index 100% rename from vpx_codec/vpx_decoder_compat.h rename to vpx/vpx_decoder_compat.h diff --git a/vpx_codec/vpx_encoder.h b/vpx/vpx_encoder.h similarity index 100% rename from vpx_codec/vpx_encoder.h rename to vpx/vpx_encoder.h diff --git a/vpx_codec/vpx_image.h b/vpx/vpx_image.h similarity index 100% rename from vpx_codec/vpx_image.h rename to vpx/vpx_image.h diff --git a/vpx_ports/vpx_integer.h b/vpx/vpx_integer.h similarity index 100% rename from vpx_ports/vpx_integer.h rename to vpx/vpx_integer.h diff --git a/vpx_ports/mem.h b/vpx_ports/mem.h index 10942f1e2..1078169ee 100644 --- a/vpx_ports/mem.h +++ b/vpx_ports/mem.h @@ -11,7 +11,7 @@ #ifndef VPX_PORTS_MEM_H #define VPX_PORTS_MEM_H #include "vpx_config.h" -#include "vpx_integer.h" +#include "vpx/vpx_integer.h" #if defined(__GNUC__) && __GNUC__ #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n)))