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-04-26lavc: Extend hardware config metadata to encodersMark Thompson
2020-04-16avcodec: Add explicit capability flag for encoder flushingPhilip Langdale
Previously, there was no way to flush an encoder such that after draining, the encoder could be used again. We generally suggested that clients teardown and replace the encoder instance in these situations. However, for at least some hardware encoders, the cost of this tear down/replace cycle is very high, which can get in the way of some use-cases - for example: segmented encoding with nvenc. To help address that use case, we added support for calling avcodec_flush_buffers() to nvenc and things worked in practice, although it was not clearly documented as to whether this should work or not. There was only one previous example of an encoder implementing the flush callback (audiotoolboxenc) and it's unclear if that was intentional or not. However, it was clear that calling avocdec_flush_buffers() on any other encoder would leave the encoder in an undefined state, and that's not great. As part of cleaning this up, this change introduces a formal capability flag for encoders that support flushing and ensures a flush call is a no-op for any other encoder. This allows client code to check if it is meaningful to call flush on an encoder before actually doing it. I have not attempted to separate the steps taken inside avcodec_flush_buffers() because it's not doing anything that's wrong for an encoder. But I did add a sanity check to reject attempts to flush a frame threaded encoder because I couldn't wrap my head around whether that code path was actually safe or not. As this combination doesn't exist today, we'll deal with it if it ever comes up.
2020-04-10pthread_frame: merge the functionality for normal decoder init and ↵Anton Khirnov
init_thread_copy The current design, where - proper init is called for the first per-thread context - first thread's private data is copied into private data for all the other threads - a "fixup" function is called for all the other threads to e.g. allocate dynamically allocated data is very fragile and hard to follow, so it is abandoned. Instead, the same init function is used to init each per-thread context. Where necessary, AVCodecInternal.is_copy can be used to differentiate between the first thread and the other ones (e.g. for decoding the extradata just once).
2020-04-10avcodec.h: split AVCodecDescriptor API into its own headerAnton Khirnov
2020-04-10avcodec.h: split codec IDs into their own headerAnton Khirnov
2020-04-10avcodec.h: split AVPacket API into its own headerAnton Khirnov
2020-04-10avcodec: add MV30 decoderPaul B Mahol
2020-03-28avcodec/avcodec, avpacket: Return blank packet on av_packet_ref() failureAndreas Rheinhardt
Up until now, it was completely unspecified what the content of the destination packet dst was on error. Depending upon where the error happened calling av_packet_unref() on dst might be dangerous. This commit changes this by making sure that dst is blank on error, so unreferencing it again is safe (and still pointless). This behaviour is documented. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-03-28avcodec/avpacket: Always treat dst in av_packet_ref as uninitializedAndreas Rheinhardt
av_packet_ref() mostly treated the destination packet dst as uninitialized, i.e. the destination fields were simply overwritten. But if the source packet was not reference-counted, dst->buf was treated as if it pointed to an already allocated buffer (if != NULL) to be reallocated to the desired size. The documentation did not explicitly state whether the dst will be treated as uninitialized, but it stated that if the source packet is not refcounted, a new buffer in dst will be allocated. This and the fact that the side-data as well as the codepath taken in case src is refcounted always treated the packet as uninitialized means that dst should always be treated as uninitialized for the sake of consistency. And this behaviour has been explicitly documented. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-03-18avcodec/avcodec: Fix typosAndriy Gelman
Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2020-03-17avcodec: add CRI HCA decoderPaul B Mahol
2020-03-17avcodec: add derf dpcm decoderPaul B Mahol
2020-03-17avcodec: add ADPCM IMA MTF decoderPaul B Mahol
2020-03-10API: add AV_PKT_DATA_ICC_PROFILE to AVPacketSideDataTypevectronic
Signed-off-by: vectronic <hello.vectronic@gmail.com>
2020-03-09avcodec: add decoder for High Voltage Software's ALP ADPCMZane van Iperen
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-28lavc/avcodec.h: fix missing line breaks in API documentationLinjie Fu
"In both cases.." and "Repeat this call until.." would be better to be in a separate line. http://ffmpeg.org/doxygen/trunk/group__lavc__encdec.html Signed-off-by: Linjie Fu <linjie.fu@intel.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-23avcodec: add some documentation to the AVProducerReferenceTime structJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-02-23avcodec: add an AVCodecContext flag to export PRFT side data on demandJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2020-02-23avcodec: add an AVCodecContext field to signal types of packet, frame, and ↵James Almer
coded stream side data to export Add an initial mvs flag to is, analog to the export_mvs flags2 one. Signed-off-by: James Almer <jamrial@gmail.com>
2020-02-21avcodec: add decoder for Rayman 2's ADPCM variantZane van Iperen
Adds support for the ADPCM variant used in Rayman 2's files. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-02-20avcodec: add siren audio decoderPaul B Mahol
2020-02-16avcodec: fix pcm zork decoderPaul B Mahol
Fixes #1939
2020-02-15avcodec: add cdtoons decoderAlyssa Milburn
This adds a decoder for Broderbund's sprite-based QuickTime CDToons codec, based on the decoder I wrote for ScummVM. Signed-off-by: Alyssa Milburn <amilburn@zall.org>
2020-02-13avcodec/avcodec: NitsAndreas Rheinhardt
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-02-06avcodec: add decoder for Simon & Schuster Interactive's ADPCM variantZane van Iperen
Adds support for the ADPCM variant used by some Simon & Schuster Interactive games such as Real War, and Real War: Rogue States. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-01-26avcodec: add decoder for argonaut games' adpcm codecZane van Iperen
Adds support for the ADPCM variant used by some Argonaut Games' games, such as 'Croc! Legend of the Gobbos', and 'Croc 2'. Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
2020-01-22avcodec/avcodec: Add codec_tags array to AVCodecMichael Niedermayer
This allows the fuzzer to target meaningfull codec tags instead of hunting the 4gb space, which it seems to have problems with. Suggested-by: James Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-01-16avcodec: add a Producer Reference Time AVPacketSideData typeJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2019-12-12lavc: add MPEG-H 3D Audio codec idYuki Tsuchiya
Signed-off-by: James Almer <jamrial@gmail.com>
2019-11-28avcodec: add mvha video decoderPaul B Mahol
2019-11-28avcodec: add mvdv video decoderPaul B Mahol
2019-11-14avcodec/avcodec: Adapt the doc of av_bsf_send_packet to match its actual ↵Andreas Rheinhardt
implementation. Explicitly allowing empty packets to signal flushing helps getting rid of special cases. It does not hinder the ability to send i.e. timing-only packets, because one can send packets with zero size and pkt->data set. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2019-09-25avcodec: add max_samplesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-09-19avcodec: add EPG codec IDAnthony Delannoy
Signed-off-by: Marton Balint <cus@passwd.hu>
2019-09-16lavc/g729dec: Support decoding Sipro ACELP.KELVIN.Carl Eugen Hoyos
Fixes ticket #4799. Analyzed-by: Aleksandr Ustinov
2019-08-29avcodec: add IMM5 decoderPaul B Mahol
2019-07-17avcodec: clarify the allocation requirements for intra_matrix and ↵James Almer
inter_matrix fields Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2019-07-15avcodec: remove reference to AVPacket's destruct fieldJames Almer
The field was removed years ago. Signed-off-by: James Almer <jamrial@gmail.com>
2019-06-12VP4 video decoderPeter Ross
2019-04-20avcodec: add AV_CODEC_FLAG_DROPCHANGED to flagsGyan Doshi
Discard decoded frames which differ from first decoded frame in stream.
2019-04-13avcodec: add LSCR decoderPaul B Mahol
Fixes #4711.
2019-04-11avcodec: add ADPCM AGM decoderPaul B Mahol
2019-03-31avcodec: add Amuse Graphics decoderPaul B Mahol
This work is sponsored by VideoLAN.
2019-02-10add libaribb24 ARIB STD-B24 caption decoderJan Ekström
* Outputs ASS lines with basic coloring and font scaling for each given region. * Sets the default style to the resolution of the subtitle plane (for example, 960x540 / 36pt font for profile A). * Has options to: * Disable ruby text (which is coded as regions which have half-height text in libaribb24). Enabled by default as without positioning ruby text only confuses as it is usually coded in the beginning of the decoded subtitle line. * Set the working directory, in which libaribb24 will read configuration as well as into which it may save broadcast extra symbols as PNG. Unset by default. The unconventional library check can be explained by the library's current master branch being licensed as LGPLv3, but at the time of writing the latest official release is still licensed under GPLv3. Thus, one either has to wait for the following release, or enable GPLv3.
2019-01-28avcodec: Add discard_sample_percentageMichael Niedermayer
Suggested-by: BBB Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-01-27avcodec: add ARBC decoderPaul B Mahol
Thanks Kostya for great help in reversing binary.
2019-01-15avcodec: add HCOM decoderPaul B Mahol
2019-01-12lavc: Allow very high bitrates in AVCPBProperties after next version bump.Carl Eugen Hoyos
2018-12-31avcodec: add HYMT decoderPaul B Mahol
2018-12-19avcodec/avcodec: Document the data type for AV_PKT_DATA_MPEGTS_STREAM_IDMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>