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
f7168d70
Commit
f7168d70
authored
Jan 19, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imgconvert: Move AVPicture-related static function to the deprecated section
parent
892f037c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
imgconvert.c
libavcodec/imgconvert.c
+2
-3
No files found.
libavcodec/imgconvert.c
View file @
f7168d70
...
...
@@ -153,6 +153,8 @@ enum AVPixelFormat avcodec_find_best_pix_fmt2(enum AVPixelFormat *pix_fmt_list,
return
dst_pix_fmt
;
}
#if FF_API_AVPICTURE
FF_DISABLE_DEPRECATION_WARNINGS
/* return true if yuv planar */
static
inline
int
is_yuv_planar
(
const
AVPixFmtDescriptor
*
desc
)
{
...
...
@@ -160,9 +162,6 @@ static inline int is_yuv_planar(const AVPixFmtDescriptor *desc)
(
desc
->
flags
&
AV_PIX_FMT_FLAG_PLANAR
));
}
#if FF_API_AVPICTURE
FF_DISABLE_DEPRECATION_WARNINGS
int
av_picture_crop
(
AVPicture
*
dst
,
const
AVPicture
*
src
,
enum
AVPixelFormat
pix_fmt
,
int
top_band
,
int
left_band
)
{
...
...
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