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
b648ece3
Commit
b648ece3
authored
Feb 01, 2022
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: deprecate FF_IDCT_NONE
It was only used by XvMC.
parent
cefa5953
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
avcodec.h
libavcodec/avcodec.h
+4
-1
idctdsp.c
libavcodec/idctdsp.c
+0
-1
version.h
libavcodec/version.h
+1
-0
No files found.
libavcodec/avcodec.h
View file @
b648ece3
...
...
@@ -1407,7 +1407,10 @@ typedef struct AVCodecContext {
#define FF_IDCT_SIMPLEARMV6 17
#define FF_IDCT_FAAN 20
#define FF_IDCT_SIMPLENEON 22
#define FF_IDCT_NONE 24
/* Used by XvMC to extract IDCT coefficients with FF_IDCT_PERM_NONE */
#if FF_API_IDCT_NONE
// formerly used by xvmc
#define FF_IDCT_NONE 24
#endif
#define FF_IDCT_SIMPLEAUTO 128
/**
...
...
libavcodec/idctdsp.c
View file @
b648ece3
...
...
@@ -287,7 +287,6 @@ av_cold void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx)
c
->
perm_type
=
FF_IDCT_PERM_NONE
;
#endif
/* CONFIG_FAANIDCT */
}
else
{
// accurate/default
/* Be sure FF_IDCT_NONE will select this one, since it uses FF_IDCT_PERM_NONE */
c
->
idct_put
=
ff_simple_idct_put_int16_8bit
;
c
->
idct_add
=
ff_simple_idct_add_int16_8bit
;
c
->
idct
=
ff_simple_idct_int16_8bit
;
...
...
libavcodec/version.h
View file @
b648ece3
...
...
@@ -64,5 +64,6 @@
#define FF_API_FLAG_TRUNCATED (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_SUB_TEXT_FORMAT (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_MJPEG_PRED (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_IDCT_NONE (LIBAVCODEC_VERSION_MAJOR < 60)
#endif
/* AVCODEC_VERSION_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