[][src]Function qt_gui::q_pixel_format_yuv_2a

pub unsafe fn q_pixel_format_yuv_2a(
    layout: YUVLayout,
    alfa: c_uchar
) -> 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, unsigned char alfa = …).

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.