#include "global.h"
#include "rdopt_coding_state.h"
#include "cabac.h"
Go to the source code of this file.
Functions | |
void | delete_coding_state (CSobj *cs) |
CSobj * | create_coding_state (InputParameters *p_Inp) |
static void | store_coding_state_nordo (Macroblock *currMB, CSobj *cs) |
static void | store_coding_state_cavlc (Macroblock *currMB, CSobj *cs) |
static void | store_coding_state_cabac (Macroblock *currMB, CSobj *cs) |
static void | reset_coding_state_nordo (Macroblock *currMB, CSobj *cs) |
static void | reset_coding_state_cavlc (Macroblock *currMB, CSobj *cs) |
static void | reset_coding_state_cabac (Macroblock *currMB, CSobj *cs) |
void | init_coding_state_methods (Slice *currSlice) |
Definition in file rdopt_coding_state.c.
CSobj* create_coding_state | ( | InputParameters * | p_Inp | ) |
create structure for storing coding state
create structure
Definition at line 54 of file rdopt_coding_state.c.
References create_contexts_MotionInfo(), create_contexts_TextureInfo(), no_mem_exit(), inp_par_enc::partition_mode, and inp_par_enc::symbol_mode.
Referenced by init_rdopt().
void delete_coding_state | ( | CSobj * | cs | ) |
delete structure for storing coding state
delete structure
Definition at line 29 of file rdopt_coding_state.c.
References delete_contexts_MotionInfo(), and delete_contexts_TextureInfo().
Referenced by clear_rdopt().
void init_coding_state_methods | ( | Slice * | currSlice | ) |
Select methods given entropy coding type.
Init methods given entropy coding.
Definition at line 259 of file rdopt_coding_state.c.
References reset_coding_state_cabac(), reset_coding_state_cavlc(), reset_coding_state_nordo(), store_coding_state_cabac(), store_coding_state_cavlc(), and store_coding_state_nordo().
Referenced by init_slice().
static void reset_coding_state_cabac | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
restore coding state (for rd-optimized mode decision)
Definition at line 217 of file rdopt_coding_state.c.
References macroblock::mb_type, slice::mot_ctx, macroblock::mvd, macroblock::p_slice, slice::partArr, and slice::tex_ctx.
Referenced by init_coding_state_methods().
static void reset_coding_state_cavlc | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
restore coding state (for rd-optimized mode decision)
Definition at line 185 of file rdopt_coding_state.c.
References macroblock::mb_type, macroblock::mvd, macroblock::p_slice, and slice::partArr.
Referenced by init_coding_state_methods().
static void reset_coding_state_nordo | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
restore coding state (for non rdo case. basically a dummy function)
Definition at line 175 of file rdopt_coding_state.c.
Referenced by init_coding_state_methods().
static void store_coding_state_cabac | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
store cabac coding state (for rd-optimized mode decision)
Definition at line 138 of file rdopt_coding_state.c.
References macroblock::mb_type, slice::mot_ctx, macroblock::mvd, macroblock::p_slice, slice::partArr, and slice::tex_ctx.
Referenced by init_coding_state_methods().
static void store_coding_state_cavlc | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
store cavlc coding state (for rd-optimized mode decision)
Definition at line 108 of file rdopt_coding_state.c.
References macroblock::mb_type, macroblock::mvd, macroblock::p_slice, and slice::partArr.
Referenced by init_coding_state_methods().
static void store_coding_state_nordo | ( | Macroblock * | currMB, | |
CSobj * | cs | |||
) | [static] |
store coding state (for non rdo case. basically a dummy function)
Definition at line 97 of file rdopt_coding_state.c.
Referenced by init_coding_state_methods().