Error processing SSI file
LEADTOOLS (Leadtools assembly)

Show in webframe

RasterYUVFormat Enumeration








Used with SetYUVData and GetYUVData to specify the YUV data format.
Syntax
'Declaration
 
Public Enum RasterYUVFormat 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As RasterYUVFormat
Leadtools.RasterYUVFormat = function() { };
Leadtools.RasterYUVFormat.prototype = {<br/>
  LeadtoolsMemberMarker(replace me)
 };
public enum class RasterYUVFormat : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
ValueMemberDescription
0YV12 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.
1NV12 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.
2NV21 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.
3YUY2 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.
Example
For an example, refer to SetYUVData.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterYUVFormat

Requirements

Target Platforms

See Also

Reference

Leadtools Namespace

Error processing SSI file