@Namespace(value="rs") @NoOffset @Properties(inherit=RealSense.class) public class frame extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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()
retrieve bits per pixel
|
Pointer |
get_data() |
int |
get_format() |
double |
get_frame_metadata(int frame_metadata)
retrieve the current value of a single frame_metadata
|
long |
get_frame_number() |
int |
get_frame_timestamp_domain()
retrieve the timestamp domain
|
int |
get_framerate() |
int |
get_height() |
int |
get_stream_type() |
int |
get_stride() |
double |
get_timestamp()
retrieve the time at which the frame was captured
|
int |
get_width() |
frame |
position(long position) |
frame |
put(frame other) |
boolean |
supports_frame_metadata(int frame_metadata)
determine if the device allows a 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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic frame(Pointer p)
Pointer.Pointer(Pointer).public frame(long size)
Pointer.position(long).public frame()
public frame(rs_device device, rs_frame_ref frame_ref)
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] the 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] the frame_metadata to check for supportpublic int get_width()
public int get_height()
public int get_framerate()
public int get_stride()
public int get_bpp()
Copyright © 2019. All rights reserved.