aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs
Commit message (Collapse)AuthorAge
* Move vd_use_slices to options structGravatar Uoti Urpala2008-04-25
|
* Remove global vo_flagsGravatar Uoti Urpala2008-04-25
| | | | Move the information to struct sh_video field.
* vd.c: Cosmetic changes + remove malloc.hGravatar Uoti Urpala2008-04-25
| | | | | Adjust formatting slightly and remove some comments. Also remove "#include malloc.h" which seems completely irrelevant.
* Reformat vd.cGravatar Uoti Urpala2008-04-25
| | | | | "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 structGravatar Uoti Urpala2008-04-25
|
* Move screen_size_xy to options structGravatar Uoti Urpala2008-04-25
|
* Move opt_screen_size_[x|y] to options structGravatar Uoti Urpala2008-04-25
|
* Move flip and softzoom to options structGravatar Uoti Urpala2008-04-25
|
* Move vidmode to options structGravatar Uoti Urpala2008-04-25
|
* Move fullscreen to options structGravatar Uoti Urpala2008-04-25
|
* Store video decoder functions in struct sh_video fieldGravatar Uoti Urpala2008-04-25
| | | | | | 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 namesGravatar Uoti Urpala2008-04-25
| | | | | 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 changesGravatar Uoti Urpala2008-04-25
|
* Reformat dec_video.cGravatar Uoti Urpala2008-04-25
| | | | | | "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 structGravatar Uoti Urpala2008-04-25
|
* vd_ffmpeg.c: Eliminate some compiler warningsGravatar Uoti Urpala2008-04-25
| | | | | 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 structGravatar Uoti Urpala2008-04-23
| | | | | | | | | | | | | | | | | | 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 -> callocGravatar Uoti Urpala2008-04-23
|
* Move correct_pts to options structGravatar Uoti Urpala2008-04-23
|
* Add option pointer to vf structGravatar Uoti Urpala2008-04-23
|
* Add context variable to vo_draw_text callbackGravatar Uoti Urpala2008-04-23
| | | | | 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 APIGravatar Uoti Urpala2008-04-23
| | | | | | | | | | | | | 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 passingGravatar Uoti Urpala2008-04-23
| | | | | | | | 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.dllGravatar zuxy2008-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restore grayscale decoding support with FFmpeg.Gravatar diego2008-04-13
| | | | | | | 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.Gravatar diego2008-04-12
| | | | | | | 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"Gravatar zuxy2008-04-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26421 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetic fix for r26419Gravatar zuxy2008-04-12
| | | | 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 absoluteGravatar zuxy2008-04-12
| | | | | | | 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 r26417Gravatar zuxy2008-04-12
| | | | 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.Gravatar zuxy2008-04-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for drvc.dll entries for mingw32Gravatar zuxy2008-04-12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26416 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_pp7 does not depend on libavcodec.Gravatar diego2008-04-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26390 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_screenshot depends on libavcodec.Gravatar diego2008-04-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26389 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l fix linking after r26378Gravatar rtogni2008-04-09
| | | | 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.Gravatar diego2008-04-06
| | | | 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.Gravatar diego2008-04-06
| | | | | | | 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.Gravatar iive2008-04-04
| | | | 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.hGravatar diego2008-04-01
| | | | | | | 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.Gravatar diego2008-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26248 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify preprocessor condition for QT codecs, configure already does theGravatar diego2008-03-15
| | | | | | | 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.Gravatar diego2008-03-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26237 b3059339-0415-0410-9bf9-f77b7e298cf2
* #include config.h before all other headers.Gravatar diego2008-03-14
| | | | 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 referencesGravatar diego2008-03-07
| | | | | | | 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:Gravatar diego2008-03-06
| | | | | | | 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'.Gravatar diego2008-03-06
| | | | 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.hGravatar uau2008-03-06
| | | | | | | | | | | | | | | | | | 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.Gravatar ulion2008-03-05
| | | | 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 longerGravatar diego2008-03-03
| | | | | | | 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.Gravatar diego2008-02-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2