aboutsummaryrefslogtreecommitdiffstats
path: root/doc/APIchanges
Commit message (Collapse)AuthorAgeFilesLines
...
* lavu: deprecate av_opt_set_int_list() and related infrastructureAnton Khirnov2024-09-301-0/+5
| | | | It has no more users and is replaced by array-type options.
* lavfi/buffersink: add array-type options to replace "int-list" onesAnton Khirnov2024-09-301-0/+18
| | | | | | | | "int-list" options are a hack that provides rudimentary support for array-type options by treating them as byte arrays (i.e. AV_OPT_TYPE_BINARY). Since we now have proper array-type options, they should replace "int-list" everywhere (which happens to be just buffersink).
* doc/APIchanges: Add 7.1 Cut lineMichael Niedermayer2024-09-241-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/APIchanges: updateMichael Niedermayer2024-09-241-39/+39
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavu/frame: add side data storing view ID for multi-view videoAnton Khirnov2024-09-231-0/+3
|
* avcodec: add an export_side_data flag to export picture enhancement layersJames Almer2024-09-231-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/packet: add an LCEVC enhancement data payload side data typeJames Almer2024-09-191-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: add an LCEVC stream groupJames Almer2024-09-191-0/+5
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/codec_id: add an LCEVC codec id for raw LCEVC dataJames Almer2024-09-191-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/frame: add an LCEVC enhancement data payload side data typeJames Almer2024-09-191-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/APIchanges: mention correct version numberNiklas Haas2024-09-081-1/+1
| | | | Missed while rebasing
* avcodec: add avcodec_get_supported_config()Niklas Haas2024-09-081-0/+5
| | | | | | | | | | | | | | | | This replaces the myriad of existing lists in AVCodec by a unified API call, allowing us to (ultimately) trim down the sizeof(AVCodec) quite substantially, while also making this more trivially extensible. In addition to the already covered lists, add two new entries for color space and color range, mirroring the newly added negotiable fields in libavfilter. Once the deprecation period passes for the existing public fields, the rough plan is to move the commonly used fields (such as pix_fmt/sample_fmt) into FFCodec, possibly as a union of audio and video configuration types, and then implement the rarely used fields with custom callbacks.
* lavc: add HEVC Multiview Main profileAnton Khirnov2024-09-061-0/+3
|
* lavu/opt: add API for setting array-type option valuesAnton Khirnov2024-09-061-0/+3
| | | | | | Previously one could only replace the entire array with a new one deserialized from a string. The new API allows inserting, replacing, and removing arbitrary element ranges.
* lavu/opt: add API for retrieving array-type option valuesAnton Khirnov2024-08-271-0/+3
| | | | | Previously one could only convert the entire array to a string, not access individual elements.
* avcodec/avcodec: Warn about data returned from get_buffer*()Michael Niedermayer2024-08-181-0/+6
| | | | | Text based on suggestion by: epirat07@gmail.com Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* libavutil: deprecate the old Vulkan queue API, add doc/APIchanges entriesLynne2024-08-111-0/+9
|
* lavu/cpu: deprecate RISC-V F, D and zba CPU flagsRémi Denis-Courmont2024-08-051-0/+4
|
* avutil/intreadwrite: add missing aligned read/write macrosJames Almer2024-07-291-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/dovi_meta: add dv_md_compression to cfg recordNiklas Haas2024-07-281-0/+3
| | | | This field is used to signal the compression method in use.
* lavu/riscv: add CPU flag for B bit manipulationsRémi Denis-Courmont2024-07-251-0/+3
| | | | | | | | The B extension was finally ratified in May 2024, encompassing: - Zba (addresses), - Zbb (basics) and - Zbs (single bits). It does not include Zbc (base-2 polynomials).
* lavf: deprecate avformat_transfer_internal_stream_timing_info()Anton Khirnov2024-07-091-0/+4
| | | | | | | | | And av_stream_get_codec_timebase(). They were both added for ffmpeg CLI, which no longer calls either of them. Furthermore the notion of "internal stream timing info" that needs to be transferred with a special magic API function is fundamentally flawed and should be removed.
* avcodec/packet: add a decoded frame cropping side data typeJames Almer2024-07-081-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: Add a new stream disposition for multilayer videoDerek Buitenhuis2024-07-071-0/+3
| | | | | | | This lets us detect when a container has flagged a stream as multilayer. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avutil/hwcontext_d3d12va: add Flags for resource creationTong Wu2024-07-021-0/+3
| | | | | | Flags field is added to support diffferent resource creation. Signed-off-by: Tong Wu <tong1.wu@intel.com>
* avutil/stereo3d: add a Stereo3D view to signal that the view is unspecifiedJames Almer2024-06-281-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/stereo3d: add a new allocator function that returns a sizeJames Almer2024-06-251-0/+3
| | | | | | | av_stereo3d_alloc() is not useful in scenarios where you need to know the runtime size of AVStereo3D. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/dovi_meta: add fields for ext_mapping_idcCosmin Stejerean2024-06-221-0/+3
| | | | | Co-authored-by: Niklas Haas <git@haasn.dev> Signed-off-by: Niklas Haas <git@haasn.dev>
* avutil/stereo3d: Fill out stereo info provided by Vision Pro filesDerek Buitenhuis2024-06-181-0/+9
| | | | | | | | | | | | | Based on what is in the files themselves, and what the API provides to users. URLs: * https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_heroeye * https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_stereocamerabaseline * https://developer.apple.com/documentation/videotoolbox/kvtcompressionpropertykey_horizontaldisparityadjustment * https://developer.apple.com/documentation/coremedia/kcmformatdescriptionextension_horizontalfieldofview Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil/spherical: Add more spherical typesDerek Buitenhuis2024-06-181-0/+5
| | | | | | | | These originate from the Apple Vision Pro, and are documented here: https://developer.apple.com/documentation/coremedia/cmprojectiontype Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil: rename av_mod_uintp2 to av_zero_extendJames Almer2024-06-131-0/+3
| | | | | | It's more descriptive of what it does. Signed-off-by: James Almer <jamrial@gmail.com>
* lavc: bump minor and add APIchanges entry for new USAC profileLynne2024-06-081-0/+3
|
* lavu: bump minor and add APIchanges entries for the new channel positionsLynne2024-06-021-0/+6
|
* avutil/channel_layout: add a helper function to get the ambisonic order of a ↵James Almer2024-05-231-0/+3
| | | | | | layout Signed-off-by: James Almer <jamrial@gmail.com>
* lavu/hwcontext_qsv: update AVQSVFramesContext to support dynamic frame poolHaihao Xiang2024-05-201-0/+3
| | | | | | Add AVQSVFramesContext.info and update the description. Signed-off-by: Haihao Xiang <haihao.xiang@intel.com>
* riscv: add Zvbb vector bit manipulation extensionRémi Denis-Courmont2024-05-111-0/+3
|
* avutil/opt: add an unsigned option typeJames Almer2024-05-041-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* doc/APIchanges: fix date for the latest entryJames Almer2024-04-241-1/+1
| | | | | | And add the commit hash while at it. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/opt: add support for children objects in av_opt_serializeJames Almer2024-04-231-0/+3
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/hevcdec: export global side data in AVCodecContextJames Almer2024-04-111-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/mastering_display_metadata: add a new allocator function that returns ↵James Almer2024-04-111-0/+3
| | | | | | | | | a size av_mastering_display_metadata_alloc() is not useful in scenarios where you need to know the runtime size of AVMasteringDisplayMetadata. Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/version: bump minor after recent AVFrame API additionsJames Almer2024-04-111-0/+4
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/pix{desc,fmt}: add new matrix coefficients from H.273 v3Jan Ekström2024-04-031-0/+4
| | | | | | | | | | | | * SMPTE ST 2128 IPT-C2 defines the coefficients utilized in DoVi Profile 5. Profile 5 can thus now be represented in VUI as {AVCOL_RANGE_JPEG, AVCOL_PRI_BT2020, AVCOL_TRC_SMPTE2084, AVCOL_SPC_IPT_C2, AVCHROMA_LOC_LEFT} (although other chroma sample locations are allowed). AVCOL_TRC_SMPTE2084 should in this case be interpreted as 'PQ with reshaping'. * YCgCo-Re and YCgCo-Ro define the bitexact YCgCo-R, where the number of bits added to a source RGB bit depth is 2 (i.e., even) and 1 (i.e., odd), respectively.
* avutil/dovi_meta: add dolby vision extension blocksNiklas Haas2024-04-031-0/+5
| | | | | | | | | As well as accessors plus a function for allocating this struct with extension blocks, Definitions generously taken from quietvoid/dovi_tool, which is assembled as a collection of various patent fragments, as well as output by the official Dolby Vision bitstream verifier tool.
* avutil/dovi_meta: add AVDOVIDataMapping.nlq_pivotsquietvoid2024-04-031-0/+3
| | | | | | | | | The NLQ pivots are not documented but should be present in the header for profile 7 RPU format. It has been verified using Dolby's verification toolkit. Signed-off-by: quietvoid <tcChlisop0@gmail.com> Signed-off-by: Niklas Haas <git@haasn.dev>
* avformat/demux: add duration_probesize AVOptionNicolas Gaullier2024-04-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Yet another probesize used to get the durations when estimate_timings_from_pts is required. It is aimed at users interested in better durations probing for itself, or because using avformat_find_stream_info indirectly and requiring exact values: for concatdec for example, especially if streamcopying above it. The current code is a performance trade-off that can fail to get video stream durations in a scenario with high bitrates and buffering for files ending cleanly (as opposed to live captures): the physical gap between the last video packet and the last audio packet is very high in such a case. Default behaviour is unchanged: 250k up to 250k << 6 (step by step). Setting this new option has two effects: - override the maximum probesize (currently 250k << 6) - reduce the number of steps to 1 instead of 6, this is to avoid detecting the audio "too early" and failing to reach a video packet. Even if a single audio stream duration is found but not the other audio/video stream durations, there will be a retry, so at the end the full user-overriden probesize will be used as expected by the user. Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris>
* lavu/frame: add side data descriptorsAnton Khirnov2024-03-271-0/+4
| | | | They allow exporting extended information about side data types.
* doc/APIchanges: Add 7.0 cut pointMichael Niedermayer2024-03-271-0/+2
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/APIchange: Fill in some missing thingssMichael Niedermayer2024-03-261-28/+28
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/timestamp: introduce av_ts_make_time_string2 for better precisionMarton Balint2024-03-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | av_ts_make_time_string() used "%.6g" format, but this format was losing precision even when the timestamp to be printed was not that large. For example for 3 hours (10800) seconds, only 1 decimal digit was printed, which made this format inaccurate when it was used in e.g. the silencedetect filter. Other detection filters printing timestamps had similar issues. Also time base parameter of the function was *AVRational instead of AVRational. Resolve these problems by introducing a new function, av_ts_make_time_string2(). We change the used format to "%.*f", use a precision of 6, except when printing values near 0, in which case we calculate the precision dynamically to aim for a similar precision in normal form as with %.6g. No longer using scientific representation can make parsing the timestamp easier for the users, we can safely do this because the theoretical maximum of INT64_MAX*INT32_MAX still fits into the string buffer in normal form. We somewhat imitate %g by trimming ending zeroes and the potential decimal point characters. In order not to trim "inf" as well, we assume that the decimal point string does not contain the letter "f". Note that depending on printf %f implementation, we might trim "infinity" to "inf". Thanks for Allan Cady for bringing up this issue. Signed-off-by: Marton Balint <cus@passwd.hu>