cameraFormat QML Value Type
Descrive un formato video supportato da una videocamera. Maggiori informazioni ...
| Import Statement: | import QtMultimedia |
| In C++: | QCameraFormat |
Proprietà
- maxFrameRate : real
- minFrameRate : real
- pixelFormat : enumeration
- resolution : size
Descrizione dettagliata
cameraFormat rappresenta un determinato formato video supportato da una videocamera.
Il formato è una combinazione di un pixel format, una risoluzione e un intervallo di frame rate.
È possibile interrogare gli oggetti `cameraFormat` tramite ` cameraDevice ` per verificare l'insieme dei formati video supportati.
Vedi anche cameraDevice e Camera.
Documentazione delle proprietà
maxFrameRate : real [read-only]
Restituisce la frequenza dei fotogrammi massima definita da questo formato.
La videocamera cercherà sempre di utilizzare la frequenza dei fotogrammi massima supportata da un determinato formato video.
minFrameRate : real [read-only]
Restituisce la frequenza dei fotogrammi minima definita da questo formato.
pixelFormat : enumeration [read-only]
Contiene il formato dei pixel.
Nella maggior parte dei casi si tratta di QVideoFrameFormat::Format_Jpeg o QVideoFrameFormat::Format_YUVY, ma la fotocamera potrebbe supportare anche altri formati.
Vedi anche QVideoFrameFormat::PixelFormat.
resolution : size [read-only]
Restituisce la risoluzione.
© 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.