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
7fb8b491
Commit
7fb8b491
authored
Apr 17, 2012
by
Christophe GISQUET
Committed by
Ronald S. Bultje
Apr 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rv34dsp: factorize a multiplication in the noround inverse transform
Signed-off-by:
Ronald S. Bultje
<
rsbultje@gmail.com
>
parent
d834ab0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
rv34dsp.c
libavcodec/rv34dsp.c
+9
-9
No files found.
libavcodec/rv34dsp.c
View file @
7fb8b491
...
...
@@ -88,15 +88,15 @@ static void rv34_inv_transform_noround_c(DCTELEM *block){
rv34_row_transform
(
temp
,
block
);
for
(
i
=
0
;
i
<
4
;
i
++
){
const
int
z0
=
13
*
(
temp
[
4
*
0
+
i
]
+
temp
[
4
*
2
+
i
]);
const
int
z1
=
13
*
(
temp
[
4
*
0
+
i
]
-
temp
[
4
*
2
+
i
]);
const
int
z2
=
7
*
temp
[
4
*
1
+
i
]
-
17
*
temp
[
4
*
3
+
i
];
const
int
z3
=
17
*
temp
[
4
*
1
+
i
]
+
7
*
temp
[
4
*
3
+
i
];
block
[
i
*
4
+
0
]
=
(
(
z0
+
z3
)
*
3
)
>>
11
;
block
[
i
*
4
+
1
]
=
(
(
z1
+
z2
)
*
3
)
>>
11
;
block
[
i
*
4
+
2
]
=
(
(
z1
-
z2
)
*
3
)
>>
11
;
block
[
i
*
4
+
3
]
=
(
(
z0
-
z3
)
*
3
)
>>
11
;
const
int
z0
=
39
*
(
temp
[
4
*
0
+
i
]
+
temp
[
4
*
2
+
i
]);
const
int
z1
=
39
*
(
temp
[
4
*
0
+
i
]
-
temp
[
4
*
2
+
i
]);
const
int
z2
=
21
*
temp
[
4
*
1
+
i
]
-
51
*
temp
[
4
*
3
+
i
];
const
int
z3
=
51
*
temp
[
4
*
1
+
i
]
+
21
*
temp
[
4
*
3
+
i
];
block
[
i
*
4
+
0
]
=
(
z0
+
z
3
)
>>
11
;
block
[
i
*
4
+
1
]
=
(
z1
+
z2
)
>>
11
;
block
[
i
*
4
+
2
]
=
(
z1
-
z2
)
>>
11
;
block
[
i
*
4
+
3
]
=
(
z0
-
z
3
)
>>
11
;
}
}
...
...
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