49 lines
1.1 KiB
C
49 lines
1.1 KiB
C
#ifndef __UTIL_h__
|
|
#define __UTIL_h__
|
|
|
|
#include <stdint.h>
|
|
#include "typedef.h"
|
|
|
|
|
|
struct dibDVBSignalStatus
|
|
{
|
|
uint8_t mpeg_data_lock;
|
|
uint8_t signal_strength;
|
|
uint8_t tps_dec_lock; /* r535: 5 */
|
|
uint8_t tps_sync_lock; /* r535: 4 */
|
|
uint8_t tps_data_lock; /* r535: 3 */
|
|
uint8_t tps_cellid_lock; /* r535: 1 */
|
|
|
|
uint32_t bit_error_rate;
|
|
|
|
uint32_t wgn_fp; /* dB = 10*log10(wgn_fp/2^32) */
|
|
uint32_t sig_fp; /* dB = 10*log10(sig_fp/2^32) */
|
|
|
|
uint16_t V_agc_1;
|
|
uint16_t V_agc_2;
|
|
uint16_t rf_power;
|
|
uint16_t mer;
|
|
|
|
int freq;
|
|
int bw;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct decoce_param {
|
|
int vout; //0:LCD/TV, 1:HDMI
|
|
int llc; //0:normal video link. 1:robust video link
|
|
int freq; //freq in KHz
|
|
int bw; //bandwidth in KHz
|
|
int wr_file; //1:write file
|
|
int timestamp; //0:pass timestamp handle, 1 smooth out
|
|
int cache_ms; //buffer time in ms
|
|
int osd;
|
|
//uint8_t *password;
|
|
char *password;
|
|
};
|
|
|
|
|
|
#endif // __UTIL_h__
|