|
FFmpeg
|
Video format Used in cuvidGetSourceVideoFormat API. More...
#include <dynlink_nvcuvid.h>
Data Fields | |
| cudaVideoCodec | codec |
| OUT: Compression format. More... | |
| struct { | |
| unsigned int numerator | |
| < OUT: frame rate numerator (0 = unspecified or variable frame rate) More... | |
| unsigned int denominator | |
| } | frame_rate |
| OUT: frame rate = numerator / denominator (for example: 30000/1001) More... | |
| unsigned char | progressive_sequence |
| OUT: 0=interlaced, 1=progressive. More... | |
| unsigned char | bit_depth_luma_minus8 |
| OUT: high bit depth luma. More... | |
| unsigned char | bit_depth_chroma_minus8 |
| OUT: high bit depth chroma. More... | |
| unsigned char | reserved1 |
| Reserved for future use. More... | |
| unsigned int | coded_width |
| OUT: coded frame width in pixels. More... | |
| unsigned int | coded_height |
| OUT: coded frame height in pixels. More... | |
| struct { | |
| int left | |
| OUT: left position of display rect. More... | |
| int top | |
| OUT: top position of display rect. More... | |
| int right | |
| OUT: right position of display rect. More... | |
| int bottom | |
| OUT: 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 |
| OUT: Chroma format. More... | |
| unsigned int | bitrate |
| OUT: video bitrate (bps, 0=unknown) More... | |
| struct { | |
| int x | |
| int y | |
| } | display_aspect_ratio |
| OUT: Display Aspect Ratio = x:y (4:3, 16:9, etc) More... | |
| struct { | |
| unsigned char video_format: 3 | |
| OUT: 0-Component, 1-PAL, 2-NTSC, 3-SECAM, 4-MAC, 5-Unspecified. More... | |
| unsigned char video_full_range_flag: 1 | |
| OUT: indicates the black level and luma and chroma range. More... | |
| unsigned char reserved_zero_bits: 4 | |
| Reserved bits. More... | |
| unsigned char color_primaries | |
| OUT: chromaticity coordinates of source primaries. More... | |
| unsigned char transfer_characteristics | |
| OUT: opto-electronic transfer characteristic of the source picture. More... | |
| unsigned char matrix_coefficients | |
| OUT: used in deriving luma and chroma signals from RGB primaries. More... | |
| } | video_signal_description |
| Video Signal Description Refer section E.2.1 (VUI parameters semantics) of H264 spec file. More... | |
| unsigned int | seqhdr_data_length |
| OUT: Additional bytes following (CUVIDEOFORMATEX) More... | |
Video format Used in cuvidGetSourceVideoFormat API.
Definition at line 91 of file dynlink_nvcuvid.h.
| cudaVideoCodec CUVIDEOFORMAT::codec |
OUT: Compression format.
Definition at line 93 of file dynlink_nvcuvid.h.
| unsigned int CUVIDEOFORMAT::numerator |
< OUT: frame rate numerator (0 = unspecified or variable frame rate)
OUT: frame rate denominator (0 = unspecified or variable frame rate)
Definition at line 99 of file dynlink_nvcuvid.h.
| unsigned int CUVIDEOFORMAT::denominator |
Definition at line 101 of file dynlink_nvcuvid.h.
| struct { ... } CUVIDEOFORMAT::frame_rate |
OUT: frame rate = numerator / denominator (for example: 30000/1001)
| unsigned char CUVIDEOFORMAT::progressive_sequence |
OUT: 0=interlaced, 1=progressive.
Definition at line 103 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::bit_depth_luma_minus8 |
OUT: high bit depth luma.
E.g, 2 for 10-bitdepth, 4 for 12-bitdepth
Definition at line 104 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::bit_depth_chroma_minus8 |
OUT: high bit depth chroma.
E.g, 2 for 10-bitdepth, 4 for 12-bitdepth
Definition at line 105 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::reserved1 |
Reserved for future use.
Definition at line 106 of file dynlink_nvcuvid.h.
| unsigned int CUVIDEOFORMAT::coded_width |
OUT: coded frame width in pixels.
Definition at line 107 of file dynlink_nvcuvid.h.
| unsigned int CUVIDEOFORMAT::coded_height |
OUT: coded frame height in pixels.
Definition at line 108 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::left |
OUT: left position of display rect.
Definition at line 116 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::top |
OUT: top position of display rect.
Definition at line 117 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::right |
OUT: right position of display rect.
Definition at line 118 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::bottom |
OUT: bottom position of display rect.
Definition at line 119 of file dynlink_nvcuvid.h.
| 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 }
| cudaVideoChromaFormat CUVIDEOFORMAT::chroma_format |
OUT: Chroma format.
Definition at line 121 of file dynlink_nvcuvid.h.
| unsigned int CUVIDEOFORMAT::bitrate |
OUT: video bitrate (bps, 0=unknown)
Definition at line 122 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::x |
Definition at line 127 of file dynlink_nvcuvid.h.
| int CUVIDEOFORMAT::y |
Definition at line 128 of file dynlink_nvcuvid.h.
| struct { ... } CUVIDEOFORMAT::display_aspect_ratio |
OUT: Display Aspect Ratio = x:y (4:3, 16:9, etc)
| unsigned char CUVIDEOFORMAT::video_format |
OUT: 0-Component, 1-PAL, 2-NTSC, 3-SECAM, 4-MAC, 5-Unspecified.
Definition at line 135 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::video_full_range_flag |
OUT: indicates the black level and luma and chroma range.
Definition at line 136 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::reserved_zero_bits |
Reserved bits.
Definition at line 137 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::color_primaries |
OUT: chromaticity coordinates of source primaries.
Definition at line 138 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::transfer_characteristics |
OUT: opto-electronic transfer characteristic of the source picture.
Definition at line 139 of file dynlink_nvcuvid.h.
| unsigned char CUVIDEOFORMAT::matrix_coefficients |
OUT: used in deriving luma and chroma signals from RGB primaries.
Definition at line 140 of file dynlink_nvcuvid.h.
| struct { ... } CUVIDEOFORMAT::video_signal_description |
Video Signal Description Refer section E.2.1 (VUI parameters semantics) of H264 spec file.
| unsigned int CUVIDEOFORMAT::seqhdr_data_length |
OUT: Additional bytes following (CUVIDEOFORMATEX)
Definition at line 142 of file dynlink_nvcuvid.h.
Referenced by cuvid_decode_init().
1.8.6