UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
grab_worker_state Struct Reference
Collaboration diagram for grab_worker_state:
Collaboration graph

Public Attributes

void(* conv_func )(unsigned char *dst, size_t dstPitch, unsigned char *src, size_t srcPitch, size_t width, size_t height, struct CUstream_st *stream)
 
unsigned grabbed_count = 0
 
std::condition_variable grabbed_cv
 
double grabbed_fps = -1
 
std::mutex grabbed_mut
 
unsigned height = 0
 
codec_t in_codec = VIDEO_CODEC_NONE
 
vidcap_gpustitch_state * s
 
std::thread thread
 
bool tiled = false
 
unsigned char * tmp_in_frame
 
cudaStream_t tmp_in_frame_stream
 
unsigned char * tmp_rgba_frame
 
unsigned tmp_rgba_frame_pitch
 
unsigned width = 0
 

Detailed Description

Definition at line 132 of file gpustitch.cpp.

Member Data Documentation

◆ conv_func

void(* grab_worker_state::conv_func) (unsigned char *dst, size_t dstPitch, unsigned char *src, size_t srcPitch, size_t width, size_t height, struct CUstream_st *stream)

Definition at line 148 of file gpustitch.cpp.

Referenced by check_in_format(), and upload_to_cuda_buf().

◆ grabbed_count

unsigned grab_worker_state::grabbed_count = 0

Definition at line 135 of file gpustitch.cpp.

Referenced by grab_worker().

◆ grabbed_cv

std::condition_variable grab_worker_state::grabbed_cv

Definition at line 137 of file gpustitch.cpp.

Referenced by grab_worker().

◆ grabbed_fps

double grab_worker_state::grabbed_fps = -1

Definition at line 136 of file gpustitch.cpp.

Referenced by grab_worker().

◆ grabbed_mut

std::mutex grab_worker_state::grabbed_mut

Definition at line 134 of file gpustitch.cpp.

Referenced by grab_worker().

◆ height

unsigned grab_worker_state::height = 0

Definition at line 144 of file gpustitch.cpp.

Referenced by check_in_format(), grab_worker(), upload_frame(), and upload_tiles().

◆ in_codec

codec_t grab_worker_state::in_codec = VIDEO_CODEC_NONE

Definition at line 155 of file gpustitch.cpp.

Referenced by check_in_format().

◆ s

vidcap_gpustitch_state* grab_worker_state::s

Definition at line 139 of file gpustitch.cpp.

Referenced by grab_worker(), upload_frame(), and upload_tiles().

◆ thread

std::thread grab_worker_state::thread

Definition at line 133 of file gpustitch.cpp.

◆ tiled

bool grab_worker_state::tiled = false

Definition at line 141 of file gpustitch.cpp.

Referenced by grab_worker().

◆ tmp_in_frame

unsigned char* grab_worker_state::tmp_in_frame

Definition at line 145 of file gpustitch.cpp.

Referenced by check_in_format(), and upload_to_cuda_buf().

◆ tmp_in_frame_stream

cudaStream_t grab_worker_state::tmp_in_frame_stream

Definition at line 157 of file gpustitch.cpp.

Referenced by grab_worker().

◆ tmp_rgba_frame

unsigned char* grab_worker_state::tmp_rgba_frame

Definition at line 146 of file gpustitch.cpp.

Referenced by grab_worker(), upload_frame(), and upload_tiles().

◆ tmp_rgba_frame_pitch

unsigned grab_worker_state::tmp_rgba_frame_pitch

Definition at line 147 of file gpustitch.cpp.

Referenced by grab_worker(), upload_frame(), and upload_tiles().

◆ width

unsigned grab_worker_state::width = 0

Definition at line 143 of file gpustitch.cpp.

Referenced by check_in_format(), grab_worker(), upload_frame(), and upload_tiles().


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