FFmpeg
Macros | Functions
thread.h File Reference
#include "config.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))
 

Macro Definition Documentation

◆ AVMutex

#define AVMutex   char

Definition at line 164 of file thread.h.

◆ AV_MUTEX_INITIALIZER

#define AV_MUTEX_INITIALIZER   0

Definition at line 165 of file thread.h.

◆ AVOnce

#define AVOnce   char

Definition at line 172 of file thread.h.

◆ AV_ONCE_INIT

#define AV_ONCE_INIT   0

Definition at line 173 of file thread.h.

Function Documentation

◆ ff_mutex_init()

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

Definition at line 167 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 170 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 175 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_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_msmpeg4_common_init(), ff_msmpeg4_encode_init(), ff_rv34_decode_init(), ff_snow_common_init(), ff_speedhq_encode_init(), ff_vc1_init_common(), h261_decode_init(), h264_decode_init(), imc_decode_init(), init_cos_tabs(), 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(), svq1_decode_init(), sws_init_context(), tscc2_decode_init(), and wmavoice_decode_init().