summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Merge svn changes up to r26587Uoti Urpala2008-04-295-5/+5
|\ | | | | | | | | | | | | | | Conflicts: Makefile configure osdep/timer-darwin.c
| * Use consistent #include paths without "../".diego2008-04-281-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
| * Consistently #include mpbswap.h instead of bswap.h everywhere.diego2008-04-284-4/+4
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26574 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Merge svn changes up to r26555Uoti Urpala2008-04-281-1/+1
|\|
| * Only compile libmpcodecs/ve_qtvideo.c on Windows.diego2008-04-261-1/+1
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26545 b3059339-0415-0410-9bf9-f77b7e298cf2
* | vd.c: Make extern decoder declarations constUoti Urpala2008-04-261-23/+23
| | | | | | | | | | | | The earlier commit "Make video decoder description structs const" made the definitions const but didn't change the extern declarations in vd.c to match. Fix those to be const too.
* | Make audio decoder description structs constUoti Urpala2008-04-2629-56/+56
| | | | | | | | | | | | Make the per-decoder struct ad_functions and its ->info struct constants. Same for the mpcodecs_ad_drivers[] table of pointers to those structs.
* | vf_divtc.c: Make pointlessly static variable a normal localUoti Urpala2008-04-261-1/+1
| | | | | | | | | | | | Apparently because it was declared together with local constant tables (for which the "static" part was useless but harmless) a pointer variable was also declared static.
* | Mark some constant symbols as suchUoti Urpala2008-04-2613-30/+30
| |
* | Merge svn changes up to r26540Uoti Urpala2008-04-261-153/+0
|\| | | | | | | | | | | Conflicts: Makefile
| * Merge libmpcodecs/Makefile into top-level Makefile.diego2008-04-241-153/+0
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26514 b3059339-0415-0410-9bf9-f77b7e298cf2
* | Move vf_settings to options structUoti Urpala2008-04-262-3/+5
| |
* | Move vo_gamma_* to options structUoti Urpala2008-04-261-21/+10
| |
* | Make video decoder description structs constUoti Urpala2008-04-2526-33/+33
| | | | | | | | | | | | This makes the per-decoder struct vd_functions and its ->info struct constants. Same for the mpcodecs_vd_drivers[] table of pointers to those structs.
* | Move vd_use_slices to options structUoti Urpala2008-04-254-8/+3
| |
* | Remove global vo_flagsUoti Urpala2008-04-251-4/+3
| | | | | | | | Move the information to struct sh_video field.
* | vd.c: Cosmetic changes + remove malloc.hUoti Urpala2008-04-251-15/+6
| | | | | | | | | | Adjust formatting slightly and remove some comments. Also remove "#include malloc.h" which seems completely irrelevant.
* | Reformat vd.cUoti Urpala2008-04-251-189/+221
| | | | | | | | | | "indent -kr -l79 -nut dec_video.c --ignore-newlines vd.c", fix two "sh_video_t * sh" to "sh_video_t *sh" by hand.
* | Move movie_aspect to options structUoti Urpala2008-04-251-2/+1
| |
* | Move screen_size_xy to options structUoti Urpala2008-04-252-11/+8
| |
* | Move opt_screen_size_[x|y] to options structUoti Urpala2008-04-256-25/+21
| |
* | Move flip and softzoom to options structUoti Urpala2008-04-251-9/+7
| |
* | Move vidmode to options structUoti Urpala2008-04-251-3/+2
| |
* | Move fullscreen to options structUoti Urpala2008-04-251-2/+2
| |
* | Store video decoder functions in struct sh_video fieldUoti Urpala2008-04-252-28/+30
| | | | | | | | | | | | Remove the global variable mpvdec and move the video decoder pointer to struct sh_video field vd_driver. Audio already had a similar ad_driver field from before.
* | Remove _s/_st suffix from some struct namesUoti Urpala2008-04-2589-378/+378
| | | | | | | | | | Since the names are always used after the keyword "struct" having a suffix as in "struct demuxer_st" is almost completely pointless.
* | dec_video.c: A couple of cosmetic changesUoti Urpala2008-04-251-12/+7
| |
* | Reformat dec_video.cUoti Urpala2008-04-251-255/+293
| | | | | | | | | | | | "indent -kr -l79 -nut dec_video.c --ignore-newlines dec_video.c", fix some "unknown_typedef * arg" in parameter lists by hand to "unrecognized_typedef *arg".
* | Move -lavdopts to options structUoti Urpala2008-04-251-68/+54
| |
* | vd_ffmpeg.c: Eliminate some compiler warningsUoti Urpala2008-04-251-5/+5
| | | | | | | | | | Make the functions used in avctx->draw_horiz_band match its type (add a "const"). Add cast to avoid void * arithmetic.
* | Move global vo_config_count to vo structUoti Urpala2008-04-231-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the global and Add a corresponding field to the vo struct, plus another which tells whether the LAST config call was successful.The latter value which tells whether the VO should be properly configured at the moment seems a better match for the semantics actually needed in most places where the old value was used. The 'count' field with the old semantics is not currently used by anything, but I'm leaving it there for vo drivers which would need those semantics if converted to use the struct. Existing uses of the global outside old vo drivers are either converted to use the struct field or moved inside the vo_xyz() calls (instead of "if (vo_config_count) vo_flip_page(..." just call vo_flip_page which will now do nothing if not configured). The removal of the check in mpcommon.c/update_subtitles() is less trivial than the others, but I think it shouldn't cause problems.
* | vf.c: malloc+memset -> callocUoti Urpala2008-04-231-2/+1
| |
* | Move correct_pts to options structUoti Urpala2008-04-233-9/+13
| |
* | Add option pointer to vf structUoti Urpala2008-04-234-17/+25
| |
* | Add context variable to vo_draw_text callbackUoti Urpala2008-04-231-2/+2
| | | | | | | | | | Add a context variable and rename the function to osd_draw_text. Create a new vo_draw_text that is a wrapper for VOs using old API.
* | Add new video driver APIUoti Urpala2008-04-231-25/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | Create new video driver API that has a per-instance context structure and does not rely on keeping status in global or static variables. Existing drivers are not yet converted to this API; instead there is a wrapper which translates calls to them. In the new API, an old API call vo_functions->xyz(args) is generally replaced by vo_xyz(vo_instance, args). The changes to keep the vesa, dxr2 and xover drivers compiling have not been tested.
* | Change VOCTRL_[GET|SET]_EQUALIZER argument passingUoti Urpala2008-04-231-2/+4
|/ | | | | | | | These were the only voctrl types with more than one argument. The second argument was passed using variable arguments. Change them to use a single argument (address of a struct containing both old arguments). This makes forwarding the arguments to other functions easier and allows simplifying code.
* Set dll_type and rv_handle for drvc.dllzuxy2008-04-131-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restore grayscale decoding support with FFmpeg.diego2008-04-132-0/+6
| | | | | | | Removing support was done due to a silly misunderstanding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Backport SSE2-optimized IDCT routines from upstream libmpeg2.diego2008-04-121-0/+2
| | | | | | | Thanks to Alexander Strange for finding and fixing some bugs. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26425 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oops...should be "drv43260.dll" instead of "drv34260.dll"zuxy2008-04-121-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26421 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic fix for r26419zuxy2008-04-121-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26420 b3059339-0415-0410-9bf9-f77b7e298cf2
* Dlls can be relocated when loading so rely on filename instead of absolutezuxy2008-04-121-3/+2
| | | | | | | address to check if it's drv43260.dll and hence needs patching. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26419 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indentation fix for r26417zuxy2008-04-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't print "Could not patch" messages when we haven't actually tried to patch.zuxy2008-04-121-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for drvc.dll entries for mingw32zuxy2008-04-121-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26416 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_pp7 does not depend on libavcodec.diego2008-04-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26390 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_screenshot depends on libavcodec.diego2008-04-111-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26389 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l fix linking after r26378rtogni2008-04-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update Makefile to account for native/RTjpegN.c --> native/rtjpegn.c renaming.diego2008-04-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26339 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename RTJPEG files so that filenames consist of lowercase name only.diego2008-04-064-3/+3
| | | | | | | Parts of the build system assume lowercase-only filenames. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26336 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change I_TYPE -> FF_I_TYPE to fix compilation.iive2008-04-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not #include libavutil/common.h. It is not used directly and mpbswap.hdiego2008-04-017-7/+0
| | | | | | | now #includes all required headers on its own. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26312 b3059339-0415-0410-9bf9-f77b7e298cf2
* Introduce HAVE_QUICKTIME definition and use it where appropriate.diego2008-03-152-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify preprocessor condition for QT codecs, configure already does thediego2008-03-152-2/+2
| | | | | | | necessary checks, no need to duplicate them. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate #include of mpbswap.h.diego2008-03-141-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26237 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include config.h before all other headers.diego2008-03-142-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Grayscale encoding/decoding with FFmpeg is no longer enabled, remove referencesdiego2008-03-072-6/+0
| | | | | | | from the documentation and the relevant options from the glue code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26198 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix printf format string mismatch, eliminates the warning:diego2008-03-061-1/+1
| | | | | | | ve_vfw.c:252: warning: format '%d' expects type 'int', but argument 2 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26180 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add necessary header #includes to fix 'make checkheaders'.diego2008-03-0610-0/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26179 b3059339-0415-0410-9bf9-f77b7e298cf2
* ve_vfw.c: #include aviheader.h instead of wine avifmt.huau2008-03-061-1/+1
| | | | | | | | | | | | | | | | | | Compilation was broken after libmpdemux/muxer.h started including libmpdemux/aviheader.h. ve_vfw.c included both muxer.h and loader/wine/avifmt.h, and the latter has definitions that conflict with aviheader.h ones. Fix by removing the avifmt.h include. I did not carefully check that changing the includes doesn't break any ve_vfw.c code. However it at least fixes compilation, and if the avifmt.h versions differ in some significant way then the code is fundamentally broken anyway: ve_vfw cannot use different versions of the avi struct definitions when it also uses shared muxer.h types (those must use the standard definitions to keep the type compatible with what's used in other files). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix ffvorbis decoder's output channel order with channel reordering function.ulion2008-03-051-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ugly workaround for conflicting dca.h headers, it is no longerdiego2008-03-031-3/+0
| | | | | | | necessary now that -I../libavcodec is not in CFLAGS anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26154 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-2513-69/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Revert nonsense commit.diego2008-02-251-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove old EMU_OLD cruft.diego2008-02-251-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not use a global temps variable, this is ugly and does not compile with ICC.reimar2008-02-241-39/+40
| | | | | | | Place them on the stack instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26084 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless and confusing commentsreimar2008-02-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2226-80/+78
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26061 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use filename as multiple inclusion guard.diego2008-02-211-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26043 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_sab mirrors coefficients past the edge of the picture instead of cropping:diego2008-02-201-3/+3
| | | | | | | | | | | if (iy<0) iy= -iy; if(iy>=h) iy= h-iy-1; This produces -1,-2,-3... as it goes further past the end of an image, which crashes. Change this to h-1,h-2,h-3.. to avoid the crash. patch by Alexander Strange, astrange ithinksw com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26038 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow specifying a size for -vf rgbtestreimar2008-02-171-6/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26020 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid reinit of vo with the exactly same parameters over and over.reimar2008-02-16