Pleora Technologies Inc. eBUS SDK v6.2.8.5877 API



PvPixelType.h File Reference
#include <PvBufferLib.h>

Go to the source code of this file.

Macros

#define PvPixelMono8Signed   ( PvPixelMono8s )
 

Enumerations

Functions

uint32_t PvGetPixelBitCount (PvPixelType aType)
 Returns the size of one pixel of a specific pixel type, in bits. More...
 

Macro Definition Documentation

PvPixelMono8Signed   ( PvPixelMono8s )

GigE Vision pixel type, monochrome 8 bits unsigned.

Enumeration Type Documentation

Pixel types use by image buffers.

PvBufferConverter conversion currently supported to the following pixel types:

  • PvPixelRGBa
  • PvPixelBGRa
  • PvPixelRGB
  • PvPixelBGR
  • PvPixelRGB565
  • PvPixelMono8

In addition to the currently supported GigE Vision standard version the following pixel types are available through #define macros:

Contextual conversion destination #define macros:

  • PVPIXEL_WIN_RGB32 (RGB32 as defined by Windows Bitmap, MFC, DirectX, .NET, etc.)
  • PVPIXEL_WIN_RGB24 (RGB24 as defined by Windows Bitmap, MFC, DirectX, .NET, etc.)
  • PVPIXEL_WIN_RGB16 (RGB16 as defined by Windows Bitmap, MFC, DirectX, .NET, etc.)
  • PVPIXEL_QT_RGB32 (RGB32 as defined by Qt)
  • PVPIXEL_QT_RGB888 (RGB888 24 bits as defined by Qt)
  • PVPIXEL_QT_RGB565 (RGB16 bits as defined by Qt)
  • PVPIXEL_OPENGL_RGB32 (RGB32 as defined by OpenGL)
  • PVPIXEL_OPENGL_RGB24 (RGB24 as defined by OpenGL)
  • PVPIXEL_OPENGL_BGR32 (BGR32 as defined by OpenGL)
  • PVPIXEL_OPENGL_BGR24 (BGR24 as defined by OpenGL)

Pre GEV 2.0 pixel types:

  • PvPixelRGB8Packed
  • PvPixelBGR8Packed
  • PvPixelRGBA8Packed
  • PvPixelBGRA8Packed
  • PvPixelRGB10Packed
  • PvPixelBGR10Packed
  • PvPixelRGB12Packed
  • PvPixelBGR12Packed
  • PvPixelRGB16Packed
  • PvPixelBGR10V1Packed
  • PvPixelBGR10V2Packed
  • PvPixelYUV411Packed
  • PvPixelYUV422Packed
  • PvPixelYUV422YUYVPacked
  • PvPixelYUV444Packed
  • PvPixelRGB8Planar
  • PvPixelRGB10Planar
  • PvPixelRGB12Planar
  • PvPixelRGB16Planar

Deprecated pixel types previously used for display, now mapping to equivalent GEV pixel types:

  • PvPixelWinRGB16
  • PvPixelWinRGB32
  • PvPixelWinRGB24
  • PvPixelWinBGR32
  • PvPixelWinBGR24
Enumerator
PvPixelMono8 

GigE Vision pixel type, monochrome 8 bits unsigned.

PvPixelMono10 

GigE Vision pixel type, monochrome 10 bits stored in 2 bytes.

PvPixelMono10Packed 

GigE Vision pixel type, monochrome 10 bits, two pixels stored on three bytes.

PvPixelMono12 

GigE Vision pixel type, monochrome 12 bits stored in 2 bytes.

PvPixelMono12Packed 

GigE Vision pixel type, monochrome 12 bits, two pixels stored in 2 bytes.

PvPixelMono16 

GigE Vision pixel type, monochrome 16 bits stored on two bytes.

PvPixelBayerGR8 

GigE Vision pixel type, Bayer GR pattern 8 bits.

PvPixelBayerRG8 

GigE Vision pixel type, Bayer RG pattern 8 bits.

PvPixelBayerGB8 

GigE Vision pixel type, Bayer GB pattern 8 bits.

PvPixelBayerBG8 

GigE Vision pixel type, Bayer BG pattern 8 bits.

PvPixelBayerGR10 

GigE Vision pixel type, Bayer GR pattern 10 bits stored on two bytes.

PvPixelBayerRG10 

GigE Vision pixel type, Bayer RG pattern 10 bits stored on two bytes.

PvPixelBayerGB10 

GigE Vision pixel type, Bayer GB pattern 10 bits stored on two bytes.

PvPixelBayerBG10 

GigE Vision pixel type, Bayer BG pattern 10 bits stored on two bytes.

