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
e679560d
Commit
e679560d
authored
Sep 30, 2008
by
Benoit Fouet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrector type fits in 8 bits.
Originally committed as revision 15472 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2c3c87b8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
indeo3.c
libavcodec/indeo3.c
+3
-3
No files found.
libavcodec/indeo3.c
View file @
e679560d
...
...
@@ -51,7 +51,7 @@ typedef struct Indeo3DecodeContext {
YUVBufs
*
ref_frame
;
unsigned
char
*
ModPred
;
u
nsigned
shor
t
*
corrector_type
;
u
int8_
t
*
corrector_type
;
}
Indeo3DecodeContext
;
static
const
uint8_t
corrector_type_0
[
24
]
=
{
...
...
@@ -80,7 +80,7 @@ static av_cold void build_modpred(Indeo3DecodeContext *s)
s
->
ModPred
[
i
+
7
*
128
]
=
2
*
((
i
+
5
)
-
((
i
+
4
)
%
9
));
}
s
->
corrector_type
=
av_malloc
(
24
*
256
*
sizeof
(
*
s
->
corrector_type
)
);
s
->
corrector_type
=
av_malloc
(
24
*
256
);
for
(
i
=
0
;
i
<
24
;
++
i
)
{
for
(
j
=
0
;
j
<
256
;
++
j
)
{
...
...
@@ -308,7 +308,7 @@ static void iv_Decode_Chunk(Indeo3DecodeContext *s,
unsigned
char
*
cur_frm_pos
,
*
ref_frm_pos
,
*
cp
,
*
cp2
;
uint32_t
*
cur_lp
,
*
ref_lp
;
const
uint32_t
*
correction_lp
[
2
],
*
correctionloworder_lp
[
2
],
*
correctionhighorder_lp
[
2
];
u
nsigned
shor
t
*
correction_type_sp
[
2
];
u
int8_
t
*
correction_type_sp
[
2
];
ustr_t
strip_tbl
[
20
],
*
strip
;
int
i
,
j
,
k
,
lp1
,
lp2
,
flag1
,
cmd
,
blks_width
,
blks_height
,
region_160_width
,
rle_v1
,
rle_v2
,
rle_v3
;
...
...
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