Måns Rullgård
d45b771ca0
huffyuv: make VLAs fixed size
...
Originally committed as revision 23784 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Kaufmann
22c29c36cd
Add const to some pointer parameters.
...
Patch by Michael Kaufmann, hallo michael-kaufmann ch
Originally committed as revision 22900 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Kaufmann
2818bdf22b
Extradata length checks for Huffyuv.
...
Patch by Michael Kaufmann hallo $(name) dash $(surname) ch
Originally committed as revision 22856 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
f267d3ac75
Implement alpha channel decoding for BGR HuffYUV.
...
Since BGR24 is decoded as BGR32, fill its alpha channel with 255
using the appropriate predictors.
Originally committed as revision 21211 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ronald S. Bultje
6e44ba1550
Use get_bits_left() instead of size_in_bits - get_bits_count().
...
Originally committed as revision 20543 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
8471a1873d
Huffyuv: Remove unnecessary allocation in alloc_temp().
...
RGB only needs one temp array.
Originally committed as revision 20258 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alexander Strange
6ec8eadda4
Huffyuv: Fix a valgrind warning in get_vlc2().
...
The padding in bitstream_buffer wasn't initialized.
Originally committed as revision 20257 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
0b7f39c9d4
Release unreleased buffers found by make test.
...
Originally committed as revision 20251 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Nathan Caldwell
73c6f59830
Move HuffYUV left prediction to dsputil.
...
Patch by Nathan Caldwell, saintdev gmail
Originally committed as revision 20179 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
2ba8301769
Mark all pix_fmts and supported_framerates compound literals as const.
...
Makes no difference for gcc but at least icc can put them in .rodata then.
Originally committed as revision 19789 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
e30004fa73
fix a buffer overrun on corrupt huffyuv streams
...
Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
fb6ecd7285
indent
...
Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
37458d7e1b
Make sure we dont read over the end.
...
Fixes issue1237.
Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jeff Downs
fdb699de62
Fix passing of unaligned addresses to dsputil diff_bytes() by
...
changeing calls to sub_left_prediction such that
the source frame data pointers are no longer offset to skip the initial
elements. This keeps them properly aligned for the subsequent call to diff_bytes.
Changes encoding offset to compensate.
Mailing list thread:
https://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2009-May/069952.html
Originally committed as revision 18919 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Jeff Downs
aa5cfdfb4f
Add offset argument to encode_422_bitstream() to control where
...
in the source data array to start encoding.
Change all calls to pass zero for this new argument for equivalent behavior.
This is a restructure to support a forthcoming bug fix.
Originally committed as revision 18918 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
238ef6dadd
Add a av_fast_malloc function and replace several uses of av_fast_realloc,
...
thus avoiding potential memleaks and pointless memcpys.
Originally committed as revision 18470 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
b275500706
Split bitstream.h, put the bitstream writer stuff in the new file
...
put_bits.h.
Originally committed as revision 18461 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
300a3d0d00
Make sure the last bits of huffyuv frames are zeroed.
...
Fixes issue946
Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
5ef251e504
Add missing av_cold in static init/close functions.
...
Patch by Daniel Verkamp daniel at drv dot nu.
Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Loren Merritt
3daa434a40
ff_add_hfyu_median_prediction_mmx2
...
overall ffvhuff decoding speedup: 28% on core2, 25% on k8.
Originally committed as revision 17059 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
fe5c7e588d
More POSIX _t namespace cleanup.
...
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
dd1c8f3e6e
Bump Major version, this commit is almost just renaming bits_per_sample to
...
bits_per_coded_sample but that cannot be done seperately.
Patch by Luca Abeni
Also reset the minor version and fix the forgotton change to libfaad.
Note: The API/ABI should not be considered stable yet, there still may
be a change done here or there if some developer has some cleanup ideas and
patches!
Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
f544a5fc84
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
...
CONFIG_FOO_ENCODER conditionals where appropriate.
Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
2a43a093ed
Replace generic CONFIG_DECODERS preprocessor conditionals by more specific
...
CONFIG_FOO_DECODER conditionals where appropriate.
Originally committed as revision 15162 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Carl Eugen Hoyos
eacced45c4
Replace some occurrences of -1 with PIX_FMT_NONE.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
bcdb2378f7
Add long names to some AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13022 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
fb2cf1bcf0
const
...
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Loren Merritt
2bf4aa2e93
prevent huffyuv from generating codewords of length 32. (regression in r9069)
...
Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Oliver Pfister
7b62bb2b8d
fix mem leak
...
patch by Oliver Pfister: [oliver pfister gmx ch]
Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
8be6dac8dc
merge huffman tables for rgb too
...
Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
f45fcba303
cosmetics (reduce nesting)
...
Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
acc0e0c8b6
use sparse huffman tables. 1.5% faster huffyuv decoding.
...
Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
19716d6478
merge huffman tables so that we read 2 symbols at a time. 30% faster huffyuv decoding.
...
Originally committed as revision 9104 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
98ef8c324c
change brute force search to min-heap. 3.6x faster generate_len_table, 8% faster ffvhuff encoding.
...
Originally committed as revision 9069 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
bf1a5a46d6
cosmetics: macrofy duplicate code in huffyuv
...
Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
390f9f3127
r3938 broke 2pass huffyuv (not that anyone uses it)
...
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Loren Merritt
0ec4bc6a27
oops, encoder was under ifdef decoders.
...
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago