[MPlayer-dev-eng] [PATCH] Correctly support 32-bit raw MOV

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Jan 21 12:39:46 CET 2008


Hi!

Timothy Lee <timothy.lee <at> siriushk.com> writes:

> The following patches fixes the support for 32-bit raw RGB video in 
> MOV.  The colorspace of those video are IMGFMT_RGB32_1, which is not 
> supported by libswscale (as mentioned in 
> http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-
December/055397.html).
> 
> These three patches does the following:
> 
>     * vf-bswap32.patch -- adds a filter called "bswap32" that converts
>       RGB32x -> BGR32, or BGR32x -> RGB32 using 32-bit byte-swapping.
>     * vd-rgb32x.patch -- modifies the filter chain construction process
>       to automatically insert vf_bswap32 when the vo does not support
>       RGB32x or BGR32x colorspace.

Thank you for your work!

Would it be possible to add a scaler to libswscale to support IMGFMT_RGB32_1? I 
believe that solution would be preferred.

Carl Eugen




More information about the MPlayer-dev-eng mailing list