Package org.bytedeco.cuda.nppicom
Class NppiJpegFrameDescr
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.nppicom.NppiJpegFrameDescr
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=nppicom.class) public class NppiJpegFrameDescr extends Pointer
JPEG frame descriptor. Can hold from 1 to 4 components. NOTE THAT ALL OF THESE FUNCTIONS WILL BE DEPRECATED IN THE NEXT RELEASE OF NPP, USE NVJPEG INSTEAD.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description NppiJpegFrameDescr()Default native constructor.NppiJpegFrameDescr(long size)Native array allocator.NppiJpegFrameDescr(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NppiSizeaComponentSubsampling()NppiSizeaComponentSubsampling(int i)Subsampling factors of component, as described in frame headerNppiJpegFrameDescraComponentSubsampling(int i, NppiSize setter)PointerPointerapComponentBuffer()ShortPointerapComponentBuffer(int i)Buffer containing DCT coefficients.NppiJpegFrameDescrapComponentBuffer(int i, ShortPointer setter)NppiJpegFrameDescrgetPointer(long i)bytenComponents()Number of components in frameNppiJpegFrameDescrnComponents(byte setter)NppiSizeoSizeInBlocks()Size of component with 1x1 subsampling (usually luma) in DCT blocks.NppiJpegFrameDescroSizeInBlocks(NppiSize setter)NppiJpegFrameDescrposition(long position)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
NppiJpegFrameDescr
public NppiJpegFrameDescr()
Default native constructor.
-
NppiJpegFrameDescr
public NppiJpegFrameDescr(long size)
Native array allocator. Access withPointer.position(long).
-
NppiJpegFrameDescr
public NppiJpegFrameDescr(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public NppiJpegFrameDescr position(long position)
-
getPointer
public NppiJpegFrameDescr getPointer(long i)
- Overrides:
getPointerin classPointer
-
nComponents
@Cast("Npp8u") public byte nComponents()
Number of components in frame
-
nComponents
public NppiJpegFrameDescr nComponents(byte setter)
-
oSizeInBlocks
@ByRef public NppiSize oSizeInBlocks()
Size of component with 1x1 subsampling (usually luma) in DCT blocks.
-
oSizeInBlocks
public NppiJpegFrameDescr oSizeInBlocks(NppiSize setter)
-
aComponentSubsampling
@ByRef public NppiSize aComponentSubsampling(int i)
Subsampling factors of component, as described in frame header
-
aComponentSubsampling
public NppiJpegFrameDescr aComponentSubsampling(int i, NppiSize setter)
-
aComponentSubsampling
@MemberGetter public NppiSize aComponentSubsampling()
-
apComponentBuffer
@Cast("Npp16s*") public ShortPointer apComponentBuffer(int i)
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 atbuffer[64 * (y * interleavedComponentWidthInBlocks + x) + c].
-
apComponentBuffer
public NppiJpegFrameDescr apComponentBuffer(int i, ShortPointer setter)
-
apComponentBuffer
@MemberGetter @Cast("Npp16s**") public PointerPointer apComponentBuffer()
-
-