summaryrefslogtreecommitdiffstats
path: root/src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2010-03-26 03:06:37 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2010-03-26 03:36:36 (GMT)
commitef312b121470ec662ff6c861d02f880026e786b0 (patch)
tree0e646a6806e1c8ffe7ba6409bace98b55bd91646 /src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h
parentd19ad17aed345433ab34cf165ccd7c7ddf917c19 (diff)
downloadQt-ef312b121470ec662ff6c861d02f880026e786b0.zip
Qt-ef312b121470ec662ff6c861d02f880026e786b0.tar.gz
Qt-ef312b121470ec662ff6c861d02f880026e786b0.tar.bz2
Support expanding aspect ratio in direct show video window control.
Task-number: QTBUG-9118 Reviewed-by: Dmytro Poplavskiy
Diffstat (limited to 'src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h')
-rw-r--r--src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h b/src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h
index bf4fb42..beac433 100644
--- a/src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h
+++ b/src/plugins/mediaservices/directshow/mediaplayer/vmr9videowindowcontrol.h
@@ -90,6 +90,8 @@ public:
int saturation() const;
void setSaturation(int saturation);
+ void updateNativeSize();
+
private:
void setProcAmpValues();
float scaleProcAmpValue(
@@ -98,6 +100,8 @@ private:
IBaseFilter *m_filter;
WId m_windowId;
DWORD m_dirtyValues;
+ Qt::AspectRatioMode m_aspectRatioMode;
+ QRect m_displayRect;
int m_brightness;
int m_contrast;
int m_hue;