golomb.h File Reference


Detailed Description

exp golomb vlc stuff

Author:
Michael Niedermayer <michaelni@gmx.at> and Alex Beregszaszi

Definition in file golomb.h.

Go to the source code of this file.

Functions

static int get_ue_golomb (GetBitContext *gb)
 read unsigned exp golomb code.
static int svq3_get_ue_golomb (GetBitContext *gb)
static int get_te0_golomb (GetBitContext *gb, int range)
 read unsigned truncated exp golomb code.
static int get_te_golomb (GetBitContext *gb, int range)
 read unsigned truncated exp golomb code.
static int get_se_golomb (GetBitContext *gb)
 read signed exp golomb code.
static int svq3_get_se_golomb (GetBitContext *gb)
static int dirac_get_se_golomb (GetBitContext *gb)
static int get_ur_golomb (GetBitContext *gb, int k, int limit, int esc_len)
 read unsigned golomb rice code (ffv1).
static int get_ur_golomb_jpegls (GetBitContext *gb, int k, int limit, int esc_len)
 read unsigned golomb rice code (jpegls).
static int get_sr_golomb (GetBitContext *gb, int k, int limit, int esc_len)
 read signed golomb rice code (ffv1).
static int get_sr_golomb_flac (GetBitContext *gb, int k, int limit, int esc_len)
 read signed golomb rice code (flac).
static unsigned int get_ur_golomb_shorten (GetBitContext *gb, int k)
 read unsigned golomb rice code (shorten).
static int get_sr_golomb_shorten (GetBitContext *gb, int k)
 read signed golomb rice code (shorten).
static int get_ue (GetBitContext *s, char *file, const char *func, int line)
static int get_se (GetBitContext *s, char *file, const char *func, int line)
static int get_te (GetBitContext *s, int r, char *file, const char *func, int line)
static void set_ue_golomb (PutBitContext *pb, int i)
 write unsigned exp golomb code.
static void set_te_golomb (PutBitContext *pb, int i, int range)
 write truncated unsigned exp golomb code.
static void set_se_golomb (PutBitContext *pb, int i)
 write signed exp golomb code.
static void set_ur_golomb (PutBitContext *pb, int i, int k, int limit, int esc_len)
 write unsigned golomb rice code (ffv1).
static void set_ur_golomb_jpegls (PutBitContext *pb, int i, int k, int limit, int esc_len)
 write unsigned golomb rice code (jpegls).
static void set_sr_golomb (PutBitContext *pb, int i, int k, int limit, int esc_len)
 write signed golomb rice code (ffv1).
static void set_sr_golomb_flac (PutBitContext *pb, int i, int k, int limit, int esc_len)
 write signed golomb rice code (flac).

Variables

const uint8_t ff_golomb_vlc_len [512]
const uint8_t ff_ue_golomb_vlc_code [512]
const int8_t ff_se_golomb_vlc_code [512]
const uint8_t ff_ue_golomb_len [256]
const uint8_t ff_interleaved_golomb_vlc_len [256]
const uint8_t ff_interleaved_ue_golomb_vlc_code [256]
const int8_t ff_interleaved_se_golomb_vlc_code [256]
const uint8_t ff_interleaved_dirac_golomb_vlc_code [256]


Function Documentation

static int get_ue_golomb ( GetBitContext gb  )  [inline, static]

static int svq3_get_ue_golomb ( GetBitContext gb  )  [inline, static]

static int get_te0_golomb ( GetBitContext gb,
int  range 
) [inline, static]

read unsigned truncated exp golomb code.

Definition at line 115 of file golomb.h.

Referenced by decode_mb_cavlc(), and get_te().

static int get_te_golomb ( GetBitContext gb,
int  range 
) [inline, static]

read unsigned truncated exp golomb code.

Definition at line 126 of file golomb.h.

static int get_se_golomb ( GetBitContext gb  )  [inline, static]

static int svq3_get_se_golomb ( GetBitContext gb  )  [inline, static]

Definition at line 165 of file golomb.h.

Referenced by svq3_decode_mb(), and svq3_mc_dir().

static int dirac_get_se_golomb ( GetBitContext gb  )  [inline, static]

Definition at line 198 of file golomb.h.

static int get_ur_golomb ( GetBitContext gb,
int  k,
int  limit,
int  esc_len 
) [inline, static]

read unsigned golomb rice code (ffv1).

Definition at line 219 of file golomb.h.

Referenced by get_sr_golomb().

static int get_ur_golomb_jpegls ( GetBitContext gb,
int  k,
int  limit,
int  esc_len 
) [inline, static]

