Go to the source code of this file.
Functions | |
void | init_gop_structure (ImageParameters *p_Img, InputParameters *p_Inp) |
void | interpret_gop_structure (ImageParameters *p_Img, InputParameters *p_Inp) |
void | create_hierarchy (ImageParameters *p_Img, InputParameters *p_Inp) |
void | clear_gop_structure (ImageParameters *p_Img) |
Definition in file explicit_gop.h.
void clear_gop_structure | ( | ImageParameters * | p_Img | ) |
Clear GOP structure.
Definition at line 142 of file explicit_gop.c.
Referenced by free_encoder_memory(), and prepare_first_layer().
void create_hierarchy | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp | |||
) |
Generation of hierarchical GOP.
Definition at line 31 of file explicit_gop.c.
References GOP_DATA::display_no, GOP_DATA::hierarchy_layer, no_mem_exit(), inp_par_enc::NumberBFrames, inp_par_enc::qp, inp_par_enc::qpBRSOffset, GOP_DATA::reference_idc, and GOP_DATA::slice_qp.
Referenced by init_encoder(), and prepare_first_layer().
void init_gop_structure | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp | |||
) |
Initialization of GOP structure.
Definition at line 126 of file explicit_gop.c.
References no_mem_exit(), and inp_par_enc::NumberBFrames.
Referenced by init_encoder(), and prepare_first_layer().
void interpret_gop_structure | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp | |||
) |
Interpret GOP struct from input parameters.
First lets read slice type
Next is Display Order
Definition at line 155 of file explicit_gop.c.
References GOP_DATA::display_no, error(), errortext, ET_SIZE, inp_par_enc::ExplicitHierarchyFormat, GOP_DATA::hierarchy_layer, inp_par_enc::NumberBFrames, inp_par_enc::qp, GOP_DATA::reference_idc, and GOP_DATA::slice_qp.
Referenced by init_encoder().