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
d35b94fb
Commit
d35b94fb
authored
Aug 06, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec: Rename xvidmmx IDCT to xvid
The Xvid IDCT is not MMX-specific.
parent
84d173d3
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
4 deletions
+17
-4
APIchanges
doc/APIchanges
+4
-0
avcodec.h
libavcodec/avcodec.h
+3
-0
options_table.h
libavcodec/options_table.h
+4
-1
version.h
libavcodec/version.h
+4
-1
idct_sse2_xvid.c
libavcodec/x86/idct_sse2_xvid.c
+1
-1
xvididct.c
libavcodec/xvididct.c
+1
-1
No files found.
doc/APIchanges
View file @
d35b94fb
...
...
@@ -13,6 +13,10 @@ libavutil: 2013-12-xx
API changes, most recent first:
2014-08-xx - xxxxxxx - lavc 55.57.4 - avcodec.h
Deprecate FF_IDCT_XVIDMMX define and xvidmmx idct option.
Replaced by FF_IDCT_XVID and xvid respectively.
2014-08-xx - xxxxxxx - lsws 2.1.3 - swscale.h
sws_getCachedContext is not going to be removed in the future.
...
...
libavcodec/avcodec.h
View file @
d35b94fb
...
...
@@ -2478,7 +2478,10 @@ typedef struct AVCodecContext {
#if FF_API_UNUSED_MEMBERS
#define FF_IDCT_IPP 13
#endif
/* FF_API_UNUSED_MEMBERS */
#define FF_IDCT_XVID 14
#if FF_API_IDCT_XVIDMMX
#define FF_IDCT_XVIDMMX 14
#endif
/* FF_API_IDCT_XVIDMMX */
#define FF_IDCT_SIMPLEARMV5TE 16
#define FF_IDCT_SIMPLEARMV6 17
#if FF_API_ARCH_SPARC
...
...
libavcodec/options_table.h
View file @
d35b94fb
...
...
@@ -214,7 +214,10 @@ static const AVOption avcodec_options[] = {
#if FF_API_UNUSED_MEMBERS
{
"ipp"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_IDCT_IPP
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"idct"
},
#endif
/* FF_API_UNUSED_MEMBERS */
{
"xvidmmx"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_IDCT_XVIDMMX
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"idct"
},
{
"xvid"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_IDCT_XVID
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"idct"
},
#if FF_API_IDCT_XVIDMMX
{
"xvidmmx"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_IDCT_XVID
},
INT_MIN
,
INT_MAX
,
V
|
E
|
D
,
"idct"
},
#endif
/* FF_API_IDCT_XVIDMMX */
{
"faani"
,
"floating point AAN IDCT"
,
0
,
AV_OPT_TYPE_CONST
,
{.
i64
=
FF_IDCT_FAAN
},
INT_MIN
,
INT_MAX
,
V
|
D
|
E
,
"idct"
},
{
"slice_count"
,
NULL
,
OFFSET
(
slice_count
),
AV_OPT_TYPE_INT
,
{.
i64
=
DEFAULT
},
INT_MIN
,
INT_MAX
},
{
"ec"
,
"set error concealment strategy"
,
OFFSET
(
error_concealment
),
AV_OPT_TYPE_FLAGS
,
{.
i64
=
3
},
INT_MIN
,
INT_MAX
,
V
|
D
,
"ec"
},
...
...
libavcodec/version.h
View file @
d35b94fb
...
...
@@ -30,7 +30,7 @@
#define LIBAVCODEC_VERSION_MAJOR 55
#define LIBAVCODEC_VERSION_MINOR 57
#define LIBAVCODEC_VERSION_MICRO
3
#define LIBAVCODEC_VERSION_MICRO
4
#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
LIBAVCODEC_VERSION_MINOR, \
...
...
@@ -132,6 +132,9 @@
#ifndef FF_API_UNUSED_MEMBERS
#define FF_API_UNUSED_MEMBERS (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_IDCT_XVIDMMX
#define FF_API_IDCT_XVIDMMX (LIBAVCODEC_VERSION_MAJOR < 56)
#endif
#ifndef FF_API_INPUT_PRESERVED
#define FF_API_INPUT_PRESERVED (LIBAVCODEC_VERSION_MAJOR < 57)
#endif
...
...
libavcodec/x86/idct_sse2_xvid.c
View file @
d35b94fb
...
...
@@ -48,7 +48,7 @@
/**
* @file
* @brief SSE2
idct compatible with xvidmmx
* @brief SSE2
IDCT compatible with the Xvid IDCT
*/
#define X8(x) x,x,x,x,x,x,x,x
...
...
libavcodec/xvididct.c
View file @
d35b94fb
...
...
@@ -28,7 +28,7 @@ av_cold void ff_xvididct_init(IDCTDSPContext *c, AVCodecContext *avctx)
if
(
high_bit_depth
||
!
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
avctx
->
idct_algo
==
FF_IDCT_XVID
MMX
))
avctx
->
idct_algo
==
FF_IDCT_XVID
))
return
;
if
(
ARCH_X86
)
...
...
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