YUV / RGB

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi !

I have an embedded device (pc104 based on VIA VT82C6868 / VT8606 twister) on
which I have to acquire, treat and display video stream.

For this I use directshow, but I have 2 problems :
1. I cannot acquire in RGB format (glitches in stream)
2. I cannot render in RGB format. When I ask to render a 320*240 video
stream, the VMR takes 1024*240 format size and performances are very
horrible. More, I have to do incrustations and for now I use the VMR
IVMRMixerBitmap interface but if I do this on this device the result display
is black. If I do a manual RGB 2 YUV conversion before the VMR input pin all
works fine. The CPU is lower than when I do no conversion.
If I use 768*576 YUY2 acquistion the result is fine. VMR takes 768*576
format.

So I'd like to acquire, treat and display in YUV.
Is it possible to create a directx YUV surface for rendering, then create a
RGB surface from bitmap file and finally do the incrustations of the RGB
surface onto the YUV surface ? if yes what methods I have to use ? (short
description)

How can I know if my device has the capabilities to do this ?

thanks
Mike



.



Relevant Pages

  • YUV / RGB
    ... treat and display video stream. ... I cannot render in RGB format. ... IVMRMixerBitmap interface but if I do this on this device the result display ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Does RGB mode display in reverse line order for video capture driver?
    ... I am new in video display related topic. ... RGB or YUV arrangement? ... the horizontal bar appears in the bottom of display window. ... the first byte of pixel data is the bottom-left pixel. ...
    (microsoft.public.development.device.drivers)
  • Re: Reduced gamut display
    ... > am working on a display system which is only capable of displaying ... >regular 8bit/channel RGB image to a 3bit/channel image? ... numbers for the primaries, white point, etc you can create a custom ... 'working space' very quickly ... ...
    (comp.graphics.apps.photoshop)
  • Re: From RGB frames to stream
    ... > I have an application where I can capture single frames ... Is WME SDK able to ... > generate such stream starting from single RGB frame? ...
    (microsoft.public.windowsmedia.encoder)
  • Re: Does RGB mode display in reverse line order for video capture driver?
    ... >In YUV mode, the horizontal bar appears in the top of display window. ... >In RGB mode, the horizontal bar appears in the bottom of display window. ... In an RGB DIB, the first byte of pixel data is the bottom-left pixel. ...
    (microsoft.public.development.device.drivers)