summaryrefslogtreecommitdiff
path: root/libavcodec/libxvidff.c
Commit message (Collapse)AuthorAge
* configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-12
| | | | | | | | | | | | | | | | Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-02
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-04
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Remove a few if (p) av_free(p) formsClément Bœsch2011-02-03
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-26
| | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Use forced key frames when encoding with libxvid.Nicolas George2010-10-22
| | | | | | Patch by Nicolas George, nicolas D george A normalesup D org Originally committed as revision 25550 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move mm_support() from libavcodec to libavutil, make it a publicStefano Sabatini2010-09-08
| | | | | | function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove reference to not anymore existing symbol has_altivec and useStefano Sabatini2010-09-08
| | | | | | | | mm_support instead. Fix compilation if altivec is present and libxvidff.c is compiled. Originally committed as revision 25075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix doxy that refers to the wrong variable.Michael Niedermayer2010-07-27
| | | | Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Current Cygwin has mkstemp().Víctor Paesa2010-07-09
| | | | Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libxvid: add some const fixing a warningMåns Rullgård2010-07-09
| | | | Originally committed as revision 24138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow using libxvid RC without enabling encoding wrapperMåns Rullgård2010-07-09
| | | | Originally committed as revision 24137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename av_tempfile() to ff_tempfile()Måns Rullgård2010-07-06
| | | | Originally committed as revision 24075 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_tempfile() to libxvidff.c as only the xvid wrapper needs itMåns Rullgård2010-07-06
| | | | Originally committed as revision 24074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libxvid: Clear extradata pointer when freeing it.Ramiro Polla2010-03-26
| | | | | | | Fixes crash when avcodec_close() tried freeing it again. Fixes issue 1846. Originally committed as revision 22691 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libxvid is producing standard mpeg4 so it don't need its own codec idAurelien Jacobs2010-03-12
| | | | Originally committed as revision 22489 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make the following functions static (and remove ff_), they are only usedCarl Eugen Hoyos2010-02-28
| | | | | | | inside libxvidff.c: ff_xvid_encode_init(), ff_xvid_encode_frame(), ff_xvid_encode_close() Originally committed as revision 22115 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark all pix_fmts and supported_framerates compound literals as const.Reimar Döffinger2009-09-06
| | | | | | Makes no difference for gcc but at least icc can put them in .rodata then. Originally committed as revision 19789 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
* Fix filenames in Doxygen comments.Diego Biurrun2009-01-26
| | | | Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --enable-libxvid.Carl Eugen Hoyos2009-01-17
| | | | Originally committed as revision 16655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-17
| | | | Originally committed as revision 16654 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
* 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
* consistency cosmetics: Rename POWERPC identifiers to PPC.Diego Biurrun2008-12-27
| | | | Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not invade _t POSIX namespace.Diego Biurrun2008-12-13
| | | | Originally committed as revision 16109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-03
| | | | Originally committed as revision 15990 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
* Make AVCodec long_names definition conditional depending on CONFIG_SMALL.Stefano Sabatini2008-06-12
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize trellis quant optionBaptiste Coudurier2008-06-09
| | | | Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: XviD is now called Xvid.Diego Biurrun2008-05-27
| | | | Originally committed as revision 13465 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace some occurrences of -1 with PIX_FMT_NONE.Carl Eugen Hoyos2008-05-11
| | | | | | Fixes icc warning #188: enumerated type mixed with another type Originally committed as revision 13130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add some long names to AVCodec declarations.Stefano Sabatini2008-04-29
| | | | | | patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 13017 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set pixel aspect ratio for libxvid wrapper.Thorsten Jordan2008-04-24
| | | | | | Patch by Thorsten Jordan tjordanATmacrosystem de Originally committed as revision 12936 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make Xvid wrapper use threads (with support for newest CVS Xvid only)Thorsten Jordan2008-04-22
| | | | | | Patch by Thorsten Jordan ( tjordan macrosystem de ) Originally committed as revision 12928 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Apply 'cold' attribute to init/uninit functions in libavcodecZuxy Meng2008-03-21
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless code.Michael Niedermayer2008-02-09
| | | | Originally committed as revision 11887 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use HAVE_ALTIVEC preprocessor conditionals like in the rest of FFmpeg.Diego Biurrun2008-02-09
| | | | Originally committed as revision 11886 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Consistent naming and lib prefixes for x264, xvid and mp3lame within the code.Diego Biurrun2007-06-06
| | | | Originally committed as revision 9230 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Give all wrappers for external libraries names starting with lib.Diego Biurrun2007-06-06
Originally committed as revision 9226 to svn://svn.ffmpeg.org/ffmpeg/trunk