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
59bd93a8
Commit
59bd93a8
authored
Aug 11, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Kate Function to avoid naming conflicts with GDI+ on windows targets.
parent
56f13b36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/codec/kate.c
modules/codec/kate.c
+4
-4
No files found.
modules/codec/kate.c
View file @
59bd93a8
...
@@ -473,7 +473,7 @@ static void GetVideoSize( decoder_t *p_dec, int *w, int *h )
...
@@ -473,7 +473,7 @@ static void GetVideoSize( decoder_t *p_dec, int *w, int *h )
#ifdef ENABLE_BITMAPS
#ifdef ENABLE_BITMAPS
static
void
CreateBitmap
(
picture_t
*
pic
,
const
kate_bitmap
*
bitmap
)
static
void
Create
Kate
Bitmap
(
picture_t
*
pic
,
const
kate_bitmap
*
bitmap
)
{
{
size_t
y
;
size_t
y
;
...
@@ -485,7 +485,7 @@ static void CreateBitmap( picture_t *pic, const kate_bitmap *bitmap )
...
@@ -485,7 +485,7 @@ static void CreateBitmap( picture_t *pic, const kate_bitmap *bitmap )
}
}
}
}
static
void
CreatePalette
(
video_palette_t
*
fmt_palette
,
const
kate_palette
*
palette
)
static
void
Create
Kate
Palette
(
video_palette_t
*
fmt_palette
,
const
kate_palette
*
palette
)
{
{
size_t
n
;
size_t
n
;
...
@@ -639,10 +639,10 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
...
@@ -639,10 +639,10 @@ static subpicture_t *DecodePacket( decoder_t *p_dec, kate_packet *p_kp, block_t
}
}
/* create the palette */
/* create the palette */
CreatePalette
(
fmt
.
p_palette
,
ev
->
palette
);
Create
Kate
Palette
(
fmt
.
p_palette
,
ev
->
palette
);
/* create the bitmap */
/* create the bitmap */
CreateBitmap
(
&
p_bitmap_region
->
picture
,
ev
->
bitmap
);
Create
Kate
Bitmap
(
&
p_bitmap_region
->
picture
,
ev
->
bitmap
);
msg_Dbg
(
p_dec
,
"Created bitmap, %zux%zu, %zu colors
\n
"
,
ev
->
bitmap
->
width
,
ev
->
bitmap
->
height
,
ev
->
palette
->
ncolors
);
msg_Dbg
(
p_dec
,
"Created bitmap, %zux%zu, %zu colors
\n
"
,
ev
->
bitmap
->
width
,
ev
->
bitmap
->
height
,
ev
->
palette
->
ncolors
);
}
}
...
...
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