@Properties(inherit=nvcuvid.class) public class CUVIDEOFORMAT extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CUVIDEOFORMAT()
Default native constructor.
|
CUVIDEOFORMAT(long size)
Native array allocator.
|
CUVIDEOFORMAT(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
byte |
bit_depth_chroma_minus8()
OUT: high bit depth chroma.
|
CUVIDEOFORMAT |
bit_depth_chroma_minus8(byte setter) |
byte |
bit_depth_luma_minus8()
OUT: high bit depth luma.
|
CUVIDEOFORMAT |
bit_depth_luma_minus8(byte setter) |
int |
bitrate()
OUT: video bitrate (bps, 0=unknown)
|
CUVIDEOFORMAT |
bitrate(int setter) |
int |
chroma_format()
OUT: Chroma format
|
CUVIDEOFORMAT |
chroma_format(int setter) |
int |
codec()
OUT: Compression format
|
CUVIDEOFORMAT |
codec(int setter) |
int |
coded_height()
OUT: coded frame height in pixels
|
CUVIDEOFORMAT |
coded_height(int setter) |
int |
coded_width()
OUT: coded frame width in pixels
|
CUVIDEOFORMAT |
coded_width(int setter) |
int |
display_area_bottom()
OUT: bottom position of display rect
|
CUVIDEOFORMAT |
display_area_bottom(int setter) |
int |
display_area_left()
OUT: left position of display rect
|
CUVIDEOFORMAT |
display_area_left(int setter) |
int |
display_area_right()
OUT: right position of display rect
|
CUVIDEOFORMAT |
display_area_right(int setter) |
int |
display_area_top()
OUT: top position of display rect
|
CUVIDEOFORMAT |
display_area_top(int setter) |
int |
display_aspect_ratio_x()
OUT: Display Aspect Ratio = x:y (4:3, 16:9, etc)
|
CUVIDEOFORMAT |
display_aspect_ratio_x(int setter) |
int |
display_aspect_ratio_y() |
CUVIDEOFORMAT |
display_aspect_ratio_y(int setter) |
int |
frame_rate_denominator() |
CUVIDEOFORMAT |
frame_rate_denominator(int setter) |
int |
frame_rate_numerator()
OUT: frame rate denominator (0 = unspecified or variable frame rate)
|
CUVIDEOFORMAT |
frame_rate_numerator(int setter) |
CUVIDEOFORMAT |
getPointer(long i) |
byte |
min_num_decode_surfaces()
OUT: Minimum number of decode surfaces to be allocated for correct
decoding.
|
CUVIDEOFORMAT |
min_num_decode_surfaces(byte setter) |
CUVIDEOFORMAT |
position(long position) |
byte |
progressive_sequence()
OUT: 0=interlaced, 1=progressive
|
CUVIDEOFORMAT |
progressive_sequence(byte setter) |
int |
seqhdr_data_length()
OUT: Additional bytes following (CUVIDEOFORMATEX)
|
CUVIDEOFORMAT |
seqhdr_data_length(int setter) |
byte |
video_signal_description_color_primaries()
OUT: chromaticity coordinates of source primaries
|
CUVIDEOFORMAT |
video_signal_description_color_primaries(byte setter) |
byte |
video_signal_description_matrix_coefficients()
OUT: used in deriving luma and chroma signals from RGB primaries
|
CUVIDEOFORMAT |
video_signal_description_matrix_coefficients(byte setter) |
byte |
video_signal_description_reserved_zero_bits()
Reserved bits
|
CUVIDEOFORMAT |
video_signal_description_reserved_zero_bits(byte setter) |
byte |
video_signal_description_transfer_characteristics()
OUT: opto-electronic transfer characteristic of the source picture
|
CUVIDEOFORMAT |
video_signal_description_transfer_characteristics(byte setter) |
byte |
video_signal_description_video_format()
OUT: 0-Component, 1-PAL, 2-NTSC, 3-SECAM, 4-MAC, 5-Unspecified
|
CUVIDEOFORMAT |
video_signal_description_video_format(byte setter) |
byte |
video_signal_description_video_full_range_flag()
OUT: indicates the black level and luma and chroma range
|
CUVIDEOFORMAT |
video_signal_description_video_full_range_flag(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 CUVIDEOFORMAT()
public CUVIDEOFORMAT(long size)
Pointer.position(long)
.public CUVIDEOFORMAT(Pointer p)
Pointer(Pointer)
.public CUVIDEOFORMAT position(long position)
public CUVIDEOFORMAT getPointer(long i)
getPointer
in class Pointer
public CUVIDEOFORMAT codec(int setter)
@Name(value="frame_rate.numerator") @Cast(value="unsigned int") public int frame_rate_numerator()
public CUVIDEOFORMAT frame_rate_numerator(int setter)
@Name(value="frame_rate.denominator") @Cast(value="unsigned int") public int frame_rate_denominator()
public CUVIDEOFORMAT frame_rate_denominator(int setter)
@Cast(value="unsigned char") public byte progressive_sequence()
public CUVIDEOFORMAT progressive_sequence(byte setter)
@Cast(value="unsigned char") public byte bit_depth_luma_minus8()
public CUVIDEOFORMAT bit_depth_luma_minus8(byte setter)
@Cast(value="unsigned char") public byte bit_depth_chroma_minus8()
public CUVIDEOFORMAT bit_depth_chroma_minus8(byte setter)
@Cast(value="unsigned char") public byte min_num_decode_surfaces()
public CUVIDEOFORMAT min_num_decode_surfaces(byte setter)
public CUVIDEOFORMAT coded_width(int setter)
@Cast(value="unsigned int") public int coded_height()
public CUVIDEOFORMAT coded_height(int setter)
@Name(value="display_area.left") public int display_area_left()
public CUVIDEOFORMAT display_area_left(int setter)
@Name(value="display_area.top") public int display_area_top()
public CUVIDEOFORMAT display_area_top(int setter)
@Name(value="display_area.right") public int display_area_right()
public CUVIDEOFORMAT display_area_right(int setter)
@Name(value="display_area.bottom") public int display_area_bottom()
public CUVIDEOFORMAT display_area_bottom(int setter)
public CUVIDEOFORMAT chroma_format(int setter)
public CUVIDEOFORMAT bitrate(int setter)
@Name(value="display_aspect_ratio.x") public int display_aspect_ratio_x()
public CUVIDEOFORMAT display_aspect_ratio_x(int setter)
public CUVIDEOFORMAT display_aspect_ratio_y(int setter)
@Name(value="video_signal_description.video_format") @Cast(value="unsigned char") @NoOffset public byte video_signal_description_video_format()
public CUVIDEOFORMAT video_signal_description_video_format(byte setter)
@Name(value="video_signal_description.video_full_range_flag") @Cast(value="unsigned char") @NoOffset public byte video_signal_description_video_full_range_flag()
public CUVIDEOFORMAT video_signal_description_video_full_range_flag(byte setter)
@Name(value="video_signal_description.reserved_zero_bits") @Cast(value="unsigned char") @NoOffset public byte video_signal_description_reserved_zero_bits()
public CUVIDEOFORMAT video_signal_description_reserved_zero_bits(byte setter)
@Name(value="video_signal_description.color_primaries") @Cast(value="unsigned char") public byte video_signal_description_color_primaries()
public CUVIDEOFORMAT video_signal_description_color_primaries(byte setter)
@Name(value="video_signal_description.transfer_characteristics") @Cast(value="unsigned char") public byte video_signal_description_transfer_characteristics()
public CUVIDEOFORMAT video_signal_description_transfer_characteristics(byte setter)
@Name(value="video_signal_description.matrix_coefficients") @Cast(value="unsigned char") public byte video_signal_description_matrix_coefficients()
public CUVIDEOFORMAT video_signal_description_matrix_coefficients(byte setter)
@Cast(value="unsigned int") public int seqhdr_data_length()
public CUVIDEOFORMAT seqhdr_data_length(int setter)
Copyright © 2024. All rights reserved.