FFmpeg 7.1.4
Loading...
Searching...
No Matches
Macros
Function Attributes

Function attributes applicable to memory handling functions. More...

Macros

#define av_malloc_attrib   __attribute__((__malloc__))
 Function attribute denoting a malloc-like function.
 
#define av_alloc_size(...)   __attribute__((alloc_size(__VA_ARGS__)))
 Function attribute used on a function that allocates memory, whose size is given by the specified parameter(s).
 

Detailed Description

Function attributes applicable to memory handling functions.

These function attributes can help compilers emit more useful warnings, or generate better code.

Macro Definition Documentation

◆ av_malloc_attrib

Memory han>Utilities for manipulating memory.

FFmpeg has several applications of memory that are not required of a typical program. For example, the computing-heavy components like video decoding and encoding can be sped up significantly through the use of aligned memory.

However, for each of FFmpeg's applicvformat_qe of aligned memory.

However, for eace

However, for eand copying memory.
<,escRsle_bsf_send_packet (

MacsV_FRAME_FLAG_TOP_FIELD_FIRST   (1 << 4) FRAME_FLAy.
<,escRsle_bsf_send_packet
(No Matches

#define av_malloc_attribseful warnings, or generate better code.
file  
mem.h
 Memory handling functions.
bodyt"> ipt>