FFmpeg  3.3.8
Data Fields
CUVIDEOFORMAT Struct Reference

#include <compat/cuda/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

◆ codec

cudaVideoCodec CUVIDEOFORMAT::codec

Compression format.

Definition at line 86 of file dynlink_nvcuvid.h.

◆ numerator

unsigned int CUVIDEOFORMAT::numerator

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

Definition at line 91 of file dynlink_nvcuvid.h.

◆ denominator

unsigned int CUVIDEOFORMAT::denominator

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

Definition at line 92 of file dynlink_nvcuvid.h.

◆ frame_rate

struct { ... } CUVIDEOFORMAT::frame_rate

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

◆ progressive_sequence

unsigned char CUVIDEOFORMAT::progressive_sequence

0=interlaced, 1=progressive

Definition at line 94 of file dynlink_nvcuvid.h.

◆ bit_depth_luma_minus8

unsigned char CUVIDEOFORMAT::bit_depth_luma_minus8

high bit depth Luma

Definition at line 95 of file dynlink_nvcuvid.h.

◆ bit_depth_chroma_minus8

unsigned char CUVIDEOFORMAT::bit_depth_chroma_minus8

high bit depth Chroma

Definition at line 96 of file dynlink_nvcuvid.h.

◆ reserved1

unsigned char CUVIDEOFORMAT::reserved1

Reserved for future use.

Definition at line 97 of file dynlink_nvcuvid.h.

◆ coded_width

unsigned int CUVIDEOFORMAT::coded_width

coded frame width

Definition at line 98 of file dynlink_nvcuvid.h.

◆ coded_height

unsigned int CUVIDEOFORMAT::coded_height

coded frame height

Definition at line 99 of file dynlink_nvcuvid.h.

◆ left

int CUVIDEOFORMAT::left

left position of display rect

Definition at line 107 of file dynlink_nvcuvid.h.

◆ top

int CUVIDEOFORMAT::top

top position of display rect

Definition at line 108 of file dynlink_nvcuvid.h.

◆ right

int CUVIDEOFORMAT::right

right position of display rect

Definition at line 109 of file dynlink_nvcuvid.h.

◆ bottom

int CUVIDEOFORMAT::bottom

bottom position of display rect

Definition at line 110 of file dynlink_nvcuvid.h.

◆ display_area

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 }

◆ chroma_format

cudaVideoChromaFormat CUVIDEOFORMAT::chroma_format

Chroma format.

Definition at line 112 of file dynlink_nvcuvid.h.

◆ bitrate

unsigned int CUVIDEOFORMAT::bitrate

video bitrate (bps, 0=unknown)

Definition at line 113 of file dynlink_nvcuvid.h.

◆ x

int CUVIDEOFORMAT::x

Definition at line 118 of file dynlink_nvcuvid.h.

◆ y

int CUVIDEOFORMAT::y

Definition at line 119 of file dynlink_nvcuvid.h.

◆ display_aspect_ratio

struct { ... } CUVIDEOFORMAT::display_aspect_ratio

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

◆ video_format

unsigned char CUVIDEOFORMAT::video_format

Definition at line 125 of file dynlink_nvcuvid.h.

◆ video_full_range_flag

unsigned char CUVIDEOFORMAT::video_full_range_flag

Definition at line 126 of file dynlink_nvcuvid.h.

◆ reserved_zero_bits

unsigned char CUVIDEOFORMAT::reserved_zero_bits

Definition at line 127 of file dynlink_nvcuvid.h.

◆ color_primaries

unsigned char CUVIDEOFORMAT::color_primaries

Definition at line 128 of file dynlink_nvcuvid.h.

◆ transfer_characteristics

unsigned char CUVIDEOFORMAT::transfer_characteristics

Definition at line 129 of file dynlink_nvcuvid.h.

◆ matrix_coefficients

unsigned char CUVIDEOFORMAT::matrix_coefficients

Definition at line 130 of file dynlink_nvcuvid.h.

◆ video_signal_description

struct { ... } CUVIDEOFORMAT::video_signal_description

Video Signal Description.

◆ seqhdr_data_length

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: