Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
9e5c62c9
Commit
9e5c62c9
authored
Apr 12, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu: remove FF_API_OLD_IMAGE_NAMES cruft
parent
516fb5e4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
56 deletions
+0
-56
avutil.h
libavutil/avutil.h
+0
-8
imgutils.c
libavutil/imgutils.c
+0
-29
imgutils.h
libavutil/imgutils.h
+0
-19
No files found.
libavutil/avutil.h
View file @
9e5c62c9
...
...
@@ -94,14 +94,6 @@ enum AVMediaType {
#define AV_TIME_BASE 1000000
#define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE}
/**
* Those FF_API_* defines are not part of public API.
* They may change, break or disappear at any time.
*/
#ifndef FF_API_OLD_IMAGE_NAMES
#define FF_API_OLD_IMAGE_NAMES (LIBAVUTIL_VERSION_MAJOR < 51)
#endif
#include "common.h"
#include "error.h"
#include "mathematics.h"
...
...
libavutil/imgutils.c
View file @
9e5c62c9
...
...
@@ -266,32 +266,3 @@ void av_image_copy(uint8_t *dst_data[4], int dst_linesizes[4],
}
}
}
#if FF_API_OLD_IMAGE_NAMES
void
av_fill_image_max_pixsteps
(
int
max_pixsteps
[
4
],
int
max_pixstep_comps
[
4
],
const
AVPixFmtDescriptor
*
pixdesc
)
{
av_image_fill_max_pixsteps
(
max_pixsteps
,
max_pixstep_comps
,
pixdesc
);
}
int
av_get_image_linesize
(
enum
PixelFormat
pix_fmt
,
int
width
,
int
plane
)
{
return
av_image_get_linesize
(
pix_fmt
,
width
,
plane
);
}
int
av_fill_image_linesizes
(
int
linesizes
[
4
],
enum
PixelFormat
pix_fmt
,
int
width
)
{
return
av_image_fill_linesizes
(
linesizes
,
pix_fmt
,
width
);
}
int
av_fill_image_pointers
(
uint8_t
*
data
[
4
],
enum
PixelFormat
pix_fmt
,
int
height
,
uint8_t
*
ptr
,
const
int
linesizes
[
4
])
{
return
av_image_fill_pointers
(
data
,
pix_fmt
,
height
,
ptr
,
linesizes
);
}
int
av_check_image_size
(
unsigned
int
w
,
unsigned
int
h
,
int
log_offset
,
void
*
log_ctx
)
{
return
av_image_check_size
(
w
,
h
,
log_offset
,
log_ctx
);
}
#endif
libavutil/imgutils.h
View file @
9e5c62c9
...
...
@@ -127,23 +127,4 @@ int av_image_check_size(unsigned int w, unsigned int h, int log_offset, void *lo
int
ff_set_systematic_pal2
(
uint32_t
pal
[
256
],
enum
PixelFormat
pix_fmt
);
#if FF_API_OLD_IMAGE_NAMES
attribute_deprecated
void
av_fill_image_max_pixsteps
(
int
max_pixsteps
[
4
],
int
max_pixstep_comps
[
4
],
const
AVPixFmtDescriptor
*
pixdesc
);
attribute_deprecated
int
av_get_image_linesize
(
enum
PixelFormat
pix_fmt
,
int
width
,
int
plane
);
attribute_deprecated
int
av_fill_image_linesizes
(
int
linesizes
[
4
],
enum
PixelFormat
pix_fmt
,
int
width
);
attribute_deprecated
int
av_fill_image_pointers
(
uint8_t
*
data
[
4
],
enum
PixelFormat
pix_fmt
,
int
height
,
uint8_t
*
ptr
,
const
int
linesizes
[
4
]);
attribute_deprecated
int
av_check_image_size
(
unsigned
int
w
,
unsigned
int
h
,
int
log_offset
,
void
*
log_ctx
);
#endif
#endif
/* AVUTIL_IMGUTILS_H */
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