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
a3cb8653
Commit
a3cb8653
authored
Apr 10, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: dsputil: Move some ifdefs to avoid unused variable warnings
parent
2004c7c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+2
-2
No files found.
libavcodec/x86/dsputil_mmx.c
View file @
a3cb8653
...
...
@@ -1511,9 +1511,9 @@ static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx,
static
av_cold
void
dsputil_init_3dnow
(
DSPContext
*
c
,
AVCodecContext
*
avctx
,
int
mm_flags
)
{
#if HAVE_YASM
const
int
high_bit_depth
=
avctx
->
bits_per_raw_sample
>
8
;
#if HAVE_YASM
if
(
!
high_bit_depth
)
{
c
->
put_pixels_tab
[
0
][
1
]
=
ff_put_pixels16_x2_3dnow
;
c
->
put_pixels_tab
[
0
][
2
]
=
ff_put_pixels16_y2_3dnow
;
...
...
@@ -1551,9 +1551,9 @@ static av_cold void dsputil_init_3dnow(DSPContext *c, AVCodecContext *avctx,
static
av_cold
void
dsputil_init_sse
(
DSPContext
*
c
,
AVCodecContext
*
avctx
,
int
mm_flags
)
{
#if HAVE_INLINE_ASM
const
int
high_bit_depth
=
avctx
->
bits_per_raw_sample
>
8
;
#if HAVE_INLINE_ASM
if
(
!
high_bit_depth
)
{
if
(
!
(
CONFIG_MPEG_XVMC_DECODER
&&
avctx
->
xvmc_acceleration
>
1
))
{
/* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */
...
...
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