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
2009-05-23 19:37:01 +00:00
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
2009-05-23 19:30:35 +00:00
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2009-04-13 16:20:26 +00:00
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
2009-04-12 13:17:37 +00:00
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
2009-04-12 08:35:26 +00:00
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
2009-04-07 15:59:50 +00:00
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
2009-04-05 13:02:47 +00:00
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
2009-02-22 13:48:55 +00:00
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
2009-02-08 17:45:30 +00:00
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
2009-02-01 02:00:19 +00:00
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
2009-01-18 22:57:40 +00:00
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
2009-01-13 23:44:16 +00:00
Michael Niedermayer
fe5c7e588d
More POSIX _t namespace cleanup.
...
Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-12-12 16:21:23 +00:00
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
2008-09-08 14:24:59 +00:00
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
2008-09-03 12:33:21 +00:00
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
2008-09-02 23:25:57 +00:00
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
2008-06-12 21:50:13 +00:00
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
2008-05-11 22:28:43 +00:00
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
2008-04-29 21:31:21 +00:00
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-03-21 03:11:20 +00:00
Michael Niedermayer
fb2cf1bcf0
const
...
Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-02-01 04:14:04 +00:00
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
2007-08-05 00:29:02 +00:00
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
2007-07-05 20:46:48 +00:00
Diego Biurrun
7b94177e37
Group all copyright and author notices together.
...
Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-07-05 10:37:29 +00:00
Diego Biurrun
90b5b51eab
misc typo fixes
...
Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-06-12 18:50:50 +00:00
Loren Merritt
8be6dac8dc
merge huffman tables for rgb too
...
Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-25 00:16:14 +00:00
Loren Merritt
f45fcba303
cosmetics (reduce nesting)
...
Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 19:04:19 +00:00
Loren Merritt
acc0e0c8b6
use sparse huffman tables. 1.5% faster huffyuv decoding.
...
Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-24 17:40:02 +00:00
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
2007-05-23 09:02:07 +00:00
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
2007-05-19 02:32:59 +00:00
Loren Merritt
bf1a5a46d6
cosmetics: macrofy duplicate code in huffyuv
...
Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:58:30 +00:00
Loren Merritt
390f9f3127
r3938 broke 2pass huffyuv (not that anyone uses it)
...
Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-05-18 08:56:46 +00:00
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
2007-05-10 09:00:44 +00:00
Loren Merritt
0ec4bc6a27
oops, encoder was under ifdef decoders.
...
Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-20 16:51:30 +00:00
Loren Merritt
d2bfaf8aae
huffyuv rgb encoder
...
Originally committed as revision 8439 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-03-18 12:03:29 +00:00
Diego Biurrun
71e445fca3
Replace deprecated PIX_FMT names by the newer variants.
...
Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk
2007-02-07 01:48:09 +00:00
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-10-07 15:30:46 +00:00
Måns Rullgård
62bb489b13
add some #ifdef CONFIG_ENCODERS/DECODERS
...
Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-09-27 19:54:07 +00:00
Michael Niedermayer
27dc20a071
set supported pixel formats correctly
...
Originally committed as revision 5896 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-08-02 22:48:50 +00:00
Michael Niedermayer
b548f2b91b
ffv1 and ffvhuff havnt changed since a long time and noone proposed any
...
changes within 1 month after my warning so they are officially no longer
experimental and we will gurantee decodeability of files encoded with
the currenzt ffv1/ffvhuff in the future
Originally committed as revision 5288 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-04-14 10:37:40 +00:00
Michael Niedermayer
1adc29eedb
dont forget table_size in the decode_frame return value
...
Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-30 14:13:03 +00:00
Michael Niedermayer
e70e7a4b17
segfault fix
...
Originally committed as revision 5178 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-18 02:29:58 +00:00
Steve L'Homme
267f7edcd1
(f)printf --> av_log conversion
...
taken from a patch by Steve L'Homme
Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-08 11:43:10 +00:00
Diego Biurrun
f038fe8b4a
warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it
...
Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-25 22:10:13 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Måns Rullgård
4733abcbf3
use PRIxN, %zd, %td formats where needed
...
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-12 01:56:46 +00:00
Michael Niedermayer
9cd8179818
#defines for strict_std_compliance and split between inofficial extensions and non standarized things
...
Originally committed as revision 4205 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-05-08 20:15:42 +00:00
Mike Melanson
160d679c07
Ministry of English Composition, reporting for duty (and the word is "skipped", not "skiped"; "skiped" would rhyme with "hyped")
...
Originally committed as revision 4153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-04-24 17:21:11 +00:00
Michael Niedermayer
40c5fa2689
AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>)
...
with minor changes from me
Originally committed as revision 4019 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-03-06 23:20:53 +00:00