FFmpeg
Loading...
Searching...
No Matches
stdatomic_impl.h File Reference
#include <string.h>

Go to the source code of this file.

Macros

#define FF_ATOMIC_LOCK_FREE   0
 
#define FF_ATOMIC_ALIGN64
 
#define ff_atomic_thread_fence(order)
 
#define ff_atomic_signal_fence(order)
 
#define DUMMY_ATOMIC_FETCH(op, OP, name, type)
 
#define DUMMY_ATOMIC_OPS(name, type)
 

Macro Definition Documentation

◆ FF_ATOMIC_LOCK_FREE

#define FF_ATOMIC_LOCK_FREE   0

Definition at line 24 of file stdatomic_impl.h.

◆ FF_ATOMIC_ALIGN64

#define FF_ATOMIC_ALIGN64

Definition at line 25 of file stdatomic_impl.h.

◆ ff_atomic_thread_fence

#define ff_atomic_thread_fence ( order)
Value:
((void)(order))

Definition at line 27 of file stdatomic_impl.h.

◆ ff_atomic_signal_fence

#define ff_atomic_signal_fence ( order)
Value:
((void)(order))

Definition at line 30 of file stdatomic_impl.h.

◆ DUMMY_ATOMIC_FETCH

#define DUMMY_ATOMIC_FETCH ( op,
OP,
name,
type )
Value:
static av_always_inline type ff_atomic_##op##name(volatile void *object, \
type operand, \
memory_order order) \
{ \
type old = ff_atomic_load##name(object, order); \
ff_atomic_store##name(object, old OP operand, order); \
return old; \
}
cl_device_type type
#define OP(gb, pixel, count)
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
Definition anm.c:76
#define av_always_inline
Definition attributes.h:72
const char * name
Definition qsvenc.c:142
memory_order
Definition stdatomic.h:28

Definition at line 39 of file stdatomic_impl.h.

◆ DUMMY_ATOMIC_OPS

#define DUMMY_ATOMIC_OPS ( name,
type )

Definition at line 49 of file stdatomic_impl.h.