OpenCV  4.7.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::cudacodec::FormatInfo Struct Reference

Struct providing information about video file format. : More...

#include <opencv2/cudacodec.hpp>

Public Member Functions

 FormatInfo ()
 

Public Attributes

ChromaFormat chromaFormat
 
Codec codec
 
DeinterlaceMode deinterlaceMode
 
Rect displayArea
 ROI inside the decoded frame returned by nextFrame(frame), containing the useable video frame. More...
 
double fps
 
int height
 Height of the decoded frame returned by nextFrame(frame). More...
 
int nBitDepthMinus8
 
cv::Rect srcRoi
 Region of interest decoded from video source. More...
 
cv::Rect targetRoi
 Region of interest in the output frame containing the decoded frame. More...
 
cv::Size targetSz
 Post-processed size of the output frame. More...
 
int ulHeight
 Coded sequence height in pixels. More...
 
int ulMaxHeight
 
int ulMaxWidth
 
int ulNumDecodeSurfaces
 Maximum number of internal decode surfaces. More...
 
int ulWidth
 Coded sequence width in pixels. More...
 
bool valid
 
int width
 Width of the decoded frame returned by nextFrame(frame). More...
 

Detailed Description

Struct providing information about video file format. :

Constructor & Destructor Documentation

◆ FormatInfo()

cv::cudacodec::FormatInfo::FormatInfo ( )
inline

Member Data Documentation

◆ chromaFormat

ChromaFormat cv::cudacodec::FormatInfo::chromaFormat

◆ codec

Codec cv::cudacodec::FormatInfo::codec

◆ deinterlaceMode

DeinterlaceMode cv::cudacodec::FormatInfo::deinterlaceMode

◆ displayArea

Rect cv::cudacodec::FormatInfo::displayArea

ROI inside the decoded frame returned by nextFrame(frame), containing the useable video frame.

◆ fps

double cv::cudacodec::FormatInfo::fps

◆ height

int cv::cudacodec::FormatInfo::height

Height of the decoded frame returned by nextFrame(frame).

◆ nBitDepthMinus8

int cv::cudacodec::FormatInfo::nBitDepthMinus8

◆ srcRoi

cv::Rect cv::cudacodec::FormatInfo::srcRoi

Region of interest decoded from video source.

◆ targetRoi

cv::Rect cv::cudacodec::FormatInfo::targetRoi

Region of interest in the output frame containing the decoded frame.

◆ targetSz

cv::Size cv::cudacodec::FormatInfo::targetSz

Post-processed size of the output frame.

◆ ulHeight

int cv::cudacodec::FormatInfo::ulHeight

Coded sequence height in pixels.

◆ ulMaxHeight

int cv::cudacodec::FormatInfo::ulMaxHeight

◆ ulMaxWidth

int cv::cudacodec::FormatInfo::ulMaxWidth

◆ ulNumDecodeSurfaces

int cv::cudacodec::FormatInfo::ulNumDecodeSurfaces

Maximum number of internal decode surfaces.

◆ ulWidth

int cv::cudacodec::FormatInfo::ulWidth

Coded sequence width in pixels.

◆ valid

bool cv::cudacodec::FormatInfo::valid

◆ width

int cv::cudacodec::FormatInfo::width

Width of the decoded frame returned by nextFrame(frame).


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