cameraFormat QML Value Type
カメラ端末でサポートされている動画形式について説明します。詳細...
| Import Statement: | import QtMultimedia |
| In C++: | QCameraFormat |
プロパティ
- maxFrameRate : real
- minFrameRate : real
- pixelFormat : enumeration
- resolution : size
詳細な説明
cameraFormat は、カメラデバイスがサポートする特定のビデオフォーマットを表します。
このフォーマットは、pixel format 、解像度、およびフレームレートの範囲の組み合わせで構成されます。
cameraDevice から cameraFormat オブジェクトを照会することで、サポートされているビデオフォーマットのセットを確認できます。
「 cameraDevice 」および「Camera 」も参照してください 。
プロパティのドキュメント
maxFrameRate : real [read-only]
このフォーマットで定義されている最高フレームレートを返します。
カメラは常に、特定の動画フォーマットがサポートする最大フレームレートを使用しようとします。
minFrameRate : real [read-only]
このフォーマットで定義されている最低フレームレートを返します。
pixelFormat : enumeration [read-only]
ピクセル形式を保持します。
通常、これはQVideoFrameFormat::Format_Jpeg またはQVideoFrameFormat::Format_YUVYのいずれかですが、カメラによっては他のフォーマットもサポートされている場合があります。
QVideoFrameFormat::PixelFormatも参照してください 。
resolution : size [read-only]
解像度を返します。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.