[vlc-devel] [PATCH] core: blending to RGB32 (D3D11 on Win7) is supported
Steve Lhomme
robux4 at videolabs.io
Mon Apr 27 17:29:05 CEST 2015
On Mon, Apr 27, 2015 at 5:01 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le lundi 27 avril 2015, 16:36:38 Steve Lhomme a écrit :
>> ---
>> src/video_output/vout_subpictures.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/src/video_output/vout_subpictures.c
>> b/src/video_output/vout_subpictures.c index b3f0152..4b37270 100644
>> --- a/src/video_output/vout_subpictures.c
>> +++ b/src/video_output/vout_subpictures.c
>> @@ -1434,6 +1434,7 @@ subpicture_t *spu_Render(spu_t *spu,
>> VLC_CODEC_RGBA,
>> VLC_CODEC_ARGB,
>> VLC_CODEC_YUVP,
>> + VLC_CODEC_RGB32,
>> 0,
>> };
>> static const vlc_fourcc_t chroma_list_default_rgb[] = {
>> @@ -1441,6 +1442,7 @@ subpicture_t *spu_Render(spu_t *spu,
>> VLC_CODEC_ARGB,
>> VLC_CODEC_YUVA,
>> VLC_CODEC_YUVP,
>> + VLC_CODEC_RGB32,
>> 0,
>> };
>
> AFAIU, those are the lists of subpicture formats, not target picture format. A
> subpicture without alpha channel seems dubious.
This is supported
http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_filter/blend.cpp;h=befe88616eaaa49ef0d12b10d4901696f876ad60;hb=HEAD#l566
BGRA which is the other format D3D11 could support is not supported
(yet) by the filter. I'll try to add that too.
More information about the vlc-devel
mailing list