@Namespace(value="cv::cudacodec") @NoOffset @Properties(inherit=opencv_cudacodec.class) public class FormatInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FormatInfo() |
FormatInfo(long size)
Native array allocator.
|
FormatInfo(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
chromaFormat() |
FormatInfo |
chromaFormat(int setter) |
int |
codec() |
FormatInfo |
codec(int setter) |
int |
deinterlaceMode() |
FormatInfo |
deinterlaceMode(int setter) |
Rect |
displayArea()
ROI inside the decoded frame returned by nextFrame(frame), containing the useable video frame.
|
FormatInfo |
displayArea(Rect setter) |
boolean |
enableHistogram()
Flag requesting histogram output if supported.
|
FormatInfo |
enableHistogram(boolean setter) |
double |
fps() |
FormatInfo |
fps(double setter) |
FormatInfo |
getPointer(long i) |
int |
height()
Height of the decoded frame returned by nextFrame(frame).
|
FormatInfo |
height(int setter) |
int |
nBitDepthChromaMinus8() |
FormatInfo |
nBitDepthChromaMinus8(int setter) |
int |
nBitDepthMinus8() |
FormatInfo |
nBitDepthMinus8(int setter) |
int |
nCounterBitDepth()
Bit depth of histogram bins if histogram output is requested and supported.
|
FormatInfo |
nCounterBitDepth(int setter) |
int |
nMaxHistogramBins()
Max number of histogram bins if histogram output is requested and supported.
|
FormatInfo |
nMaxHistogramBins(int setter) |
FormatInfo |
position(long position) |
Rect |
srcRoi()
Region of interest decoded from video source.
|
FormatInfo |
srcRoi(Rect setter) |
Rect |
targetRoi()
Region of interest in the output frame containing the decoded frame.
|
FormatInfo |
targetRoi(Rect setter) |
Size |
targetSz()
Post-processed size of the output frame.
|
FormatInfo |
targetSz(Size setter) |
int |
ulHeight()
Coded sequence height in pixels.
|
FormatInfo |
ulHeight(int setter) |
int |
ulMaxHeight() |
FormatInfo |
ulMaxHeight(int setter) |
int |
ulMaxWidth() |
FormatInfo |
ulMaxWidth(int setter) |
int |
ulNumDecodeSurfaces()
Maximum number of internal decode surfaces.
|
FormatInfo |
ulNumDecodeSurfaces(int setter) |
int |
ulWidth()
Coded sequence width in pixels.
|
FormatInfo |
ulWidth(int setter) |
boolean |
valid() |
FormatInfo |
valid(boolean setter) |
boolean |
videoFullRangeFlag()
Output value indicating if the black level, luma and chroma of the source are represented using the full or limited range (AKA TV or "analogue" range) of values as defined in Annex E of the ITU-T Specification.
|
FormatInfo |
videoFullRangeFlag(boolean setter) |
int |
width()
Width of the decoded frame returned by nextFrame(frame).
|
FormatInfo |
width(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public FormatInfo(Pointer p)
Pointer(Pointer)
.public FormatInfo(long size)
Pointer.position(long)
.public FormatInfo()
public FormatInfo position(long position)
public FormatInfo getPointer(long i)
getPointer
in class Pointer
public FormatInfo codec(int setter)
public FormatInfo chromaFormat(int setter)
public int nBitDepthMinus8()
public FormatInfo nBitDepthMinus8(int setter)
public int nBitDepthChromaMinus8()
public FormatInfo nBitDepthChromaMinus8(int setter)
public int ulWidth()
public FormatInfo ulWidth(int setter)
public int ulHeight()
public FormatInfo ulHeight(int setter)
public int width()
public FormatInfo width(int setter)
public int height()
public FormatInfo height(int setter)
public int ulMaxWidth()
public FormatInfo ulMaxWidth(int setter)
public int ulMaxHeight()
public FormatInfo ulMaxHeight(int setter)
@ByRef public Rect displayArea()
public FormatInfo displayArea(Rect setter)
public FormatInfo valid(boolean setter)
public double fps()
public FormatInfo fps(double setter)
public int ulNumDecodeSurfaces()
public FormatInfo ulNumDecodeSurfaces(int setter)
public FormatInfo deinterlaceMode(int setter)
public FormatInfo targetSz(Size setter)
public FormatInfo srcRoi(Rect setter)
@ByRef public Rect targetRoi()
public FormatInfo targetRoi(Rect setter)
@Cast(value="bool") public boolean videoFullRangeFlag()
public FormatInfo videoFullRangeFlag(boolean setter)
@Cast(value="bool") public boolean enableHistogram()
public FormatInfo enableHistogram(boolean setter)
public int nCounterBitDepth()
public FormatInfo nCounterBitDepth(int setter)
public int nMaxHistogramBins()
public FormatInfo nMaxHistogramBins(int setter)
Copyright © 2024. All rights reserved.