Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
965e16f8
Commit
965e16f8
authored
Aug 02, 2013
by
Jean-Baptiste Kempf
Browse files
Revert "Fix scope alignment"
This reverts commit
e61ba5a7
.
parent
0991b589
Changes
1
Show whitespace changes
Inline
Side-by-side
modules/visualization/visual/effects.c
View file @
965e16f8
...
@@ -867,7 +867,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
...
@@ -867,7 +867,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
uint8_t
i_value
;
uint8_t
i_value
;
/* Left channel */
/* Left channel */
i_value
=
(
1
.
0
+
p_sample
[
p_effect
->
i_idx_left
]
)
*
127
;
i_value
=
p_sample
[
p_effect
->
i_idx_left
]
*
127
;
*
(
ppp_area
[
0
][
0
]
*
(
ppp_area
[
0
][
0
]
+
p_picture
->
p
[
0
].
i_pitch
*
i_index
/
p_effect
->
i_width
+
p_picture
->
p
[
0
].
i_pitch
*
i_index
/
p_effect
->
i_width
+
p_picture
->
p
[
0
].
i_lines
*
i_value
/
512
+
p_picture
->
p
[
0
].
i_lines
*
i_value
/
512
...
@@ -879,7 +879,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
...
@@ -879,7 +879,7 @@ static int scope_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
/* Right channel */
/* Right channel */
i_value
=
(
1
.
0
+
p_sample
[
p_effect
->
i_idx_right
]
)
*
127
;
i_value
=
p_sample
[
p_effect
->
i_idx_right
]
*
127
;
*
(
ppp_area
[
1
][
0
]
*
(
ppp_area
[
1
][
0
]
+
p_picture
->
p
[
0
].
i_pitch
*
i_index
/
p_effect
->
i_width
+
p_picture
->
p
[
0
].
i_pitch
*
i_index
/
p_effect
->
i_width
+
p_picture
->
p
[
0
].
i_lines
*
i_value
/
512
+
p_picture
->
p
[
0
].
i_lines
*
i_value
/
512
...
...
Write
Preview
Supports
Markdown
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