diff options
author | James Almer <jamrial@gmail.com> | 2017-09-01 14:44:27 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-09-01 14:44:44 -0300 |
commit | 9aa24699302c691459281b8f5da5484605eaf82b (patch) | |
tree | 6b9cf967cfeff9db3b706651b65b366d7bc95974 | |
parent | 3ec6d9c6b2975c993d772936cb37fa075292cd92 (diff) | |
download | ffmpeg-9aa24699302c691459281b8f5da5484605eaf82b.tar.gz |
avcodec/internal: move FF_QSCALE_TYPE defines from avcodec.h
Their use in the public header is deprecated and will be removed, but
they are still needed by some codecs at least as long as qscale related
deprecated fields in the AVFrame struct remain in the tree.
-rw-r--r-- | libavcodec/internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 64120ea92a..e5824cc62d 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -76,6 +76,13 @@ #define FF_DEFAULT_QUANT_BIAS 999999 #endif +#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 + #define FF_SANE_NB_CHANNELS 64U #define FF_SIGNBIT(x) ((x) >> CHAR_BIT * sizeof(x) - 1) |