Struct NppiJpegFrameDescr
JPEG frame descriptor. Can hold from 1 to 4 components.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public struct NppiJpegFrameDescr
Fields
| Improve this Doc View SourceaComponentSubsampling
Subsampling factors of component, as described in frame header
Declaration
public NppiSize[] aComponentSubsampling
Field Value
Type | Description |
---|---|
NppiSize[] |
apComponentBuffer
Buffer containing DCT coefficients. Use \ref 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]
.
Declaration
public CUdeviceptr[] apComponentBuffer
Field Value
Type | Description |
---|---|
CUdeviceptr[] |
nComponents
Number of components in frame
Declaration
public byte nComponents
Field Value
Type | Description |
---|---|
System.Byte |
oSizeInBlocks
Size of component with 1x1 subsampling (usually luma) in DCT blocks.
Declaration
public NppiSize oSizeInBlocks
Field Value
Type | Description |
---|---|
NppiSize |