Impact Acquire SDK Java
|
Defines the pixel format of the result image. More...
Static Public Attributes | |
static final int | idpfAuto = acquireJNI.idpfAuto_get() |
The driver will decide which destination format will be used. | |
static final int | idpfBGR101010Packed_V2 = acquireJNI.idpfBGR101010Packed_V2_get() |
A three channel 10 bit per color component RGB packed format occupying 32 bit per pixel. | |
static final int | idpfBGR888Packed = acquireJNI.idpfBGR888Packed_get() |
A three channel interleaved RGB format with 24 bit per pixel. | |
static final int | idpfMono10 = acquireJNI.idpfMono10_get() |
A single channel 10 bit per pixel format. | |
static final int | idpfMono12 = acquireJNI.idpfMono12_get() |
A single channel 12 bit per pixel format. | |
static final int | idpfMono12Packed_V1 = acquireJNI.idpfMono12Packed_V1_get() |
A single channel 12 bit per pixel packed format occupying 12 bit per pixel. | |
static final int | idpfMono12Packed_V2 = acquireJNI.idpfMono12Packed_V2_get() |
A single channel 12 bit per pixel packed format occupying 12 bit per pixel. | |
static final int | idpfMono14 = acquireJNI.idpfMono14_get() |
A single channel 14 bit per pixel format. | |
static final int | idpfMono16 = acquireJNI.idpfMono16_get() |
A single channel 16 bit per pixel format. | |
static final int | idpfMono8 = acquireJNI.idpfMono8_get() |
A single channel 8 bit per pixel format. | |
static final int | idpfRaw = acquireJNI.idpfRaw_get() |
An unprocessed block of data. | |
static final int | idpfRGB101010Packed = acquireJNI.idpfRGB101010Packed_get() |
A three channel interleaved RGB image occupying 48 bit with 30 bit of usable data per pixel. | |
static final int | idpfRGB121212Packed = acquireJNI.idpfRGB121212Packed_get() |
A three channel interleaved RGB image occupying 48 bit with 36 bit of usable data per pixel. | |
static final int | idpfRGB141414Packed = acquireJNI.idpfRGB141414Packed_get() |
A three channel interleaved RGB image occupying 48 bit with 42 bit of usable data per pixel. | |
static final int | idpfRGB161616Packed = acquireJNI.idpfRGB161616Packed_get() |
A three channel interleaved RGB image occupying 48 bit per pixel. | |
static final int | idpfRGB888Packed = acquireJNI.idpfRGB888Packed_get() |
A three channel interleaved RGB format containing 24 bit per pixel. | |
static final int | idpfRGB888Planar = acquireJNI.idpfRGB888Planar_get() |
A three channel planar RGB format. | |
static final int | idpfRGBx888Packed = acquireJNI.idpfRGBx888Packed_get() |
A four channel interleaved RGB format with 32 bit per pixel containing one alpha byte per pixel. | |
static final int | idpfRGBx888Planar = acquireJNI.idpfRGBx888Planar_get() |
A four channel planar RGB format. | |
static final int | idpfYUV411_UYYVYY_Packed = acquireJNI.idpfYUV411_UYYVYY_Packed_get() |
A three channel interleaved YUV format occupying 48 bit for four pixels. | |
static final int | idpfYUV422_10Packed = acquireJNI.idpfYUV422_10Packed_get() |
A three channel interleaved YUV422 format occupying 64 bit for a pair of pixels. | |
static final int | idpfYUV422_UYVY_10Packed = acquireJNI.idpfYUV422_UYVY_10Packed_get() |
A three channel interleaved YUV422 format occupying 64 bit for a pair of pixels. | |
static final int | idpfYUV422_UYVYPacked = acquireJNI.idpfYUV422_UYVYPacked_get() |
A three channel interleaved YUV422 format occupying 32 bit for a pair of pixels. | |
static final int | idpfYUV422Packed = acquireJNI.idpfYUV422Packed_get() |
A three channel interleaved YUV422 format using 32 bit for a pair of pixels. | |
static final int | idpfYUV422Planar = acquireJNI.idpfYUV422Planar_get() |
A three channel planar YUV422 format. | |
static final int | idpfYUV444_10Packed = acquireJNI.idpfYUV444_10Packed_get() |
A three channel interleaved YUV format occupying 48 bit per pixel with 30 bit of usable data per pixel. | |
static final int | idpfYUV444_UYV_10Packed = acquireJNI.idpfYUV444_UYV_10Packed_get() |
A three channel interleaved YUV format occupying 48 bit per pixel with 30 bit of usable data per pixel. | |
static final int | idpfYUV444_UYVPacked = acquireJNI.idpfYUV444_UYVPacked_get() |
A three channel interleaved YUV format occupying 24 bit per pixel. | |
static final int | idpfYUV444Packed = acquireJNI.idpfYUV444Packed_get() |
A three channel interleaved YUV format occupying 24 bit per pixel. | |
Defines the pixel format of the result image.
Also refer to Pixel Formats in Impact Acquire and Other Contexts
|
static |
The driver will decide which destination format will be used.
|
static |
A three channel 10 bit per color component RGB packed format occupying 32 bit per pixel.
(PFNC name: RGB10p32)
This format will use 4 bytes to store one 10 bit per color component RGB pixel. The following memory layout is used for each pixel:
The last 2 bit of each 32 bit bit may contain undefined data.
|
static |
A three channel interleaved RGB format with 24 bit per pixel.
(PFNC name: RGB8)
This is an interleaved pixel format suitable for most processing functions. Most blit/display function however will expect idpfRGB888Packed. The data is stored pixel-wise:
So the first byte in memory is the first pixels red component. ImageBuffer.vpData will therefore point to R(1) when using a byte pointer.
|
static |
A single channel 10 bit per pixel format.
(PFNC name: Mono10)
Each pixel in this format consumes 2 bytes of memory. The lower 10 bit of this 2 bytes will contain valid data.
|
static |
A single channel 12 bit per pixel format.
(PFNC name: Mono12)
Each pixel in this format consumes 2 bytes of memory. The lower 12 bit of this 2 bytes will contain valid data.
|
static |
A single channel 12 bit per pixel packed format occupying 12 bit per pixel.
(PFNC name: Mono12p)
This format will use 3 bytes to store 2 12 bit pixel. Every 3 bytes will use the following layout in memory:
|
static |
A single channel 12 bit per pixel packed format occupying 12 bit per pixel.
(PFNC name: Mono12Packed)
This format will use 3 bytes to store 2 12 bit pixel. Every 3 bytes will use the following layout in memory:
|
static |
A single channel 14 bit per pixel format.
(PFNC name: Mono14)
Each pixel in this format consumes 2 bytes of memory. The lower 14 bit of this 2 bytes will contain valid data.
|
static |
A single channel 16 bit per pixel format.
(PFNC name: Mono16)
|
static |
A single channel 8 bit per pixel format.
(PFNC name: Mono8)
|
static |
An unprocessed block of data.
|
static |
A three channel interleaved RGB image occupying 48 bit with 30 bit of usable data per pixel.
(PFNC name: BGR10)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned, thus the 6 MSB of each 16 bit will not contain valid data.
So the first 2 bytes in memory are the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a 16 bit pointer.
|
static |
A three channel interleaved RGB image occupying 48 bit with 36 bit of usable data per pixel.
(PFNC name: BGR12)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned, thus the 4 MSB of each 16 bit will not contain valid data.
So the first 2 bytes in memory are the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a 16 bit pointer.
|
static |
A three channel interleaved RGB image occupying 48 bit with 42 bit of usable data per pixel.
(PFNC name: BGR14)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned, thus the 2 MSB of each 16 bit will not contain valid data.
So the first 2 bytes in memory are the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a 16 bit pointer.
|
static |
A three channel interleaved RGB image occupying 48 bit per pixel.
(PFNC name: BGR16)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned.
So the first 2 bytes in memory are the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a 16 bit pointer.
|
static |
A three channel interleaved RGB format containing 24 bit per pixel.
(PFNC name: BGR8)
This is an interleaved pixel format suitable for most display and processing functions. The data is stored pixel-wise:
So the first byte in memory is the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a byte pointer.
|
static |
A three channel planar RGB format.
(PFNC name: RGB8_Planar)
This is a format best suitable for most image processing functions. The image will be converted into 3 planes(a plane for each color component).
So the first byte in memory is the first pixels red component. ImageBuffer.vpData will therefore point to R(1) when using a byte pointer.
|
static |
A four channel interleaved RGB format with 32 bit per pixel containing one alpha byte per pixel.
(PFNC name: BGRa8)
This is an interleaved pixel format suitable for most display functions. The data is stored pixel-wise. The memory layout of the pixel data is like this:
So the first byte in memory is the first pixels blue component. ImageBuffer.vpData will therefore point to B(1) when using a byte pointer. The 4th byte could be used for alpha information but isn't used by this framework.
|
static |
A four channel planar RGB format.
(PFNC name: RGBa8_Planar)
This is a format best suitable for most image processing functions. The data is stored in 4 separate planes (one plane for each color component and one alpha plane).
So the first byte in memory is the first pixels red component. ImageBuffer.vpData will therefore point to R(1) when using a byte pointer. All red data will follow!
|
static |
A three channel interleaved YUV format occupying 48 bit for four pixels.
(PFNC name: YUV411_8_UYYVYY)
This format uses 4:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 4 pixels in horizontal direction. If each component takes 8 bits, four pixels require 48 bits.
Four consecutive pixels (48 bit, 0xaabbccddeeff ) contain 8 bit chrominance blue of pixels 1, 2, 3 and 4(aa), 8 bit luminance of pixel 1(bb),8 bit luminance of pixel 2(cc), 8 bit chrominance red of pixels 1, 2, 3 and 4(dd), 8 bit luminance of pixel 3(ee) and finally 8 bit luminance of pixel 4(ff).
Thus in memory the data will be stored like this:
So the first byte in memory is the chrominance blue component. ImageBuffer.vpData will therefore point to Cb when using a byte pointer.
|
static |
A three channel interleaved YUV422 format occupying 64 bit for a pair of pixels.
(PFNC name: YUV422_10)
This format uses 2:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 2 pixels in horizontal direction. If each component takes 16 bits, the pair of pixels requires 64 bits.
Two consecutive pixels (64 bit, 0xaaaabbbbccccdddd ) contain 10 bit luminance of pixel 1(aaaa), 10 bit chrominance blue of pixel 1 and 2(bbbb), 10 bit luminance of pixel 2(cccc) and finally 10 bit chrominance red of pixels 1 and 2(dddd). The upper 6 bits of each component will be 0.
Thus in memory the data will be stored like this:
So the first 2 bytes in memory are the first pixels luminance component. ImageBuffer.vpData will therefore point to Y(1) when using a 16 bit pointer.
|
static |
A three channel interleaved YUV422 format occupying 64 bit for a pair of pixels.
(PFNC name: YUV422_10_UYV)
This format uses 2:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 2 pixels in horizontal direction. If each component takes 16 bits, the pair of pixels requires 64 bits.
Two consecutive pixels (64 bit, 0xaaaabbbbccccdddd ) will contain 10 bit chrominance blue of pixel 1 and 2(aaaa), 10 bit luminance of pixel 1(bbbb), 10 bit chrominance red of pixel 1 and 2 (cccc) and finally 10 bit luminance of pixel 2(dddd). The upper 6 bits of each component will be 0.
Thus in memory the data will be stored like this:
So the first 2 bytes in memory are the first pixels luminance component. ImageBuffer.vpData will therefore point to Cb(1,2) when using a 16 bit pointer.
|
static |
A three channel interleaved YUV422 format occupying 32 bit for a pair of pixels.
(PFNC name: YUV422_8_UYV)
This format uses 2:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 2 pixels in horizontal direction. If each component takes 8 bits, the pair of pixels requires 32 bits.
Two consecutive pixels (32 bit, 0xaabbccdd ) will contain 8 bit chrominance blue of pixel 1 and 2(aa), 8 bit luminance of pixel 1(bb), 8 bit chrominance red of pixel 1 and 2 (cc) and finally 8 bit luminance of pixel 2(dd).
Thus in memory the data will be stored like this:
So the first byte in memory is the first pixels Cb component. ImageBuffer.vpData will therefore point to Cb(1,2) when using a byte pointer.
|
static |
A three channel interleaved YUV422 format using 32 bit for a pair of pixels.
(PFNC name: YUV422_8)
This format uses 2:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 2 pixels in horizontal direction. Each component takes 8 bits, therefore a pair of pixels requires 32 bits.
Two consecutive pixels (32 bit, 0xaabbccdd ) contain 8 bit luminance of pixel 1(aa), 8 bit chrominance blue of pixel 1 and 2(bb), 8 bit luminance of pixel 2(cc) and finally 8 bit chrominance red of pixels 1 and 2(dd).
Thus in memory the data will be stored like this:
So the first byte in memory is the first pixels luminance component. ImageBuffer.vpData will therefore point to Y(1) when using a byte pointer.
|
static |
A three channel planar YUV422 format.
(PFNC name: YUV422_8_YVU_Planar)
This format uses 2:1 horizontal downsampling, meaning the Y component is sampled at each pixel, while U(Cb) and V(Cr) components are sampled every 2 pixels in horizontal direction. If each component takes 8 bits, the pair of pixels requires 32 bits.
In memory the data will be stored like this:
Thus the Y planes size in bytes equals the sum of the 2 other planes.
So the first byte in memory is the first pixels luminance component. ImageBuffer.vpData will therefore point to Y(1) when using a byte pointer.
|
static |
A three channel interleaved YUV format occupying 48 bit per pixel with 30 bit of usable data per pixel.
(PFNC name: YUV10)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned, thus the 6 MSB of each 16 bit will not contain valid data.
So the first byte in memory is the first pixels luminance component. ImageBuffer.vpData will therefore point to Y(1) when using a 16 bit pointer.
|
static |
A three channel interleaved YUV format occupying 48 bit per pixel with 30 bit of usable data per pixel.
(PFNC name: YUV422_8_UYV)
This is an interleaved pixel format with 2 bytes per color component. The data is stored pixel-wise:
The data of each color component will be LSB aligned, thus the 6 MSB of each 16 bit will not contain valid data.
So the first byte in memory is the first pixels Cb component. ImageBuffer.vpData will therefore point to Cb(1) when using a 16 bit pointer.
|
static |
A three channel interleaved YUV format occupying 24 bit per pixel.
(PFNC name: YUV8_UYV)
This is an interleaved pixel format.
The data is stored pixel-wise:
So the first byte in memory is the first pixels Cb component. ImageBuffer.vpData will therefore point to Cb(1) when using a byte pointer.
|
static |
A three channel interleaved YUV format occupying 24 bit per pixel.
(PFNC name: YUV8)
This is an interleaved pixel format.
The data is stored pixel-wise:
So the first byte in memory is the first pixels luminance component. ImageBuffer.vpData will therefore point to Y(1) when using a byte pointer.