summaryrefslogtreecommitdiff
path: root/libavcodec
Commit message (Collapse)AuthorAge
* flacdec: Avoid trying to read 33 bits. This occurs when the sourceJustin Ruggles2009-03-03
| | | | | | | is 32 bits-per-sample and channel decorrelation is used. Such files are valid, but not supported currently. Originally committed as revision 17743 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: ALT_BITSTREAM_READER is no longer required.Justin Ruggles2009-03-03
| | | | Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: use get_sbits_long() where needed.Justin Ruggles2009-03-03
| | | | Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add a get_sbits_long() function.Justin Ruggles2009-03-03
| | | | Originally committed as revision 17740 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ALAC: use sign_extend() from mathops.hMåns Rullgård2009-03-03
| | | | Originally committed as revision 17739 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add sign_extend() function to mathops.hMåns Rullgård2009-03-03
| | | | Originally committed as revision 17738 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify show_bits_long and copy the GetBitsContext around only once instead ↵Reimar Döffinger2009-03-02
| | | | | | of twice. Originally committed as revision 17736 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flacdec: Use get/skip_bits_long() for more than 17-bits andJustin Ruggles2009-03-02
| | | | | | get/skip_bits() for 17-bits or less. Originally committed as revision 17735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Factor out block decoding in ff_h263_decode_mb()Kostya Shishkov2009-03-02
| | | | Originally committed as revision 17734 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consider all packets in the parser, not just ones with timestamps,Michael Niedermayer2009-03-02
| | | | | | this should greatly simplify handling of packet pos. Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Favor container packets that end after the first byte of the accessMichael Niedermayer2009-03-02
| | | | | | | unit in fetch_timestamp(). This should make no difference for valid streams but may help invalid ones, also its needed for future changes. Originally committed as revision 17732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found insteadMichael Niedermayer2009-03-02
| | | | | | | | | | | | of calling it at the end of a frame with a large negative offset. This significantly reduces the maximal distance in container packets between the point where the first byte of the "access unit" was stored and where we call ff_fetch_timestamp() thus reducing the constraints on our parser. Also change the parser from next_frame_offset to cur, this is needed because now the reference is from container packet start instead of frame start. (i previously misinterpreted this as bug) Originally committed as revision 17731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Merge three conditions in a single 'if' instead of two.Benoit Fouet2009-03-02
| | | | Originally committed as revision 17728 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat long_names so that "DPCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17721 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat long_names so that "ADPCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17720 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Reformat long_names so that "PCM" comes first.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
* small spelling/grammar fixesDiego Biurrun2009-03-02
| | | | Originally committed as revision 17718 to svn://svn.ffmpeg.org/ffmpeg/trunk
* xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change a bunch of codec long_names to be more consistent and descriptive.Diego Biurrun2009-03-02
| | | | Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some missing codecs and update names to match the codec long_nameJustin Ruggles2009-03-02
| | | | | | or vice-versa. Originally committed as revision 17706 to svn://svn.ffmpeg.org/ffmpeg/trunk
* RA144: work around gcc bug/oddity on ARMMåns Rullgård2009-03-01
| | | | | | | | | This should not make any difference, yet some gcc versions on ARM produce incorrect output without this fix. Approved by Vitor. Originally committed as revision 17698 to svn://svn.ffmpeg.org/ffmpeg/trunk
* SVQ3: Fix decoding with A32_BITSTREAM_READERMåns Rullgård2009-03-01
| | | | | | | | | svq3_decode_slice_header() modifies the buffer used by the bitstream reader. Some of the bitstream readers cache a few bytes of data, which must be flushed after such a modification. Calling skip_bits_long(gb, 0) achieves this. Originally committed as revision 17680 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: fix missing MUL16() return typeMåns Rullgård2009-03-01
| | | | Originally committed as revision 17679 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent after last commitVitor Sessak2009-03-01
| | | | Originally committed as revision 17678 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not read uninitialized buffer, no matter if it will be multiplied byVitor Sessak2009-03-01
| | | | | | | zero later. This should fix some valgrind warnings and hopefully FATE ra144 test on ARM. Originally committed as revision 17677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable in mpeg_mc_decode_initReimar Döffinger2009-03-01
| | | | Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not set low_delay if has_b_frames has been set before init()Michael Niedermayer2009-03-01
| | | | | | | this will be needed once the parser can figure out has_b_frames in av_find_stream_info(). Originally committed as revision 17673 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AAC: Make the CPE function more consistent with the functions for other ↵Alex Converse2009-03-01
| | | | | | channel elements. Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Adjust time_base exactly when changing ticks_per_frame to 2 this is saferMichael Niedermayer2009-02-28
| | | | | | and for some raw h264 we managed to change the timebase twice before. Originally committed as revision 17669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: fix corner-case overflow in H.264 weighted predictionMåns Rullgård2009-02-28
| | | | Originally committed as revision 17657 to svn://svn.ffmpeg.org/ffmpeg/trunk
* sub_mb_type[] needs to be 8-byte aligned because it is referencedDavid S. Miller2009-02-28
| | | | | | | as a uint64_t in get_dct8x8_allowed(). Patch by David S. Miller <davem at davemloft dot net> Originally committed as revision 17655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix avpicture_layout to not chroma shift the alpha plane when outputting ↵Cédric Schieli2009-02-28
| | | | | | YUVA420P Originally committed as revision 17654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Correctly reset SEI variables.Ivan Schreter2009-02-27
| | | | | | Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17651 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ff_print_debug_info() a no-op when using HW acceleration.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenolé Beauchesne. Originally committed as revision 17646 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenolé Beauchesne. Originally committed as revision 17645 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add hardware acceleration hooks to H.264.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenolé Beauchesne. Originally committed as revision 17644 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix SVQ3 regression since ticks_per_frame=2.Michael Niedermayer2009-02-27
| | | | Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add HW acceleration hooks for MPEG-4 / H.263 decoding.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenole Beauchesne. Originally committed as revision 17637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove superfluous call to mpeg_decode_slice() for hwaccel, thisGwenole Beauchesne2009-02-27
| | | | | | | function already contains the needed code. Patch by Gwenole Beauchesne. Originally committed as revision 17636 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Return early if a HW accelerator is used.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenole Beauchesne. Originally committed as revision 17635 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add VA API pixel formats.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenole Beauchesne. Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ff_hwaccel_pixfmt_list_420[] definition.Gwenole Beauchesne2009-02-27
| | | | | | Patch by Gwenole Beauchesne. Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add ticks_per_frame, this should hopefully fix the regressions causedMichael Niedermayer2009-02-26
| | | | | | by the time_base change. Originally committed as revision 17630 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Half user provided time_base once during the first frame when there is noMichael Niedermayer2009-02-26
| | | | | | | timebase stored in the h264 stream. This should fix fate. (ffmpeg.c used pict_repeat with its default 1/25 timebase) Originally committed as revision 17622 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: Fix indentation after last commit.Carl Eugen Hoyos2009-02-26
| | | | Originally committed as revision 17621 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initialize H264 parser context correctly if the optional SEI messagesIvan Schreter2009-02-26
| | | | | | | | are not present. Patch by Ivan Schreter, schreter gmx net Originally committed as revision 17620 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: line wrap and indentation after last commit.Justin Ruggles2009-02-26
| | | | Originally committed as revision 17603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a shared function to validate FLAC extradata.Justin Ruggles2009-02-26
| | | | Originally committed as revision 17602 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Re-indent after last commit.Alex Converse2009-02-26
| | | | Originally committed as revision 17600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Refactor AAC unsigned band type decoding for a modest speedup.Alex Converse2009-02-26
| | | | Originally committed as revision 17599 to svn://svn.ffmpeg.org/ffmpeg/trunk