diff options
author | Samuel Nevala <samuel.nevala@intopalo.com> | 2015-09-23 15:18:39 +0300 |
---|---|---|
committer | Samuel Nevala <samuel.nevala@intopalo.com> | 2015-09-29 08:12:34 +0000 |
commit | e489e7b5b1bf41101cb95785fd1aeb30e3a2f282 (patch) | |
tree | 3fe6fcc9be02ac0ef5484bb13833970ebd710071 /src/plugins/winrt/qwinrtcameravideorenderercontrol.h | |
parent | 416db33110f0392ba3f882f395168cbe37fed6ff (diff) |
winrt: Introduce DirectX pipeline bypass.
Qt Windows Runtime camera uses DirectVideo to convert NV12 format
texture to BGRA format texture. As the EGL Node can draw using NV12
already, allow video render control to choose which path to take. By
default use DirectVideo. Bypass can be used as fallback when
DirectVideo cannot be used or is not working.
Task-Id: QTBUG-48331
Change-Id: I0cb87a7c4523bfb60610e6b41ab3fb05aff092a1
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src/plugins/winrt/qwinrtcameravideorenderercontrol.h')
-rw-r--r-- | src/plugins/winrt/qwinrtcameravideorenderercontrol.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/winrt/qwinrtcameravideorenderercontrol.h b/src/plugins/winrt/qwinrtcameravideorenderercontrol.h index 122418de3..76bff5e0b 100644 --- a/src/plugins/winrt/qwinrtcameravideorenderercontrol.h +++ b/src/plugins/winrt/qwinrtcameravideorenderercontrol.h @@ -56,6 +56,7 @@ public: ~QWinRTCameraVideoRendererControl(); bool render(ID3D11Texture2D *texture) Q_DECL_OVERRIDE; + bool dequeueFrame(QVideoFrame *frame) Q_DECL_OVERRIDE; void queueBuffer(IMF2DBuffer *buffer); void discardBuffers(); void incrementProbe(); |