Commit 0b79fdeb authored by James Almer's avatar James Almer

Merge commit 'cbebc325'

* commit 'cbebc325':
  lavc: Drop deprecated public symbols
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 400ecd8e cbebc325
...@@ -844,13 +844,6 @@ typedef struct RcOverride{ ...@@ -844,13 +844,6 @@ typedef struct RcOverride{
float quality_factor; float quality_factor;
} RcOverride; } RcOverride;
#if FF_API_MAX_BFRAMES
/**
* @deprecated there is no libavcodec-wide limit on the number of B-frames
*/
#define FF_MAX_B_FRAMES 16
#endif
/* encoding support /* encoding support
These flags can be passed in AVCodecContext.flags before initialization. These flags can be passed in AVCodecContext.flags before initialization.
Note: Not everything is supported yet. Note: Not everything is supported yet.
...@@ -1218,12 +1211,6 @@ typedef struct RcOverride{ ...@@ -1218,12 +1211,6 @@ typedef struct RcOverride{
* Codec should fill in channel configuration and samplerate instead of container * Codec should fill in channel configuration and samplerate instead of container
*/ */
#define CODEC_CAP_CHANNEL_CONF AV_CODEC_CAP_CHANNEL_CONF #define CODEC_CAP_CHANNEL_CONF AV_CODEC_CAP_CHANNEL_CONF
#if FF_API_NEG_LINESIZES
/**
* @deprecated no codecs use this capability
*/
#define CODEC_CAP_NEG_LINESIZES 0x0800
#endif
/** /**
* Codec supports frame-level multithreading. * Codec supports frame-level multithreading.
*/ */
...@@ -1353,13 +1340,6 @@ typedef struct AVCPBProperties { ...@@ -1353,13 +1340,6 @@ typedef struct AVCPBProperties {
uint64_t vbv_delay; uint64_t vbv_delay;
} AVCPBProperties; } AVCPBProperties;
#if FF_API_QSCALE_TYPE
#define FF_QSCALE_TYPE_MPEG1 0
#define FF_QSCALE_TYPE_MPEG2 1
#define FF_QSCALE_TYPE_H264 2
#define FF_QSCALE_TYPE_VP56 3
#endif
/** /**
* The decoder will keep a reference to the frame and may reuse it later. * The decoder will keep a reference to the frame and may reuse it later.
*/ */
...@@ -3079,9 +3059,6 @@ typedef struct AVCodecContext { ...@@ -3079,9 +3059,6 @@ typedef struct AVCodecContext {
#define FF_IDCT_IPP 13 #define FF_IDCT_IPP 13
#endif /* FF_API_UNUSED_MEMBERS */ #endif /* FF_API_UNUSED_MEMBERS */
#define FF_IDCT_XVID 14 #define FF_IDCT_XVID 14
#if FF_API_IDCT_XVIDMMX
#define FF_IDCT_XVIDMMX 14
#endif /* FF_API_IDCT_XVIDMMX */
#define FF_IDCT_SIMPLEARMV5TE 16 #define FF_IDCT_SIMPLEARMV5TE 16
#define FF_IDCT_SIMPLEARMV6 17 #define FF_IDCT_SIMPLEARMV6 17
#define FF_IDCT_FAAN 20 #define FF_IDCT_FAAN 20
......
...@@ -80,12 +80,10 @@ ...@@ -80,12 +80,10 @@
#define FF_DEFAULT_QUANT_BIAS 999999 #define FF_DEFAULT_QUANT_BIAS 999999
#endif #endif
#if !FF_API_QSCALE_TYPE
#define FF_QSCALE_TYPE_MPEG1 0 #define FF_QSCALE_TYPE_MPEG1 0
#define FF_QSCALE_TYPE_MPEG2 1 #define FF_QSCALE_TYPE_MPEG2 1
#define FF_QSCALE_TYPE_H264 2 #define FF_QSCALE_TYPE_H264 2
#define FF_QSCALE_TYPE_VP56 3 #define FF_QSCALE_TYPE_VP56 3
#endif
#define FF_SANE_NB_CHANNELS 64U #define FF_SANE_NB_CHANNELS 64U
......
...@@ -57,27 +57,15 @@ ...@@ -57,27 +57,15 @@
#ifndef FF_API_DEBUG_MV #ifndef FF_API_DEBUG_MV
#define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58) #define FF_API_DEBUG_MV (LIBAVCODEC_VERSION_MAJOR < 58)
#endif #endif
#ifndef FF_API_QSCALE_TYPE
#define FF_API_QSCALE_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_MB_TYPE #ifndef FF_API_MB_TYPE
#define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58) #define FF_API_MB_TYPE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif #endif
#ifndef FF_API_MAX_BFRAMES
#define FF_API_MAX_BFRAMES (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_NEG_LINESIZES
#define FF_API_NEG_LINESIZES (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_EMU_EDGE #ifndef FF_API_EMU_EDGE
#define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58) #define FF_API_EMU_EDGE (LIBAVCODEC_VERSION_MAJOR < 58)
#endif #endif
#ifndef FF_API_UNUSED_MEMBERS #ifndef FF_API_UNUSED_MEMBERS
#define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 58) #define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 58)
#endif #endif
#ifndef FF_API_IDCT_XVIDMMX
#define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 58)
#endif
#ifndef FF_API_INPUT_PRESERVED #ifndef FF_API_INPUT_PRESERVED
#define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 58) #define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 58)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment