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
9ccbdc0a
Commit
9ccbdc0a
authored
May 19, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indeo: Drop unused debug function ivi_check_band().
parent
0c517644
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
ivi_common.c
libavcodec/ivi_common.c
+0
-25
ivi_common.h
libavcodec/ivi_common.h
+0
-5
No files found.
libavcodec/ivi_common.c
View file @
9ccbdc0a
...
...
@@ -598,31 +598,6 @@ uint16_t ivi_calc_band_checksum (IVIBandDesc *band)
return
checksum
;
}
int
ivi_check_band
(
IVIBandDesc
*
band
,
const
uint8_t
*
ref
,
int
pitch
)
{
int
x
,
y
,
result
;
uint8_t
t1
,
t2
;
int16_t
*
src
;
src
=
band
->
buf
;
result
=
0
;
for
(
y
=
0
;
y
<
band
->
height
;
src
+=
band
->
pitch
,
y
++
)
{
for
(
x
=
0
;
x
<
band
->
width
;
x
++
)
{
t1
=
av_clip
(
src
[
x
]
+
128
,
0
,
255
);
t2
=
ref
[
x
];
if
(
t1
!=
t2
)
{
av_log
(
NULL
,
AV_LOG_ERROR
,
"Data mismatch: row %d, column %d
\n
"
,
y
/
band
->
blk_size
,
x
/
band
->
blk_size
);
result
=
-
1
;
}
}
ref
+=
pitch
;
}
return
result
;
}
#endif
void
ff_ivi_output_plane
(
IVIPlaneDesc
*
plane
,
uint8_t
*
dst
,
int
dst_pitch
)
...
...
libavcodec/ivi_common.h
View file @
9ccbdc0a
...
...
@@ -401,11 +401,6 @@ void ff_ivi_output_plane(IVIPlaneDesc *plane, uint8_t *dst, int dst_pitch);
*/
uint16_t
ivi_calc_band_checksum
(
IVIBandDesc
*
band
);
/**
* Verify that band data lies in range.
*/
int
ivi_check_band
(
IVIBandDesc
*
band
,
const
uint8_t
*
ref
,
int
pitch
);
int
ff_ivi_decode_frame
(
AVCodecContext
*
avctx
,
void
*
data
,
int
*
data_size
,
AVPacket
*
avpkt
);
av_cold
int
ff_ivi_decode_close
(
AVCodecContext
*
avctx
);
...
...
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