Statistics
| Branch: | Revision:

ffmpeg / libavcodec / common.h @ fbb89806

History | View | Annotate | Download (27.6 KB)

# Date Author Comment
a8380f44 12/05/2003 11:12 PM Michael Niedermayer

removing unused var & converting 64->32bit

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

19d053c5 11/04/2003 07:35 PM Roman Shaposhnik
  • fixes for broken builds on Solaris, OS2 and all bingendian
    systems out there.

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

5ff85f1d 10/20/2003 08:23 PM Michael Niedermayer

AVRational
sample_aspect_ratio
aspect ratio in JPEG JFIF is SAR not DAR !
removed nonsense SAR guessing code
various related cleanups
bugs?

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

dc7cb06a 10/19/2003 09:05 PM Dan Christiansen

gcc->C99 and warning fixes patch by (Dan Christiansen <danchr at daimi dot au dot dk>)

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

49e17f84 10/11/2003 08:19 AM Michael Niedermayer

recommit of
#define DEBUG fix by (Glenn Maynard <g_sf at zewt dot org>)

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

56c4a184 09/08/2003 07:58 PM Fabrice Bellard

ctype.h is a common header

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

f5fe9d5f 08/24/2003 04:00 PM Fabrice Bellard

export int64_t_C as it is needed by libavformat.h

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

966df5b6 08/12/2003 10:00 AM Mike Melanson

reverse earlier patch

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

c965f943 08/08/2003 12:12 AM Mike Melanson

endian-conscious fix, courtesy of Sebastian Jedruszkiewicz
<elf at frogger.rules.pl>

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

dc939fd5 06/28/2003 10:51 PM Michael Niedermayer

fix CHECKED_ALLOCZ(0)

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

b534c7f9 05/23/2003 06:04 PM Michael Niedermayer

some benchmarking code

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

3bb10888 05/14/2003 10:38 PM Michael Niedermayer

libmpeg2 style bitstream reader 17 vs 16 bit bugfix

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

d4961b35 05/14/2003 03:12 PM BERO

fastdiv patch by (BERO <bero at geocities dot co dot jp>) with fixes & cleanup by me

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

17fb5fd3 05/14/2003 10:55 AM Michael Niedermayer

libmpeg2 style bitstream reader fixes

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

d8e00c09 05/14/2003 12:32 AM BERO

bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)

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

814b648c 05/05/2003 11:22 PM Michael Niedermayer

Tiny patch for OpenBSD by (Björn Sandell <biorn at dce dot chalmers dot se>)

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

7bc9090a 04/10/2003 01:18 PM Michael Niedermayer

simplified adressing of most mb based arrays (mb_x + mb_y*s->mb_stride) now instead of mb_x + mb_y*mb_width and 1+mb_x + (1+mb_y)*(mb_width+2) and ... mixture
more direct use of the new mb_type stuff instead of codec specific stuff
runtime mb_type debug output h264/h263 variants/mpeg1/2/4...

c8816e01 04/05/2003 12:11 PM François Revol

Fix for buggy (?) g++ (bailling out for beosaudio.cpp)

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

95c26348 04/05/2003 10:08 AM Michael Niedermayer

#ifdef TRACE printf() -> tprintf()

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

3b0da3f9 03/26/2003 10:39 AM Michael Niedermayer

10l

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

64338956 03/21/2003 11:13 PM Michael Niedermayer

bitstream tracing support

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

e8750b00 03/16/2003 09:03 PM Fred Rothganger

rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)

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

14bea432 03/12/2003 03:16 PM Michael Niedermayer

per context frame_rate_base, this should finally fix frame_rate related av sync issues

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

a77146ab 03/10/2003 11:48 AM Zdenek Kabelac
  • 'externaly' visible option list begins avoptions_ prefix
  • fixed FLAG AVOption

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

ce2749d2 03/09/2003 04:07 PM Alex Beregszaszi

simplified

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

bec89a84 03/07/2003 01:48 PM Zdenek Kabelac
  • more generic avoption_parse
  • reused help ptr for sub ptr

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

64863965 03/06/2003 03:56 PM Michael Niedermayer

more cosmetics so that doxygen output is readable ...

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

ae39132d 02/24/2003 01:41 PM Zdenek Kabelac
  • using const buffers for reading

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

d4c48e48 02/24/2003 09:41 AM Michael Niedermayer

get_vlc2() "docs"

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

0c1a9eda 02/11/2003 04:35 PM Zdenek Kabelac
  • UINTX -> uintx_t INTX -> intx_t

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

fe1b62fb 02/10/2003 09:40 AM Zdenek Kabelac
  • still unfinished code for Options
  • demo code - awating more comments

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

d44b50b0 01/28/2003 02:37 PM Fabrice Bellard

win32: added vsnprintf

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

