summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
Commit message (Collapse)AuthorAge
* Add a lock manager API to libavcodec.Reinhard Tartler2010-02-09
| | | | | | | | | | | | | | | | | | Allows an application to register a callback that manages mutexes on behalf of FFmpeg. With this callback registered FFmpeg is fully thread safe. backport r19025 by andoma NB: This is a feature backport with little regression potential. It was requested at FOSDEM 2010 by ben@geexbox.org for use by geexbox and the enna mediacenter in the upcoming debian/squeeze and ubuntu/lucid release. Approved by DonDiego on #ffmpeg-devel Originally committed as revision 21731 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
* ff_find_hwaccel()Michael Niedermayer2009-02-24
| | | | Originally committed as revision 17568 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_hwaccel_next() by Gwenole Beauchesne.Michael Niedermayer2009-02-24
| | | | Originally committed as revision 17567 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_register_hwaccel() from Gwenole Beauchesne.Michael Niedermayer2009-02-24
| | | | Originally committed as revision 17566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check return value of ff_fill_pointer in avcodec_default_get_buffer,Reimar Döffinger2009-02-23
| | | | | | | if it returns -1 we do not know how to allocate an AVFrame for that format and must return -1 instead of returning nonsense. Originally committed as revision 17542 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Approved hunks for VAAPI / our new shiny hwaccel APIMichael Niedermayer2009-02-23
| | | | | | by Gwenole Beauchesne gbeauchesne splitted desktop com Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that there are subtitle rects to encode in avcodec_encode_subtitle()Björn Axelsson2009-02-09
| | | | | | Patch by Björn Axelsson ( gecko A acc D umu D se ) Originally committed as revision 17093 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Check that start_display_time is 0 in avcodec_encode_subtitle()Björn Axelsson2009-02-09
| | | | | | Patch by Björn Axelsson ( gecko A acc D umu D se ) Originally committed as revision 17092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove 'const' qualifier from variable in av_parse_video_frame_size().Baptiste Coudurier2009-02-08
| | | | | | Thus only one warning is printed due to assignment instead of 2 from strtol. Originally committed as revision 17045 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove useless cast, it does not remove warning, encode prototype must be ↵Baptiste Coudurier2009-02-08
| | | | | | changed Originally committed as revision 17044 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop the deprecated function register_avcodec() at the next majorStefano Sabatini2009-02-06
| | | | | | version bump. Originally committed as revision 17028 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename register_avcodec() as avcodec_register() and deprecate the oldStefano Sabatini2009-02-06
| | | | | | function name. Originally committed as revision 17026 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Ensure that the palette is set in data[1] for all 8bit formats.Michael Niedermayer2009-02-06
| | | | | | Also document it. Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | Otherwise doxygen complains about ambiguous filenames when files exist under the same name in different subdirectories. Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-19
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-17
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split ff_log_missing_feature into ff_log_missing_featureKenan Gillet2009-01-16
| | | | | | | and ff_log_ask_for_sample. Patch by Kenan Gillet: gmail_adress(author) Originally committed as revision 16637 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-14
| | | | | | and remove all ENABLE_ definitions. Originally committed as revision 16600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-13
| | | | | | They are now always defined to either 0 or 1. Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove hack to print mp2/mp1 with codec_id of CODEC_ID_MP3.Michael Niedermayer2009-01-13
| | | | Originally committed as revision 16583 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move the AVCodecContext options definition to a dedicated file, reduceStefano Sabatini2009-01-10
| | | | | | the utils.c clutter. Originally committed as revision 16514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* s/FFmpeg-devel/ffmpeg-devel/Benoit Fouet2008-12-26
| | | | Originally committed as revision 16314 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change mplayerhq.hu references to ffmpeg.org where appropriate.Diego Biurrun2008-12-25
| | | | Originally committed as revision 16310 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ARM: NEON optimised simple_idctMåns Rullgård2008-12-15
| | | | Originally committed as revision 16146 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make register_avcodec() call avcodec_init().Stefano Sabatini2008-12-14
| | | | | | | This avoids the possibility to use a registered codec without first initializing libavcodec, which resulted in unexpected behavior. Originally committed as revision 16131 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use a more explicit "codec" rather than "format" as the parameter ofStefano Sabatini2008-12-14
| | | | | | register_avcodec(). Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_log_missing_feature an internal function, and change its nameStefano Sabatini2008-12-08
| | | | | | to ff_log_missing_feature. Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement the fields rc_max_available_vbv_use andBaptiste Coudurier2008-11-29
| | | | | | | | | | rc_min_vbv_overflow_use in AVCodecContext, and use their values in the ratecontrol code rather than hardcoded ones. See the thread: "[RFC] ratecontrol buffer size magic". Patch by Baptiste Coudurier. Originally committed as revision 15955 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Making it easier to send arbitrary structures as work orders to MT workersRoman Shaposhnik2008-11-12
| | | | Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing #include "libavutil/avstring.h", fixesDiego Biurrun2008-11-05
| | | | | | libavcodec/utils.c:1139: warning: implicit declaration of function 'av_strlcat' Originally committed as revision 15777 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add audio channel layout API to libavcodec.Peter Ross2008-11-01
| | | | Originally committed as revision 15762 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uses FF_ARRAY_ELEMS() where appropriateAurelien Jacobs2008-10-21
| | | | Originally committed as revision 15662 to svn://svn.ffmpeg.org/ffmpeg/trunk
* allows calling avcodec_find_(en|de)coder_by_name with NULL parameterAurelien Jacobs2008-10-08
| | | | Originally committed as revision 15586 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark list heads static. Patch by Diego PettenòDiego Pettenò2008-10-04
| | | | Originally committed as revision 15548 to svn://svn.ffmpeg.org/ffmpeg/trunk
* x264 has removed the b-rdo and bime options, and instead integratedJason Garrett-Glaser2008-10-02
| | | | | | | | them into the subme number to attempt to reduce the number of unnecessary options. subme now scales up to 9. Patch by Jason Garett-Glaser %darkshikari A gmail P com% Originally committed as revision 15523 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate 1 line more in the chroma plane for H.264, this avoids someMichael Niedermayer2008-09-30
| | | | | | | out of array reads with mmx/sse2 code. Fixes issue327. Originally committed as revision 15467 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace second (and wrong) call to avcodec_align_dimensions() by adjustingMichael Niedermayer2008-09-30
| | | | | | | stride_align. This is not particularly pretty and I will gladly implement something else if someone has an idea! Originally committed as revision 15466 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Uniformly define _XOPEN_SOURCE to 600.Diego Biurrun2008-09-29
| | | | | | | | | The feature_tests.h header from Sun systems (Solaris/OpenSolaris) will abort the build if _XOPEN_SOURCE is defined to 500, and C99 is requested (as well as POSIX.1-2001), and will only accept it to be defined to 600. inspired by a patch from Diego Pettenò, flameeyes gmail com Originally committed as revision 15460 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Document the directpred auto value.Francesco Cosoleto2008-09-28
| | | | | | Patch by Francesco Cosoleto cosoleto ^^AT^^ gmail @@dot@@ com Originally committed as revision 15448 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename error_resilience to error_recognition.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15270 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove DEFAULT_FRAME_RATE_BASE.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15265 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop deprecated SAMPLE_FMT_S24.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15264 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stuff under #if LIBAVCODEC_VERSION_INT.Michael Niedermayer2008-09-08
| | | | Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Bump Major version, this commit is almost just renaming bits_per_sample toLuca Abeni2008-09-08
| | | | | | | | | | | bits_per_coded_sample but that cannot be done seperately. Patch by Luca Abeni Also reset the minor version and fix the forgotton change to libfaad. Note: The API/ABI should not be considered stable yet, there still may be a change done here or there if some developer has some cleanup ideas and patches! Originally committed as revision 15262 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add AVCodecContext.bits_per_raw_sample field.Peter Ross2008-08-29
| | | | Originally committed as revision 15017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change AVCodecContext.bits_per_sample to bits_per_coded_sample.Peter Ross2008-08-29
| | | | | | Nb: This change will become active on the next libavcodec major version bump. Originally committed as revision 15016 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Provide a simpler way for the user to reorder her timestamps.Michael Niedermayer2008-08-20
| | | | Originally committed as revision 14871 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add F64BE, F64LE and F64BE PCM codecs.Peter Ross2008-08-19
| | | | Originally committed as revision 14833 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add SAMPLE_FMT_DBL.Peter Ross2008-08-19
| | | | Originally committed as revision 14832 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix rc_eq mem leak.Michael Niedermayer2008-08-16
| | | | Originally committed as revision 14788 to svn://svn.ffmpeg.org/ffmpeg/trunk