PvPixelBayerGR12 

GigE Vision pixel type, Bayer GR pattern 12 bits stored on two bytes.

PvPixelBayerRG12 

GigE Vision pixel type, Bayer RG pattern 12 bits stored on two bytes.

PvPixelBayerGB12 

GigE Vision pixel type, Bayer GB pattern 12 bits stored on two bytes.

PvPixelBayerBG12 

GigE Vision pixel type, Bayer BG pattern 12 bits stored on two bytes.

PvPixelRGB8 

GigE Vision pixel type 24 bits, RGB 8 bits per channel. Reads R-G-B from lowest to highest byte address.

PvPixelBGR8 

GigE Vision pixel type 24 bits, BGR 8 bits per channel. Reads B-G-R from lowest to highest byte address.

PvPixelRGBa8 

GigE Vision pixel type 32 bits, RGBA 8 bits per channel. Reads R-G-B-A from lowest to highest byte address.

PvPixelBGRa8 

GigE Vision pixel type 32 bits, BGRA 8 bits per channel. Reads B-G-R-A from lowest to highest byte address.

PvPixelRGB10 

GigE Vision pixel type RGB 10 bits per channel. Each color component is stored on 2 bytes.

PvPixelBGR10 

GigE Vision pixel type BGR 10 bits per channel. Each color component is stored on 2 bytes.

PvPixelRGB12 

GigE Vision pixel type RGB 12 bits per channel. Each color component is stored on 2 bytes.

PvPixelBGR12 

GigE Vision pixel BGR 10 bits per channel. Each color component is stored on 2 bytes.

PvPixelRGB10V1Packed 

GigE Vision pixel type RGB 10 bits per channel packed. The three 10 bits color components are stored on 4 bytes.

PvPixelRGB10p32 

GigE Vision pixel type RGB 10 bits per channel packed. The three 10 bits color components are stored on 4 bytes.

PvPixelYUV411_8_UYYVYY 

GigE Vision pixel type U1Y1Y2V1Y3Y4 for 4 pixels. Unspecified color space (default/JPG is used for conversion).

PvPixelYUV422_8_UYVY 

GigE Vision pixel type U1Y1V1Y2 for 2 pixels.space. Unspecified color space (default/JPG is used for conversion).

PvPixelYUV8_UYV 

GigE Vision pixel type U1Y1V1 for 1 pixel. Unspecified color space (default/JPG is used for conversion).

PvPixelRGB8_Planar 

GigE Vision pixel type. Three planes of R, G and B pixels. Each color component is stored as a byte.

PvPixelRGB10_Planar 

GigE Vision pixel type. Three planes of R, G and B pixels. Each color component is stored as 10 bits over two bytes.

PvPixelRGB12_Planar 

GigE Vision pixel type. Three planes of R, G and B pixels. Each color component is stored as 12 bits over two bytes.

PvPixelRGB16_Planar 

GigE Vision pixel type. Three planes of R, G and B pixels. Each color component is stored as 16 bits over two bytes.

PvPixelMono14 

GigE Vision pixel type, monochrome 16 bits stored on two bytes.

PvPixelBayerGR10Packed 

GigE Vision pixel type, Bayer GR pattern 10 bits, two pixels stored on two bytes.

PvPixelBayerRG10Packed 

GigE Vision pixel type, Bayer RG pattern 10 bits, two pixels stored on two bytes.

PvPixelBayerGB10Packed 

GigE Vision pixel type, Bayer GB pattern 10 bits, two pixels stored on two bytes.

PvPixelBayerBG10Packed 

GigE Vision pixel type, Bayer BG pattern 10 bits, two pixels stored on two bytes.

PvPixelBayerGR12Packed 

GigE Vision pixel type, Bayer GR pattern 12 bits, two pixels stored on two bytes.

PvPixelBayerRG12Packed 

GigE Vision pixel type, Bayer RG pattern 12 bits, two pixels stored on two bytes.

PvPixelBayerGB12Packed 

GigE Vision pixel type, Bayer GB pattern 12 bits, two pixels stored on two bytes.

PvPixelBayerBG12Packed 

GigE Vision pixel type, Bayer BG pattern 12 bits, two pixels stored on two bytes.

PvPixelBayerGR16 

GigE Vision pixel type, Bayer GR pattern 16 stored on two bytes.

PvPixelBayerRG16 

GigE Vision pixel type, Bayer RG pattern 16 stored on two bytes.

PvPixelBayerGB16 

GigE Vision pixel type, Bayer GB pattern 16 stored on two bytes.

PvPixelBayerBG16 

