NVIDIA Performance Primitives (NPP)
Version 9.2
|
JPEG frame descriptor. More...
#include <nppi_compression_functions.h>
Data Fields | |
Npp8u | nComponents |
Number of components in frame. More... |
|
NppiSize | oSizeInBlocks |
Size of component with 1x1 subsampling (usually luma) in DCT blocks. More... |
|
NppiSize | aComponentSubsampling [4] |
Subsampling factors of component, as described in frame header. More... |
|
Npp16s * | apComponentBuffer [4] |
Buffer containing DCT coefficients. More... |
|
JPEG frame descriptor.
Can hold from 1 to 4 components.
NppiSize NppiJpegFrameDescr::aComponentSubsampling[4] |
Subsampling factors of component, as described in frame header.
Npp16s* NppiJpegFrameDescr::apComponentBuffer[4] |
Buffer containing DCT coefficients.
Use nppiJpegDecodeGetDCTBufferSize to determine size of this buffer. After decoding, coefficients will be stored in zig-zag order, block by block. So the c-th coeffient of block (x, y)
will be stored at buffer[64 * (y * interleavedComponentWidthInBlocks + x) + c]
.
Npp8u NppiJpegFrameDescr::nComponents |
Number of components in frame.
NppiSize NppiJpegFrameDescr::oSizeInBlocks |
Size of component with 1x1 subsampling (usually luma) in DCT blocks.