📄 loss_generator.h
字号:
/*
==========================================================================================
ITU-T Telecommunications Standardization Sector Document: VCEG-M77
Study Group 16 Question 6 Filename: loss_generator.h
Video Coding Experts Group (VCEG) Generated: 27 June, 2001
----------------------------------------
Thirteenth meeting: Austin, Texas, 2-4 April, 2001
Intention:
~~~~~~~~~~~~
Simple offline software simulator for RTP/IP over 3GPP/3GPP2 bearers
Source:
~~~~~~~
Thomas Stockhammer, Guenther Liebl Tel: +49 89 28923473
Institute for Communications Engineering Fax: +49 89 28923490
Munich University of Technology Email: {stockhammer,liebl}@ei.tum.de
80290 Munich, Germany
==========================================================================================
*/
#ifndef LOSS_GENERATOR_H
#define LOSS_GENERATOR_H
#include "global.h"
class LOSS_GENERATOR
{
public:
LOSS_GENERATOR();
~LOSS_GENERATOR();
void initialize(FILE *ParameterFile_ptr, FILE* CommonLogFile_ptr);
Boolean bit_error_indication(int32 frame_size);
void write_statistics(FILE *StatisticsFile_ptr);
private:
char *ModuleName;
FILE *LogFile_ptr;
char ErrorPatternFile[100];
FILE *ErrorPatternFile_ptr;
byte *bit_error_pattern;
int32 pattern_length;
int32 pattern_start_position;
int32 pattern_read_position;
int32 total_bits_counter;
int32 total_erroneous_bits_counter;
double bit_error_rate;
int32 total_frames_counter;
int32 total_erroneous_frames_counter;
double frame_error_rate;
};
#endif // LOSS_GENERATOR_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -