summaryrefslogtreecommitdiffstats
path: root/libavcodec
Commit message (Collapse)AuthorAgeFilesLines
...
* x86: cabac: remove hardcoded ebx in inline asmMans Rullgard2011-06-202-60/+63
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: cabac: remove hardcoded struct offsets from inline asmMans Rullgard2011-06-202-40/+41
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* cabac: remove inline asm under #if 0Mans Rullgard2011-06-201-31/+0
| | | | | | 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-202-113/+1
| | | | | | 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-201-62/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* error_resilience: skip last-MV predictor step if MVs are not available.Ronald Bultje2011-06-201-0/+4
| | | | Fixes crashes when playing broken MPEG2-TS streams.
* error_resilience: actually add counter when adding a MV predictor.Ronald Bultje2011-06-201-0/+1
| | | | Without, the predictor isn't actually used.
* qdm2: Fix alignment of local array.Michael Niedermayer2011-06-201-3/+3
| | | | | | | 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-201-0/+2
|
* sipr: Drop unused DSPContextAlex Converse2011-06-182-3/+0
|
* sipr: include string.h for mem*()Alex Converse2011-06-181-0/+1
|
* sipr: Use memmove() to copy overlapped buffers.Alex Converse2011-06-181-1/+1
|
* h264: drop some ugly castsAlex Converse2011-06-181-2/+2
|
* Fix build if yasm is not available.Ronald S. Bultje2011-06-181-1/+3
|
* H.264: Add x86 assembly for 10-bit MC Chroma H.264 functions.Daniel Kang2011-06-183-0/+306
| | | | | | Mainly ported from 8-bit H.264 MC Chroma. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* lavc: add opt_find to AVCodecContext class.Anton Khirnov2011-06-171-1/+20
| | | | | Fixes encoder private options, which are broken now in ffmpeg, because opt_default2() can't find them, thus making opt_default() to fail.
* h264: Complexify frame num gap shortening codeAlexander Strange2011-06-161-3/+14
| | | | | | | | By observation it did not seem to handle prev_frame_num > frame_num. This does not affect any files I have. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Fix decoding of mpegts streams with h264 video that does *NOT* have b framesMike Scheutzow2011-06-161-1/+2
| | | | | | | | | | | | | | | One of the causes of this bug is that the h264 parser defaults low_delay to 1, but the h264 codec defaults low_delay to 0. Really Ugly. After many hours of looking at this, I'm still not sure how has_b_frames is *intended* to behave, but to me the implementation appears way more complicated than it ought to be. My patch relies on the encoder to set an optional field in the SPS. This works for libx264 streams, but I'm not sure that all h264 encoders will set it. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ac3enc: use correct alignment and length in channel coupling dsp functions.Justin Ruggles2011-06-151-11/+13
| | | | This fixes a segfault when using the C version of ac3dsp.float_to_fixed24().
* ARM: update ff_h264_idct8_add4_neon for 4:4:4 changesMans Rullgard2011-06-152-19/+25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: factor some repetitive code into macrosMans Rullgard2011-06-142-174/+69
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix SVQ3 after adding 4:4:4 H.264 supportJason Garrett-Glaser2011-06-131-12/+16
|
* H.264: fix CODEC_FLAG_GRAYJason Garrett-Glaser2011-06-132-65/+84
| | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.
* 4:4:4 H.264 decoding supportJason Garrett-Glaser2011-06-1318-646/+1608
| | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
* ac3enc: fix allocation of floating point samples.Justin Ruggles2011-06-133-9/+32
| | | | sizeof(SampleType) is different for fixed and float encoders.
* ac3enc: remove empty ac3_float function that is never calledJustin Ruggles2011-06-133-12/+0
|
* ac3enc: split templated float vs. fixed functions into a separate file.Justin Ruggles2011-06-138-445/+577
| | | | | Function pointers are used for templated functions instead of needlessly duplicating many functions.
* ac3enc: dynamically allocate AC3EncodeContext fields windowed_samples and mdctJustin Ruggles2011-06-132-8/+12
| | | | | This will allow the same struct to be used for both the fixed and float ac3 encoders.
* ac3enc: use function pointer to choose between AC-3 and E-AC-3 header outputJustin Ruggles2011-06-132-4/+9
| | | | functions.
* Roll back 4:4:4 H.264 for nowJason Garrett-Glaser2011-06-1317-1669/+687
| | | | Needs some ARM/PPC asm modifications.
* Fix SVQ3 after adding 4:4:4 H.264 supportJason Garrett-Glaser2011-06-131-12/+16
|
* H.264: fix CODEC_FLAG_GRAYJason Garrett-Glaser2011-06-132-65/+84
| | | | It was broken in 4:4:4, and still did chroma deblocking for no reason in 4:2:0.
* 4:4:4 H.264 decoding supportJason Garrett-Glaser2011-06-1316-635/+1594
| | | | Note: this is 4:4:4 from the 2007 spec revision, not the previous (now deprecated) 4:4:4 mode in H.264.
* h264_parser: Fix whitespace after previous change.Philip Langdale2011-06-131-14/+15
| | | | | Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.Philip Langdale2011-06-131-1/+1
| | | | | | | | | | Currently, the parser is buggy and only processes the stream extradata when the flag is set. This fixes it to actually inspect the frames. Whitespce will be fixed in a separate change. Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: don't be so picky on decoding pps in extradata.Michael Niedermayer2011-06-131-1/+1
| | | | | | | Fixes issue2517 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* avcodec.h: add or elaborate on some documentation comments.Wim Lewis2011-06-131-5/+31
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* h264: change a few comments into error messagesMichael Niedermayer2011-06-131-7/+17
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ac3dec: fix doxy-style for comment ("///>" should be "///<" instead).Reimar Döffinger2011-06-131-1/+1
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ffv1: fix undefined behavior with insane widths.Michael Niedermayer2011-06-132-3/+5
| | | | | | | The new tables is large enough to prevent this together with our image size checks. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* ARM: jrevdct_arm: simplify stack usageMans Rullgard2011-06-131-6/+3
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: jrevdct_arm: use push/pop mnemonicsMans Rullgard2011-06-131-8/+8
| | | | | | | Use push/pop instead of stmdb/ldmia for stack operations. This is the preferred syntax. Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: jrevdct_arm: misc cleanupMans Rullgard2011-06-131-6/+4
| | | | | | | | - use 'const' macro to define coeff table - add missing endfunc - remove superflous directives Signed-off-by: Mans Rullgard <mans@mansr.com>
* ARM: optimised mpadsp_apply_window_fixedMans Rullgard2011-06-135-0/+181
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* bitstream: Properly promote av_reverse values before shifting.Alex Converse2011-06-101-4/+4
|
* H.264: Fix high bit depth explicit biweightJason Garrett-Glaser2011-06-101-0/+1
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* h264: Fix 10-bit H.264 x86 chroma v loopfilter asm.Oskar Arvidsson2011-06-101-1/+8
| | | | | | The tc variable was not splatted correctly. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Update copyright year for ac3enc_opts_template.c.Justin Ruggles2011-06-101-1/+1
| | | | The code was originally committed to Libav on March 25, 2011.
* rtpenc: MP4A-LATM payload supportJuan Carlos Rodriguez2011-06-101-1/+1
| | | | | | | This is enabled with an AVOption on the RTP muxer. The SDP generator looks for a latm flag in the rtpflags field. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: more advanced ffmpeg mpeg2 aspect guessing code.Michael Niedermayer2011-06-101-2/+16
| | | | | | | Fixes issue1613, 621, 562 simultaneously Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud