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

Public Attributes

std::vector< gpustitch::Cam_params > cam_properties
 
std::vector< grab_worker_state > capture_workers
 
struct video_frame ** captured_frames
 
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 char * conv_tmp_frame = nullptr
 
unsigned devices_cnt
 
bool done = false
 
double fps
 
struct video_frame * frame
 
int frames
 
codec_t out_fmt
 
bool output_cuda_buf = false
 
std::string spec_path
 
gpustitch::Stitcher_params stitch_params
 
unsigned stitched_count = 0
 
std::condition_variable stitched_cv
 
std::mutex stitched_mut
 
gpustitch::Stitcher stitcher
 
struct timeval t t0
 
bool tiled_capture = false
 

Detailed Description

Definition at line 97 of file gpustitch.cpp.

Member Data Documentation

◆ cam_properties

std::vector<gpustitch::Cam_params> vidcap_gpustitch_state::cam_properties

Definition at line 107 of file gpustitch.cpp.

Referenced by grab_worker(), and init_stitcher().

◆ capture_workers

std::vector<grab_worker_state> vidcap_gpustitch_state::capture_workers

Definition at line 129 of file gpustitch.cpp.

Referenced by stop_grab_workers(), vidcap_gpustitch_init(), and wait_for_frames().

◆ captured_frames

struct video_frame** vidcap_gpustitch_state::captured_frames

Definition at line 100 of file gpustitch.cpp.

Referenced by vidcap_gpustitch_done(), and vidcap_gpustitch_init().

◆ conv_func

void(* vidcap_gpustitch_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 116 of file gpustitch.cpp.

Referenced by allocate_result_frame(), download_stitched(), and init_stitcher().

◆ conv_tmp_frame

unsigned char* vidcap_gpustitch_state::conv_tmp_frame = nullptr

Definition at line 115 of file gpustitch.cpp.

Referenced by allocate_result_frame(), download_stitched(), and vidcap_gpustitch_done().

◆ devices_cnt

unsigned vidcap_gpustitch_state::devices_cnt

Definition at line 98 of file gpustitch.cpp.

Referenced by init_stitcher(), and vidcap_gpustitch_init().

◆ done

bool vidcap_gpustitch_state::done = false

Definition at line 126 of file gpustitch.cpp.

Referenced by grab_worker(), and stop_grab_workers().

◆ fps

double vidcap_gpustitch_state::fps

◆ frame

struct video_frame* vidcap_gpustitch_state::frame

◆ frames

int vidcap_gpustitch_state::frames

Definition at line 102 of file gpustitch.cpp.

Referenced by report_stats(), vidcap_gpustitch_grab(), and vidcap_gpustitch_init().

◆ out_fmt

codec_t vidcap_gpustitch_state::out_fmt

Definition at line 111 of file gpustitch.cpp.

Referenced by allocate_result_frame(), download_stitched(), init_stitcher(), and parse_fmt().

◆ output_cuda_buf

bool vidcap_gpustitch_state::output_cuda_buf = false

Definition at line 113 of file gpustitch.cpp.

Referenced by allocate_result_frame(), download_stitched(), and parse_fmt().

◆ spec_path

std::string vidcap_gpustitch_state::spec_path

Definition at line 109 of file gpustitch.cpp.

Referenced by init_stitcher(), and parse_fmt().

◆ stitch_params

gpustitch::Stitcher_params vidcap_gpustitch_state::stitch_params

Definition at line 106 of file gpustitch.cpp.

Referenced by init_stitcher(), and parse_fmt().

◆ stitched_count

unsigned vidcap_gpustitch_state::stitched_count = 0

Definition at line 125 of file gpustitch.cpp.

Referenced by grab_worker(), stitch(), and wait_for_frames().

◆ stitched_cv

std::condition_variable vidcap_gpustitch_state::stitched_cv

Definition at line 127 of file gpustitch.cpp.

Referenced by grab_worker(), stitch(), and stop_grab_workers().

◆ stitched_mut

std::mutex vidcap_gpustitch_state::stitched_mut

Definition at line 124 of file gpustitch.cpp.

Referenced by grab_worker(), stitch(), and stop_grab_workers().

◆ stitcher

gpustitch::Stitcher vidcap_gpustitch_state::stitcher

Definition at line 105 of file gpustitch.cpp.

Referenced by download_stitched(), init_stitcher(), stitch(), upload_frame(), and upload_tiles().

◆ t0

struct timeval t vidcap_gpustitch_state::t0

Definition at line 103 of file gpustitch.cpp.

Referenced by report_stats(), and vidcap_gpustitch_init().

◆ tiled_capture

bool vidcap_gpustitch_state::tiled_capture = false

Definition at line 112 of file gpustitch.cpp.

Referenced by init_stitcher(), parse_fmt(), and vidcap_gpustitch_init().


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