Statistics
| Branch: | Revision:

ffmpeg / libavcodec / 4xm.c @ ce5e49b0

History | View | Annotate | Download (27.3 KB)

# Date Author Comment
ce5e49b0 05/02/2011 02:41 PM Stefano Sabatini

replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*

10aa5a6c 04/27/2011 09:50 AM Stefano Sabatini

4xm: use reget_buffer() in decode_frame()

Also remove unnecessary call to avctx->release_buffer(). reget_buffer
is required since apparently the codec needs to be feeded with the
previous frame data.

Releasing the frame and using get_buffer was working only in the case...

e7e2df27 01/28/2011 02:15 AM Diego Elio Pettenò

Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.

None of these symbols should be accessed directly, so declare them as
hidden.

Signed-off-by: Mans Rullgard <>
(cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)

01329150 01/16/2011 10:08 PM Michael Niedermayer

Allocate last picture for 4xm pfrm if its not allocated.
Fixes segfault and issue2527

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

c4e8733a 11/12/2010 07:55 PM Vitor Sessak

Fix visual artifacts in 4XM decoding on big-endian system

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

8fc0162a 07/10/2010 10:12 PM Måns Rullgård

Add av_ prefix to bswap macros

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

e6b22522 07/10/2010 10:09 PM Måns Rullgård

bswap: change ME to NE in macro names

Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.

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

84dc2d8a 03/06/2010 02:24 PM Måns Rullgård

Remove DECLARE_ALIGNED_{8,16} macros

These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.

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

c6727809 01/22/2010 03:25 AM Måns Rullgård

Move array specifiers outside DECLARE_ALIGNED() invocations

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

59043195 01/07/2010 10:33 PM Carl Eugen Hoyos

Fix red/blue swap for 4xa files.

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

4b5fee02 10/13/2009 06:28 PM Reimar Döffinger

Add missing release_buffer on close

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

b97e0d7f 08/26/2009 03:22 PM Måns Rullgård

4xm: provide 16-byte alignment where required

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

53e67085 06/05/2009 08:12 AM Baptiste Coudurier

4xm decoder uses get_buffer, set CODEC_CAP_DR1

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

9bf993a5 04/12/2009 12:25 PM Reimar Döffinger

Use void * instead of uint8_t * for the destination buffer for dsp.bswap_buf
where easily possible (mimic, eatqi, 4xm).
This allows to avoid a typecast.

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

2a0241ae 04/11/2009 01:43 PM Michael Niedermayer

Get rid of INIT_VLC_USE_STATIC in 4xm.

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

e161e007 04/11/2009 11:47 AM Carl Eugen Hoyos

Use INIT_VLC_USE_STATIC and not its value "1".

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

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

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

2bb6eba2 01/17/2009 12:21 PM Aurelien Jacobs

remove ff_get_fourcc() and use AV_RL32() instead

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

038f846e 04/28/2008 10:21 AM Stefano Sabatini

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

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

04932b0d 03/22/2008 04:46 PM Diego Biurrun

cosmetics: typo fixes

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

fbd4293d 03/05/2008 12:43 AM Aurelien Jacobs

remove more useless mpegvideo.h includes

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

ec9f6493 02/01/2008 02:57 PM Michael Niedermayer

Replace get32() by AV_RL32().

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

530902f3 02/01/2008 02:55 PM Michael Niedermayer

const

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

7f4d2d83 01/31/2008 12:01 AM Baptiste Coudurier

cast to dest type, fix warning: 4xm.c:304: warning: initialization from incompatible pointer type

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

c08bbe6c 09/05/2007 01:21 AM Michael Niedermayer

fix decoding of dracula.4xm before diego complains

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

f9f835ee 09/05/2007 01:14 AM Michael Niedermayer

fix segfault with dracula.4xm
closes issue132

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

b6f508bb 08/27/2007 09:58 PM Roberto Togni

Change 4xm demuxer and video decoder to pass the video format version in
extradata instead of codec_tag.

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

07c02992 08/13/2007 01:20 PM Michael Niedermayer

use bytestream_get_le*() this also fixes a big endian bug

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

40802d36 08/13/2007 01:06 AM Michael Niedermayer

fix type 3 aka skipped blocks for old version

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

9ac34d94 08/13/2007 01:05 AM Michael Niedermayer

fix motion vectors for old version

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

cf786021 08/13/2007 12:56 AM Michael Niedermayer

set pix_fmt properly depending on version

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

70bbeb6f 08/13/2007 12:55 AM Michael Niedermayer

use version instead of some random 32bit value to switch between 16 and
32bit versions (this is more reliable, the old code failed on some files)

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

a0d30cbc 08/13/2007 12:53 AM Michael Niedermayer

replace vlc_type by version and set that from codec_tag which contains the
4xm video version from the demuxer

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

b74fb935 08/12/2007 03:47 PM Michael Niedermayer

support ifr2 from Toy-Story2_better-image-quality.4xa

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

62f68aa9 08/12/2007 12:22 PM Michael Niedermayer

add second vlc table
pfr* of Toy-Story2_better-image-quality.4xa are decoded now without
bitstream errors

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

154e30f6 05/30/2007 09:32 AM Carl Eugen Hoyos

rename attribute_unused to av_unused and moves its declaration to common.h
patch by Carl Eugen Hoyos cehoyos chez ag or at
original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused
date: 05/29/2007 01:23 PM

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

e36d79c8 05/14/2007 02:07 PM Reimar Döffinger

Change some leftover attribute((unused)) and attribute((used)) to

attribute_unused and attribute_used respectively to ease compiling on non-gcc.

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

78104b5d 02/19/2007 11:00 AM Michel Bardiaux

Remove some old disabled debugging output

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

191e8ca7 09/27/2006 07:47 PM Måns Rullgård

fix some signedness warnings

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

3a1a7e32 05/13/2006 10:45 AM Michael Niedermayer

sanity checks, some might have been exploitable ...

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

68b51e58 02/05/2006 01:35 PM Steve L'Homme

MSVC-compatible _align8/_align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr

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

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

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

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

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

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

6ce1a818 04/07/2004 01:14 PM Alex Beregszaszi

unknown format chars

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

7906085f 03/24/2004 11:32 PM Falk Hüffner

warning patrol

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

c9319f2e 10/11/2003 09:11 AM Michael Niedermayer

forgot to commit, i hope its correct

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

e4e70d2e 09/22/2003 08:29 PM Falk Hüffner

Fix compilation with ccc

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

83586795 09/09/2003 10:48 PM Fabrice Bellard

remove warnings

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

b60ad448 06/01/2003 10:56 AM Michael Niedermayer

fix 4xm yuv->rgb565 transform

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

5be8a373 06/01/2003 10:13 AM Michael Niedermayer

10l (array[-1] ...)

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

8809cfee 06/01/2003 12:56 AM Michael Niedermayer

4xm codec

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