summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAge
* avcodec_find is in no header file, and appearently not used or very usefull ↵Michael Niedermayer2004-05-25
| | | | | | so lets make it static ... Originally committed as revision 3157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* data_size = 0 cleanupMichael Niedermayer2004-05-21
| | | | Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dummy avcodec_thread_init() to avoid linking issuesMichael Niedermayer2004-05-10
| | | | Originally committed as revision 3122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AVInteger in av_rescale() so it can finally do 64*64/64 instead of just ↵Michael Niedermayer2004-05-04
| | | | | | 64*32/32 Originally committed as revision 3106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2004-04-30
| | | | Originally committed as revision 3097 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup & memleak fixMichael Niedermayer2004-04-30
| | | | Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1000l in av_mallocz_static()Michael Niedermayer2004-03-22
| | | | | | less overallocation in av_fast_realloc() for small arrays Originally committed as revision 2913 to svn://svn.ffmpeg.org/ffmpeg/trunk
* static allocation rewrite (old code was plain a broken mess)Michael Niedermayer2004-03-21
| | | | | | | | | doesnt call realloc every time doesnt randomly overwrite memory after after 8-16 calls doesnt use ugly macro wraper fewer lines of code Originally committed as revision 2912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* silence warningsIvan Kalvachev2004-03-04
| | | | Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log() cleanupMichael Niedermayer2004-03-03
| | | | | | | | | | null pointer segfaults dont print redundant spam dont print prefix if reference==NULL class -> av_class dont copy AVClass to every object, its a waste of memory and not a good idea at all Originally committed as revision 2841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)Michel Bardiaux2004-03-03
| | | | Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* macrofree av_freep()Michael Niedermayer2004-03-03
| | | | Originally committed as revision 2839 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0Michael Niedermayer2004-02-25
| | | | | | | move AV_NOPTS_VALUE & AV_TIME_BASE from avformat.h -> avcodec.h related fixes Originally committed as revision 2814 to svn://svn.ffmpeg.org/ffmpeg/trunk
* (f)printf() is disallowed in libavcodec, compilation will fail now if its ↵Michael Niedermayer2004-02-22
| | | | | | 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 Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
* multithreaded/SMP motion estimationMichael Niedermayer2004-02-13
| | | | | | | | | 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 Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ppc chroma mess workaround (real bug is that the motion compensation code ↵Michael Niedermayer2004-02-12
| | | | | | assumes that 2*uvlinesize == linesize and fixing this would mean a slowdown) Originally committed as revision 2771 to svn://svn.ffmpeg.org/ffmpeg/trunk
* tiny warning fixFalk Hüffner2004-02-01
| | | | Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* segfault fixMichael Niedermayer2004-01-23
| | | | Originally committed as revision 2719 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
* 10lMichael Niedermayer2004-01-05
| | | | Originally committed as revision 2670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* - Add reget_buffer() function to AVCodecContextRoberto Togni2003-11-26
| | | | | | | | | | | | - Add default reget_buffer implementation in libavcodec/utils.c - Remove AVCodecContext.cr_available, no longer needed - Remove CODEC_CAP_CR, no longer used - Add img_copy() prototype to avcodec.h (function from imgconvert.c) - Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid conflict - Updated msrle, msvideo1, rpza, smc to use reget_buffer Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add cr codec capability and buffer hintsRoberto Togni2003-11-07
| | | | Originally committed as revision 2484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* only add prefix after \nMichael Niedermayer2003-11-03
| | | | Originally committed as revision 2471 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
* initalize various uninitalized variables and avoid coded_picture_number as ↵Michael Niedermayer2003-10-30
| | | | | | its not always correct (later should be reversed after fixing the picture_number mess) Originally committed as revision 2454 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revised palette API, courtesy of Roberto Togni (rtogni at freemail.it)Mike Melanson2003-10-30
| | | | Originally committed as revision 2451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added fake codec CODEC_ID_MPEG2TS of type CODEC_TYPE_DATA (needed for ↵Fabrice Bellard2003-10-29
| | | | | | simpler handling of raw transport streams in ffserver and RTP - better solutions are welcomed) Originally committed as revision 2445 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use continued fractions to approximate a fraction if its numerator or ↵Michael Niedermayer2003-10-20
| | | | | | denominator is too large Originally committed as revision 2405 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
* * original fix still didn't align lines on s_align when CODEC_FLAG_EMU_EDGERoman Shaposhnik2003-10-16
| | | | | | was not set. Originally committed as revision 2394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* default_get_buffer() fixesMichael Niedermayer2003-10-15
| | | | Originally committed as revision 2391 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use lagrange multipler instead of qp for ratecontrol, this may break some ↵Michael Niedermayer2003-10-07
| | | | | | | | things, tell me ASAP if u notice anything broken quality which was 1..31 float is now a 1..FF_LAMBDA_MAX int, and FF_QP2LAMBDA * qp can be used to convert to the new range Originally committed as revision 2348 to svn://svn.ffmpeg.org/ffmpeg/trunk
* detect avcodec_open() on an already opened AVCodecContextMichael Niedermayer2003-09-10
| | | | Originally committed as revision 2251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed warningsFabrice Bellard2003-09-09
| | | | Originally committed as revision 2248 to svn://svn.ffmpeg.org/ffmpeg/trunk
* update sub_id in mpegaudio decoding (might need same method as MPEG2VIDEO too ?)Fabrice Bellard2003-09-08
| | | | Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup / fixesMichael Niedermayer2003-08-05
| | | | Originally committed as revision 2103 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rate distortion mb decision supportMichael Niedermayer2003-07-29
| | | | | | | fix decoding of old %16!=0 divx fix assertion failure in motion_est.c Originally committed as revision 2094 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVCodec.flush()Michael Niedermayer2003-07-17
| | | | | | ff_draw_horiz_band() in coded order / cleanup Originally committed as revision 2064 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot ↵Garrick Meeker2003-07-09
| | | | | | com>) Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rgb15 & rgb16 fixMichael Niedermayer2003-05-30
| | | | Originally committed as revision 1921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warning and compatibility fixes.Falk Hüffner2003-05-24
| | | | Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanupMichael Niedermayer2003-05-14
| | | | Originally committed as revision 1882 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
* 10lMichael Niedermayer2003-04-25
| | | | Originally committed as revision 1823 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixing mixed dr1 + internal buffersMichael Niedermayer2003-04-25
| | | | Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixed static initFabrice Bellard2003-04-20
| | | | Originally committed as revision 1799 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2003-04-02
| | | | Originally committed as revision 1725 to svn://svn.ffmpeg.org/ffmpeg/trunk
* user setable quantizer biasMichael Niedermayer2003-03-22
| | | | Originally committed as revision 1701 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rawvideo patch by (Fred Rothganger <rothgang at uiuc dot edu>)Fred Rothganger2003-03-16
| | | | Originally committed as revision 1687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* field pic decoding cleanupMichael Niedermayer2003-03-16
| | | | Originally committed as revision 1686 to svn://svn.ffmpeg.org/ffmpeg/trunk