diff options
author | Peng Wu <peng.wu@intopalo.com> | 2015-06-12 13:02:38 +0300 |
---|---|---|
committer | PengWu <peng.wu@intopalo.com> | 2015-06-23 13:16:13 +0000 |
commit | dc9e10d4b7acd9e752a7b094c7178a7ecbe96ff7 (patch) | |
tree | 1cd40393f9665daa33ffb967980fd962c5d44886 /src/plugins/winrt/qwinrtcameracontrol.h | |
parent | 3cb698c0fcd05334163ac86f1a5a599dae67025b (diff) |
winrt: Implement QImageEncoderControl for camera
Implement QImageEncoderControl for camera still image capture.
It provides the functions to set camera capture resolution and
get supported resolutions list.
Task-number: QTBUG-46456
Change-Id: Ideb1aa02d420be3a30d588bebf31714fa4fa6415
Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
Diffstat (limited to 'src/plugins/winrt/qwinrtcameracontrol.h')
-rw-r--r-- | src/plugins/winrt/qwinrtcameracontrol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/winrt/qwinrtcameracontrol.h b/src/plugins/winrt/qwinrtcameracontrol.h index 95692cbc7..307667eb1 100644 --- a/src/plugins/winrt/qwinrtcameracontrol.h +++ b/src/plugins/winrt/qwinrtcameracontrol.h @@ -60,6 +60,7 @@ QT_BEGIN_NAMESPACE class QVideoRendererControl; class QVideoDeviceSelectorControl; class QCameraImageCaptureControl; +class QImageEncoderControl; class QWinRTCameraControlPrivate; class QWinRTCameraControl : public QCameraControl @@ -83,9 +84,9 @@ public: QVideoRendererControl *videoRenderer() const; QVideoDeviceSelectorControl *videoDeviceSelector() const; QCameraImageCaptureControl *imageCaptureControl() const; + QImageEncoderControl *imageEncoderControl() const; ABI::Windows::Media::Capture::IMediaCapture *handle() const; - QSize imageSize() const; private slots: void onBufferRequested(); |