equal
deleted
inserted
replaced
40 ****************************************************************************/ |
40 ****************************************************************************/ |
41 |
41 |
42 #ifndef VMR9VIDEOWINDOWCONTROL_H |
42 #ifndef VMR9VIDEOWINDOWCONTROL_H |
43 #define VMR9VIDEOWINDOWCONTROL_H |
43 #define VMR9VIDEOWINDOWCONTROL_H |
44 |
44 |
45 #include <qvideowindowcontrol.h> |
45 #include "../../src/multimedia/qvideowindowcontrol.h" |
46 |
46 |
47 #include <dshow.h> |
47 #include <dshow.h> |
48 #include <d3d9.h> |
48 #include <d3d9.h> |
49 #include <vmr9.h> |
49 #include <vmr9.h> |
50 |
50 |
70 |
70 |
71 void repaint(); |
71 void repaint(); |
72 |
72 |
73 QSize nativeSize() const; |
73 QSize nativeSize() const; |
74 |
74 |
75 QVideoWidget::AspectRatioMode aspectRatioMode() const; |
75 Qt::AspectRatioMode aspectRatioMode() const; |
76 void setAspectRatioMode(QVideoWidget::AspectRatioMode mode); |
76 void setAspectRatioMode(Qt::AspectRatioMode mode); |
77 |
77 |
78 int brightness() const; |
78 int brightness() const; |
79 void setBrightness(int brightness); |
79 void setBrightness(int brightness); |
80 |
80 |
81 int contrast() const; |
81 int contrast() const; |
93 IVMRMixerControl9 *control, VMR9ProcAmpControlFlags property, int value) const; |
93 IVMRMixerControl9 *control, VMR9ProcAmpControlFlags property, int value) const; |
94 |
94 |
95 IBaseFilter *m_filter; |
95 IBaseFilter *m_filter; |
96 WId m_windowId; |
96 WId m_windowId; |
97 DWORD m_dirtyValues; |
97 DWORD m_dirtyValues; |
|
98 Qt::AspectRatioMode m_aspectRatioMode; |
|
99 QRect m_displayRect; |
98 int m_brightness; |
100 int m_brightness; |
99 int m_contrast; |
101 int m_contrast; |
100 int m_hue; |
102 int m_hue; |
101 int m_saturation; |
103 int m_saturation; |
102 bool m_fullScreen; |
104 bool m_fullScreen; |