Thread: How to paint YUV bitmaps ?

  1. #1
    Registered User Hermisky's Avatar
    Join Date
    Feb 2006
    Location
    Nanjing
    Posts
    16

    Question How to paint YUV bitmaps ?

    i use 'video for windows' to capture videostream from camera in i420 format. i set the callback function on videostream, so i can get each frame in memory.

    the problem is i cannot figure out how to paint these frames. i used to paint RGB bitmap by DrawDib functions, but i cannot make it work with i420 bitmap.


    DirectX seems to be a solution, does anyone know how to do it ?


    any help would be greatly appreciated.

  2. #2
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638

  3. #3
    Registered User
    Join Date
    Mar 2007
    Location
    Bangor, Northern Ireland
    Posts
    6
    Contect me on this site I may have a solution for you. http://uk.geocities.com/ecafin/index.html
    Last edited by Eric132; 03-27-2007 at 02:31 AM.

  4. #4
    Registered User Hermisky's Avatar
    Join Date
    Feb 2006
    Location
    Nanjing
    Posts
    16
    Quote Originally Posted by kryptkat View Post

    Thanks, kryptkat. this site contains lots of useful information.

  5. #5
    Registered User Hermisky's Avatar
    Join Date
    Feb 2006
    Location
    Nanjing
    Posts
    16
    Quote Originally Posted by Eric132 View Post
    Contect me on this site I may have a solution for you. http://uk.geocities.com/ecafin/index.html
    it's great, i will send you a mail right away.

  6. #6
    Registered User Hermisky's Avatar
    Join Date
    Feb 2006
    Location
    Nanjing
    Posts
    16
    problem solved. the DrawDib functions is capable to paint yuv bitmap.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Drawing bitmaps efficiently
    By scwizzo in forum Windows Programming
    Replies: 28
    Last Post: 06-30-2009, 08:25 PM
  2. Paint Layers
    By C_ntua in forum C# Programming
    Replies: 11
    Last Post: 12-14-2008, 04:19 PM
  3. DX9 Not Displaying Bitmaps
    By Sentral in forum Game Programming
    Replies: 9
    Last Post: 01-31-2006, 05:35 AM
  4. MFC: Multiple clicks shows multiple bitmaps - how?
    By BrianK in forum Windows Programming
    Replies: 0
    Last Post: 06-20-2004, 07:25 PM
  5. using standard bitmaps in the toolbar editor
    By Kibble in forum Windows Programming
    Replies: 0
    Last Post: 12-23-2002, 08:43 PM