33 Commits

Author SHA1 Message Date
wang-bin ce21c55b6e qt6 support
no qml. examples are wip.
fix #1381, #1294, #1389
2022-01-08 17:09:43 +08:00
afshar 42c153cbb6 fix the bug that multiple players are rendered when changing source of VideoOutput2 on qml 2017-10-11 10:16:46 +03:30
wang-bin 2110aa6028 qml: VideoOutput/VideoOutput2.source can be an AVPlayer object #935
use c++ player and qml renderer
2017-08-06 16:50:11 +08:00
wang-bin 00f5d136f2 apply rotation from video stream 2017-06-27 15:27:55 +08:00
wang-bin dfb3425db1 cmake: build qml plugin. fix cmake install dir
[skip ci]
2017-03-10 23:24:10 +08:00
wang-bin 7ba94c4844 gl: convert pal8 to rgb by sws #776
what about gray video?
2016-12-16 11:39:35 +08:00
wang-bin 6f900b34b0 qml: video eq support in VideoOutput2/Video 2016-05-26 23:03:35 +08:00
wang-bin 6447c3e093 qml: fix gl rendering rect and mat 2016-05-24 22:36:44 +08:00
wang-bin b0afb64b5b qml: add method to map from/to source frame 2016-05-18 23:55:36 +08:00
wang-bin 8e39194662 qml: bind item fbo before rendering after filters 2016-04-24 00:01:14 +08:00
wang-bin ec22ab1fd4 qml: add filter support
GLSL filter is not working.
avfilter works.
Custom filter is not tested
2016-04-23 19:03:08 +08:00
wang-bin 6bc8d803b1 gl: fix hi-dpi viewport 2016-03-24 23:43:43 +08:00
wang-bin 849f055060 gl/custom_shader: expose VideoRenderer.opengl() 2016-03-11 18:33:08 +08:00
wang-bin 48b8776dd2 gl: call OpenGLVideo.setCurrentFrame() in rendering thread
2 benefits:
1. ensure gl calls in the correct context
2. render gpu filtered frames(future), unless we use
vo.drawFrame(VideoFrame)
2016-02-03 00:36:53 +08:00
wang-bin f7fb5166d2 gl: check gl features where we can sure context is valid
The real check only do once. If the first check is in other place, gl
context may be null and we get a wrong result.
2016-01-25 02:08:24 +08:00
wang-bin 1a970d94a0 vo: backgroundColor property. do not support x11, xv, VideoOutput 2016-01-11 15:33:06 +08:00
wang-bin a611bebccd vo: simplify background update
Deprecate needDrawFrame() and needUpdateBackground(). Introduce
backgroundRegion() thus only draw each rect in the region is enough.
2016-01-11 14:17:11 +08:00
wang-bin c22d04ab0c qml: add qtmm api VideoOutput.sourceRect 2016-01-06 15:40:48 +08:00
wang-bin 5d38ff0dcb vo: simplify signal emtit logic. add properties for qobj renderes
signal xxxChanged is emitted in base class VideoRenderer. derived
classes just declare these signals and implemented by moc.
also rename VideoRenderer.frameSize to VideoRenderer.videoFrameSize
the result is abi break.
2016-01-06 15:28:34 +08:00
wang-bin aeb54dea87 qml: add VideoOutput(2).contentRect
TODO: should be done in VideoRenderer
2016-01-05 12:14:05 +08:00
wang-bin b710f47a71 vo: add property frameSize
not added in widget renderers
2015-10-21 22:45:45 +08:00
wang-bin eae98df67b qml: check null player to fix crash for player.destroy()
player becomes null if destroyed
2015-09-19 23:34:58 +08:00
wang-bin 8058ac5a46 no stl types that break abi
most algorithms and containers are fine. no std::string, exception
2015-09-13 22:48:32 +08:00
wang-bin b7c75169df gl: more opengl details in log 2015-08-19 23:37:03 +08:00
wang-bin a0cefa67e3 fix old qt version build error 2015-02-07 18:09:24 +08:00
wang-bin 93e45593ec qml: remove symbol export and private header
it's a plugin. no symbol need to be exported
2015-01-27 21:03:20 +08:00
wang-bin 54e7af4926 gl: rgb48be is not supported now 2015-01-23 11:21:08 +08:00
wang-bin 6543ec1534 qml: fbo item fill black if frame is invalid 2015-01-22 20:54:05 +08:00
wang-bin dd2ff6f777 revert previous commit. update() is already called in node
layer.enable will affects fbo item display
2015-01-22 16:16:43 +08:00
wang-bin 70d8c21643 qml: repaint sg when a new frame comes in fbo renderer
item.update only marks the node dirty and update nodes, even though
frame is rendered into fbo at that time, the result texture is not
composited into sg. sg repaint is required
2015-01-22 14:30:08 +08:00
wang-bin 6512a11321 qml: workaround for mirrored coordinates in fbo renderer 2015-01-22 13:04:15 +08:00
wang-bin 81bad3df6b qml: fix wrong asr and rotation in fbo rendering 2015-01-22 12:40:56 +08:00
wang-bin 8d31dbceff qml: add fbo item. not finished 2015-01-21 17:42:46 +08:00