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
59dfc2b0
Commit
59dfc2b0
authored
Apr 28, 2015
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
h263: Drop commented-out code and a related otherwise unused function
parent
c3418201
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
17 deletions
+0
-17
h263.h
libavcodec/h263.h
+0
-7
mpeg4video.c
libavcodec/mpeg4video.c
+0
-10
No files found.
libavcodec/h263.h
View file @
59dfc2b0
...
...
@@ -211,11 +211,4 @@ static inline int get_p_cbp(MpegEncContext * s,
return
cbp
;
}
static
inline
void
memsetw
(
short
*
tab
,
int
val
,
int
n
)
{
int
i
;
for
(
i
=
0
;
i
<
n
;
i
++
)
tab
[
i
]
=
val
;
}
#endif
/* AVCODEC_H263_H */
libavcodec/mpeg4video.c
View file @
59dfc2b0
...
...
@@ -51,13 +51,6 @@ void ff_mpeg4_clean_buffers(MpegEncContext *s)
c_wrap
=
s
->
mb_stride
;
c_xy
=
(
s
->
mb_y
-
1
)
*
c_wrap
+
s
->
mb_x
-
1
;
#if 0
/* clean DC */
memsetw(s->dc_val[0] + l_xy, 1024, l_wrap * 2 + 1);
memsetw(s->dc_val[1] + c_xy, 1024, c_wrap + 1);
memsetw(s->dc_val[2] + c_xy, 1024, c_wrap + 1);
#endif
/* clean AC */
memset
(
s
->
ac_val
[
0
]
+
l_xy
,
0
,
(
l_wrap
*
2
+
1
)
*
16
*
sizeof
(
int16_t
));
memset
(
s
->
ac_val
[
1
]
+
c_xy
,
0
,
(
c_wrap
+
1
)
*
16
*
sizeof
(
int16_t
));
...
...
@@ -65,9 +58,6 @@ void ff_mpeg4_clean_buffers(MpegEncContext *s)
/* clean MV */
// we can't clear the MVs as they might be needed by a b frame
// memset(s->motion_val + l_xy, 0, (l_wrap * 2 + 1) * 2 * sizeof(int16_t));
// memset(s->motion_val, 0, 2 * sizeof(int16_t) * (2 + s->mb_width * 2) *
// (2 + s->mb_height * 2));
s
->
last_mv
[
0
][
0
][
0
]
=
s
->
last_mv
[
0
][
0
][
1
]
=
s
->
last_mv
[
1
][
0
][
0
]
=
...
...
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