Statistics
| Branch: | Revision:

ffmpeg / libavcodec / huffyuv.c @ 63613fe6

History | View | Annotate | Download (47.8 KB)

# Date Author Comment
63613fe6 07/26/2009 12:20 PM Måns Rullgård

Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN

Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk

e30004fa 07/04/2009 11:59 PM Loren Merritt

fix a buffer overrun on corrupt huffyuv streams

Originally committed as revision 19346 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb6ecd72 07/01/2009 08:34 PM Michael Niedermayer

indent

Originally committed as revision 19323 to svn://svn.ffmpeg.org/ffmpeg/trunk

37458d7e 07/01/2009 08:30 PM Michael Niedermayer

Make sure we dont read over the end.
Fixes issue1237.

Originally committed as revision 19322 to svn://svn.ffmpeg.org/ffmpeg/trunk

fdb699de 05/23/2009 07:37 PM Jeff Downs

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....

aa5cfdfb 05/23/2009 07:30 PM Jeff Downs

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

9106a698 04/13/2009 04:20 PM Stefano Sabatini

Rename bitstream.h to get_bits.h.

Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk

238ef6da 04/12/2009 01:17 PM Reimar Döffinger

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

b2755007 04/12/2009 08:35 AM Stefano Sabatini

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

7a00bbad 04/07/2009 03:59 PM Thilo Borgmann

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....

300a3d0d 04/05/2009 01:02 PM Michael Niedermayer

Make sure the last bits of huffyuv frames are zeroed.
Fixes issue946

Originally committed as revision 18334 to svn://svn.ffmpeg.org/ffmpeg/trunk

5ef251e5 02/22/2009 01:48 PM Daniel Verkamp

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

3daa434a 02/08/2009 05:45 PM Loren Merritt

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

bad5537e 02/01/2009 02:00 AM Diego Biurrun

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

199436b9 01/18/2009 10:57 PM Aurelien Jacobs

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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

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

fe5c7e58 12/12/2008 04:21 PM Michael Niedermayer

More POSIX _t namespace cleanup.

Originally committed as revision 16082 to svn://svn.ffmpeg.org/ffmpeg/trunk

dd1c8f3e 09/08/2008 02:24 PM Luca Abeni

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...

f544a5fc 09/03/2008 12:33 PM Diego Biurrun

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

2a43a093 09/02/2008 11:25 PM Diego Biurrun

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

fe4bf374 06/12/2008 09:50 PM Stefano Sabatini

Make AVCodec long_names definition conditional depending on CONFIG_SMALL.

Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk

eacced45 05/11/2008 10:28 PM Carl Eugen Hoyos

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

bcdb2378 04/29/2008 09:31 PM Stefano Sabatini

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

98a6fff9 03/21/2008 03:11 AM Zuxy Meng

Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk

fb2cf1bc 02/01/2008 04:14 AM Michael Niedermayer

const

Originally committed as revision 11724 to svn://svn.ffmpeg.org/ffmpeg/trunk

2bf4aa2e 08/05/2007 12:29 AM Loren Merritt

prevent huffyuv from generating codewords of length 32. (regression in r9069)

Originally committed as revision 9921 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b62bb2b 07/05/2007 08:46 PM Oliver Pfister

fix mem leak
patch by Oliver Pfister: [oliver pfister gmx ch]

Originally committed as revision 9490 to svn://svn.ffmpeg.org/ffmpeg/trunk

7b94177e 07/05/2007 10:37 AM Diego Biurrun

Group all copyright and author notices together.

Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk

90b5b51e 06/12/2007 06:50 PM Diego Biurrun

misc typo fixes

Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk

8be6dac8 05/25/2007 12:16 AM Loren Merritt

merge huffman tables for rgb too

Originally committed as revision 9124 to svn://svn.ffmpeg.org/ffmpeg/trunk

f45fcba3 05/24/2007 07:04 PM Loren Merritt

cosmetics (reduce nesting)

Originally committed as revision 9119 to svn://svn.ffmpeg.org/ffmpeg/trunk

acc0e0c8 05/24/2007 05:40 PM Loren Merritt

use sparse huffman tables. 1.5% faster huffyuv decoding.

Originally committed as revision 9118 to svn://svn.ffmpeg.org/ffmpeg/trunk

19716d64 05/23/2007 09:02 AM Loren Merritt

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

98ef8c32 05/19/2007 02:32 AM Loren Merritt

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

bf1a5a46 05/18/2007 08:58 AM Loren Merritt

cosmetics: macrofy duplicate code in huffyuv

Originally committed as revision 9055 to svn://svn.ffmpeg.org/ffmpeg/trunk

390f9f31 05/18/2007 08:56 AM Loren Merritt

