39 #define NUM_TEXTURES 2 40 #define MICROSECOND_DEN 1000000 55 static inline bool obs_object_valid(
const void *obj,
const char *f,
66 #define obs_ptr_valid(ptr, func) obs_object_valid(ptr, func, #ptr) 67 #define obs_source_valid obs_ptr_valid 68 #define obs_output_valid obs_ptr_valid 69 #define obs_encoder_valid obs_ptr_valid 70 #define obs_service_valid obs_ptr_valid 85 void (*set_locale)(
const char *locale);
86 void (*free_locale)(void);
89 const char *(*name)(void);
90 const char *(*description)(void);
91 const char *(*author)(void);
111 static inline bool check_path(
const char *data,
const char *path,
115 dstr_cat(output, data);
170 bool modifiers_match : 1;
176 struct obs_hotkey_name_map;
264 float color_matrix[16];
288 int buffering_wait_ticks;
289 int total_buffering_ticks;
325 pthread_t hotkey_thread;
326 bool hotkey_thread_initialized;
328 bool thread_disable_press : 1;
329 bool strict_modifiers : 1;
330 bool reroute_hotkeys : 1;
334 void *router_func_data;
338 pthread_once_t name_map_init_token;
339 struct obs_hotkey_name_map *name_map;
348 char *sceneitem_show;
349 char *sceneitem_hide;
370 char *module_config_path;
371 bool name_store_owned;
382 extern struct obs_core *
obs;
408 DARRAY(
char*) rename_cache;
409 pthread_mutex_t rename_cache_mutex;
411 pthread_mutex_t *mutex;
413 struct obs_context_data **prev_next;
419 struct obs_context_data *context,
428 pthread_mutex_t *mutex,
void *first);
443 static inline void obs_ref_addref(
struct obs_weak_ref *ref)
445 os_atomic_inc_long(&ref->
refs);
448 static inline bool obs_ref_release(
struct obs_weak_ref *ref)
450 return os_atomic_dec_long(&ref->
refs) == -1;
453 static inline void obs_weak_ref_addref(
struct obs_weak_ref *ref)
458 static inline bool obs_weak_ref_release(
struct obs_weak_ref *ref)
460 return os_atomic_dec_long(&ref->
weak_refs) == -1;
463 static inline bool obs_weak_ref_get_ref(
struct obs_weak_ref *ref)
465 long owners = ref->
refs;
466 while (owners > -1) {
467 if (os_atomic_compare_swap_long(&ref->
refs, owners, owners + 1))
513 struct obs_context_data context;
568 pthread_mutex_t audio_actions_mutex;
569 pthread_mutex_t audio_buf_mutex;
570 pthread_mutex_t audio_mutex;
571 pthread_mutex_t audio_cb_mutex;
574 size_t audio_storage_size;
585 bool async_gpu_conversion;
589 float async_color_matrix[16];
590 bool async_full_range;
591 float async_color_range_min[3];
592 float async_color_range_max[3];
593 int async_plane_offset[2];
596 bool async_update_texture;
599 pthread_mutex_t async_mutex;
616 bool deinterlace_top_first;
617 bool deinterlace_rendered;
623 pthread_mutex_t filter_mutex;
626 bool rendering_filter;
632 bool push_to_mute_enabled : 1;
633 bool push_to_mute_pressed : 1;
634 bool user_push_to_mute_pressed : 1;
635 bool push_to_talk_enabled : 1;
636 bool push_to_talk_pressed : 1;
637 bool user_push_to_talk_pressed : 1;
646 pthread_mutex_t transition_tex_mutex;
648 pthread_mutex_t transition_mutex;
650 bool transitioning_video;
651 bool transitioning_audio;
652 bool transition_source_active[2];
659 bool transition_use_fixed_duration : 1;
688 static inline void obs_source_dosignal(
struct obs_source *source,
689 const char *signal_obs,
const char *signal_source)
694 calldata_init_fixed(&data, stack,
sizeof(stack));
695 calldata_set_ptr(&data,
"source", source);
704 #define MAX_TS_VAR 2000000000ULL 708 if (ts < source->last_frame_ts)
734 size_t channels,
size_t sample_rate,
size_t size);
778 struct obs_context_data context;
799 int reconnect_retry_sec;
800 int reconnect_retry_max;
801 int reconnect_retries;
802 int reconnect_retry_cur_sec;
803 pthread_t reconnect_thread;
805 volatile
bool reconnecting;
806 volatile
bool reconnect_thread_active;
815 volatile
bool active;
826 bool video_conversion_set;
827 bool audio_conversion_set;
836 pthread_mutex_t delay_mutex;
840 volatile
long delay_restart_refs;
841 volatile
bool delay_active;
842 volatile
bool delay_capturing;
845 static inline
void do_output_signal(struct
obs_output *output,
849 calldata_set_ptr(¶ms,
"output", output);
851 calldata_free(¶ms);
885 struct obs_context_data context;
970 struct obs_context_data context;
bool obs_encoder_initialize(obs_encoder_t *encoder)
Definition: obs-hotkey.h:511
volatile uint64_t timing_adjust
Definition: obs-internal.h:546
pthread_mutex_t callbacks_mutex
Definition: obs-internal.h:936
Definition: graphics.h:60
Definition: calldata.h:46
bool user_muted
Definition: obs-internal.h:557
pthread_mutex_t init_mutex
Definition: obs-internal.h:889
struct audio_resampler audio_resampler_t
Definition: audio-resampler.h:28
void obs_encoder_stop(obs_encoder_t *encoder, void(*new_packet)(void *param, struct encoder_packet *packet), void *param)
uint8_t * data
Definition: obs-encoder.h:42
void obs_encoder_start(obs_encoder_t *encoder, void(*new_packet)(void *param, struct encoder_packet *packet), void *param)
Definition: obs-internal.h:685
size_t planes
Definition: obs-internal.h:892
struct obs_encoder * encoder
Definition: obs-internal.h:875
size_t obs_hotkey_id
Definition: obs-hotkey.h:24
void(* draw)(void *param, uint32_t cx, uint32_t cy)
Definition: obs-internal.h:48
pthread_mutex_t displays_mutex
Definition: obs-internal.h:304
bool defer_update
Definition: obs-internal.h:525
obs_data_t * settings
Definition: obs-internal.h:399
volatile bool active
Definition: obs-internal.h:903
Definition: video-io.h:135
Definition: obs-internal.h:507
bool size_changed
Definition: obs-internal.h:196
bool active
Definition: obs-internal.h:977
struct obs_source_frame * filter_async_video(obs_source_t *source, struct obs_source_frame *in)
bool received_video
Definition: obs-internal.h:785
Definition: obs-internal.h:139
gs_effect_t * opaque_effect
Definition: obs-internal.h:234
Definition: obs-internal.h:221
struct obs_display * first_display
Definition: obs-internal.h:298
void obs_source_save(obs_source_t *source)
uint64_t next_audio_sys_ts_min
Definition: obs-internal.h:549
Definition: video-io.h:47
struct obs_output * output
Definition: obs-internal.h:979
bool audio_callback(void *param, uint64_t start_ts_in, uint64_t end_ts_in, uint64_t *out_ts, uint32_t mixers, struct audio_output_data *mixes)
void process_delay(void *data, struct encoder_packet *packet)
video_t * video
Definition: obs-internal.h:247
char * name
Definition: obs-internal.h:126
bool audio_failed
Definition: obs-internal.h:555
char * data
Definition: obs-internal.h:100
uint8_t * stack
Definition: calldata.h:47
gs_effect_t * bicubic_effect
Definition: obs-internal.h:237
pthread_mutex_t outputs_mutex
Definition: obs-internal.h:928
struct obs_output * output
Definition: obs-internal.h:774
void deinterlace_update_async_video(obs_source_t *source)
Definition: obs-internal.h:777
gs_samplerstate_t * point_sampler
Definition: obs-internal.h:241
bool enabled
Definition: obs-internal.h:197
unsigned uint32_t
Definition: vc_stdint.h:31
#define MAX_AUDIO_CHANNELS
Definition: audio-io.h:29
Definition: obs-internal.h:772
uint32_t scaled_height
Definition: obs-internal.h:900
void(* obs_source_enum_proc_t)(obs_source_t *parent, obs_source_t *child, void *param)
Definition: obs-source.h:125
Definition: circlebuf.h:32
gs_swapchain_t * swap
Definition: obs-internal.h:200
void obs_transition_tick(obs_source_t *transition)
obs_hotkey_t * hotkey
Definition: obs-internal.h:173
Definition: obs-internal.h:512
#define MAX_CHANNELS
Definition: obs-defs.h:21
obs_hotkey_id pair_partner_id
Definition: obs-internal.h:136
Definition: obs-internal.h:352
Definition: obs-internal.h:873
struct obs_output * first_output
Definition: obs-internal.h:299
volatile bool end_data_capture_thread_active
Definition: obs-internal.h:788
bool received_audio
Definition: obs-internal.h:786
uint32_t cy
Definition: obs-internal.h:198
char * bin_path
Definition: obs-internal.h:78
bool(* obs_hotkey_active_func)(void *data, obs_hotkey_pair_id id, obs_hotkey_t *hotkey, bool pressed)
Definition: obs-hotkey.h:154
video_format
Definition: video-io.h:33
typedef DARRAY(profiler_time_entry_t) profiler_time_entries_t
void obs_context_data_insert(struct obs_context_data *context, pthread_mutex_t *mutex, void *first)
delay_msg
Definition: obs-internal.h:758
int64_t cur_pts
Definition: obs-internal.h:912
Definition: obs-internal.h:761
struct gs_stage_surface gs_stagesurf_t
Definition: graphics.h:259
struct obs_source * next_audio_source
Definition: obs-internal.h:559
obs_obj_type
Definition: obs.h:573
void obs_output_remove_encoder(struct obs_output *output, struct obs_encoder *encoder)
struct obs_source * first_source
Definition: obs-internal.h:296
bool initialized
Definition: obs-internal.h:904
gs_effect_t * deinterlace_blend_2x_effect
Definition: obs-internal.h:274
bool obs_transition_init(obs_source_t *transition)
gs_effect_t * default_rect_effect
Definition: obs-internal.h:233
char * description
Definition: obs-internal.h:127
gs_effect_t * bilinear_lowres_effect
Definition: obs-internal.h:239
uint64_t ts
Definition: obs-internal.h:766
Definition: obs-internal.h:760
void set_deinterlace_texture_size(obs_source_t *source)
int32_t timebase_den
Definition: obs-encoder.h:49
void obs_output_cleanup_delay(obs_output_t *output)
gs_effect_t * solid_effect
Definition: obs-internal.h:235
Definition: audio-io.h:74
uint64_t last_frame_ts
Definition: obs-internal.h:550
Definition: graphics.h:443
void * param
Definition: obs-internal.h:509
EXPORT void blog(int log_level, const char *format,...)
os_event_t * stopping_event
Definition: obs-internal.h:794
bool obs_source_init_context(struct obs_source *source, obs_data_t *settings, const char *name, obs_data_t *hotkey_data, bool private)
unsigned __int64 uint64_t
Definition: vc_stdint.h:33
gs_effect_t * deinterlace_linear_effect
Definition: obs-internal.h:271
gs_effect_t * premultiplied_alpha_effect
Definition: obs-internal.h:240
Definition: obs-hotkey.h:37
volatile long refs
Definition: obs-internal.h:439
struct obs_weak_source * control
Definition: obs-internal.h:515
Definition: audio-io.h:93
bool obs_display_init(struct obs_display *display, const struct gs_init_data *graphics_data)
gs_color_format
Definition: graphics.h:56
Definition: obs-internal.h:480
void obs_encoder_remove_output(struct obs_encoder *encoder, struct obs_output *output)
obs_transition_mode
Definition: obs.h:1076
obs_deinterlace_mode
Definition: obs.h:891
Definition: obs-encoder.h:41
unsigned char uint8_t
Definition: vc_stdint.h:27
struct obs_data obs_data_t
Definition: obs-data.h:42
Definition: obs-source.h:135
void obs_output_destroy(obs_output_t *output)
uint32_t timebase_num
Definition: obs-internal.h:909
Definition: obs-output.h:33
volatile bool data_active
Definition: obs-internal.h:787
uint32_t lagged_frames
Definition: obs-internal.h:250
void * obs_hotkey_thread(void *param)
Definition: obs-internal.h:318
size_t last_audio_input_buf_size
Definition: obs-internal.h:563
gs_effect_t * default_effect
Definition: obs-internal.h:232
void obs_hotkeys_context_release(struct obs_context_data *context)
bool update_async_texture(struct obs_source *source, const struct obs_source_frame *frame, gs_texture_t *tex, gs_texrender_t *texrender)
bool set_async_texture_size(struct obs_source *source, const struct obs_source_frame *frame)
volatile bool valid
Definition: obs-internal.h:314
uint32_t conversion_height
Definition: obs-internal.h:255
void obs_transition_enum_sources(obs_source_t *transition, obs_source_enum_proc_t enum_callback, void *param)
uint64_t start_ts
Definition: obs-internal.h:926
void obs_transition_free(obs_source_t *transition)
size_t blocksize
Definition: obs-internal.h:893
Definition: obs-internal.h:167
obs_transition_scale_type
Definition: obs.h:1086
Definition: obs-internal.h:490
void obs_source_load(obs_source_t *source)
pthread_mutex_t services_mutex
Definition: obs-internal.h:307
uint64_t first_raw_ts
Definition: obs-internal.h:925
bool destroy_on_stop
Definition: obs-internal.h:931
void deinterlace_render(obs_source_t *s)
char * bin
Definition: obs-internal.h:99
gs_effect_t * deinterlace_yadif_2x_effect
Definition: obs-internal.h:276
uint64_t next_audio_ts_min
Definition: obs-internal.h:548
pthread_mutex_t encoders_mutex
Definition: obs-internal.h:306
void * media
Definition: obs-internal.h:934
pthread_mutex_t mutex
Definition: obs-internal.h:319
struct obs_source * first_audio_source
Definition: obs-internal.h:297
bool obs_output_actual_start(obs_output_t *output)
size_t framesize_bytes
Definition: obs-internal.h:895
Definition: obs-internal.h:502
#define MAX_TS_VAR
Definition: obs-internal.h:704
bool obs_hotkeys_platform_init(struct obs_core_hotkeys *hotkeys)
struct obs_weak_encoder * control
Definition: obs-internal.h:887
Definition: obs-internal.h:183
uint32_t total_frames
Definition: obs-internal.h:249
bool gpu_conversion
Definition: obs-internal.h:253
Definition: obs-internal.h:764
#define MAX_AUDIO_MIXES
Definition: audio-io.h:28
Definition: graphics-internal.h:271
struct obs_hotkeys_platform obs_hotkeys_platform_t
Definition: obs-internal.h:150
struct obs_source_frame * frame
Definition: obs-internal.h:481
gs_texture_t * transparent_texture
Definition: obs-internal.h:267
Definition: obs-internal.h:279
uint32_t default_flags
Definition: obs-internal.h:519
Definition: obs-internal.h:884
Definition: obs-internal.h:75
Definition: obs-internal.h:295
void obs_source_activate(obs_source_t *source, enum view_type type)
bool obs_output_delay_start(obs_output_t *output)
int count
Definition: obs-internal.h:218
bool muted
Definition: obs-internal.h:558
volatile bool timing_set
Definition: obs-internal.h:545
double video_fps
Definition: obs-internal.h:246
enum obs_key obs_key_t
Definition: obs-hotkey.h:35
EXPORT void dstr_copy(struct dstr *dst, const char *array)
void obs_hotkey_name_map_free(void)
int cur_texture
Definition: obs-internal.h:243
struct obs_service * first_service
Definition: obs-internal.h:301
obs_scale_type
Definition: obs.h:114
pthread_mutex_t draw_callbacks_mutex
Definition: obs-internal.h:201
Definition: obs-internal.h:98
void obs_source_deactivate(obs_source_t *source, enum view_type type)
void obs_context_data_free(struct obs_context_data *context)
struct obs_module * first_module
Definition: obs-internal.h:353
void obs_source_audio_render(obs_source_t *source, uint32_t mixers, size_t channels, size_t sample_rate, size_t size)
size_t framesize
Definition: obs-internal.h:894
signal_handler_t * signals
Definition: obs-internal.h:400
int64_t dts
Definition: obs-encoder.h:46
uint32_t scaled_width
Definition: obs-internal.h:899
void obs_source_video_tick(obs_source_t *source, float seconds)
Definition: obs-internal.h:487
void * module
Definition: obs-internal.h:80
void remove_async_frame(obs_source_t *source, struct obs_source_frame *frame)
Definition: obs-internal.h:396
obs_key_combination_t key
Definition: obs-internal.h:168
Definition: obs-encoder.h:112
void obs_encoder_destroy(obs_encoder_t *encoder)
obs_hotkey_pair_id pair_id
Definition: obs-internal.h:140
void free_module(struct obs_module *mod)
const struct obs_service_info * find_service(const char *id)
void add_alignment(struct vec2 *v, uint32_t align, int cx, int cy)
pthread_mutex_t sources_mutex
Definition: obs-internal.h:303
void obs_encoder_shutdown(obs_encoder_t *encoder)
uint32_t samplerate
Definition: obs-internal.h:891
struct obs_encoder_info * find_encoder(const char *id)
void obs_hotkeys_platform_free(struct obs_core_hotkeys *hotkeys)
EXPORT void signal_handler_signal(signal_handler_t *handler, const char *signal, calldata_t *params)
gs_effect_t * deinterlace_discard_2x_effect
Definition: obs-internal.h:270
void obs_hotkeys_free(void)
struct gs_texture gs_texture_t
Definition: graphics.h:258
void * obs_video_thread(void *param)
gs_effect_t * obs_load_effect(gs_effect_t **effect, const char *file)
char * array
Definition: dstr.h:37
view_type
Definition: obs-internal.h:683
void obs_output_delay_stop(obs_output_t *output)
char * data_path
Definition: obs-internal.h:79
const struct obs_source_info * get_source_info(const char *id)
bool loaded
Definition: obs-internal.h:81
struct obs_encoder * first_encoder
Definition: obs-internal.h:300
size_t obs_hotkey_pair_id
Definition: obs-hotkey.h:26
uint64_t resample_offset
Definition: obs-internal.h:547
bool owns_info_id
Definition: obs-internal.h:522
int64_t video_offset
Definition: obs-internal.h:789
struct obs_weak_service * control
Definition: obs-internal.h:972
audio_t * audio
Definition: obs-internal.h:281
bool sent_first_packet
Definition: obs-internal.h:879
Definition: audio-io.h:68
struct obs_service * service
Definition: obs-internal.h:966
pthread_mutex_t channels_mutex
Definition: obs-internal.h:184
int64_t highest_video_ts
Definition: obs-internal.h:792
bool wait_for_video
Definition: obs-internal.h:921
gs_stagesurf_t * mapped_surface
Definition: obs-internal.h:242
void * data
Definition: obs-internal.h:130
struct signal_handler signal_handler_t
Definition: signal.h:35
void(* obs_hotkey_func)(void *data, obs_hotkey_id id, obs_hotkey_t *hotkey, bool pressed)
Definition: obs-hotkey.h:132
Definition: obs-internal.h:488
Definition: obs-internal.h:493
gs_effect_t * deinterlace_yadif_effect
Definition: obs-internal.h:275
bool active
Definition: obs-internal.h:538
bool private
Definition: obs-internal.h:415
const char * conversion_tech
Definition: obs-internal.h:254
void * data
Definition: obs-internal.h:398
void obs_service_activate(struct obs_service *service)
bool first_received
Definition: obs-internal.h:922
void obs_context_data_setname(struct obs_context_data *context, const char *name)
char * name
Definition: obs-internal.h:397
gs_effect_t * deinterlace_discard_effect
Definition: obs-internal.h:269
Definition: obs-internal.h:964
bool audio_pending
Definition: obs-internal.h:556
uint64_t timestamp
Definition: obs-internal.h:217
pthread_mutex_t outputs_mutex
Definition: obs-internal.h:305
struct gs_sampler_state gs_samplerstate_t
Definition: graphics.h:263
bool obs_service_initialize(struct obs_service *service, struct obs_output *output)
gs_effect_t * conversion_effect
Definition: obs-internal.h:236
obs_hotkey_registerer_t registerer_type
Definition: obs-internal.h:133
bool owns_info_id
Definition: obs-internal.h:975
struct obs_source ** prev_next_audio_source
Definition: obs-internal.h:560
graphics_t * graphics
Definition: obs-internal.h:222
#define MICROSECOND_DEN
Definition: obs-internal.h:40
obs_allow_direct_render
Definition: obs.h:109
struct obs_context_data context
Definition: obs-internal.h:513
struct video_output video_t
Definition: video-io.h:31
void obs_view_free(struct obs_view *view)
uint64_t audio_ts
Definition: obs-internal.h:561
void obs_service_destroy(obs_service_t *service)
bool owns_info_id
Definition: obs-internal.h:783
uint32_t flags
Definition: obs-internal.h:518
Definition: obs-internal.h:878
bool thread_initialized
Definition: obs-internal.h:251
uint32_t base_width
Definition: obs-internal.h:262
gs_effect_t * deinterlace_linear_2x_effect
Definition: obs-internal.h:272
long long unnamed_index
Definition: obs-internal.h:312
void obs_output_actual_stop(obs_output_t *output, bool force, uint64_t ts)
struct obs_weak_output * control
Definition: obs-internal.h:780
void obs_context_data_remove(struct obs_context_data *context)
gs_effect_t * lanczos_effect
Definition: obs-internal.h:238
obs_hotkey_id id
Definition: obs-internal.h:125
size_t size
Definition: calldata.h:48
const char * file
Definition: obs-internal.h:77
#define NUM_TEXTURES
Definition: obs-internal.h:39
char * mod_name
Definition: obs-internal.h:76
struct obs_module * next
Definition: obs-internal.h:93
pthread_mutex_t interleaved_mutex
Definition: obs-internal.h:795
void deinterlace_process_last_frame(obs_source_t *source, uint64_t sys_time)
float vol
Definition: obs-internal.h:497
Definition: graphics.h:61
Definition: obs-internal.h:47
uint32_t output_width
Definition: obs-internal.h:260
uint32_t timebase_den
Definition: obs-internal.h:910
bool async_rendered
Definition: obs-internal.h:552
size_t mixer_idx
Definition: obs-internal.h:897
bool removed
Definition: obs-internal.h:536
uint32_t background_color
Definition: obs-internal.h:199
struct obs_source * source
Definition: obs-internal.h:504
bool showing
Definition: obs-internal.h:539
audio_action_type
Definition: obs-internal.h:486
struct obs_encoder * paired_encoder
Definition: obs-internal.h:923
int pressed
Definition: obs-internal.h:131
bool owns_info_id
Definition: obs-internal.h:907
bool obs_hotkeys_platform_is_pressed(obs_hotkeys_platform_t *context, obs_key_t key)
Definition: obs-internal.h:969
uint32_t output_height
Definition: obs-internal.h:261
void obs_source_destroy(struct obs_source *source)
uint64_t timestamp
Definition: obs-internal.h:494
enum obs_hotkey_registerer_type obs_hotkey_registerer_t
Definition: obs-hotkey.h:53
Definition: obs-internal.h:216
void obs_encoder_add_output(struct obs_encoder *encoder, struct obs_output *output)
struct os_event_data os_event_t
Definition: threading.h:63
struct proc_handler proc_handler_t
Definition: proc.h:36
gs_effect_t * deinterlace_blend_effect
Definition: obs-internal.h:273
Main libobs header used by applications.
Definition: audio-resampler.h:30
Definition: video-io.h:49
volatile long weak_refs
Definition: obs-internal.h:440
Definition: graphics.h:62
int64_t highest_audio_ts
Definition: obs-internal.h:791
Definition: obs-internal.h:684
obs_hotkey_func func
Definition: obs-internal.h:129
Definition: obs-internal.h:438
proc_handler_t * procs
Definition: obs-internal.h:401
obs_hotkey_id hotkey_id
Definition: obs-internal.h:172
obs_source_audio_capture_t callback
Definition: obs-internal.h:508
Definition: obs-internal.h:489
bool enabled
Definition: obs-internal.h:542
void(* obs_source_audio_capture_t)(void *param, obs_source_t *source, const struct audio_data *audio_data, bool muted)
Definition: obs.h:883
__int64 int64_t
Definition: vc_stdint.h:32
EXPORT void bfree(void *ptr)
uint32_t base_height
Definition: obs-internal.h:263
Definition: obs-internal.h:124
Definition: obs-internal.h:759
pthread_mutex_t audio_sources_mutex
Definition: obs-internal.h:308
bool obs_view_init(struct obs_view *view)
void obs_transition_load(obs_source_t *source, obs_data_t *data)
bool used
Definition: obs-internal.h:483
const char * profile_encoder_encode_name
Definition: obs-internal.h:939
uint64_t video_time
Definition: obs-internal.h:245
#define bool
Definition: vc_stdbool.h:5
void obs_service_deactivate(struct obs_service *service, bool remove)
void * registerer
Definition: obs-internal.h:134
pthread_t end_data_capture_thread
Definition: obs-internal.h:793
int64_t offset_usec
Definition: obs-internal.h:924
Definition: obs-internal.h:195
uint64_t last_sys_timestamp
Definition: obs-internal.h:551
long unused_count
Definition: obs-internal.h:482
bool obs_context_data_init(struct obs_context_data *context, enum obs_obj_type type, obs_data_t *settings, const char *name, obs_data_t *hotkey_data, bool private)
void * param
Definition: obs-internal.h:881
void obs_display_free(struct obs_display *display)
void(* encoded_callback_t)(void *data, struct encoder_packet *packet)
Definition: obs-internal.h:770
bool destroy
Definition: obs-internal.h:978
volatile long activate_refs
Definition: obs-internal.h:531
struct gs_texture_render gs_texrender_t
Definition: graphics.h:265
struct audio_output audio_t
Definition: audio-io.h:38
Definition: graphics.h:59
void * param
Definition: obs-internal.h:49
float obs_source_get_target_volume(obs_source_t *source, obs_source_t *target)
const struct obs_output_info * find_output(const char *id)
void obs_transition_save(obs_source_t *source, obs_data_t *data)
const char * obs_get_hotkey_translation(obs_key_t key, const char *def)
Definition: obs-service.h:31
volatile long show_refs
Definition: obs-internal.h:528
struct profiler_name_store profiler_name_store_t
Definition: profiler.h:39
struct gs_swap_chain gs_swapchain_t
Definition: graphics.h:264
pthread_t video_thread
Definition: obs-internal.h:248
Definition: video-io.h:46
void(* obs_hotkey_callback_router_func)(void *data, obs_hotkey_id id, bool pressed)
Definition: obs-hotkey.h:251