aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo_common.h
Commit message (Collapse)AuthorAgeFilesLines
* mpegvideo: convert mpegvideo_common.h to a .c fileMans Rullgard2012-08-091-893/+0
| | | | | | | | | | This file defines a single, huge function, MPV_motion(), which although being declared inline is not actually inlined by the compiler (for good reason). There is thus no sense in defining this function in a header file, resulting in multiple copies of it in the final library. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace all CODEC_ID_* with AV_CODEC_ID_*Anton Khirnov2012-08-071-3/+3
|
* mpegvideo: remove unnecessary inclusions of faandct.hMans Rullgard2012-07-291-1/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mpegvideo: Don't use ff_mspel_motion() for vc1Michael Niedermayer2012-07-051-1/+2
| | | | | | | | | | Using ff_mspel_motion assumes that s (a MpegEncContext poiinter) really is a Wmv2Context. This fixes crashes in error resilience on vc1/wmv3 videos. CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Add ff_ prefix to nonstatic functionsMartin Storsjö2012-02-151-1/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libavcodec: Add ff_ prefix to some nonstatic symbolsMartin Storsjö2012-02-151-1/+1
| | | | | | Prefix the functions atrac_generate_tables, atrac_iqmf, dct_quantize_c. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: Remove a leftover function declarationMartin Storsjö2012-02-151-6/+0
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* mpegvideo: fix invalid memory access for small video dimensionsJohn Brooks2012-01-211-14/+14
| | | | | | | | | | When either video dimension is only one macroblock, subtractions based on v_edge_pos and the macroblock size may be negative. In that situation, an unsigned comparison isn't sufficent to test for MV overruns, because a limit of (unsigned)-1 will let any other value pass. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-4/+4
|
* cosmetics: drop some completely pointless parenthesesDiego Biurrun2011-12-071-1/+1
|
* Eliminate FF_COMMON_FRAME macro.Diego Biurrun2011-07-111-16/+16
| | | | | FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
* Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.Stefano Sabatini2011-05-021-3/+3
| | | | 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>
* Move ff_emulated_edge_mc() into DSPContext.Ronald S. Bultje2011-01-281-13/+13
|
* Make denoise_dct_c and dct_quantize_trellis_c static.Diego Elio Pettenò2011-01-241-2/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Fix misspelled parameter names in Doxygen documentation.Diego Biurrun2010-07-021-2/+2
| | | | | | This fixes one Doxygen warning each. Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix strict-aliasing violations in MPV_motion_internal.Eli Friedman2010-06-301-8/+8
| | | | | | Patch by Eli Friedman, eli D friedman A gmail Originally committed as revision 23894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use right-shift instead of division by two.Jason Garrett-Glaser2010-06-221-4/+4
| | | | | | Patch by Dark Shikari Originally committed as revision 23723 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
* Get rid of pointless CONFIG_WMV2 definition.Diego Biurrun2009-12-301-1/+1
| | | | Originally committed as revision 20971 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set mb_y in mpeg2 field pictures like h264 does.Michael Niedermayer2009-11-301-15/+15
| | | | | | This fixes -vismv & -debug 16384 with field pictures. Originally committed as revision 20670 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ""MPEG motion vector out of boundary" message more verbose.Michael Niedermayer2009-11-301-1/+1
| | | | Originally committed as revision 20669 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetic: Reindent after last commitJeff Downs2009-08-031-1/+1
| | | | Originally committed as revision 19576 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r18344. Fixes at least issue 1218, 1221, and 1187), see masterJeff Downs2009-08-031-1/+0
| | | | | | | issue 1221 for details. Briefly, out of bounds field mvs in field pictures would cause a crash. Originally committed as revision 19575 to svn://svn.ffmpeg.org/ffmpeg/trunk
* fix indentation and remove whitespace after returnBaptiste Coudurier2009-04-131-1/+1
| | | | Originally committed as revision 18481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Try to honor even completely invalid motion vectors as far as isMichael Niedermayer2009-04-061-0/+1
| | | | | | | easy. Fixes issue961. Originally committed as revision 18344 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
* Directly #include some required headers.Diego Biurrun2009-01-251-0/+1
| | | | Originally committed as revision 16780 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Remove pointless period after copyright statement non-sentences.Diego Biurrun2009-01-191-1/+1
| | | | Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace all occurrence of ENABLE_ by the corresponding CONFIG_, HAVE_ or ARCH_Aurelien Jacobs2009-01-141-10/+10
| | | | | | 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-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
* Fix a warning about an undefined function when compiling h264.cCarl Eugen Hoyos2008-09-291-1/+0
| | | | Originally committed as revision 15462 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Globally rename the header inclusion guard names.Stefano Sabatini2008-08-311-3/+3
| | | | | | | | | Consistently apply this rule: the guard name is obtained from the filename by stripping the leading "lib", converting '/' and '.' to '_' and uppercasing the resulting name. Guard names in the root directory have to be prefixed by "FFMPEG_". Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Force inlining of MPV_motion_internal.Keiji Costantini2008-04-211-1/+1
| | | | | | | | Patch by strites: strites gmail com Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations Date: 04/06/2008 11:32 PM Originally committed as revision 12918 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Unroll codepathKeiji Costantini2008-04-211-13/+49
| | | | | | | | Patch by strites: strites gmail com Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations Date: 04/06/2008 11:32 PM Originally committed as revision 12917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Break some overly long lines.Keiji Costantini2008-04-101-13/+28
| | | | | | patch by Keiji Costantini, lists strites net Originally committed as revision 12782 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: Break some overly long lines.Keiji Costantini2008-04-101-16/+30
| | | | | | patch by Keiji Costantini, lists strites net Originally committed as revision 12781 to svn://svn.ffmpeg.org/ffmpeg/trunk
* add FF_ prefix to all (frame)_TYPE usageAurelien Jacobs2008-03-091-3/+3
| | | | Originally committed as revision 12399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add FFMPEG_ prefix to all multiple inclusion guards.Diego Biurrun2007-10-171-3/+3
| | | | Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make grayscale only decoding checks in inner loops compiletime killableMichael Niedermayer2007-08-011-8/+8
| | | | Originally committed as revision 9846 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix typoPanagiotis Issaris2007-07-311-1/+1
| | | | Originally committed as revision 9841 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Group all copyright and author notices together.Diego Biurrun2007-07-051-2/+2
| | | | Originally committed as revision 9483 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Description: split mpegvideo.cBenoit Fouet2007-07-031-0/+836
Originally committed as revision 9467 to svn://svn.ffmpeg.org/ffmpeg/trunk