FFmpeg
Macros | Functions
thread.h File Reference
#include "config.h"
#include "error.h"

Go to the source code of this file.

Macros

#define AVMutex   char
 
#define AV_MUTEX_INITIALIZER   0
 
#define AVOnce   char
 
#define AV_ONCE_INIT   0
 

Functions

static int ff_mutex_init (AVMutex *mutex, const void *attr)
 
static int ff_mutex_lock (AVMutex *mutex)
 
static int ff_mutex_unlock (AVMutex *mutex)
 
static int ff_mutex_destroy (AVMutex *mutex)
 
static int ff_thread_once (char *control, void(*routine)(void))
 
static int ff_thread_setname (const char *name)
 

Macro Definition Documentation

◆ AVMutex

#define AVMutex   char

Definition at line 173 of file thread.h.

◆ AV_MUTEX_INITIALIZER

#define AV_MUTEX_INITIALIZER   0

Definition at line 174 of file thread.h.

◆ AVOnce

#define AVOnce   char

Definition at line 181 of file thread.h.

◆ AV_ONCE_INIT

#define AV_ONCE_INIT   0

Definition at line 182 of file thread.h.

Function Documentation

◆ ff_mutex_init()

static int ff_mutex_init ( AVMutex mutex,
const void *  attr 
)
inlinestatic

Definition at line 176 of file thread.h.

Referenced by av_buffer_pool_init(), av_buffer_pool_init2(), and ff_safe_queue_create().

◆ ff_mutex_lock()

static int ff_mutex_lock ( AVMutex mutex)
inlinestatic

◆ ff_mutex_unlock()

static int ff_mutex_unlock ( AVMutex mutex)
inlinestatic

◆ ff_mutex_destroy()

static int ff_mutex_destroy ( AVMutex mutex)
inlinestatic

Definition at line 179 of file thread.h.

Referenced by buffer_pool_free(), and ff_safe_queue_destroy().

◆ ff_thread_once()

static int ff_thread_once ( char *  control,
void(*)(void)  routine 
)
inlinestatic

Definition at line 184 of file thread.h.

Referenced by aac_decode_init(), ac3_decode_init(), atrac3_decode_init(), atrac3p_decode_init(), atrac9_decode_init(), av_codec_iterate(), clv_decode_init(), cook_decode_init(), d3d11va_device_create(), dcadec_init(), decode_init(), dirac_decode_init(), dolby_e_init(), dvbsub_init_decoder(), dvvideo_decode_init(), dvvideo_encode_init(), encode_init(), ff_aac_tableinit(), ff_ac3_encode_init(), ff_atrac_generate_tables(), ff_ccitt_unpack_init(), ff_ebur128_init(), ff_fft_lut_init(), ff_h261_encode_init(), ff_h263_decode_init_vlc(), ff_h263_encode_init(), ff_h263_init_rl_inter(), ff_init_dsd_data(), ff_init_ff_cos_tabs(), ff_init_ff_sine_windows(), ff_intrax8_common_init(), ff_ivi_init_static_vlc(), ff_jpeg2000_init_tier1_luts(), ff_kperf_init(), ff_mlp_init_crc(), ff_mpa_synth_init_TMPL(), ff_mpadsp_init(), ff_mpeg12_init_vlcs(), ff_mpeg4_init_rl_intra(), ff_mpegaudiodec_common_init_static(), ff_msmp4_vc1_vlcs_init_once(), ff_msmpeg4_common_init(), ff_msmpeg4_decode_init(), ff_msmpeg4_encode_init(), ff_rv34_decode_init(), ff_snow_common_init(), ff_speedhq_encode_init(), ff_tx_init_tabs(), ff_vc1_init_common(), h261_decode_init(), h264_decode_init(), imc_decode_init(), ir2_decode_init(), j2kenc_init(), mimic_decode_init(), mlp_decode_init(), mlp_encode_init(), mobiclip_init(), mp_decode_init(), mpc7_decode_init(), mpc8_decode_init(), mpv_encode_defaults(), mss4_decode_init(), qdm2_decode_init(), qdmc_decode_init(), rv10_decode_init(), rv40_decode_init(), speedhq_decode_init(), svq1_decode_init(), sws_init_context(), tscc2_decode_init(), vqc_decode_init(), and wmavoice_decode_init().

◆ ff_thread_setname()

static int ff_thread_setname ( const char *  name)
inlinestatic

Definition at line 195 of file thread.h.

Referenced by async_buffer_task(), fifo_consumer_thread(), and thread_set_name().