FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
CUVIDEOFORMAT Struct Reference

#include <dynlink_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...
 

Detailed Description

Video format

Definition at line 84 of file dynlink_nvcuvid.h.

Field Documentation

cudaVideoCodec CUVIDEOFORMAT::codec

Compression format.

Definition at line 86 of file dynlink_nvcuvid.h.

unsigned int CUVIDEOFORMAT::numerator

frame rate numerator (0 = unspecified or variable frame rate)

Definition at line 91 of file dynlink_nvcuvid.h.

unsigned int CUVIDEOFORMAT::denominator

frame rate denominator (0 = unspecified or variable frame rate)

Definition at line 92 of file dynlink_nvcuvid.h.

struct { ... } CUVIDEOFORMAT::frame_rate

frame rate = numerator / denominator (for example: 30000/1001)

unsigned char CUVIDEOFORMAT::progressive_sequence

0=interlaced, 1=progressive

Definition at line 94 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::bit_depth_luma_minus8

high bit depth Luma

Definition at line 95 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::bit_depth_chroma_minus8

high bit depth Chroma

Definition at line 96 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::reserved1

Reserved for future use.

Definition at line 97 of file dynlink_nvcuvid.h.

unsigned int CUVIDEOFORMAT::coded_width

coded frame width

Definition at line 98 of file dynlink_nvcuvid.h.

unsigned int CUVIDEOFORMAT::coded_height

coded frame height

Definition at line 99 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::left

left position of display rect

Definition at line 107 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::top

top position of display rect

Definition at line 108 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::right

right position of display rect

Definition at line 109 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::bottom

bottom position of display rect

Definition at line 110 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

Chroma format.

Definition at line 112 of file dynlink_nvcuvid.h.

unsigned int CUVIDEOFORMAT::bitrate

video bitrate (bps, 0=unknown)

Definition at line 113 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::x

Definition at line 118 of file dynlink_nvcuvid.h.

int CUVIDEOFORMAT::y

Definition at line 119 of file dynlink_nvcuvid.h.

struct { ... } CUVIDEOFORMAT::display_aspect_ratio

Display Aspect Ratio = x:y (4:3, 16:9, etc)

unsigned char CUVIDEOFORMAT::video_format

Definition at line 125 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::video_full_range_flag

Definition at line 126 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::reserved_zero_bits

Definition at line 127 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::color_primaries

Definition at line 128 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::transfer_characteristics

Definition at line 129 of file dynlink_nvcuvid.h.

unsigned char CUVIDEOFORMAT::matrix_coefficients

Definition at line 130 of file dynlink_nvcuvid.h.

struct { ... } CUVIDEOFORMAT::video_signal_description

Video Signal Description.

unsigned int CUVIDEOFORMAT::seqhdr_data_length

Additional bytes following (CUVIDEOFORMATEX)

Definition at line 132 of file dynlink_nvcuvid.h.

Referenced by cuvid_decode_init().


The documentation for this struct was generated from the following file: