[Softdevice-devel] Wrong colours in grabbed image
Laz
laz at club-burniston.co.uk
Tue Nov 14 10:23:00 CET 2006
On Sunday 12 November 2006 18:54, Martin Wache wrote:
> Laz schrieb:
> > I'm glad to report that the newly incorporated "Grab" command works
> > however, I'm getting incorrect colours. See example grabbed image at:
> > http://vdr.club-burniston.co.uk/wrong_colours.jpg
> >
> > I presume this is another pixel format conversion problem: it's the
> > same blue cast I was seeing with one of the pixel formats a while
> > back with cle266 output, although I'm not sure yet whether the
> > grabbed image comes from the raw DVB stream or after pixel format
> > conversion for display.
>
> Is this using the hardware mpeg2 decoder? It might be that pixel[1] and
> pixel[2] have to be exchanged in SetupCle266Buffers(). Those values are
> only used by video filters and grab image when you use the hardware
> mpeg2 decoder. What happens if you exchange those two and enable the
> mirror filter? Is the picture still ok? And the grabbed image?
Not a totally helpful answer but if I swap around pixel[1] and pixel[2] in
SetupCle266Buffers(), the grabbed image is correct:
http://vdr.club-burniston.co.uk/pix_swap.jpg
However, I'm doing this over ssh from work so I can't check on what
the "real" picture looks like on my TV! It will have to wait until
tonight before I find out whether that picture is now blue!
:)
Cheers,
Laz
More information about the Softdevice-devel
mailing list