summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAge
* 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
* 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
* * 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
* removed warningFabrice Bellard2003-01-23
| | | | Originally committed as revision 1506 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
* get_format()Michael Niedermayer2003-01-12
| | | | Originally committed as revision 1451 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moved avpicture_xxx to imgconvertFabrice Bellard2003-01-11
| | | | Originally committed as revision 1434 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moved avcodec_get_chroma_sub_sample() to imgconvert.cFabrice Bellard2003-01-11
| | | | Originally committed as revision 1430 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * avoid usage of next/last buffer after flushZdenek Kabelac2003-01-06
| | | | | | (but there still something wrong when the first frame isn't keyframe) Originally committed as revision 1403 to svn://svn.ffmpeg.org/ffmpeg/trunk
* qpel in mmx2/3dnowMichael Niedermayer2003-01-05
| | | | | | qpel refinement quality parameter Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk
* mb qp limitsMichael Niedermayer2002-12-18
| | | | Originally committed as revision 1340 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * fill codec_id in codec_openZdenek Kabelac2002-12-09
| | | | Originally committed as revision 1329 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AVVideoFrame -> AVFrameMichael Niedermayer2002-12-09
| | | | Originally committed as revision 1327 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanup / messup?Michael Niedermayer2002-12-09
| | | | | | | | fixes 20% speedloss bug removes redundant variables from MpegEncContext release buffers in avcodec_flush_buffers() (untested) Originally committed as revision 1325 to svn://svn.ffmpeg.org/ffmpeg/trunk
* print a warning if something allocates 0 bytesMichael Niedermayer2002-12-04
| | | | Originally committed as revision 1307 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cleanupMichael Niedermayer2002-12-04
| | | | | | | | | | | adding AVVideoFrame moving quality, pict_type, key_frame, qscale_table, ... to AVVideoFrame removing obsolete variables in AVCodecContext skiping of MBs in b frames correctly initalizing AVCodecContext picture buffer cleanup Originally committed as revision 1302 to svn://svn.ffmpeg.org/ffmpeg/trunk
* * two functions to handle allocation of static data more simpleZdenek Kabelac2002-12-03
| | | | | | | | | av_mallocz_static - called for every static data table av_free_static - called when ffmpeg is no longer needed and should free all static resources * simple usage shown in mpegaudiodec.c Originally committed as revision 1301 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
* * avcodec_init could be removed I guess...Zdenek Kabelac2002-11-11
| | | | Originally committed as revision 1192 to svn://svn.ffmpeg.org/ffmpeg/trunk
* dont call emms_c() for each MBMichael Niedermayer2002-10-31
| | | | Originally committed as revision 1127 to svn://svn.ffmpeg.org/ffmpeg/trunk
* more defaultsMichael Niedermayer2002-10-22
| | | | Originally committed as revision 1065 to svn://svn.ffmpeg.org/ffmpeg/trunk
* better/cleaner error resilience (done in a 2nd pass after decoding)Michael Niedermayer2002-10-13
| | | | | | h263/mpeg4 out of order slice decoding Originally committed as revision 1030 to svn://svn.ffmpeg.org/ffmpeg/trunk
* corrected pixel format displayFabrice Bellard2002-10-11
| | | | Originally committed as revision 1025 to svn://svn.ffmpeg.org/ffmpeg/trunk
* added two pass infoFabrice Bellard2002-10-10
| | | | Originally committed as revision 1022 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Minor warning fix.Falk Hüffner2002-09-28
| | | | Originally committed as revision 977 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fixing i_quant_factor, this should finally fix the bitrate bug with ffserver ↵Michael Niedermayer2002-09-19
| | | | | | hopefully Originally committed as revision 959 to svn://svn.ffmpeg.org/ffmpeg/trunk