GigE Vision pixel type, Bayer BG pattern 16 stored on two bytes.

PvPixelYUV422_8 

GigE Vision pixel type Y1U1Y2V1 for 2 pixels. Unspecified color space (default/JPG is used for conversion).

PvPixelRGB16 

GigE Vision pixel type RGB 16 bits per channel.

PvPixelRGB12V1Packed 

GigE Vision pixel type RGB 12 bits per channel packed. The three 10 bits color components are stored on 4.5 bytes.

PvPixelRGB565p 

GigE Vision pixel type R5G6B5.

PvPixelBGR565p 

GigE Vision pixel type R5G6B5.

PvPixelMono1p 

GigE Vision pixel type, monochrome 1 bit.

PvPixelMono2p 

GigE Vision pixel type, monochrome 2 bits.

PvPixelMono4p 

GigE Vision pixel type, monochrome 4 bits.

PvPixelYCbCr8_CbYCr 

GigE Vision pixel type Cb1Y1Cr1 for 1 pixel. Default (host JPG) color space.

PvPixelYCbCr422_8 

GigE Vision pixel type Y1Cb1Y1Cr1 for 2 pixel2. Default (host JPG) color space.

PvPixelYCbCr411_8_CbYYCrYY 

GigE Vision pixel type Cb1Y1Cr1Y2 for 2 pixels. Default (host JPG) color space.

PvPixelYCbCr601_8_CbYCr 

GigE Vision pixel type Cb1Y1C41 for 1 pixel. ITU-R BT.601 color space.

PvPixelYCbCr601_422_8 

GigE Vision pixel type Y1Cb1Y2Cr1 for 2 pixels. ITU-R BT.601 color space.

PvPixelYCbCr601_411_8_CbYYCrYY 

GigE Vision pixel type Cb1Y1Y2Cr1Y3Y4 for 4 pixels. ITU-R BT.601 color space.

PvPixelYCbCr709_8_CbYCr 

GigE Vision pixel type Cb1Y1C41 for 1 pixel. ITU-R BT.709 color space.

PvPixelYCbCr709_422_8 

GigE Vision pixel type Y1Cb1Y2Cr1 for 2 pixels. ITU-R BT.709 color space.

PvPixelYCbCr709_411_8_CbYYCrYY 

GigE Vision pixel type Cb1Y1Y2Cr1Y3Y4 for 4 pixels. ITU-R BT.709 color space.

PvPixelYCbCr422_8_CbYCrY 

GigE Vision pixel type Y1Cb1Y1Cr1 for 2 pixels. Default (host JPG) color space.

PvPixelYCbCr601_422_8_CbYCrY 

GigE Vision pixel type Cb1Y1Cr1Y2 for 2 pixels. ITU-R BT.601 color space.

PvPixelYCbCr709_422_8_CbYCrY 

GigE Vision pixel type Cb1Y1Cr1Y2 for 2 pixels. ITU-R BT.709 color space.

PvPixelBiColorRGBG8 

Bi-color Red/Green - Blue/Green 8-bit

PvPixelBiColorBGRG8 

Bi-color Blue/Green - Red/Green 8-bit

PvPixelBiColorRGBG10 

Bi-color Red/Green - Blue/Green 10-bit unpacked

PvPixelBiColorRGBG10p 

Bi-color Red/Green - Blue/Green 10-bit packed

PvPixelBiColorBGRG10 

Bi-color Blue/Green - Red/Green 10-bit unpacked

PvPixelBiColorBGRG10p 

Bi-color Blue/Green - Red/Green 10-bit packed

PvPixelBiColorRGBG12 

Bi-color Red/Green - Blue/Green 12-bit unpacked

PvPixelBiColorRGBG12p 

Bi-color Red/Green - Blue/Green 12-bit packed

PvPixelBiColorBGRG12 

Bi-color Blue/Green - Red/Green 12-bit unpacked

PvPixelBiColorBGRG12p 

Bi-color Blue/Green - Red/Green 12-bit packed

PvPixelCoord3D_A8 

3D coordinate A 8-bit

PvPixelCoord3D_B8 

3D coordinate B 8-bit

PvPixelCoord3D_C8 

3D coordinate C 8-bit

PvPixelCoord3D_ABC8 

3D coordinate A-B-C 8-bit

PvPixelCoord3D_ABC8_Planar 

3D coordinate A-B-C 8-bit planar

PvPixelCoord3D_AC8 

3D coordinate A-C 8-bit

PvPixelCoord3D_AC8_Planar 

3D coordinate A-C 8-bit planar

PvPixelCoord3D_A16 

