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
84a020ef
Commit
84a020ef
authored
Mar 07, 2012
by
Ronald S. Bultje
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
roqvideo: cosmetics.
parent
cdf15771
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
roqvideodec.c
libavcodec/roqvideodec.c
+16
-16
No files found.
libavcodec/roqvideodec.c
View file @
84a020ef
...
@@ -95,9 +95,9 @@ static void roqvideo_decode_frame(RoqContext *ri)
...
@@ -95,9 +95,9 @@ static void roqvideo_decode_frame(RoqContext *ri)
case
RoQ_ID_SLD
:
case
RoQ_ID_SLD
:
qcell
=
ri
->
cb4x4
+
bytestream2_get_byte
(
&
ri
->
gb
);
qcell
=
ri
->
cb4x4
+
bytestream2_get_byte
(
&
ri
->
gb
);
ff_apply_vector_4x4
(
ri
,
xp
,
yp
,
ri
->
cb2x2
+
qcell
->
idx
[
0
]);
ff_apply_vector_4x4
(
ri
,
xp
,
yp
,
ri
->
cb2x2
+
qcell
->
idx
[
0
]);
ff_apply_vector_4x4
(
ri
,
xp
+
4
,
yp
,
ri
->
cb2x2
+
qcell
->
idx
[
1
]);
ff_apply_vector_4x4
(
ri
,
xp
+
4
,
yp
,
ri
->
cb2x2
+
qcell
->
idx
[
1
]);
ff_apply_vector_4x4
(
ri
,
xp
,
yp
+
4
,
ri
->
cb2x2
+
qcell
->
idx
[
2
]);
ff_apply_vector_4x4
(
ri
,
xp
,
yp
+
4
,
ri
->
cb2x2
+
qcell
->
idx
[
2
]);
ff_apply_vector_4x4
(
ri
,
xp
+
4
,
yp
+
4
,
ri
->
cb2x2
+
qcell
->
idx
[
3
]);
ff_apply_vector_4x4
(
ri
,
xp
+
4
,
yp
+
4
,
ri
->
cb2x2
+
qcell
->
idx
[
3
]);
break
;
break
;
case
RoQ_ID_CCC
:
case
RoQ_ID_CCC
:
for
(
k
=
0
;
k
<
4
;
k
++
)
{
for
(
k
=
0
;
k
<
4
;
k
++
)
{
...
@@ -125,15 +125,15 @@ static void roqvideo_decode_frame(RoqContext *ri)
...
@@ -125,15 +125,15 @@ static void roqvideo_decode_frame(RoqContext *ri)
case
RoQ_ID_SLD
:
case
RoQ_ID_SLD
:
qcell
=
ri
->
cb4x4
+
bytestream2_get_byte
(
&
ri
->
gb
);
qcell
=
ri
->
cb4x4
+
bytestream2_get_byte
(
&
ri
->
gb
);
ff_apply_vector_2x2
(
ri
,
x
,
y
,
ri
->
cb2x2
+
qcell
->
idx
[
0
]);
ff_apply_vector_2x2
(
ri
,
x
,
y
,
ri
->
cb2x2
+
qcell
->
idx
[
0
]);
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
,
ri
->
cb2x2
+
qcell
->
idx
[
1
]);
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
,
ri
->
cb2x2
+
qcell
->
idx
[
1
]);
ff_apply_vector_2x2
(
ri
,
x
,
y
+
2
,
ri
->
cb2x2
+
qcell
->
idx
[
2
]);
ff_apply_vector_2x2
(
ri
,
x
,
y
+
2
,
ri
->
cb2x2
+
qcell
->
idx
[
2
]);
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
+
2
,
ri
->
cb2x2
+
qcell
->
idx
[
3
]);
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
+
2
,
ri
->
cb2x2
+
qcell
->
idx
[
3
]);
break
;
break
;
case
RoQ_ID_CCC
:
case
RoQ_ID_CCC
:
ff_apply_vector_2x2
(
ri
,
x
,
y
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
,
y
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
,
y
+
2
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
,
y
+
2
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
+
2
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
ff_apply_vector_2x2
(
ri
,
x
+
2
,
y
+
2
,
ri
->
cb2x2
+
bytestream2_get_byte
(
&
ri
->
gb
));
break
;
break
;
}
}
}
}
...
...
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