report.c File Reference

Report related files(). More...

#include "contributors.h"
#include <time.h>
#include <math.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 "me_epzs_int.h"
#include "output.h"
#include "parset.h"
#include "report.h"

Include dependency graph for report.c:

Go to the source code of this file.

Functions

void report_log_mode (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats)
void report_frame_statistic (ImageParameters *p_Img, InputParameters *p_Inp)
double report_slice_pred_stats (FILE *p_stat, StatParameters *p_Stats, int slice_type, double bit_use, char *slice_name)
void report_stats_on_error (void)
void report_stats (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats, int64 bit_use[NUM_SLICE_TYPES][2])
void report_log (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats)
void report (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats)
void information_init (ImageParameters *p_Img, InputParameters *p_Inp, StatParameters *p_Stats)

Variables

static const char DistortionType [3][20] = {"SAD", "SSE", "Hadamard SAD"}


Detailed Description

Report related files().

report.c

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file report.c.


Function Documentation

void information_init ( ImageParameters p_Img,
InputParameters p_Inp,
StatParameters *  p_Stats 
)

void report ( ImageParameters p_Img,
InputParameters p_Inp,
StatParameters *  p_Stats 
)

Reports the gathered information to appropriate outputs.

Input:
InputParameters *inp,
ImageParameters *p_Img,
struct stat_par *p_Stats,
Output:
None

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

Here is the call graph for this function:

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

Here is the call graph for this function:

void report_log_mode ( ImageParameters p_Img,
InputParameters p_Inp,
StatParameters *  p_Stats 
)

Report mode distribution of the sequence to log_mode.dat.

< status file for the last encoding session

Definition at line 1088 of file report.c.

References error(), errortext, ET_SIZE, inp_par_enc::input_file1, and img_par::qp.

Referenced by report().

Here is the call graph for this function:

void report_stats ( ImageParameters p_Img,
InputParameters p_Inp,
StatParameters *  p_Stats,
int64  bit_use[NUM_SLICE_TYPES][2] 
)

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

Here is the call graph for this function:


Documentation generated with DoxyGen