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
dc402854
Commit
dc402854
authored
Aug 13, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: mpegvideo: more sensible names for optimization file and init function
parent
d211547d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
mpegvideo.c
libavcodec/mpegvideo.c
+2
-2
mpegvideo.h
libavcodec/mpegvideo.h
+1
-1
Makefile
libavcodec/x86/Makefile
+1
-1
mpegvideo.c
libavcodec/x86/mpegvideo.c
+1
-1
No files found.
libavcodec/mpegvideo.c
View file @
dc402854
...
...
@@ -185,8 +185,8 @@ av_cold int ff_dct_common_init(MpegEncContext *s)
s
->
dct_unquantize_mpeg2_intra
=
dct_unquantize_mpeg2_intra_bitexact
;
s
->
dct_unquantize_mpeg2_inter
=
dct_unquantize_mpeg2_inter_c
;
#if
HAVE_MMX
ff_MPV_common_init_
mmx
(
s
);
#if
ARCH_X86
ff_MPV_common_init_
x86
(
s
);
#elif ARCH_ALPHA
ff_MPV_common_init_axp
(
s
);
#elif HAVE_MMI
...
...
libavcodec/mpegvideo.h
View file @
dc402854
...
...
@@ -757,7 +757,7 @@ int ff_MPV_encode_end(AVCodecContext *avctx);
int
ff_MPV_encode_picture
(
AVCodecContext
*
avctx
,
AVPacket
*
pkt
,
const
AVFrame
*
frame
,
int
*
got_packet
);
void
ff_MPV_encode_init_x86
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_
mmx
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_
x86
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_axp
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_mmi
(
MpegEncContext
*
s
);
void
ff_MPV_common_init_arm
(
MpegEncContext
*
s
);
...
...
libavcodec/x86/Makefile
View file @
dc402854
...
...
@@ -22,7 +22,7 @@ MMX-OBJS-$(CONFIG_H264DSP) += x86/h264dsp_init.o
MMX-OBJS-$(CONFIG_H264PRED)
+=
x86/h264_intrapred_init.o
MMX-OBJS-$(CONFIG_LPC)
+=
x86/lpc_mmx.o
MMX-OBJS-$(CONFIG_MPEGAUDIODSP)
+=
x86/mpegaudiodec_mmx.o
MMX-OBJS-$(CONFIG_MPEGVIDEO)
+=
x86/mpegvideo
_mmx
.o
MMX-OBJS-$(CONFIG_MPEGVIDEO)
+=
x86/mpegvideo.o
MMX-OBJS-$(CONFIG_MPEGVIDEOENC)
+=
x86/mpegvideoenc.o
MMX-OBJS-$(CONFIG_PNG_DECODER)
+=
x86/pngdsp_init.o
MMX-OBJS-$(CONFIG_PRORES_DECODER)
+=
x86/proresdsp_init.o
...
...
libavcodec/x86/mpegvideo
_mmx
.c
→
libavcodec/x86/mpegvideo.c
View file @
dc402854
...
...
@@ -584,7 +584,7 @@ static void denoise_dct_sse2(MpegEncContext *s, DCTELEM *block){
#endif
/* HAVE_INLINE_ASM */
void
ff_MPV_common_init_
mmx
(
MpegEncContext
*
s
)
void
ff_MPV_common_init_
x86
(
MpegEncContext
*
s
)
{
#if HAVE_INLINE_ASM
int
mm_flags
=
av_get_cpu_flags
();
...
...
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