summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-1727-27/+27
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use FFmpeg instead of MPlayer MANGLE macro, they are equivalent in thisdiego2009-02-171-1/+0
| | | | | | | | | | | particular case. Avoids the warning: In file included from libmpcodecs/vf_fspp.c:693: ./mangle.h:34:1: warning: "MANGLE" redefined In file included from libmpcodecs/vf_fspp.c:46: ./libavutil/internal.h:113:1: warning: this is the location of the previous definition git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move FFmpeg #includes below all others so that they do not overridediego2009-02-171-6/+6
| | | | | | | | | | | | system functions and cause the warning: In file included from libmpcodecs/vf_fspp.c:57: libmpcodecs/mp_image.h: In function 'new_mp_image': libmpcodecs/mp_image.h:214: warning: implicit declaration of function 'please_use_av_malloc' libmpcodecs/mp_image.h: In function 'free_mp_image': libmpcodecs/mp_image.h:226: warning: implicit declaration of function 'please_use_av_free' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix #endif comment.cehoyos2009-02-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for VDPAU video out, including hardware decoding.reimar2009-02-161-4/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28617 b3059339-0415-0410-9bf9-f77b7e298cf2
* The AV_XVMC_RENDER_MAGIC constant was renamed to AV_XVMC_ID in FFmpeg.diego2009-02-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reflect ffmpeg change of xvmc struct field to xvmc_id.iive2009-02-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28607 b3059339-0415-0410-9bf9-f77b7e298cf2
* The xvmc_pixfmt_render structure was renamed to xvmc_pix_fmt in FFmpeg.diego2009-02-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28603 b3059339-0415-0410-9bf9-f77b7e298cf2
* The xmvc structure member magic_id was renamed to unique_id.diego2009-02-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary #if around forward declaration.reimar2009-02-151-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restructure get_format so it can easily be extended to handle VDPAUreimar2009-02-151-7/+14
| | | | | | | and hardware-acceleration selected via get_format. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse the code for the general do_dr1 case to set get_buffer/release_buffer ↵reimar2009-02-151-3/+1
| | | | | | for XvMC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use PIX_FMT_NONE instead of -1reimar2009-02-151-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28595 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove apparently unneeded CODEC_FLAG_EMU_EDGE for XvMCreimar2009-02-151-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extend get_buffer to handle the XvMC case and remove mc_get_bufferreimar2009-02-151-93/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28591 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unset MP_IMGFLAG_IN_USE in release_buffer.reimar2009-02-151-0/+2
| | | | | | | | This is only needed for MPI_IMGTYPE_NUMBERED support and will probably first be used for VDPAU, but it is still "the right thing to do". git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28590 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge two checks for mpi != NULLreimar2009-02-151-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28589 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the default release_buffer work for XvMC, use it and remove ↵reimar2009-02-151-33/+14
| | | | | | mc_release_buffer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of mc_render_slice and use the generic draw_slice instead.reimar2009-02-151-20/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reflect the change of xvmc struct name.iive2009-02-151-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28583 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move direct-rendering hack from vo_xvmc to vf_vo, so it does not need toreimar2009-02-151-1/+4
| | | | | | | be duplicated for other systems like VDPAU or VAAPI. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Now xvmc struct uses magic_id fieldiive2009-02-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28578 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use fmt-conversion.h in vd_ffmpeg.creimar2009-02-141-27/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently place whitespace around * ( ) and ,reimar2009-02-141-70/+70
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28560 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless breakreimar2009-02-141-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28559 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation and other whitespace fixesreimar2009-02-141-90/+90
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28558 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove local copy of xvmc_render.h, it is now an installed header in FFmpeg.diego2009-02-141-5/+5
| | | | | | | Also adapt MPlayer to definition name changes in libavcodec/xvmc.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28557 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace fprintf call by mp_msg, fixes the warning:diego2009-02-141-1/+2
| | | | | | | | | In file included from libmpcodecs/vf_fspp.c:58: libmpcodecs/mp_image.h: In function 'mp_image_setfmt': libmpcodecs/mp_image.h:207: warning: implicit declaration of function 'please_use_av_log_instead_of_fprintf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28553 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: handle all special/compressed formats in a single if in ↵reimar2009-02-141-15/+4
| | | | | | mp_image_setfmt git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28552 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for image formats and codecs used by VDPAUreimar2009-02-143-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28551 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MP_IMGTYPE_NUMBERED which gives access to the kind of mp_image_t thatreimar2009-02-143-2/+25
| | | | | | | | | are numbered and have a "in use" flag which is necessary for proper buffer management as e.g. H.264 direct-rendering needs and is already used successfully for the -vo vdpau work-in-progress. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28550 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, removed a #ifdef the wrong way, CODEC_FLAG_NOT_TRUNCATED no longer exists,reimar2009-02-121-1/+0
| | | | | | | so remove reference to it to fix compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove trailing whitespace from vd_ffmpeg.reimar2009-02-121-34/+34
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace tabs in vd_ffmpeg by 8 spaces to better match FFmpeg's coding style.reimar2009-02-121-179/+179
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28543 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove several #ifdefs that check for libavcodec features from vd_ffmpeg.reimar2009-02-121-14/+0
| | | | | | They make no sense since only recent libavcodec versions are supported anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28542 b3059339-0415-0410-9bf9-f77b7e298cf2
* change internal real video packetizing format to the more straight forward oneaurel2009-02-092-35/+13
| | | | | | | | see [MPlayer-dev-eng] [PATCH] cleanup/uniformize real video packetizing patch blessed by Roberto git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28503 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give _XOPEN_SOURCE #define an explicit 600 value. Fixes build on Open Solaris.diego2009-02-072-2/+2
| | | | | | | patch by Imran Syed, freakabcd gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28480 b3059339-0415-0410-9bf9-f77b7e298cf2
* swab() needs _XOPEN_SOURCE to be defined.reimar2009-02-032-0/+2
| | | | | | | Fixes two implicit declaration warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28455 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename lzo1x_decode -> av_lzo1x_decode, this was missed in the previous patch.reimar2009-02-031-2/+2
| | | | | | | | It currently works (though badly with missing prototype) but will break on libavutil version bump. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28450 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg sync: LZO_OUTPUT_PADDING --> AV_LZO_OUTPUT_PADDINGdiego2009-02-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28449 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adapt to lzo changes in libavutilreimar2009-02-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert CONFIG_XVMC into a 0/1 definition.zuxy2009-02-021-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for libavcodec GMC flag, patch by Dave Baker, dbkr mxtelecom com.diego2009-02-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update libavcodec 'aic' flag define to match current FFmpeg.diego2009-01-301-2/+2
| | | | | | | patch by Dave Baker, dbkr mxtelecom com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid a division by 0 when using -oac mp3lame but no audio data actually is ↵reimar2009-01-281-0/+1
| | | | | | encoded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28382 b3059339-0415-0410-9bf9-f77b7e298cf2
* HAVE_3DNOW --> HAVE_AMD3DNOWdiego2009-01-262-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28370 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-252-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28364 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after DECLARE_ASM_CONST/DECLARE_ALIGNED moving within FFmpeg.diego2009-01-252-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28362 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert #ifdef WORDS_BIGENDIAN => #if WORDS_BIGENDIAN changes from r28331gpoirier2009-01-164-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Completely get rid of MMX define, use HAVE_MMX define instead.gpoirier2009-01-161-28/+25
| | | | | | | Patch by Guillaume LECERF % foxcore A gmail P com % git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28333 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation on non x86 machines (PPC here)gpoirier2009-01-165-27/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Another missed #ifdef HAVE_MMXreimar2009-01-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28328 b3059339-0415-0410-9bf9-f77b7e298cf2
* More #ifdef HAVE_MMX etc. missed by earlier search.reimar2009-01-162-9/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28327 b3059339-0415-0410-9bf9-f77b7e298cf2
* Lots and lots of #ifdef ARCH_... -> #if ARCH_...reimar2009-01-1619-61/+61
| | | | | | | | and #ifdef HAVE_MMX etc -> #if HAVE_MMX. There might be still more that need to be fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix two more instances of nonstandard license headers.diego2009-01-051-25/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sync with latest round of xvmc changes in FFmpeg.diego2009-01-021-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid unused variable warning.diego2009-01-021-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28233 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes and #ifdefs to avoid excessive #ifdeffery.diego2009-01-021-10/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28232 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reorder #includes and #ifdefs to avoid warnings and excessive #ifdeffery.diego2009-01-021-20/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28231 b3059339-0415-0410-9bf9-f77b7e298cf2
* XVID profile array should be const, so it is in rodatareimar2009-01-011-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD flickering with filters that add frames (tfields, yadif) andreimar2008-12-301-0/+6
| | | | | | -correct-pts git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28211 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD flicker with tfields as well.reimar2008-12-301-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28210 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering OSD with -vf yadif=1reimar2008-12-303-1/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28209 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix imaadpcm extradata with lavc encoder.reimar2008-12-201-2/+2
| | | | | | | | | The formula to calculate frame size was wrong, duplicated code from the encoder and did not take endianness into account when writing the value into extradata. Patch by Edouard Gomez [ed gomez (at) free fr]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28167 b3059339-0415-0410-9bf9-f77b7e298cf2
* xvmc is now a CONFIG_ option in FFmpeg.diego2008-12-151-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL notices by standard GPL headers.diego2008-12-131-3/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28145 b3059339-0415-0410-9bf9-f77b7e298cf2
* license header consistency cosmeticsdiego2008-12-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28144 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace informal GPL notes by standard GPL header.diego2008-12-131-4/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-035-23/+23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Create a separate codecs.conf entry for Tremor and use it if MPlayer isdiego2008-11-241-0/+4
| | | | | | | | with Tremor support instead of libvorbis. Previously MPlayer would show the same output on the console when decoding with libvorbis and Tremor. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28014 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Move up uninit() to avoid a forward declaration.diego2008-11-231-10/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27983 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: consistent function declarations.diego2008-11-231-4/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27982 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove tabs and trailing whitespace.diego2008-11-231-69/+69
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use libavutil FFMIN etc. instead of defining our own variants.reimar2008-11-021-21/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27878 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid pointless casting of void*reimar2008-11-021-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix smartblur filter crash due to missing default scaler choice;diego2008-10-271-1/+1
| | | | | | | | set bicubic as the default scaler. patch by Kurt Garloff, kurt garloff de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27838 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_palette: Fix compilation after libswscale API changesuau2008-10-251-8/+8
| | |