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.
static int get_unary_0_33 (GetBitContext *gb)
 Get unary code terminated by a 0 with a maximum length of 33.
static int get_unary_0_9 (GetBitContext *gb)

Function Documentation

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

Get unary code of limited length.

Parameters
gbGetBitContext
[in]stopThe bitstop value (unary code of 1's or 0's)
[in]lenMaximum length
Returns
Unary length/index

Definition at line 33 of file unary.h.

Referenced by decode_rice(), get_unary_0_33(), get_unary_0_9(), h263_get_modb(), mpc8_parse_seektable(), read_var_block_data(), vc1_decode_ac_coeff(), vc1_parse_frame_header(), and vc1_parse_frame_header_adv().

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().

static int get_unary_0_9 ( GetBitContext gb)
inlinestatic

Definition at line 51 of file unary.h.

Referenced by decode_scalar().