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
Michael Niedermayer
53513831da
-strict -1 comment fix
...
Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-24 16:39:03 +00:00
Michael Niedermayer
ae2f1d4624
buffer overflows
...
one found by Milan Cutka
one by me
Originally committed as revision 3963 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-17 19:00:42 +00:00
Michael Niedermayer
09b0499f1b
seperate bitstream encoding skip from PASS1 flag
...
Originally committed as revision 3938 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-02-06 10:36:07 +00:00
Michael Niedermayer
934982c4ac
avoid buf_size == 0 checks in every decoder
...
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-23 18:09:06 +00:00
Michael Niedermayer
2fc8ea249f
dissallow sprintf
...
Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:59:42 +00:00
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Michael Niedermayer
caa336b4cc
common.c -> bitstream.c (and the single non bitstream func -> utils.c)
...
common.h -> common.h/bitstream.h
Originally committed as revision 3777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-12-29 17:50:25 +00:00
Loren Merritt
42dd22c4a5
fix interlacing check in v1 huffyuv.
...
Originally committed as revision 3721 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 19:19:39 +00:00
Loren Merritt
f37b9768f6
split ffhuffyuv into 2 codecs:
...
"huffyuv" is compatible with the official version
"ffvhuff" contains our improvements
Originally committed as revision 3720 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-28 18:29:38 +00:00
Burkhard Plaum
073c2593c9
Memory leak fix patch by (Burkhard Plaum <plaum >at< ipf.uni-stuttgart )dot( de>)
...
Originally committed as revision 3717 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 18:10:06 +00:00
Loren Merritt
1108708609
new option: context_model
...
stores per-frame optimal huffman tables.
Originally committed as revision 3715 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-27 03:54:18 +00:00
Michael Niedermayer
fc0be57f66
plane predicted non-interlacd rgb decodeing fix
...
Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-14 15:46:34 +00:00
Michael Niedermayer
d925c516e4
huffyuv writes to AVCodecContext.stats_out only once every 32 frames,
...
presumably to reduce the size of the log file.
However, it doesn't clear stats_out on the other 31 out of 32 frames.
So the application (ffmpeg and mencoder) writes each stat line 32 times.
bugfix by (Loren Merritt <lorenm at u dot washington dot edu>)
Originally committed as revision 3475 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:21:52 +00:00
Michael Niedermayer
8dfc1aefca
warning the user about possible incompatibilities
...
Originally committed as revision 3474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 11:17:17 +00:00
Loren Merritt
ee598f7ba4
(non)interlaced huffyuv patch by (Loren Merritt <lorenm at u dot washington dot edu>)
...
Originally committed as revision 3473 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-17 10:57:57 +00:00
Michael Niedermayer
48cb67c62a
10l
...
Originally committed as revision 3466 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-09-15 12:23:45 +00:00
Michael Niedermayer
07140e398c
yuv median encoding 10l fix
...
Originally committed as revision 3417 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-26 22:46:15 +00:00
Michael Niedermayer
0722ccdbc0
more untested bigendian fixes
...
rgb32 plane predictor decoding bugfix
Originally committed as revision 3398 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 10:41:15 +00:00
Michael Niedermayer
3ad7dd8cda
big endian fix (untested)
...
Originally committed as revision 3397 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-08-17 09:57:56 +00:00
Michael Niedermayer
fc3e9b148d
remove stupid YV12-huffyuv warning
...
Originally committed as revision 3185 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-06-01 11:53:03 +00:00
Michael Niedermayer
53db1cae1c
data_size = 0 cleanup
...
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-05-21 14:37:16 +00:00
Michael Niedermayer
eea8c08fa8
cleanup & memleak fix
...
Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-04-30 17:42:58 +00:00
Alex Beregszaszi
fe455f3328
get_bit_count -> put_bits_count
...
Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-02-06 15:27:31 +00:00
Alex Beregszaszi
e0c53ac889
freebsd fix for mpeg12.c (moving INT64_MAX to common.h)
...
Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-01-25 11:13:56 +00:00
Michel Bardiaux
9b87956678
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
...
Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-03 13:26:22 +00:00
Michael Niedermayer
a003ee9a44
fix the case where all vlc codes are 8 bits long (repeat=256)
...
Originally committed as revision 2374 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 19:38:34 +00:00
Michael Niedermayer
7674347b64
alignment 10l
...
Originally committed as revision 2373 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 18:17:58 +00:00
Michael Niedermayer
8470540344
mmx2 optimization of huffyuv median encoding
...
Originally committed as revision 2372 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 17:27:30 +00:00
Michael Niedermayer
8c812d7317
10l
...
Originally committed as revision 2371 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-13 14:37:04 +00:00
Alex Beregszaszi
ed7debda14
removed the obsolete and unused parameters of init_put_bits
...
Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-10-12 21:25:00 +00:00
Michael Niedermayer
3bb07d6165
default for slices is display order again
...
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)
Originally committed as revision 2066 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-20 14:48:05 +00:00
Michael Niedermayer
7a06ff148d
AVCodec.flush()
...
ff_draw_horiz_band() in coded order / cleanup
Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-07-17 12:29:07 +00:00
Michael Niedermayer
2a250222e6
CONFIG_ENCODERS cleanup
...
Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-22 11:08:22 +00:00
Alex Beregszaszi
1433e6c499
a bottle of coke (=0.5l)
...
Originally committed as revision 1962 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-06-16 10:30:01 +00:00
Falk Hüffner
4cfbf61bf1
Warning and compatibility fixes.
...
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
Michael Niedermayer
14b74d381a
cleanup
...
Originally committed as revision 1899 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-23 12:58:46 +00:00
Michael Niedermayer
3d2e8cce3a
ASV1 codec
...
with postprocessing support :)
Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-19 13:30:59 +00:00
Zdenek Kabelac
aea22133c4
* quiet missing EOF \n warning
...
Originally committed as revision 1861 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-12 12:31:02 +00:00
Michael Niedermayer
5fd74135ad
more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)
...
Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 23:32:45 +00:00
Michael Niedermayer
e20c40697c
release buffer cleanup
...
Originally committed as revision 1839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 20:43:37 +00:00
Michael Niedermayer
d90cf87b90
fixing mixed dr1 + internal buffers
...
Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:29:48 +00:00
Zdenek Kabelac
5d4ce4574b
* added more options
...
Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-12 19:49:58 +00:00
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Michael Niedermayer
1d98dca328
10l
...
Originally committed as revision 1625 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-05 17:53:33 +00:00
Zdenek Kabelac
24def10e19
* const arrays
...
Originally committed as revision 1602 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 13:28:22 +00:00
Michael Niedermayer
676b385c5b
huffyuv v1 tables, as they are essential and the only possible way for decding of v1 files they very likely cant be copyrighted ...
...
Originally committed as revision 1600 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 09:49:37 +00:00
Michael Niedermayer
8c031d1cbd
round readed bits up to next 32bits, as orginal huffyuv cant handle less then 32bit blocks
...
Originally committed as revision 1598 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-24 00:05:17 +00:00
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Michael Niedermayer
68f593b484
GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid useless *8 in a few inner loops
...
Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-21 17:34:12 +00:00
Michael Niedermayer
aaa1e4cd48
10l
...
Originally committed as revision 1460 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-14 19:25:05 +00:00
Fabrice Bellard
0b2612b1cd
changed BGRA32 to RGBA32. XXX: clarify expected behaviour on big endian cpu
...
Originally committed as revision 1432 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 00:13:18 +00:00
Michael Niedermayer
492cd3a920
AVVideoFrame -> AVFrame
...
Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-09 12:03:43 +00:00
Michael Niedermayer
140cb66321
new PSNR code (now works with chroma, b frames, ...)
...
rename *_TYPE to FF_*_TYPE for the external API
allow user specified pict_type
Originally committed as revision 1308 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 21:13:02 +00:00
Michael Niedermayer
1e491e29c2
cleanup
...
adding AVVideoFrame
moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame
removing obsolete variables in AVCodecContext
skiping of MBs in b frames
correctly initalizing AVCodecContext
picture buffer cleanup
Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-12-04 10:04:03 +00:00
Michael Niedermayer
7c5ab7b88d
slices & encoding optim
...
Originally committed as revision 1217 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 11:05:14 +00:00
Michael Niedermayer
22f3e8bea7
dr1
...
Originally committed as revision 1216 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-15 00:07:06 +00:00
Michael Niedermayer
0626afe9b2
0.1l
...
Originally committed as revision 1215 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:34:25 +00:00
Michael Niedermayer
152ba68cc9
YV12 support (warning this is experimental & wont work with offical huffyuv but there is a approx. 20% speed & compression gain)
...
10l flush_put_bits()
Originally committed as revision 1214 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 22:25:20 +00:00
Michael Niedermayer
11f18fafca
huffyuv
...
Originally committed as revision 1211 to svn://svn.ffmpeg.org/ffmpeg/trunk
2002-11-14 19:20:04 +00:00