Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
95d04690
Commit
95d04690
authored
Jan 21, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/input: Fix alpha of YA16 input
Fixes Ticket4278 Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
fdb93996
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
input.c
libswscale/input.c
+6
-2
No files found.
libswscale/input.c
View file @
95d04690
...
...
@@ -1249,11 +1249,9 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
#endif
case
AV_PIX_FMT_YA16LE
:
c
->
lumToYV12
=
read_ya16le_gray_c
;
c
->
alpToYV12
=
read_ya16le_alpha_c
;
break
;
case
AV_PIX_FMT_YA16BE
:
c
->
lumToYV12
=
read_ya16be_gray_c
;
c
->
alpToYV12
=
read_ya16be_alpha_c
;
break
;
case
AV_PIX_FMT_YUYV422
:
case
AV_PIX_FMT_YVYU422
:
...
...
@@ -1375,6 +1373,12 @@ av_cold void ff_sws_init_input_funcs(SwsContext *c)
case
AV_PIX_FMT_YA8
:
c
->
alpToYV12
=
uyvyToY_c
;
break
;
case
AV_PIX_FMT_YA16LE
:
c
->
alpToYV12
=
read_ya16le_alpha_c
;
break
;
case
AV_PIX_FMT_YA16BE
:
c
->
alpToYV12
=
read_ya16be_alpha_c
;
break
;
case
AV_PIX_FMT_PAL8
:
c
->
alpToYV12
=
palToA_c
;
break
;
...
...
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