summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-23
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: configure: add --optflags option build: move documentation rules to doc/Makefile build: move test rules to tests/Makefile ac3enc: remove unneeded local variable in asym_quant() ac3enc: remove a branch in asym_quant() by doing 2 shifts ac3enc: avoid masking output in asym_quant() by using signed values for quantized mantissas. H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFF H.264: fix 4:4:4 + deblocking + MBAFF H.264: fix 4:4:4 cropping warning H.264: reference the correct SPS in decode_scaling_matrices H.264: fix bug in lossless 4:4:4 decoding Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * ac3enc: remove unneeded local variable in asym_quant()Justin Ruggles2011-06-22
| |
| * ac3enc: remove a branch in asym_quant() by doing 2 shiftsJustin Ruggles2011-06-22
| |
| * ac3enc: avoid masking output in asym_quant() by using signed values forJustin Ruggles2011-06-22
| | | | | | | | quantized mantissas.
| * H.264: fix 4:4:4 + deblocking + 8x8dct + cavlc + MBAFFJason Garrett-Glaser2011-06-22
| |
| * H.264: fix 4:4:4 + deblocking + MBAFFJason Garrett-Glaser2011-06-22
| |
| * H.264: fix 4:4:4 cropping warningJason Garrett-Glaser2011-06-22
| |
| * H.264: reference the correct SPS in decode_scaling_matricesJason Garrett-Glaser2011-06-22
| |
| * H.264: fix bug in lossless 4:4:4 decodingJason Garrett-Glaser2011-06-22
| | | | | | | | Coefficient test for i16x16 add_pixels4 assumed luma plane.
* | Use HAVE_TEN_OPERANDS for new decode_significance* functions.Carl Eugen Hoyos2011-06-22
| |
* | CrystalHD: Always identify H.264 streams as Annex B.Philip Langdale2011-06-21
| | | | | | | | | | | | | | Now that we're converting all streams to Annex B format, we can identify them as such to the hardware. Signed-off-by: Philip Langdale <philipl@overt.org>
* | CrystalHD: Always send filtered H.264 stream to hardware.Philip Langdale2011-06-21
| | | | | | | | | | | | | | | | As we're now always running mp4 format streams through the annex b filter, it makes sense to pass the filtered stream down, as libcrystalhd would be doing the conversion internally anyway. Signed-off-by: Philip Langdale <philipl@overt.org>
* | CrystalHD: Simplfy extradata handling for non-Annex B content.Philip Langdale2011-06-21
| | | | | | | | | | | | | | | | | | | | Originally, we needed to restore the original extradata after initialising the mp4toannexb filter because mplayer would end up taking two passes through the init sequence for the same stream and end up miscategorising the stream. This doesn't seem to happen anymore, making the backup/restore process unnecessary. Signed-off-by: Philip Langdale <philipl@overt.org>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-22
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: rawdec: Fix decoding of QT WRAW files. configure: report optimization for size separately mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers. mov: Support R10g codec identifier. riff/img2: Add JPEG 2000 codec IDs. riff: Add DAVC fourcc. riff: Add M263, XVIX, MMJP, CDV5 fourccs. rawvideo: Support auv2 fourcc. swscale: Remove unused variable from ff_bfin_get_unscaled_swscale(). h264: Fix assert that failed to compile with -DDEBUG. h264: Add x86 assembly for 10-bit weight/biweight H.264 functions. fate: remove output redirections from old regtest scripts Conflicts: configure libavcodec/rawdec.c libavformat/isom.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * rawdec: Fix decoding of QT WRAW files.ami_stuff2011-06-21
| | | | | | | | | | | | | | From some tests it results that: 1. All of the AVI/MOV WRAW files need to be flipped. 2. MOV WRAW files need to use AVI color modes. 3. Assigning PAL8 mode by default to WRAW codec is not correct.
| * mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.Carl Eugen Hoyos2011-06-21
| |
| * rawvideo: Support auv2 fourcc.ami_stuff2011-06-21
| |
| * h264: Fix assert that failed to compile with -DDEBUG.Diego Biurrun2011-06-21
| | | | | | | | The assert referenced a variable that no longer exists since 4:4:4 support.
| * h264: Add x86 assembly for 10-bit weight/biweight H.264 functions.Daniel Kang2011-06-21
| | | | | | | | | | | | Mainly ported from 8-bit H.264 weight/biweight. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* | A cmp instruction with two constants is invalid, thus "g" constraintReimar Döffinger2011-06-21
| | | | | | | | | | | | | | is not correct but must be "rm" instead. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | wma: fix infinite loopMichael Niedermayer2011-06-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Fix H.264 4:4:4 lossless decoding.Jason Garrett-Glaser2011-06-21
| | | | | | | | The coefficient test for i16x16 add_pixels4 assumed luma plane.
* | libx264: fix open gop default.Michael Niedermayer2011-06-21
| | | | | | | | | | | | | | Please use -x264opts to force open gop This fixes Ticket268 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-21
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample(). x86: cabac: fix register constraints for 32-bit mode cabac: move x86 asm to libavcodec/x86/cabac.h x86: h264: cast pointers to intptr_t rather than int x86: h264: remove hardcoded edi in decode_significance_8x8_x86() x86: h264: remove hardcoded esi in decode_significance[_8x8]_x86() x86: h264: remove hardcoded edx in decode_significance[_8x8]_x86() x86: h264: remove hardcoded eax in decode_significance[_8x8]_x86() x86: cabac: change 'a' constraint to 'r' in get_cabac_inline() x86: cabac: remove hardcoded esi in get_cabac_inline() x86: cabac: remove hardcoded edx in get_cabac_inline() x86: cabac: remove unused macro parameter x86: cabac: remove hardcoded ebx in inline asm x86: cabac: remove hardcoded struct offsets from inline asm cabac: remove inline asm under #if 0 cabac: remove BRANCHLESS_CABAC_DECODER switch cabac: remove #if 0 cascade under never-set #ifdef ARCH_X86_DISABLED document libswscale bump error_resilience: skip last-MV predictor step if MVs are not available. error_resilience: actually add counter when adding a MV predictor. ... Conflicts: Changelog libavcodec/error_resilience.c libavfilter/defaults.c libavfilter/vf_drawtext.c libswscale/swscale.h tests/ref/vsynth1/error tests/ref/vsynth2/error Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().Justin Ruggles2011-06-20
| | | | | | | | av_get_bits_per_sample_fmt() is deprecated.
| * x86: cabac: fix register constraints for 32-bit modeMans Rullgard2011-06-20
| | | | | | | | | | | | | | | | Some operands need to be accessed in byte mode, which restricts the available registers in 32-bit mode. Using the 'q' constraint selects a suitable register. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: move x86 asm to libavcodec/x86/cabac.hMans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: h264: cast pointers to intptr_t rather than intMans Rullgard2011-06-20
| | | | | | | | | | | | | | Only the low-order bits are used here so the type is not important, but this avoids a compiler warning. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: h264: remove hardcoded edi in decode_significance_8x8_x86()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: h264: remove hardcoded esi in decode_significance[_8x8]_x86()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: h264: remove hardcoded edx in decode_significance[_8x8]_x86()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: h264: remove hardcoded eax in decode_significance[_8x8]_x86()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: change 'a' constraint to 'r' in get_cabac_inline()Mans Rullgard2011-06-20
| | | | | | | | | | | | Nothing requires this value in %eax. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded esi in get_cabac_inline()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded edx in get_cabac_inline()Mans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove unused macro parameterMans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded ebx in inline asmMans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * x86: cabac: remove hardcoded struct offsets from inline asmMans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove inline asm under #if 0Mans Rullgard2011-06-20
| | | | | | | | | | | | A comment says it's not faster than the C code. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove BRANCHLESS_CABAC_DECODER switchMans Rullgard2011-06-20
| | | | | | | | | | | | The code does not compile without this set. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cabac: remove #if 0 cascade under never-set #ifdef ARCH_X86_DISABLEDMans Rullgard2011-06-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * error_resilience: skip last-MV predictor step if MVs are not available.Ronald Bultje2011-06-20
| | | | | | | | Fixes crashes when playing broken MPEG2-TS streams.
| * error_resilience: actually add counter when adding a MV predictor.Ronald Bultje2011-06-20
| | | | | | | | Without, the predictor isn't actually used.
| * qdm2: Fix alignment of local array.Michael Niedermayer2011-06-20
| | | | | | | | | | | | | | Fixes ticket270 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
| * h264-mt: fix deadlock in packets with multiple slices (e.g. MP4).Ronald S. Bultje2011-06-20
| |
* | mpegaudio_parser: be less picky on the start positionMichael Niedermayer2011-06-21
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | ppc32: Fix movrelKim Nguyen2011-06-21
| | | | | | | | Fixes ticket272
* | Fix bink audio playback outside of FFmpeg.Ivan Kalvachev2011-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are 2 known Bink audio codecs. Additionally they have a different flavor if they are found inside Bink-b "BIKb" file. In order to guess the correct flavor, the demuxer sets the audio codec_tag to be the same as the file format tag. This causes problem because same tag is used for both audio codecs. The hack works in FFmpeg because audio codecs are identified by their codec_id, but other players rely on standard behavior. This fix removes the codec_tag hack and instead uses artificial extradata format to signal the codec flavor. This would also allow proper embedding of Bink audio in other containers. Signed-off-by: Ivan Kalvachev <ikalvachev@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Drop git- prefix from version labels Use the contents of RELEASE as version fallback instead of 'UNKNOWN' path64/open64: filter out unsupported flags Add Release Notes sipr: Drop unused DSPContext sipr: include string.h for mem*() sipr: Use memmove() to copy overlapped buffers. h264: drop some ugly casts Conflicts: version.sh Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sipr: Drop unused DSPContextAlex Converse2011-06-18
| |