summaryrefslogtreecommitdiff
path: root/libavcodec/common.c
Commit message (Collapse)AuthorAge
* 2 byte shorter userdata for mpeg4Michael Niedermayer2004-02-08
| | | | | | | | 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) Originally committed as revision 2767 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get_bit_count -> put_bits_countAlex Beregszaszi2004-02-06
| | | | Originally committed as revision 2752 to svn://svn.ffmpeg.org/ffmpeg/trunk
* these functions (get_bit_count and align_put_bits) are referenced evenMike Melanson2004-01-31
| | | | | | when CONFIG_ENCODERS is not defined Originally committed as revision 2735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* copyright year update of the files i touched and remembered, things look ↵Michael Niedermayer2004-01-10
| | | | | | annoyingly unmaintained otherwise Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removing unused var & converting 64->32bitMichael Niedermayer2003-12-05
| | | | Originally committed as revision 2567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log patch(2 of ?) by (Michel Bardiaux <mbardiaux at peaktime dot be>)Michael Niedermayer2003-11-03
| | | | Originally committed as revision 2474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)Michel Bardiaux2003-11-03
| | | | Originally committed as revision 2469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVRationalMichael Niedermayer2003-10-20
| | | | | | | | | | 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
* removed the obsolete and unused parameters of init_put_bitsAlex Beregszaszi2003-10-12
| | | | Originally committed as revision 2366 to svn://svn.ffmpeg.org/ffmpeg/trunk
* using av_abort instead exitAlex Beregszaszi2003-07-28
| | | | Originally committed as revision 2092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libmpeg2 style bitstream reader 17 vs 16 bit bugfixMichael Niedermayer2003-05-14
| | | | Originally committed as revision 1881 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libmpeg2 style bitstream reader fixesMichael Niedermayer2003-05-14
| | | | Originally committed as revision 1875 to svn://svn.ffmpeg.org/ffmpeg/trunk
* bitstream reader optimize patch by (BERO <bero at geocities dot co dot jp>)BERO2003-05-14
| | | | Originally committed as revision 1871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l (document buffer padding requirements)Michael Niedermayer2003-05-12
| | | | Originally committed as revision 1866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more #ifdef CONFIG_ENCODERS by (Wolfgang Hesseler <qv at multimediaware dot ↵Michael Niedermayer2003-05-07
| | | | | | com>) Originally committed as revision 1843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per context frame_rate_base, this should finally fix frame_rate related av ↵Michael Niedermayer2003-03-12
| | | | | | sync issues Originally committed as revision 1666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* per file doxyMichael Niedermayer2003-03-06
| | | | Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * using const buffers for readingZdenek Kabelac2003-02-24
| | | | Originally committed as revision 1603 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * UINTX -> uintx_t INTX -> intx_tZdenek Kabelac2003-02-11
| | | | Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * static,const,compiler warning cleanupZdenek Kabelac2003-02-10
| | | | Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimizing av_log2Michael Niedermayer2003-01-27
| | | | Originally committed as revision 1515 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_malloc() functions - added av_strdup and av_realloc()Fabrice Bellard2003-01-23
| | | | Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* GetBitContext.size is allways multiplied by 8 -> use size_in_bits to avoid ↵Michael Niedermayer2003-01-21
| | | | | | useless *8 in a few inner loops Originally committed as revision 1486 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aspect ratio cleanupMichael Niedermayer2002-11-20
| | | | Originally committed as revision 1254 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * fixing some minor const warningsZdenek Kabelac2002-11-12
| | | | Originally committed as revision 1205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanupMichael Niedermayer2002-11-06
| | | | Originally committed as revision 1172 to svn://svn.ffmpeg.org/ffmpeg/trunk
* faster ff_sqrt()Michael Niedermayer2002-08-22
| | | | Originally committed as revision 859 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont trash table in GET_VLCMichael Niedermayer2002-07-11
| | | | Originally committed as revision 741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* get_vlc() optimizationMichael Niedermayer2002-07-10
| | | | Originally committed as revision 735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * declare av_freeZdenek Kabelac2002-07-09
| | | | Originally committed as revision 729 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new bitstream reader API (old get_bits() based one is emulated and will ↵Michael Niedermayer2002-07-09
| | | | | | | | 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
* use #ifdefFabrice Bellard2002-06-17
| | | | Originally committed as revision 694 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixing get_bits_count at the endMichael Niedermayer2002-06-02
| | | | Originally committed as revision 638 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license/copyright changeFabrice Bellard2002-05-25
| | | | Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed useless header includes - use av memory functionsFabrice Bellard2002-05-18
| | | | Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
* move put_string() to common.{c,h}Michael Niedermayer2002-05-03
| | | | Originally committed as revision 439 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed mpeg4 time stuff on encodingMichael Niedermayer2002-04-17
| | | | | | | | | | | | | 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) added some comments to mpegvideo.h do MC on encoding only once if possible bugs? ;) Originally committed as revision 403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* new motion estimation (epzs) not complete yet but allready pretty good :)Michael Niedermayer2002-03-22
| | | | | | | | 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
* support decoding (with mplayer) of 3 .mp4 files from mphqMichael Niedermayer2002-03-13
| | | | | | optimize h263_pred_motion() Originally committed as revision 330 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimized the normal bitstream writer, its faster than the alternative one ↵Michael Niedermayer2002-02-15
| | | | | | 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
* alternative bitstream writer (disabled by default, uncomment #define ↵Michael Niedermayer2002-02-12
| | | | | | ALT_BISTREAM_WRITER in common.h if u want to try it) Originally committed as revision 295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* (m)jpeg pad/flush with 1 instead of 0, fix by Rik Snel <rsnel@cube.dyndns.org>Arpi2002-01-26
| | | | Originally committed as revision 280 to svn://svn.ffmpeg.org/ffmpeg/trunk
* aligned bitstream support (optional) - patch by ichael Niedermayer ↵Michael Niedermayer2002-01-11
| | | | | | <michaelni@gmx.at> Originally committed as revision 253 to svn://svn.ffmpeg.org/ffmpeg/trunk
* another bitstream reader code (faster on intel cpus) - patch by Michael ↵Michael Niedermayer2002-01-10
| | | | | | Niedermayer <michaelni@gmx.at> Originally committed as revision 252 to svn://svn.ffmpeg.org/ffmpeg/trunk
* - Bug fix on inter MCBPC table for inter+q.Juanjo2001-11-03
| | | | | | | | | - 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. Originally committed as revision 204 to svn://svn.ffmpeg.org/ffmpeg/trunk
* win32 fixesFabrice Bellard2001-08-13
| | | | Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added MJPEG decoder + commentsFabrice Bellard2001-08-06
| | | | Originally committed as revision 35 to svn://svn.ffmpeg.org/ffmpeg/trunk
* inlineing common case of get_bits() -> gives 2speedup. more optim coming soon...Arpi2001-08-03
| | | | Originally committed as revision 31 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Sync with mplayer's stuffNick Kurshev2001-07-30
| | | | Originally committed as revision 14 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Initial revisionFabrice Bellard2001-07-22
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk