rl header.
More...
#include <stdint.h>
#include "vlc.h"
Go to the source code of this file.
|
|
#define | MAX_RUN 64 |
| |
|
#define | MAX_LEVEL 64 |
| |
| #define | INIT_VLC_RL(rl, static_size) |
| |
|
| int | ff_rl_init (RLTable *rl, uint8_t static_store[2][2 *MAX_RUN+MAX_LEVEL+3]) |
| |
|
void | ff_rl_init_vlc (RLTable *rl, unsigned static_size) |
| |
|
void | ff_rl_free (RLTable *rl) |
| | Free the contents of a dynamically allocated table.
|
| |
§ INIT_VLC_RL
| #define INIT_VLC_RL |
( |
|
rl, |
|
|
|
static_size |
|
) |
| |
Value:{\
int q;\
\
if(!rl.rl_vlc[0]){\
for(q=0; q<32; q++)\
rl.rl_vlc[q]= rl_vlc_table[q];\
\
ff_rl_init_vlc(&rl, static_size);\
}\
}
§ RLTable
§ ff_rl_init()
| int ff_rl_init |
( |
RLTable * |
rl, |
|
|
uint8_t |
static_store[2][2 *MAX_RUN+MAX_LEVEL+3] |
|
) |
| |
- Parameters
-
| static_store | static 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 |