FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.
 
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 ape_decode_value_3860(), decode_block(), decode_residues(), decode_rice(), decode_segment(), decode_sym(), ff_vc1_parse_frame_header(), ff_vc1_parse_frame_header_adv(), get_rice_ook(), get_unary_0_33(), get_unary_0_9(), h263_get_modb(), mpc8_parse_seektable(), mss4_decode_image_block(), read_var_block_data(), tta_decode_frame(), and vc1_decode_ac_coeff().

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