summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
...
* lavc: Deduplicate zigzag_scan tableDiego Biurrun2016-03-25
|
* h264: Clean up #includesDiego Biurrun2016-03-25
|
* qsvdec_h2645: switch to the new BSF APIAnton Khirnov2016-03-25
|
* testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
|
* lavc: introduce a new decoding/encoding API with decoupled input/outputwm42016-03-23
| | | | | | | | | | | | | | | | Until now, the decoding API was restricted to outputting 0 or 1 frames per input packet. It also enforces a somewhat rigid dataflow in general. This new API seeks to relax these restrictions by decoupling input and output. Instead of doing a single call on each decode step, which may consume the packet and may produce output, the new API requires the user to send input first, and then ask for output. For now, there are no codecs supporting this API. The API can work with codecs using the old API, and most code added here is to make them interoperate. The reverse is not possible, although for audio it might. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Move const qualifier before type nameDiego Biurrun2016-03-23
|
* vc1dec: wmv2dec: Validate ff_intrax8_common_init return valueVittorio Giovara2016-03-22
|
* intrax8: Check and propagate errors from ff_intrax8_common_initVittorio Giovara2016-03-22
| | | | This allows dropping an afterwards redundant assert.
* intrax8: Move documentation from implementation to header fileVittorio Giovara2016-03-22
|
* intrax8: K&R formatting cosmeticsVittorio Giovara2016-03-22
|
* intrax8: Adjust printf conversion specifier for sizeof expressionDiego Biurrun2016-03-22
|
* intrax8: Move a comment to the place it correspondsVittorio Giovara2016-03-22
|
* intrax8: Wrap multiline macros in do{}while(0) clausesVittorio Giovara2016-03-22
| | | | | 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-22
| | | | | | | | 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-22
| | | | Avoid using multiple variables for the same purpose.
* indeo4: Rework stream analysis reportVittorio Giovara2016-03-22
| | | | | | | | * 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-20
| | | | Deprecate the current bitstream filtering API.
* takdec: ensure chan2 is a valid channel indexAndreas Cadhalpun2016-03-20
| | | | | | | | 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-19
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* svq3: Use a separate buffer for decoding the slicesLuca Barbato2016-03-16
| | | | The AVPacket.data should be considered read-only.
* qsv: Fix loading multiple pluginsLuca Barbato2016-03-15
| | | | av_get_token does not strip the trailing separator.
* mpegvideo: Refactor emulated_edge_mc callsLuca Barbato2016-03-05
|
* mpegvideo: Fix undefined negative shifts in mpeg_motion_internalLuca Barbato2016-03-05
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* 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
|