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
443181c0
Commit
443181c0
authored
May 07, 2013
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libswscale: simplify isAnyRGB macro
Signed-off-by:
Paul B Mahol
<
onemda@gmail.com
>
parent
94ff68cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
swscale_internal.h
libswscale/swscale_internal.h
+1
-10
No files found.
libswscale/swscale_internal.h
View file @
443181c0
...
...
@@ -735,16 +735,7 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
( \
isRGBinInt(x) || \
isBGRinInt(x) || \
isRGB(x) || \
(x)==AV_PIX_FMT_GBRP9LE || \
(x)==AV_PIX_FMT_GBRP9BE || \
(x)==AV_PIX_FMT_GBRP10LE || \
(x)==AV_PIX_FMT_GBRP10BE || \
(x)==AV_PIX_FMT_GBRP12LE || \
(x)==AV_PIX_FMT_GBRP12BE || \
(x)==AV_PIX_FMT_GBRP14LE || \
(x)==AV_PIX_FMT_GBRP14BE || \
(x)==AV_PIX_FMT_GBR24P \
isRGB(x) \
)
static
av_always_inline
int
isALPHA
(
enum
AVPixelFormat
pix_fmt
)
...
...
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