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
aab40bbf
Commit
aab40bbf
authored
Jan 14, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: dsputil: Simplify xvmc deprecation conditional
parent
dc4d726b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
dsputil_init.c
libavcodec/x86/dsputil_init.c
+8
-8
No files found.
libavcodec/x86/dsputil_init.c
View file @
aab40bbf
...
...
@@ -24,6 +24,7 @@
#include "libavutil/x86/cpu.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/simple_idct.h"
#include "libavcodec/version.h"
#include "dsputil_x86.h"
#include "idct_xvid.h"
...
...
@@ -592,21 +593,20 @@ static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx,
#if HAVE_SSE_INLINE
const
int
high_bit_depth
=
avctx
->
bits_per_raw_sample
>
8
;
if
(
!
high_bit_depth
)
{
c
->
vector_clipf
=
ff_vector_clipf_sse
;
#if FF_API_XVMC
FF_DISABLE_DEPRECATION_WARNINGS
if
(
!
(
CONFIG_MPEG_XVMC_DECODER
&&
avctx
->
xvmc_acceleration
>
1
))
{
/* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */
/* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */
if
(
CONFIG_MPEG_XVMC_DECODER
&&
avctx
->
xvmc_acceleration
>
1
)
return
;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
/* FF_API_XVMC */
if
(
!
high_bit_depth
)
{
c
->
clear_block
=
ff_clear_block_sse
;
c
->
clear_blocks
=
ff_clear_blocks_sse
;
#if FF_API_XVMC
}
#endif
/* FF_API_XVMC */
}
c
->
vector_clipf
=
ff_vector_clipf_sse
;
#endif
/* HAVE_SSE_INLINE */
}
...
...
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