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
728866a8
Commit
728866a8
authored
May 15, 2011
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
posterize: remove unused variable (set but not used)
parent
01cf7007
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
modules/codec/libass.c
modules/codec/libass.c
+1
-2
modules/video_filter/posterize.c
modules/video_filter/posterize.c
+2
-4
No files found.
modules/codec/libass.c
View file @
728866a8
...
...
@@ -441,7 +441,6 @@ static void SubpictureUpdate( subpicture_t *p_subpic,
}
/* Allocate the regions and draw them */
subpicture_region_t
*
pp_region
[
i_max_region
];
subpicture_region_t
**
pp_region_last
=
&
p_subpic
->
p_region
;
for
(
int
i
=
0
;
i
<
i_region
;
i
++
)
...
...
@@ -456,7 +455,7 @@ static void SubpictureUpdate( subpicture_t *p_subpic,
fmt_region
.
i_height
=
fmt_region
.
i_visible_height
=
region
[
i
].
y1
-
region
[
i
].
y0
;
pp_region
[
i
]
=
r
=
subpicture_region_New
(
&
fmt_region
);
r
=
subpicture_region_New
(
&
fmt_region
);
if
(
!
r
)
break
;
r
->
i_x
=
region
[
i
].
x0
;
...
...
modules/video_filter/posterize.c
View file @
728866a8
...
...
@@ -279,7 +279,7 @@ static void PlanarYUVPosterize( picture_t *p_pic, picture_t *p_outpic,
*****************************************************************************/
static
void
PackedYUVPosterize
(
picture_t
*
p_pic
,
picture_t
*
p_outpic
,
int
i_level
)
{
uint8_t
*
p_in
,
*
p_in_end
,
*
p_line_
start
,
*
p_line_
end
,
*
p_out
;
uint8_t
*
p_in
,
*
p_in_end
,
*
p_line_end
,
*
p_out
;
uint8_t
y1
,
y2
,
u
,
v
;
p_in
=
p_pic
->
p
[
0
].
p_pixels
;
...
...
@@ -289,7 +289,6 @@ static void PackedYUVPosterize( picture_t *p_pic, picture_t *p_outpic, int i_lev
while
(
p_in
<
p_in_end
)
{
p_line_start
=
p_in
;
p_line_end
=
p_in
+
p_pic
->
p
[
0
].
i_visible_pitch
;
while
(
p_in
<
p_line_end
)
{
...
...
@@ -374,7 +373,7 @@ static void PackedYUVPosterize( picture_t *p_pic, picture_t *p_outpic, int i_lev
static
void
RVPosterize
(
picture_t
*
p_pic
,
picture_t
*
p_outpic
,
bool
rv32
,
int
level
)
{
uint8_t
*
p_in
,
*
p_in_end
,
*
p_line_
start
,
*
p_line_
end
,
*
p_out
,
pixel
;
uint8_t
*
p_in
,
*
p_in_end
,
*
p_line_end
,
*
p_out
,
pixel
;
p_in
=
p_pic
->
p
[
0
].
p_pixels
;
p_in_end
=
p_in
+
p_pic
->
p
[
0
].
i_visible_lines
...
...
@@ -383,7 +382,6 @@ static void RVPosterize( picture_t *p_pic, picture_t *p_outpic,
while
(
p_in
<
p_in_end
)
{
p_line_start
=
p_in
;
p_line_end
=
p_in
+
p_pic
->
p
[
0
].
i_visible_pitch
;
while
(
p_in
<
p_line_end
)
{
...
...
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