Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-17avcodec/avcodec: Escape Doxygen referenceMarvin Scholz
The # is interpreted as explicit reference request by Doxygen which is not desired here, use markdown inline code to avoid that.
2022-10-17avcodec: Fix Doxygen trailing brief commentsMarvin Scholz
The //< comment is not any magic comment supported by Doxygen, instead use ///< to mark them as doc for the members.
2022-09-26avcodec/avcodec: Deprecate lavc chroma pos API functionsAndreas Rheinhardt
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>
2022-09-26avcodec/avcodec: Move AV_ER_* and FF_COMPLIANCE_* to defs.hAndreas Rheinhardt
They are also frequently used in libavformat. This change does not cause any breakage as avcodec.h includes defs.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-09-06lavc: fix and extend AVCodecContext.hwaccel_context doxyAnton Khirnov
Mention: - that it is legacy and optional (every hwaccel that uses it can also work with hwcontext, though some optional information can only be signalled throught hwaccel_context) - that it can be used for encoders (only qsvenc currently) - ownership and lifetime
2022-08-05avcodec/avcodec: Remove legacy cruftAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-08-02lavc: add API for exporting reconstructed frames from encodersAnton Khirnov
2022-07-30avcodec: add API for automatic handling of icc profilesNiklas Haas
This functionally already exists, but as pointed out in #9672 and #9673, requiring users to manually include filters is clumsy, error-prone and hard to use together with tools like ffplay. To streamline ICC profile support, add a new AVCodecContext flag to globally enable reading and writing ICC profiles, automatically, for all appropriate media types. Note that this commit only includes the new API. The implementation is split off to separate commits for readability. Signed-off-by: Niklas Haas <git@haasn.dev>
2022-06-30avcodec/avcodec: Don't mention removed functionAndreas Rheinhardt
avcodec_thread_init() has been removed in 9a79bb552a518f26bec1b5306a03b76076bcf8eb. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-03-19Keep including the full version.h when headers are included externallyMartin Storsjö
This avoids unnecessary churn and build breakage for users, by making sure the whole version.h is included like it has been so far, while keeping the benefit of not needing to rebuild most files in the ffmpeg tree on minor/micro bumps. Signed-off-by: Martin Storsjö <martin@martin.st>
2022-03-16libavcodec: Split version.hMartin Storsjö
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>
2022-03-15lavc: switch to the new channel layout APIVittorio Giovara
Since the request_channel_layout is used only by a handful of codecs, move the option to codec private contexts. Signed-off-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
2022-02-15avcodec/avcodec: Remove MpegEncContext forward declarationAndreas Rheinhardt
Forgotten in be95df12bb06b183c8d2aea3b0831fdf05466cf3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-02-15lavc: deprecate FF_IDCT_NONEAnton Khirnov
It was only used by XvMC.
2022-02-15lavc/mpeg*: drop the XvMC hwaccel codeAnton Khirnov
XvMC was last relevant over 10 years ago, if ever. There is no reason to use it today.
2022-01-09avcodec/avcodec: Remove outdated commentAndreas Rheinhardt
avcodec_open2() is supposed to be thread-safe (those codecs whose init functions are not thread-safe are guarded by a global lock). Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20avcodec/avcodec, options_table: Deprecate sub_text_formatAndreas Rheinhardt
Unused since 1f63665ca567fbc49fa80166d468a822c2999efa. Found-by: Soft Works <softworkz@hotmail.com> Reviewed-by: Soft Works <softworkz@hotmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-20lavc: deprecate AV_CODEC_(FLAG|CAP)_TRUNCATEDAnton Khirnov
It is supported only by a few decoders (h263, h263p, mpeg(1|2|)video and mpeg4) and is entirely redundant with parsers. Furthermore, using it leads to missing frames, as flushing the decoder at the end does not work properly. Co-authored-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-09-02avcodec/avcodec: Allow up to seven codec ids per parserAndreas Rheinhardt
ff_pnm_parser and ff_vp3_parser already hit the current limit; an addition to the former (to handle pfm) is planned. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-08-24avcodec: add a Film Grain codec property flagJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-07-22avcodec/avcodec: Don't include cpu.hAndreas Rheinhardt
It is not used here at all; instead, add it where it is used without including it or any of the arch-specific CPU headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Don't include hwcontext.hAndreas Rheinhardt
It is no longer used directly; but it is still indirectly included via codec.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Don't include errno.hAndreas Rheinhardt
This inclusion has been added before libavutil/error.h was split off from avcodec.h (in 60c144f700e2e362047b00704abcb694d49e549c). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Stop including channel_layout.h in avcodec.hAndreas Rheinhardt
Also include channel_layout.h directly wherever used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-07-22avcodec/avcodec: Stop including bsf.h in avcodec.hAndreas Rheinhardt
Also include bsf.h directly wherever it is used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-06-26lavc: fix and extend AVCodecContext.get_format doxyAnton Khirnov
Remove some incorrect (or at least misleading) statements, such as the formats being ordered by quality, or the first format being the native one. Neither of those are true for hardware acceleration, which is the main use of this callback.
2021-06-10lavc: move av_get_profile_name() from avcodec.h to codec.hAnton Khirnov
2021-06-10lavc: move av_get_audio_frame_duration2() from avcodec.h to codec_par.hAnton Khirnov
2021-06-10lavc: move av_get_pcm_codec() from avcodec.h to codec_id.hAnton Khirnov
2021-06-10lavc: move avcodec_profile_name() from avcodec.h to codec_id.hAnton Khirnov
2021-06-10lavc: move av_get_[exact_]bits_per_sample() to codec_id.hAnton Khirnov
2021-06-10lavc: move small misc definitions into a separate headerAnton Khirnov
This will allow to avoid #including the entire avcodec.h in some places.
2021-05-14avcodec: remove leftover references to AVCodecContext.refcounted_framesJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2021-05-07avcodec: be more explicit about the buffer size in get_encode_buffer ↵James Almer
documentation Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-28avcodec/avcodec: Remove unnecessary forward declarationAndreas Rheinhardt
Forgotten in ba6cada92eb7c3446bfb1d4525031d405a052516. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-27avcodec: Constify AVCodecParserContext.parserAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated old encode/decode APIsAndreas Rheinhardt
Deprecated in commits 7fc329e2dd6226dfecaa4a1d7adf353bf2773726 and 31f6a4b4b83aca1d73f3cfc99ce2b39331970bf3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated AVCodecContext.coded_frameAndreas Rheinhardt
Deprecated in 40cf1bbacc6220a0aa6bed5c331871d43f9ce370. (The currently disabled filter vf_mcdeint and vf_uspp were users of this field; they have not been changed, so that whoever wants to fix them can see the state of these filters when they were disabled.) Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Switch AVCPBProperties to 64bitsAndreas Rheinhardt
Announced in 2e8b0446c6798947dac77fee4a06f9c4e8131ab5. Two FATE-tests needed to be updated because the checksums of side data containing an AVCPBProperties struct changed. buffer_size has also been switched to 64bits because it is a bitsize. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec/parser: Remove deprecated av_parser_changeAndreas Rheinhardt
Deprecated in 9a07c1332cfe092b57b5758f22b686ca58806c60. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec/vaapi: Remove old and deprecated VAAPI context and headerAndreas Rheinhardt
Deprecated in 851960f6f8cf1f946fe42fa36cf6598fac68072c. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated VBV delay fieldAndreas Rheinhardt
Deprecated in 2507b5dd674834be7261772996f47ae3b95cca69. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec/imgconvert: Remove deprecated parts of pixel format APIAndreas Rheinhardt
Deprecated in 617e866e25b72fa5d9f9d6bbcbd7e4bd69e63a54 and 2a54ae9df8cbc1717b3929222ac75f384e2ff240. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated AVPicture APIAndreas Rheinhardt
Deprecated in a17a7661906ba295d67afd80ac0770422e1b02b3. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec/options: Remove deprecated avcodec_copy_contextAndreas Rheinhardt
Deprecated in 5f30ac27795f9f98043e8582ccaad8813104adc4. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated avcodec_get_context_defaults3Andreas Rheinhardt
Deprecated in 04fc8e24a091ed1d77d7a3c0cbcfe60baec19a9f. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated ASS with inline timingAndreas Rheinhardt
Deprecated in 22ebbda637257a432c99330ca4c6024665418f0e. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec/mpegvideo_enc: Remove deprecated RTP-callbackAndreas Rheinhardt
Deprecated in 462a54e2291e1fa18e1f1254d09739dfbb795617. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove deprecated avcodec_get_chroma_sub_sampleAndreas Rheinhardt
Effectively deprecated in 2c800eb7375c65ffd56164b03bb035bdb3f1e172. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2021-04-27avcodec: Remove remnants of user-visiable HW acceleration APIAndreas Rheinhardt
Disabled and deprecated in 3536a3efb9fde88d34d526a51b1080247326cd6e. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>