18 Commits

Author SHA1 Message Date
wang-bin 41f7de195b vo: remove dead code about scale in renderer 2014-08-05 01:03:06 +08:00
wang-bin 5938bc297d virtual VideoRenderer.widget()/graphicsItem() is reasonable 2014-02-08 13:39:17 +08:00
wang-bin 754c137373 update vo template 2013-06-16 23:03:59 +08:00
wang-bin 964e9c3368 use new OSD filter
TODO: how to control 1 OSD or all OSDs? different shortcuts?
2013-05-09 01:31:38 +08:00
wang-bin 3c44dbc3a1 remove VideoRenderer::drawXXX(). Use Filter instead 2013-05-08 23:54:48 +08:00
wang-bin 0702a4e6db new api drawXXX() to support custom osd/subtitle drawing on renderer.
subclass the existing renderer. logic is clear
TODO:
0. add constructor for with private class parameter
1. what if QPainter is needed
2. unifine the painting logic logic
3. set as pure virtual when other renderers done(gl, graphicsitem)
4. add final vo template
2013-04-04 10:34:51 +08:00
wang-bin c40132c550 template: vo always use lock. add new files in pro 2013-03-15 15:53:48 +08:00
wang-bin 4645f05751 remove unnecessary includes 2013-03-07 20:14:59 +08:00
wang-bin 3448410859 remove usePainter() and fix Qt5 build error
DO NOT use QPainter for native painting by default.
QPaintEngine::getDC() is removed in Qt5
build error: Wid cast to HWND in Qt5
2013-03-03 17:26:47 +08:00
wang-bin 080322fefd fix d2d compile error and wrong background
TODO:
for direct2d, why background is white if return after clear color and
data is null?
2013-03-02 03:13:28 +08:00
wang-bin c168f0bd60 optimize background color. gdi renderer supports now
TODO: is it necessary to set the color?
2013-03-01 19:24:26 +08:00
wang-bin cf5bab30fd let all renderers support aspect ratio 2013-03-01 01:09:28 +08:00
wang-bin dfe8fd24c8 correct var name 2013-02-28 23:55:58 +08:00
wang-bin 731d5e3422 move useQPainter() to base class VideoRenderer 2013-02-28 23:50:00 +08:00
wang-bin 11e04f5947 names change, warning fix, move some public members to private
I think QtAV is not used widely today, so api change does not matter
2013-02-28 22:43:49 +08:00
wang-bin ff273cd0a5 move write() to protected 2013-02-26 23:24:33 +08:00
wang-bin 623ebcedbd vo template: use showEvent, inherits VideoRenderer 2013-02-24 02:04:22 +08:00
wang-bin 105ba0e28d add scripts and templates to generate class
TODO: use idl?
2013-02-22 00:47:54 +08:00