FFmpeg  4.0
Functions
unary.h File Reference
#include "get_bits.h"

Go to the source code of this file.

Functions

static int get_unary (GetBitContext *gb, int stop, int len)
 Get unary code of limited length. More...
 
static int get_unary_0_33 (GetBitContext *gb)
 Get unary code terminated by a 0 with a maximum length of 33. More...
 
static int get_unary_0_9 (GetBitContext *gb)
 

Function Documentation

◆ get_unary()

static int get_unary ( GetBitContext gb,
int  stop,
int  len 
)
inlinestatic

◆ get_unary_0_33()

static int get_unary_0_33 ( GetBitContext gb)
inlinestatic

Get unary code terminated by a 0 with a maximum length of 33.

Parameters
gbGetBitContext
Returns
Unary length/index

Definition at line 46 of file unary.h.

Referenced by wv_get_value().

◆ get_unary_0_9()

static int get_unary_0_9 ( GetBitContext gb)
inlinestatic

Definition at line 51 of file unary.h.

Referenced by decode_scalar().