[][src]Function qt_gui::q_pixel_format_yuv_1a

pub unsafe fn q_pixel_format_yuv_1a(layout: YUVLayout) -> CppBox<QPixelFormat>

Constructor function for creating a QPixelFormat describing a YUV format with yuvLayout. alphaSize describes the size of a potential alpha channel and is position is described with alphaPosition. The "first" "second" .. "fifth" channels are all set to 0. alphaUsage premultiplied typeInterpretation and byteOrder will work as with other formats.

Calls C++ function: QPixelFormat qPixelFormatYuv(QPixelFormat::YUVLayout layout).

C++ documentation:

Constructor function for creating a QPixelFormat describing a YUV format with yuvLayout. alphaSize describes the size of a potential alpha channel and is position is described with alphaPosition. The "first" "second" .. "fifth" channels are all set to 0. alphaUsage premultiplied typeInterpretation and byteOrder will work as with other formats.