aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
Commit message (Collapse)AuthorAgeFilesLines
...
* avutil/fifo: Constify AVFifo pointees in peek functionsAndreas Rheinhardt2023-09-121-0/+3
| | | | | | They do not modify the AVFifo state. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/audio_fifo: Constify some pointeesAndreas Rheinhardt2023-09-121-0/+4
| | | | | | | Also constify AVAudioFifo* in the peek functions besides constifying intermediate pointers (void**->void * const *). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/samplefmt: Constify some pointeesAndreas Rheinhardt2023-09-121-0/+3
| | | | | | | This is the samplefmt analog of the imgutils changes from the preceding commit. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avutil/imgutils: Constify some pointeesAndreas Rheinhardt2023-09-121-0/+4
| | | | | | | | This is done immediately without waiting for the next major bump just as in 9546b3a1cbcd94e9107f85c8f1d2175efc6cf083 and 4eaaa38d3dfb8863a62f3646a62e4098b1c078d5. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avio: Constify data pointees of write callbacksAndreas Rheinhardt2023-09-101-0/+4
| | | | | | | | They are currently non-const for reasons unknown, although avio_write() accepts a const buffer. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/defs: Add AV_PROFILE_* defines, deprecate FF_PROFILE_* definesAndreas Rheinhardt2023-09-071-0/+4
| | | | | | | | | These defines are also used in other contexts than just AVCodecContext ones, e.g. in libavformat. Furthermore, given that these defines are public, the AV-prefix is the right one, so deprecate (and not just move) the FF-macros. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* Revert "avcodec/mpeg12dec: Do not alter avctx->rc_buffer_size"James Almer2023-09-061-0/+3
| | | | | | | This reverts commit eb88ccb92e05018b1060cf8126b30eeeff551d3b. AVCodecContext fields are the proper place for a decoder to export such values. This change is in preparation for the following commits.
* avutil: add thread executorNuo Mi2023-09-021-0/+3
| | | | | | | | | | The executor design pattern was introduced by java <https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/concurrent/Executor.html> it also adapted by python <https://docs.python.org/3/library/concurrent.futures.html> Compared to handcrafted thread pool management, it greatly simplifies the thread code. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavc/avfft: deprecate the APILynne2023-09-011-0/+5
| | | | This deprecates the currently unused API.
* lavu/tx: add real to real and real to imaginary RDFT transformsLynne2023-09-011-0/+3
| | | | | | | These are in-place transforms, required for DCT-I and DST-I. Templated as the mod2 variant requires minor modifications, and is required specifically for DCT-I/DST-I.
* doc/APIChanges: remove bogus entryJames Almer2023-08-181-3/+0
| | | | | | New AVOptions in modules don't belong here. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/channel_layout: make pre-defined channel layouts C++ friendlyZhao Zhili2023-08-181-0/+3
| | | | | | | | | | | | C++ doesn't support designated initializers until C++20. We have a bunch of pre-defined channel layouts, the gains to make them usable in C++ exceed the losses. Bump minor version so C++ project can check before use these defines. Also initialize .opaque field explicitly to reduce warning in C++. Signed-off-by: James Almer <jamrial@gmail.com>
* lavc/libx264: add mb_info optionElias Carotti2023-08-081-0/+3
| | | | | Pass the information about unchanged parts of the frame by means of the AVVideoHint side data.
* lavu: add video_hint APIElias Carotti2023-08-081-0/+3
| | | | | | | Add side data type to provide hint to the video encoders about unchanged portions of each frame. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: deprecate AV_CODEC_FLAG_DROPCHANGEDAnton Khirnov2023-07-151-0/+3
| | | | | | | | This decoding flag makes decoders drop all frames after a parameter change, but what exactly constitutes a parameter change is not well defined and will typically depend on the exact use case. This functionality then does not belong in libavcodec, but rather in user code
* avutil/random_seed: add av_random_bytes()James Almer2023-07-051-0/+3
| | | | | | | Uses the existing code for av_get_random_seed() to return a buffer with cryptographically secure random data, or an error if none could be generated. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec: MPEG-5 EVC codec registrationDawid Kozinski2023-05-291-0/+3
| | | | | | | | | | | Added prerequisites that must be met before providing support for the MPEG-5 EVC codec - Added new entry to codec IDs list - Added new entry to the codec descriptor list - Bumped libavcodec minor version - Added profiles for EVC codec Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com> Signed-off-by: James Almer <jamrial@gmail.com>
* Move bessel_i0() from swresample/resample to avutil/mathematicsMichael Niedermayer2023-05-291-0/+3
| | | | | | | | | 0th order modified bessel function of the first kind are used in multiple places, lets avoid having 3+ different implementations I picked this one as its accurate and quite fast, it can be replaced if a better one is found Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* APIchanges: add AVHWAccel changes and bump lavc minorLynne2023-05-291-0/+4
|
* APIchanges: add hwcontext_vulkan changes and bump lavu minorLynne2023-05-291-0/+6
|
* APIchanges: add new pixel formats supported and bump lavu minorLynne2023-05-291-0/+4
|
* avutil/frame: add av_frame_replaceJames Almer2023-05-181-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/frame: deprecate palette_has_changedJames Almer2023-05-181-0/+3
| | | | | | | | Not only this is information that relies on the concept of a sequence of frames, which is completely out of place as a field in AVFrame, but there are no known or intended uses of this field. Signed-off-by: James Almer <jamrial@gmail.com>
* lavc: deprecate AVCodecContext.ticks_per_frameAnton Khirnov2023-05-151-0/+5
| | | | | | | | For encoding, this field is entirely redundant with AVCodecContext.framerate. For decoding, this field is entirely redundant with AV_CODEC_PROP_FIELDS.
* lavc/codec_desc: add a property for codecs that support field codingAnton Khirnov2023-05-151-0/+3
| | | | | | | Multiple places currently use AVCodecContext.ticks_per_frame > 1 to identify such codecs, which * requires a codec context * requires it to be open
* lavc: deprecate AV_CODEC_CAP_SUBFRAMESAnton Khirnov2023-05-151-0/+3
| | | | There is nothing meaningful the caller can do with it.
* lavc/codec_par: add AVCodecParameters.framerateAnton Khirnov2023-05-071-0/+3
| | | | This corresponds to AVCodecContext.framerate.
* avutil/version: bump minor after recent changesJames Almer2023-05-041-0/+6
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil: make av_frame_get_plane_buffer accept a const AVFrame*Niklas Haas2023-04-141-0/+3
| | | | Signed-off-by: Niklas Haas <git@haasn.dev>
* avutil/hdr_dynamic_metadata: allow av_dynamic_hdr_plus_to_t35() to accept an ↵James Almer2023-04-051-0/+5
| | | | | | | | | | | | | existing buffer The function now accepts an existing buffer to avoid unnecessary allocations, as well as only reporting the needed amount of bytes if you pass a NULL pointer as input for data. For this, both parameters become input and output, as well as making data optional. This is backwards compatible, and as such not breaking any existing use of the function in external code (if there's any). Signed-off-by: James Almer <jamrial@gmail.com>
* lavfi: add a flag for filters able to work with hw_device_ctxAnton Khirnov2023-03-241-0/+3
| | | | | This way the caller can set it just on the filters that can make use of it.
* avutil: add HDR10+ dynamic metadata serialization functionRaphaël Zumer2023-03-211-0/+5
| | | | | | Co-authored-by: Mohammad Izadi <moh.izadi@gmail.com> Signed-off-by: Raphaël Zumer <rzumer@tebako.net> Signed-off-by: James Almer <jamrial@gmail.com>
* libavutil/hdr_dynamic_vivid_metadata: fix three spline paramsZhao Zhili2023-03-171-0/+4
| | | | | | There are two group of three_Spline params. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* avcodec/version: bump minor version to accommodate spatial audio detectionMarth642023-03-021-0/+4
| | | | Signed-off-by: Marth64 <marth64@proxyid.net>
* lavc/avcodec: Add HEVC Screen Content Coding Extensions profileLinjie Fu2023-02-271-0/+3
| | | | | | | | Described in HEVC spec A.3.7. Bump minor version and add APIchanges entry for new added profile. Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com> Signed-off-by: Fei Wang <fei.w.wang@intel.com>
* doc/APIchanges: Add 6.0 cut pointMichael Niedermayer2023-02-191-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/APIchange: fill in missing thingsMichael Niedermayer2023-02-191-28/+28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat: deprecate AVFormatContext io_close callbackMarton Balint2023-02-161-0/+4
| | | | | | io_close2 should be used instead. Signed-off-by: Marton Balint <cus@passwd.hu>
* avutil/frame: deprecate AVFrame.coded_picture_number and display_picture_numberMarton Balint2023-02-131-0/+4
| | | | | | | | Their usefulness is questionable, very few decoders set them, and their type should have been int64_t. A replacement field can be added later if a valid use case is found. Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec: add AVCodecContext.frame_num as 64 bit variant to frame_numberMarton Balint2023-02-131-0/+4
| | | | | | | | | | 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>
* lavfi: add a new filtergraph parsing APIAnton Khirnov2023-02-121-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Callers currently have two ways of adding filters to a graph - they can either - create, initialize, and link them manually - use one of the avfilter_graph_parse*() functions, which take a (typically end-user-written) string, split it into individual filter definitions+options, then create filters, apply options, initialize filters, and finally link them - all based on information from this string. A major problem with the second approach is that it performs many actions as a single atomic unit, leaving the caller no space to intervene in between. Such intervention would be useful e.g. to - modify filter options; - supply hardware device contexts; both of which typically must be done before the filter is initialized. Callers who need such intervention are then forced to invent their own filtergraph parsing, which is clearly suboptimal. This commit aims to address this problem by adding a new modular filtergraph parsing API. It adds a new avfilter_graph_segment_parse() function to parse a string filtergraph description into an intermediate tree-like representation (AVFilterGraphSegment and its children). This intermediate form may then be applied step by step using further new avfilter_graph_segment*() functions, with user intervention possible between each step.
* Bump major versions of all librariesJames Almer2023-02-091-13/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/{color_utils, csp}: merge color_utils into csp and expose APILeo Izen2023-02-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | libavutil/color_utils contains some avpriv_ symbols that map enum AVTransferCharacteristic values to gamma-curve approximations and to the actual transfer functions to invert them (i.e. -> linear). There's two issues with this: (1) avpriv is evil and should be avoided whenever possible (2) libavutil/csp.h exposes a public API for handling color that already handles primaries and matricies I don't see any reason this API has to be private, so this commit takes the functionality from avutil/color_utils and merges it into avutil/csp with an exposed av_ API rather than the previous avpriv_ API. Every reference to the previous API has been updated to point to the new one. color_utils.h has been deleted as well. This should not break any applications as it only contained avpriv_ symbols in the first place, so nothing in that header could be referenced by other applications. Signed-off-by: Leo Izen <leo.izen@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec: Make avcodec_decode_subtitle2 accept a const AVPacket*Andreas Rheinhardt2023-02-091-0/+3
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc/decode: allow using AV_CODEC_FLAG_COPY_OPAQUE for decodingAnton Khirnov2023-02-041-0/+3
| | | | | Use it to propagate AVPacket.opaque[_ref] to corresponding AVFrame fields. This is a more convenient alternative to reordered_opaque.
* lavc/encode: pass through frame durations to encoded packetsAnton Khirnov2023-01-291-2/+2
| | | | | | The generic code can only handle the no-delay case. Encoders with delay need to be handled individually, which will be done in the following commits.
* lavc: add a codec flag for propagating opaque from frames to packetsAnton Khirnov2023-01-291-0/+3
| | | | | | | | | This is intended to be a more convenient replacement for reordered_opaque. Add support for it in the two encoders that offer AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE: libx264 and libx265. Other encoders will be supported in future commits.
* avutil: introduce AVAmbientViewingEnvironment side dataJan Ekström2023-01-131-0/+6
| | | | | This enables exposing H.274 Ambient Viewing Environment metadata in the framework.
* lavc: add new unsafe_output hwaccel_flagTimo Rothenpieler2022-12-101-0/+3
|
* lavu: bump minor and add APIchanges entry for lavu/tx DCTLynne2022-11-241-0/+3
|