3D coordinate A 16-bit

PvPixelCoord3D_B16 

3D coordinate B 16-bit

PvPixelCoord3D_C16 

3D coordinate C 16-bit

PvPixelCoord3D_ABC16 

3D coordinate A-B-C 16-bit

PvPixelCoord3D_ABC16_Planar 

3D coordinate A-B-C 16-bit planar

PvPixelCoord3D_AC16 

3D coordinate A-C 16-bit

PvPixelCoord3D_AC16_Planar 

3D coordinate A-C 16-bit planar

PvPixelCoord3D_A32f 

3D coordinate A 32-bit floating point

PvPixelCoord3D_B32f 

3D coordinate B 32-bit floating point

PvPixelCoord3D_C32f 

3D coordinate C 32-bit floating point

PvPixelCoord3D_ABC32f 

3D coordinate A-B-C 32-bit floating point

PvPixelCoord3D_ABC32f_Planar 

3D coordinate A-B-C 32-bit floating point planar

PvPixelCoord3D_AC32f 

3D coordinate A-C 32-bit floating point

PvPixelCoord3D_AC32f_Planar 

3D coordinate A-C 32-bit floating point planar

PvPixelConfidence1 

Confidence 1-bit unpacked

PvPixelConfidence1p 

Confidence 1-bit packed

PvPixelConfidence8 

Confidence 8-bit

PvPixelConfidence16 

Confidence 16-bit

PvPixelConfidence32f 

Confidence 32-bit floating point

PvPixelR8 

Red 8-bit

PvPixelR10 

Red 10-bit

PvPixelR12 

Red 12-bit

PvPixelR16 

Red 16-bit

PvPixelG8 

Green 8-bit

PvPixelG10 

Green 10-bit

PvPixelG12 

Green 12-bit

PvPixelG16 

Green 16-bit

PvPixelB8 

Blue 8-bit

PvPixelB10 

Blue 10-bit

PvPixelB12 

Blue 12-bit

PvPixelB16 

Blue 16-bit

PvPixelCoord3D_A10p 

3D coordinate A 10-bit packed

PvPixelCoord3D_B10p 

3D coordinate B 10-bit packed

PvPixelCoord3D_C10p 

3D coordinate C 10-bit packed

PvPixelCoord3D_A12p 

3D coordinate A 12-bit packed

PvPixelCoord3D_B12p 

3D coordinate B 12-bit packed

PvPixelCoord3D_C12p 

3D coordinate C 12-bit packed

PvPixelCoord3D_ABC10p 

3D coordinate A-B-C 10-bit packed

PvPixelCoord3D_ABC10p_Planar 

3D coordinate A-B-C 10-bit packed planar

PvPixelCoord3D_ABC12p 

3D coordinate A-B-C 12-bit packed

PvPixelCoord3D_ABC12p_Planar 

3D coordinate A-B-C 12-bit packed planar

PvPixelCoord3D_AC10p 

3D coordinate A-C 10-bit packed

PvPixelCoord3D_AC10p_Planar 

3D coordinate A-C 10-bit packed planar

PvPixelCoord3D_AC12p 

3D coordinate A-C 12-bit packed

PvPixelCoord3D_AC12p_Planar 

3D coordinate A-C 12-bit packed planar

PvPixelMono14p 

GigE Vision pixel type, monochrome 14 bits.

PvPixelBayerGR14p 

Bayer Green-Red 14-bit packed

PvPixelBayerRG14p 

Bayer Red-Green 14-bit packed

PvPixelBayerGB14p 

Bayer Green-Blue 14-bit packed

PvPixelBayerBG14p 

Bayer Blue-Green 14-bit packed

PvPixelBayerGR14 

Bayer Green-Red 14-bit

PvPixelBayerRG14 

Bayer Red-Green 14-bit

PvPixelBayerGB14 

Bayer Green-Blue 14-bit

PvPixelBayerBG14 

Bayer Blue-Green 14-bit

PvPixelBayerGR4p 

Bayer Green-Red 4-bit packed

PvPixelBayerRG4p 

Bayer Red-Green 4-bit packed

PvPixelBayerGB4p 

Bayer Green-Blue 4-bit packed

PvPixelBayerBG4p 

Bayer Blue-Green 4-bit packed

PvPixelMono32 

Monochrome 32-bit

Function Documentation

uint32_t PvGetPixelBitCount ( PvPixelType  aType)

Returns the size of one pixel of a specific pixel type, in bits.

Returns
Size, in bits
Parameters
aType[in] GigE Vision pixel type.

Copyright (c) 2002-2021 Pleora Technologies Inc.
www.pleora.com