FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
attributes.h File Reference

Macro definitions for various function/variable attributes. More...

Go to the source code of this file.

Macros

#define AV_GCC_VERSION_AT_LEAST(x, y)   0
 
#define av_always_inline   inline
 
#define av_extern_inline   inline
 
#define av_noinline
 
#define av_pure
 
#define av_restrict   restrict
 
#define av_const
 
#define av_cold
 
#define av_flatten
 
#define attribute_deprecated
 
#define AV_NOWARN_DEPRECATED(code)   code
 Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal.
 
#define av_unused
 
#define av_used
 Mark a variable as used and prevent the compiler from optimizing it away.
 
#define av_alias
 
#define av_uninit(x)   x
 
#define av_builtin_constant_p(x)   0
 
#define av_printf_format(fmtpos, attrpos)
 
#define av_noreturn
 

Detailed Description

Macro definitions for various function/variable attributes.

Definition in file attributes.h.

Macro Definition Documentation

#define AV_GCC_VERSION_AT_LEAST (   x,
 
)    0

Definition at line 32 of file attributes.h.

#define av_always_inline   inline

Definition at line 41 of file attributes.h.

#define av_extern_inline   inline

Definition at line 49 of file attributes.h.

#define av_noinline

Definition at line 56 of file attributes.h.

#define av_pure

Definition at line 62 of file attributes.h.

#define av_restrict   restrict

Definition at line 66 of file attributes.h.

#define av_const

Definition at line 72 of file attributes.h.

#define av_cold

Definition at line 78 of file attributes.h.

#define av_flatten

Definition at line 84 of file attributes.h.

#define attribute_deprecated

Definition at line 90 of file attributes.h.

#define AV_NOWARN_DEPRECATED (   code)    code

Disable warnings about deprecated features This is useful for sections of code kept for backward compatibility and scheduled for removal.

Definition at line 106 of file attributes.h.

Referenced by av_asrc_buffer_add_buffer(), and av_asrc_buffer_add_samples().

#define av_unused
#define av_used

Mark a variable as used and prevent the compiler from optimizing it away.

This is useful for variables accessed only from inline assembler without the compiler being aware.

Definition at line 125 of file attributes.h.

#define av_alias

Definition at line 131 of file attributes.h.

#define av_uninit (   x)    x
#define av_builtin_constant_p (   x)    0

Definition at line 144 of file attributes.h.

Referenced by cmp().

#define av_printf_format (   fmtpos,
  attrpos 
)

Definition at line 145 of file attributes.h.

#define av_noreturn

Definition at line 151 of file attributes.h.