Michael Niedermayer
714127812c
Ignore first entry of intra matrixes if it is invalid.
...
Fixes pink.mpg / issue1046.
Originally committed as revision 18724 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
45ccc61a06
Factorize quantization matrix loading code out.
...
Originally committed as revision 18723 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
da00b52578
Don't #if a function declaration and properly indent it.
...
Originally committed as revision 18722 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
bf4f19dc65
mlpdec: Move MLP's filter_channel() to dsputils.
...
Originally committed as revision 18721 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
ce1d9c851c
Export av_free_packet().
...
Originally committed as revision 18719 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f0a75e66b9
Add missing return statement to out-of-memory condition. Fixes the warning:
...
libavcodec/motionpixels.c:302: warning: statement with no effect
Originally committed as revision 18718 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a068a7f1f0
Drop unused libamr-nb fixed-point glue code.
...
Originally committed as revision 18716 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
d647ed789f
ARM: Use fewer register in NEON put_pixels _y2 and _xy2
...
Approved by Mans on IRC
Originally committed as revision 18713 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
David Conrad
428bf2ac88
ARM: NEON put_pixels_clamped
...
Originally committed as revision 18712 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5efccce2a9
Implement av_get_bits_per_pixel().
...
Originally committed as revision 18709 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
859471565a
Revert r18700, documentation of deprecated functions might be useful for
...
people trying to update to the new API.
Log of r18700:
Remove documentation from deprecated fields, they should not be used,
thus there is no sense in documenting them.
Originally committed as revision 18708 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
6cf92f6d26
Check if there is enough bytes before reading the buffer in the EA ADPCM
...
decoder. Fix issue 990.
Originally committed as revision 18707 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vitor Sessak
8a06cb14f9
Skip 0x0000 frame footer in EA ADPCM decoder.
...
Originally committed as revision 18706 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
859f9c0b47
Remove useless and outright wrong chatter from avcodec_encode_video().
...
Originally committed as revision 18705 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
aa04b9204e
Remove redundant chatter from avcodec_encode_audio()
...
Originally committed as revision 18704 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
1885c76acf
Negative is error not -1, corrected in the doxy for avcodec_decode_subtitle2().
...
Originally committed as revision 18703 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
4d24c24fcb
Add multiframe note to avcodec_decode_video() too.
...
Originally committed as revision 18702 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e5776422b4
Cleanup first paragraph of doxy of avcodec_decode_audio3().
...
Originally committed as revision 18701 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3784411100
Remove documentation from deprecated fields, they should not be used,
...
thus there is no sense in documenting them.
Originally committed as revision 18700 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ed57ef39e6
Remove confusing and redundant engrish chatter from avcodec_decode_video2().
...
Originally committed as revision 18699 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
9c4b5eb8ce
Revert changing VLC initialization type for RV3/4 decoder.
...
While using large static table is not good (especially for embedded devices and
CPUs with small cache), other alternatives are not very good either.
Originally committed as revision 18696 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ramiro Polla
77b12f809b
mlpdec: Simplify filtering code by using only one counter variable.
...
Originally committed as revision 18695 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
60294c593e
Correctly update output sample format in wavpack decoder.
...
Patch by Laurent Aimar (at 'fenrir (cons 'videolan 'org))
Originally committed as revision 18694 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
bdb8d99613
Proper subpacket size check for cook multichannel files.
...
Originally committed as revision 18693 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
bb1135c8a3
Remove parentheses
...
Originally committed as revision 18692 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
fcc01e646b
Set the type of size in COOKSubpacket to unsigned
...
Originally committed as revision 18691 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
75801da580
Add pixdescs definitions for planar YUV pixfmts with 16 bits per
...
component.
Originally committed as revision 18690 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
ec32cfd2cc
Make sure we only parse max amount of subpackets (5) in the cook decoder.
...
Originally committed as revision 18689 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
da75426b26
Indent
...
Originally committed as revision 18688 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
0a704b5f21
Remove redundant code
...
Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
67da31826f
Support cook multichannel files.
...
Originally committed as revision 18685 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
7204850ea9
Fix the COOKDEBUG code
...
Originally committed as revision 18684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Benjamin Larsson
4a291c90fe
Factor out COOKSubpacket, in preparation for multichannel support.
...
Originally committed as revision 18683 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
10151b138a
Add missing pixel format descriptor definitions.
...
Originally committed as revision 18682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
3df18b3ed1
Get rid of monstrous static table and initialize VLCs for RV3/4 dynamically.
...
Originally committed as revision 18681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
1c86db80a9
Remove useless assignment during initialization for some decoders
...
Originally committed as revision 18680 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f83c57735e
indent
...
Originally committed as revision 18679 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
96c5bc46d2
TrueMotion 2 uses its own YUV-like colourspace, so convert output to proper RGB.
...
Patch by Reimar Döffinger <latinize($name) at (MN's favourite mail provider).de>
Originally committed as revision 18677 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
120ac2620d
cosmetics: remove extra space indentation
...
Originally committed as revision 18676 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
29ee635503
Merge decoding functions for all bitdepths in WavPack decoder
...
Originally committed as revision 18675 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
68f8d33bec
Support >8bit per component YUV in FFV1.
...
decoding becomes slower, encoding becomes faster, with gcc on duron.
some inlining overrides like av_flatten are added to keep inlining similar
to before.
Originally committed as revision 18674 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
217d34e307
Force speed irrelevant calls to get/put_symbol() to be noinline.
...
We need to change decode_line to always_inline because gcc decided not to inline
it anymore once we force some calls to get/put_symbol() to be non inlined and
this decision of gcc would lead to a 10% overall speed loss.
100k smaller object file, no speed change
Originally committed as revision 18673 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3788e661f1
Optimize sign handling in get_symbol().
...
Originally committed as revision 18672 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
2e418f5ed8
Make avcodec_thread_init() set the thread count, even in the case when
...
threads support is not enabled. This should avoid the need for
thread_count explicit setting in applications.
Originally committed as revision 18670 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
6e0f746d3e
Handle WavPack INT32INFO chunks with nonzero post shift
...
Originally committed as revision 18668 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
0638c2ae3c
Add functions for decoding >16 bits WavPack files.
...
Based on patches by Laurent Aimar (fenrir >whirlpool< videolan >dit< org)
Originally committed as revision 18667 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Laurent Aimar
760db32a0c
Shift 9-15 bit samples to use full 16-bit range.
...
Patch by Laurent Aimar <fenrir at VLCsite>
Thread: [PATCH] Fixed wavpack 9-15 bits support
Originally committed as revision 18666 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
b750fb6945
Display dimensions should not affect the real size of coded frame, thus set
...
only avctx->{width,height} and don't touch coded_{width,height} when parsing
them. This fixes the case when coded and display dimensions differ by more
than one macroblock.
Originally committed as revision 18665 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e1b3d27272
Remove 2 useless FFMIN().
...
Originally committed as revision 18664 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
7bdf2eb8c4
Remove apparently redundant code.
...
Originally committed as revision 18663 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago