
Go to the source code of this file.
Functions | |
| void | init_gop_structure (InputParameters *pparams) |
| void | interpret_gop_structure (void) |
| void | create_hierarchy (InputParameters *pparams) |
| void | clear_gop_structure (void) |
Definition in file explicit_gop.h.
| void clear_gop_structure | ( | void | ) |
Clear GOP structure.
Definition at line 142 of file explicit_gop.c.
Referenced by free_encoder_memory(), and prepare_first_layer().
| void create_hierarchy | ( | InputParameters * | pparams | ) |
Generation of hierarchical GOP.
Definition at line 31 of file explicit_gop.c.
References GOP_DATA::display_no, ImageParameters::GopLevels, InputParameters::HierarchicalCoding, GOP_DATA::hierarchy_layer, InputParameters::HierarchyLevelQPEnable, no_mem_exit(), InputParameters::NumberBFrames, InputParameters::PReplaceBSlice, InputParameters::qp, InputParameters::qpBRSOffset, GOP_DATA::reference_idc, GOP_DATA::slice_qp, and GOP_DATA::slice_type.
Referenced by init_encoder(), and prepare_first_layer().

| void init_gop_structure | ( | InputParameters * | pparams | ) |
Initialization of GOP structure.
Definition at line 126 of file explicit_gop.c.
References no_mem_exit(), and InputParameters::NumberBFrames.
Referenced by init_encoder(), and prepare_first_layer().

| void interpret_gop_structure | ( | void | ) |
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 ImageParameters::bitdepth_luma_qp_scale, GOP_DATA::display_no, error(), errortext, ET_SIZE, InputParameters::ExplicitHierarchyFormat, ImageParameters::GopLevels, GOP_DATA::hierarchy_layer, InputParameters::NumberBFrames, InputParameters::qp, GOP_DATA::reference_idc, GOP_DATA::slice_qp, and GOP_DATA::slice_type.
Referenced by init_encoder().
