|
void | video::capture (safe::mail_t mail, config_t config, void *channel_data) |
|
void | video::capture_async (safe::mail_t mail, config_t &config, void *channel_data) |
|
void | video::captureThread (std::shared_ptr< safe::queue_t< capture_ctx_t > > capture_ctx_queue, sync_util::sync_t< std::weak_ptr< platf::display_t > > &display_wp, safe::signal_t &reinit_event, const encoder_t &encoder) |
|
void | video::captureThreadSync () |
|
util::Either< avcodec_buffer_t, int > | video::cuda_init_avcodec_hardware_input_buffer (platf::avcodec_encode_device_t *) |
|
void | do_nothing (void *) |
|
util::Either< avcodec_buffer_t, int > | video::dxgi_init_avcodec_hardware_input_buffer (platf::avcodec_encode_device_t *) |
|
int | video::encode (int64_t frame_nr, encode_session_t &session, safe::mail_raw_t::queue_t< packet_t > &packets, void *channel_data, std::optional< std::chrono::steady_clock::time_point > frame_timestamp) |
|
int | video::encode_avcodec (int64_t frame_nr, avcodec_encode_session_t &session, safe::mail_raw_t::queue_t< packet_t > &packets, void *channel_data, std::optional< std::chrono::steady_clock::time_point > frame_timestamp) |
|
int | video::encode_nvenc (int64_t frame_nr, nvenc_encode_session_t &session, safe::mail_raw_t::queue_t< packet_t > &packets, void *channel_data, std::optional< std::chrono::steady_clock::time_point > frame_timestamp) |
|
void | video::encode_run (int &frame_nr, safe::mail_t mail, img_event_t images, config_t config, std::shared_ptr< platf::display_t > disp, std::unique_ptr< platf::encode_device_t > encode_device, safe::signal_t &reinit_event, const encoder_t &encoder, void *channel_data) |
|
encode_e | video::encode_run_sync (std::vector< std::unique_ptr< sync_session_ctx_t > > &synced_session_ctxs, encode_session_ctx_queue_t &encode_session_ctx_queue, std::vector< std::string > &display_names, int &display_p) |
|
void | video::end_capture_async (capture_thread_async_ctx_t &ctx) |
|
void | video::end_capture_sync (capture_thread_sync_ctx_t &ctx) |
|
void | video::free_buffer (AVBufferRef *ref) |
|
void | video::free_ctx (AVCodecContext *ctx) |
|
void | video::free_frame (AVFrame *frame) |
|
std::unique_ptr< avcodec_encode_session_t > | video::make_avcodec_encode_session (platf::display_t *disp, const encoder_t &encoder, const config_t &config, int width, int height, std::unique_ptr< platf::avcodec_encode_device_t > encode_device) |
|
std::unique_ptr< platf::encode_device_t > | video::make_encode_device (platf::display_t &disp, const encoder_t &encoder, const config_t &config) |
|
std::unique_ptr< encode_session_t > | video::make_encode_session (platf::display_t *disp, const encoder_t &encoder, const config_t &config, int width, int height, std::unique_ptr< platf::encode_device_t > encode_device) |
|
std::unique_ptr< nvenc_encode_session_t > | video::make_nvenc_encode_session (const config_t &client_config, std::unique_ptr< platf::nvenc_encode_device_t > encode_device) |
|
input::touch_port_t | video::make_port (platf::display_t *display, const config_t &config) |
|
std::optional< sync_session_t > | video::make_synced_session (platf::display_t *disp, const encoder_t &encoder, platf::img_t &img, sync_session_ctx_t &ctx) |
|
platf::mem_type_e | video::map_base_dev_type (AVHWDeviceType type) |
|
platf::pix_fmt_e | video::map_pix_fmt (AVPixelFormat fmt) |
|
int | video::probe_encoders () |
| Probe encoders and select the preferred encoder. This is called once at startup and each time a stream is launched to ensure the best encoder is selected. Encoder availability can change at runtime due to all sorts of things from driver updates to eGPUs.
|
|
void | video::refresh_displays (platf::mem_type_e dev_type, std::vector< std::string > &display_names, int ¤t_display_index) |
| Update the list of display names before or during a stream.
|
|
void | video::reset_display (std::shared_ptr< platf::display_t > &disp, const platf::mem_type_e &type, const std::string &display_name, const config_t &config) |
|
int | video::start_capture_async (capture_thread_async_ctx_t &ctx) |
|
int | video::start_capture_sync (capture_thread_sync_ctx_t &ctx) |
|
util::Either< avcodec_buffer_t, int > | video::vaapi_init_avcodec_hardware_input_buffer (platf::avcodec_encode_device_t *) |
|
int | video::validate_config (std::shared_ptr< platf::display_t > disp, const encoder_t &encoder, const config_t &config) |
|
bool | video::validate_encoder (encoder_t &encoder, bool expect_failure) |
|
util::Either< avcodec_buffer_t, int > | video::vt_init_avcodec_hardware_input_buffer (platf::avcodec_encode_device_t *) |
|