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
32eea24e
Commit
32eea24e
authored
Mar 31, 2009
by
Reimar Döffinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prettify some assignments
Originally committed as revision 18261 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
e3114eb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
+20
-20
interplayvideo.c
libavcodec/interplayvideo.c
+20
-20
No files found.
libavcodec/interplayvideo.c
View file @
32eea24e
...
...
@@ -231,15 +231,15 @@ static int ipvideo_decode_block_opcode_0x7(IpvideoContext *s)
for
(
y
=
0
;
y
<
8
;
y
+=
2
)
{
for
(
x
=
0
;
x
<
8
;
x
+=
2
,
flags
>>=
1
)
{
if
(
flags
&
1
)
{
*
(
s
->
pixel_ptr
+
x
)
=
P1
;
*
(
s
->
pixel_ptr
+
x
+
1
)
=
P1
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
)
=
P1
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
+
1
)
=
P1
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
1
]
=
s
->
pixel_ptr
[
x
+
s
->
stride
]
=
s
->
pixel_ptr
[
x
+
1
+
s
->
stride
]
=
P1
;
}
else
{
*
(
s
->
pixel_ptr
+
x
)
=
P0
;
*
(
s
->
pixel_ptr
+
x
+
1
)
=
P0
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
)
=
P0
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
+
1
)
=
P0
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
1
]
=
s
->
pixel_ptr
[
x
+
s
->
stride
]
=
s
->
pixel_ptr
[
x
+
1
+
s
->
stride
]
=
P0
;
}
}
s
->
pixel_ptr
+=
s
->
stride
*
2
;
...
...
@@ -433,10 +433,10 @@ static int ipvideo_decode_block_opcode_0x9(IpvideoContext *s)
for
(
y
=
0
;
y
<
8
;
y
+=
2
)
{
for
(
x
=
0
;
x
<
8
;
x
+=
2
,
flags
>>=
2
)
{
pix
=
P
[
flags
&
0x03
];
*
(
s
->
pixel_ptr
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
x
+
1
)
=
pix
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
+
1
)
=
pix
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
1
]
=
s
->
pixel_ptr
[
x
+
s
->
stride
]
=
s
->
pixel_ptr
[
x
+
1
+
s
->
stride
]
=
pix
;
}
s
->
pixel_ptr
+=
s
->
stride
*
2
;
}
...
...
@@ -453,8 +453,8 @@ static int ipvideo_decode_block_opcode_0x9(IpvideoContext *s)
}
for
(
x
=
0
;
x
<
8
;
x
+=
2
,
flags
>>=
2
)
{
pix
=
P
[
flags
&
0x03
];
*
(
s
->
pixel_ptr
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
x
+
1
)
=
pix
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
1
]
=
pix
;
}
s
->
pixel_ptr
+=
s
->
stride
;
}
...
...
@@ -471,8 +471,8 @@ static int ipvideo_decode_block_opcode_0x9(IpvideoContext *s)
}
for
(
x
=
0
;
x
<
8
;
x
++
,
flags
>>=
2
)
{
pix
=
P
[
flags
&
0x03
];
*
(
s
->
pixel_ptr
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
)
=
pix
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
s
->
stride
]
=
pix
;
}
s
->
pixel_ptr
+=
s
->
stride
*
2
;
}
...
...
@@ -607,10 +607,10 @@ static int ipvideo_decode_block_opcode_0xC(IpvideoContext *s)
for
(
y
=
0
;
y
<
8
;
y
+=
2
)
{
for
(
x
=
0
;
x
<
8
;
x
+=
2
)
{
pix
=
*
s
->
stream_ptr
++
;
*
(
s
->
pixel_ptr
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
x
+
1
)
=
pix
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
)
=
pix
;
*
(
s
->
pixel_ptr
+
s
->
stride
+
x
+
1
)
=
pix
;
s
->
pixel_ptr
[
x
]
=
s
->
pixel_ptr
[
x
+
1
]
=
s
->
pixel_ptr
[
x
+
s
->
stride
]
=
s
->
pixel_ptr
[
x
+
1
+
s
->
stride
]
=
pix
;
}
s
->
pixel_ptr
+=
s
->
stride
*
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