enum L_ImgKrnImageFormat
{
L_ImgKrnImageFormat_RGB888,
L_ImgKrnImageFormat_BGR888,
L_ImgKrnImageFormat_RGB8888,
L_ImgKrnImageFormat_BGR8888,
L_ImgKrnImageFormat_YV12,
L_ImgKrnImageFormat_NV12,
L_ImgKrnImageFormat_NV21,
L_ImgKrnImageFormat_YUY2,
};
Image data format
24-bits per pixel image data stored in RGB order.
24-bits per pixel image data stored in BGR order.
32-bits per pixel image data stored in RGBA order.
32-bits per pixel image data stored in BGRA order.
Planar Y, U, V data using 4:1:1 (aka 4:2:0) subsampling. The U and V planes are half the width and height of the Y plane. The Y plane is followed immediately by the U (Cb) plane, which is followed immediately by the V (Cr) plane. The YUV data is 12 bits/pixel (each 2x2 pixels are described by 6 bytes).
The image width and height must be multiple of 2.
The size of the YUV data is width * height * 3 / 2.
A Y plane followed by interleaved plane of UV data. There are half as many U and V samples as Y samples in both width and height. In other words, for each 2x2 square of Y pixels, there is only one corresponding U, V pair. The YUV data is 12 bits/pixel (each 2x2 pixels are described by 6 bytes).
The image width and height must be multiple of 2.
The size of the YUV data is width * height * 3 / 2.
A Y plane followed by interleaved plane of VU data. Similar to NV12 data, except that the order of UV samples is reversed. The YUV data is 12 bits/pixel (each 2x2 pixels are described by 6 bytes).
The image width and height must be multiple of 2.
The size of the YUV data is width * height * 3 / 2.
Interleaved 4:2:2 YUYV data. Each two horizontal pixels have the same U and V values. The YUV data is 16 bits/pixel (each 2 pixels are described by 4 bytes).
The image width must be a multiple of 2.
The size of the YUV data is width * height * 2.
This enumerated type is used by L_ImgKrnCreateImage.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document