[vlc-devel] [PATCH] i420_rgb: enable conversion from J420
Pierre Ynard
linkfanel at yahoo.fr
Fri Dec 12 12:10:00 CET 2008
The i420_rgb chroma conversion module seems to be able to convert from
J420 YUV format as well. Enable it.
diff --git a/modules/video_chroma/i420_rgb.c b/modules/video_chroma/i420_rgb.c
index 4b884ab..4ce5f63 100644
--- a/modules/video_chroma/i420_rgb.c
+++ b/modules/video_chroma/i420_rgb.c
@@ -70,16 +70,16 @@ static void Set8bppPalette ( filter_t *, uint8_t * );
*****************************************************************************/
vlc_module_begin ()
#if defined (MODULE_NAME_IS_i420_rgb)
- set_description( N_("I420,IYUV,YV12 to "
+ set_description( N_("I420,IYUV,J420,YV12 to "
"RGB2,RV15,RV16,RV24,RV32 conversions") );
set_capability( "video filter2", 80 )
#elif defined (MODULE_NAME_IS_i420_rgb_mmx)
- set_description( N_( "MMX I420,IYUV,YV12 to "
+ set_description( N_( "MMX I420,IYUV,J420,YV12 to "
"RV15,RV16,RV24,RV32 conversions") );
set_capability( "video filter2", 100 )
add_requirement( MMX )
#elif defined (MODULE_NAME_IS_i420_rgb_sse2)
- set_description( N_( "SSE2 I420,IYUV,YV12 to "
+ set_description( N_( "SSE2 I420,IYUV,J420,YV12 to "
"RV15,RV16,RV24,RV32 conversions") );
set_capability( "video filter2", 120 )
add_requirement( SSE2 )
@@ -110,6 +110,7 @@ static int Activate( vlc_object_t *p_this )
case VLC_FOURCC('Y','V','1','2'):
case VLC_FOURCC('I','4','2','0'):
case VLC_FOURCC('I','Y','U','V'):
+ case VLC_FOURCC('J','4','2','0'):
switch( p_filter->fmt_out.video.i_chroma )
{
#if defined (MODULE_NAME_IS_i420_rgb)
Regards,
--
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."
More information about the vlc-devel
mailing list