FFmpeg  4.0
Data Fields
CuvidContext Struct Reference

Data Fields

AVClassavclass
 
CUvideodecoder cudecoder
 
CUvideoparser cuparser
 
char * cu_gpu
 
int nb_surfaces
 
int drop_second_field
 
char * crop_expr
 
char * resize_expr
 
struct {
   int   left
 
   int   top
 
   int   right
 
   int   bottom
 
crop
 
struct {
   int   width
 
   int   height
 
resize
 
AVBufferRefhwdevice
 
AVBufferRefhwframe
 
AVBSFContextbsf
 
AVFifoBufferframe_queue
 
int deint_mode
 
int deint_mode_current
 
int64_t prev_pts
 
int internal_error
 
int decoder_flushing
 
intkey_frame
 
cudaVideoCodec codec_type
 
cudaVideoChromaFormat chroma_format
 
CUVIDDECODECAPS caps8
 
CUVIDDECODECAPS caps10
 
CUVIDDECODECAPS caps12
 
CUVIDPARSERPARAMS cuparseinfo
 
CUVIDEOFORMATEX cuparse_ext
 
CudaFunctions * cudl
 
CuvidFunctions * cvdl
 

Detailed Description

Definition at line 38 of file cuviddec.c.

Field Documentation

◆ avclass

AVClass* CuvidContext::avclass

Definition at line 40 of file cuviddec.c.

◆ cudecoder

CUvideodecoder CuvidContext::cudecoder

Definition at line 42 of file cuviddec.c.

Referenced by cuvid_decode_end(), cuvid_handle_picture_decode(), and cuvid_output_frame().

◆ cuparser

CUvideoparser CuvidContext::cuparser

Definition at line 43 of file cuviddec.c.

Referenced by cuvid_decode_end(), and cuvid_decode_init().

◆ cu_gpu

char* CuvidContext::cu_gpu

Definition at line 45 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ nb_surfaces

int CuvidContext::nb_surfaces

Definition at line 46 of file cuviddec.c.

Referenced by cuvid_decode_init(), and cuvid_is_buffer_full().

◆ drop_second_field

int CuvidContext::drop_second_field

Definition at line 47 of file cuviddec.c.

Referenced by cuvid_handle_picture_display().

◆ crop_expr

char* CuvidContext::crop_expr

Definition at line 48 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ resize_expr

char* CuvidContext::resize_expr

Definition at line 49 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ left

int CuvidContext::left

Definition at line 52 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ top

int CuvidContext::top

Definition at line 53 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ right

int CuvidContext::right

Definition at line 54 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ bottom

int CuvidContext::bottom

Definition at line 55 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ crop

struct { ... } CuvidContext::crop

Referenced by cuvid_decode_init().

◆ width

int CuvidContext::width

Definition at line 59 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ height

int CuvidContext::height

Definition at line 60 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ resize

struct { ... } CuvidContext::resize

Referenced by cuvid_decode_init().

◆ hwdevice

AVBufferRef* CuvidContext::hwdevice

◆ hwframe

AVBufferRef* CuvidContext::hwframe

◆ bsf

AVBSFContext* CuvidContext::bsf

Definition at line 66 of file cuviddec.c.

Referenced by cuvid_decode_end(), and cuvid_decode_init().

◆ frame_queue

AVFifoBuffer* CuvidContext::frame_queue

◆ deint_mode

int CuvidContext::deint_mode

Definition at line 70 of file cuviddec.c.

◆ deint_mode_current

int CuvidContext::deint_mode_current

Definition at line 71 of file cuviddec.c.

Referenced by cuvid_decode_frame(), and cuvid_handle_picture_display().

◆ prev_pts

int64_t CuvidContext::prev_pts

Definition at line 72 of file cuviddec.c.

Referenced by cuvid_decode_init(), and cuvid_output_frame().

◆ internal_error

int CuvidContext::internal_error

Definition at line 74 of file cuviddec.c.

Referenced by cuvid_handle_picture_decode(), and cuvid_handle_picture_display().

◆ decoder_flushing

int CuvidContext::decoder_flushing

Definition at line 75 of file cuviddec.c.

Referenced by cuvid_decode_frame(), and cuvid_output_frame().

◆ key_frame

int* CuvidContext::key_frame

◆ codec_type

cudaVideoCodec CuvidContext::codec_type

Definition at line 79 of file cuviddec.c.

◆ chroma_format

cudaVideoChromaFormat CuvidContext::chroma_format

Definition at line 80 of file cuviddec.c.

◆ caps8

CUVIDDECODECAPS CuvidContext::caps8

Definition at line 82 of file cuviddec.c.

Referenced by cuvid_test_capabilities().

◆ caps10

CUVIDDECODECAPS CuvidContext::caps10

Definition at line 82 of file cuviddec.c.

Referenced by cuvid_test_capabilities().

◆ caps12

CUVIDDECODECAPS CuvidContext::caps12

Definition at line 82 of file cuviddec.c.

Referenced by cuvid_test_capabilities().

◆ cuparseinfo

CUVIDPARSERPARAMS CuvidContext::cuparseinfo

Definition at line 84 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ cuparse_ext

CUVIDEOFORMATEX CuvidContext::cuparse_ext

Definition at line 85 of file cuviddec.c.

Referenced by cuvid_decode_init().

◆ cudl

CudaFunctions* CuvidContext::cudl

Definition at line 87 of file cuviddec.c.

Referenced by check_cu(), cuvid_decode_end(), cuvid_decode_init(), and cuvid_output_frame().

◆ cvdl

CuvidFunctions* CuvidContext::cvdl

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