
Go to the source code of this file.
Data Structures | |
| struct | CSobj |
Typedefs | |
| typedef CSobj * | CSptr |
Functions | |
| void | delete_coding_state (CSptr) |
| CSptr | create_coding_state (void) |
| void | store_coding_state (Slice *currSlice, Macroblock *currMB, CSptr) |
| void | reset_coding_state (Slice *currSlice, Macroblock *currMB, CSptr) |
Definition in file rdopt_coding_state.h.
| CSptr create_coding_state | ( | void | ) |
create structure
Definition at line 53 of file rdopt_coding_state.c.
References create_contexts_MotionInfo(), create_contexts_TextureInfo(), no_mem_exit(), InputParameters::partition_mode, and InputParameters::symbol_mode.
Referenced by init_rdopt().

| void delete_coding_state | ( | CSptr | cs | ) |
delete structure
Definition at line 28 of file rdopt_coding_state.c.
References delete_contexts_MotionInfo(), and delete_contexts_TextureInfo().
Referenced by clear_rdopt().

| void reset_coding_state | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| CSptr | cs | |||
| ) |
restore parameters
Definition at line 145 of file rdopt_coding_state.c.
References macroblock::bitcounter, datapartition::bitstream, macroblock::cbp_bits, macroblock::cbp_bits_8x8, ImageParameters::currentPicture, datapartition::ee_cabac, Slice::mot_ctx, macroblock::mvd, ImageParameters::P444_joined, Slice::partArr, InputParameters::rdopt, and Slice::tex_ctx.
Referenced by encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), Mode_Decision_for_4x4IntraBlocks_JM_High(), RDCost_for_macroblocks(), reset_coding_state_cs_cm(), submacroblock_mode_decision(), and submacroblock_mode_decision_low().
| void store_coding_state | ( | Slice * | currSlice, | |
| Macroblock * | currMB, | |||
| CSptr | cs | |||
| ) |
store parameters
Definition at line 98 of file rdopt_coding_state.c.
References macroblock::bitcounter, datapartition::bitstream, macroblock::cbp_bits, macroblock::cbp_bits_8x8, ImageParameters::currentPicture, datapartition::ee_cabac, Slice::mot_ctx, macroblock::mvd, ImageParameters::P444_joined, Slice::partArr, InputParameters::rdopt, and Slice::tex_ctx.
Referenced by encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), RDCost_for_macroblocks(), store_coding_state_cs_cm(), submacroblock_mode_decision(), and submacroblock_mode_decision_low().