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
81d02d8e
Commit
81d02d8e
authored
May 14, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copyright Update and cosmetic
parent
e5b3cb16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
modules/demux/vobsub.h
modules/demux/vobsub.h
+8
-4
No files found.
modules/demux/vobsub.h
View file @
81d02d8e
/*****************************************************************************
* vobsub.h: Vobsub support
*****************************************************************************
* Copyright (C) 200
8
the VideoLAN team
* Copyright (C) 200
9
the VideoLAN team
* $Id$
*
* Authors: John Stebbins
...
...
@@ -40,8 +40,10 @@ static inline void vobsub_palette_rgb2yuv( uint32_t *pu_palette )
static
inline
int
vobsub_palette_parse
(
const
char
*
psz_buf
,
uint32_t
*
pu_palette
)
{
if
(
sscanf
(
psz_buf
,
"palette: "
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", "
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
""
,
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", "
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", "
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
", "
"%"
PRIx32
", %"
PRIx32
", %"
PRIx32
", %"
PRIx32
""
,
&
pu_palette
[
0
],
&
pu_palette
[
1
],
&
pu_palette
[
2
],
&
pu_palette
[
3
],
&
pu_palette
[
4
],
&
pu_palette
[
5
],
&
pu_palette
[
6
],
&
pu_palette
[
7
],
&
pu_palette
[
8
],
&
pu_palette
[
9
],
&
pu_palette
[
10
],
&
pu_palette
[
11
],
...
...
@@ -56,7 +58,9 @@ static inline int vobsub_palette_parse( const char *psz_buf, uint32_t *pu_palett
}
}
static
inline
int
vobsub_size_parse
(
const
char
*
psz_buf
,
int
*
pi_original_frame_width
,
int
*
pi_original_frame_height
)
static
inline
int
vobsub_size_parse
(
const
char
*
psz_buf
,
int
*
pi_original_frame_width
,
int
*
pi_original_frame_height
)
{
if
(
sscanf
(
psz_buf
,
"size: %dx%d"
,
pi_original_frame_width
,
pi_original_frame_height
)
==
2
)
...
...
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