aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/on2avc: Fix out of array accessMichael Niedermayer2014-07-021-1/+1
| | | | | | Fixes CID1206648 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: Updated comment for sub paramAnshul Maheshwari2014-07-021-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/dvbsubdec: removed unnecessary null check for subtitleAnshul Maheshwari2014-07-021-1/+1
| | | | | | In refrence to coverity defect 1224278 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/dvdec: remove redundant null checkMichael Niedermayer2014-07-021-1/+1
| | | | | | Fixes CID700682 again Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/bitstream: remove trivial assertMichael Niedermayer2014-07-021-1/+0
| | | | | | Fixed CID1224273 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* x86: rename dsputil.asm to idctdsp.asmJames Almer2014-07-022-2/+2
| | | | | | | Its only function is no longer part of dsputil. Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: factorize some parts of the pix_fmt_id switch()Michael Niedermayer2014-07-011-12/+0
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: handle luma upscale detection genericallyMichael Niedermayer2014-07-011-2/+6
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: set upscale_h/upscale_v using generic code instead of ↵Michael Niedermayer2014-07-011-8/+11
| | | | | | | | hardcoding a list Some code is left to handle corner cases Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: Support pix_fmt_id==0x11222200Michael Niedermayer2014-07-011-2/+11
| | | | | | Fixes: 4858286_300.jpg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mjpegdec: fix width for non chroma in rescalingMichael Niedermayer2014-07-011-4/+6
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* mjpegdec: Support pix_fmt_id == 0x22112200Michael Niedermayer2014-07-011-2/+3
| | | | | | Fixes 4780490_300.jpg Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '79793f833784121d574454af4871866576c0749d'Michael Niedermayer2014-07-0113-13/+13
|\ | | | | | | | | | | | | * commit '79793f833784121d574454af4871866576c0749d': Update Fiona's name in copyright statements. Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Update Fiona's name in copyright statements.Diego Biurrun2014-07-0111-11/+11
| |
* | Merge commit 'e3fcb14347466095839c2a3c47ebecff02da891e'Michael Niedermayer2014-07-0180-973/+1307
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e3fcb14347466095839c2a3c47ebecff02da891e': dsputil: Split off IDCT bits into their own context Conflicts: configure libavcodec/aic.c libavcodec/arm/Makefile libavcodec/arm/dsputil_init_arm.c libavcodec/arm/dsputil_init_armv6.c libavcodec/asvdec.c libavcodec/dnxhdenc.c libavcodec/dsputil.c libavcodec/dvdec.c libavcodec/dxva2_mpeg2.c libavcodec/intrax8.c libavcodec/mdec.c libavcodec/mjpegdec.c libavcodec/mjpegenc_common.h libavcodec/mpegvideo.c libavcodec/ppc/dsputil_altivec.h libavcodec/ppc/dsputil_ppc.c libavcodec/ppc/idctdsp.c libavcodec/x86/Makefile libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/dsputil_x86.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split off IDCT bits into their own contextDiego Biurrun2014-06-3076-874/+1214
| |
* | Merge commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30'Michael Niedermayer2014-07-017-361/+429
|\| | | | | | | | | | | | | | | | | | | | | * commit 'adcb8392c9b185fd8a91a95fa256d15ab1432a30': mjpeg: Split off bits shared by MJPEG and LJPEG encoders Conflicts: libavcodec/mjpegenc.c libavcodec/mjpegenc.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mjpeg: Split off bits shared by MJPEG and LJPEG encodersDiego Biurrun2014-06-307-294/+360
| | | | | | | | This obviates a dependency of the LJPEG encoder on mpegvideo.
* | avcodec/hevc: Use av_malloc(z)_array()Michael Niedermayer2014-07-011-11/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: remove unused variablesMichael Niedermayer2014-06-301-3/+0
| | | | | | | | | | Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: Check input buffer size in parse_presentation_segment()Michael Niedermayer2014-06-301-0/+8
| | | | | | | | | | | | Might fix overread, no testcase known though. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '253d0be6a1ecc343d29ff8e1df0ddf961ab9c772'Michael Niedermayer2014-06-301-120/+239
|\| | | | | | | | | | | | | | | | | | | | | | | | | * commit '253d0be6a1ecc343d29ff8e1df0ddf961ab9c772': pgssubdec: handle more complex PGS scenarios Conflicts: libavcodec/pgssubdec.c Some of this has been split out and commited in cleanly split patches immedeately before this merge Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * pgssubdec: handle more complex PGS scenariosJohn Stebbins2014-06-301-130/+294
| | | | | | | | | | | | | | | | | | Add ability to handle multiple palettes and objects simultaneously. Each simultaneous object is given its own AVSubtitleRect. Note that there can be up to 64 currently valid objects, but only 2 at any one time can be "presented". Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/pgssubdec: fix end display timeJohn Stebbins2014-06-301-1/+4
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: Bail out of decode_rle() if error and AV_EF_EXPLODE is setJohn Stebbins2014-06-301-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: better error codesJohn Stebbins2014-06-301-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: Pass AVSubtitleRect to decode_rle()John Stebbins2014-06-301-11/+11
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: split out flush_cache()John Stebbins2014-06-301-10/+14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: do not fail when part of the packet is faulty unless ↵John Stebbins2014-06-301-6/+11
| | | | | | | | | | | | AV_EF_EXPLODE is set Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/pgssubdec: rename PICTURE_SEGMENTJohn Stebbins2014-06-301-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/huffyuvencdsp: try to fix misaligned accessMichael Niedermayer2014-06-291-1/+1
| | | | | | | | | | | | Should fix fate on MIPS Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cavs: improve conformance with rm52j reference decoderYao Wang2014-06-281-8/+18
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/cavs: make cavs_chroma_qp non staticMichael Niedermayer2014-06-283-9/+10
| | | | | | | | | | | | | | | | The table is needed by multiple files Reverts part of ef07ac1e126b95ad7e1b56504c19b59901265c3e Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo: dont overwrite emu_edge bufferMichael Niedermayer2014-06-282-2/+3
| | | | | | | | | | | | Fixes vsynth3 fate failures on mips Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/mpegvideo_enc: reduce space between blocks in emu_edge in ↵Michael Niedermayer2014-06-281-4/+4
| | | | | | | | encode_mb_internal
* | Revert "x86/videodsp: add emulated_edge_mc_mmxext"Michael Niedermayer2014-06-282-74/+29
| | | | | | | | | | | | | | | | | | | | The commit causes minor out of array reads and was mainly intended for future optimizations which turned out not to be meassurably faster. Itself it was just 1 cpu cycle faster Approved-by: jamrial This reverts commit 057d2704e78b52fec357b4fc646c9de37a085413.
* | avcodec/mpeg12dec: Limit progressive_seq reinitilaization to where the ↵Michael Niedermayer2014-06-281-1/+1
| | | | | | | | | | | | | | | | resolution changes Fixes Ticket3743 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vp8: Fix multiple ff_thread_finish_setup() callsMichael Niedermayer2014-06-271-1/+2
| | | | | | | | | | | | Fixes Ticket3725 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '5dd8c08fd5e4c04d7a08d8934f0098a8a4a35c28'Michael Niedermayer2014-06-273-10/+11
|\| | | | | | | | | | | | | | | | | | | * commit '5dd8c08fd5e4c04d7a08d8934f0098a8a4a35c28': mpeg: Change ff_convert_matrix() to take an MpegEncContext parameter Conflicts: libavcodec/mpegvideo.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * mpeg: Change ff_convert_matrix() to take an MpegEncContext parameterDiego Biurrun2014-06-273-7/+8
| | | | | | | | This will come in handy during dsputil splitting.
* | Merge commit 'e63b818dbe6060b606ae10eb184859f8b97d2353'Michael Niedermayer2014-06-273-26/+39
|\| | | | | | | | | | | | | | | | | | | * commit 'e63b818dbe6060b606ae10eb184859f8b97d2353': dv: Properly split decoder and encoder initialization Conflicts: libavcodec/dv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dv: Properly split decoder and encoder initializationDiego Biurrun2014-06-273-19/+31
| |
* | avcodec/dvbsubdec: fix ignoring blank frame by updating got_outputAnshul Maheshwari2014-06-271-8/+7
| | | | | | | | | | | | fix ticket 3737 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/snow: factor ff_snow_get_buffer() outMichael Niedermayer2014-06-273-22/+24
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd2869aea0494d3a20d53d5034cd41dbb488eb133'Michael Niedermayer2014-06-273-22/+40
|\| | | | | | | | | | | | | * commit 'd2869aea0494d3a20d53d5034cd41dbb488eb133': dsputil: Move MMX/SSE2-optimized IDCT bits to the x86 subdirectory Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Move MMX/SSE2-optimized IDCT bits to the x86 subdirectoryDiego Biurrun2014-06-263-22/+40
| |
* | Merge commit '24f45c16224d4c5d482e928676714766ffdda4fc'Michael Niedermayer2014-06-271-2/+20
|\| | | | | | | | | | | | | | | | | | | | | * commit '24f45c16224d4c5d482e928676714766ffdda4fc': fate: Add dependencies for dct/fft/mdct/rdft tests Conflicts: libavcodec/fft-test.c tests/fate/fft.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * fate: Add dependencies for dct/fft/mdct/rdft testsDiego Biurrun2014-06-261-0/+22
| |
* | Merge commit '5ec6d152e26c570c0a16ec72c1f354db95708179'Michael Niedermayer2014-06-276-56/+236
|\| | | | | | | | | | | | | | | | | | | * commit '5ec6d152e26c570c0a16ec72c1f354db95708179': indeo4: B-frames decoding Conflicts: libavcodec/ivi_common.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * indeo4: B-frames decodingDirk Ausserhaus2014-06-266-58/+238
| | | | | | | | Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>