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
febb3324
Commit
febb3324
authored
Dec 19, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/svcdsub.c,cvdsub.c: fixed Cr/Cb inversion in palette.
parent
2a2caf4d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
modules/codec/cvdsub.c
modules/codec/cvdsub.c
+6
-6
modules/codec/svcdsub.c
modules/codec/svcdsub.c
+4
-4
No files found.
modules/codec/cvdsub.c
View file @
febb3324
...
...
@@ -392,9 +392,9 @@ static void ParseMetaInfo( decoder_t *p_dec, block_t *p_spu )
(
int
)
v
,
(
int
)
p
[
1
],
(
int
)
p
[
2
],
(
int
)
p
[
3
]
);
#endif
p_sys
->
p_palette
[
v
][
0
]
=
p
[
1
];
p_sys
->
p_palette
[
v
][
1
]
=
p
[
2
];
p_sys
->
p_palette
[
v
][
2
]
=
p
[
3
];
p_sys
->
p_palette
[
v
][
0
]
=
p
[
1
];
/* Y */
p_sys
->
p_palette
[
v
][
1
]
=
p
[
3
];
/* Cr / V */
p_sys
->
p_palette
[
v
][
2
]
=
p
[
2
];
/* Cb / U */
break
;
}
...
...
@@ -411,9 +411,9 @@ static void ParseMetaInfo( decoder_t *p_dec, block_t *p_spu )
#endif
/* Highlight Palette */
p_sys
->
p_palette_highlight
[
v
][
0
]
=
p
[
1
];
p_sys
->
p_palette_highlight
[
v
][
1
]
=
p
[
2
];
p_sys
->
p_palette_highlight
[
v
][
2
]
=
p
[
3
];
p_sys
->
p_palette_highlight
[
v
][
0
]
=
p
[
1
];
/* Y */
p_sys
->
p_palette_highlight
[
v
][
1
]
=
p
[
3
];
/* Cr / V */
p_sys
->
p_palette_highlight
[
v
][
2
]
=
p
[
2
];
/* Cb / U */
break
;
}
...
...
modules/codec/svcdsub.c
View file @
febb3324
...
...
@@ -356,10 +356,10 @@ static void ParseHeader( decoder_t *p_dec, block_t *p_block )
for
(
i
=
0
;
i
<
4
;
i
++
)
{
p_sys
->
p_palette
[
i
][
0
]
=
*
p
++
;
p_sys
->
p_palette
[
i
][
1
]
=
*
p
++
;
p_sys
->
p_palette
[
i
][
2
]
=
*
p
++
;
p_sys
->
p_palette
[
i
][
3
]
=
*
p
++
;
p_sys
->
p_palette
[
i
][
0
]
=
*
p
++
;
/* Y */
p_sys
->
p_palette
[
i
][
2
]
=
*
p
++
;
/* Cr / V */
p_sys
->
p_palette
[
i
][
1
]
=
*
p
++
;
/* Cb / U */
p_sys
->
p_palette
[
i
][
3
]
=
*
p
++
;
/* T */
}
i_cmd
=
*
p
++
;
...
...
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