read unsigned golomb rice code (jpegls).

Definition at line 248 of file golomb.h.

Referenced by get_sr_golomb_flac(), get_sr_golomb_shorten(), get_ur_golomb_shorten(), loco_get_rice(), ls_get_code_regular(), and ls_get_code_runterm().

static int get_sr_golomb ( GetBitContext gb,
int  k,
int  limit,
int  esc_len 
) [inline, static]

read signed golomb rice code (ffv1).

Definition at line 297 of file golomb.h.

Referenced by get_vlc_symbol().

static int get_sr_golomb_flac ( GetBitContext gb,
int  k,
int  limit,
int  esc_len 
) [inline, static]

read signed golomb rice code (flac).

Definition at line 310 of file golomb.h.

Referenced by decode_residuals().

static unsigned int get_ur_golomb_shorten ( GetBitContext gb,
int  k 
) [inline, static]

read unsigned golomb rice code (shorten).

Definition at line 318 of file golomb.h.

Referenced by get_uint(), and shorten_decode_frame().

static int get_sr_golomb_shorten ( GetBitContext gb,
int  k 
) [inline, static]

read signed golomb rice code (shorten).

Definition at line 325 of file golomb.h.

Referenced by decode_subframe_lpc(), and shorten_decode_frame().

static int get_ue ( GetBitContext s,
char *  file,
const char *  func,
int  line 
) [inline, static]

Definition at line 338 of file golomb.h.

static int get_se ( GetBitContext s,
char *  file,
const char *  func,
int  line 
) [inline, static]

Definition at line 352 of file golomb.h.

static int get_te ( GetBitContext s,
int  r,
char *  file,
const char *  func,
int  line 
) [inline, static]

Definition at line 366 of file golomb.h.

static void set_ue_golomb ( PutBitContext pb,
int  i 
) [inline, static]

write unsigned exp golomb code.

Definition at line 390 of file golomb.h.

Referenced by main(), set_se_golomb(), set_te_golomb(), and sonic_encode_frame().

static void set_te_golomb ( PutBitContext pb,
int  i,
int  range 
) [inline, static]

write truncated unsigned exp golomb code.

Definition at line 413 of file golomb.h.

static void set_se_golomb ( PutBitContext pb,
int  i 
) [inline, static]

write signed exp golomb code.

16 bits at most.

Definition at line 424 of file golomb.h.

Referenced by intlist_write(), and main().

static void set_ur_golomb ( PutBitContext pb,
int  i,
int  k,
int  limit,
int  esc_len 
) [inline, static]

write unsigned golomb rice code (ffv1).

Definition at line 443 of file golomb.h.

Referenced by set_sr_golomb().

static void set_ur_golomb_jpegls ( PutBitContext pb,
int  i,
int  k,
int  limit,
int  esc_len 
) [inline, static]

write unsigned golomb rice code (jpegls).

Definition at line 459 of file golomb.h.

Referenced by ls_encode_regular(), ls_encode_runterm(), and set_sr_golomb_flac().

static void set_sr_golomb ( PutBitContext pb,
int  i,
int  k,
int  limit,
int  esc_len 
) [inline, static]

write signed golomb rice code (ffv1).

Definition at line 486 of file golomb.h.

Referenced by put_vlc_symbol().

static void set_sr_golomb_flac ( PutBitContext pb,
int  i,
int  k,
int  limit,
int  esc_len 
) [inline, static]

write signed golomb rice code (flac).

Definition at line 498 of file golomb.h.

Referenced by output_residual().


Variable Documentation

const uint8_t ff_golomb_vlc_len[512]

Definition at line 31 of file golomb.c.

Referenced by get_se_golomb(), and get_ue_golomb().

const uint8_t ff_ue_golomb_vlc_code[512]

Definition at line 50 of file golomb.c.

Referenced by get_ue_golomb().

Definition at line 69 of file golomb.c.

Referenced by get_se_golomb().

const uint8_t ff_ue_golomb_len[256]

Definition at line 89 of file golomb.c.

Referenced by set_ue_golomb().

const uint8_t ff_interleaved_golomb_vlc_len[256]

Definition at line 100 of file golomb.c.

Referenced by svq3_get_se_golomb(), and svq3_get_ue_golomb().

Definition at line 119 of file golomb.c.

Referenced by svq3_get_ue_golomb().

Definition at line 138 of file golomb.c.

Referenced by svq3_get_se_golomb().

Definition at line 157 of file golomb.c.

Referenced by svq3_get_ue_golomb().


Generated on Sat Dec 18 05:15:52 2010 for MythTV by  doxygen 1.5.5