[vlc-devel] [PATCH]OpenGL video output colorspace correction
Kaarlo Räihä
agent_007 at luukku.com
Tue Jul 8 13:19:43 CEST 2008
Antoine Cellerier kirjoitti 08.07.2008 kello 03:19:
> On Mon, Jul 07, 2008, Kaarlo Räihä wrote:
> > and then OpenGL:
> > main debug: picture in 640x272 (0,0,640x272), chroma I420, ar
> 101647:43200, sar 1:1
> > main debug: picture user 640x272 (0,0,640x272), chroma I420, ar
> 101647:43200, sar 1:1
> > main debug: picture out 640x272 (0,0,640x272), chroma RV32, ar
> 101647:43200, sar 1:1
> > main debug: looking for video filter2 module: 19 candidates
> > swscale debug: 640x272 chroma: I420 -> 640x272 chroma: RV32
> > main debug: using video filter2 module "swscale"
> >
> > blend debug: chroma: YUVA -> RV32
>
> Can you try changing RGB32 (or equivalent) in modules/avcodec/chroma.c
> to BGR32?
>
> --
> Antoine Cellerier
> dionoea
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
I assume you meant modules/code/avcodec/chroma.h
I changed { VLC_FOURCC('R','V','3','2'), PIX_FMT_RGBA32 }, to { VLC_FOURCC('R','V','3','2'), PIX_FMT_BGRA32 },
and I get
In file included from encoder.c:53:
chroma.h:68: error: `PIX_FMT_BGRA32' undeclared here (not in a function)
chroma.h:68: error: initializer element is not constant
chroma.h:68: error: (near initialization for `chroma_table[18].i_chroma_id')
In file included from deinterlace.c:47:
chroma.h:68: error: `PIX_FMT_BGRA32' undeclared here (not in a function)
chroma.h:68: error: initializer element is not constant
chroma.h:68: error: (near initialization for `chroma_table[18].i_chroma_id')
...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
More information about the vlc-devel
mailing list