#include "contributors.h"
#include "global.h"
#include "enc_statistics.h"


Go to the source code of this file.
Functions | |
| void | report (ImageParameters *img, InputParameters *params, StatParameters *stats) |
| void | information_init (ImageParameters *img, InputParameters *params, StatParameters *stats) |
| void | report_frame_statistic (void) |
| void | report_stats_on_error (void) |
Definition in file report.h.
| void information_init | ( | ImageParameters * | img, | |
| InputParameters * | params, | |||
| StatParameters * | stats | |||
| ) |
Prints the header of the protocol.
Definition at line 863 of file report.c.
References InputParameters::B_List0_refs, InputParameters::B_List1_refs, InputParameters::BRefPictures, InputParameters::ChromaMEEnable, InputParameters::Distortion, EPZSOutputStats(), InputParameters::full_search, ImageParameters::height, InputParameters::HierarchicalCoding, InputParameters::input_file1, InputParameters::intra_upd, InputParameters::LevelIDC, InputParameters::MbInterlace, InputParameters::MEErrorMetric, InputParameters::ModeDecisionMetric, InputParameters::no_frm_base, InputParameters::num_ref_frames, InputParameters::NumberBFrames, InputParameters::of_mode, InputParameters::outfile, InputParameters::output, p_dec, InputParameters::P_List0_refs, PAR_DP_1, PAR_DP_3, PAR_OF_ANNEXB, PAR_OF_RTP, InputParameters::partition_mode, InputParameters::PicInterlace, InputParameters::ProfileIDC, InputParameters::qp, InputParameters::qpBRSOffset, InputParameters::qpsp, InputParameters::rdopt, InputParameters::ReconFile, InputParameters::search_range, InputParameters::SearchMode, InputParameters::sp_periodicity, InputParameters::symbol_mode, InputParameters::Transform8x8Mode, InputParameters::Verbose, ImageParameters::width, and ImageParameters::yuv_format.
Referenced by init_encoder().

| void report | ( | ImageParameters * | img, | |
| InputParameters * | params, | |||
| StatParameters * | stats | |||
| ) |
Reports the gathered information to appropriate outputs.
Currently adding NVB bits on P rate. Maybe additional stats info should be created instead and added in log file
Definition at line 651 of file report.c.
References DistMetric::average, InputParameters::Distortion, InputParameters::DistortionYUVtoRGB, errortext, ET_SIZE, ImageParameters::max_imgpel_value_comp_sq, InputParameters::output, p_log, report_log_mode(), report_stats(), InputParameters::ReportFrameStats, InputParameters::sp_periodicity, and InputParameters::Verbose.
Referenced by free_encoder_memory().

| void report_frame_statistic | ( | void | ) |
Reports frame statistical data to a stats file.
Definition at line 48 of file report.c.
References error(), errortext, ET_SIZE, ImageParameters::frame_no, ImageParameters::frame_num, ImageParameters::frm_number, InputParameters::input_file1, InputParameters::MbInterlace, InputParameters::PicInterlace, ImageParameters::qp, and storable_picture::stats.
Referenced by encode_sequence().

| void report_stats_on_error | ( | void | ) |
Terminates and reports statistics on error.
Definition at line 240 of file report.c.
References free_encoder_memory(), ImageParameters::frm_number, and InputParameters::no_frm_base.
Referenced by OpenExplicitSeqFile(), OpenFrameFile(), ReadCharField(), ReadExplicitSeqFile(), ReadFrameData(), ReadIntField(), and ReadTIFFImage().
