[vlc-devel] Crystal HD: Software Deinterlacing possible?
Rémi Denis-Courmont
remi at remlab.net
Tue Jun 11 19:55:01 CEST 2013
Le mardi 11 juin 2013 19:29:31, Philip Höhlein a écrit :
> The software deinterlacing is not possible as the output format of the
> crystal hd chip is packed yuy2 4:2:2, which the deinterlacing filters do
> not support at all.
>
> I already tried to change the output format by changing these 2 lines in
> crystalhd.c
>
> - if( BC_FUNC(DtsSetColorSpace)( p_sys->bcm_handle, OUTPUT_MODE422_YUY2 )
> + if( BC_FUNC(DtsSetColorSpace)( p_sys->bcm_handle, OUTPUT_MODE420_NV12 )
>
> - p_dec->fmt_out.i_codec = VLC_CODEC_YUYV;
> +p_dec->fmt_out.i_codec = VLC_CODEC_NV12;
The deinterlacer does not support NV12 any better than YUY2. Only planar,
meaning I420 or YV12 would really work.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list