summaryrefslogtreecommitdiffstats
path: root/src/multimedia/video/qvideoframe.cpp
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2021-03-17 12:26:03 +0100
committerLars Knoll <lars.knoll@qt.io>2021-04-06 08:04:55 +0000
commit591395e7dc0bd5afc273d843101862168ede81c9 (patch)
treedf84b4ec3a301f6ccc7538229159fd6c56a422af /src/multimedia/video/qvideoframe.cpp
parentad7f9672b0b8acf06d6561f58c61c1e282ad4f6f (diff)
Remove AdobeDng and CameraRaw pixel formats
They are unused and not supported anywhere in QtMultimedia. Change-Id: Id96b260e5ccc355d2e83e7ca5901f446e3b447b7 Reviewed-by: Doris Verria <doris.verria@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/multimedia/video/qvideoframe.cpp')
-rw-r--r--src/multimedia/video/qvideoframe.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/multimedia/video/qvideoframe.cpp b/src/multimedia/video/qvideoframe.cpp
index b6186f2d1..f1c4dc453 100644
--- a/src/multimedia/video/qvideoframe.cpp
+++ b/src/multimedia/video/qvideoframe.cpp
@@ -247,12 +247,6 @@ private:
\value Format_Jpeg
The frame is stored in compressed Jpeg format.
- \value Format_CameraRaw
- The frame is stored using a device specific camera raw format.
-
- \value Format_AdobeDng
- The frame is stored using raw Adobe Digital Negative (DNG) format.
-
\value Format_User
Start value for user defined pixel formats.
*/
@@ -568,8 +562,6 @@ bool QVideoFrame::map(QVideoFrame::MapMode mode)
case Format_Y8:
case Format_Y16:
case Format_Jpeg:
- case Format_CameraRaw:
- case Format_AdobeDng:
// Single plane or opaque format.
break;
case Format_YUV420P:
@@ -948,8 +940,6 @@ QImage::Format QVideoFrame::imageFormatFromPixelFormat(PixelFormat format)
case Format_Y8:
case Format_Y16:
case Format_Jpeg:
- case Format_CameraRaw:
- case Format_AdobeDng:
return QImage::Format_Invalid;
default:
return QImage::Format_Invalid;
@@ -1011,8 +1001,6 @@ static VideoFrameConvertFunc qConvertFuncs[QVideoFrame::NPixelFormats] = {
/* Format_P016LE */ qt_convert_P016LE_to_ARGB32,
/* Format_P016BE */ qt_convert_P016BE_to_ARGB32,
/* Format_Jpeg */ nullptr, // Not needed
- /* Format_CameraRaw */ nullptr,
- /* Format_AdobeDng */ nullptr,
};
static void qInitConvertFuncsAsm()
@@ -1168,10 +1156,6 @@ QDebug operator<<(QDebug dbg, QVideoFrame::PixelFormat pf)
return dbg << "Format_P016BE";
case QVideoFrame::Format_Jpeg:
return dbg << "Format_Jpeg";
- case QVideoFrame::Format_AdobeDng:
- return dbg << "Format_AdobeDng";
- case QVideoFrame::Format_CameraRaw:
- return dbg << "Format_CameraRaw";
default:
return dbg << QString(QLatin1String("UserType(%1)" )).arg(int(pf)).toLatin1().constData();