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
aa37d2bf
Commit
aa37d2bf
authored
Jul 30, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: Kill non-compiling disabled cruft
parent
d5fda00e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
13 deletions
+0
-13
swscale_internal.h
libswscale/swscale_internal.h
+0
-6
utils.c
libswscale/utils.c
+0
-7
No files found.
libswscale/swscale_internal.h
View file @
aa37d2bf
...
...
@@ -600,11 +600,6 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
return
(
desc
->
flags
&
AV_PIX_FMT_FLAG_RGB
);
}
#if 0 // FIXME
#define isGray(x) \
(!(av_pix_fmt_descriptors[x].flags & AV_PIX_FMT_FLAG_PAL) && \
av_pix_fmt_descriptors[x].nb_components <= 2)
#else
#define isGray(x) \
((x) == AV_PIX_FMT_GRAY8 || \
(x) == AV_PIX_FMT_YA8 || \
...
...
@@ -612,7 +607,6 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt)
(x) == AV_PIX_FMT_GRAY16LE || \
(x) == AV_PIX_FMT_YA16BE || \
(x) == AV_PIX_FMT_YA16LE)
#endif
#define isRGBinInt(x) \
((x) == AV_PIX_FMT_RGB48BE || \
...
...
libswscale/utils.c
View file @
aa37d2bf
...
...
@@ -372,13 +372,6 @@ static av_cold int initFilter(int16_t **outFilter, int32_t **filterPos,
}
coeff
*=
fone
>>
(
30
+
24
);
}
#if 0
else if (flags & SWS_X) {
double p = param ? param * 0.01 : 0.3;
coeff = d ? sin(d * M_PI) / (d * M_PI) : 1.0;
coeff *= pow(2.0, -p * d * d);
}
#endif
else
if
(
flags
&
SWS_X
)
{
double
A
=
param
[
0
]
!=
SWS_PARAM_DEFAULT
?
param
[
0
]
:
1
.
0
;
double
c
;
...
...
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