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
c163e62d
Commit
c163e62d
authored
Mar 24, 2019
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ivi: Factor ref_mb check out
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
468ae6a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ivi.c
libavcodec/ivi.c
+5
-4
No files found.
libavcodec/ivi.c
View file @
c163e62d
...
...
@@ -806,10 +806,11 @@ static int ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band,
mb
->
mv_y
=
0
;
}
if
(
band
->
inherit_qdelta
&&
ref_mb
)
if
(
ref_mb
)
{
if
(
band
->
inherit_qdelta
)
mb
->
q_delta
=
ref_mb
->
q_delta
;
if
(
band
->
inherit_mv
&&
ref_mb
)
{
if
(
band
->
inherit_mv
)
{
/* motion vector inheritance */
if
(
mv_scale
)
{
mb
->
mv_x
=
ivi_scale_mv
(
ref_mb
->
mv_x
,
mv_scale
);
...
...
@@ -836,10 +837,10 @@ static int ivi_process_empty_tile(AVCodecContext *avctx, IVIBandDesc *band,
}
}
}
ref_mb
++
;
}
mb
++
;
if
(
ref_mb
)
ref_mb
++
;
mb_offset
+=
band
->
mb_size
;
}
// for x
offs
+=
row_offset
;
...
...
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