summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/libutvideoenc: Check avpicture_get_size() return codeMichael Niedermayer2014-12-111-2/+6
| | | | | | | Fixes CID1257656 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/libutvideoenc: fix leak of info array on errorMichael Niedermayer2014-12-111-0/+1
| | | | | | | Fixes CID1257657 Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/libxavs: fix division by 0 bitrateMichael Niedermayer2014-12-111-2/+3
| | | | | | Fixes CID1257655 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/x86/hevc_mc: fix sse register countsMichael Niedermayer2014-12-111-14/+14
| | | | | | | | These fix failures of --enable-xmm-clobber-test It would be better to change the code to use fewer registers, but until someone does the used register count must not be too small Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/hevc: Silence "warning: ref0/1 may be used uninitialized in this ↵Michael Niedermayer2014-12-111-1/+1
| | | | | | | | function" Also make code more robust by initializing the pointers to NULL Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'c7921a480467876ece06566e0efd8f6bce9d1903'Michael Niedermayer2014-12-111-1/+1
|\ | | | | | | | | | | | | * commit 'c7921a480467876ece06566e0efd8f6bce9d1903': libfdk-aacdec: Fix a boundary check Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libfdk-aacdec: Fix a boundary checkMartin Storsjö2014-12-101-1/+1
| | | | | | | | | | | | | | | | | | This avoids potential out of bounds writes, with potential future versions of the library. Bug-Id: CID 1254945 CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* | avcodec: Add NVENC encoderTimo Rothenpieler2014-12-113-0/+1191
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_refs: fix potential use of uninitialized min_idxMichael Niedermayer2014-12-101-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/hevc_mc: remove dead branch from EPEL_FILTERMichael Niedermayer2014-12-101-5/+0
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '4c81613df499ba81d64ea102b38d0c6686cc304c'Michael Niedermayer2014-12-101-16/+20
|\ \ | |/ | | | | | | | | | | * commit '4c81613df499ba81d64ea102b38d0c6686cc304c': arm: mlpdsp: handle pic offset calculation in a macro Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: mlpdsp: handle pic offset calculation in a macroJanne Grunau2014-12-091-16/+20
| | | | | | | | | | Makes the code easier to read since it hides different offset calculations for arm and thumb mode.
* | Merge commit '581c7f0e12b1fa39f73d683e54d6ecda0772c5a9'Michael Niedermayer2014-12-101-10/+13
|\ \ | |/ | | | | | | | | | | * commit '581c7f0e12b1fa39f73d683e54d6ecda0772c5a9': arm: make ff_mlp_filter_channel_arm and ff_mlp_rematrix_channel_arm position independent Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: make ff_mlp_filter_channel_arm and ff_mlp_rematrix_channel_arm position ↵Janne Grunau2014-12-091-10/+13
| | | | | | | | | | | | independent No significant difference in used cpu cycles on a cortex-a9.
* | Merge commit '780cd20b00a69e26bbfffbb8eec16fbe999ea793'Michael Niedermayer2014-12-092-28/+27
|\ \ | |/ | | | | | | | | | | * commit '780cd20b00a69e26bbfffbb8eec16fbe999ea793': aarch64: Use .data.rel.ro for const data with relocations Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aarch64: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-092-28/+27
| | | | | | | | | | | | | | This reverts commit c00365b46d464ce47716315c1801818d811bdb9a in addition to using a different section. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46'Michael Niedermayer2014-12-093-3/+3
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'f963f80399deb1a2b44c1bac3af7123e8a0c9e46': arm: Use .data.rel.ro for const data with relocations Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: Use .data.rel.ro for const data with relocationsMartin Storsjö2014-12-093-3/+3
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | lavc/options: add test for avcodec_copy_contextLukasz Marek2014-12-082-0/+173
| | | | | | | | | | | | | | This test doesn't cover every possible issue with this function. It covers options management only. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit '6fd91fa11909f27902498648680dbb3d13f1f175'Michael Niedermayer2014-12-081-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '6fd91fa11909f27902498648680dbb3d13f1f175': h264: increase MAX_SLICES to 32 The available sample decodes correctly before, but the reporter of the bug claims that this change reduces artifacts. This is thus merged If someone has samples that decode differently depending in the MAX_SLICES value, please open a ticket on trac. Also this change should be reverted if it turns out that the artifacts that where seen had a different cause Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: increase MAX_SLICES to 32Vittorio Giovara2014-12-081-1/+1
| | | | | | | | | | | | | | | | H264 streams from CounterPath Bria and some Cisco phones need an increased pool for correct decoding. Bug-Id: 645 Sample-Id: bria-h264.mka
| * dpx: always write the image offsetZoltan Kovacs2014-12-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | According to the DPX file format description found at http://www.fileformat.info/format/dpx/egff.htm the ImageElement part of the GenericImageHeader also contains an an offset to the real image data beside the same member that can be found in the GenericFileHeader. Libav keeps this member empty (=0) while some applications expects it to be filled properly. FATE test updated accordingly. Bug-Id: 742 Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | avcodec/pngdec: handle 4 more bytes with SIMD for RGB64 in paeth predictionMichael Niedermayer2014-12-081-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/pngdsp: fix off by 1 errorMichael Niedermayer2014-12-082-2/+2
| | | | | | | | | | | | | | | | This fixes artifacts in the last pixel of rows with some widths and pixel formats Found-by: Dominique Leroux <Dominique.Leroux@autodesk.com> Tested-by: Dominique Leroux <Dominique.Leroux@autodesk.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ppc/vp3dsp_altivec: POWER LE support to vp3_idct_add_altivec()Rong Yan2014-12-081-2/+16
| | | | | | | | | | | | add GET_VDST16() macro Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b280c6202b28b371a8d96850194fd69d7ad5dcc0'Michael Niedermayer2014-12-081-10/+5
|\ \ | |/ | | | | | | | | | | * commit 'b280c6202b28b371a8d96850194fd69d7ad5dcc0': arm: fft_vfp: Unify the behaviour in ff_fft_calc_vfp between arm/thumb Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: fft_vfp: Unify the behaviour in ff_fft_calc_vfp between arm/thumbMartin Storsjö2014-12-081-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | Don't include the function pointer table in the code segment in arm mode. This shouldn't have any significant performance effect. It does end up as a few more instructions than before, for ARM, but only at the entry to this function, not within the fft functions themselves. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit 'ae81576414f2d2083d3118fb4abe1ebc5a7a4c54'Michael Niedermayer2014-12-081-0/+1
|\ \ | |/ | | | | | | | | | | * commit 'ae81576414f2d2083d3118fb4abe1ebc5a7a4c54': arm: fft_vfp: Add a missing "endconst" when building in thumb mode Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * arm: fft_vfp: Add a missing "endconst" when building in thumb modeMartin Storsjö2014-12-081-0/+1
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | avcodec/pngdec: check av_image_get_linesize return valueBenoit Fouet2014-12-081-0/+3
| | | | | | | | | | | | Fixes CID 1257012 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/utils: Check AVFrame width/height in avcodec_encode_video2()Michael Niedermayer2014-12-071-0/+2
| | | | | | | | | | | | This is similar to the format check Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/jacosubdec: check strftime return valueClément Bœsch2014-12-071-2/+2
| | | | | | | | Fixes CID1257004
* | avcodec/utils: check AVframe.format being set in avcodec_encode_video2()Michael Niedermayer2014-12-071-0/+3
| | | | | | | | | | | | | | | | | | We dont fail hard if its not set as the old API allowed this and our examples did in the distant past not set it, these examples still work with the current code and some encoders. Based on suggestion by: funman Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/libxavs: disable global header codeMichael Niedermayer2014-12-061-1/+1
| | | | | | | | | | | | | | | | | | | | This code only segfaults and fixing the segfault, the resulting files are unplayable, so disable to avoid the segfault. Better solution is welcome See: [FFmpeg-devel] [PATCH] avcodec/libxavs: remove global header code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/hevc_ps: Add context to av_log() callMichael Niedermayer2014-12-061-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/dvbsubdec: Remove redundant "DVBSub error" prefixMichael Niedermayer2014-12-061-3/+3
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9a738c27dceb4b975784b23213a46f5cb560d1c2'Michael Niedermayer2014-12-063-28/+33
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9a738c27dceb4b975784b23213a46f5cb560d1c2': v210enc: Add SIMD optimised 8-bit and 10-bit encoders Conflicts: libavcodec/v210enc.c libavcodec/v210enc.h libavcodec/x86/Makefile libavcodec/x86/v210enc.asm libavcodec/x86/v210enc_init.c tests/ref/vsynth/vsynth1-v210 tests/ref/vsynth/vsynth2-v210 See: 36091742d182b3ad4411aae22682354b3834a974 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * v210enc: Add SIMD optimised 8-bit and 10-bit encodersKieran Kunhya2014-12-055-49/+378
| | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | lavc/options: fix leaks in avcodec_copy_contextLukasz Marek2014-12-061-5/+11
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit 'b72727a5248f1ef02db99b378dce1eb48a46357a'Michael Niedermayer2014-12-061-0/+2
|\ \ | |/ | | | | | | | | | | * commit 'b72727a5248f1ef02db99b378dce1eb48a46357a': lavc: mention that the parser callback never returns an error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: mention that the parser callback never returns an errorVittorio Giovara2014-12-051-0/+2
| |
| * mpegvideo: exit cleanly when ff_mpv_common_frame_size_change() failsMichael Niedermayer2014-12-031-3/+3
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
| * mpegvideo: free_context_frame() cannot fail, make it return voidMichael Niedermayer2014-12-031-5/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc/options: don't copy priv context when it is not AVOption objectLukasz Marek2014-12-061-2/+3
| | | | | | | | | | | | This prevents potential crash when opt API is used without a class. Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | Merge commit 'c45eeb2dbf42382d335da8068231a8026c08843b'Michael Niedermayer2014-12-051-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'c45eeb2dbf42382d335da8068231a8026c08843b': mpegvideo: replace assert about interlaced EC with debug av_log() Conflicts: libavcodec/mpegvideo.c See: c88bbc01eb7f67f7399fb89800bf1bfc89edb248 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpegvideo: replace assert about interlaced EC with debug av_log()Michael Niedermayer2014-12-031-1/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '3a56bcee7cb7549b2813e39ce3bee3b7c522aecb'Michael Niedermayer2014-12-051-14/+10
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '3a56bcee7cb7549b2813e39ce3bee3b7c522aecb': mpeg12dec: Use more specific error codes Conflicts: libavcodec/mpeg12dec.c See: 1852b2a0f497d3c5437d5b50379d7874fc8c285a Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12dec: Use more specific error codesMichael Niedermayer2014-12-031-51/+51
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'b56afb48aecb96e03347f5b569f16a64147c18b1'Michael Niedermayer2014-12-051-1/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit 'b56afb48aecb96e03347f5b569f16a64147c18b1': mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence() Conflicts: libavcodec/mpeg12dec.c See: 88b4c1a7316cf47f68bf04accf613375b7326992 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg12dec: Print error/warning messages on issues in mpeg1_decode_sequence()Michael Niedermayer2014-12-031-2/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud