cameraFormat QML Value Type
カメラデバイスがサポートするビデオフォーマットを記述する。詳細...
Import Statement: | import QtMultimedia |
プロパティ
- maxFrameRate : real
- minFrameRate : real
- pixelFormat : enumeration
- resolution : size
詳細説明
cameraFormat は、カメラデバイスがサポートする特定のビデオフォーマットを表します。
フォーマットは、QVideoFrameFormat::PixelFormat、解像度、およびフレームレートの範囲の組み合わせです。
cameraFormat オブジェクトは、cameraDevice からクエリして、サポートされているビデオ・フォーマットのセットを調べることができます。
cameraDevice およびCameraも参照してください 。
プロパティの説明
maxFrameRate : real |
このフォーマットで定義されている最高フレームレートを返します。
カメラは常に、特定のビデオフォーマットでサポートされている最大フレームレートを使用しようとします。
minFrameRate : real |
このフォーマットで定義されている最低フレームレートを返します。
pixelFormat : enumeration |
ピクセルフォーマットを保持する。
最も一般的なのは、QVideoFrameFormat::Format_Jpeg または QVideoFrameFormat::Format_YUVY のいずれかですが、他のフォーマットもカメラでサポートされる可能性があります。
QVideoFrameFormat::PixelFormatも参照してください 。
resolution : size |
解像度を返します。
© 2025 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.