29 Commits

Author SHA1 Message Date
wang-bin 6a03ae6d8c template script works on osx 2014-09-04 23:58:31 +08:00
wang-bin 41f7de195b vo: remove dead code about scale in renderer 2014-08-05 01:03:06 +08:00
wang-bin edfa68d0d8 export macro for private classes. add/remove some exports 2014-07-26 15:32:49 +08:00
wang-bin 5938bc297d virtual VideoRenderer.widget()/graphicsItem() is reasonable 2014-02-08 13:39:17 +08:00
wang-bin 33c1341bce Q_EXPORT=>QTAV_EXPORT to avoid confliction that used in another lib 2013-10-19 00:42:51 +08:00
wang-bin 59f71e0eb4 misc 2013-10-05 23:41:16 +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 52e1e1abac macro name upper case 2013-04-27 17:38:21 +08:00
wang-bin acecf7795a add templates missing functions 2013-04-25 01:14:08 +08:00
wang-bin 2a054c6490 fix private header generation from template 2013-04-25 01:01:19 +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
LucasWang 9b298eaf25 Add missing config test 2013-03-22 13:49:01 +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 f18d0f7527 templates: add base, derived and final class templates 2013-03-14 22:33:47 +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 aef182ca07 add a script to generate config tests 2013-03-03 15:50:01 +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 ffa66c3f96 gdi: keep code format the same as template's 2013-02-22 00:57:13 +08:00
wang-bin 105ba0e28d add scripts and templates to generate class
TODO: use idl?
2013-02-22 00:47:54 +08:00