Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b144a5ef
Commit
b144a5ef
authored
Nov 26, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/video_chroma/i420_rgb.h: fixed slanted picture output with odd
widths (Closes: #28).
parent
ba850c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/video_chroma/i420_rgb.h
modules/video_chroma/i420_rgb.h
+3
-3
No files found.
modules/video_chroma/i420_rgb.h
View file @
b144a5ef
...
...
@@ -2,7 +2,7 @@
* i420_rgb.h : YUV to bitmap RGB conversion module for vlc
*****************************************************************************
* Copyright (C) 2000 VideoLAN
* $Id: i420_rgb.h,v 1.
2
2002/11/2
5 19:29:10
sam Exp $
* $Id: i420_rgb.h,v 1.
3
2002/11/2
6 20:04:33
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -175,7 +175,7 @@ void E_(I420_RGB32) ( vout_thread_t *, picture_t *, picture_t * );
{ \
*p_pic++ = *p_buffer; p_buffer += *p_offset++; \
} \
p_pic += i_right_margin;
\
(u8*)
p_pic += i_right_margin; \
} \
else \
{ \
...
...
@@ -213,7 +213,7 @@ void E_(I420_RGB32) ( vout_thread_t *, picture_t *, picture_t * );
} \
} \
/* Increment of picture pointer to end of line is still needed */
\
p_pic += i_right_margin;
\
(u8*)
p_pic += i_right_margin; \
\
/* Increment the Y coordinate in the matrix, modulo 4 */
\
i_real_y = (i_real_y + 1) & 0x3; \
...
...
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