@Namespace(value="cv::cudacodec") @NoOffset @Properties(inherit=opencv_cudacodec.class) public class EncoderParams extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EncoderParams() |
EncoderParams(long size)
Native array allocator.
|
EncoderParams(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
averageBitRate()
target bitrate for \ref ENC_PARAMS_RC_VBR and \ref ENC_PARAMS_RC_CBR.
|
EncoderParams |
averageBitRate(int setter) |
EncodeQp |
constQp()
QP's for \ref ENC_PARAMS_RC_CONSTQP.
|
EncoderParams |
constQp(EncodeQp setter) |
int |
encodingProfile() |
EncoderParams |
encodingProfile(int setter) |
EncoderParams |
getPointer(long i) |
int |
gopLength()
the number of pictures in one GOP, ensuring \ref idrPeriod >= \ref gopLength.
|
EncoderParams |
gopLength(int setter) |
int |
idrPeriod()
IDR interval, ensuring \ref idrPeriod >= \ref gopLength.
|
EncoderParams |
idrPeriod(int setter) |
int |
maxBitRate()
upper bound on bitrate for \ref ENC_PARAMS_RC_VBR and \ref ENC_PARAMS_RC_CONSTQP.
|
EncoderParams |
maxBitRate(int setter) |
int |
multiPassEncoding() |
EncoderParams |
multiPassEncoding(int setter) |
int |
nvPreset() |
EncoderParams |
nvPreset(int setter) |
EncoderParams |
position(long position) |
int |
rateControlMode() |
EncoderParams |
rateControlMode(int setter) |
byte |
targetQuality()
value 0 - 51 where video quality decreases as targetQuality increases, used with \ref ENC_PARAMS_RC_VBR.
|
EncoderParams |
targetQuality(byte setter) |
int |
tuningInfo() |
EncoderParams |
tuningInfo(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 EncoderParams(Pointer p)
Pointer(Pointer)
.public EncoderParams(long size)
Pointer.position(long)
.public EncoderParams()
public EncoderParams position(long position)
public EncoderParams getPointer(long i)
getPointer
in class Pointer
public EncoderParams nvPreset(int setter)
public EncoderParams tuningInfo(int setter)
public EncoderParams encodingProfile(int setter)
public EncoderParams rateControlMode(int setter)
public EncoderParams multiPassEncoding(int setter)
public EncoderParams constQp(EncodeQp setter)
public int averageBitRate()
public EncoderParams averageBitRate(int setter)
public int maxBitRate()
public EncoderParams maxBitRate(int setter)
@Cast(value="cv::uint8_t") public byte targetQuality()
public EncoderParams targetQuality(byte setter)
public int gopLength()
public EncoderParams gopLength(int setter)
public int idrPeriod()
public EncoderParams idrPeriod(int setter)
Copyright © 2024. All rights reserved.