aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpcodecs/vf_vo.c
Commit message (Collapse)AuthorAge
* 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.
* 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.
* 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.
* Add global ass_force_reload flag.Gravatar eugeni2008-01-23
| | | | | | | If it is set, renderer is reconfigured before the next frame. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25841 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all vf_info_t structs constGravatar reimar2007-12-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25249 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark several uses of vo_functions_t as const to stop some of the currentGravatar reimar2007-12-02
| | | | | | | hacks e.g. in vidix code from spreading. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25247 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -ass-hinting option for setting font hinting method.Gravatar eugeni2007-04-27
| | | | | | | | | It is possible to separately configure hinting for scaled and unscaled osd. The default is native hinter for unscaled osd (only vo_gl at this point), no hinting for vf_ass. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common vo initialization code to video_out.cGravatar reimar2007-02-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Speed up ASS subtitles display by detecting changes between two consecutiveGravatar eugeni2006-12-06
| | | | | | | rendering results. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21522 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set video aspect ratio for libass in vf_vo.Gravatar eugeni2006-12-02
| | | | | | | This was lost when ass_configure was split into smaller functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21443 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make compilation depending on USE_OSD unconditional.Gravatar uau2006-11-22
| | | | | | | | | USE_OSD was hardcoded to true in configure, manually turning it off would break compilation, and most OSD-related code wasn't affected by it anyway so it did nothing useful. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add deinterlace property, patch by Carl Eugen HoyosGravatar reimar2006-11-17
| | | | | | | | (cehoyos [at] rainbow studorg tuwien ac at) with small modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20989 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use vf control for reading pts from vf_voGravatar uau2006-11-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20922 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initialize fontconfig in VFCTRL_INIT_EOSD handler.Gravatar eugeni2006-11-05
| | | | | | | | | | Recent libass api changes moved fontconfig initialization to filter's config() function. It is bad, because cache update can take a long time, resulting in unpleasant sound effects. This change restores the original behaviour. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Libass interface reworked:Gravatar eugeni2006-10-28
| | | | | | | | | - ass_instance_t renamed to ass_renderer_t - ass_library_t introduced - use of mplayer-specific global variables limited to ass_mp.c git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20493 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split ass_configure() into several smaller functions.Gravatar eugeni2006-10-26
| | | | | | | FontConfig initialization moved from ass_init() to ass_set_fonts(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20462 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo in sub_delay external specification.Gravatar eugeni2006-10-13
| | | | | | | Patch by Jindrich Makovicka <makovick a gmail d com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20203 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix build failure when ASS is disabledGravatar aurel2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add EOSD support to vf_vo.Gravatar eugeni2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19582 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of useless vf->priv castsGravatar reimar2006-08-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19469 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a new video pts tracking mode, enabled by option -correct-pts.Gravatar uau2006-07-06
| | | | | | | | | | | | | | This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵Gravatar michael2006-03-21
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.Gravatar diego2005-11-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiersGravatar henry2005-04-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* sort of a hack, but at least this lets the framerate-increasingGravatar rfelker2003-05-03
| | | | | | | filters work in mplayer, albeit without proper timing... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10053 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the new -vf option wich is the same as vop in reverse order.Gravatar albeu2003-03-15
| | | | | | | | Syntax is we decided, so you can give the nomes or not with both vop and vf. vf take precedence over vop. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass start slice to the vo it make dr + slice implemantation easierGravatar albeu2003-03-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9561 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed get_info, using the same sheme as in libmpcodecs insteadGravatar alex2002-11-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesGravatar arpi2002-10-13
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7732 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for VFCAP_ACCEPT_STRIDE in vo driversGravatar arpi2002-10-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7688 b3059339-0415-0410-9bf9-f77b7e298cf2
* changing return type of put_image void->intGravatar arpi2002-09-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7369 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes by Dominik Mierzejewski <dominik@rangers.eu.org>Gravatar arpi2002-09-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7221 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l fixGravatar alex2002-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7126 b3059339-0415-0410-9bf9-f77b7e298cf2
* ... removed from vf's control(), sing struct for equalizer. based on patch ↵Gravatar arpi2002-07-28
| | | | | | by Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6833 b3059339-0415-0410-9bf9-f77b7e298cf2
* eq reworkedGravatar alex2002-07-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6787 b3059339-0415-0410-9bf9-f77b7e298cf2
* equalizer reworkedGravatar alex2002-07-24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6781 b3059339-0415-0410-9bf9-f77b7e298cf2
* report error if bad dimensions requested (<=0)Gravatar alex2002-05-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6198 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10lGravatar alex2002-05-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6158 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.Gravatar arpi2002-05-20
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* osd crash fixedGravatar arpi2002-04-26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5854 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD handled by vf control()Gravatar arpi2002-04-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5644 b3059339-0415-0410-9bf9-f77b7e298cf2
* mp_image.h and img_format.h moved to libmpcodecsGravatar arpi2002-04-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5608 b3059339-0415-0410-9bf9-f77b7e298cf2
* capabilities support -> automatic insertion of scale, expand, ppGravatar arpi2002-04-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5566 b3059339-0415-0410-9bf9-f77b7e298cf2
* print VO infoGravatar arpi2002-04-11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5560 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf control codes added, autoq supportGravatar arpi2002-04-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5520 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_config_count now counts calls to vo->config()Gravatar arpi2002-04-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5512 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_next_uninit was Wrong Thing - thx to Fredrik KuivinenGravatar arpi2002-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5509 b3059339-0415-0410-9bf9-f77b7e298cf2
* video filter layer - written from scratch, but inspired a lot by Fredrik ↵Gravatar arpi2002-04-06
Kuivinen's patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5508 b3059339-0415-0410-9bf9-f77b7e298cf2