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
a5ba798c
Commit
a5ba798c
authored
Jan 29, 2013
by
Ronald S. Bultje
Committed by
Diego Biurrun
Jan 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil: remove unused functions copy_block{2, 4, 8, 16}.
parent
61d36761
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
48 deletions
+0
-48
dsputil_template.c
libavcodec/dsputil_template.c
+0
-48
No files found.
libavcodec/dsputil_template.c
View file @
a5ba798c
...
...
@@ -29,54 +29,6 @@
#include "bit_depth_template.c"
static
inline
void
FUNC
(
copy_block2
)(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
dstStride
,
int
srcStride
,
int
h
)
{
int
i
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
AV_WN2P
(
dst
,
AV_RN2P
(
src
));
dst
+=
dstStride
;
src
+=
srcStride
;
}
}
static
inline
void
FUNC
(
copy_block4
)(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
dstStride
,
int
srcStride
,
int
h
)
{
int
i
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
AV_WN4P
(
dst
,
AV_RN4P
(
src
));
dst
+=
dstStride
;
src
+=
srcStride
;
}
}
static
inline
void
FUNC
(
copy_block8
)(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
dstStride
,
int
srcStride
,
int
h
)
{
int
i
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
AV_WN4P
(
dst
,
AV_RN4P
(
src
));
AV_WN4P
(
dst
+
4
*
sizeof
(
pixel
),
AV_RN4P
(
src
+
4
*
sizeof
(
pixel
)));
dst
+=
dstStride
;
src
+=
srcStride
;
}
}
static
inline
void
FUNC
(
copy_block16
)(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
dstStride
,
int
srcStride
,
int
h
)
{
int
i
;
for
(
i
=
0
;
i
<
h
;
i
++
)
{
AV_WN4P
(
dst
,
AV_RN4P
(
src
));
AV_WN4P
(
dst
+
4
*
sizeof
(
pixel
),
AV_RN4P
(
src
+
4
*
sizeof
(
pixel
)));
AV_WN4P
(
dst
+
8
*
sizeof
(
pixel
),
AV_RN4P
(
src
+
8
*
sizeof
(
pixel
)));
AV_WN4P
(
dst
+
12
*
sizeof
(
pixel
),
AV_RN4P
(
src
+
12
*
sizeof
(
pixel
)));
dst
+=
dstStride
;
src
+=
srcStride
;
}
}
/* draw the edges of width 'w' of an image of size width, height */
//FIXME check that this is ok for mpeg4 interlaced
static
void
FUNCC
(
draw_edges
)(
uint8_t
*
_buf
,
int
_wrap
,
int
width
,
int
height
,
int
w
,
int
h
,
int
sides
)
...
...
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