summaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Minor Patch for shared libs on Mac OSX by (Bill May <wmay at cisco dot com>)Michael Niedermayer2004-08-131-1/+1
| | | | Originally committed as revision 3387 to svn://svn.ffmpeg.org/ffmpeg/trunk
* user overrideable level & profileMichael Niedermayer2004-08-131-0/+2
| | | | Originally committed as revision 3385 to svn://svn.ffmpeg.org/ffmpeg/trunk
* UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)Todd Kirby2004-07-251-0/+2
| | | | Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2004-07-141-39/+26
| | | | Originally committed as revision 3314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Force alignement for rpza and smcRoberto Togni2004-06-271-0/+10
| | | | Originally committed as revision 3262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* flush audio encoder buffers at the endMichael Niedermayer2004-06-221-12/+13
| | | | | | fix vorbis in nut again Originally committed as revision 3244 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avcodec_find is in no header file, and appearently not used or very usefull ↵Michael Niedermayer2004-05-251-1/+1
| | | | | | so lets make it static ... Originally committed as revision 3157 to svn://svn.ffmpeg.org/ffmpeg/trunk
* data_size = 0 cleanupMichael Niedermayer2004-05-211-0/+2
| | | | Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dummy avcodec_thread_init() to avoid linking issuesMichael Niedermayer2004-05-101-0/+5
| | | | 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-041-11/+15
| | | | | | 64*32/32 Originally committed as revision 3106 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplifyMichael Niedermayer2004-04-301-11/+5
| | | | Originally committed as revision 3097 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup & memleak fixMichael Niedermayer2004-04-301-1/+4
| | | | Originally committed as revision 3095 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 1000l in av_mallocz_static()Michael Niedermayer2004-03-221-3/+2
| | | | | | 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-211-25/+19
| | | | | | | | | 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-041-1/+1
| | | | Originally committed as revision 2843 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_log() cleanupMichael Niedermayer2004-03-031-14/+15
| | | | | | | | | | 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-031-15/+22
| | | | Originally committed as revision 2840 to svn://svn.ffmpeg.org/ffmpeg/trunk
* macrofree av_freep()Michael Niedermayer2004-03-031-2/+6
| | | | 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-251-2/+14
| | | | | | | 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-221-0/+2
| | | | | | 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-131-0/+12
| | | | | | | | | 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-121-1/+2
| | | | | | 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-011-1/+1
| | | | Originally committed as revision 2741 to svn://svn.ffmpeg.org/ffmpeg/trunk
* segfault fixMichael Niedermayer2004-01-231-1/+1
| | | | 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-101-0/+1
| | | | | | annoyingly unmaintained otherwise Originally committed as revision 2686 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2004-01-051-0/+1
| | | | Originally committed as revision 2670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* - Add reget_buffer() function to AVCodecContextRoberto Togni2003-11-261-1/+33
| | | | | | | | | | | | - 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-071-0/+1
| | | | Originally committed as revision 2484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* only add prefix after \nMichael Niedermayer2003-11-031-1/+6
| | | | 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-031-0/+51
| | | | 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-301-8/+13
| | | | | | 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-301-0/+1
| | | | 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-291-0/+8
| | | | | | 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-201-14/+26
| | | | | | denominator is too large Originally committed as revision 2405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVRationalMichael Niedermayer2003-10-201-0/+1
| | | | | | | | | | 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-161-1/+1
| | | | | | was not set. Originally committed as revision 2394 to svn://svn.ffmpeg.org/ffmpeg/trunk
* default_get_buffer() fixesMichael Niedermayer2003-10-151-12/+52
| | | | 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-071-0/+2
| | | | | | | | 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-101-0/+3
| | | | Originally committed as revision 2251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* removed warningsFabrice Bellard2003-09-091-0/+1
| | | | 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-081-0/+6
| | | | Originally committed as revision 2238 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup / fixesMichael Niedermayer2003-08-051-0/+1
| | | | Originally committed as revision 2103 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rate distortion mb decision supportMichael Niedermayer2003-07-291-1/+1
| | | | | | | 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-171-31/+5
| | | | | | 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-091-0/+1
| | | | | | com>) Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rgb15 & rgb16 fixMichael Niedermayer2003-05-301-1/+2
| | | | Originally committed as revision 1921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Warning and compatibility fixes.Falk Hüffner2003-05-241-1/+1
| | | | Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanupMichael Niedermayer2003-05-141-0/+12
| | | | Originally committed as revision 1882 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l (document buffer padding requirements)Michael Niedermayer2003-05-121-3/+9
| | | | Originally committed as revision 1866 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2003-04-251-2/+2
| | | | Originally committed as revision 1823 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud