summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavf: Raw G.729 demuxerVladimir Voroshilov2016-05-17
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* fate: Update fate-lavf-ts after commit 393596f9d5Martin Storsjö2016-05-17
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* tools: Port to codec parameters APIDiego Biurrun2016-05-17
|
* mpegtsenc: stop impersonating ses in sdtFrancois Cartegnie2016-05-17
| | | | | | | Unless specified, users must use non registered range for network id Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Move VLC and RL_VLC_ELEM structure definitions to a separate headerAlexandra Hájková2016-05-17
| | | | | | | Use the newly created vlc.h directly instead of including get_bits when needed. The VLC and RL_VLC_ELEM structures are independent from the bitreader. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avconv_dxva2: use the hwcontext APIAnton Khirnov2016-05-17
|
* hwcontext: add a dxva2 implementationAnton Khirnov2016-05-17
|
* mpeg4videodec: Call av_log() in check_marker() with AVCodecContext instead ↵Alexandra Hájková2016-05-16
| | | | | | of NULL Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Move check_marker() from get_bits to mpeg4videodecAlexandra Hájková2016-05-16
| | | | | | MPEG-4 is the only decoder which uses check_marker(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: mark the old audio/video encoding API as deprecatedAnton Khirnov2016-05-16
|
* x86inc: Enable AVX emulation in additional casesAnton Mitrofanov2016-05-16
| | | | | | | Allows emulation to work when dst is equal to src2 as long as the instruction is commutative, e.g. `addps m0, m1, m0`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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>