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
b89ce2d6
Commit
b89ce2d6
authored
Nov 28, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: alpha less rgb32 support.
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b14a2381
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
28 additions
and
0 deletions
+28
-0
utils.c
libswscale/utils.c
+8
-0
pixdesc
tests/ref/lavfi/pixdesc
+4
-0
pixfmts_copy
tests/ref/lavfi/pixfmts_copy
+4
-0
pixfmts_null
tests/ref/lavfi/pixfmts_null
+4
-0
pixfmts_scale
tests/ref/lavfi/pixfmts_scale
+4
-0
pixfmts_vflip
tests/ref/lavfi/pixfmts_vflip
+4
-0
No files found.
libswscale/utils.c
View file @
b89ce2d6
...
...
@@ -100,6 +100,10 @@ const static FormatEntry format_entries[PIX_FMT_NB] = {
[
PIX_FMT_RGBA
]
=
{
1
,
1
},
[
PIX_FMT_ABGR
]
=
{
1
,
1
},
[
PIX_FMT_BGRA
]
=
{
1
,
1
},
[
PIX_FMT_0RGB
]
=
{
1
,
1
},
[
PIX_FMT_RGB0
]
=
{
1
,
1
},
[
PIX_FMT_0BGR
]
=
{
1
,
1
},
[
PIX_FMT_BGR0
]
=
{
1
,
1
},
[
PIX_FMT_GRAY16BE
]
=
{
1
,
1
},
[
PIX_FMT_GRAY16LE
]
=
{
1
,
1
},
[
PIX_FMT_YUV440P
]
=
{
1
,
1
},
...
...
@@ -742,6 +746,10 @@ static int handle_jpeg(enum PixelFormat *format)
case
PIX_FMT_YUVJ422P
:
*
format
=
PIX_FMT_YUV422P
;
return
1
;
case
PIX_FMT_YUVJ444P
:
*
format
=
PIX_FMT_YUV444P
;
return
1
;
case
PIX_FMT_YUVJ440P
:
*
format
=
PIX_FMT_YUV440P
;
return
1
;
case
PIX_FMT_0BGR
:
*
format
=
PIX_FMT_ABGR
;
return
0
;
case
PIX_FMT_BGR0
:
*
format
=
PIX_FMT_BGRA
;
return
0
;
case
PIX_FMT_0RGB
:
*
format
=
PIX_FMT_ARGB
;
return
0
;
case
PIX_FMT_RGB0
:
*
format
=
PIX_FMT_RGBA
;
return
0
;
default:
return
0
;
}
}
...
...
tests/ref/lavfi/pixdesc
View file @
b89ce2d6
0bgr 8fb023c3c8f8e64254e807543b29ad61
0rgb 0570cd4801a1c613a9815e98872246d4
abgr 037bf9df6a765520ad6d490066bf4b89
argb c442a8261c2265a07212ef0f72e35f5a
bgr0 0ef8ffe42bfe53be74973a0c118b775e
bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
bgr48le d02c235ebba7167881ca2d576497ff84
...
...
@@ -17,6 +20,7 @@ monob 668ebe8b8103b9046b251b2fa8a1d88f
monow 9251497f3b0634f1165d12d5a289d943
nv12 e0af357888584d36eec5aa0f673793ef
nv21 9a3297f3b34baa038b1f37cb202b512f
rgb0 7c03f81f5e5346bf8ea42c4187f20605
rgb24 b41eba9651e1b5fe386289b506188105
rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
rgb48le 86c5608904f75360d492dbc5c9589969
...
...
tests/ref/lavfi/pixfmts_copy
View file @
b89ce2d6
0bgr 73847fb78ab01d040bc65307aa2e772d
0rgb 68262dbda747e9552cf04a06632a7cee
abgr 037bf9df6a765520ad6d490066bf4b89
argb c442a8261c2265a07212ef0f72e35f5a
bgr0 328a76e72c55508cdf04dc93a5b056fc
bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
bgr48le d02c235ebba7167881ca2d576497ff84
...
...
@@ -17,6 +20,7 @@ monob 668ebe8b8103b9046b251b2fa8a1d88f
monow 9251497f3b0634f1165d12d5a289d943
nv12 e0af357888584d36eec5aa0f673793ef
nv21 9a3297f3b34baa038b1f37cb202b512f
rgb0 ff1a9f355d43f9d25f07a191b5aa906c
rgb24 b41eba9651e1b5fe386289b506188105
rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
rgb48le 86c5608904f75360d492dbc5c9589969
...
...
tests/ref/lavfi/pixfmts_null
View file @
b89ce2d6
0bgr 73847fb78ab01d040bc65307aa2e772d
0rgb 68262dbda747e9552cf04a06632a7cee
abgr 037bf9df6a765520ad6d490066bf4b89
argb c442a8261c2265a07212ef0f72e35f5a
bgr0 328a76e72c55508cdf04dc93a5b056fc
bgr24 0d0cb38ab3fa0b2ec0865c14f78b217b
bgr48be 00624e6c7ec7ab19897ba2f0a3257fe8
bgr48le d02c235ebba7167881ca2d576497ff84
...
...
@@ -17,6 +20,7 @@ monob 668ebe8b8103b9046b251b2fa8a1d88f
monow 9251497f3b0634f1165d12d5a289d943
nv12 e0af357888584d36eec5aa0f673793ef
nv21 9a3297f3b34baa038b1f37cb202b512f
rgb0 ff1a9f355d43f9d25f07a191b5aa906c
rgb24 b41eba9651e1b5fe386289b506188105
rgb48be cc139ec1dd9451f0e049c0cb3a0c8aa2
rgb48le 86c5608904f75360d492dbc5c9589969
...
...
tests/ref/lavfi/pixfmts_scale
View file @
b89ce2d6
0bgr 1c9ce2c650cc9afc669e3a9a15842c9d
0rgb 87749d52eb3056848cccea5875622a86
abgr cff82561a074874027ac1cc896fd2730
argb 756dd1eaa5baca2238ce23dbdc452684
bgr0 ff6e1dfa26d4c2ada3a59e8b0b600d1f
bgr24 e44192347a45586c6c157e3059610cd1
bgr48be 390d3058a12a99c2b153ed7922508bea
bgr48le 39fe06feb4ec1d9730dccc04a0cfac4c
...
...
@@ -17,6 +20,7 @@ monob cb62f31b701c6e987b574974d1b31e32
monow fd5d417ab7728acddffc06870661df61
nv12 4676d59db43d657dc12841f6bc3ab452
nv21 69c699510ff1fb777b118ebee1002f14
rgb0 1bd6f54ad067503ac9783a70062c8f87
rgb24 13ff53ebeab74dc05492836f1cfbd2c1
rgb48be 8fac63787a711886030f8e056872b488
rgb48le ab92f2763a2eb264c3870cc758f97149
...
...
tests/ref/lavfi/pixfmts_vflip
View file @
b89ce2d6
0bgr 39270c968598bac0ef53faaa5f9ab7cd
0rgb 099dc071d7385b2958e36604c2fbf4ef
abgr 25e72e9dbd01ab00727c976d577f7be5
argb 19869bf1a5ac0b6af4d8bbe2c104533c
bgr0 e03d3ee0b977f6d86e5116b20494bef5
bgr24 89108a4ba00201f79b75b9305c42352d
bgr48be 2f23931844f57641f3737348182d118c
bgr48le 4242a026012b6c135a6aa138a6d67031
...
...
@@ -17,6 +20,7 @@ monob d0cf8732677a5360b6160133043590d8
monow ff9869d067ecb94eb9d90c9750c31fea
nv12 046f00f598ce14d9854a3534a5c99114
nv21 01ea369dd2d0d3ed7451dc5c8d61497f
rgb0 330bd6168e46c0d5eb4acbdbb50afa2e
rgb24 eaefabc168d0b14576bab45bc1e56e1e
rgb48be 62dd185862ed142283bd300eb6dbd216
rgb48le dcb76353268bc5862194d131762220da
...
...
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