Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
62e01604
Commit
62e01604
authored
Jul 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DTV: fix frequencies above 4 GHz
parent
13a18933
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
modules/access/dtv/access.c
modules/access/dtv/access.c
+9
-9
No files found.
modules/access/dtv/access.c
View file @
62e01604
...
@@ -344,7 +344,7 @@ struct access_sys_t
...
@@ -344,7 +344,7 @@ struct access_sys_t
struct
delsys
struct
delsys
{
{
int
(
*
setup
)
(
vlc_object_t
*
,
dvb_device_t
*
,
u
nsigned
freq
);
int
(
*
setup
)
(
vlc_object_t
*
,
dvb_device_t
*
,
u
int64_t
freq
);
/* TODO: scan stuff */
/* TODO: scan stuff */
};
};
...
@@ -687,7 +687,7 @@ static unsigned var_InheritGuardInterval (vlc_object_t *obj)
...
@@ -687,7 +687,7 @@ static unsigned var_InheritGuardInterval (vlc_object_t *obj)
/*** ATSC ***/
/*** ATSC ***/
static
int
atsc_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
atsc_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
...
@@ -696,7 +696,7 @@ static int atsc_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
...
@@ -696,7 +696,7 @@ static int atsc_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
const
delsys_t
atsc
=
{
.
setup
=
atsc_setup
};
const
delsys_t
atsc
=
{
.
setup
=
atsc_setup
};
static
int
cqam_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
cqam_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
...
@@ -707,7 +707,7 @@ const delsys_t cqam = { .setup = cqam_setup };
...
@@ -707,7 +707,7 @@ const delsys_t cqam = { .setup = cqam_setup };
/*** DVB-C ***/
/*** DVB-C ***/
static
int
dvbc_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
dvbc_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
...
@@ -747,7 +747,7 @@ static char var_InheritPolarization (vlc_object_t *obj)
...
@@ -747,7 +747,7 @@ static char var_InheritPolarization (vlc_object_t *obj)
return
pol
;
return
pol
;
}
}
static
int
sec_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
sec_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
char
pol
=
var_InheritPolarization
(
obj
);
char
pol
=
var_InheritPolarization
(
obj
);
unsigned
lowf
=
var_InheritInteger
(
obj
,
"dvb-lnb-low"
);
unsigned
lowf
=
var_InheritInteger
(
obj
,
"dvb-lnb-low"
);
...
@@ -757,7 +757,7 @@ static int sec_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
...
@@ -757,7 +757,7 @@ static int sec_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
return
dvb_set_sec
(
dev
,
freq
,
pol
,
lowf
,
highf
,
switchf
);
return
dvb_set_sec
(
dev
,
freq
,
pol
,
lowf
,
highf
,
switchf
);
}
}
static
int
dvbs_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
dvbs_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
uint32_t
srate
=
var_InheritInteger
(
obj
,
"dvb-srate"
);
uint32_t
srate
=
var_InheritInteger
(
obj
,
"dvb-srate"
);
...
@@ -768,7 +768,7 @@ static int dvbs_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
...
@@ -768,7 +768,7 @@ static int dvbs_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
return
ret
;
return
ret
;
}
}
static
int
dvbs2_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
dvbs2_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
...
@@ -787,7 +787,7 @@ const delsys_t dvbs2 = { .setup = dvbs2_setup };
...
@@ -787,7 +787,7 @@ const delsys_t dvbs2 = { .setup = dvbs2_setup };
/*** DVB-T ***/
/*** DVB-T ***/
static
int
dvbt_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
dvbt_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
uint32_t
fec_hp
=
var_InheritCodeRate
(
obj
,
"dvb-code-rate-hp"
);
uint32_t
fec_hp
=
var_InheritCodeRate
(
obj
,
"dvb-code-rate-hp"
);
...
@@ -800,7 +800,7 @@ static int dvbt_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
...
@@ -800,7 +800,7 @@ static int dvbt_setup (vlc_object_t *obj, dvb_device_t *dev, unsigned freq)
return
dvb_set_dvbt
(
dev
,
freq
,
mod
,
fec_hp
,
fec_lp
,
bw
,
tx
,
guard
,
h
);
return
dvb_set_dvbt
(
dev
,
freq
,
mod
,
fec_hp
,
fec_lp
,
bw
,
tx
,
guard
,
h
);
}
}
static
int
dvbt2_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
nsigned
freq
)
static
int
dvbt2_setup
(
vlc_object_t
*
obj
,
dvb_device_t
*
dev
,
u
int64_t
freq
)
{
{
const
char
*
mod
=
var_InheritModulation
(
obj
);
const
char
*
mod
=
var_InheritModulation
(
obj
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
uint32_t
fec
=
var_InheritCodeRate
(
obj
,
"dvb-fec"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment