summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* buffersrc: default SAR to 0 (unknown) rather than 1Anton Khirnov2016-02-14
| | | | | | It makes more sense to not claim anything about the SAR if we don't know anything. No changes in the FATE tests, since this is what avconv ends up doing anyway.
* configure: Restore the --enable-everything behaviourLuca Barbato2016-02-14
| | | | | | | Make sure that the minimum set of dependencies needed by the tools and the examples are enabled. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Print which libraries will be builtLuca Barbato2016-02-14
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Use `require` for the non-component optionsLuca Barbato2016-02-14
| | | | | | And make sure to enable all the components needed Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* mov: Use the correct type for sizeLuca Barbato2016-02-14
| | | | | | An AVIO offset is int64_t. Bug-Id: 921
* vdpau: Support for VDPAU accelerated HEVC decodingPhilip Langdale2016-02-13
| | | | | Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hevc: Track long and short term RPS size for VDPAUPhilip Langdale2016-02-13
| | | | | | | | | | | | | | | | Today, we track the short term RPS size for DXVA, but only if the SliceHeader RPS is being used. Otherwise it's left uninitialized. NVIDIA's VDPAU implementation requires that the size be accurately tracked even if an SPS RPS is being used. In this case, it's really counting the size of the RPS idx information, but you end up with mangled output if the value is not accurate. VDPAU also needs the size of the long term RPS. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Rémi Denis-Courmont <remi@remlab.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dxva2_hevc: properly signal the num_delta_pocs from the SPS RPSHendrik Leppkes2016-02-13
| | | | | | | | | ucNumDeltaPocsOfRefRpsIdx needs to contain the flat value from the SPS RPS, and not the final computed value from the slice header RPS, as this calculation is done internally by the driver again. Sample-Id: http://trailers.divx.com/hevc/Sintel_4k_27qp_24fps_1aud_9subs.mkvi Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
* lavf: Dump the cpb side data informationLuca Barbato2016-02-13
|
* nvenc: rename a misnamed functionAnton Khirnov2016-02-12
| | | | | This function copies the encoded bistream into the caller's packet, calling it 'get_frame' is misleading.
* nvenc: merge input and output surface structsAnton Khirnov2016-02-12
| | | | | An input frame always corresponds to exactly one output packet, so there is no point in complicating the situation by managing them separately.
* nvenc: factor out the pixel format listAnton Khirnov2016-02-12
|
* buffersrc: do not discard the error from ff_filter_frame()Anton Khirnov2016-02-12
|
* eatqi: Remove MpegEncContext dependencyVittorio Giovara2016-02-09
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg1: Make intra-block decoding independent of MpegEncContextVittorio Giovara2016-02-09
| | | | | | | This allows untangling the eatqi decoder from the MPEG-1 decoder. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* mpeg12dec: Refactor mpeg1_decode_block_intra()Diego Biurrun2016-02-09
| | | | | Reduce variable scope, improve variable name, drop pointless ff_dlog(), merge variable declaration and initialization, whitespace cosmetics.
* mpeg12dec: Always close reader on errorVittorio Giovara2016-02-09
| | | | | | | A reader left open may lead to hangs. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* tiny_psnr: Support large filesThomas Lee2016-02-09
| | | | | | | If an input file is bigger than 2GB (assume sizeof(int) == 4)), size0/size1 will overflow, making stddev and PSNR invalid. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* dnxhd: Make the encoder message friendlierLuca Barbato2016-02-09
|
* configure: Refactor toolchain flag settingDiego Biurrun2016-02-09
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: drop support for building without lavfiAnton Khirnov2016-02-09
| | | | | | lavfi has been considered to be stable for a while now, so it is enabled in most configurations. Supporting avplay without lavfi requires a lot of nontrivial ifdef mess for no good reason.
* flacenc: Load default prediction_order parameters if none is selectedMichael Niedermayer2016-02-08
| | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* asfdec: make sure packet_size is non-zero before seekingAndreas Cadhalpun2016-02-07
| | | | | | | This fixes infinite loops due to seeking back. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: check for too small size in asf_read_unknownAndreas Cadhalpun2016-02-07
| | | | | | | This fixes infinite loops due to seeking back. Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: check avio_skip in asf_read_simple_indexAndreas Cadhalpun2016-02-07
| | | | | | | | The loop can be very long, even though the file is very short. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* asfdec: break if EOF is reached after asf_read_packet_headerAndreas Cadhalpun2016-02-07
| | | | | | | | | | | asf_read_payload can unset eof_reached, so check it also before calling that function. This fixes infinite loops. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Alexandra Hájková <alexandra@khirnov.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* msvc: Fix libx264 linkingHenrik Gramner2016-02-06
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* doc: Improve the channelsplit exampleVicente Jimenez Aguilar2016-02-06
| | | | | | Expand LFE acronym (lfe.wav -> low_frecuency_effects.wav) as with others filenames Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* configure: Support MSYS2 mingw-w64 64bitLuca Barbato2016-02-06
|
* v210: Use separate sample_factorsLuca Barbato2016-02-01
| | | | | | | The 10bit and the 8bit functions can now be implemented to process a different amount of samples. And while at it simplify a little the code.
* v210: Add avx2 version of the 10-bit line encoderJames Darnley2016-02-01
| | | | | | Around 25% faster than the ssse3 version. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* v210: Add avx2 version of the 8-bit line encoderJames Darnley2016-02-01
| | | | | | | Around 35% faster than the avx version. Signed-off-by: Henrik Gramner <henrik@gramner.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* flacenc: Restore defaults and range for {min, max}_prediction_orderDerek Buitenhuis2016-02-01
| | | | | | This was broken in 243df1351d2d928caa084a5704ed783f0b83f072. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* libx264: Make sure to preserve default option valuesVittorio Giovara2016-02-01
| | | | | | | | The private options chromaoffset, sc_threshold, and noise_reduction were set to 0 rather than -1, and were always initializing values in libx264 rather than letting the library use its default. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* configure: add missing avx2 support checkJames Almer2016-01-28
| | | | | | | | AVX2 support was introduced in Yasm 1.2.0 and NASM 2.10, and the oldest versions currently supported are Yasm 0.8.0 and NASM 2.03 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* x86: Add ymm_reg structJames Almer2016-01-28
| | | | | | | Needed to declare 32-byte long constants Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* v210: x86: Add the correct guards around the asm codeLuca Barbato2016-01-26
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavfi: Use AV_CEIL_RSHIFT where neededVittorio Giovara2016-01-25
|
* yuv4mpegenc: Use AV_CEIL_RSHIFT where neededVittorio Giovara2016-01-25
|
* pixdesc: Use AV_CEIL_RSHIFT in documentationVittorio Giovara2016-01-25
|
* pixdesc: Drop unneeded deprecation warning guardsVittorio Giovara2016-01-25
|
* qsvenc: Add private option to replace coder_typeVittorio Giovara2016-01-25
| | | | Missing from be00ec832c519427cd92218abac77dafdc1d5487.
* avplay: Allow to override the codecLuca Barbato2016-01-25
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Statically allocate the player stateLuca Barbato2016-01-25
| | | | | | And move the resource deallocation in stream_open failure path. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Rename cur_stream to playerLuca Barbato2016-01-25
| | | | | | The name was misleading. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Rename VideoState to PlayerStateLuca Barbato2016-01-25
| | | | | | The structure is not video-specific. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Allocate the refresh thread next to the decode threadLuca Barbato2016-01-25
| | | | | | It does not belong to the stream setup. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avplay: Move the stream setup in the main threadLuca Barbato2016-01-25
| | | | | | | And refactor the code in preparation of the following patches. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* hls: eliminate ffurl_* usageAnton Khirnov2016-01-24
| | | | | Now all IO should go through the IO callbacks and be interceptable by the caller.
* lavf: allow custom IO for all filesAnton Khirnov2016-01-24
| | | | | | | | | | | | | | Some (de)muxers open additional files beyond the main IO context. Currently, they call avio_open() directly, which prevents the caller from using custom IO for such streams. This commit adds callbacks to AVFormatContext that default to avio_open2()/avio_close(), but can be overridden by the caller. All muxers and demuxers using AVIO are switched to using those callbacks instead of calling avio_open()/avio_close() directly. (de)muxers that use the URLProtocol layer directly instead of AVIO remain unconverted for now. This should be fixed in later commits.