summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0'Michael Niedermayer2015-02-14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0': avcodec: Don't anonymously typedef structs Conflicts: libavcodec/alac.c libavcodec/cinepak.c libavcodec/cscd.c libavcodec/dcadec.c libavcodec/g723_1.c libavcodec/gif.c libavcodec/iff.c libavcodec/kgv1dec.c libavcodec/libopenjpegenc.c libavcodec/libspeexenc.c libavcodec/ra288.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Don't anonymously typedef structsDiego Biurrun2015-02-14
| |
* | avcodec/gif: support crop and transparency with PAL8Clément Bœsch2015-02-14
| |
* | avcodec/dxtory: use init_get_bits8()Paul B Mahol2015-02-14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | Merge commit '7769be590c7aeb2aad26ca723d105cf5203e33d2'Michael Niedermayer2015-02-14
|\| | | | | | | | | | | | | | | | | | | * commit '7769be590c7aeb2aad26ca723d105cf5203e33d2': vp56: Return meaningful error codes Conflicts: libavcodec/vp56.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * vp56: Return meaningful error codesHimangi Saraogi2015-02-14
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | avcocdec/mpegaudio_parser: add MP3 ADU headers parserGilles Chanteperdrix2015-02-14
| | | | | | | | | | Reviewed-by: Thomas Volkert <silvo@gmx.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hevc: remove a parameter to WP internalsChristophe Gisquet2015-02-14
| | | | | | | | | | | | | | The second stride is always the internal buffer one, MAX_PB_SIZE (times 2 to get the value in bytes). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vc1_pred: few branchless optimizationszhaoxiu.zeng2015-02-14
| | | | | | | | | | | | This is also simpler Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/parser: optimize ff_mpeg4video_split()Zhaoxiu Zeng2015-02-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavc: deprecate VIMA decoderPaul B Mahol2015-02-14
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/apedec: simplify sign conversionzhaoxiu.zeng2015-02-14
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/golomb: simplify sign conversionzhaoxiu.zeng2015-02-14
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/apedec: move 'coeffs[256] and delay[256]' into, long_filter_high_3800zhaoxiu.zeng2015-02-13
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wmalosslessdec: simplifyzhaoxiu.zeng2015-02-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wmalosslessdec: optimize sign operationzhaoxiu.zeng2015-02-13
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wmalosslessdec: change type of acfilter_coeffs from int64_t to int16_tzhaoxiu.zeng2015-02-13
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wmv2: simplify cbp_table_index calculationzhaoxiu.zeng2015-02-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vc1: simplify vc1_split()zhaoxiu.zeng2015-02-13
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vc1: simplify find_next_marker()zhaoxiu.zeng2015-02-13
| | | | | | | | | | Signed-off-by: Zeng Zhaoxiu <zhaoxiu.zeng@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'eea769df322fac2601a96db195fa7dc8d12a8fbc'Michael Niedermayer2015-02-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit 'eea769df322fac2601a96db195fa7dc8d12a8fbc': hevc: Use generic av_clip function, not C implementation Conflicts: libavcodec/hevc.c libavcodec/hevc_filter.c libavcodec/hevc_mvs.c See: 83976e40e89655162e5394cf8915d9b6d89702d9 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: Use generic av_clip function, not C implementationPeter Meerwald2015-02-13
| | | | | | | | | | | | | | | | | | hevc seems to be the only place where the C implementation of the av_clip function is explicitly selected, precluding platform-specific optimizations Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * dxva2_hevc: properly fill the scaling list structureHendrik Leppkes2015-02-07
| | | | | | | | | | | | | | | | The scaling list can be specified in either the SPS or PPS. Additionally, compensate for the diagonal scan permutation applied in the decoder. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * aacsbr: silence message for SBR extension "padding".Reimar Döffinger2015-02-03
| | | | | | | | | | | | | | | | | | Some files contain a few additional, all-0 bits. Check for that case and don't print incorrect "not supported" message. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Alex Converse <alex.converse@gmail.com>
* | x86/hevc_mc: optimize AVX2 mc functionsJames Almer2015-02-12
| | | | | | | | | | | | | | | | | | | | | | Before 40766 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips After 37975 decicycles in ff_hevc_put_hevc_qpel_h64_8_avx2, 8192 runs, 0 skips Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | x86/hevc_sao: make sao_edge_filter_{10,12} work on x86_32James Almer2015-02-12
| | | | | | | | | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/arm/videodsp_armv5te: Fix linking failure with "g++ -shared ↵Michael Niedermayer2015-02-12
| | | | | | | | | | | | | | -D__STDC_CONSTANT_MACROS -o test.so ... libavcodec.a" Tested-by: Andreas Haupt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo_enc: correctly initialize chroma_intra_matrix for MPEG1/2Michael Niedermayer2015-02-12
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo_enc: Consider chroma_intra_matrix in dct_quantize_trellis_c()Michael Niedermayer2015-02-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mjpegenc: support trellis quantizationMichael Niedermayer2015-02-11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo_enc: Add intra_chroma_ac_vlc_length, it will be needed for ↵Michael Niedermayer2015-02-11
| | | | | | | | | | | | mjpeg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mjpegdec: Skip blocks which are outside the visible areaMichael Niedermayer2015-02-11
| | | | | | | | | | | | | | | | Fixes out of array accesses Fixes: ffmpeg_mjpeg_crash.avi Found-by: Thomas Lindroth <thomas.lindroth@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec: fix clobbered ff_get_buffer()Paul B Mahol2015-02-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/mss4: use av_malloc_array()Paul B Mahol2015-02-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/huffman: check if map was allocated tooPaul B Mahol2015-02-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/hevc_parser: check for av_mallocz() failurePaul B Mahol2015-02-10
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | x86/hevc_sao: make sao_band_filter work on x86_32James Almer2015-02-09
| | | | | | | | | | Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | avcodec/sgienc: return meaningful error codePaul B Mahol2015-02-09
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>
* | avcodec/vb: Check for av_mallocz() failureMichael Niedermayer2015-02-09
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | hevcdsp: ARM NEON optimized transformsSeppo Tomperi2015-02-08
| | | | | | | | | | | | cherry picked from commit b153f55935969c794de4640f8d34e01c58e027ae Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hevc_mc: remove lea in EPEL_LOADChristophe Gisquet2015-02-08
| | | | | | | | | | | | | | The second parameter to the macro is always an immediate address, so no lea is needed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: hevc_mc: fewer gpr autoloads for _v filtersChristophe Gisquet2015-02-08
| | | | | | | | | | | | In that case, it's just to load my, but mx/r3src is not used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/vp9dsp: fix clobbering of xmm6 on IDCT sse2 functionsJames Almer2015-02-08
| | | | | | | | | | Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* | Merge remote-tracking branch 'cehoyos/master'Michael Niedermayer2015-02-08
|\ \ | | | | | | | | | | | | | | | | | | | | | * cehoyos/master: Support decoding yuv dpx images. Do not use -mdynamic-no-pic on OSX x86_64. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * | Support decoding yuv dpx images.Carl Eugen Hoyos2015-02-08
| | |
* | | avcodec/utils: Assert that dst->progress is clear before ff_thread_ref_frame()Michael Niedermayer2015-02-08
| | | | | | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/h264: Setup decoder to have matching reference to the EC codeMichael Niedermayer2015-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also move EC ref initialization to where the EC code is called. Fixes out of array read Fixes: asan_heap-uaf_143f420_142_20110805_112659_ch0.mkv Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | | avcodec/h264: Move COPY_PICTURE() to h264.h so it can be used from other ↵Michael Niedermayer2015-02-08
|/ / | | | | | | | | | | parts of the h264 decoder Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86: lavc/hevc_mc: fix commentsChristophe Gisquet2015-02-07
| | | | | | | | | | | | | | The width parameter is now completely at the back, and actually never used. This helps understanding the actual parameter list. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/faxcompr: use init_get_bits8()Paul B Mahol2015-02-07
| | | | | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com>