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
e868f84e
Commit
e868f84e
authored
May 31, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/snow: fix 1 pixel block sizes
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
aab2e939
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
snow.c
libavcodec/snow.c
+6
-2
No files found.
libavcodec/snow.c
View file @
e868f84e
...
...
@@ -358,9 +358,13 @@ void ff_snow_pred_block(SnowContext *s, uint8_t *dst, uint8_t *tmp, ptrdiff_t st
av_assert2
(
s
->
chroma_h_shift
==
s
->
chroma_v_shift
);
// only one mv_scale
av_assert2
(
b_w
>
1
&&
b_h
>
1
);
av_assert2
((
tab_index
>=
0
&&
tab_index
<
4
)
||
b_w
==
32
);
if
((
dx
&
3
)
||
(
dy
&
3
)
||
!
(
b_w
==
b_h
||
2
*
b_w
==
b_h
||
b_w
==
2
*
b_h
)
||
(
b_w
&
(
b_w
-
1
))
||
!
s
->
plane
[
plane_index
].
fast_mc
)
if
(
(
dx
&
3
)
||
(
dy
&
3
)
||
!
(
b_w
==
b_h
||
2
*
b_w
==
b_h
||
b_w
==
2
*
b_h
)
||
(
b_w
&
(
b_w
-
1
))
||
b_w
==
1
||
b_h
==
1
||
!
s
->
plane
[
plane_index
].
fast_mc
)
mc_block
(
&
s
->
plane
[
plane_index
],
dst
,
src
,
stride
,
b_w
,
b_h
,
dx
,
dy
);
else
if
(
b_w
==
32
){
int
y
;
...
...
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