explicit_gop.c File Reference

Code for explicit gop support and hierarchical coding. More...

#include "contributors.h"
#include <ctype.h>
#include <limits.h>
#include "global.h"
#include "explicit_gop.h"
#include "image.h"
#include "nalucommon.h"
#include "report.h"

Include dependency graph for explicit_gop.c:

Go to the source code of this file.

Functions

void create_hierarchy (ImageParameters *p_Img, InputParameters *p_Inp)
void init_gop_structure (ImageParameters *p_Img, InputParameters *p_Inp)
void clear_gop_structure (ImageParameters *p_Img)
void interpret_gop_structure (ImageParameters *p_Img, InputParameters *p_Inp)


Detailed Description

Code for explicit gop support and hierarchical coding.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file explicit_gop.c.


Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Documentation generated with DoxyGen