FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
atomic_gcc.h File Reference
#include <stdint.h>
#include "atomic.h"

Go to the source code of this file.

Macros

#define avpriv_atomic_int_get   atomic_int_get_gcc
 
#define avpriv_atomic_int_set   atomic_int_set_gcc
 
#define avpriv_atomic_int_add_and_fetch   atomic_int_add_and_fetch_gcc
 
#define avpriv_atomic_ptr_cas   atomic_ptr_cas_gcc
 

Functions

static int atomic_int_get_gcc (volatile int *ptr)
 
static void atomic_int_set_gcc (volatile int *ptr, int val)
 
static int atomic_int_add_and_fetch_gcc (volatile int *ptr, int inc)
 
static voidatomic_ptr_cas_gcc (void *volatile *ptr, void *oldval, void *newval)
 

Macro Definition Documentation

#define avpriv_atomic_int_get   atomic_int_get_gcc
#define avpriv_atomic_int_set   atomic_int_set_gcc

Definition at line 35 of file atomic_gcc.h.

Referenced by av_buffer_pool_init(), hls_decode_entry_wpp(), and hls_slice_data_wpp().

#define avpriv_atomic_int_add_and_fetch   atomic_int_add_and_fetch_gcc
#define avpriv_atomic_ptr_cas   atomic_ptr_cas_gcc

Function Documentation

static int atomic_int_get_gcc ( volatile int *  ptr)
inlinestatic

Definition at line 29 of file atomic_gcc.h.

static void atomic_int_set_gcc ( volatile int *  ptr,
int  val 
)
inlinestatic

Definition at line 36 of file atomic_gcc.h.

static int atomic_int_add_and_fetch_gcc ( volatile int *  ptr,
int  inc 
)
inlinestatic

Definition at line 43 of file atomic_gcc.h.

static void* atomic_ptr_cas_gcc ( void *volatile *  ptr,
void oldval,
void newval 
)
inlinestatic

Definition at line 49 of file atomic_gcc.h.