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
178f75a5
Commit
178f75a5
authored
Apr 01, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
snow-test: fix pointer type warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
5ef5c023
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
snowenc.c
libavcodec/snowenc.c
+3
-3
No files found.
libavcodec/snowenc.c
View file @
178f75a5
...
...
@@ -1955,7 +1955,7 @@ int main(void){
buffer
[
0
][
i
]
=
buffer
[
1
][
i
]
=
av_lfg_get
(
&
prng
)
%
54321
-
12345
;
ff_spatial_dwt
(
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
ff_spatial_idwt
(
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
ff_spatial_idwt
(
(
IDWTELEM
*
)
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
for
(
i
=
0
;
i
<
width
*
height
;
i
++
)
if
(
buffer
[
0
][
i
]
!=
buffer
[
1
][
i
])
printf
(
"fsck: %6d %12d %7d
\n
"
,
i
,
buffer
[
0
][
i
],
buffer
[
1
][
i
]);
...
...
@@ -1966,7 +1966,7 @@ int main(void){
buffer
[
0
][
i
]
=
buffer
[
1
][
i
]
=
av_lfg_get
(
&
prng
)
%
54321
-
12345
;
ff_spatial_dwt
(
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
ff_spatial_idwt
(
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
ff_spatial_idwt
(
(
IDWTELEM
*
)
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
for
(
i
=
0
;
i
<
width
*
height
;
i
++
)
if
(
FFABS
(
buffer
[
0
][
i
]
-
buffer
[
1
][
i
])
>
20
)
printf
(
"fsck: %6d %12d %7d
\n
"
,
i
,
buffer
[
0
][
i
],
buffer
[
1
][
i
]);
...
...
@@ -1992,7 +1992,7 @@ int main(void){
memset
(
buffer
[
0
],
0
,
sizeof
(
int
)
*
width
*
height
);
buf
[
w
/
2
+
h
/
2
*
stride
]
=
256
*
256
;
ff_spatial_idwt
(
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
ff_spatial_idwt
(
(
IDWTELEM
*
)
buffer
[
0
],
width
,
height
,
width
,
s
.
spatial_decomposition_type
,
s
.
spatial_decomposition_count
);
for
(
y
=
0
;
y
<
height
;
y
++
){
for
(
x
=
0
;
x
<
width
;
x
++
){
int64_t
d
=
buffer
[
0
][
x
+
y
*
width
];
...
...
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