@Properties(inherit=nvencodeapi.class) public class NV_ENC_FILM_GRAIN_PARAMS_AV1 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_FILM_GRAIN_PARAMS_AV1()
Default native constructor.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1(long size)
Native array allocator.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
applyGrain()
[in]: Set to 1 to specify film grain should be added to frame
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
applyGrain(int setter) |
int |
arCoeffLag()
[in]: Specifies the number of auto-regressive coefficients for luma and chroma
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
arCoeffLag(int setter) |
BytePointer |
arCoeffsCbPlus128() |
byte |
arCoeffsCbPlus128(int i)
[in]: Specifies auto-regressive coefficients used for the U plane
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
arCoeffsCbPlus128(int i,
byte setter) |
BytePointer |
arCoeffsCrPlus128() |
byte |
arCoeffsCrPlus128(int i)
[in]: Specifies auto-regressive coefficients used for the V plane
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
arCoeffsCrPlus128(int i,
byte setter) |
int |
arCoeffShiftMinus6()
[in]: specifies the range of the auto-regressive coefficients
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
arCoeffShiftMinus6(int setter) |
BytePointer |
arCoeffsYPlus128() |
byte |
arCoeffsYPlus128(int i)
[in]: Specifies auto-regressive coefficients used for the Y plane
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
arCoeffsYPlus128(int i,
byte setter) |
byte |
cbLumaMult()
[in]: represents a multiplier for the average luma component used in derivation of the input index to the cb component scaling function.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
cbLumaMult(byte setter) |
byte |
cbMult()
[in]: Represents a multiplier for the cb component used in derivation of the input index to the cb component scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
cbMult(byte setter) |
short |
cbOffset()
[in]: Represents an offset used in derivation of the input index to the cb component scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
cbOffset(short setter) |
int |
chromaScalingFromLuma()
[in]: Set to 1 to specify the chroma scaling is inferred from luma scaling
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
chromaScalingFromLuma(int setter) |
int |
clipToRestrictedRange()
[in]: Set to 1 to clip values to restricted (studio) range after adding film grain
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
clipToRestrictedRange(int setter) |
byte |
crLumaMult()
[in]: represents a multiplier for the average luma component used in derivation of the input index to the cr component scaling function.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
crLumaMult(byte setter) |
byte |
crMult()
[in]: Represents a multiplier for the cr component used in derivation of the input index to the cr component scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
crMult(byte setter) |
short |
crOffset()
[in]: Represents an offset used in derivation of the input index to the cr component scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
crOffset(short setter) |
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
getPointer(long i) |
int |
grainScaleShift()
[in]: Specifies how much the Gaussian random numbers should be scaled down during the grain synthesi process
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
grainScaleShift(int setter) |
int |
grainScalingMinus8()
[in]: Represents the shift - 8 applied to the values of the chroma component
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
grainScalingMinus8(int setter) |
int |
numCbPoints()
[in]: Specifies the number of points for the piecewise linear scaling function of the cb component
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
numCbPoints(int setter) |
int |
numCrPoints()
[in]: Specifies the number of points for the piecewise linear scaling function of the cr component
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
numCrPoints(int setter) |
int |
numYPoints()
[in]: Specifies the number of points for the piecewise linear scaling function of the luma component
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
numYPoints(int setter) |
int |
overlapFlag()
[in]: Set to 1 to indicate that overlap between film grain blocks should be applied
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
overlapFlag(int setter) |
BytePointer |
pointCbScaling() |
byte |
pointCbScaling(int i)
[in]: pointCbScaling[i]: i-th point output value of cb piecewise linear scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointCbScaling(int i,
byte setter) |
BytePointer |
pointCbValue() |
byte |
pointCbValue(int i)
[in]: pointCbValue[i]: x coordinate for i-th point of cb piecewise linear scaling function.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointCbValue(int i,
byte setter) |
BytePointer |
pointCrScaling() |
byte |
pointCrScaling(int i)
[in]: pointCrScaling[i]: i-th point output value of cr piecewise linear scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointCrScaling(int i,
byte setter) |
BytePointer |
pointCrValue() |
byte |
pointCrValue(int i)
[in]: pointCrValue[i]: x coordinate for i-th point of cr piecewise linear scaling function.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointCrValue(int i,
byte setter) |
BytePointer |
pointYScaling() |
byte |
pointYScaling(int i)
[in]: pointYScaling[i]: i-th point output value of luma piecewise linear scaling function
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointYScaling(int i,
byte setter) |
BytePointer |
pointYValue() |
byte |
pointYValue(int i)
[in]: pointYValue[i]: x coordinate for i-th point of luma piecewise linear scaling function.
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
pointYValue(int i,
byte setter) |
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
position(long position) |
int |
reserved1()
[in]: Reserved bits field - should be set to 0
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
reserved1(int setter) |
BytePointer |
reserved2() |
byte |
reserved2(int i)
[in]: Reserved bytes - should be set to 0
|
NV_ENC_FILM_GRAIN_PARAMS_AV1 |
reserved2(int i,
byte 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 NV_ENC_FILM_GRAIN_PARAMS_AV1()
public NV_ENC_FILM_GRAIN_PARAMS_AV1(long size)
Pointer.position(long)
.public NV_ENC_FILM_GRAIN_PARAMS_AV1(Pointer p)
Pointer(Pointer)
.public NV_ENC_FILM_GRAIN_PARAMS_AV1 position(long position)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") @NoOffset public int applyGrain()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 applyGrain(int setter)
@Cast(value="uint32_t") @NoOffset public int chromaScalingFromLuma()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 chromaScalingFromLuma(int setter)
@Cast(value="uint32_t") @NoOffset public int overlapFlag()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 overlapFlag(int setter)
@Cast(value="uint32_t") @NoOffset public int clipToRestrictedRange()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 clipToRestrictedRange(int setter)
@Cast(value="uint32_t") @NoOffset public int grainScalingMinus8()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 grainScalingMinus8(int setter)
@Cast(value="uint32_t") @NoOffset public int arCoeffLag()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 arCoeffLag(int setter)
@Cast(value="uint32_t") @NoOffset public int numYPoints()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 numYPoints(int setter)
@Cast(value="uint32_t") @NoOffset public int numCbPoints()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 numCbPoints(int setter)
@Cast(value="uint32_t") @NoOffset public int numCrPoints()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 numCrPoints(int setter)
@Cast(value="uint32_t") @NoOffset public int arCoeffShiftMinus6()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 arCoeffShiftMinus6(int setter)
@Cast(value="uint32_t") @NoOffset public int grainScaleShift()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 grainScaleShift(int setter)
@Cast(value="uint32_t") @NoOffset public int reserved1()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 reserved1(int setter)
@Cast(value="uint8_t") public byte pointYValue(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointYValue(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointYValue()
@Cast(value="uint8_t") public byte pointYScaling(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointYScaling(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointYScaling()
@Cast(value="uint8_t") public byte pointCbValue(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointCbValue(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointCbValue()
@Cast(value="uint8_t") public byte pointCbScaling(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointCbScaling(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointCbScaling()
@Cast(value="uint8_t") public byte pointCrValue(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointCrValue(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointCrValue()
@Cast(value="uint8_t") public byte pointCrScaling(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 pointCrScaling(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer pointCrScaling()
@Cast(value="uint8_t") public byte arCoeffsYPlus128(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 arCoeffsYPlus128(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer arCoeffsYPlus128()
@Cast(value="uint8_t") public byte arCoeffsCbPlus128(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 arCoeffsCbPlus128(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer arCoeffsCbPlus128()
@Cast(value="uint8_t") public byte arCoeffsCrPlus128(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 arCoeffsCrPlus128(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer arCoeffsCrPlus128()
@Cast(value="uint8_t") public byte reserved2(int i)
public NV_ENC_FILM_GRAIN_PARAMS_AV1 reserved2(int i, byte setter)
@MemberGetter @Cast(value="uint8_t*") public BytePointer reserved2()
@Cast(value="uint8_t") public byte cbMult()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 cbMult(byte setter)
@Cast(value="uint8_t") public byte cbLumaMult()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 cbLumaMult(byte setter)
@Cast(value="uint16_t") public short cbOffset()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 cbOffset(short setter)
@Cast(value="uint8_t") public byte crMult()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 crMult(byte setter)
@Cast(value="uint8_t") public byte crLumaMult()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 crLumaMult(byte setter)
@Cast(value="uint16_t") public short crOffset()
public NV_ENC_FILM_GRAIN_PARAMS_AV1 crOffset(short setter)
Copyright © 2024. All rights reserved.