diff options
Diffstat (limited to 'src/multimedia/video/qvideotexturehelper.cpp')
-rw-r--r-- | src/multimedia/video/qvideotexturehelper.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/multimedia/video/qvideotexturehelper.cpp b/src/multimedia/video/qvideotexturehelper.cpp index 4465ae6f1..ff0f43db0 100644 --- a/src/multimedia/video/qvideotexturehelper.cpp +++ b/src/multimedia/video/qvideotexturehelper.cpp @@ -64,11 +64,6 @@ static const TextureDescription descriptions[QVideoSurfaceFormat::NPixelFormats] { QRhiTexture::BGRA8, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, { { 1, 1 }, { 1, 1 }, { 1, 1 } } }, - // Format_RGB24 - { 1, - { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, - { { 1, 1 }, { 1, 1 }, { 1, 1 } } - }, // Format_RGB565 { 1, { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, @@ -79,11 +74,6 @@ static const TextureDescription descriptions[QVideoSurfaceFormat::NPixelFormats] { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, { { 1, 1 }, { 1, 1 }, { 1, 1 } } }, - // Format_ARGB8565_Premultiplied - { 1, - { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, - { { 1, 1 }, { 1, 1 }, { 1, 1 } } - }, // Format_BGRA32 { 1, { QRhiTexture::BGRA8, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, @@ -104,11 +94,6 @@ static const TextureDescription descriptions[QVideoSurfaceFormat::NPixelFormats] { QRhiTexture::BGRA8, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, { { 1, 1 }, { 1, 1 }, { 1, 1 } } }, - // Format_BGR24 - { 1, - { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, - { { 1, 1 }, { 1, 1 }, { 1, 1 } } - }, // Format_BGR565 { 1, { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, @@ -119,11 +104,6 @@ static const TextureDescription descriptions[QVideoSurfaceFormat::NPixelFormats] { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, { { 1, 1 }, { 1, 1 }, { 1, 1 } } }, - // Format_BGRA5658_Premultiplied - { 1, - { QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, - { { 1, 1 }, { 1, 1 }, { 1, 1 } } - }, // Format_AYUV444 { 1, @@ -135,11 +115,6 @@ static const TextureDescription descriptions[QVideoSurfaceFormat::NPixelFormats] { QRhiTexture::BGRA8, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, { { 1, 1 }, { 1, 1 }, { 1, 1 } } }, - // Format_YUV444 - { 1, - { QRhiTexture::BGRA8, QRhiTexture::UnknownFormat, QRhiTexture::UnknownFormat }, - { { 1, 1 }, { 1, 1 }, { 1, 1 } } - }, // Format_YUV420P { 3, { QRhiTexture::R8, QRhiTexture::R8, QRhiTexture::R8 }, @@ -246,20 +221,14 @@ QString vertexShaderFileName(QVideoSurfaceFormat::PixelFormat format) case QVideoSurfaceFormat::Format_Invalid: case QVideoSurfaceFormat::Format_Jpeg: - case QVideoSurfaceFormat::Format_RGB24: case QVideoSurfaceFormat::Format_RGB565: case QVideoSurfaceFormat::Format_RGB555: - case QVideoSurfaceFormat::Format_ARGB8565_Premultiplied: - case QVideoSurfaceFormat::Format_BGR24: case QVideoSurfaceFormat::Format_BGR565: case QVideoSurfaceFormat::Format_BGR555: - case QVideoSurfaceFormat::Format_BGRA5658_Premultiplied: case QVideoSurfaceFormat::Format_Y8: case QVideoSurfaceFormat::Format_Y16: - case QVideoSurfaceFormat::Format_YUV444: - case QVideoSurfaceFormat::Format_IMC1: case QVideoSurfaceFormat::Format_IMC2: case QVideoSurfaceFormat::Format_IMC3: @@ -297,20 +266,14 @@ QString fragmentShaderFileName(QVideoSurfaceFormat::PixelFormat format) case QVideoSurfaceFormat::Format_Invalid: case QVideoSurfaceFormat::Format_Jpeg: - case QVideoSurfaceFormat::Format_RGB24: case QVideoSurfaceFormat::Format_RGB565: case QVideoSurfaceFormat::Format_RGB555: - case QVideoSurfaceFormat::Format_ARGB8565_Premultiplied: - case QVideoSurfaceFormat::Format_BGR24: case QVideoSurfaceFormat::Format_BGR565: case QVideoSurfaceFormat::Format_BGR555: - case QVideoSurfaceFormat::Format_BGRA5658_Premultiplied: case QVideoSurfaceFormat::Format_Y8: case QVideoSurfaceFormat::Format_Y16: - case QVideoSurfaceFormat::Format_YUV444: - case QVideoSurfaceFormat::Format_IMC1: case QVideoSurfaceFormat::Format_IMC2: case QVideoSurfaceFormat::Format_IMC3: @@ -383,20 +346,14 @@ QByteArray uniformData(const QVideoSurfaceFormat &format, const QMatrix4x4 &tran case QVideoSurfaceFormat::Format_Invalid: case QVideoSurfaceFormat::Format_Jpeg: - case QVideoSurfaceFormat::Format_RGB24: case QVideoSurfaceFormat::Format_RGB565: case QVideoSurfaceFormat::Format_RGB555: - case QVideoSurfaceFormat::Format_ARGB8565_Premultiplied: - case QVideoSurfaceFormat::Format_BGR24: case QVideoSurfaceFormat::Format_BGR565: case QVideoSurfaceFormat::Format_BGR555: - case QVideoSurfaceFormat::Format_BGRA5658_Premultiplied: case QVideoSurfaceFormat::Format_Y8: case QVideoSurfaceFormat::Format_Y16: - case QVideoSurfaceFormat::Format_YUV444: - case QVideoSurfaceFormat::Format_IMC1: case QVideoSurfaceFormat::Format_IMC2: case QVideoSurfaceFormat::Format_IMC3: |