![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|

Go to the source code of this file.
Macros | |
| #define | LOG_LEVEL_DEBUG 7 |
| #define | MEASURE_KERNEL_DURATION_START(stream) |
| #define | MEASURE_KERNEL_DURATION_STOP(stream) |
Functions | |
| template<typename store_t > | |
| static __global__ void | kernel_r12l_to_rg48 (uint8_t *in, uint8_t *out, unsigned size_x) |
| template<typename load_t > | |
| static __global__ void | kernel_rg48_to_r12l (uint8_t *in, uint8_t *out, unsigned size_x) |
| int | postprocess_rg48_to_r12l (void *, void *, size_t, int size_x, int size_y, struct cmpto_j2k_dec_comp_format *, int, void *input_samples, size_t, void *, size_t, void *output_buffer, size_t, void *vstream) |
| int | preprocess_r12l_to_rg48 (void *preprocessor, void *img_custom_data, size_t img_custom_data_size, int size_x, int size_y, struct cmpto_j2k_enc_comp_format *comp_formats, int comp_count, void *input_samples, size_t input_samples_size, void *output_samples, size_t output_samples_size, void *vstream) |
| template<typename store_t > | |
| static __device__ void | r12l_to_rg48_compute_blk (const uint8_t *in, uint8_t *out) |
| adapted variant of vc_copylineR12LtoRG48 | |
| template<typename load_t > | |
| static __device__ void | rt48_to_r12l_compute_blk (const uint8_t *in, uint8_t *out) |
| template<typename load_t > | |
| static __device__ void | rt48_to_r12l_compute_last_blk (uint8_t *src, uint8_t *dst, unsigned width) |
Variables | |
| volatile int | log_level |
This file hosts various CUDA kernels. Currently there are only kernels for cmpto_j2k compression and decompression.
Definition in file kernels.cu.
| #define LOG_LEVEL_DEBUG 7 |
Definition at line 48 of file kernels.cu.
Referenced by _dprintf(), audio_buffer_read(), audio_update_recv_buf(), blacklist_current_out_codec(), SampleGrabberCallback::BufferCB(), vidcap_state_aja::CaptureFrames(), configure_with(), debug_dump(), decompress_thread(), display_decklink_put_audio_frame(), display_sdl_run(), image_pattern_bars::fill(), image_pattern_ebu_smpte_bars< f, columns >::fill(), image_pattern_smpte_bars::fill(), gl_process_frames(), glsl_compile_link(), init_rtsp(), juice_log_handler(), libavcodec_decompress(), main(), on_process(), parallel_conv(), parse_log_cfg(), print_packet_info(), print_rtsp_header(), probe_internal(), probe_internal_cineform(), ultragrid::aja::display::process_frames(), process_video_pkt(), rg48_to_r12l(), rtp_init_if(), rtp_init_with_udp_socket(), rtsp_get_parameters(), ScreenCastPortal_impl::session_created(), set_display_mode_properties(), setup_nat_pmp(), signal_handler(), ScreenCastPortal_impl::started(), tfrc_done(), AudioDriftFixer::update(), vidcap_dshow_grab(), vidcap_file_worker(), vidcap_pw_init(), vidcap_screen_pw_done(), and videotoolbox_init().
| #define MEASURE_KERNEL_DURATION_START | ( | stream | ) |
Definition at line 50 of file kernels.cu.
Referenced by postprocess_rg48_to_r12l(), and preprocess_r12l_to_rg48().
| #define MEASURE_KERNEL_DURATION_STOP | ( | stream | ) |
Definition at line 55 of file kernels.cu.
Referenced by postprocess_rg48_to_r12l(), and preprocess_r12l_to_rg48().
|
static |
Definition at line 318 of file kernels.cu.
References r12l_to_rg48_compute_blk().
Referenced by preprocess_r12l_to_rg48().

|
static |
Definition at line 238 of file kernels.cu.
References rt48_to_r12l_compute_blk(), and rt48_to_r12l_compute_last_blk().
Referenced by postprocess_rg48_to_r12l().

| int postprocess_rg48_to_r12l | ( | void * | postprocessor, |
| void * | img_custom_data, | ||
| size_t | img_custom_data_size, | ||
| int | size_x, | ||
| int | size_y, | ||
| struct cmpto_j2k_dec_comp_format * | comp_formats, | ||
| int | comp_count, | ||
| void * | input_samples, | ||
| size_t | input_samples_size, | ||
| void * | temp_buffer, | ||
| size_t | temp_buffer_size, | ||
| void * | output_buffer, | ||
| size_t | output_buffer_size, | ||
| void * | vstream ) |
Definition at line 261 of file kernels.cu.
References cudaGetLastError, kernel_rg48_to_r12l(), MEASURE_KERNEL_DURATION_START, and MEASURE_KERNEL_DURATION_STOP.

| int preprocess_r12l_to_rg48 | ( | void * | preprocessor, |
| void * | img_custom_data, | ||
| size_t | img_custom_data_size, | ||
| int | size_x, | ||
| int | size_y, | ||
| struct cmpto_j2k_enc_comp_format * | comp_formats, | ||
| int | comp_count, | ||
| void * | input_samples, | ||
| size_t | input_samples_size, | ||
| void * | output_samples, | ||
| size_t | output_samples_size, | ||
| void * | vstream ) |
Definition at line 453 of file kernels.cu.
References cudaGetLastError, kernel_r12l_to_rg48(), MEASURE_KERNEL_DURATION_START, and MEASURE_KERNEL_DURATION_STOP.

|
static |
adapted variant of vc_copylineR12LtoRG48
Definition at line 344 of file kernels.cu.
Referenced by kernel_r12l_to_rg48().
|
static |
modified vc_copylineRG48toR12L
Definition at line 80 of file kernels.cu.
Referenced by kernel_rg48_to_r12l(), and rt48_to_r12l_compute_last_blk().
|
static |
Definition at line 224 of file kernels.cu.
References rt48_to_r12l_compute_blk().
Referenced by kernel_rg48_to_r12l().

|
extern |
Definition at line 65 of file debug.cpp.
Referenced by audio_play_alsa_write_frame(), av_log_ug_callback(), vidcap_state_aja::CaptureFrames(), check_symbol_size(), configure_with(), debug_print_metadata_id(), display_caca_done(), display_caca_init(), display_decklink_put_audio_frame(), glsl_compile_link(), gpujpeg_probe_internal_codec(), keyboard_control::impl::info(), init_rtsp(), main(), module_done(), parallel_conv(), parse_opts_set_logging(), portaudio_print_help(), timed_message< log_level >::print(), print_rtsp_header(), keyboard_control::impl::read_command(), rg48_to_r12l(), keyboard_control::impl::run(), set_gamma(), signal_handler(), signal_handler(), spout_sender_register(), tfrc_done(), try_open_v4l2_device(), vidcap_file_init(), vidcap_file_worker(), vidcap_spout_init(), and video_decoder_order_output_codecs().