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
0e285c2f
Commit
0e285c2f
authored
Aug 01, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mpegvideo: Kill some disabled code
parent
f2f145f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
18 deletions
+0
-18
mpegvideo_motion.c
libavcodec/mpegvideo_motion.c
+0
-7
mpegvideoencdsp.c
libavcodec/mpegvideoencdsp.c
+0
-11
No files found.
libavcodec/mpegvideo_motion.c
View file @
0e285c2f
...
...
@@ -279,13 +279,6 @@ void mpeg_motion_internal(MpegEncContext *s,
uvsrc_x
,
uvsrc_y
,
v_edge_pos
;
ptrdiff_t
uvlinesize
,
linesize
;
#if 0
if (s->quarter_sample) {
motion_x >>= 1;
motion_y >>= 1;
}
#endif
v_edge_pos
=
s
->
v_edge_pos
>>
field_based
;
linesize
=
s
->
current_picture
.
f
->
linesize
[
0
]
<<
field_based
;
uvlinesize
=
s
->
current_picture
.
f
->
linesize
[
1
]
<<
field_based
;
...
...
libavcodec/mpegvideoencdsp.c
View file @
0e285c2f
...
...
@@ -84,16 +84,6 @@ static int pix_norm1_c(uint8_t *pix, int line_size)
for
(
i
=
0
;
i
<
16
;
i
++
)
{
for
(
j
=
0
;
j
<
16
;
j
+=
8
)
{
#if 0
s += sq[pix[0]];
s += sq[pix[1]];
s += sq[pix[2]];
s += sq[pix[3]];
s += sq[pix[4]];
s += sq[pix[5]];
s += sq[pix[6]];
s += sq[pix[7]];
#else
#if HAVE_FAST_64BIT
register
uint64_t
x
=
*
(
uint64_t
*
)
pix
;
s
+=
sq
[
x
&
0xff
];
...
...
@@ -115,7 +105,6 @@ static int pix_norm1_c(uint8_t *pix, int line_size)
s
+=
sq
[(
x
>>
8
)
&
0xff
];
s
+=
sq
[(
x
>>
16
)
&
0xff
];
s
+=
sq
[(
x
>>
24
)
&
0xff
];
#endif
#endif
pix
+=
8
;
}
...
...
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