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
70a97345
Commit
70a97345
authored
Sep 18, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil: change assert(8) to av_assert2(8)
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
db436b17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
dsputil.c
libavcodec/dsputil.c
+7
-7
No files found.
libavcodec/dsputil.c
View file @
70a97345
...
@@ -2071,7 +2071,7 @@ static int hadamard8_diff8x8_c(/*MpegEncContext*/ void *s, uint8_t *dst, uint8_t
...
@@ -2071,7 +2071,7 @@ static int hadamard8_diff8x8_c(/*MpegEncContext*/ void *s, uint8_t *dst, uint8_t
int
temp
[
64
];
int
temp
[
64
];
int
sum
=
0
;
int
sum
=
0
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
for
(
i
=
0
;
i
<
8
;
i
++
){
for
(
i
=
0
;
i
<
8
;
i
++
){
//FIXME try pointer walks
//FIXME try pointer walks
...
@@ -2116,7 +2116,7 @@ static int hadamard8_intra8x8_c(/*MpegEncContext*/ void *s, uint8_t *src, uint8_
...
@@ -2116,7 +2116,7 @@ static int hadamard8_intra8x8_c(/*MpegEncContext*/ void *s, uint8_t *src, uint8_
int
temp
[
64
];
int
temp
[
64
];
int
sum
=
0
;
int
sum
=
0
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
for
(
i
=
0
;
i
<
8
;
i
++
){
for
(
i
=
0
;
i
<
8
;
i
++
){
//FIXME try pointer walks
//FIXME try pointer walks
...
@@ -2163,7 +2163,7 @@ static int dct_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
...
@@ -2163,7 +2163,7 @@ static int dct_sad8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
MpegEncContext
*
const
s
=
(
MpegEncContext
*
)
c
;
LOCAL_ALIGNED_16
(
DCTELEM
,
temp
,
[
64
]);
LOCAL_ALIGNED_16
(
DCTELEM
,
temp
,
[
64
]);
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
fdct
(
temp
);
s
->
dsp
.
fdct
(
temp
);
...
@@ -2228,7 +2228,7 @@ static int dct_max8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
...
@@ -2228,7 +2228,7 @@ static int dct_max8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2
LOCAL_ALIGNED_16
(
DCTELEM
,
temp
,
[
64
]);
LOCAL_ALIGNED_16
(
DCTELEM
,
temp
,
[
64
]);
int
sum
=
0
,
i
;
int
sum
=
0
,
i
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
fdct
(
temp
);
s
->
dsp
.
fdct
(
temp
);
...
@@ -2245,7 +2245,7 @@ static int quant_psnr8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *s
...
@@ -2245,7 +2245,7 @@ static int quant_psnr8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *s
DCTELEM
*
const
bak
=
temp
+
64
;
DCTELEM
*
const
bak
=
temp
+
64
;
int
sum
=
0
,
i
;
int
sum
=
0
,
i
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
s
->
mb_intra
=
0
;
s
->
mb_intra
=
0
;
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
...
@@ -2273,7 +2273,7 @@ static int rd8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int
...
@@ -2273,7 +2273,7 @@ static int rd8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, int
uint8_t
*
length
;
uint8_t
*
length
;
uint8_t
*
last_length
;
uint8_t
*
last_length
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
copy_block8
(
lsrc1
,
src1
,
8
,
stride
,
8
);
copy_block8
(
lsrc1
,
src1
,
8
,
stride
,
8
);
copy_block8
(
lsrc2
,
src2
,
8
,
stride
,
8
);
copy_block8
(
lsrc2
,
src2
,
8
,
stride
,
8
);
...
@@ -2347,7 +2347,7 @@ static int bit8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, in
...
@@ -2347,7 +2347,7 @@ static int bit8x8_c(/*MpegEncContext*/ void *c, uint8_t *src1, uint8_t *src2, in
uint8_t
*
length
;
uint8_t
*
length
;
uint8_t
*
last_length
;
uint8_t
*
last_length
;
a
ssert
(
h
==
8
);
a
v_assert2
(
h
==
8
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
s
->
dsp
.
diff_pixels
(
temp
,
src1
,
src2
,
stride
);
...
...
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