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
b0c51bbc
Commit
b0c51bbc
authored
Aug 01, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h264_mc_template: switch to av_assert
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
38d1c5a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
h264_mc_template.c
libavcodec/h264_mc_template.c
+3
-3
No files found.
libavcodec/h264_mc_template.c
View file @
b0c51bbc
...
...
@@ -71,7 +71,7 @@ static void MCFUNC(hl_motion)(H264Context *h, uint8_t *dest_y,
const
int
mb_xy
=
h
->
mb_xy
;
const
int
mb_type
=
s
->
current_picture
.
f
.
mb_type
[
mb_xy
];
a
ssert
(
IS_INTER
(
mb_type
));
a
v_assert2
(
IS_INTER
(
mb_type
));
if
(
HAVE_THREADS
&&
(
s
->
avctx
->
active_thread_type
&
FF_THREAD_FRAME
))
await_references
(
h
);
...
...
@@ -103,7 +103,7 @@ static void MCFUNC(hl_motion)(H264Context *h, uint8_t *dest_y,
}
else
{
int
i
;
a
ssert
(
IS_8X8
(
mb_type
));
a
v_assert2
(
IS_8X8
(
mb_type
));
for
(
i
=
0
;
i
<
4
;
i
++
)
{
const
int
sub_mb_type
=
h
->
sub_mb_type
[
i
];
...
...
@@ -141,7 +141,7 @@ static void MCFUNC(hl_motion)(H264Context *h, uint8_t *dest_y,
IS_DIR
(
sub_mb_type
,
0
,
0
),
IS_DIR
(
sub_mb_type
,
0
,
1
));
}
else
{
int
j
;
a
ssert
(
IS_SUB_4X4
(
sub_mb_type
));
a
v_assert2
(
IS_SUB_4X4
(
sub_mb_type
));
for
(
j
=
0
;
j
<
4
;
j
++
)
{
int
sub_x_offset
=
x_offset
+
2
*
(
j
&
1
);
int
sub_y_offset
=
y_offset
+
(
j
&
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