explicit_seq.c File Reference

Support for explicit coding order/structure support. More...

#include "contributors.h"
#include "global.h"
#include "report.h"
#include "explicit_seq.h"

Include dependency graph for explicit_seq.c:

Go to the source code of this file.

Functions

static int ReadTextField (FILE *expSeqFile, char *keyword)
void ReadIntField (FILE *expSeqFile, char *format, char *keyword, int *value)
void ReadCharField (FILE *expSeqFile, char *format, char *keyword, char *value)
static void ParseSliceType (char *slice_type, ExpFrameInfo *info, int coding_index)
static void ParseReferenceIDC (int reference_idc, int coding_index)
static void ParseSeqNumber (int seq_number, ExpSeqInfo *seq_info, int coding_index)
void ReadFrameData (FILE *expSeqFile, ExpSeqInfo *seq_info, int coding_index)
void ReadExplicitSeqFile (ExpSeqInfo *seq_info, FILE *expSFile, int coding_index)
void ExplicitUpdateImgParams (ExpFrameInfo *info, ImageParameters *p_Img, InputParameters *p_Inp)
void OpenExplicitSeqFile (ImageParameters *p_Img, InputParameters *p_Inp)
void CloseExplicitSeqFile (ImageParameters *p_Img)


Detailed Description

Support for explicit coding order/structure support.

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

Definition in file explicit_seq.c.


Function Documentation

void CloseExplicitSeqFile ( ImageParameters p_Img  ) 

Close explicit sequence information file.

Definition at line 345 of file explicit_seq.c.

Referenced by free_encoder_memory().

void ExplicitUpdateImgParams ( ExpFrameInfo *  info,
ImageParameters p_Img,
InputParameters p_Inp 
)

Read one picture from explicit sequence information file.

Definition at line 280 of file explicit_seq.c.

References img_par::bottompoc, img_par::framepoc, img_par::gop_number, img_par::number, set_slice_type(), img_par::start_frame_no, and img_par::toppoc.

Referenced by encode_sequence().

Here is the call graph for this function:

void OpenExplicitSeqFile ( ImageParameters p_Img,
InputParameters p_Inp 
)

Open explicit sequence information file.

Definition at line 307 of file explicit_seq.c.

References ReadIntField(), ReadTextField(), and report_stats_on_error().

Referenced by init_encoder().

Here is the call graph for this function:

void ReadCharField ( FILE *  expSeqFile,
char *  format,
char *  keyword,
char *  value 
)

Read one Field of String type.

Definition at line 96 of file explicit_seq.c.

References error(), and report_stats_on_error().

Here is the call graph for this function:

void ReadExplicitSeqFile ( ExpSeqInfo *  seq_info,
FILE *  expSFile,
int  coding_index 
)

Read one picture from explicit sequence information file.

Definition at line 259 of file explicit_seq.c.

References ReadFrameData(), ReadTextField(), and report_stats_on_error().

Referenced by encode_sequence().

Here is the call graph for this function:

void ReadFrameData ( FILE *  expSeqFile,
ExpSeqInfo *  seq_info,
int  coding_index 
)

Read Frame information.

Definition at line 193 of file explicit_seq.c.

References error(), ReadTextField(), and report_stats_on_error().

Referenced by ReadExplicitSeqFile().

Here is the call graph for this function:

void ReadIntField ( FILE *  expSeqFile,
char *  format,
char *  keyword,
int *  value 
)

Read one Field of Integer type.

Definition at line 65 of file explicit_seq.c.

References error(), and report_stats_on_error().

Referenced by OpenExplicitSeqFile().

Here is the call graph for this function:

static int ReadTextField ( FILE *  expSeqFile,
char *  keyword 
) [static]

Read one Text Field.

Definition at line 25 of file explicit_seq.c.

References error().

Referenced by OpenExplicitSeqFile(), ReadExplicitSeqFile(), and ReadFrameData().

Here is the call graph for this function:


Documentation generated with DoxyGen