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
6e84fd3a
Commit
6e84fd3a
authored
May 24, 2004
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed the YUY2 and RV Render() of the OSD widgets.
* Set the Id prop on this 'new' file.
parent
34da76c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
src/video_output/video_widgets.c
src/video_output/video_widgets.c
+4
-6
No files found.
src/video_output/video_widgets.c
View file @
6e84fd3a
/*****************************************************************************
* video_widgets.c : widgets manipulation functions
*****************************************************************************
* Copyright (C)
1999-
2004 VideoLAN
* Copyright (C) 2004 VideoLAN
* $Id:$
*
* Author: Yoann Peronneau <yoann@videolan.org>
...
...
@@ -145,11 +145,9 @@ static void RenderI420( vout_thread_t *p_vout, picture_t *p_pic,
for
(
i_plane
=
0
;
i_plane
<
p_pic
->
i_planes
;
i_plane
++
)
{
uint8_t
*
p_in
;
uint8_t
*
p_in
=
p_pic
->
p
[
i_plane
].
p_pixels
;
int
i_pic_pitch
=
p_pic
->
p
[
i_plane
].
i_pitch
;
p_in
=
p_pic
->
p
[
i_plane
].
p_pixels
;
if
(
i_plane
==
0
)
{
pen_x
=
p_widget
->
i_x
;
...
...
@@ -211,7 +209,7 @@ static void RenderYUY2( vout_thread_t *p_vout, picture_t *p_pic,
{
subpicture_sys_t
*
p_widget
=
p_subpic
->
p_sys
;
int
x
,
y
,
pen_x
,
pen_y
;
uint8_t
*
p_in
;
uint8_t
*
p_in
=
p_pic
->
p
[
0
].
p_pixels
;
int
i_pic_pitch
=
p_pic
->
p
[
0
].
i_pitch
;
pen_x
=
p_widget
->
i_x
;
...
...
@@ -253,7 +251,7 @@ static void RenderRV32( vout_thread_t *p_vout, picture_t *p_pic,
{
subpicture_sys_t
*
p_widget
=
p_subpic
->
p_sys
;
int
x
,
y
,
pen_x
,
pen_y
;
uint8_t
*
p_in
;
uint8_t
*
p_in
=
p_pic
->
p
[
0
].
p_pixels
;
int
i_pic_pitch
=
p_pic
->
p
[
0
].
i_pitch
;
pen_x
=
p_widget
->
i_x
;
...
...
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