Justin Ruggles
2e78513cee
flacdec: Warn about invalid max blocksize and limit the minimum value.
...
Originally committed as revision 17751 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
09a64ee614
H.264: Simplify decode_residual()
...
Originally committed as revision 17750 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0c89ca72a5
cosmetics: remove a pointless comment
...
Originally committed as revision 17749 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
95db6659d8
flacdec: Remove unused variable, min_blocksize.
...
Originally committed as revision 17748 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
dde318d5d9
flacdec: Return error when blocksize code of 0 is found. It is a
...
reserved value per the FLAC format documentation.
Originally committed as revision 17747 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
c978997a88
Enable PB-frames decoding for H.263
...
Originally committed as revision 17746 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
685502cf3d
Add PB-frame decoding support for H.263/i263 (and enable it for i263)
...
Originally committed as revision 17745 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
6053da0182
alacdec: Simplify reading of uncompressed samples by using
...
get_sbits_long().
Originally committed as revision 17744 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5b37e2fc9a
flacdec: Avoid trying to read 33 bits. This occurs when the source
...
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
16 years ago
Justin Ruggles
505cc62f75
flacdec: ALT_BITSTREAM_READER is no longer required.
...
Originally committed as revision 17742 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9de6e090a7
flacdec: use get_sbits_long() where needed.
...
Originally committed as revision 17741 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
017c0811a1
Add a get_sbits_long() function.
...
Originally committed as revision 17740 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
8858990f07
ALAC: use sign_extend() from mathops.h
...
Originally committed as revision 17739 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
101dfa7d0a
Add sign_extend() function to mathops.h
...
Originally committed as revision 17738 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
edd532db64
Simplify show_bits_long and copy the GetBitsContext around only once instead of twice.
...
Originally committed as revision 17736 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ee4d0322e8
flacdec: Use get/skip_bits_long() for more than 17-bits and
...
get/skip_bits() for 17-bits or less.
Originally committed as revision 17735 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b89e77cff7
Factor out block decoding in ff_h263_decode_mb()
...
Originally committed as revision 17734 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7115cbda30
Consider all packets in the parser, not just ones with timestamps,
...
this should greatly simplify handling of packet pos.
Originally committed as revision 17733 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
2cc304215d
Favor container packets that end after the first byte of the access
...
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
16 years ago
Michael Niedermayer
a4c7a5ea27
Call ff_fetch_timestamp() for mpeg1/2 when a picture start code is found instead
...
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
16 years ago
Benoit Fouet
d69da18cb0
Merge three conditions in a single 'if' instead of two.
...
Originally committed as revision 17728 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
12dd57fd29
cosmetics: Reformat long_names so that "DPCM" comes first.
...
Originally committed as revision 17721 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
fd75cedd15
cosmetics: Reformat long_names so that "ADPCM" comes first.
...
Originally committed as revision 17720 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
655463b9eb
cosmetics: Reformat long_names so that "PCM" comes first.
...
Originally committed as revision 17719 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7eb2d654a2
small spelling/grammar fixes
...
Originally committed as revision 17718 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
326b554ccf
xvmc works with MPEG-2 as well as MPEG-1, note this in the codec long_name.
...
Originally committed as revision 17717 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
0ffbc258aa
Change a bunch of codec long_names to be more consistent and descriptive.
...
Originally committed as revision 17716 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
68dddf53ff
Add some missing codecs and update names to match the codec long_name
...
or vice-versa.
Originally committed as revision 17706 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
09096c9fad
RA144: work around gcc bug/oddity on ARM
...
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
16 years ago
Måns Rullgård
db794291a2
SVQ3: Fix decoding with A32_BITSTREAM_READER
...
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
16 years ago
Måns Rullgård
4cd19f6e78
ARM: fix missing MUL16() return type
...
Originally committed as revision 17679 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
8d2544bd1b
Reindent after last commit
...
Originally committed as revision 17678 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
9e27e0d4f8
Do not read uninitialized buffer, no matter if it will be multiplied by
...
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
16 years ago
Reimar Döffinger
d819b41ba1
Remove unused variable in mpeg_mc_decode_init
...
Originally committed as revision 17676 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
47cd974ae5
Do not set low_delay if has_b_frames has been set before init()
...
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
16 years ago
Alex Converse
9ef88afac3
AAC: Make the CPE function more consistent with the functions for other channel elements.
...
Originally committed as revision 17672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
efd8c1f64d
Adjust time_base exactly when changing ticks_per_frame to 2 this is safer
...
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
16 years ago
Måns Rullgård
fe7f149ed8
ARM: fix corner-case overflow in H.264 weighted prediction
...
Originally committed as revision 17657 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David S. Miller
da2911d5e8
sub_mb_type[] needs to be 8-byte aligned because it is referenced
...
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
16 years ago
Cédric Schieli
5f59207d94
Fix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P
...
Originally committed as revision 17654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
03831f462e
Correctly reset SEI variables.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17651 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
7f8025349a
Make ff_print_debug_info() a no-op when using HW acceleration.
...
Patch by Gwenolé Beauchesne.
Originally committed as revision 17646 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
a4f3fdfa83
Use ff_hwaccel_pixfmt_list_420[] in H.263 decoder.
...
Patch by Gwenolé Beauchesne.
Originally committed as revision 17645 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
6026a0968a
Add hardware acceleration hooks to H.264.
...
Patch by Gwenolé Beauchesne.
Originally committed as revision 17644 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
19df37a8a6
Fix SVQ3 regression since ticks_per_frame=2.
...
Originally committed as revision 17640 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
1468d503a9
Add HW acceleration hooks for MPEG-4 / H.263 decoding.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17637 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
6aca2c6785
Remove superfluous call to mpeg_decode_slice() for hwaccel, this
...
function already contains the needed code.
Patch by Gwenole Beauchesne.
Originally committed as revision 17636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
11647a9f8c
Return early if a HW accelerator is used.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17635 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
f06ce1ce89
Add VA API pixel formats.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
044f0296a4
Add ff_hwaccel_pixfmt_list_420[] definition.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17633 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago