@Namespace(value="rs") @NoOffset @Properties(inherit=RealSense.class) public class frame extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
frame() |
frame(frame other) |
frame(long size)
Native array allocator.
|
frame(Pointer p)
Pointer cast constructor.
|
frame(rs_device device,
rs_frame_ref frame_ref) |
Modifier and Type | Method and Description |
---|---|
int |
get_bpp()
\brief Retrieves bits per pixel
|
Pointer |
get_data()
Retrieves frame content
|
int |
get_format()
\brief Retrieves frame format
|
double |
get_frame_metadata(int frame_metadata)
Retrieves the current value of a single frame_metadata
|
long |
get_frame_number()
Retrieves frame number
|
int |
get_frame_timestamp_domain()
Retrieves the timestamp domain
|
int |
get_framerate()
\brief Returns configured frame rate
|
int |
get_height()
\brief Returns image height in pixels
|
int |
get_stream_type()
\brief Retrieves frame stream type
|
int |
get_stride()
\brief Retrieves frame stride, meaning the actual line width in memory in bytes (not the logical image width)
|
double |
get_timestamp()
Retrieves time at which frame was captured
|
int |
get_width()
\brief Returns image width in pixels
|
frame |
getPointer(long i) |
frame |
position(long position) |
frame |
put(frame other) |
boolean |
supports_frame_metadata(int frame_metadata)
Determines if device allows specific metadata to be queried
|
void |
swap(frame other) |
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 frame(Pointer p)
Pointer(Pointer)
.public frame(long size)
Pointer.position(long)
.public frame()
public frame(rs_device device, rs_frame_ref frame_ref)
public frame getPointer(long i)
getPointer
in class Pointer
public double get_timestamp()
@Cast(value="rs::timestamp_domain") public int get_frame_timestamp_domain()
public double get_frame_metadata(@Cast(value="rs_frame_metadata") int frame_metadata)
frame_metadata
- [in] Frame metadata whose value should be retrieved@Cast(value="bool") public boolean supports_frame_metadata(@Cast(value="rs_frame_metadata") int frame_metadata)
frame_metadata
- [in] Frame_metadata to check for support@Cast(value="unsigned long long") public long get_frame_number()
public int get_width()
public int get_height()
public int get_framerate()
public int get_stride()
public int get_bpp()
@Cast(value="rs::format") public int get_format()
Copyright © 2023. All rights reserved.