Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f0d02027
Commit
f0d02027
authored
Aug 21, 2013
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visu: fix the scope visualization drawing.
parent
fe0d4afb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/visualization/visual/effects.c
modules/visualization/visual/effects.c
+3
-3
No files found.
modules/visualization/visual/effects.c
View file @
f0d02027
...
...
@@ -855,8 +855,8 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
for
(
int
j
=
0
;
j
<
3
;
j
++
)
{
ppp_area
[
i_index
][
j
]
=
p_picture
->
p
[
j
].
p_pixels
+
i_index
*
p_picture
->
p
[
j
].
i_lines
/
2
*
p_picture
->
p
[
j
].
i_pitch
;
p_picture
->
p
[
j
].
p_pixels
+
(
i_index
*
2
+
1
)
*
p_picture
->
p
[
j
].
i_lines
/
4
*
p_picture
->
p
[
j
].
i_pitch
;
}
}
...
...
@@ -864,7 +864,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
i_index
<
__MIN
(
p_effect
->
i_width
,
(
int
)
p_buffer
->
i_nb_samples
);
i_index
++
)
{
u
int8_t
i_value
;
int8_t
i_value
;
/* Left channel */
i_value
=
p_sample
[
p_effect
->
i_idx_left
]
*
127
;
...
...
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