Statistics
| Branch: | Revision:

ffmpeg / libavcodec / common.h @ 58c2182d

History | View | Annotate | Download (30.9 KB)

# Date Author Comment
3ebc7e04 03/20/2004 12:18 AM Michael Niedermayer

h264 loop filter optimizations

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

58254257 03/18/2004 04:19 AM Roman Shaposhnik
  • removing casualties of battle of the wits and English language

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

380fd6b1 03/14/2004 10:09 PM Roman Shaposhnik
  • DV decoder simplifications. Now it looks to be 6% faster. At least
    on my desktop. * Misc. DV cleanups and fixes.

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

e7a18d5d 03/12/2004 11:39 PM Roman Shaposhnik
  • moving some of the commonly used bit reading/writing functions
    from common.c -> common.h so that they can be inlined.
    + performace gain ~1% (measured with DV decoding)
    + code bloat 0.05%
    Looks like a win-win solution.

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

5c0513bd 02/29/2004 10:10 PM Dmitry Baryshkov

attribute used patch by (mitya at school dot ioffe dot ru (Dmitry Baryshkov))

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

2a24fe4c 02/28/2004 04:41 PM Gael Chardon

int64_t_C patch by (Gael Chardon <gael-announcements+ffmpeg at 4now dot net>)

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

310ffb8f 02/22/2004 09:22 PM Michael Niedermayer

c99

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

d705e4a6 02/22/2004 12:31 AM Michael Niedermayer

(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get...

9c3d33d6 02/13/2004 05:54 PM Michael Niedermayer

multithreaded/SMP motion estimation
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c...

99683a30 02/08/2004 10:52 PM Michael Niedermayer

2 byte shorter userdata for mpeg4
in the past it was startcode,string,00,7F,startcode
now it is startcode,string,stratcode
both are mpeg4 compliant, as according to the standard the userdata lasts until the next 00 00 01 (startcode prefix) but some very primitive decoders which simply skip until the first 00 byte and then expect the next valid startcode might fail with the old variant, just a theory though (didnt test if quicktime can decode it now)...

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

9ff5f175 01/26/2004 07:09 PM Michael Niedermayer

int64max fix by (Michel Bardiaux <mbardiaux at peaktime dot be>)

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

7a62e94a 01/24/2004 10:22 PM Michael Niedermayer

optimization

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

d2a9bddd 01/10/2004 12:53 PM Michael Niedermayer

more sane inttypes emulation behavior if libavcodec is used outside ffmpeg

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

7f965c1c 01/09/2004 06:00 PM Chris Flerackers

inttypes emulation cleanup patch by ("Chris Flerackers" <cflerackers at androme dot be>)

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

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