summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* x86inc: Improve handling of %ifid with multi-token parametersAnton Mitrofanov2016-05-16
| | | | | | | | The yasm/nasm preprocessor only checks the first token, which means that parameters such as `dword [rax]` are treated as identifiers, which is generally not what we want. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of some instructionsAnton Mitrofanov2016-05-16
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86inc: Fix AVX emulation of scalar float instructionsHenrik Gramner2016-05-16
| | | | | | | Those instructions are not commutative since they only change the first element in the vector and leave the rest unmodified. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avpacket: fix setting AVPacket.data in av_packet_ref()Anton Khirnov2016-05-16
| | | | | | | The data field does not necessarily point to the beginning of the underlying AVBuffer. CC: libav-stable@libav.org
* lavc: make avcodec_open2() fail when the timebase is not set for encodingAnton Khirnov2016-05-16
| | | | | Many encoders use it. There is also a divide by the timebase lower in this function, which would crash when it is not set.
* Combine deprecation guards where appropriateDiego Biurrun2016-05-13
| | | | Some code blocks use multiple bits of deprecated API.
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* Split global .gitignore file into per-directory filesDiego Biurrun2016-05-13
|
* Add some more deprecation guardsDiego Biurrun2016-05-11
| | | | Avoids unused function/label/variable warnings after the next version bump.
* Reduce the scope of some variablesDiego Biurrun2016-05-11
| | | | | This avoids unused variable warnings after the next version bump. Also drop a trace level av_log() call that is in the way.
* rtsp: Parse SSRC attributes in the SDPMartin Storsjö2016-05-11
| | | | | | | | | | | | | When feeding input RTP packets to the depacketizer via custom IO, it needs to pick the right stream using the payload type for RTP packets, and using the SSRC for RTCP packets. If the first packet is an RTCP packet, we don't (currently) know the SSRC yet and thus can't pick the right RTP depacketizer to handle it. By parsing the SSRC attribute in the SDP, we can map initial RTCP packets to the right stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Always check if we have the next packet queuedMartin Storsjö2016-05-11
| | | | | | | | | | It doesn't matter what the actual reason for not returning an AVPacket was - if we didn't return any packet and we have the next one queued, parse it immediately. (rtp_parse_queued_packet always consumes a queued packet if one exists, so there's no risk for infinite loops.) Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv_vaapi: fix double-free with some unsupported streamsMark Thompson2016-05-10
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* pgssub: Fix subpicture colorspace and rangeJan Ekström2016-05-10
| | | | | | | | | Widen the values from limited to full range and use BT.709 where it should be used according to the video resolution: SD is BT.601, HD is BT.709 Default to BT.709 due to most observed HDMV content being HD.
* colorspace: Add support for BT709Jan Ekström2016-05-10
| | | | | | BT.709 coefficients were gathered from the first two parts of BT.709 to BT.2020 conversion guide in ARIB STD-B62 (Pt. 1, Chapter 6.2.2). They were additionally confirmed by manually calculating values.
* simple_idct_template: Fix strict aliasing violationMichael Niedermayer2016-05-10
| | | | | | | This fixes fate-wmv8-intrax8 in certain configurations, e.g. gcc 4.4. Signed-off-by: Martin Storsjö <martin@martin.st>
* avio: Remove a leftover commentMartin Storsjö2016-05-06
| | | | | | | The declarations that this comment referred to were removed in 2439f2ca8 - there is no unbuffered IO in this header now. Signed-off-by: Martin Storsjö <martin@martin.st>
* Mark read-only tables as staticDiego Biurrun2016-05-05
|
* configure: Document --enable-libfontconfigDiego Biurrun2016-05-05
|
* vf_frei0r: Drop overly verbose and broken debug outputDiego Biurrun2016-05-04
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Remove unnecessary get_bits.h #includes and add missing headers where needed.Alexandra Hájková2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* h264: Drop broken trace debug outputDiego Biurrun2016-05-03
|
* vaapi: Drop pointless debug outputDiego Biurrun2016-05-03
|
* libopencore-amr: Fix ff_dlog()/av_log() invocationsDiego Biurrun2016-05-03
|
* Drop pointless assert.h #includesDiego Biurrun2016-05-03
|
* mpegts: Validate the SL Packet Header ConfigurationLuca Barbato2016-05-03
| | | | | | | timeStampLength, OCRLength and AU_Length have well specified upper boundaries. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* fate: Add test for MTS2/MSS4Diego Biurrun2016-05-02
|
* rtpdec_vp9: Support parsing the scalability structureMartin Storsjö2016-04-30
| | | | | | | | We still only support one single layer though, but this allows receiving streams that have this structure present even for single layer streams. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_h264: Use avpriv_report_missing_feature instead of a manual av_logMartin Storsjö2016-04-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec: Use AVERROR_PATCHWELCOME instead of AVERROR(ENOSYS) for ↵Martin Storsjö2016-04-30
| | | | | | unimplemented features Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_vp9: Update header parsing to spec draft 02Martin Storsjö2016-04-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_vp9: Make sure to free the temp buffer on closeMartin Storsjö2016-04-30
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* Revert "mmaldec: autodetect by default" since it breaks linking on systems ↵Janne Grunau2016-04-30
| | | | | | without mmal libraries This reverts commit 33ac77e850efdfd0e8835950c3d947baffd4df45.
* mmaldec: autodetect by defaultwm42016-04-30
| | | | | | It qualifies as a system library. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: limit internal bufferingwm42016-04-30
| | | | | | | | | | | | | | | | | | This uses a new MMAL feature, which limits the number of extra frames that can be buffered within the decoder. VIDEO_MAX_NUM_CALLBACKS can be defined as positive or negative number. Positive numbers are absolute, and can lead to deadlocks if the user underestimates the number of required buffers. Negative numbers specify the number of extra buffers, e.g. -1 means no extra buffer, (-1-N) means N extra buffers. Set a gratuitous default of -11 (N=10). This is much lower than the firmware default, which appears to be 96. This is backwards compatible, but needs a symbol only present in newer firmware headers. (It's an enum item, so it requires a check in configure.) Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: print the MMAL format FourCC automaticallywm42016-04-30
| | | | | | | Slight simplification. The result is the same. Also, change the wording of the message as requested in patch review. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* configure: fix mmal build dependencieswm42016-04-30
| | | | | | The mmal decoders do not depend on the software decoders. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: send only a single EOS packet on flushingwm42016-04-30
| | | | | | | | Fixes apparent mmal_port_disable() freezes in ffmmal_stop_decoder() when calling ffmmal_decode() with flush semantics a large number of times in a row. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: correct package buffering accountingwm42016-04-30
| | | | | | | | | | | The assert in ffmmal_stop_decoder() could trigger sometimes. The packets_buffered counter was indeed not correctly maintained, and packets were not subtracted from it if they were still in the waiting queue. For some reason, this happened especially with VC-1. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: add vc1 decoding supportwm42016-04-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: Add mpeg2 decoding supportJulian Scheel2016-04-30
| | | | | | | | | | | Register mmaldec as mpeg2 decoder. Supporting mpeg2 in mmaldec is just a matter of setting the correct MMAL_ENCODING on the input port. To ease the addition of further supported mmal codecs a macro is introduced to generate the decoder and decoder class structs. Signed-off-by: Julian Scheel <julian@jusst.de> Signed-off-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: Fix avpriv_atomic_get usageJulian Scheel2016-04-30
| | | | | | | | | There is no avpriv_atomic_get, instead avpriv_atomic_int_get is to be used for integers. This fixes building mmaldec. Signed-off-by: Julian Scheel <julian@jusst.de> Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* mmaldec: Use av_assert0() instead of assert()Michael Niedermayer2016-04-30
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* testprogs: Mark some tables as static constDiego Biurrun2016-04-29
|
* fate: Add test for MSS1Diego Biurrun2016-04-27
|
* dds: Add support for monochrome imagesVittorio Giovara2016-04-26
|
* dds: Drop gray-alpha swappingVittorio Giovara2016-04-26
| | | | The original sample was generated with invalid software.
* dxva2_h264: Unbreak compilation after 3176217c6Martin Storsjö2016-04-25
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* ape: Unbreak adaptcoeffs computationLuca Barbato2016-04-24
| | | | | | And simplify and explain the expression. Fault introduced in f3fdef108eb06b1e71b29152bf6822519e787efe