#include "contributors.h"
#include <time.h>
#include <math.h>
#include <sys/timeb.h>
#include "global.h"
#include "context_ini.h"
#include "explicit_gop.h"
#include "filehandle.h"
#include "fmo.h"
#include "image.h"
#include "intrarefresh.h"
#include "leaky_bucket.h"
#include "me_epzs.h"
#include "output.h"
#include "parset.h"
#include "report.h"

Go to the source code of this file.
Functions | |
| void | Clear_Motion_Search_Module (void) |
| void | report_log_mode (InputParameters *params, StatParameters *stats, int64 bit_use[NUM_SLICE_TYPES][2]) |
| void | report_frame_statistic () |
| double | report_slice_pred_stats (FILE *p_stat, StatParameters *stats, int slice_type, double bit_use, char *slice_name) |
| void | report_stats_on_error (void) |
| void | report_stats (InputParameters *params, StatParameters *stats, int64 bit_use[NUM_SLICE_TYPES][2]) |
| void | report_log (InputParameters *params, StatParameters *stats) |
| void | report (ImageParameters *img, InputParameters *params, StatParameters *stats) |
| void | information_init (ImageParameters *img, InputParameters *params, StatParameters *stats) |
Variables | |
| StatParameters | statistics |
| StatParameters * | stats = &statistics |
| DistortionParams | distortions |
| DistortionParams * | dist = &distortions |
| static char | DistortionType [3][20] = {"SAD", "SSE", "Hadamard SAD"} |
| int | frame_statistic_start |
| ColocatedParams * | Co_located |
| ColocatedParams * | Co_located_JV [MAX_PLANE] |
Definition in file report.c.
| void Clear_Motion_Search_Module | ( | void | ) |
Free memory used by motion search.
Definition at line 623 of file mv-search.c.
References ClearFastFullIntegerSearch(), free_mem4Dint(), InputParameters::IntraProfile, and InputParameters::SearchMode.

| 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_log_mode | ( | InputParameters * | params, | |
| StatParameters * | stats, | |||
| int64 | bit_use[NUM_SLICE_TYPES][2] | |||
| ) |
Report mode distribution of the sequence to log_mode.dat.
< status file for the last encoding session
Definition at line 1069 of file report.c.
References error(), errortext, ET_SIZE, InputParameters::input_file1, and ImageParameters::qp.
Referenced by report().

| void report_stats | ( | InputParameters * | params, | |
| StatParameters * | stats, | |||
| int64 | bit_use[NUM_SLICE_TYPES][2] | |||
| ) |
< status file for the last encoding session
Definition at line 248 of file report.c.
References InputParameters::B_List0_refs, InputParameters::B_List1_refs, InputParameters::ChromaMEEnable, EPZSOutputStats(), error(), errortext, ET_SIZE, InputParameters::full_search, InputParameters::input_file1, InputParameters::intra_upd, InputParameters::LevelIDC, InputParameters::MbInterlace, InputParameters::MEErrorMetric, InputParameters::ModeDecisionMetric, InputParameters::num_ref_frames, InputParameters::output, InputParameters::P_List0_refs, InputParameters::ProfileIDC, InputParameters::rdopt, InputParameters::search_range, InputParameters::SearchMode, InputParameters::StatsFile, and InputParameters::symbol_mode.
Referenced by report().

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

| ColocatedParams* Co_located_JV[MAX_PLANE] |