Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
8e89f6fd
Commit
8e89f6fd
authored
May 11, 2017
by
James Darnley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/x86: move simple_idct to external assembly
parent
87bddba4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
3 additions
and
7 deletions
+3
-7
dct.c
libavcodec/tests/x86/dct.c
+1
-1
Makefile
libavcodec/x86/Makefile
+2
-2
idctdsp_init.c
libavcodec/x86/idctdsp_init.c
+0
-4
simple_idct.asm
libavcodec/x86/simple_idct.asm
+0
-0
simple_idct.c
libavcodec/x86/simple_idct.c
+0
-0
No files found.
libavcodec/tests/x86/dct.c
View file @
8e89f6fd
...
...
@@ -67,7 +67,7 @@ static const struct algo fdct_tab_arch[] = {
};
static
const
struct
algo
idct_tab_arch
[]
=
{
#if HAVE_MMX_
INLINE
#if HAVE_MMX_
EXTERNAL
{
"SIMPLE-MMX"
,
ff_simple_idct_mmx
,
FF_IDCT_PERM_SIMPLE
,
AV_CPU_FLAG_MMX
},
#endif
#if CONFIG_MPEG4_DECODER && HAVE_YASM
...
...
libavcodec/x86/Makefile
View file @
8e89f6fd
...
...
@@ -79,7 +79,6 @@ OBJS-$(CONFIG_WEBP_DECODER) += x86/vp8dsp_init.o
# GCC inline assembly optimizations
# subsystems
MMX-OBJS-$(CONFIG_FDCTDSP)
+=
x86/fdct.o
MMX-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct.o
MMX-OBJS-$(CONFIG_VC1DSP)
+=
x86/vc1dsp_mmx.o
# decoders/encoders
...
...
@@ -128,7 +127,8 @@ YASM-OBJS-$(CONFIG_QPELDSP) += x86/qpeldsp.o \
YASM-OBJS-$(CONFIG_RV34DSP)
+=
x86/rv34dsp.o
YASM-OBJS-$(CONFIG_VC1DSP)
+=
x86/vc1dsp_loopfilter.o
\
x86/vc1dsp_mc.o
YASM-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct10.o
YASM-OBJS-$(CONFIG_IDCTDSP)
+=
x86/simple_idct10.o
\
x86/simple_idct.o
YASM-OBJS-$(CONFIG_VIDEODSP)
+=
x86/videodsp.o
YASM-OBJS-$(CONFIG_VP3DSP)
+=
x86/vp3dsp.o
YASM-OBJS-$(CONFIG_VP8DSP)
+=
x86/vp8dsp.o
\
...
...
libavcodec/x86/idctdsp_init.c
View file @
8e89f6fd
...
...
@@ -68,7 +68,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_mmx
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_mmx
;
if
(
INLINE_MMX
(
cpu_flags
))
{
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
...
...
@@ -79,7 +78,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
idct
=
ff_simple_idct_mmx
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
}
if
(
EXTERNAL_SSE2
(
cpu_flags
))
{
...
...
@@ -87,7 +85,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
put_pixels_clamped
=
ff_put_pixels_clamped_sse2
;
c
->
add_pixels_clamped
=
ff_add_pixels_clamped_sse2
;
if
(
INLINE_SSE2
(
cpu_flags
))
{
if
(
!
high_bit_depth
&&
avctx
->
lowres
==
0
&&
(
avctx
->
idct_algo
==
FF_IDCT_AUTO
||
...
...
@@ -97,7 +94,6 @@ av_cold void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
c
->
idct_add
=
ff_simple_idct_add_sse2
;
c
->
perm_type
=
FF_IDCT_PERM_SIMPLE
;
}
}
}
if
(
ARCH_X86_64
&&
avctx
->
lowres
==
0
)
{
...
...
libavcodec/x86/simple_idct.asm
0 → 100644
View file @
8e89f6fd
This diff is collapsed.
Click to expand it.
libavcodec/x86/simple_idct.c
deleted
100644 → 0
View file @
87bddba4
This diff is collapsed.
Click to expand it.
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