Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c7b8f0b8
Commit
c7b8f0b8
authored
Dec 10, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: handle 4:2:0 and 4:2:2 YUVA formats
parent
11fb6b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/video_chroma/swscale.c
modules/video_chroma/swscale.c
+8
-0
No files found.
modules/video_chroma/swscale.c
View file @
c7b8f0b8
...
...
@@ -254,6 +254,14 @@ static void FixParameters( int *pi_fmt, bool *pb_has_a, bool *pb_swap_uv, vlc_fo
{
switch
(
fmt
)
{
case
VLC_CODEC_YUV422A
:
*
pi_fmt
=
PIX_FMT_YUV422P
;
*
pb_has_a
=
true
;
break
;
case
VLC_CODEC_YUV420A
:
*
pi_fmt
=
PIX_FMT_YUV420P
;
*
pb_has_a
=
true
;
break
;
case
VLC_CODEC_YUVA
:
*
pi_fmt
=
PIX_FMT_YUV444P
;
*
pb_has_a
=
true
;
...
...
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