r3938 broke 2pass huffyuv (not that anyone uses it)

Originally committed as revision 9054 to svn://svn.ffmpeg.org/ffmpeg/trunk

2029f312 05/10/2007 09:00 AM Diego Biurrun

Remove redundant #inclusion of common.h, avcodec.h already #includes it.

Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ec4bc6a 03/20/2007 04:51 PM Loren Merritt

oops, encoder was under ifdef decoders.

Originally committed as revision 8455 to svn://svn.ffmpeg.org/ffmpeg/trunk

d2bfaf8a 03/18/2007 12:03 PM Loren Merritt

huffyuv rgb encoder

Originally committed as revision 8439 to svn://svn.ffmpeg.org/ffmpeg/trunk

71e445fc 02/07/2007 01:48 AM Diego Biurrun

Replace deprecated PIX_FMT names by the newer variants.

Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

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

62bb489b 09/27/2006 07:54 PM Måns Rullgård

add some #ifdef CONFIG_ENCODERS/DECODERS

Originally committed as revision 6356 to svn://svn.ffmpeg.org/ffmpeg/trunk

27dc20a0 08/02/2006 10:48 PM Michael Niedermayer

set supported pixel formats correctly

Originally committed as revision 5896 to svn://svn.ffmpeg.org/ffmpeg/trunk

b548f2b9 04/14/2006 10:37 AM Michael Niedermayer

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
...

1adc29ee 03/30/2006 02:13 PM Michael Niedermayer

dont forget table_size in the decode_frame return value

Originally committed as revision 5246 to svn://svn.ffmpeg.org/ffmpeg/trunk

e70e7a4b 03/18/2006 02:29 AM Michael Niedermayer

segfault fix

Originally committed as revision 5178 to svn://svn.ffmpeg.org/ffmpeg/trunk

267f7edc 03/08/2006 11:43 AM Steve L'Homme

