cameraFormat QML Value Type
カメラデバイスがサポートするビデオフォーマットを記述する。詳細...
| Import Statement: | import QtMultimedia |
| In C++: | QCameraFormat |
プロパティ
- maxFrameRate : real
- minFrameRate : real
- pixelFormat : enumeration
- resolution : size
詳細説明
cameraFormat は、カメラ・デバイスがサポートする特定のビデオ・フォーマットを表す。
フォーマットは、pixel format 、解像度、フレームレートの範囲の組み合わせです。
cameraFormat オブジェクトは、cameraDevice からクエリして、サポートされるビデオ・フォーマットのセットを調べることができます。
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.