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

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 |
Definition in file explicit_seq.c.
| 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 | |||
| ) |
Read one picture from explicit sequence information file.
Definition at line 283 of file explicit_seq.c.
References ImageParameters::bottompoc, ImageParameters::delta_pic_order_cnt, ImageParameters::frame_no, ImageParameters::framepoc, ImageParameters::frm_no_in_file, ImageParameters::frm_number, ImageParameters::gop_number, ImageParameters::nal_reference_idc, ImageParameters::number, set_slice_type(), ImageParameters::start_frame_no, and ImageParameters::toppoc.
Referenced by encode_sequence().

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

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

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

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

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

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