report.c File Reference

Report related files(). More...

#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"

Include dependency graph for report.c:

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]


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

Here is the call graph for this function:

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

Here is the call graph for this function:

void report_stats ( InputParameters *  params,
StatParameters *  stats,
int64  bit_use[NUM_SLICE_TYPES][2] 
)

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:


Variable Documentation

Co_located to be used during 4:4:4 independent mode encoding.

Definition at line 42 of file mbuffer.c.


Documentation generated with DoxyGen