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
8e5746d4
Commit
8e5746d4
authored
Jan 22, 2012
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: remove disabled FF_API_GET_PIX_FMT_NAME cruft.
parent
0dc6bab0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
18 deletions
+0
-18
avcodec.h
libavcodec/avcodec.h
+0
-8
imgconvert.c
libavcodec/imgconvert.c
+0
-7
version.h
libavcodec/version.h
+0
-3
No files found.
libavcodec/avcodec.h
View file @
8e5746d4
...
@@ -3343,14 +3343,6 @@ int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width,
...
@@ -3343,14 +3343,6 @@ int avpicture_layout(const AVPicture* src, enum PixelFormat pix_fmt, int width,
int
avpicture_get_size
(
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
);
int
avpicture_get_size
(
enum
PixelFormat
pix_fmt
,
int
width
,
int
height
);
void
avcodec_get_chroma_sub_sample
(
enum
PixelFormat
pix_fmt
,
int
*
h_shift
,
int
*
v_shift
);
void
avcodec_get_chroma_sub_sample
(
enum
PixelFormat
pix_fmt
,
int
*
h_shift
,
int
*
v_shift
);
#if FF_API_GET_PIX_FMT_NAME
/**
* @deprecated Deprecated in favor of av_get_pix_fmt_name().
*/
attribute_deprecated
const
char
*
avcodec_get_pix_fmt_name
(
enum
PixelFormat
pix_fmt
);
#endif
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
/**
/**
...
...
libavcodec/imgconvert.c
View file @
8e5746d4
...
@@ -414,13 +414,6 @@ void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *
...
@@ -414,13 +414,6 @@ void avcodec_get_chroma_sub_sample(enum PixelFormat pix_fmt, int *h_shift, int *
*
v_shift
=
av_pix_fmt_descriptors
[
pix_fmt
].
log2_chroma_h
;
*
v_shift
=
av_pix_fmt_descriptors
[
pix_fmt
].
log2_chroma_h
;
}
}
#if FF_API_GET_PIX_FMT_NAME
const
char
*
avcodec_get_pix_fmt_name
(
enum
PixelFormat
pix_fmt
)
{
return
av_get_pix_fmt_name
(
pix_fmt
);
}
#endif
int
ff_is_hwaccel_pix_fmt
(
enum
PixelFormat
pix_fmt
)
int
ff_is_hwaccel_pix_fmt
(
enum
PixelFormat
pix_fmt
)
{
{
return
av_pix_fmt_descriptors
[
pix_fmt
].
flags
&
PIX_FMT_HWACCEL
;
return
av_pix_fmt_descriptors
[
pix_fmt
].
flags
&
PIX_FMT_HWACCEL
;
...
...
libavcodec/version.h
View file @
8e5746d4
...
@@ -41,9 +41,6 @@
...
@@ -41,9 +41,6 @@
#ifndef FF_API_REQUEST_CHANNELS
#ifndef FF_API_REQUEST_CHANNELS
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
#endif
#ifndef FF_API_GET_PIX_FMT_NAME
#define FF_API_GET_PIX_FMT_NAME (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#ifndef FF_API_ALLOC_CONTEXT
#ifndef FF_API_ALLOC_CONTEXT
#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
#define FF_API_ALLOC_CONTEXT (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
#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