Statistics
| Branch: | Revision:

ffmpeg / libavcodec / xan.c @ 18d761a1

History | View | Annotate | Download (16.9 KB)

# Date Author Comment
18d761a1 11/21/2010 10:38 AM Reimar Döffinger

Fix indentation.

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

3354b051 11/21/2010 10:37 AM Reimar Döffinger

Add explanation and alternative implementation for strange xan
gamma correction.

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

24ae353d 11/21/2010 10:32 AM Reimar Döffinger

WC3/xan: move palette handling to decoder, avoiding need for
PaletteControl.
This also fixes playback of some files with ffplay (images were
corrupted for a short time after a palette change).

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

f2f8fb10 10/18/2010 01:19 PM Stefano Sabatini

Remove redundant text in the log.

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

082a8575 10/18/2010 01:19 PM Stefano Sabatini

Make XAN decoder return meaningful error codes.

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

ba87f080 04/20/2010 02:45 PM Diego Biurrun

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

72415b2a 03/30/2010 11:30 PM Stefano Sabatini

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

cb397689 12/19/2009 06:41 PM Diego Biurrun

Add long_name for Xxan codec.

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

0080402d 12/19/2009 05:04 PM Kostya Shishkov

Improve handling allocated buffers in Xan decoder

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

2628f515 12/19/2009 04:39 PM Kostya Shishkov

cosmetics: reindent a bit

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

4a49ab77 10/13/2009 08:13 PM Reimar Döffinger

Remove unnecessary calls to avcodec_check_dimensions, the check is already
done at a higher level.

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

5333450c 09/05/2009 07:35 PM Reimar Döffinger

Use memcpy to copy till end of line in one go instead of copying pixel by pixel
in xan_wc3_output_pixel_run and xan_wc3_copy_pixel_run

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

64b8e620 09/05/2009 07:14 PM Reimar Döffinger

Slightly simplify detection of end of compressed data in xan_unpack

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

3aab27b4 07/22/2009 11:37 PM Måns Rullgård

Remove useless #include <unistd.h> from many files

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

f63f689e 04/18/2009 05:26 PM Reimar Döffinger

Avoid code duplication in xan_unpack for the final memcpy.

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

d7670f28 04/17/2009 08:05 PM Reimar Döffinger

Use sign_extend function instead of reimplementing it.

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

e62f6221 04/17/2009 08:01 PM Reimar Döffinger

Remove a useless "& 0xF"

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

977d8134 04/17/2009 07:56 PM Reimar Döffinger

Use / and % operators instead of reimplementing them with a loop.

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

b1e30986 04/17/2009 07:49 PM Reimar Döffinger

Change buffer check to avoid an unlikely pointer arithmetic overflow.

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

be509380 04/17/2009 07:48 PM Reimar Döffinger

Simplify xan_huffman_decode by using get_bits

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

e5986d04 04/17/2009 07:14 PM Reimar Döffinger

Cosmetics to improve xan_unpack readability

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

16cc5a73 04/17/2009 07:07 PM Reimar Döffinger

Fix buffer size check for xan_unpack which was broken by r18586

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

c644665f 04/17/2009 07:03 PM Reimar Döffinger

Some more simplifications of xan_unpack

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

455fdd2f 04/17/2009 06:56 PM Reimar Döffinger

Reindent xan_unpack code

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

948f60fa 04/17/2009 06:54 PM Reimar Döffinger

Avoid some code duplication in xan_unpack

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

59bd7f23 04/17/2009 06:26 PM Reimar Döffinger

Increase buffer padding to avoid most space checks in xan_unpack

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

4b96f43f 04/17/2009 06:03 PM Reimar Döffinger

Change buffer size checks to avoid the very unlikely overflow case.

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

5e12701c 04/17/2009 05:54 PM Reimar Döffinger

Remove a pointless right-shift in xan decoder.

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

9126aea5 04/17/2009 05:46 PM Reimar Döffinger

Replace bytecopy with the equivalent but faster av_memcpy_backptr.
Ca. 10% faster xan_unpack on x86_64 decoding of SC_32-part.MVE

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

44c9efcb 04/17/2009 05:20 PM Reimar Döffinger

Use memcpy instead of the very inefficient bytecopy where both are correct
(i.e. no overlap of src and dst is possible).

Originally committed as revision 18569 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....

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

6a5d31ac 01/11/2009 10:19 PM Diego Biurrun

Fix build: Add intreadwrite.h and bswap.h #includes where necessary.

Originally committed as revision 16556 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

162d4fc9 04/27/2008 10:39 PM Stefano Sabatini

Add long names to AVCodec declarations.
patch by Stefano Sabatini, stefano.sabatini-lala poste it

Originally committed as revision 13009 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

282ee4e7 03/05/2008 06:58 AM Mike Melanson

fix the WC3 Xan decoder by correcting the frame accounting logic

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

9f5bd895 02/01/2008 11:24 PM Aurelien Jacobs

const

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

c67102f9 02/01/2008 04:24 PM Michael Niedermayer

const

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

e5a389a1 07/05/2007 10:40 AM Diego Biurrun

license header consistency cosmetics

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

2c124cb6 06/02/2007 01:41 AM Ramiro Polla

Use AV_xx throughout libavcodec

Originally committed as revision 9169 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

5a6a6cc7 05/05/2007 12:18 PM Diego Biurrun

Fix multiple "‘inline/static’ is not at beginning of declaration" warnings.

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

587d0722 04/07/2007 05:37 PM Nicholas Tung

Remove superfluous setting of has_b_frames in codecs without B-frames.
patch by Nicholas Tung, ntung ntung com

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

fe037229 04/07/2007 02:10 PM Diego Biurrun

typos

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

fead30d4 01/19/2007 10:12 PM Alex Beregszaszi

rename BE/LE_8/16/32 to AV_RL/B_8/16/32

Originally committed as revision 7587 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

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

ca16618b 08/13/2005 08:48 PM Mike Melanson

tinfoil patch: no array is written to in bulk before counts are
validated; do not free frames that are not allocated; removed all of the
output modes that no one uses and only PAL8 remains

Originally committed as revision 4517 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

3a278992 03/14/2004 04:04 AM Mike Melanson

remove numerous definitions of BE_*/LE_* macros; convert FOURCC_TAG ->
MKTAG/MKBETAG

Originally committed as revision 2886 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

2a2bbcb0 10/30/2003 05:40 AM Mike Melanson

revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)

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

42e96409 09/19/2003 04:00 AM Mike Melanson

MACRO-ize a bunch of redundant code blocks; fix 16-bit RGB modes (it's
RGB not RGG)

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

afb8d3f8 09/14/2003 04:11 PM Mike Melanson

change pixel identifier conflict with AltiVec headers (patch courtesy of
Magnus Damm <damm at opensource.se>)

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

0f371e3e 09/13/2003 02:31 AM Mike Melanson

final word on RGBA byte order

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

ba118447 09/12/2003 03:48 AM Mike Melanson

deploy palette control API

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

e9cc5211 09/11/2003 06:16 AM Mike Melanson

copy & paste strikes again

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

6f4915ac 09/11/2003 05:46 AM Mike Melanson

xan_wc3 decoder now works correctly; added a bunch of output
colorspaces

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

9937e686 09/08/2003 04:10 AM Mike Melanson

New fringe codecs: WC3/Xan video, Xan DPCM, DK3 & DK4 ADPCM

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