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
782c5984
Commit
782c5984
authored
Jan 29, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
100000l
Originally committed as revision 1524 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
69e1a1f2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
imgconvert.c
libavcodec/imgconvert.c
+18
-13
No files found.
libavcodec/imgconvert.c
View file @
782c5984
...
@@ -1294,6 +1294,15 @@ static void deinterlace_line(UINT8 *dst, UINT8 *lum_m4, UINT8 *lum_m3, UINT8 *lu
...
@@ -1294,6 +1294,15 @@ static void deinterlace_line(UINT8 *dst, UINT8 *lum_m4, UINT8 *lum_m3, UINT8 *lu
}
}
#else
#else
{
mmx_t
rounder
;
rounder
.
uw
[
0
]
=
4
;
rounder
.
uw
[
1
]
=
4
;
rounder
.
uw
[
2
]
=
4
;
rounder
.
uw
[
3
]
=
4
;
pxor_r2r
(
mm7
,
mm7
);
movq_m2r
(
rounder
,
mm6
);
}
for
(;
size
>
3
;
size
-=
4
)
{
for
(;
size
>
3
;
size
-=
4
)
{
DEINT_LINE_LUM
DEINT_LINE_LUM
lum_m4
+=
4
;
lum_m4
+=
4
;
...
@@ -1328,6 +1337,15 @@ static void deinterlace_line_inplace(UINT8 *lum_m4, UINT8 *lum_m3, UINT8 *lum_m2
...
@@ -1328,6 +1337,15 @@ static void deinterlace_line_inplace(UINT8 *lum_m4, UINT8 *lum_m3, UINT8 *lum_m2
}
}
#else
#else
{
mmx_t
rounder
;
rounder
.
uw
[
0
]
=
4
;
rounder
.
uw
[
1
]
=
4
;
rounder
.
uw
[
2
]
=
4
;
rounder
.
uw
[
3
]
=
4
;
pxor_r2r
(
mm7
,
mm7
);
movq_m2r
(
rounder
,
mm6
);
}
for
(;
size
>
3
;
size
-=
4
)
{
for
(;
size
>
3
;
size
-=
4
)
{
DEINT_INPLACE_LINE_LUM
DEINT_INPLACE_LINE_LUM
lum_m4
+=
4
;
lum_m4
+=
4
;
...
@@ -1410,19 +1428,6 @@ int avpicture_deinterlace(AVPicture *dst, AVPicture *src,
...
@@ -1410,19 +1428,6 @@ int avpicture_deinterlace(AVPicture *dst, AVPicture *src,
if
((
width
&
3
)
!=
0
||
(
height
&
3
)
!=
0
)
if
((
width
&
3
)
!=
0
||
(
height
&
3
)
!=
0
)
return
-
1
;
return
-
1
;
#ifdef HAVE_MMX
{
mmx_t
rounder
;
rounder
.
uw
[
0
]
=
4
;
rounder
.
uw
[
1
]
=
4
;
rounder
.
uw
[
2
]
=
4
;
rounder
.
uw
[
3
]
=
4
;
pxor_r2r
(
mm7
,
mm7
);
movq_m2r
(
rounder
,
mm6
);
}
#endif
for
(
i
=
0
;
i
<
3
;
i
++
)
{
for
(
i
=
0
;
i
<
3
;
i
++
)
{
if
(
i
==
1
)
{
if
(
i
==
1
)
{
switch
(
pix_fmt
)
{
switch
(
pix_fmt
)
{
...
...
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