Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
c51a81d4
Commit
c51a81d4
authored
May 19, 2004
by
Damien Fouilleul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- added support for UYVY chroma for directx direct vout render
parent
beb4664f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
modules/video_output/directx/directx.c
modules/video_output/directx/directx.c
+1
-0
src/video_output/vout_pictures.c
src/video_output/vout_pictures.c
+3
-1
No files found.
modules/video_output/directx/directx.c
View file @
c51a81d4
...
...
@@ -1624,6 +1624,7 @@ static int UpdatePictureStruct( vout_thread_t *p_vout, picture_t *p_pic,
p_pic
->
i_planes
=
3
;
break
;
case
VLC_FOURCC
(
'U'
,
'Y'
,
'V'
,
'Y'
):
case
VLC_FOURCC
(
'Y'
,
'U'
,
'Y'
,
'2'
):
p_pic
->
p
->
p_pixels
=
p_pic
->
p_sys
->
ddsd
.
lpSurface
;
...
...
src/video_output/vout_pictures.c
View file @
c51a81d4
...
...
@@ -2,7 +2,7 @@
* vout_pictures.c : picture management functions
*****************************************************************************
* Copyright (C) 2000-2004 VideoLAN
* $Id
: vout_pictures.c,v 1.47 2004/02/27 14:01:35 fenrir Exp
$
* $Id$
*
* Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -518,6 +518,7 @@ void vout_InitFormat( video_frame_format_t *p_format, vlc_fourcc_t i_chroma,
break
;
case
FOURCC_I422
:
case
FOURCC_YUY2
:
case
FOURCC_UYVY
:
p_format
->
i_bits_per_pixel
=
16
;
p_format
->
i_bits_per_pixel
=
16
;
break
;
...
...
@@ -659,6 +660,7 @@ void vout_InitPicture( vlc_object_t *p_this, picture_t *p_pic,
p_pic
->
i_planes
=
1
;
break
;
case
FOURCC_UYVY
:
case
FOURCC_YUY2
:
p_pic
->
p
->
i_lines
=
i_height
;
p_pic
->
p
->
i_pitch
=
i_width
*
2
;
...
...
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