summaryrefslogtreecommitdiff
path: root/libavcodec/version_major.h
Commit message (Collapse)AuthorAgeFilesLines
* lavc: deprecate AVCodecContext.ticks_per_frameAnton Khirnov2023-05-151-0/+1
| | | | | | | | For encoding, this field is entirely redundant with AVCodecContext.framerate. For decoding, this field is entirely redundant with AV_CODEC_PROP_FIELDS.
* lavc: deprecate AV_CODEC_CAP_SUBFRAMESAnton Khirnov2023-05-151-0/+1
| | | | There is nothing meaningful the caller can do with it.
* lavc: disable an obsolete hack for real videoAnton Khirnov2023-03-021-0/+1
| | | | | | AVCodecContext.slice_{count,offset} are unneeded since 2007, commit 383b123ed37df4ff99010646f1fa5911ff1428cc and following. Deprecate those fields.
* avcodec: add AVCodecContext.frame_num as 64 bit variant to frame_numberMarton Balint2023-02-131-0/+1
| | | | | | | | | | Frame counters can overflow relatively easily (INT_MAX number of frames is slightly more than 1 year for 60 fps content), so make sure we use 64 bit values for them. Also deprecate the old 32 bit frame_number attribute. Signed-off-by: Marton Balint <cus@passwd.hu>
* Bump major versions of all librariesJames Almer2023-02-091-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/version: postpone the remaining API deprecationsJames Almer2023-02-091-7/+7
| | | | | | They are either too recent, or still need work like FF_API_INIT_PACKET. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_SUB_TEXT_FORMATJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_FLAG_TRUNCATEDJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_AVCTX_TIMEBASEJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_AUTO_THREADSJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_GET_FRAME_CLASSJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_DEBUG_MVJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_THREAD_SAFE_CALLBACKSJames Almer2023-02-091-1/+0
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: remove FF_API_UNUSED_CODEC_CAPSJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_OPENH264_CABACJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: remove FF_API_OPENH264_SLICE_MODEJames Almer2023-02-091-1/+0
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* lavc: deprecate CrystalHD decodersAnton Khirnov2023-02-041-0/+3
| | | | | The hardware is old and not relevant today. The decoders also have many special quirks and are effectively unmaintained.
* avcodec/videotoolbox: deprecate creating AVVideotoolboxContext by userZhao Zhili2023-01-261-0/+1
| | | | Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/avcodec: Deprecate lavc chroma pos API functionsAndreas Rheinhardt2022-09-261-0/+1
| | | | | | | | | | | | avcodec_enum_to_chroma_pos() and avcodec_chroma_pos_to_enum() deal with enum AVChromaLocation which is defined in lavu. These functions are therefore replaced by av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum(). This commit provides the necessary deprecations. Also already make these functions wrappers around the corresponding lavu functions as not doing so would force one to disable deprecation warnings. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* lavc/videotoolbox: deprecate write-only output_callbackAnton Khirnov2022-09-191-0/+1
| | | | | This field has never been used for anything, so stop setting it and deprecate it.
* The vuya pixel format was recently added, so this lavc workaround is no longerJames Almer2022-08-191-0/+1
| | | | | | needed. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/mjpegenc: Remove ineffective pred optionAndreas Rheinhardt2022-05-241-1/+0
| | | | | | Never did anything, so it is removed immediately. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideoenc: Remove ineffective optionsAndreas Rheinhardt2022-05-241-1/+0
| | | | | | | | | | | | | | | | This commit removes the ineffective FF_MPV_DEPRECATED_ options, namely mpeg_quant (this is only an option for MPEG-4), a53cc (this is only an option for MPEG-2), force_duplicated_matrix (applies only to MJPEG) and b_strategy, b_sensitivity and brd_scale (these options only make sense for encoders supporting B-frames, which currently means the MPEG-1/2 and MPEG-4 encoders). Given that these options never changed the outcome of encoding, they are removed at once. Notice that the options for the encoders for which it made sense are not affected by this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* libavcodec: Split version.hMartin Storsjö2022-03-161-0/+56
This avoids including version.h in all source files, avoiding unnecessary rebuilds when the version number is bumped. Only version_major.h is included by the main header, which defines availability of e.g. FF_API_* macros, and which is bumped much less often. This isn't done for libavutil/version.h, because that header needs to be included essentially everywhere due to LIBAVUTIL_VERSION_INT being used wherever an AVClass is constructed. Signed-off-by: Martin Storsjö <martin@martin.st>