XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
buffers.c File Reference
#include "hlxclib/stdlib.h"
#include "coder.h"
#include "utils/helix_memory.h"
#include <string.h>
Include dependency graph for buffers.c:

Macros

#define SAFE_FREE(x)   {if (x) helix_free(x); (x) = 0;} /* helper macro */
 

Functions

void ClearBuffer (void *buf, int nBytes)
 
AACDecInfo * AllocateBuffers (void)
 
AACDecInfo * AllocateBuffersPre (void **ptr, int *sz)
 
void FreeBuffers (AACDecInfo *aacDecInfo)
 

Macro Definition Documentation

◆ SAFE_FREE

#define SAFE_FREE (   x)    {if (x) helix_free(x); (x) = 0;} /* helper macro */

Function Documentation

◆ AllocateBuffers()

AACDecInfo * AllocateBuffers ( void  )

◆ AllocateBuffersPre()

AACDecInfo * AllocateBuffersPre ( void **  ptr,
int *  sz 
)

◆ ClearBuffer()

void ClearBuffer ( void *  buf,
int  nBytes 
)

◆ FreeBuffers()

void FreeBuffers ( AACDecInfo *  aacDecInfo)