summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '9200514ad8717c63f82101dc394f4378854325bf'Derek Buitenhuis2016-04-10362-6079/+6555
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9200514ad8717c63f82101dc394f4378854325bf': lavf: replace AVStream.codec with AVStream.codecpar This has been a HUGE effort from: - Derek Buitenhuis <derek.buitenhuis@gmail.com> - Hendrik Leppkes <h.leppkes@gmail.com> - wm4 <nfxjfg@googlemail.com> - Clément Bœsch <clement@stupeflix.com> - James Almer <jamrial@gmail.com> - Michael Niedermayer <michael@niedermayer.cc> - Rostislav Pehlivanov <atomnuker@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * lavf: replace AVStream.codec with AVStream.codecparAnton Khirnov2016-02-23251-4304/+4515
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, AVStream contains an embedded AVCodecContext instance, which is used by demuxers to export stream parameters to the caller and by muxers to receive stream parameters from the caller. It is also used internally as the codec context that is passed to parsers. In addition, it is also widely used by the callers as the decoding (when demuxer) or encoding (when muxing) context, though this has been officially discouraged since Libav 11. There are multiple important problems with this approach: - the fields in AVCodecContext are in general one of * stream parameters * codec options * codec state However, it's not clear which ones are which. It is consequently unclear which fields are a demuxer allowed to set or a muxer allowed to read. This leads to erratic behaviour depending on whether decoding or encoding is being performed or not (and whether it uses the AVStream embedded codec context). - various synchronization issues arising from the fact that the same context is used by several different APIs (muxers/demuxers, parsers, bitstream filters and encoders/decoders) simultaneously, with there being no clear rules for who can modify what and the different processes being typically delayed with respect to each other. - avformat_find_stream_info() making it necessary to support opening and closing a single codec context multiple times, thus complicating the semantics of freeing various allocated objects in the codec context. Those problems are resolved by replacing the AVStream embedded codec context with a newly added AVCodecParameters instance, which stores only the stream parameters exported by the demuxers or read by the muxers.
* | avcodec/wmalosslessdec: do not discard last frameJakub Stachowski2016-04-101-2/+9
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMESPaul B Mahol2016-04-101-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate/exr : add test for PXR24 Float and tile uncompressMartin Vignali2016-04-105-0/+20
| |
* | avcodec/exr: fix channel detectionMartin Vignali2016-04-101-8/+10
| |
* | lavf/avio: Remove linebreak from https warning.Carl Eugen Hoyos2016-04-101-1/+1
| |
* | avformat/mpegts: Remove unused argument from analyze()Michael Niedermayer2016-04-101-9/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat/mpegts: Check adaption field control in analyze() more instead of ↵Michael Niedermayer2016-04-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | transport_error_indicator transport_error_indicator is not required to be 0 Fixes probing Fixes Ticket 4862 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avcodec/shorten: add support for AIFF packing, not bitexactPaul B Mahol2016-04-091-2/+74
| | | | | | | | | | | | Also report unsupported packing. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: fix decoding of very large (>2048) block sizesPaul B Mahol2016-04-091-0/+14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | lavf/rawenc: Add a raw gsm muxer.Carl Eugen Hoyos2016-04-094-2/+17
| |
* | lavf/gsmdec: Add raw gsm autodetection.Carl Eugen Hoyos2016-04-091-0/+18
| | | | | | | | Fixes bug 555.
* | avcodec/pngdec: Fix alpha detection with skip_frameMichael Niedermayer2016-04-091-0/+1
| | | | | | | | | | | | Fixes Ticket4816 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | swscale/arm: add ff_hscale_8_to_15_neonMatthieu Bouron2016-04-095-2/+114
| |
* | avcodec/shorten: fix decoding of files with number of samples lower than ↵Paul B Mahol2016-04-081-2/+4
| | | | | | | | | | | | | | | | | | max_frame_size Note that support of very big block sizes is not currently supported at all due too flawed logic in decoder. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: remove useless if condition and comment, reindentPaul B Mahol2016-04-081-23/+21
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat/nistshperedec: add support for mu-law as sample-byte-formatPaul B Mahol2016-04-081-2/+5
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: fix decoding of last framePaul B Mahol2016-04-081-3/+1
| | | | | | | | | | | | Previously it would be always discarded. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | fate: Add test for Ticket 2397 (dvdsub)Michael Niedermayer2016-04-083-0/+854
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | sws/aarch64/yuv2rgb: honor iOS calling conventionClément Bœsch2016-04-081-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | y_offset and y_coeff being successive 32-bit integers, they are packed into 8 bytes instead of 2x8 bytes. See https://developer.apple.com/library/ios/documentation/Xcode/Conceptual/iPhoneOSABIReference/Articles/ARM64FunctionCallingConventions.html > iOS diverges from Procedure Call Standard for the ARM 64-bit > Architecture in several ways [...] > In the generic procedure call standard, all function arguments passed > on the stack consume slots in multiples of 8 bytes. In iOS, this > requirement is dropped, and values consume only the space required. [...] > Padding is still inserted on the stack to satisfy arguments’ alignment > requirements.
* | avformat/nistspheredec: fix silly bugPaul B Mahol2016-04-081-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngenc: check return value of av_frame_copy()Paul B Mahol2016-04-081-2/+6
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/pngenc: restore image size before copying frameDmitriy2016-04-081-0/+4
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/shorten: if allocation fails reset max_frame_sizePaul B Mahol2016-04-081-0/+1
| | | | | | | | | | | | Otherwise crash happens. Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: remove "get_buffer() failed" messagePaul B Mahol2016-04-082-6/+2
| | | | | | | | | | | | It is already provided by ff_get_buffer(). Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avformat: support shorten in nistshpere demuxerPaul B Mahol2016-04-072-1/+9
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | doc/filters: add drawtext exampleMulvya2016-04-071-0/+6
| | | | | | | | | | | | | | Show example which draws text at a random position, and switches positions every 30 seconds Signed-off-by: Mulvya <mulvya@gmail.com> Signed-off-by: Lou Logan <lou@lrcd.com>
* | avfilter: add remap filterF.Sluiter2016-04-076-2/+354
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | swscale/utils: Remove unused variableMichael Niedermayer2016-04-071-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | avformat: add aix demuxerPaul B Mahol2016-04-075-1/+144
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/exr: enable mipmap, ripmap decodingMartin Vignali2016-04-061-5/+7
| |
* | fate: add missing filter-meta-4560-rotate0 dependenciesJames Almer2016-04-051-1/+1
| | | | | | | | Signed-off-by: James Almer <jamrial@gmail.com>
* | AAC encoder: fix valgrind errorsClaudio Freire2016-04-052-17/+16
| | | | | | | | | | | | Move wi.clipping computation outside of psy_lame_window, LFE channels don't even call that, and make the LFE path also initialize window_type[1] which is needed by analyze_channel
* | fate: force fixed point aac decoder in filter-meta-4560-rotate0Michael Niedermayer2016-04-062-125/+125
| | | | | | | | | | | | This should fix a off by 1 difference between AARCH64 and X86 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | libxvid: Create extradata in init using a dummy frameDerek Buitenhuis2016-04-051-0/+40
| | | | | | | | | | | | | | | | | | | | | | Modifying global header extradata in encode_frame is an API violation and only happens to work currently because mov writes its header at the end of the file. Heavily based off of a patch from 2012. Original-by: Nicolas George <george@nsup.org> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | sws/aarch64: restore ff_hscale_8_to_15_neon()Clément Bœsch2016-04-053-3/+3
| | | | | | | | Fix final scaling and required filter alignment. Pass FATE.
* | avformat: add musx demuxerPaul B Mahol2016-04-055-2/+182
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec: add adpcm dat4 decoderPaul B Mahol2016-04-058-1/+29
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | AAC encoder: fix filling of wi.clipping arrayClaudio Freire2016-04-051-3/+4
| | | | | | | | | | | | | | Fill all windows in all window groups instead of only the first window of each group. Also avoid uninitialized access of window_type.
* | ffplay: fix silence insertion on error or pauseMarton Balint2016-04-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Insertion of silence was a bit broken since df34b700981de606ca4847e1ed0bfdf9ac3e9104 because the info whether or not the source buffer supposed to be silence must be kept between callbacks. Failing to do so causes rogue samples from the last buffer to be presented, I guess even a crash can occur under some circumstances. This patch uses a NULL audio_buf to keep the silence state across audio callbacks. Reviewed-by: Lukasz Marek <lukasz.m.luki2 at gmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
* | libavcodec/exr : add support for compression in tileMartin Vignali2016-04-041-22/+17
| |
* | libavcodec/exr : cosmetic changeMartin Vignali2016-04-041-2/+1
| |
* | fate: Add wav-ac3 testMichael Niedermayer2016-04-042-0/+46
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add fate-flv-demuxMichael Niedermayer2016-04-042-0/+609
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: Add fate-ts-opus-demuxMichael Niedermayer2016-04-042-0/+517
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | fate: add demux test for OggOpusJames Almer2016-04-032-0/+46
| | | | | | | | | | Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
* | AAC encoder: new regression testClaudio Freire2016-04-031-0/+11
| | | | | | | | | | | | Test to catch the recently fixed minsf bug Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | AAC encoder: fix initialization of minsfClaudio Freire2016-04-031-3/+4
| | | | | | | | | | In some situations (exactly zeroed DC coeffs) minsf would be initialized with garbage
* | avformat/brstm: lower magic number, fixes decoding of some filesPaul B Mahol2016-04-031-1/+1
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
OpenPOWER on IntegriCloud