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
2020-09-28lavu/buffer: add a convenience function for replacing buffersAnton Khirnov
A common pattern e.g. in libavcodec is replacing/updating buffer references: unref old one, ref new one. This function allows simplifying such code and avoiding unnecessary refs+unrefs if the references are already equivalent.
2020-09-13avutil/timecode: add av_timecode_make_smpte_tc_string2Marton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>
2020-08-21lavu/avstring: deprecate av_d2str().Nicolas George
It is no longer used in our code base and does not seem to be used much in other projects.
2020-08-04avutil/channel_layout: add 22.2 layoutJan Ekström
Requires some extraneous top side and bottom front channels to be defined. According to STD-B59v2, the defined channel layout is: - FL - FR - FC - LFE1 - BL - BR - FLc - FRc - BC - LFE2 - SiL - SiR - TpFL - TpFR - TpFC - TpC - TpBL - TpBR - TpSiL - TpSiR - TpBC - BtFC - BtFL - BtFR
2020-07-23avutil: bump version after addition of MIPS cpu flagsJames Almer
And add the missing doc/APIchanges entry. Signed-off-by: James Almer <jamrial@gmail.com>
2020-07-22avutil/imgutils: add utility to get plane sizesBrian Kim
This utility helps avoid undefined behavior when doing things like checking how much memory we need to allocate for an image before we have allocated a buffer. Signed-off-by: Brian Kim <bkkim@google.com> Signed-off-by: James Almer <jamrial@gmail.com>
2020-06-12lavu/pix_fmt: add new pixel format x2rgb10Fei Wang
The format is packed RGB with each channel 10 bits available and include 2 bits unused. Signed-off-by: Fei Wang <fei.w.wang@intel.com>
2020-06-11avutil: add AV_FRAME_DATA_SEI_UNREGISTERED side data typeLimin Wang
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
2020-06-10lavu/opt: add a more general child class iteration APIAnton Khirnov
Use opaque iteration state instead of the previous child class. This mirrors similar changes done in lavf/lavc. Deprecate the av_opt_child_class_next() API.
2020-06-08Bump minor versions after branching 4.3n4.4-devMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-06-08Bump minor versions to separate 4.3 from masterMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-06-05avutil/buffer: use the default allocator if none is provided to ↵James Almer
av_buffer_pool_init2() Signed-off-by: James Almer <jamrial@gmail.com>
2020-05-25h264dec: support exporting QP tables through the AVVideoEncParams APIAnton Khirnov
2020-05-23hwcontext: add av_hwdevice_ctx_create_derived_optsLynne
This allows for users who derive devices to set options for the new device context they derive. The main use case of this is to allow users to enable extensions (such as surface drawing extensions) in Vulkan while deriving from the device their frames are on. That way, users don't need to write any initialization code themselves, since the Vulkan spec invalidates mixing instances, physical devices and active devices. Apart from Vulkan, other hwcontexts ignore the opts argument since they don't support options at all (or in VAAPI and OpenCL's case, options are currently only used for device selection, which device_derive overrides).
2020-05-23lavu: add av_gcd_q().Nicolas George
2020-05-22avutil/opt: add AV_OPT_FLAG_CHILD_CONSTSMarton Balint
This will be used for AVCodecContext->profile. By specifying constants in the encoders we won't have to use the common AVCodecContext options table and different encoders can use the same profile name even with different values. Signed-off-by: Marton Balint <cus@passwd.hu>
2020-05-17avutil: bump version after addition of av_sat_add64 and av_sat_sub64James Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-05-12libavutil: add API for exporting video frame quantizersJuan De León
This is intended to replace the deprecated the AV_FRAME_DATA_QP_TABLE* API and extend it to a wider range of codecs. In the future, it may also be extended to support other encoding parameters such as motion vectors. Additional changes by Anton Khirnov <anton@khirnov.net> with suggestions by Lynne <dev@lynne.ee>. Signed-off-by: Juan De León <juandl@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Anton Khirnov <anton@khirnov.net>
2020-05-11hwcontext_vulkan: expose enabled device and instance extensionsLynne
This solves a huge oversight - it lets users reliably use their own AVVulkanDeviceContext. Otherwise, the extensions supplied and enabled are not discoverable by anything outside of hwcontext_vulkan. Also clarifies that any user-supplied VkInstance must be at least 1.1.
2020-04-25lavu/version: bump minor version for DOVI sidedataJun Zhao
bump minor version for DOVI sidedata, because added the dovi_meta.h as lavu API part. Also update APIchanges. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
2020-03-28avutil/frame: make frame copy functions hwframe awareTimo Rothenpieler
2020-03-19avutil/hwcontext_cuda: add YUVA420P pixel formatYaroslav Pogrebnyak
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2020-02-24lavu/pix_fmt: add new pixel format y210Linjie Fu
Add some packed 4:2:2 10-bit pixel formats for hardware decode support in VAAPI and QSV. Signed-off-by: Linjie Fu <linjie.fu@intel.com>
2020-02-13lavu/tx: implement 32 bit fixed point FFT and MDCTLynne
Required minimal changes to the code so made sense to implement. FFT and MDCT tested, the output of both was properly rounded. Fun fact: the non-power-of-two fixed-point FFT and MDCT are the fastest ever non-power-of-two fixed-point FFT and MDCT written. This can replace the power of two integer MDCTs in aac and ac3 if the MIPS optimizations are ported across. Unfortunately the ac3 encoder uses a 16-bit fixed point forward transform, unlike the encoder which uses a 32bit inverse transform, so some modifications might be required there. The 3-point FFT is somewhat less accurate than it otherwise could be, having minor rounding errors with bigger transforms. However, this could be improved later, and the way its currently written is the way one would write assembly for it. Similar rounding errors can also be found throughout the power of two FFTs as well, though those are more difficult to correct. Despite this, the integer transforms are more than accurate enough.
2020-02-12avutil/log: Add av_log_once() for printing a message just once with a high ↵Michael Niedermayer
log level Compared to ad-hoc if(printed) ... code this allows the user to disable it by adjusting the log level Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-05lavu: bump minor version for the Vulkan patchsetLynne
2019-12-28avutil/eval: Add av_expr_count_func() similar to av_expr_count_vars()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-12-26avutil/buffer: add av_buffer_pool_buffer_get_opaqueMarton Balint
In order to access the original opaque parameter of a buffer in the buffer pool. (The buffer pool implementation overrides the normal opaque parameter but also saves it so it is accessible). v2: add assertion check before dereferencing the BufferPoolEntry. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-11-26avutil/hwcontext_cuda: allow using primary CUDA device contextOleg Dobkin
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
2019-11-17avutil/eval: add function to track variable useGyan Doshi
1)Some filters allow cross-referenced expressions e.g. x=y+10. In such cases, filters evaluate expressions multiple times for successful evaluation of all expressions. If the expression for one or more variables contains a RNG, the result may vary across evaluation leading to inconsistent values across the cross-referenced expressions. 2)A related case is circular expressions e.g. x=y+10 and y=x+10 which cannot be succesfully resolved. 3)Certain filter variables may only be applicable in specific eval modes and lead to a failure of evaluation in other modes e.g. pts is only relevant for frame eval mode. At present, there is no reliable means to identify these occurrences and thus the error messages provided are broad or inaccurate. The helper function introduced - av_expr_count_vars - allows developers to identify the use and count of variables in expressions and thus tailor the error message, allow for a graceful fallback and/or decide evaluation order.
2019-10-14avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flagPaul B Mahol
2019-09-04avutil/version: bump for hwcontext_videotoolbox api changeAman Gupta
av_map_videotoolbox_format_from_pixfmt2() added in previous commit to support full-range pixel formats. Signed-off-by: Aman Gupta <aman@tmm1.net>
2019-09-02avutil/pixfmt: Add EBU Tech. 3213-E AVColorPrimaries valueRaphaël Zumer
This is an alias for JEDEC P22. The name associated with the value is also changed from jedec-p22 to ebu3213 to match ITU-T H.273. Signed-off-by: Raphaël Zumer <rzumer@tebako.net> Signed-off-by: James Almer <jamrial@gmail.com>
2019-08-02lavu/tx: add support for double precision FFT and MDCTLynne
Simply moves and templates the actual transforms to support an additional data type. Unlike the float version, which is equal or better than libfftw3f, double precision output is bit identical with libfftw3.
2019-07-21Bump minor versions again on master to keep 4.2 versions separate from mastern4.3-devMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-07-21Bump minor versions to separate 4.2 from masterMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-06-29avutil: add FF_DECODE_ERROR_DECODE_SLICES for AVFrame.decode_error_flagsAmir Pauker
Signed-off-by: Amir Pauker <amir@livelyvideo.tv> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-06-16avutil: add FF_DECODE_ERROR_CONCEALMENT_ACTIVE flag for ↵Amir Pauker
AVFrame.decode_error_flags FF_DECODE_ERROR_CONCEALMENT_ACTIVE is set when the decoded frame has error(s) but the returned value from avcodec_receive_frame is zero i.e. concealed errors Signed-off-by: Amir Pauker <amir@livelyvideo.tv> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-05-16lavu: bump minor and update APIchanges for the new transform APILynne
2019-05-12avutil: Add NV24 and NV42 pixel formatsPhilip Langdale
These are the 4:4:4 variants of the semi-planar NV12/NV21 formats. These formats are not used much, so we've never had a reason to add them until now. VDPAU recently added support HEVC 4:4:4 content and when you use the OpenGL interop, the returned surfaces are in NV24 format, so we need the pixel format for media players, even if there's no direct use within ffmpeg. Separately, there are apparently webcams that use NV24, but I've never seen one.
2019-05-05avutil/hwcontext_vdpau: Map 444 pix fmts to new VdpYCbCr typesManojGuptaBonda
New VdpYCbCr Formats VDP_YCBCR_FORMAT_Y_U_V_444 and, VDP_YCBCR_FORMAT_Y_UV_444 have been added in VDPAU with libvdpau-1.2 to be used in get/putbits for YUV 4:4:4 surfaces. Earlier mapping of AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_YV12 is not valid. Hence this Change maps AV_PIX_FMT_YUV444P to VDP_YCBCR_FORMAT_Y_U_V_444 to access the YUV 4:4:4 surface via read-back API's of VDPAU.
2019-01-18avutil: add ROI (Region Of Interest) data struct and bump versionGuo, Yejun
The encoders such as libx264 support different QPs offset for different MBs, it makes possible for ROI-based encoding. It makes sense to add support within ffmpeg to generate/accept ROI infos and pass into encoders. Typical usage: After AVFrame is decoded, a ffmpeg filter or user's code generates ROI info for that frame, and the encoder finally does the ROI-based encoding. The ROI info is maintained as side data of AVFrame. Signed-off-by: Guo, Yejun <yejun.guo@intel.com> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-12-21Add HDR dynamic metadata struct (for SMPTE 2094-40) to libavutilMohammad Izadi
The dynamic metadata contains data for color volume transform - application 4 of SMPTE 2094-40:2016 standard. The data comes from HEVC in the SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2018-11-24avutil : add YUVA444P12 and YUVA422P12Martin Vignali
2018-11-05libavutil: Undeprecate the AVFrame reordered_opaque fieldMartin Storsjö
This was marked as deprecated (but only in the doxygen, not with an actual deprecation attribute) in 81c623fae05 in 2011, but was undeprecated in ad1ee5fa7. Signed-off-by: Martin Storsjö <martin@martin.st>
2018-11-02Bump minor version for master after 4.1 branchpointn4.2-devMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-11-02Bump minor versions for branching 4.1Michael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-27avutil/pixdesc: Add av_write_image_line2(), av_read_image_line2()Michael Niedermayer
This is needed because of 32bit float formats (which are difficult to store in 16bits) This also fixes undefined behavior found by fate Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-10-24lavu: bump version, add Changelog entryJosh de Kock
2018-09-09avutil/file: allow mapping 0 byte files with av_file_mapMarton Balint
Signed-off-by: Marton Balint <cus@passwd.hu>