Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
49ac51d8
Commit
49ac51d8
authored
May 04, 2004
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+ video_chroma/i420_yuy2.c : fixed conversion for non-multiple-of-8
widths (MMX untested)
parent
5cdfaf1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
modules/video_chroma/i420_yuy2.c
modules/video_chroma/i420_yuy2.c
+10
-6
No files found.
modules/video_chroma/i420_yuy2.c
View file @
49ac51d8
...
...
@@ -262,17 +262,21 @@ static void I420_YUY2( vout_thread_t *p_vout, picture_t *p_source,
p_y1
=
p_y2
;
p_y2
+=
p_source
->
p
[
Y_PLANE
].
i_pitch
;
for
(
i_x
=
p_vout
->
render
.
i_width
/
8
;
i_x
--
;
)
{
#if !defined (MODULE_NAME_IS_i420_yuy2_mmx)
for
(
i_x
=
p_vout
->
render
.
i_width
/
2
;
i_x
--
;
)
{
C_YUV420_YUYV
(
);
C_YUV420_YUYV
(
);
C_YUV420_YUYV
(
);
C_YUV420_YUYV
(
);
}
#else
for
(
i_x
=
p_vout
->
render
.
i_width
/
8
;
i_x
--
;
)
{
MMX_CALL
(
MMX_YUV420_YUYV
);
#endif
}
for
(
i_x
=
(
p_vout
->
render
.
i_width
%
8
)
/
2
;
i_x
--
;
)
{
C_YUV420_YUYV
(
);
}
#endif
p_y1
+=
i_source_margin
;
p_y2
+=
i_source_margin
;
...
...
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