#include "contributors.h"
#include "global.h"
#include "enc_statistics.h"
Go to the source code of this file.
Functions | |
void | report (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats) |
void | information_init (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats) |
void | report_frame_statistic (ImageParameters *p_Img, InputParameters *p_Inp) |
void | report_stats_on_error (void) |
Definition in file report.h.
void information_init | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp, | |||
StatParameters * | p_Stats | |||
) |
Prints the header of the protocol.
Definition at line 864 of file report.c.
References inp_par_enc::B_List0_refs, inp_par_enc::B_List1_refs, inp_par_enc::BRefPictures, EPZSOutputStats(), img_par::height, inp_par_enc::idr_period, inp_par_enc::input_file1, inp_par_enc::intra_period, inp_par_enc::intra_upd, inp_par_enc::LevelIDC, inp_par_enc::MbInterlace, inp_par_enc::no_frm_base, inp_par_enc::num_ref_frames, inp_par_enc::NumberBFrames, inp_par_enc::of_mode, inp_par_enc::outfile, inp_par_enc::output, img_par::p_dec, inp_par_enc::P_List0_refs, PAR_DP_1, PAR_DP_3, PAR_OF_ANNEXB, PAR_OF_RTP, inp_par_enc::partition_mode, inp_par_enc::PicInterlace, inp_par_enc::ProfileIDC, inp_par_enc::qp, inp_par_enc::qpBRSOffset, inp_par_enc::qpsp, inp_par_enc::ReconFile, inp_par_enc::search_range, inp_par_enc::sp_periodicity, inp_par_enc::symbol_mode, and img_par::width.
Referenced by init_encoder().
void report | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp, | |||
StatParameters * | p_Stats | |||
) |
Reports the gathered information to appropriate outputs.
Currently adding NVB bits on P rate. Maybe additional p_Stats info should be created instead and added in log file
Definition at line 649 of file report.c.
References distortion_metric::average, errortext, ET_SIZE, img_par::max_imgpel_value_comp_sq, inp_par_enc::output, img_par::p_log, report_log_mode(), report_stats(), and inp_par_enc::sp_periodicity.
Referenced by free_encoder_memory().
void report_frame_statistic | ( | ImageParameters * | p_Img, | |
InputParameters * | p_Inp | |||
) |
Reports frame statistical data to a stats file.
Definition at line 41 of file report.c.
References error(), errortext, ET_SIZE, img_par::frame_num, inp_par_enc::input_file1, inp_par_enc::MbInterlace, inp_par_enc::PicInterlace, and img_par::qp.
Referenced by encode_sequence().
void report_stats_on_error | ( | void | ) |
Terminates and reports statistics on error.
Definition at line 234 of file report.c.
References free_encoder_memory().
Referenced by OpenExplicitSeqFile(), OpenFrameFile(), OpenTiffFile(), ParseTIFFIFD(), ReadCharField(), ReadExplicitSeqFile(), ReadFrameData(), ReadIntField(), ReadTIFFHeader(), ReadTIFFIFDEntry(), and ReadTIFFImage().