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
2019-11-12avutil/frame: fix remove_side_dataZhao Zhili
remove_side_data is supposed to remove a single instance by design. Since new_side_data() doesn't forbid add multiple instances of the same type, remove_side_data should deal with that. Signed-off-by: Marton Balint <cus@passwd.hu>
2019-07-07lavu/frame: Improve ROI documentationMark Thompson
Clarify and add examples for the behaviour of the quantisation offset, and define how multiple ranges should be handled.
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-01-18lavu/frame: Fix typo.Carl Eugen Hoyos
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-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-10-23lavc/h264: create AVFrame side data from H.264 timecodesDevin Heitmueller
Create SMPTE ST 12-1 timecodes based on H.264 SEI picture timing info. For framerates > 30 FPS, the field flag is used in conjunction with pairs of frames which contain the same frame timestamp in S12M. Ensure the field is properly set per the spec.
2018-03-18lavu/frame: add QP side datawm4
This adds a way for an API user to transfer QP data and metadata without having to keep the reference to AVFrame, and without having to explicitly care about QP APIs. It might also provide a way to finally remove the deprecated QP related fields. In the end, the QP table should be handled in a very similar way to e.g. AV_FRAME_DATA_MOTION_VECTORS. There are two side data types, because I didn't care about having to repack the QP data so the table and the metadata are in a single AVBufferRef. Otherwise it would have either required a copy on decoding (extra slowdown for something as obscure as the QP data), or would have required making intrusive changes to the codecs which support export of this data. The new side data types are added under deprecation guards, because I don't intend to change the status of the QP export as being deprecated (as it was before this patch too).
2018-03-18lavu/frame: fix inconsistent qp_table_buf deprecationwm4
Everything related to the QP data is deprecated, with qp_table_buf being an inconsistent exception. Some parts were under the deprecation guards, some not. It probably didn't even compile.
2018-03-01frame: add an av_frame_new_side_data_from_buf functionRostislav Pehlivanov
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-11-10avutil/frame: Add private_ref to AVFrameMichael Niedermayer
This gives FFmpeg libs a field that they can freely and safely use. Avoiding the need of wrapping of a users opaque_ref field and its issues. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-10-29avutil/frame: deprecate getters and setters for AVFrame fieldsJames Almer
The fields can be accessed directly, so these are not needed anymore. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-23avutil/frame: remove unneccessary metadata pointer getterJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2017-10-11avutil/frame: Fix project nameMichael Niedermayer
Issue introduced in: caa12027baf1180453846c58da08fc87accc0ff6 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-09-28Merge commit '4de220d2e3751c459f8739a08ac6ca52e63eba30'James Almer
* commit '4de220d2e3751c459f8739a08ac6ca52e63eba30': frame: allow align=0 (meaning automatic) for av_frame_get_buffer() See https://ffmpeg.org/pipermail/ffmpeg-devel/2017-September/215834.html Merged-by: James Almer <jamrial@gmail.com>
2017-08-08lavc, lavu: move frame cropping to a convenience functionwm4
Signed-off-by: Anton Khirnov <anton@khirnov.net> Merged from Libav commit 47399ccdfd.
2017-07-25lavu/frame: add new side data type for ICC profilesRostislav Pehlivanov
Many image formats support embedding of ICC profiles directly in their bitstreams. Add a new side data type to allow exposing them to API users. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
2017-05-08Merge commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3'James Almer
* commit '52627248e49e58eb4b78e4fcda90a64f4c476ea3': frame: add a cropping rectangle to AVFrame Merged-by: James Almer <jamrial@gmail.com>
2017-04-06lavu: add support for Content Light Level side metadataSteve Lhomme
As found in HEVC. Signed-off-by: James Almer <jamrial@gmail.com>
2017-03-02avcodec, avutil, avformat: remove AVOption requirement for some fieldswm4
Allow all struct fields to be accessed directly, as long as they're public. Before this change, many fields were "public", but could be accessed via AVOption only. This meant they were effectively not public, but were present for documentation purposes, which was incredibly confusing at best.
2017-02-13AVFrame: add an opaque_ref fieldwm4
This is an extended version of the AVFrame.opaque field, which can be used to attach arbitrary user information to an AVFrame. The usefulness of the opaque field is rather limited, because it can store only up to 32 bits of information (or 64 bit on 64 bit systems). It's not possible to set this field to a memory allocation, because there is no way to deallocate it correctly. The opaque_ref field circumvents this by letting the user set an AVBuffer, which makes the user data refcounted. Signed-off-by: Anton Khirnov <anton@khirnov.net> Merges Libav commit 04f3bd349651.
2017-02-11frame: allow align=0 (meaning automatic) for av_frame_get_buffer()Anton Khirnov
This will avoid every caller from hardcoding some specific alignment, which may break in the future with new instruction sets.
2017-01-12frame: add a cropping rectangle to AVFrameAnton Khirnov
Extend the width/height doxy to clarify that it should store coded values.
2016-12-07lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-12-07lavu: Add AVSphericalMapping type and frame side dataVittorio Giovara
While no decoder currently exports spherical information, this type represents a frame property that has to be passed through from container to frames. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2016-10-22doc: fix spelling errorsAndreas Cadhalpun
Thanks to Mathieu Malaterre <malat@debian.org> for reporting the Que/Queue typo. (https://bugs.debian.org/839542) Reviewed-by: Lou Logan <lou@lrcd.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-10-07Merge commit '32c8359093d1ff4f45ed19518b449b3ac3769d27'Hendrik Leppkes
* commit '32c8359093d1ff4f45ed19518b449b3ac3769d27': lavc: export the timestamps when decoding in AVFrame.pts Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2016-09-19avutil/frame: Add a flag to discard frame after decode.Sasi Inguva
Signed-off-by: Sasi Inguva <isasi@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-08-03doxygen: Standardize root-level modulesTimothy Gu
2016-06-30avutil/frame: Move new field to the end of AVFrameMichael Niedermayer
This fixes part of Ticket5676 This fixes kodi, mpv, chromium and ffplay build against 3.0 and linked to 3.1 This is a similar ABI fix to 1eb43af1a0e542ad83dcbf327197785d815fc42d Approved-by: BBB Approved-by: jamrial Approved-by: BtbN Approved-by: nevcairiel Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-06-21Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb'Clément Bœsch
* commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb': cosmetics: Fix spelling mistakes Merged-by: Clément Bœsch <u@pkh.me>
2016-06-21lavc: export the timestamps when decoding in AVFrame.ptsAnton Khirnov
Currently it's exported as AVFrame.pkt_pts, which is also the only use for that field. The reason it is done like this is that lavc used to export various codec-specific "timing" information in AVFrame.pts, which is not done anymore. Since it is confusing to the callers to have a separate field which is used only for decoder timestamps and nothing else, deprecate pkt_pts and use just AVFrame.pts everywhere.
2016-06-01avutil/frame: Document avcodec_get_frame_class() and the option naming systemMichael Niedermayer
Missing docs found by: nevcairiel Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-04cosmetics: Fix spelling mistakesVittorio Giovara
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2016-04-13Merge commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71'Derek Buitenhuis
* commit '7a6cf2771414c7ab8bca0811d589f6091a6e2b71': lavu: improve documentation of some AVFrame functions Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-01lavu: improve documentation of some AVFrame functionswm4
2016-03-05lavu: improve documentation of some AVFrame functionswm4
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2016-02-28Document and validate AVFrame plane pointers.Reimar Döffinger
Check that the required plane pointers and only those are set up. Currently does not enforce anything for the palette pointer of pseudopal formats as I am unsure about the requirements. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2016-02-24Merge commit '29c2d06d67724e994980045afa055c6c34611b30'Derek Buitenhuis
* commit '29c2d06d67724e994980045afa055c6c34611b30': cosmetics: Drop empty comment lines Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-18cosmetics: Drop empty comment linesDiego Biurrun
2016-02-17Merge commit '89923e418b494e337683442ab896d754bc07341a'Derek Buitenhuis
* commit '89923e418b494e337683442ab896d754bc07341a': lavu: add a framework for handling hwaccel frames Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-14lavu: add a framework for handling hwaccel framesAnton Khirnov
2016-02-01avutil: Add GOP timecode frame side dataDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-01-19libavutil: add mastering display metadata sidedataNeil Birkbeck
Adding mastering display metadata struct to avutil. The mastering display metadata contains information about the mastering display color volume (SMPTE 2086:2014). This info comes from HEVC in the SEI_TYPE_MASTERING_DISPLAY_INFO and is soon to be included in MKV: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=sZyfPTM-QY69P-0omfOIiTN622o so it is similar to SEI FPA / stereo_mode in MKV and as such this patch follows how AVStereo3D is implemented. I'll add support to HEVC in a follow-up (and MKV when spec is approved). Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-03Merge commit '1aa24df74c052a73175c43e57d35b4835e537ec8'Hendrik Leppkes
* commit '1aa24df74c052a73175c43e57d35b4835e537ec8': lavu: Deprecate AVFrame.error[] Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-09-30lavu: Deprecate AVFrame.error[]Vittorio Giovara
These field are difficult to interpret, and are provided by a single encoder (mpegvideoenc). In general they do not belong to a structure containing raw data only, so remove them from AVFrame. Mpegvideoenc now uses a private field in Picture for its internal computations. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-09-05lavu/frame: put frame QP elements under a new version guardHendrik Leppkes
These fields are still used, removal postponed until a replacement functionality is available.
2015-09-05Merge commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79'Hendrik Leppkes
* commit '8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79': lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>