c81f0349 01/27/2003 08:39 PM Michael Niedermayer

optimizing av_log2

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

8e1e6f31 01/23/2003 11:03 PM Fabrice Bellard

use av_malloc() functions - added av_strdup and av_realloc()

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

68f593b4 01/21/2003 05:34 PM Michael Niedermayer

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

f3ec2d46 01/11/2003 08:34 PM Slavik Gnatenko

os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)

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

c4d82fea 01/07/2003 10:38 PM Fabrice Bellard

generic M_PI define

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

35fedfc3 11/26/2002 04:29 AM Philip Gladstone

Add some rudimentary support for sparc64

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

5d3cea3a 11/20/2002 01:08 PM Michael Niedermayer

aspect ratio cleanup

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

6a85ec8d 11/14/2002 07:04 PM Zdenek Kabelac
  • minor warning fix

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

18f77016 11/12/2002 03:00 PM Zdenek Kabelac
  • fixing some minor const warnings

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

b8a78f41 11/10/2002 11:46 AM Michael Niedermayer

reversing header game
MIN/MAX -> FFMIN/FFMAX

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

81ada1ce 11/06/2002 09:30 AM Michael Niedermayer

cleanup

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

75460b0c 11/01/2002 08:37 PM Michael Niedermayer

put MIN/MAX under ifndef MAX/MIN

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

073b013d 10/16/2002 07:55 PM Michael Niedermayer

complete mpeg4 GMC decoding support

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

9b59c92f 09/29/2002 11:39 PM Michael Niedermayer

indenting preprocessor stuff, as its completly unreadable otherwise

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

2ad1516a 09/29/2002 10:44 PM Michael Niedermayer

idct permutation cleanup, idct can be selected per context now
fixing some threadunsafe code

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

202ef8b8 09/27/2002 10:27 AM Michael Niedermayer

ff_get_fourcc() & XVIX support

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

f36db5df 08/22/2002 07:41 PM Michael Niedermayer

faster ff_sqrt()

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

a5f06969 07/23/2002 09:44 AM Bohdan Horst

this include isn;t longer need and now generate a lot of warnings patch by Bohdan Horst <nexus at hoth.amu.edu.pl>

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

e1707f52 07/19/2002 10:23 PM Michael Niedermayer

BeOS patches by "shatty" <shatty at myrealbox.com>
1. errno's are negative on beos, so negating them gives positive values.
2. the -shared flag is -nostart on beos.
3. building the shared lib on beos requires -fomit-frame-pointer
4. beos doesn't have oss support...

d200cab6 07/13/2002 07:31 PM Falk Hüffner

Force inlining on get_vlc2.

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

45a82edb 07/13/2002 02:55 PM Michael Niedermayer

rl vlc decoding optimizations

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

6300c80a 07/11/2002 12:42 PM Michael Niedermayer

dont trash table in GET_VLC

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

5ea6f10f 07/10/2002 10:06 PM Falk Hüffner

Remove some cruft.

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

08dce7b0 07/10/2002 08:05 PM Michael Niedermayer

get_vlc() optimizations

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

cceabc86 07/10/2002 05:32 PM Michael Niedermayer

get_vlc() optimization

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

ef5e74bb 07/09/2002 07:22 PM Michael Niedermayer

c std doesnt like negative shifts -> use asm

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

55cb1ae6 07/09/2002 05:41 PM Michael Niedermayer

gcc3 bug workaround

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

8db1a1dd 07/09/2002 10:35 AM Michael Niedermayer

new bitstream reader API (old get_bits() based one is emulated and will still be supported in the future cuz its simpler)
minor optimizations to get_vlc

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

02da51ec 07/04/2002 01:41 PM Falk Hüffner
  • Move "restrict" fallback to common.h
  • Don't include config.h in dsputil.c

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

3530320d 07/02/2002 02:22 AM Falk Hüffner

Activate ALT_BITSTREAM_READER by default on Alpha, since it seems to
be a noticeable win (at least for me :)

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

4fd60448 06/13/2002 11:36 PM Fabrice Bellard

reverted to inttypes.h since it gives problems on some unixes

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

96707bb7 06/11/2002 01:38 PM Fabrice Bellard

do not export internal functions - use stdint.h

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

7fd08ac1 06/02/2002 12:11 PM Michael Niedermayer

sqrt
MAX, MIN

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

8758f7e4 05/27/2002 09:17 AM Zdenek Kabelac
  • for this moment bswap.h included ahead of HAVE_AV_CONFIG_H check
    as its functionality is used even in those parts which are being
    compiled without this flag
    - generaly this would require more complicated cleanup patch
    - for now leaving for the main author...
6a3d7e36 05/26/2002 03:07 PM Fabrice Bellard

fixed mangle issue

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

d503f970 05/25/2002 10:38 PM Fabrice Bellard

better logic for bswap

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