(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

f038fe8b 01/25/2006 10:10 PM Diego Biurrun

warning fixes by Luca Abeni, lucabe72 ##@## email ##.## it

Originally committed as revision 4898 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

4733abcb 12/12/2005 01:56 AM Måns Rullgård

use PRIxN, %zd, %td formats where needed

Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk

9cd81798 05/08/2005 08:15 PM Michael Niedermayer

#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

160d679c 04/24/2005 05:21 PM Mike Melanson

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

40c5fa26 03/06/2005 11:20 PM Michael Niedermayer

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

53513831 02/24/2005 04:39 PM Michael Niedermayer

-strict -1 comment fix

Originally committed as revision 3976 to svn://svn.ffmpeg.org/ffmpeg/trunk

ae2f1d46 02/17/2005 07:00 PM Michael Niedermayer

buffer overflows
one found by Milan Cutka
one by me

Originally committed as revision 3963 to svn://svn.ffmpeg.org/ffmpeg/trunk

09b0499f 02/06/2005 10:36 AM Michael Niedermayer

seperate bitstream encoding skip from PASS1 flag

Originally committed as revision 3938 to svn://svn.ffmpeg.org/ffmpeg/trunk

934982c4 01/23/2005 06:09 PM Michael Niedermayer

avoid buf_size == 0 checks in every decoder

Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk

2fc8ea24 01/12/2005 12:59 AM Michael Niedermayer

dissallow sprintf

Originally committed as revision 3823 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

caa336b4 12/29/2004 05:50 PM Michael Niedermayer

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

42dd22c4 11/28/2004 07:19 PM Loren Merritt

fix interlacing check in v1 huffyuv.

Originally committed as revision 3721 to svn://svn.ffmpeg.org/ffmpeg/trunk

f37b9768 11/28/2004 06:29 PM Loren Merritt

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

073c2593 11/27/2004 06:10 PM Burkhard Plaum

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

11087086 11/27/2004 03:54 AM Loren Merritt

new option: context_model
stores per-frame optimal huffman tables.

Originally committed as revision 3715 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc0be57f 11/14/2004 03:46 PM Michael Niedermayer

plane predicted non-interlacd rgb decodeing fix

Originally committed as revision 3681 to svn://svn.ffmpeg.org/ffmpeg/trunk

d925c516 09/17/2004 11:21 AM Michael Niedermayer

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....

8dfc1aef 09/17/2004 11:17 AM Michael Niedermayer

warning the user about possible incompatibilities

Originally committed as revision 3474 to svn://svn.ffmpeg.org/ffmpeg/trunk

ee598f7b 09/17/2004 10:57 AM Loren Merritt

(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

48cb67c6 09/15/2004 12:23 PM Michael Niedermayer

10l

Originally committed as revision 3466 to svn://svn.ffmpeg.org/ffmpeg/trunk

07140e39 08/26/2004 10:46 PM Michael Niedermayer

yuv median encoding 10l fix

Originally committed as revision 3417 to svn://svn.ffmpeg.org/ffmpeg/trunk

0722ccdb 08/17/2004 10:41 AM Michael Niedermayer

more untested bigendian fixes
rgb32 plane predictor decoding bugfix

Originally committed as revision 3398 to svn://svn.ffmpeg.org/ffmpeg/trunk

3ad7dd8c 08/17/2004 09:57 AM Michael Niedermayer

big endian fix (untested)

Originally committed as revision 3397 to svn://svn.ffmpeg.org/ffmpeg/trunk

fc3e9b14 06/01/2004 11:53 AM Michael Niedermayer

remove stupid YV12-huffyuv warning

Originally committed as revision 3185 to svn://svn.ffmpeg.org/ffmpeg/trunk

53db1cae 05/21/2004 02:37 PM Michael Niedermayer

data_size = 0 cleanup

Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk

eea8c08f 04/30/2004 05:42 PM Michael Niedermayer

cleanup & memleak fix

Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk

fe455f33 02/06/2004 03:27 PM Alex Beregszaszi

get_bit_count -> put_bits_count

Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk

e0c53ac8 01/25/2004 11:13 AM Alex Beregszaszi

freebsd fix for mpeg12.c (moving INT64_MAX to common.h)

Originally committed as revision 2722 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b879566 11/03/2003 01:26 PM Michel Bardiaux

av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)

Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk

a003ee9a 10/13/2003 07:38 PM Michael Niedermayer

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

7674347b 10/13/2003 06:17 PM Michael Niedermayer

alignment 10l

Originally committed as revision 2373 to svn://svn.ffmpeg.org/ffmpeg/trunk

84705403 10/13/2003 05:27 PM Michael Niedermayer

mmx2 optimization of huffyuv median encoding

Originally committed as revision 2372 to svn://svn.ffmpeg.org/ffmpeg/trunk

8c812d73 10/13/2003 02:37 PM Michael Niedermayer

10l

Originally committed as revision 2371 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed7debda 10/12/2003 09:25 PM Alex Beregszaszi

removed the obsolete and unused parameters of init_put_bits

Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk

3bb07d61 07/20/2003 02:48 PM Michael Niedermayer

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

7a06ff14 07/17/2003 12:29 PM Michael Niedermayer

AVCodec.flush()
ff_draw_horiz_band() in coded order / cleanup

Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a250222 06/22/2003 11:08 AM Michael Niedermayer

CONFIG_ENCODERS cleanup

Originally committed as revision 1984 to svn://svn.ffmpeg.org/ffmpeg/trunk

1433e6c4 06/16/2003 10:30 AM Alex Beregszaszi

a bottle of coke (=0.5l)

Originally committed as revision 1962 to svn://svn.ffmpeg.org/ffmpeg/trunk

4cfbf61b 05/24/2003 06:48 PM Falk Hüffner

Warning and compatibility fixes.

Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk

14b74d38 05/23/2003 12:58 PM Michael Niedermayer

cleanup

Originally committed as revision 1899 to svn://svn.ffmpeg.org/ffmpeg/trunk

3d2e8cce 05/19/2003 01:30 PM Michael Niedermayer

ASV1 codec
with postprocessing support :)

Originally committed as revision 1891 to svn://svn.ffmpeg.org/ffmpeg/trunk

aea22133 05/12/2003 12:31 PM Zdenek Kabelac
  • quiet missing EOF \n warning

Originally committed as revision 1861 to svn://svn.ffmpeg.org/ffmpeg/trunk

5fd74135 05/07/2003 11:32 PM Michael Niedermayer

more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot com>)

Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk

e20c4069 05/06/2003 08:43 PM Michael Niedermayer

release buffer cleanup

Originally committed as revision 1839 to svn://svn.ffmpeg.org/ffmpeg/trunk

d90cf87b 04/25/2003 12:29 AM Michael Niedermayer

fixing mixed dr1 + internal buffers

Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk

5d4ce457 03/12/2003 07:49 PM Zdenek Kabelac
  • added more options

Originally committed as revision 1675 to svn://svn.ffmpeg.org/ffmpeg/trunk

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk

1d98dca3 03/05/2003 05:53 PM Michael Niedermayer

10l

Originally committed as revision 1625 to svn://svn.ffmpeg.org/ffmpeg/trunk

24def10e 02/24/2003 01:28 PM Zdenek Kabelac
  • const arrays

Originally committed as revision 1602 to svn://svn.ffmpeg.org/ffmpeg/trunk

676b385c 02/24/2003 09:49 AM Michael Niedermayer

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