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, int coding_index)
void ExplicitUpdateImgParams (ExpFrameInfo *info, ImageParameters *p_img)
void OpenExplicitSeqFile (InputParameters *pparams)
void CloseExplicitSeqFile (void)

Variables

FILE * expSFile = NULL
ExpSeqInfo * expSeq = NULL


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

Close explicit sequence information file.

Definition at line 348 of file explicit_seq.c.

Referenced by free_encoder_memory().

void ExplicitUpdateImgParams ( ExpFrameInfo *  info,
ImageParameters *  p_img 
)

void OpenExplicitSeqFile ( InputParameters *  pparams  ) 

Open explicit sequence information file.

Definition at line 310 of file explicit_seq.c.

References InputParameters::ExplicitSeqFile, 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 99 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,
int  coding_index 
)

Read one picture from explicit sequence information file.

Definition at line 262 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 196 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 68 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 28 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