Statistics
| Branch: | Revision:

ffmpeg / libavcodec / common.c @ d4c5d2ad

History | View | Annotate | Download (8.62 KB)

# Date Author Comment
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

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

7bf32612 01/31/2004 08:37 PM Mike Melanson

these functions (get_bit_count and align_put_bits) are referenced even
when CONFIG_ENCODERS is not defined

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

8f2ab833 01/10/2004 04:04 PM Michael Niedermayer

copyright year update of the files i touched and remembered, things look annoyingly unmaintained otherwise

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

3d0ef6dd 11/03/2003 06:06 PM Michael Niedermayer

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

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

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

e7124ffc 07/28/2003 04:35 PM Alex Beregszaszi

using av_abort instead exit

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

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

f138f883 05/12/2003 11:03 PM Michael Niedermayer

100l (document buffer padding requirements)

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

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

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

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

5c91a675 02/10/2003 09:35 AM Zdenek Kabelac
  • static,const,compiler warning cleanup

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

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

aspect ratio cleanup

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

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

cleanup

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

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

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

get_vlc() optimization

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

df595131 07/09/2002 06:38 PM Zdenek Kabelac
  • declare av_free

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

8fd5fe94 06/17/2002 08:29 AM Fabrice Bellard

use #ifdef

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

c9b5489c 06/02/2002 12:13 PM Michael Niedermayer

fixing get_bits_count at the end

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

ff4ec49e 05/25/2002 10:45 PM Fabrice Bellard

license/copyright change

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

6000abfa 05/18/2002 11:03 PM Fabrice Bellard

removed useless header includes - use av memory functions

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

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

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

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

580b82fa 01/26/2002 12:22 AM Arpi

(m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <>

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

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

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

1a565432 08/13/2001 09:48 PM Fabrice Bellard

win32 fixes

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

4e66ab3b 08/06/2001 12:47 AM Fabrice Bellard

added MJPEG decoder + comments

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

2931ecb9 08/03/2001 11:09 PM Arpi

inlineing common case of get_bits() -> gives 2speedup. more optim coming soon...

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

a9b3f630 07/30/2001 09:04 AM Nick Kurshev

Sync with mplayer's stuff

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

de6d9b64 07/22/2001 02:18 PM Fabrice Bellard

Initial revision

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