#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, 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) |
Definition in file explicit_seq.c.
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().
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().
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().
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().
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().
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().
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().