summaryrefslogtreecommitdiffstats
path: root/libavcodec/libxvidff.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'qatar/master'Michael Niedermayer2011-05-131-3/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (33 commits) rtpdec_qdm2: Don't try to parse data packet if no configuration is received ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand. ac3enc: clean up count_frame_bits() and count_frame_bits_fixed() mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame. srtdec: make sure we don't write past the end of buffer wmaenc: improve channel count and bitrate error handling in encode_init() matroskaenc: make sure we don't produce invalid file with no codec ID matroskadec: check that pointers were initialized before accessing them lavf: fix function name in compute_pkt_fields2 av_dlog message lavf: fix av_find_best_stream when providing a wanted stream. lavf: fix av_find_best_stream when decoder_ret is given and using a related stream. ffmpeg: factorize quality calculation tiff: add support for SamplesPerPixel tag in tiff_decode_tag() tiff: Prefer enum TiffCompr over int for TiffContext.compr. mov: Support edit list atom version 1. configure: Enable libpostproc automatically if GPL code is enabled. Cosmetics: fix prototypes in oggdec oggdec: fix memleak with continuous streams. matroskaenc: add missing new line in av_log() call dnxhdenc: add AVClass in private context. ... swscale changes largely rewritten by me or replaced by baptsites due to lots of bugs in ronalds code. Above code is also just in case its not obvios to a large extended duplicates that where cherry picked from ffmpeg. Conflicts: configure ffmpeg.c libavformat/matroskaenc.c libavutil/pixfmt.h libswscale/ppc/swscale_template.c libswscale/swscale.c libswscale/swscale_template.c libswscale/utils.c libswscale/x86/swscale_template.c tests/fate/h264.mak tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_copy_le tests/ref/lavfi/pixfmts_null_le tests/ref/lavfi/pixfmts_scale_le tests/ref/lavfi/pixfmts_vflip_le Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun2011-05-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-021-7/+7
| | | | | | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-041-2/+1
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Remove a few if (p) av_free(p) formsClément Bœsch2011-02-031-6/+3
| | | | | | | | 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-261-1/+1
| | | | | | | | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*Stefano Sabatini2011-05-021-7/+7
| |
* | make xvid less picky about unkown aspectMichael Niedermayer2011-03-271-2/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Remove a few if (p) av_freep(&p) formsClément Bœsch2011-02-061-2/+1
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 523d9407d57e9210428b6d962f0ebf48aae55638)
* | Remove a few if (p) av_free(p) formsClément Bœsch2011-02-041-6/+3
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 437fb1c87d7b4b0730db97d0858b4f39fffff2a9)
* | Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.Diego Elio Pettenò2011-01-281-1/+1
|/ | | | | | | | None of these symbols should be accessed directly, so declare them as hidden. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d36beb3f6902b1217beda576aa18abf7eb72b03c)
* Use forced key frames when encoding with libxvid.Nicolas George2010-10-221-1/+5
| | | | | | 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-081-2/+2
| | | | | | 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-081-4/+2
| | | | | | | | 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-271-15/+16
| | | | Originally committed as revision 24549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Current Cygwin has mkstemp().Víctor Paesa2010-07-091-1/+1
| | | | Originally committed as revision 24144 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libxvid: add some const fixing a warningMåns Rullgård2010-07-091-1/+1
| | | | Originally committed as revision 24138 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow using libxvid RC without enabling encoding wrapperMåns Rullgård2010-07-091-36/+40
| | | | Originally committed as revision 24137 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename av_tempfile() to ff_tempfile()Måns Rullgård2010-07-061-2/+2
| | | | 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-061-0/+42
| | | | Originally committed as revision 24074 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-301-7/+7
| | | | Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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-301-1/+1
| | | | | | 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-261-1/+1
| | | | | | | 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-121-1/+1
| | | | 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-281-6/+6
| | | | | | | 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-061-1/+1
| | | | | | 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-011-1/+1
| | | | | | | 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-261-1/+1
| | | | Originally committed as revision 16811 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation with --enable-libxvid.Carl Eugen Hoyos2009-01-171-0/+1
| | | | Originally committed as revision 16655 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove ff_get_fourcc() and use AV_RL32() insteadAurelien Jacobs2009-01-171-1/+1
| | | | Originally committed as revision 16654 to svn://svn.ffmpeg.org/ffmpeg/trunk
* export gcd function as av_gcd()Aurelien Jacobs2009-01-171-2/+2
| | | | Originally committed as revision 16653 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change semantic of CONFIG_*, HAVE_* and ARCH_*.Aurelien Jacobs2009-01-131-2/+2
| | | | | | 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-271-1/+1
| | | | Originally committed as revision 16359 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Do not invade _t POSIX namespace.Diego Biurrun2008-12-131-15/+15
| | | | Originally committed as revision 16109 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Delete unnecessary 'extern' keywords.Diego Biurrun2008-12-031-1/+1
| | | | Originally committed as revision 15990 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove stuff under #if LIBAVCODEC_VERSION_INT.Michael Niedermayer2008-09-081-3/+0
| | | | 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-121-1/+1
| | | | Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
* uniformize trellis quant optionBaptiste Coudurier2008-06-091-1/+5
| | | | Originally committed as revision 13722 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: XviD is now called Xvid.Diego Biurrun2008-05-271-27/+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-111-1/+1
| | | | | | 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-291-0/+1
| | | | | | 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-241-0/+11
| | | | | | 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-221-2/+3
| | | | | | 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-211-2/+2
| | | | Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove pointless code.Michael Niedermayer2008-02-091-2/+0
| | | | 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-091-2/+2
| | | | 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-061-2/+2
| | | | 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-061-0/+767
Originally committed as revision 9226 to svn://svn.ffmpeg.org/ffmpeg/trunk
OpenPOWER on IntegriCloud