summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2'Michael Niedermayer2014-06-2240-384/+657
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9a9e2f1c8aa4539a261625145e5c1f46a8106ac2': dsputil: Split audio operations off into a separate context Conflicts: configure libavcodec/takdec.c libavcodec/x86/Makefile libavcodec/x86/dsputil.asm libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/dsputil_x86.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split audio operations off into a separate contextDiego Biurrun2014-06-2234-400/+689
| |
* | avcodec/libtwolame: fix encoding lsf with defaultsMichael Niedermayer2014-06-211-1/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/bitstream: document the double volatileMichael Niedermayer2014-06-211-1/+1
| | | | | | | | | | Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/ituh263enc: fix advanced intra codingMichael Niedermayer2014-06-211-10/+5
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'ca1e36a8e4cd416142487071dbca734567bdaddf'Michael Niedermayer2014-06-201-1/+4
|\ \ | |/ | | | | | | | | | | | | | | | | * commit 'ca1e36a8e4cd416142487071dbca734567bdaddf': h264: fix build when error resilience is disabled Conflicts: libavcodec/h264_picture.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * h264: fix build when error resilience is disabledVittorio Giovara2014-06-201-1/+4
| |
* | avcodec/utils: check sar only when width/height are setMichael Niedermayer2014-06-201-1/+2
| | | | | | | | | | | | This fixes loosing the perfectly valid SAR when width=height=0 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2'Michael Niedermayer2014-06-2015-10/+78
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | * commit '9e500efdbe0deeff1602500ebc229a0a6b6bb1a2': Add av_image_check_sar() and use it to validate SAR Conflicts: libavcodec/dpx.c libavcodec/dvdec.c libavcodec/ffv1dec.c libavcodec/utils.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add av_image_check_sar() and use it to validate SARJustin Ruggles2014-06-2015-13/+74
| |
* | avcodec/bitstream: try to workaround internal compiler bug in gcc 4.2Michael Niedermayer2014-06-201-1/+1
| | | | | | | | | | | | | | gcc 4.2 seems not maintained anymore so theres no option besides just working around it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/rv40dsp_init: fix () in macrosMichael Niedermayer2014-06-201-6/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wavpackenc: fix () in macrosMichael Niedermayer2014-06-201-7/+7
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'd349afb07bacccb62eb5369c38d6406d2909d792'Michael Niedermayer2014-06-201-37/+37
|\ \ | |/ | | | | | | | | | | * commit 'd349afb07bacccb62eb5369c38d6406d2909d792': dv: cosmetics, reindent Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dv: cosmetics, reindentAnton Khirnov2014-06-201-37/+37
| |
* | Merge commit '650dee63c8b1e6693c6cf5983f4a5ed3f571379f'Michael Niedermayer2014-06-206-58/+30
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | * commit '650dee63c8b1e6693c6cf5983f4a5ed3f571379f': dv: get rid of global non-const tables Conflicts: libavcodec/dv_profile.h libavcodec/dvdec.c libavcodec/dvenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dv: get rid of global non-const tablesAnton Khirnov2014-06-206-58/+30
| | | | | | | | Instead, store them in the context and compute on each parameter change.
* | Merge commit '778111592bf5f38630858ee6dfcfd097cd6c6da9'Michael Niedermayer2014-06-201-4/+10
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '778111592bf5f38630858ee6dfcfd097cd6c6da9': dvenc: initialize the profile only once, at init Conflicts: libavcodec/dvenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dvenc: initialize the profile only once, at initAnton Khirnov2014-06-201-4/+10
| | | | | | | | | | We do not allow the frame parameters to change during encoding, so there is no need to do this for each frame.
* | Merge commit '874390e163427c1fe7682ab27924a7843780dbb3'Michael Niedermayer2014-06-203-1/+27
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '874390e163427c1fe7682ab27924a7843780dbb3': lavc: add a convenience function for rescaling timestamps in a packet Conflicts: libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: add a convenience function for rescaling timestamps in a packetAnton Khirnov2014-06-203-1/+27
| |
* | lavc/h264_slice: clarify informational message in case of disabled slice ↵Stefano Sabatini2014-06-201-1/+4
| | | | | | | | | | | | multi-threaded decoding Also suggest what can be done to workaround the limitation.
* | alpha/blockdsp: move clear_blocks out of dsputilJames Almer2014-06-195-23/+56
| | | | | | | | | | | | | | The blockdsp split did not cover Alpha optimizations Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/h264: Use named identifier for single thread fall-back return from ↵Michael Niedermayer2014-06-193-2/+3
| | | | | | | | | | | | ff_h264_decode_slice_header() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/blockdsp: restore author attributionJames Almer2014-06-191-1/+3
| | | | | | | | | | | | | | | | | | | | See commits 649c00c96d7044aed46d70623e47d7434318e6b9 5fecfb7d58a12baf326e99f2d071060f2638d93c 73b02e24604961e49a63ca34203d8f6c56612117 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'b2290bf10b12b7772f55fcab014a47e18e9fdef2'Michael Niedermayer2014-06-191-0/+4
|\ \ | |/ | | | | | | | | | | * commit 'b2290bf10b12b7772f55fcab014a47e18e9fdef2': i263: skip dummy frames Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * i263: skip dummy framesDirk Ausserhaus2014-06-191-0/+4
| | | | | | | | | | | | | | Intel i263 codec has special 8-byte dummy frames that should not be decoded, so do not even attempt to decode them and skip them instead. Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
* | avcodec: add simpleauto idctMichael Niedermayer2014-06-195-0/+5
| | | | | | | | | | | | This will pick the "best" simple idct compatible idct Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/hevc_idct: fix movd parameter size in DC_ADD_INITJames Almer2014-06-191-1/+1
| | | | | | | | | | | | | | Fixes compilation with NASM x86_64 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | x86/blockdsp: move asm code out of dsputilJames Almer2014-06-194-64/+88
| | | | | | | | | | | | | | | | Also replace INLINE_<opt> with EXTERNAL_<opt> that were wrongly changed by commit 2b05db4f8102148d013755ac2a7e47f6d79ff7ca Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | huffyuv: change statistics initializationChristophe Gisquet2014-06-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Normally, a Laplace distribution is more typical of the residuals encoded, but for noisy input, it's both better and simpler to be safe and use a 1/d^2 distribution. Second hunk could use some renormalization but it has effectively little impact. Output size of ffvhuff on various 4:2:0 sequences: context=0,1/d: 851974 27226 1137281 context=0,1/d²: 619081 25069 1051500 context=0,1/d³: 501983 30454 1290561 context=0,lapl: 500650 31754 1304082 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/x86/lossless_videodsp: Fix size of values read for left/left_topMichael Niedermayer2014-06-191-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'e74433a8e6fc00c8dbde293c97a3e45384c2c1d9'Michael Niedermayer2014-06-1954-277/+606
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e74433a8e6fc00c8dbde293c97a3e45384c2c1d9': dsputil: Split clear_block*/fill_block* off into a separate context Conflicts: configure libavcodec/asvdec.c libavcodec/dnxhddec.c libavcodec/dnxhdenc.c libavcodec/dsputil.h libavcodec/eamad.c libavcodec/intrax8.c libavcodec/mjpegdec.c libavcodec/ppc/dsputil_ppc.c libavcodec/vc1dec.c libavcodec/x86/dsputil_init.c libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dsputil: Split clear_block*/fill_block* off into a separate contextDiego Biurrun2014-06-1852-344/+659
| |
* | ppc: Fix the bug of fft for little endian environment on POWER7 and laterRong Yan2014-06-194-0/+1070
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '869fc416f7c78ed4e397e0208acd1545771c0502'Michael Niedermayer2014-06-181-1/+1
|\ \ | |/ | | | | | | | | | | * commit '869fc416f7c78ed4e397e0208acd1545771c0502': hevc: Mark num_bins_in_se as unused Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * hevc: Mark num_bins_in_se as unusedLuca Barbato2014-06-181-1/+1
| | | | | | | | Only its size is actually used. Silence a clang warning.
* | avcodec/ass: move playres parameters below scripttypeClément Bœsch2014-06-181-1/+1
| | | | | | | | Suggested-by: wm4
* | avcodec/ass: explicit PlayRes[XY]Clément Bœsch2014-06-181-0/+2
| | | | | | | | | | | | | | | | This avoids the following libass warning when using the subtitles filter: "Neither PlayResX nor PlayResY defined. Assuming 384x288" Subtitles tests change because the output is ASS and the PlayRes[XY] ends up in the output.
* | avcodec/huffyuvdec: do not leave alpha values uninitializedMichael Niedermayer2014-06-181-1/+2
| | | | | | | | | | | | fixes fate failure under valgrind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix all VDPAU decoders.Carl Eugen Hoyos2014-06-181-0/+3
| | | | | | | | Fixes ticket #3726.
* | avcodec/dcadec: remove unsignedness from constantMichael Niedermayer2014-06-181-8/+1
| | | | | | | | | | | | | | POSIX gurantees >=32bit so it all fits in signed int Also >=32bit ints are assumed througout the codebase Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'f2ce63246f5c934429f9cb857a794e07624d7912'Michael Niedermayer2014-06-181-0/+6
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | * commit 'f2ce63246f5c934429f9cb857a794e07624d7912': dcadec: replace ldexpf with a multiplication by a constant Conflicts: libavcodec/dcadec.c See: 6da06ef6bbc01b713f67ffb94e7697eb2393ebe4 See: 9ccb5455ca8c63eb330abd3c2ed6a9b0ae3b755e See: 6b88f22e895314164eef00ccbdbf11ad97a7c56f Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * dcadec: replace ldexpf with a multiplication by a constantNiels Möller2014-06-181-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * vp9 encoder: use a decent default speed settingRafaël Carré2014-06-171-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | avcodec/cavsdec: simplify % 512 operationsMichael Niedermayer2014-06-181-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vp8: fix () in macrosMichael Niedermayer2014-06-182-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/vp9: fix () in macrosMichael Niedermayer2014-06-182-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/wavpack: fix () in macrosMichael Niedermayer2014-06-182-3/+3
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '49106844929b7b71ac719064d640f8aa56c89b1f'Michael Niedermayer2014-06-181-3/+5
|\ \ | |/ | | | | | | | | | | | | | | | | * commit '49106844929b7b71ac719064d640f8aa56c89b1f': tiffenc: fix packet size calculation Conflicts: libavcodec/tiffenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>