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
93f45383
Commit
93f45383
authored
Mar 22, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postproc/postprocess_template: split loop in 2 (block groups of 4, blocks)
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
7517e932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
postprocess_template.c
libpostproc/postprocess_template.c
+5
-1
No files found.
libpostproc/postprocess_template.c
View file @
93f45383
...
...
@@ -3476,7 +3476,10 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
// From this point on it is guaranteed that we can read and write 16 lines downward
// finish 1 block before the next otherwise we might have a problem
// with the L1 Cache of the P4 ... or only a few blocks at a time or something
for
(
x
=
0
;
x
<
width
;
x
+=
BLOCK_SIZE
){
for
(
x
=
0
;
x
<
width
;
){
int
startx
=
x
;
int
endx
=
FFMIN
(
width
,
x
+
32
);
for
(;
x
<
endx
;
x
+=
BLOCK_SIZE
){
const
int
stride
=
dstStride
;
#if TEMPLATE_PP_MMX
uint8_t
*
tmpXchg
;
...
...
@@ -3650,6 +3653,7 @@ static void RENAME(postProcess)(const uint8_t src[], int srcStride, uint8_t dst[
tempBlock1
=
tempBlock2
;
tempBlock2
=
tmpXchg
;
#endif
}
}
if
(
mode
&
DERING
){
...
...
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