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
9b1aee43
Commit
9b1aee43
authored
Aug 25, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xvmc: fix compile.
parent
5fd6cb5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
modules/video_output/x11/xvmc.c
modules/video_output/x11/xvmc.c
+12
-2
No files found.
modules/video_output/x11/xvmc.c
View file @
9b1aee43
...
...
@@ -219,6 +219,7 @@ static void init_xx44_palette( xx44_palette_t *p, unsigned num_entries )
static
void
dispose_xx44_palette
(
xx44_palette_t
*
p
)
{
/* Nothing to do */
VLC_UNUSED
(
p
);
}
static
void
colorToPalette
(
const
uint32_t
*
icolor
,
unsigned
char
*
palette_p
,
...
...
@@ -236,7 +237,7 @@ static void colorToPalette( const uint32_t *icolor, unsigned char *palette_p,
case
'Y'
:
default:
*
palette_p
=
color
->
y
;
break
;
}
*
palette_p
++
;
palette_p
++
;
}
}
...
...
@@ -309,6 +310,14 @@ void blend_xx44( uint8_t *dst_img, subpicture_t *sub_img,
int
dst_width
,
int
dst_height
,
int
dst_pitch
,
xx44_palette_t
*
palette
,
int
ia44
)
{
VLC_UNUSED
(
dst_img
);
VLC_UNUSED
(
sub_img
);
VLC_UNUSED
(
dst_width
);
VLC_UNUSED
(
dst_height
);
VLC_UNUSED
(
dst_pitch
);
VLC_UNUSED
(
palette
);
VLC_UNUSED
(
ia44
);
#if 0
int src_width;
int src_height;
int mask;
...
...
@@ -322,7 +331,6 @@ void blend_xx44( uint8_t *dst_img, subpicture_t *sub_img,
int clip_right;
int i_len, i_color;
uint16_t *p_source = NULL;
#if 0
if (!sub_img)
return;
...
...
@@ -1245,6 +1253,8 @@ static int xxmc_xvmc_update_context( vout_thread_t *p_vout,
void
xxmc_do_update_frame
(
picture_t
*
picture
,
uint32_t
width
,
uint32_t
height
,
double
ratio
,
int
format
,
int
flags
)
{
VLC_UNUSED
(
ratio
);
VLC_UNUSED
(
flags
);
vout_thread_t
*
p_vout
=
picture
->
p_sys
->
p_vout
;
int
indextime
=
0
;
int
status
=
0
;
...
...
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