diff options
author | Lars Knoll <lars.knoll@qt.io> | 2021-04-13 10:09:11 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2021-04-16 11:00:32 +0000 |
commit | 919d33f108f3cd54b4d36d873bda63eb22cfcfd5 (patch) | |
tree | 3d4e547486fdf2cf78b499b1f0315f84a4fbe1c9 /src/multimedia/video/qvideotexturehelper_p.h | |
parent | 1306531589d45a96a39db6e37706c30bf38934db (diff) |
Remove QVideoFrame(QImage) constructor
It doesn't make a lot of sense and only ever worked for some
image formats. In addition, it's never used except for some auto tests.
Change-Id: I6a32eabca8c36646ffc11d728e9cdf9b2f74d758
Reviewed-by: Doris Verria <doris.verria@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideotexturehelper_p.h')
-rw-r--r-- | src/multimedia/video/qvideotexturehelper_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/multimedia/video/qvideotexturehelper_p.h b/src/multimedia/video/qvideotexturehelper_p.h index 153752010..e0b72243a 100644 --- a/src/multimedia/video/qvideotexturehelper_p.h +++ b/src/multimedia/video/qvideotexturehelper_p.h @@ -57,8 +57,11 @@ struct TextureDescription int x; int y; }; + using BytesForSize = int(*)(QSize s); int nplanes; + int stride; + BytesForSize bytesForSize; QRhiTexture::Format textureFormat[maxPlanes]; SizeScale sizeScale[maxPlanes]; }; |