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
2004c7c8
Commit
2004c7c8
authored
Apr 10, 2013
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: dsputil: cosmetics: Remove two pointless variable indirections
parent
c51a3a5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
dsputil_mmx.c
libavcodec/x86/dsputil_mmx.c
+2
-4
No files found.
libavcodec/x86/dsputil_mmx.c
View file @
2004c7c8
...
...
@@ -1438,8 +1438,7 @@ static av_cold void dsputil_init_mmx(DSPContext *c, AVCodecContext *avctx,
static
av_cold
void
dsputil_init_mmxext
(
DSPContext
*
c
,
AVCodecContext
*
avctx
,
int
mm_flags
)
{
const
int
bit_depth
=
avctx
->
bits_per_raw_sample
;
const
int
high_bit_depth
=
bit_depth
>
8
;
const
int
high_bit_depth
=
avctx
->
bits_per_raw_sample
>
8
;
#if HAVE_YASM
SET_QPEL_FUNCS
(
avg_qpel
,
0
,
16
,
mmxext
,
);
...
...
@@ -1570,8 +1569,7 @@ static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx,
static
av_cold
void
dsputil_init_sse2
(
DSPContext
*
c
,
AVCodecContext
*
avctx
,
int
mm_flags
)
{
const
int
bit_depth
=
avctx
->
bits_per_raw_sample
;
const
int
high_bit_depth
=
bit_depth
>
8
;
const
int
high_bit_depth
=
avctx
->
bits_per_raw_sample
>
8
;
#if HAVE_SSE2_INLINE
if
(
!
high_bit_depth
&&
avctx
->
idct_algo
==
FF_IDCT_XVIDMMX
)
{
...
...
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