diff options
author | John Koleszar <jkoleszar@google.com> | 2010-05-24 11:39:59 -0400 |
---|---|---|
committer | John Koleszar <jkoleszar@google.com> | 2010-05-24 20:27:42 -0400 |
commit | b7492341ac224b9dda9e618f6a9e9ab37e8afa66 (patch) | |
tree | 5f9d0e4429be663f3d9274bbba4eaeb4b4cbe159 /vp8 | |
parent | ee8bcb1a7dcecc4dd393129237f234cbb619bab4 (diff) | |
download | libvpx-b7492341ac224b9dda9e618f6a9e9ab37e8afa66.tar libvpx-b7492341ac224b9dda9e618f6a9e9ab37e8afa66.tar.gz libvpx-b7492341ac224b9dda9e618f6a9e9ab37e8afa66.tar.bz2 libvpx-b7492341ac224b9dda9e618f6a9e9ab37e8afa66.zip |
install includes in DIST_DIR/include/vpx, move vpx_codec/ to vpx/
This renames the vpx_codec/ directory to vpx/, to allow applications
to more consistently reference these includes with the vpx/ prefix.
This allows the includes to be installed in /usr/local/include/vpx
rather than polluting the system includes directory with an
excessive number of includes.
Change-Id: I7b0652a20543d93f38f421c60b0bbccde4d61b4f
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/common/onyx.h | 2 | ||||
-rw-r--r-- | vp8/common/onyxc_int.h | 4 | ||||
-rw-r--r-- | vp8/decoder/dboolhuff.h | 2 | ||||
-rw-r--r-- | vp8/encoder/onyx_int.h | 2 | ||||
-rw-r--r-- | vp8/vp8.h | 116 | ||||
-rw-r--r-- | vp8/vp8_cx_iface.c | 6 | ||||
-rw-r--r-- | vp8/vp8_dx_iface.c | 6 | ||||
-rw-r--r-- | vp8/vp8cx.h | 261 | ||||
-rw-r--r-- | vp8/vp8cx.mk | 4 | ||||
-rw-r--r-- | vp8/vp8dx.h | 41 | ||||
-rw-r--r-- | vp8/vp8dx.mk | 4 | ||||
-rw-r--r-- | vp8/vp8e.h | 62 |
12 files changed, 13 insertions, 497 deletions
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.h b/vp8/vp8.h deleted file mode 100644 index 87ca2172d..000000000 --- a/vp8/vp8.h +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (c) 2010 The VP8 project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license and patent - * grant that can be found in the LICENSE file in the root of the source - * tree. All contributing project authors may be found in the AUTHORS - * file in the root of the source tree. - */ - - -/*!\defgroup vp8 VP8 - * \ingroup codecs - * VP8 is vpx's newest video compression algorithm that uses motion - * compensated prediction, Discrete Cosine Transform (DCT) coding of the - * prediction error signal and context dependent entropy coding techniques - * based on arithmatic principles. It features: - * - YUV 4:2:0 image format - * - Macro-block based coding (16x16 luma plus two 8x8 chroma) - * - 1/4 (1/8) pixel accuracy motion compensated prediction - * - 4x4 DCT transform - * - 128 level linear quantizer - * - In loop deblocking filter - * - Context-based entropy coding - * - * @{ - */ -/*!\file vp8.h - * \brief Provides controls common to both the VP8 encoder and decoder. - */ -#ifndef VP8_H -#define VP8_H -#include "vpx_codec_impl_top.h" - -/*!\brief Control functions - * - * The set of macros define the control functions of VP8 interface - */ -enum vp8_dec_control_id -{ - VP8_SET_REFERENCE = 1, /**< pass in an external frame into decoder to be used as reference frame */ - VP8_COPY_REFERENCE = 2, /**< get a copy of reference frame from the decoder */ - VP8_SET_POSTPROC = 3, /**< set decoder's the post processing settings */ - VP8_COMMON_CTRL_ID_MAX -}; - -/*!\brief post process flags - * - * The set of macros define VP8 decoder post processing flags - */ -enum vp8_postproc_level -{ - VP8_NOFILTERING = 0, - VP8_DEBLOCK = 1, - VP8_DEMACROBLOCK = 2, - VP8_ADDNOISE = 4, -}; - -/*!\brief post process flags - * - * This define a structure that describe the post processing settings. For - * the best objective measure (using thet PSNR metric) set post_proc_flag - * to VP8_DEBLOCK and deblocking_level to 1. - */ - -typedef struct vp8_postproc_cfg -{ - int post_proc_flag; /**< the types of post processing to be done, should be combination of "vp8_postproc_level" */ - int deblocking_level; /**< the strength of deblocking, valid range [0, 16] */ - int noise_level; /**< the strength of additive noise, valid range [0, 16] */ -} vp8_postproc_cfg_t; - -/*!\brief reference frame type - * - * The set of macros define the type of VP8 reference frames - */ -typedef enum vpx_ref_frame_type -{ - VP8_LAST_FRAME = 1, - VP8_GOLD_FRAME = 2, - VP8_ALTR_FRAME = 4 -} vpx_ref_frame_type_t; - -/*!\brief reference frame data struct - * - * define the data struct to access vp8 reference frames - */ - -typedef struct vpx_ref_frame -{ - vpx_ref_frame_type_t frame_type; /**< which reference frame */ - vpx_image_t img; /**< reference frame data in image format */ -} vpx_ref_frame_t; - - -/*!\brief vp8 decoder control funciton parameter type - * - * defines the data type for each of VP8 decoder control funciton requires - */ - -VPX_CTRL_USE_TYPE(VP8_SET_REFERENCE, vpx_ref_frame_t *) -VPX_CTRL_USE_TYPE(VP8_COPY_REFERENCE, vpx_ref_frame_t *) -VPX_CTRL_USE_TYPE(VP8_SET_POSTPROC, vp8_postproc_cfg_t *) - - -/*! @} - end defgroup vp8 */ - -#if !defined(VPX_CODEC_DISABLE_COMPAT) || !VPX_CODEC_DISABLE_COMPAT -/* The following definitions are provided for backward compatibility with - * the VP8 1.0.x SDK. USE IN PRODUCTION CODE IS NOT RECOMMENDED. - */ - -DECLSPEC_DEPRECATED extern vpx_codec_iface_t vpx_codec_vp8_algo DEPRECATED; -#endif - -#include "vpx_codec_impl_bottom.h" -#endif 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 <stdlib.h> #include <string.h> 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 <stdlib.h> #include <string.h> -#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.h b/vp8/vp8cx.h deleted file mode 100644 index dd48c0722..000000000 --- a/vp8/vp8cx.h +++ /dev/null @@ -1,261 +0,0 @@ -/* - * Copyright (c) 2010 The VP8 project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license and patent - * grant that can be found in the LICENSE file in the root of the source - * tree. All contributing project authors may be found in the AUTHORS - * file in the root of the source tree. - */ - - -/*!\defgroup vp8_encoder WebM VP8 Encoder - * \ingroup vp8 - * - * @{ - */ -#include "vp8.h" - -/*!\file vp8cx.h - * \brief Provides definitions for using the VP8 encoder algorithm within the - * vpx Codec Interface. - */ -#ifndef VP8CX_H -#define VP8CX_H -#include "vpx_codec_impl_top.h" - -/*!\brief Algorithm interface for VP8 - * - * This interface provides the capability to encode raw VP8 streams, as would - * be found in AVI files. - */ -extern vpx_codec_iface_t vpx_codec_vp8_cx_algo; - - -/* - * Algorithm Flags - */ - -/*!\brief Don't reference the last frame - * - * When this flag is set, the encoder will not use the last frame as a - * predictor. When not set, the encoder will choose whether to use the - * last frame or not automatically. - */ -#define VP8_EFLAG_NO_REF_LAST (1<<16) - - -/*!\brief Don't reference the golden frame - * - * When this flag is set, the encoder will not use the golden frame as a - * predictor. When not set, the encoder will choose whether to use the - * golden frame or not automatically. - */ -#define VP8_EFLAG_NO_REF_GF (1<<17) - - -/*!\brief Don't reference the alternate reference frame - * - * When this flag is set, the encoder will not use the alt ref frame as a - * predictor. When not set, the encoder will choose whether to use the - * alt ref frame or not automatically. - */ -#define VP8_EFLAG_NO_REF_ARF (1<<21) - - -/*!\brief Don't update the last frame - * - * When this flag is set, the encoder will not update the last frame with - * the contents of the current frame. - */ -#define VP8_EFLAG_NO_UPD_LAST (1<<18) - - -/*!\brief Don't update the golden frame - * - * When this flag is set, the encoder will not update the golden frame with - * the contents of the current frame. - */ -#define VP8_EFLAG_NO_UPD_GF (1<<22) - - -/*!\brief Don't update the alternate reference frame - * - * When this flag is set, the encoder will not update the alt ref frame with - * the contents of the current frame. - */ -#define VP8_EFLAG_NO_UPD_ARF (1<<23) - - -/*!\brief Force golden frame update - * - * When this flag is set, the encoder copy the contents of the current frame - * to the golden frame buffer. - */ -#define VP8_EFLAG_FORCE_GF (1<<19) - - -/*!\brief Force alternate reference frame update - * - * When this flag is set, the encoder copy the contents of the current frame - * to the alternate reference frame buffer. - */ -#define VP8_EFLAG_FORCE_ARF (1<<24) - - -/*!\brief Disable entropy update - * - * When this flag is set, the encoder will not update its internal entropy - * model based on the entropy of this frame. - */ -#define VP8_EFLAG_NO_UPD_ENTROPY (1<<20) - - -/*!\brief VP8 encoder control functions - * - * The set of macros define the control functions of VP8 encoder interface - */ -enum vp8e_enc_control_id -{ - VP8E_UPD_ENTROPY = 5, /**< control function to set mode of entropy update in encoder */ - VP8E_UPD_REFERENCE, /**< control function to set reference update mode in encoder */ - VP8E_USE_REFERENCE, /**< control function to set which reference frame encoder can use */ - VP8E_SET_ROI_MAP, /**< control function to pass an ROI map to encoder */ - VP8E_SET_ACTIVEMAP, /**< control function to pass an Active map to encoder */ - VP8E_SET_SCALEMODE = 11, /**< control function to set encoder scaling mode */ - VP8E_SET_CPUUSED = 13, /**< control function to set vp8 encoder cpuused */ - VP8E_SET_ENABLEAUTOALTREF, /**< control function to enable vp8 to automatic set and use altref frame */ - VP8E_SET_NOISE_SENSITIVITY, /**< control function to set noise sensitivity */ - VP8E_SET_SHARPNESS, /**< control function to set sharpness */ - VP8E_SET_STATIC_THRESHOLD, /**< control function to set the threshold for macroblocks treated static */ - VP8E_SET_TOKEN_PARTITIONS, /**< control function to set the number of token partitions */ - VP8E_GET_LAST_QUANTIZER, /**< return the quantizer chosen by the - encoder for the last frame using the internal - scale */ - VP8E_GET_LAST_QUANTIZER_64, /**< return the quantizer chosen by the - encoder for the last frame, using the 0..63 - scale as used by the rc_*_quantizer config - parameters */ - VP8E_SET_ARNR_MAXFRAMES, /**< control function to set the max number of frames blurred creating arf*/ - VP8E_SET_ARNR_STRENGTH , /**< control function to set the filter strength for the arf */ - VP8E_SET_ARNR_TYPE , /**< control function to set the type of filter to use for the arf*/ -} ; - -/*!\brief vpx 1-D scaling mode - * - * This set of constants define 1-D vpx scaling modes - */ -typedef enum vpx_scaling_mode_1d -{ - VP8E_NORMAL = 0, - VP8E_FOURFIVE = 1, - VP8E_THREEFIVE = 2, - VP8E_ONETWO = 3 -} VPX_SCALING_MODE; - - -/*!\brief vpx region of interest map - * - * These defines the data structures for the region of interest map - * - */ - -typedef struct vpx_roi_map -{ - unsigned char *roi_map; /**< specify an id between 0 and 3 for each 16x16 region within a frame */ - unsigned int rows; /**< number of rows */ - unsigned int cols; /**< number of cols */ - int delta_q[4]; /**< quantizer delta [-64, 64] off baseline for regions with id between 0 and 3*/ - int delta_lf[4]; /**< loop filter strength delta [-32, 32] for regions with id between 0 and 3 */ - unsigned int static_threshold[4];/**< threshold for region to be treated as static */ -} vpx_roi_map_t; - -/*!\brief vpx active region map - * - * These defines the data structures for active region map - * - */ - - -typedef struct vpx_active_map -{ - unsigned char *active_map; /**< specify an on (1) or off (0) each 16x16 region within a frame */ - unsigned int rows; /**< number of rows */ - unsigned int cols; /**< number of cols */ -} vpx_active_map_t; - -/*!\brief vpx image scaling mode - * - * This defines the data structure for image scaling mode - * - */ -typedef struct vpx_scaling_mode -{ - VPX_SCALING_MODE h_scaling_mode; /**< horizontal scaling mode */ - VPX_SCALING_MODE v_scaling_mode; /**< vertical scaling mode */ -} vpx_scaling_mode_t; - -/*!\brief VP8 encoding mode - * - * This defines VP8 encoding mode - * - */ -typedef enum -{ - VP8_BEST_QUALITY_ENCODING, - VP8_GOOD_QUALITY_ENCODING, - VP8_REAL_TIME_ENCODING -} vp8e_encoding_mode; - -/*!\brief VP8 token partition mode - * - * This defines VP8 partitioning mode for compressed data, i.e., the number of - * sub-streams in the bitstream. Used for parallelized decoding. - * - */ - -typedef enum -{ - VP8_ONE_TOKENPARTITION = 0, - VP8_TWO_TOKENPARTITION = 1, - VP8_FOUR_TOKENPARTITION = 2, - VP8_EIGHT_TOKENPARTITION = 3, -} vp8e_token_partitions; - - -/*!\brief VP8 encoder control function parameter type - * - * Defines the data types that VP8E control functions take. Note that - * additional common controls are defined in vp8.h - * - */ - - -/* These controls have been deprecated in favor of the flags parameter to - * vpx_codec_encode(). See the definition of VP8_EFLAG_* above. - */ -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_UPD_ENTROPY, int) -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_UPD_REFERENCE, int) -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_USE_REFERENCE, int) - -VPX_CTRL_USE_TYPE(VP8E_SET_ROI_MAP, vpx_roi_map_t *) -VPX_CTRL_USE_TYPE(VP8E_SET_ACTIVEMAP, vpx_active_map_t *) -VPX_CTRL_USE_TYPE(VP8E_SET_SCALEMODE, vpx_scaling_mode_t *) - -VPX_CTRL_USE_TYPE(VP8E_SET_CPUUSED, int) -VPX_CTRL_USE_TYPE(VP8E_SET_ENABLEAUTOALTREF, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_NOISE_SENSITIVITY, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_SHARPNESS, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_STATIC_THRESHOLD, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, vp8e_token_partitions) - -VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_MAXFRAMES, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_STRENGTH , unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_TYPE , unsigned int) - - -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" -#endif 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.h b/vp8/vp8dx.h deleted file mode 100644 index 7310b3bd6..000000000 --- a/vp8/vp8dx.h +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright (c) 2010 The VP8 project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license and patent - * grant that can be found in the LICENSE file in the root of the source - * tree. All contributing project authors may be found in the AUTHORS - * file in the root of the source tree. - */ - - -#include "vp8.h" - -/*!\defgroup vp8_decoder WebM VP8 Decoder - * \ingroup vp8 - * - * @{ - */ -/*!\file vp8dx.h - * \brief Provides definitions for using the VP8 algorithm within the vpx Decoder - * interface. - */ -#ifndef VP8DX_H -#define VP8DX_H -#include "vpx_codec_impl_top.h" - -/*!\brief Algorithm interface for VP8 - * - * This interface provides the capability to decode raw VP8 streams, as would - * be found in AVI files and other non-Flash uses. - */ -extern vpx_codec_iface_t vpx_codec_vp8_dx_algo; - -/* Include controls common to both the encoder and decoder */ -#include "vp8.h" - - -/*! @} - end defgroup vp8_decoder */ - - -#include "vpx_codec_impl_bottom.h" -#endif 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/vp8/vp8e.h b/vp8/vp8e.h deleted file mode 100644 index a90aa2aaf..000000000 --- a/vp8/vp8e.h +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright (c) 2010 The VP8 project authors. All Rights Reserved. - * - * Use of this source code is governed by a BSD-style license and patent - * grant that can be found in the LICENSE file in the root of the source - * tree. All contributing project authors may be found in the AUTHORS - * file in the root of the source tree. - */ - - -/* This file contains backwards compatibility stubs for applications using - * the VP8 version 1.0 API. - */ -#ifndef VP8E_H -#define VP8E_H -#include "vpx_codec_impl_top.h" - -#if defined(VPX_CODEC_DISABLE_COMPAT) && VPX_CODEC_DISABLE_COMPAT -#error "Backwards compatibility disabled: don't include vp8e.h" -#endif - -#include "vp8cx.h" -DECLSPEC_DEPRECATED extern vpx_codec_iface_t vpx_enc_vp8_algo DEPRECATED; - - -enum -{ - VP8E_SET_REFERENCE = VP8_SET_REFERENCE, - VP8E_COPY_REFERENCE = VP8_COPY_REFERENCE, - VP8E_SET_PREVIEWPP = VP8_SET_POSTPROC, - VP8E_SET_FLUSHFLAG = 4, - VP8E_SET_FRAMETYPE = 10, - VP8E_SET_ENCODING_MODE = 12 -}; - -#define NORMAL_FRAME (0) -#define KEY_FRAME (1) - -/* Change VP8E to VP8 to get the undeprecated version of these (defined in - * vp8.h) - */ -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_REFERENCE, vpx_ref_frame_t *) -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_COPY_REFERENCE, vpx_ref_frame_t *) -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_PREVIEWPP, vp8_postproc_cfg_t *) - - -/* Flush is done by calling vpx_codec_encode with a NULL input image. */ -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_FLUSHFLAG, int) - - -/* Frame type is set with a flag to vpx_codec_control. See VPX_EFLAG_FORCE_KF - */ -VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_FRAMETYPE, int) - - -/* This control has been deprecated in favor of the duration parameter to - * vpx_codec_encode(). Use the #VPX_DL_REALTIME, #VPX_DL_GOOD_QUALITY, - * #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" -#endif |