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
26ce9aec
Commit
26ce9aec
authored
Aug 13, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnxhdenc: x86: more sensible names for optimization file and init function
parent
f1e06d37
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
dnxhdenc.c
libavcodec/dnxhdenc.c
+2
-3
dnxhdenc.h
libavcodec/dnxhdenc.h
+1
-1
Makefile
libavcodec/x86/Makefile
+1
-1
dnxhdenc.c
libavcodec/x86/dnxhdenc.c
+1
-1
No files found.
libavcodec/dnxhdenc.c
View file @
26ce9aec
...
...
@@ -274,9 +274,8 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
ctx
->
block_width_l2
=
3
;
}
#if HAVE_MMX
ff_dnxhd_init_mmx
(
ctx
);
#endif
if
(
ARCH_X86
)
ff_dnxhdenc_init_x86
(
ctx
);
ctx
->
m
.
mb_height
=
(
avctx
->
height
+
15
)
/
16
;
ctx
->
m
.
mb_width
=
(
avctx
->
width
+
15
)
/
16
;
...
...
libavcodec/dnxhdenc.h
View file @
26ce9aec
...
...
@@ -95,6 +95,6 @@ typedef struct DNXHDEncContext {
void
(
*
get_pixels_8x4_sym
)(
DCTELEM
*
/*align 16*/
,
const
uint8_t
*
,
int
);
}
DNXHDEncContext
;
void
ff_dnxhd
_init_mmx
(
DNXHDEncContext
*
ctx
);
void
ff_dnxhd
enc_init_x86
(
DNXHDEncContext
*
ctx
);
#endif
/* AVCODEC_DNXHDENC_H */
libavcodec/x86/Makefile
View file @
26ce9aec
...
...
@@ -14,7 +14,7 @@ MMX-OBJS += x86/dsputil_mmx.o \
MMX-OBJS-$(CONFIG_AAC_DECODER)
+=
x86/sbrdsp_init.o
MMX-OBJS-$(CONFIG_AC3DSP)
+=
x86/ac3dsp_init.o
MMX-OBJS-$(CONFIG_CAVS_DECODER)
+=
x86/cavsdsp_mmx.o
MMX-OBJS-$(CONFIG_DNXHD_ENCODER)
+=
x86/dnxhd
_mmx
.o
MMX-OBJS-$(CONFIG_DNXHD_ENCODER)
+=
x86/dnxhd
enc
.o
MMX-OBJS-$(CONFIG_DWT)
+=
x86/snowdsp_mmx.o
MMX-OBJS-$(CONFIG_ENCODERS)
+=
x86/dsputilenc_mmx.o
MMX-OBJS-$(CONFIG_FFT)
+=
x86/fft_init.o
...
...
libavcodec/x86/dnxhd
_mmx
.c
→
libavcodec/x86/dnxhd
enc
.c
View file @
26ce9aec
...
...
@@ -54,7 +54,7 @@ static void get_pixels_8x4_sym_sse2(DCTELEM *block, const uint8_t *pixels, int l
#endif
/* HAVE_INLINE_ASM */
void
ff_dnxhd
_init_mmx
(
DNXHDEncContext
*
ctx
)
void
ff_dnxhd
enc_init_x86
(
DNXHDEncContext
*
ctx
)
{
#if HAVE_INLINE_ASM
if
(
av_get_cpu_flags
()
&
AV_CPU_FLAG_SSE2
)
{
...
...
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