report.h File Reference

headers for frame format related information More...

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

Include dependency graph for report.h:

This graph shows which files directly or indirectly include this file:

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)


Detailed Description

headers for frame format related information

Author:

Definition in file report.h.


Function Documentation

void information_init ( ImageParameters *  img,
InputParameters *  params,
StatParameters *  stats 
)

void report ( ImageParameters *  img,
InputParameters *  params,
StatParameters *  stats 
)

Reports the gathered information to appropriate outputs.

Input:
struct inp_par *inp,
ImageParameters *img,
struct stat_par *stats,
Output:
None

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

Here is the call graph for this function:

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

Here is the call graph for this function:

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

Here is the call graph for this function:


Documentation generated with DoxyGen