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. More...
 
#define av_unused
 
#define av_used
 Mark a variable as used and prevent the compiler from optimizing it away. More...
 
#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 attribute_deprecated

Definition at line 90 of file attributes.h.

#define av_alias

Definition at line 131 of file attributes.h.

#define av_builtin_constant_p (   x)    0

Definition at line 144 of file attributes.h.

Referenced by cmp().

#define av_const

Definition at line 72 of file attributes.h.

Referenced by av_inv_q().

#define av_extern_inline   inline

Definition at line 49 of file attributes.h.

#define av_flatten

Definition at line 84 of file attributes.h.

#define AV_GCC_VERSION_AT_LEAST (   x,
  y 
)    0

Definition at line 32 of file attributes.h.

#define av_noinline

Definition at line 56 of file attributes.h.

#define av_noreturn

Definition at line 151 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_buffersink_set_frame_size(), and av_buffersrc_add_frame_internal().

#define av_printf_format (   fmtpos,
  attrpos 
)

Definition at line 145 of file attributes.h.

Referenced by avio_tell().

#define av_pure

Definition at line 62 of file attributes.h.

Referenced by av_x_if_null().

#define av_restrict   restrict

Definition at line 66 of file attributes.h.

#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.