summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* mpegvideo: Fix undefined negative shifts in ff_init_block_indexLuca Barbato2016-03-05
| | | | | | Found-by: gcc5-ubsan. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* idct8x8: Fix undefined negative shiftsKaterina Barone-Adesi2016-03-05
| | | | | | | | | | | The original code left-shifts negative values, which is undefined in the C99 specification (the one used during normal Libav compilation). This change multiplies by (1 << shift), which is functionally equivalent, but has defined behavior. With this change, fate-idct8x8 compiled with --fsanitize=undefined works. Bug-Id: 686
* vdpau: Add missing deprecation guardsVittorio Giovara2016-03-05
|
* lavc: factor apply_param_change() AV_EF_EXPLODE handlingwm42016-03-05
| | | | | | Remove the duplicated code for handling failure of apply_param_change(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* indeo2: Fix banding artefactsLuca Barbato2016-03-01
| | | | | | | | Rename luma table to delta table and change how it is used. CC: libav-stable@libav.org Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* indeo2data: K&R formatting cosmeticsLuca Barbato2016-03-01
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
* fft: Split MDCT bits off from FFTDiego Biurrun2016-03-01
|
* rdft: arm: Split RDFT initialization into a separate fileDiego Biurrun2016-02-26
|
* fft: arm: Drop unnecessary #include, add missing onesDiego Biurrun2016-02-26
|
* fft: x86: cosmetics: Drop silly comments, add comment, whitespaceDiego Biurrun2016-02-26
|
* qsv: Move down the implementation queryLuca Barbato2016-02-26
| | | | | The plugin loaded may not match the general implementation capability wise.
* avpacket: properly reset data/size in av_packet_move_ref()Anton Khirnov2016-02-26
| | | | | It currently just calls av_init_packet(), which does not touch those fields.
* mpegvideo_enc: use avcodec_free_context() instead of av_free()Anton Khirnov2016-02-26
|
* vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-25
| | | | This avoids accessing NULL pointers in case of error.
* vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-25
| | | | | The deinit function in the 'error' section will correctly free everything.
* vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-25
|
* vc1dec: Drop commented out cruftVittorio Giovara2016-02-25
|
* idct: Only build prores IDCT if ProRes decoder is enabledDiego Biurrun2016-02-24
|
* qsvdec: store the sync point in heap memoryAnton Khirnov2016-02-24
| | | | The reasoning is the same as for the corresponding qsvenc patch.
* qsvenc: store the sync point in heap memoryMaxym Dmytrychenko2016-02-24
| | | | | | | | The QSV runtime expects the sync point address passed to MFXVideoENCODE_EncodeFrameAsync() to be valid until MFXVideoCORE_SyncOperation(). Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavc: add a variant of av_get_audio_frame_duration working with ↵Anton Khirnov2016-02-23
| | | | AVCodecParameters
* lavc: add codec parameters APIAnton Khirnov2016-02-23
| | | | | | This API is intended to allow passing around codec parameters without using full AVCodecContext (which also contains codec options and encoder/decoder state).
* x86: hevc: Fix linking with both yasm and optimizations disabledDiego Biurrun2016-02-23
| | | | | Some optimized functions reference optimized symbols, so the functions must be explicitly disabled when those symbols are unavailable.
* mpeg12enc: always write closed gops for intra only outputsMarton Balint2016-02-22
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* h264: Add an AVClass pointer to H264ContextMichael Niedermayer2016-02-22
| | | | | | | Sample-Id: asan_heap-uaf_3660f67_757_cov_1257014655_Hi422FR1_SONY_A.jsv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* libx264: Fix noise_reduction option assignmentVittorio Giovara2016-02-22
| | | | | First check the context, then check internal option. Drop the ! typo. Introduced in 60f0fde3092d18d4d36555962c192af8691a099c.
* build: Disentangle VC-1 decoder and parserDiego Biurrun2016-02-19
|
* build: Add vc1dsp component for more fine-grained dependenciesDiego Biurrun2016-02-19
|
* msmpeg4data: Move WMV2 data tables to their own fileDiego Biurrun2016-02-19
|
* msmpeg4data: K&R formatting cosmeticsDiego Biurrun2016-02-19
|
* build: Introduce iso_media componentDiego Biurrun2016-02-18
|
* build: Let the WTV demuxer select the MPEG-TS demuxerDiego Biurrun2016-02-18
| | | | | The WTV demuxer depends on large parts of the MPEG-TS demuxer internals anyway and fails to build without it.
* build: Fix dependencies for components relying on H.263 data tablesDiego Biurrun2016-02-18
|
* build: Add missing dependencies for eatqi decoderDiego Biurrun2016-02-18
|
* build: Add missing celp_math dependency for G723_1 encoder and decoderVittorio Giovara2016-02-18
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* profiles: Add missing #endif commentDiego Biurrun2016-02-18
|
* cosmetics: Drop particularly redundant silly commentsDiego Biurrun2016-02-18
|
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
|
* qsv: add a missing #includeAnton Khirnov2016-02-18
| | | | Needed for enum AVCodecID
* fft: ppc: Place ff_fft_calc_interleave_altivec() under correct ifdefsDiego Biurrun2016-02-15
| | | | Also fix #endif comments in the FFT init code.
* nvenc: support CUDA frames as inputAnton Khirnov2016-02-14
|
* lavc: add a field for passing AVHWFramesContext to encodersAnton Khirnov2016-02-14
|
* Allow linking to CUDA dynamically instead of dlopen()ing it at runtimeAnton Khirnov2016-02-14
|
* 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>
* 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
|
* eatqi: Remove MpegEncContext dependencyVittorio Giovara2016-02-09
| | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>