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
436c4523
Commit
436c4523
authored
Apr 10, 2011
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H264: fix prefetch
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
dc172ecc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
h264.c
libavcodec/h264.c
+1
-1
No files found.
libavcodec/h264.c
View file @
436c4523
...
...
@@ -639,7 +639,7 @@ static inline void prefetch_motion(H264Context *h, int list){
uint8_t
**
src
=
h
->
ref_list
[
list
][
refn
].
data
;
int
off
=
mx
*
h
->
pixel_size
+
(
my
+
(
s
->
mb_x
&
3
)
*
4
)
*
h
->
mb_linesize
+
64
*
h
->
pixel_size
;
s
->
dsp
.
prefetch
(
src
[
0
]
+
off
,
s
->
linesize
,
4
);
off
=
(
mx
>>
1
)
*
h
->
pixel_size
+
((
my
>>
1
)
*
h
->
pixel_size
+
(
s
->
mb_x
&
7
))
*
s
->
uvlinesize
+
64
*
h
->
pixel_size
;
off
=
(
mx
>>
1
)
*
h
->
pixel_size
+
((
my
>>
1
)
+
(
s
->
mb_x
&
7
))
*
s
->
uvlinesize
+
64
*
h
->
pixel_size
;
s
->
dsp
.
prefetch
(
src
[
1
]
+
off
,
src
[
2
]
-
src
[
1
],
2
);
}
}
...
...
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