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
e00c516d
Commit
e00c516d
authored
Feb 01, 2017
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/ituh263dec: Correct indention
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
aecdb14a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
ituh263dec.c
libavcodec/ituh263dec.c
+13
-13
No files found.
libavcodec/ituh263dec.c
View file @
e00c516d
...
...
@@ -364,14 +364,14 @@ static void preview_obmc(MpegEncContext *s){
/* 16x16 motion prediction */
mot_val
=
ff_h263_pred_motion
(
s
,
0
,
0
,
&
pred_x
,
&
pred_y
);
if
(
s
->
umvplus
)
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
else
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
if
(
s
->
umvplus
)
my
=
h263p_decode_umotion
(
s
,
pred_y
);
my
=
h263p_decode_umotion
(
s
,
pred_y
);
else
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
mot_val
[
0
]
=
mot_val
[
2
]
=
mot_val
[
0
+
stride
]
=
mot_val
[
2
+
stride
]
=
mx
;
...
...
@@ -382,16 +382,16 @@ static void preview_obmc(MpegEncContext *s){
for
(
i
=
0
;
i
<
4
;
i
++
)
{
mot_val
=
ff_h263_pred_motion
(
s
,
i
,
0
,
&
pred_x
,
&
pred_y
);
if
(
s
->
umvplus
)
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
else
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
if
(
s
->
umvplus
)
my
=
h263p_decode_umotion
(
s
,
pred_y
);
my
=
h263p_decode_umotion
(
s
,
pred_y
);
else
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
if
(
s
->
umvplus
&&
(
mx
-
pred_x
)
==
1
&&
(
my
-
pred_y
)
==
1
)
skip_bits1
(
&
s
->
gb
);
/* Bit stuffing to prevent PSC */
skip_bits1
(
&
s
->
gb
);
/* Bit stuffing to prevent PSC */
mot_val
[
0
]
=
mx
;
mot_val
[
1
]
=
my
;
}
...
...
@@ -690,16 +690,16 @@ int ff_h263_decode_mb(MpegEncContext *s,
for
(
i
=
0
;
i
<
4
;
i
++
)
{
mot_val
=
ff_h263_pred_motion
(
s
,
i
,
0
,
&
pred_x
,
&
pred_y
);
if
(
s
->
umvplus
)
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
mx
=
h263p_decode_umotion
(
s
,
pred_x
);
else
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
mx
=
ff_h263_decode_motion
(
s
,
pred_x
,
1
);
if
(
mx
>=
0xffff
)
return
-
1
;
if
(
s
->
umvplus
)
my
=
h263p_decode_umotion
(
s
,
pred_y
);
my
=
h263p_decode_umotion
(
s
,
pred_y
);
else
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
my
=
ff_h263_decode_motion
(
s
,
pred_y
,
1
);
if
(
my
>=
0xffff
)
return
-
1
;
s
->
mv
[
0
][
i
][
0
]
=
mx
;
...
...
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