summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* intrax8: K&R formatting cosmeticsVittorio Giovara2016-03-225-1653/+1792
|
* intrax8: Adjust printf conversion specifier for sizeof expressionDiego Biurrun2016-03-221-1/+2
|
* intrax8: Move a comment to the place it correspondsVittorio Giovara2016-03-221-6/+5
|
* intrax8: Wrap multiline macros in do{}while(0) clausesVittorio Giovara2016-03-221-7/+10
| | | | | These macros are treated like functions, the wrapping simplifies error checking and avoids deeply nested ifs in the following commit.
* intrax8: Move error resilience out of intrax8Vittorio Giovara2016-03-223-8/+10
| | | | | | | | The intrax8 decoding process does not imply any kind of error resilience, and the only call present is more related to how mpegvideo works rather than anything else. Therefore have the parent decoders carry out er when actually needed.
* indeo4: Consistently initialize variablesVittorio Giovara2016-03-222-8/+4
| | | | Avoid using multiple variables for the same purpose.
* indeo4: Rework stream analysis reportVittorio Giovara2016-03-223-30/+18
| | | | | | | | * Change log level from error to debug * Print report after the first decoded frame, not at the end of decoding * Drop macro guard and use a context variable instead Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavc: add a new bitstream filtering APIAnton Khirnov2016-03-2019-431/+1345
| | | | Deprecate the current bitstream filtering API.
* takdec: ensure chan2 is a valid channel indexAndreas Cadhalpun2016-03-201-0/+6
| | | | | | | | If chan2 is not smaller than the number of channels, it can cause segmentation faults due to dereferencing a NULL pointer. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavu: deprecate AV_PIX_FMT_VAAPI_*, replace with AV_PIX_FMT_VAAPIMark Thompson2016-03-198-10/+10
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* svq3: Use a separate buffer for decoding the slicesLuca Barbato2016-03-161-23/+32
| | | | The AVPacket.data should be considered read-only.
* qsv: Fix loading multiple pluginsLuca Barbato2016-03-151-0/+2
| | | | av_get_token does not strip the trailing separator.
* mpegvideo: Refactor emulated_edge_mc callsLuca Barbato2016-03-051-42/+36
|
* mpegvideo: Fix undefined negative shifts in mpeg_motion_internalLuca Barbato2016-03-051-6/+6
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* mpegvideo: Fix undefined negative shifts in ff_init_block_indexLuca Barbato2016-03-051-3/+3
| | | | | | Found-by: gcc5-ubsan. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* idct8x8: Fix undefined negative shiftsKaterina Barone-Adesi2016-03-053-25/+25
| | | | | | | | | | | 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-051-0/+2
|
* lavc: factor apply_param_change() AV_EF_EXPLODE handlingwm42016-03-051-13/+15
| | | | | | 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-012-39/+138
| | | | | | | | 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-011-104/+104
| | | | | 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-0120-243/+463
|
* rdft: arm: Split RDFT initialization into a separate fileDiego Biurrun2016-02-263-13/+34
|
* fft: arm: Drop unnecessary #include, add missing onesDiego Biurrun2016-02-263-1/+8
|
* fft: x86: cosmetics: Drop silly comments, add comment, whitespaceDiego Biurrun2016-02-261-5/+6
|
* qsv: Move down the implementation queryLuca Barbato2016-02-261-16/+16
| | | | | The plugin loaded may not match the general implementation capability wise.
* avpacket: properly reset data/size in av_packet_move_ref()Anton Khirnov2016-02-261-0/+2
| | | | | 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-261-2/+1
|
* vc1dec: Check group allocations separatedlyVittorio Giovara2016-02-251-6/+19
| | | | This avoids accessing NULL pointers in case of error.
* vc1dec: Fix leak on error for array allocationsVittorio Giovara2016-02-251-2/+5
| | | | | The deinit function in the 'error' section will correctly free everything.
* vc1dec: Properly call deinit function on errorVittorio Giovara2016-02-251-11/+5
|
* vc1dec: Drop commented out cruftVittorio Giovara2016-02-251-8/+0
|
* idct: Only build prores IDCT if ProRes decoder is enabledDiego Biurrun2016-02-241-0/+2
|
* qsvdec: store the sync point in heap memoryAnton Khirnov2016-02-241-6/+28
| | | | The reasoning is the same as for the corresponding qsvenc patch.
* qsvenc: store the sync point in heap memoryMaxym Dmytrychenko2016-02-241-7/+18
| | | | | | | | 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-232-12/+28
| | | | AVCodecParameters
* lavc: add codec parameters APIAnton Khirnov2016-02-233-1/+316
| | | | | | 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-231-4/+8
| | | | | 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-221-1/+1
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
* h264: Add an AVClass pointer to H264ContextMichael Niedermayer2016-02-221-0/+1
| | | | | | | 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-221-2/+2
| | | | | First check the context, then check internal option. Drop the ! typo. Introduced in 60f0fde3092d18d4d36555962c192af8691a099c.
* build: Disentangle VC-1 decoder and parserDiego Biurrun2016-02-191-1/+2
|
* build: Add vc1dsp component for more fine-grained dependenciesDiego Biurrun2016-02-194-8/+8
|
* msmpeg4data: Move WMV2 data tables to their own fileDiego Biurrun2016-02-198-24/+71
|
* msmpeg4data: K&R formatting cosmeticsDiego Biurrun2016-02-191-1817/+1793
|
* build: Introduce iso_media componentDiego Biurrun2016-02-181-9/+5
|
* build: Let the WTV demuxer select the MPEG-TS demuxerDiego Biurrun2016-02-181-1/+0
| | | | | 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-181-3/+3
|
* build: Add missing dependencies for eatqi decoderDiego Biurrun2016-02-181-1/+1
|
* build: Add missing celp_math dependency for G723_1 encoder and decoderVittorio Giovara2016-02-181-2/+4
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* profiles: Add missing #endif commentDiego Biurrun2016-02-181-1/+1
|
OpenPOWER on IntegriCloud