Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
15320bad
Commit
15320bad
authored
Feb 27, 2004
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rawvideo.c, ffmpeg/chroma.c: added YVU9.
parent
9803dc46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modules/codec/ffmpeg/chroma.c
modules/codec/ffmpeg/chroma.c
+6
-3
modules/codec/rawvideo.c
modules/codec/rawvideo.c
+2
-1
No files found.
modules/codec/ffmpeg/chroma.c
View file @
15320bad
...
...
@@ -2,7 +2,7 @@
* chroma.c: chroma conversion using ffmpeg library
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: chroma.c,v 1.
6 2003/11/26 22:18:29 gbazin
Exp $
* $Id: chroma.c,v 1.
7 2004/02/27 14:02:05 fenrir
Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -93,6 +93,7 @@ int E_(OpenChroma)( vlc_object_t *p_this )
break
;
case
VLC_FOURCC
(
'I'
,
'4'
,
'1'
,
'0'
):
case
VLC_FOURCC
(
'Y'
,
'V'
,
'U'
,
'9'
):
i_ffmpeg_chroma
[
i
]
=
PIX_FMT_YUV410P
;
break
;
...
...
@@ -174,13 +175,15 @@ static void ChromaConversion( vout_thread_t *p_vout,
}
/* Special cases */
if
(
p_vout
->
chroma
.
p_sys
->
i_src_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'1'
,
'2'
)
)
if
(
p_vout
->
chroma
.
p_sys
->
i_src_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'1'
,
'2'
)
||
p_vout
->
chroma
.
p_sys
->
i_src_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'U'
,
'9'
)
)
{
/* Invert U and V */
src_pic
.
data
[
1
]
=
p_src
->
p
[
2
].
p_pixels
;
src_pic
.
data
[
2
]
=
p_src
->
p
[
1
].
p_pixels
;
}
if
(
p_vout
->
chroma
.
p_sys
->
i_dst_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'1'
,
'2'
)
)
if
(
p_vout
->
chroma
.
p_sys
->
i_dst_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'1'
,
'2'
)
||
p_vout
->
chroma
.
p_sys
->
i_dst_vlc_chroma
==
VLC_FOURCC
(
'Y'
,
'V'
,
'U'
,
'9'
)
)
{
/* Invert U and V */
dest_pic
.
data
[
1
]
=
p_dest
->
p
[
2
].
p_pixels
;
...
...
modules/codec/rawvideo.c
View file @
15320bad
...
...
@@ -2,7 +2,7 @@
* rawvideo.c: Pseudo video decoder/packetizer for raw video data
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: rawvideo.c,v 1.1
2 2004/02/22 15:57:41
fenrir Exp $
* $Id: rawvideo.c,v 1.1
3 2004/02/27 14:02:05
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -92,6 +92,7 @@ static int OpenDecoder( vlc_object_t *p_this )
case
VLC_FOURCC
(
'I'
,
'Y'
,
'U'
,
'V'
):
case
VLC_FOURCC
(
'I'
,
'4'
,
'1'
,
'1'
):
case
VLC_FOURCC
(
'I'
,
'4'
,
'1'
,
'0'
):
case
VLC_FOURCC
(
'Y'
,
'V'
,
'U'
,
'9'
):
/* Packed YUV */
case
VLC_FOURCC
(
'Y'
,
'U'
,
'Y'
,
'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