935cdf09 05/24/2002 01:16 AM Philip Gladstone

Add an av_abort macro that aborts, but also prints out the location of the abort.
Helps track down bugs.

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

8083185f 05/21/2002 09:50 PM Zdenek Kabelac
  • restored previous non '..' version

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

777cc95f 05/21/2002 07:42 PM Zdenek Kabelac
  • using ../ for bswap.h

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

49d71c7b 05/21/2002 06:56 PM Zdenek Kabelac
  • avoid conflicts with non-ffmpeg config.h and also it's consistent
    with few other header files included from the main ffmpeg's dir

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

4d7a0a05 05/20/2002 04:23 PM Fabrice Bellard

better av_freep()

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

44f27b3a 05/18/2002 10:56 PM Fabrice Bellard

added proper memory handling functions - fixed include paths

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

a69b930c 05/07/2002 05:55 PM Alex Beregszaszi

clamp intra matrix to 8bit for mjpeg (workaround for qscale>=25)

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

32cd20de 05/04/2002 06:58 PM Michael Niedermayer

move ABS to common.h
print mb_types in nice looking format support

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

9717dad8 05/03/2002 11:13 PM Michael Niedermayer

move put_string() to common.{c,h}

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

d7e9533a 04/27/2002 12:30 PM Michael Niedermayer

fixed msmpeg4 infinite loop if buggy stream
rewrote quantizer
fixed bias (+10% compression/quality for h263 like codecs)
qscale=1 support
mpeg1 intra frames looks far less blocky
added codec_id field

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

91029be7 04/19/2002 03:25 AM Michael Niedermayer

much better ME for b frames (a bit slow though)
fixed MC rounding for b frames
fixed hq mode with b-frames

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

9dbcbd92 04/17/2002 04:32 AM Michael Niedermayer

fixed mpeg4 time stuff on encoding
mpeg4 b-frame enoding support
removed old, out-commented ratecontrol
reuse motion compensation code between encoding & decoding
prefix newly added global functions with ff_ to reduce namespace polution
b-frame ME (unfinished, but working)...

fcb609f4 04/04/2002 08:04 PM Michael Niedermayer

dump_stream support (nicely formated 0s and 1s)

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

49092244 03/24/2002 09:25 PM Michael Niedermayer

resync marker support, needed for some mp4 files

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

45870f57 03/22/2002 02:21 AM Michael Niedermayer

new motion estimation (epzs) not complete yet but allready pretty good :)
unlimited mv search range
minor bugfix in the mpeg4 header parser
reset picture in gop counter if scene change is detected

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

49c9325f 03/13/2002 07:26 PM Michael Niedermayer

support decoding (with mplayer) of 3 .mp4 files from mphq
optimize h263_pred_motion()

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

d8cf5aea 02/15/2002 12:14 AM Michael Niedermayer

optimized the normal bitstream writer, its faster than the alternative one on p3 now ... lets hope its at least not slower on p4 & k7

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

4f0f8bfc 02/12/2002 10:43 PM Michael Niedermayer

aligned bitstream writer (1% slower on p3 but perhaps its faster on p4?)

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

17592475 02/12/2002 03:43 PM Michael Niedermayer

alternative bitstream writer (disabled by default, uncomment #define ALT_BISTREAM_WRITER in common.h if u want to try it)

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

4bdd9157 01/20/2002 02:30 PM Nick Kurshev

Cygwin's mangling by Felix Buenemann <>

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

05f361f0 01/12/2002 08:21 PM Michael Niedermayer

(commited by michael / arpi was crazy enough to give me his password)
fixed a bug in get_vlc() when using the ALT_BITSTREAM_READER (rv10 & mpeg12 decoders where not working)
some optimizations
replaced a if() with a >>
changed get_bits1() a bit so it hopefully is faster on p4...

3587d501 01/11/2002 09:21 PM Michael Niedermayer

aligned bitstream support (optional) - patch by ichael Niedermayer <>

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

27a3e2c5 01/10/2002 12:56 AM Michael Niedermayer

another bitstream reader code (faster on intel cpus) - patch by Michael Niedermayer <>

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

a822a479 11/10/2001 02:36 PM Nick Kurshev

fixed gcc-3.0.x compilation (by Michael Niedermayer)

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

4949028f 11/03/2001 12:49 AM Juanjo

- Bug fix on inter MCBPC table for inter+q.
- H.263/H.263+ decoder now knows GOB start codes.
- H.263/H.263+ decoder now returns the size of the stream on the first call.
- Added show_bits() functions to see the buffer without loosing the bits.
- TODO: H.263v1 UMV parsing is buggy....

f674bf71 09/23/2001 05:17 PM Fabrice Bellard

suppressed mpglib

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

73120e55 09/16/2001 09:52 PM Fabrice Bellard

version change

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