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
e3b7298a
Commit
e3b7298a
authored
Aug 17, 2015
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: fix compilation with FF_API_XVMC.
parent
ad45121d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
12 deletions
+0
-12
blockdsp.c
libavcodec/blockdsp.c
+0
-4
blockdsp.h
libavcodec/blockdsp.h
+0
-4
blockdsp_init.c
libavcodec/x86/blockdsp_init.c
+0
-4
No files found.
libavcodec/blockdsp.c
View file @
e3b7298a
...
...
@@ -72,11 +72,7 @@ av_cold void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx)
if
(
ARCH_PPC
)
ff_blockdsp_init_ppc
(
c
,
high_bit_depth
);
if
(
ARCH_X86
)
#if FF_API_XVMC
ff_blockdsp_init_x86
(
c
,
high_bit_depth
,
avctx
);
#else
ff_blockdsp_init_x86
(
c
,
high_bit_depth
);
#endif
/* FF_API_XVMC */
if
(
ARCH_MIPS
)
ff_blockdsp_init_mips
(
c
,
high_bit_depth
);
}
libavcodec/blockdsp.h
View file @
e3b7298a
...
...
@@ -43,12 +43,8 @@ void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx);
void
ff_blockdsp_init_alpha
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
);
void
ff_blockdsp_init_arm
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
);
void
ff_blockdsp_init_ppc
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
);
#if FF_API_XVMC
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
,
AVCodecContext
*
avctx
);
#else
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
);
#endif
/* FF_API_XVMC */
void
ff_blockdsp_init_mips
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
);
#endif
/* AVCODEC_BLOCKDSP_H */
libavcodec/x86/blockdsp_init.c
View file @
e3b7298a
...
...
@@ -31,12 +31,8 @@ void ff_clear_block_sse(int16_t *block);
void
ff_clear_blocks_mmx
(
int16_t
*
blocks
);
void
ff_clear_blocks_sse
(
int16_t
*
blocks
);
#if FF_API_XVMC
av_cold
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
,
AVCodecContext
*
avctx
)
#else
av_cold
void
ff_blockdsp_init_x86
(
BlockDSPContext
*
c
,
unsigned
high_bit_depth
)
#endif
/* FF_API_XVMC */
{
#if HAVE_YASM
int
cpu_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