Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QLibCamera::QLibCameraFormatSupport Namespace Reference

Functions

std::optional< QVideoFrameFormat::PixelFormat > pixelFormatFromLibcamera (const PixelFormat &formatformat)
std::pair< QVideoFrameFormat::ColorSpace, QVideoFrameFormat::ColorRange > colorSpaceFromLibcamera (const std::optional< ColorSpace > &colorSpace)
std::pair< float, float > frameRateRangeFromControls (const ControlInfoMap &controls)
std::vector< QSize > sizesForPixelFormat (const StreamFormats &formatsformats, const PixelFormat &pixelFormat)
QSize toQSize (const Size &sizesize)
Size toSize (const QSize &qsize)
std::optional< QVideoFrameFormat::PixelFormat > pixelFormatFromLibcamera (const libcamera::PixelFormat &)
std::pair< QVideoFrameFormat::ColorSpace, QVideoFrameFormat::ColorRange > colorSpaceFromLibcamera (const std::optional< libcamera::ColorSpace > &)
std::pair< float, float > frameRateRangeFromControls (const libcamera::ControlInfoMap &)
std::vector< QSize > sizesForPixelFormat (const libcamera::StreamFormats &, const libcamera::PixelFormat &)
QSize toQSize (const libcamera::Size &)

Function Documentation

◆ colorSpaceFromLibcamera() [1/2]

std::pair< QVideoFrameFormat::ColorSpace, QVideoFrameFormat::ColorRange > QLibCamera::QLibCameraFormatSupport::colorSpaceFromLibcamera ( const std::optional< ColorSpace > & colorSpace)

Definition at line 35 of file qlibcamera_format_support.cpp.

◆ colorSpaceFromLibcamera() [2/2]

std::pair< QVideoFrameFormat::ColorSpace, QVideoFrameFormat::ColorRange > QLibCamera::QLibCameraFormatSupport::colorSpaceFromLibcamera ( const std::optional< libcamera::ColorSpace > & )

◆ frameRateRangeFromControls() [1/2]

std::pair< float, float > QLibCamera::QLibCameraFormatSupport::frameRateRangeFromControls ( const ControlInfoMap & controls)

Definition at line 65 of file qlibcamera_format_support.cpp.

◆ frameRateRangeFromControls() [2/2]

std::pair< float, float > QLibCamera::QLibCameraFormatSupport::frameRateRangeFromControls ( const libcamera::ControlInfoMap & )

◆ pixelFormatFromLibcamera() [1/2]

std::optional< QVideoFrameFormat::PixelFormat > QLibCamera::QLibCameraFormatSupport::pixelFormatFromLibcamera ( const libcamera::PixelFormat & )

◆ pixelFormatFromLibcamera() [2/2]

std::optional< QVideoFrameFormat::PixelFormat > QLibCamera::QLibCameraFormatSupport::pixelFormatFromLibcamera ( const PixelFormat & format)

Definition at line 28 of file qlibcamera_format_support.cpp.

◆ sizesForPixelFormat() [1/2]

std::vector< QSize > QLibCamera::QLibCameraFormatSupport::sizesForPixelFormat ( const libcamera::StreamFormats & ,
const libcamera::PixelFormat &  )

◆ sizesForPixelFormat() [2/2]

std::vector< QSize > QLibCamera::QLibCameraFormatSupport::sizesForPixelFormat ( const StreamFormats & formats,
const PixelFormat & pixelFormat )

Definition at line 106 of file qlibcamera_format_support.cpp.

◆ toQSize() [1/2]

QSize QLibCamera::QLibCameraFormatSupport::toQSize ( const libcamera::Size & )

◆ toQSize() [2/2]

QSize QLibCamera::QLibCameraFormatSupport::toQSize ( const Size & size)

Definition at line 132 of file qlibcamera_format_support.cpp.

◆ toSize()

Size QLibCamera::QLibCameraFormatSupport::toSize ( const QSize & qsize)

Definition at line 140 of file qlibcamera_format_support.cpp.