@Properties(inherit=nvencodeapi.class) public class NV_ENC_REGISTER_RESOURCE extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
NV_ENC_REGISTER_RESOURCE()
Default native constructor.
|
NV_ENC_REGISTER_RESOURCE(long size)
Native array allocator.
|
NV_ENC_REGISTER_RESOURCE(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
bufferFormat()
[in]: Buffer format of resource to be registered.
|
NV_ENC_REGISTER_RESOURCE |
bufferFormat(int setter) |
int |
bufferUsage()
[in]: Usage of resource to be registered.
|
NV_ENC_REGISTER_RESOURCE |
bufferUsage(int setter) |
IntPointer |
chromaOffset() |
int |
chromaOffset(int i)
[out]: Chroma offset for the reconstructed output buffer when NV_ENC_BUFFER_USAGE::bufferUsage is set
to NV_ENC_OUTPUT_RECON and D3D11 interface is used.
|
NV_ENC_REGISTER_RESOURCE |
chromaOffset(int i,
int setter) |
NV_ENC_REGISTER_RESOURCE |
getPointer(long i) |
int |
height()
[in]: Input frame height.
|
NV_ENC_REGISTER_RESOURCE |
height(int setter) |
NV_ENC_FENCE_POINT_D3D12 |
pInputFencePoint()
[in]: Specifies the input fence and corresponding fence values to do GPU wait and signal.
|
NV_ENC_REGISTER_RESOURCE |
pInputFencePoint(NV_ENC_FENCE_POINT_D3D12 setter) |
int |
pitch()
[in]: Input buffer pitch.
|
NV_ENC_REGISTER_RESOURCE |
pitch(int setter) |
NV_ENC_REGISTER_RESOURCE |
position(long position) |
NV_ENC_REGISTERED_PTR |
registeredResource()
[out]: Registered resource handle.
|
NV_ENC_REGISTER_RESOURCE |
registeredResource(NV_ENC_REGISTERED_PTR setter) |
IntPointer |
reserved1() |
int |
reserved1(int i)
[in]: Reserved and must be set to 0.
|
NV_ENC_REGISTER_RESOURCE |
reserved1(int i,
int setter) |
PointerPointer |
reserved2() |
Pointer |
reserved2(int i)
[in]: Reserved and must be set to NULL.
|
NV_ENC_REGISTER_RESOURCE |
reserved2(int i,
Pointer setter) |
Pointer |
resourceToRegister()
[in]: Handle to the resource that is being registered.
|
NV_ENC_REGISTER_RESOURCE |
resourceToRegister(Pointer setter) |
int |
resourceType()
[in]: Specifies the type of resource to be registered.
|
NV_ENC_REGISTER_RESOURCE |
resourceType(int setter) |
int |
subResourceIndex()
[in]: Subresource Index of the DirectX resource to be registered.
|
NV_ENC_REGISTER_RESOURCE |
subResourceIndex(int setter) |
int |
version()
[in]: Struct version.
|
NV_ENC_REGISTER_RESOURCE |
version(int setter) |
int |
width()
[in]: Input frame width.
|
NV_ENC_REGISTER_RESOURCE |
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 NV_ENC_REGISTER_RESOURCE()
public NV_ENC_REGISTER_RESOURCE(long size)
Pointer.position(long)
.public NV_ENC_REGISTER_RESOURCE(Pointer p)
Pointer(Pointer)
.public NV_ENC_REGISTER_RESOURCE position(long position)
public NV_ENC_REGISTER_RESOURCE getPointer(long i)
getPointer
in class Pointer
@Cast(value="uint32_t") public int version()
public NV_ENC_REGISTER_RESOURCE version(int setter)
@Cast(value="NV_ENC_INPUT_RESOURCE_TYPE") public int resourceType()
public NV_ENC_REGISTER_RESOURCE resourceType(int setter)
public NV_ENC_REGISTER_RESOURCE width(int setter)
public NV_ENC_REGISTER_RESOURCE height(int setter)
@Cast(value="uint32_t") public int pitch()
public NV_ENC_REGISTER_RESOURCE pitch(int setter)
@Cast(value="uint32_t") public int subResourceIndex()
public NV_ENC_REGISTER_RESOURCE subResourceIndex(int setter)
public Pointer resourceToRegister()
public NV_ENC_REGISTER_RESOURCE resourceToRegister(Pointer setter)
public NV_ENC_REGISTERED_PTR registeredResource()
public NV_ENC_REGISTER_RESOURCE registeredResource(NV_ENC_REGISTERED_PTR setter)
@Cast(value="NV_ENC_BUFFER_FORMAT") public int bufferFormat()
public NV_ENC_REGISTER_RESOURCE bufferFormat(int setter)
@Cast(value="NV_ENC_BUFFER_USAGE") public int bufferUsage()
public NV_ENC_REGISTER_RESOURCE bufferUsage(int setter)
public NV_ENC_FENCE_POINT_D3D12 pInputFencePoint()
public NV_ENC_REGISTER_RESOURCE pInputFencePoint(NV_ENC_FENCE_POINT_D3D12 setter)
@Cast(value="uint32_t") public int chromaOffset(int i)
public NV_ENC_REGISTER_RESOURCE chromaOffset(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer chromaOffset()
public NV_ENC_REGISTER_RESOURCE reserved1(int i, int setter)
@MemberGetter @Cast(value="uint32_t*") public IntPointer reserved1()
public Pointer reserved2(int i)
public NV_ENC_REGISTER_RESOURCE reserved2(int i, Pointer setter)
@MemberGetter @Cast(value="void**") public PointerPointer reserved2()
Copyright © 2024. All rights reserved.