mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
add a DVB-S2 22 MSymb mode
This commit is contained in:
parent
2c6530aa8d
commit
a5d0a9718b
@ -1519,6 +1519,7 @@ static int mod3_set_sample_rate(struct ddb_mod *mod, u32 rate)
|
||||
u32 cic, inc;
|
||||
|
||||
switch (rate) {
|
||||
/* 2^31 * freq*4*cic / 245.76Mhz */
|
||||
case SYS_DVBT_6:
|
||||
inc = 1917396114;
|
||||
cic = 8;
|
||||
@ -1536,6 +1537,10 @@ static int mod3_set_sample_rate(struct ddb_mod *mod, u32 rate)
|
||||
inc = 1988410754;
|
||||
cic = 7;
|
||||
break;
|
||||
case SYS_DVBS2_22:
|
||||
inc = 1922389333;
|
||||
cic = 5;
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
@ -41,6 +41,7 @@ enum mod_output_rate {
|
||||
SYS_DVBT_7,
|
||||
SYS_DVBT_8,
|
||||
SYS_ISDBT_6 = 16,
|
||||
SYS_DVBS2_22 = 32,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user