Pleora Technologies Inc. eBUS SDK v5.1.10.4642 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.

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-2018 Pleora Technologies Inc.
www.pleora.com