FFmpeg
|
#include <nvcuvid.h>
Data Fields | |
cudaVideoCodec | codec |
Compression format. More... | |
struct { | |
unsigned int numerator | |
frame rate numerator (0 = unspecified or variable frame rate) More... | |
unsigned int denominator | |
frame rate denominator (0 = unspecified or variable frame rate) More... | |
} | frame_rate |
frame rate = numerator / denominator (for example: 30000/1001) More... | |
unsigned char | progressive_sequence |
0=interlaced, 1=progressive More... | |
unsigned char | bit_depth_luma_minus8 |
high bit depth Luma More... | |
unsigned char | bit_depth_chroma_minus8 |
high bit depth Chroma More... | |
unsigned char | reserved1 |
Reserved for future use. More... | |
unsigned int | coded_width |
coded frame width More... | |
unsigned int | coded_height |
coded frame height More... | |
struct { | |
int left | |
left position of display rect More... | |
int top | |
top position of display rect More... | |
int right | |
right position of display rect More... | |
int bottom | |
bottom position of display rect More... | |
} | display_area |
area of the frame that should be displayed typical example: coded_width = 1920, coded_height = 1088 display_area = { 0,0,1920,1080 } More... | |
cudaVideoChromaFormat | chroma_format |
Chroma format. More... | |
unsigned int | bitrate |
video bitrate (bps, 0=unknown) More... | |
struct { | |
int x | |
int y | |
} | display_aspect_ratio |
Display Aspect Ratio = x:y (4:3, 16:9, etc) More... | |
struct { | |
unsigned char video_format: 3 | |
unsigned char video_full_range_flag: 1 | |
unsigned char reserved_zero_bits: 4 | |
unsigned char color_primaries | |
unsigned char transfer_characteristics | |
unsigned char matrix_coefficients | |
} | video_signal_description |
Video Signal Description. More... | |
unsigned int | seqhdr_data_length |
Additional bytes following (CUVIDEOFORMATEX) More... | |
cudaVideoCodec CUVIDEOFORMAT::codec |
Compression format.
Definition at line 91 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned int CUVIDEOFORMAT::numerator |
frame rate numerator (0 = unspecified or variable frame rate)
Definition at line 96 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned int CUVIDEOFORMAT::denominator |
frame rate denominator (0 = unspecified or variable frame rate)
Definition at line 97 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
struct { ... } CUVIDEOFORMAT::frame_rate |
frame rate = numerator / denominator (for example: 30000/1001)
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::progressive_sequence |
0=interlaced, 1=progressive
Definition at line 99 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::bit_depth_luma_minus8 |
high bit depth Luma
Definition at line 100 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::bit_depth_chroma_minus8 |
unsigned char CUVIDEOFORMAT::reserved1 |
unsigned int CUVIDEOFORMAT::coded_width |
coded frame width
Definition at line 103 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned int CUVIDEOFORMAT::coded_height |
coded frame height
Definition at line 104 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
int CUVIDEOFORMAT::right |
right position of display rect
Definition at line 114 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
int CUVIDEOFORMAT::bottom |
bottom position of display rect
Definition at line 115 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
struct { ... } CUVIDEOFORMAT::display_area |
area of the frame that should be displayed typical example: coded_width = 1920, coded_height = 1088 display_area = { 0,0,1920,1080 }
Referenced by cuvid_handle_video_sequence().
cudaVideoChromaFormat CUVIDEOFORMAT::chroma_format |
Chroma format.
Definition at line 117 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned int CUVIDEOFORMAT::bitrate |
video bitrate (bps, 0=unknown)
Definition at line 118 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
int CUVIDEOFORMAT::x |
Definition at line 123 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
int CUVIDEOFORMAT::y |
Definition at line 124 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
struct { ... } CUVIDEOFORMAT::display_aspect_ratio |
Display Aspect Ratio = x:y (4:3, 16:9, etc)
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::video_full_range_flag |
Definition at line 131 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::color_primaries |
Definition at line 133 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::transfer_characteristics |
Definition at line 134 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
unsigned char CUVIDEOFORMAT::matrix_coefficients |
Definition at line 135 of file nvcuvid.h.
Referenced by cuvid_handle_video_sequence().
struct { ... } CUVIDEOFORMAT::video_signal_description |
Video Signal Description.
Referenced by cuvid_handle_video_sequence().
unsigned int CUVIDEOFORMAT::seqhdr_data_length |
Additional bytes following (CUVIDEOFORMATEX)
Definition at line 137 of file nvcuvid.h.
Referenced by cuvid_decode_init().