FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
rl.c File Reference
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/mem.h"
#include "rl.h"

Go to the source code of this file.

Functions

void ff_rl_free (RLTable *rl)
 Free the contents of a dynamically allocated table. More...
 
av_cold int ff_rl_init (RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3])
 
av_cold void ff_rl_init_vlc (RLTable *rl, unsigned static_size)
 

Function Documentation

void ff_rl_free ( RLTable rl)

Free the contents of a dynamically allocated table.

Definition at line 26 of file rl.c.

Referenced by ff_rl_init().

av_cold int ff_rl_init ( RLTable rl,
uint8_t  static_store[2][2 *MAX_RUN+MAX_LEVEL+3] 
)
Parameters
static_storestatic uint8_t array[2][2*MAX_RUN + MAX_LEVEL + 3] which will hold the level and run tables, if this is NULL av_malloc() will be used

Definition at line 37 of file rl.c.

Referenced by encode_init(), ff_h261_common_init(), ff_h263_decode_init_vlc(), ff_h263_encode_init(), ff_mpeg12_init_vlcs(), ff_mpeg1_encode_init(), ff_mpeg4videodec_static_init(), ff_msmpeg4_decode_init(), and ff_msmpeg4_encode_init().

av_cold void ff_rl_init_vlc ( RLTable rl,
unsigned  static_size 
)

Definition at line 103 of file rl.c.