summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideosurfaceformat.h
diff options
context:
space:
mode:
authorJochen Seemann <seemann.jochen@gmail.com>2017-04-09 20:32:38 +0200
committerJochen Seemann <seemann.jochen@gmail.com>2018-02-01 19:37:53 +0000
commit0b946f5ad09d782af6b06f0251c6c2607b734635 (patch)
tree45cf0385ff55238cbd7601f5af8d44ab3c963e8c /src/multimedia/video/qvideosurfaceformat.h
parent6026ebd7af864912aa37faa3c15d43195c650d82 (diff)
add mirrored API to QVideoSurfaceFormat
Adds setters and getters for the already implemented property of QVideoSurfaceFormat. Task-number: QTBUG-47606 Change-Id: Icf509af80c13e80568645d90c6a621cd30cf776c Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideosurfaceformat.h')
-rw-r--r--src/multimedia/video/qvideosurfaceformat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideosurfaceformat.h b/src/multimedia/video/qvideosurfaceformat.h
index 83785ac0a..175b199a7 100644
--- a/src/multimedia/video/qvideosurfaceformat.h
+++ b/src/multimedia/video/qvideosurfaceformat.h
@@ -117,6 +117,9 @@ public:
YCbCrColorSpace yCbCrColorSpace() const;
void setYCbCrColorSpace(YCbCrColorSpace colorSpace);
+ bool isMirrored() const;
+ void setMirrored(bool mirrored);
+
QSize sizeHint() const;
QList<QByteArray> propertyNames() const;