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
fb7d8d50
Commit
fb7d8d50
authored
Sep 15, 2014
by
James Almer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: remove obsolete FF_API_SWS_FORMAT_NAME cruft
Signed-off-by:
James Almer
<
jamrial@gmail.com
>
parent
ddc37681
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
22 deletions
+0
-22
swscale_internal.h
libswscale/swscale_internal.h
+0
-8
utils.c
libswscale/utils.c
+0
-11
version.h
libswscale/version.h
+0
-3
No files found.
libswscale/swscale_internal.h
View file @
fb7d8d50
...
...
@@ -611,14 +611,6 @@ av_cold void ff_sws_init_range_convert(SwsContext *c);
SwsFunc
ff_yuv2rgb_init_x86
(
SwsContext
*
c
);
SwsFunc
ff_yuv2rgb_init_ppc
(
SwsContext
*
c
);
#if FF_API_SWS_FORMAT_NAME
/**
* @deprecated Use av_get_pix_fmt_name() instead.
*/
attribute_deprecated
const
char
*
sws_format_name
(
enum
AVPixelFormat
format
);
#endif
static
av_always_inline
int
is16BPS
(
enum
AVPixelFormat
pix_fmt
)
{
const
AVPixFmtDescriptor
*
desc
=
av_pix_fmt_desc_get
(
pix_fmt
);
...
...
libswscale/utils.c
View file @
fb7d8d50
...
...
@@ -240,17 +240,6 @@ int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt)
format_entries
[
pix_fmt
].
is_supported_endianness
:
0
;
}
#if FF_API_SWS_FORMAT_NAME
const
char
*
sws_format_name
(
enum
AVPixelFormat
format
)
{
const
AVPixFmtDescriptor
*
desc
=
av_pix_fmt_desc_get
(
format
);
if
(
desc
)
return
desc
->
name
;
else
return
"Unknown format"
;
}
#endif
static
double
getSplineCoeff
(
double
a
,
double
b
,
double
c
,
double
d
,
double
dist
)
{
...
...
libswscale/version.h
View file @
fb7d8d50
...
...
@@ -49,9 +49,6 @@
#ifndef FF_API_SWS_CPU_CAPS
#define FF_API_SWS_CPU_CAPS (LIBSWSCALE_VERSION_MAJOR < 4)
#endif
#ifndef FF_API_SWS_FORMAT_NAME
#define FF_API_SWS_FORMAT_NAME (LIBSWSCALE_VERSION_MAJOR < 3)
#endif
#ifndef FF_API_ARCH_BFIN
#define FF_API_ARCH_BFIN (LIBSWSCALE_VERSION_MAJOR < 4)
#endif
...
...
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