Thread: char* format conversion

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    26

    char* format conversion

    Hello, I am trying to convert from YUV to RGB. My problem is that I read in the file and I have YUV data as a unsigned char*. I do not know how to extract the Y U and V values from this char* so I can't use formulas online to do the conversion. Please help!!

    Thanks,
    Chris

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Have a look at this thread:
    http://cboard.cprogramming.com/showt...&highlight=YUV

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. conversion from char string e.q. "AA" to UTF-8 format
    By quickNitin in forum C Programming
    Replies: 10
    Last Post: 09-07-2006, 09:01 AM
  3. Compression/Decompression Wave File and MP3
    By cindy_16051988 in forum Projects and Job Recruitment
    Replies: 51
    Last Post: 04-29-2006, 06:25 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. Header File Question(s)
    By AQWst in forum C++ Programming
    Replies: 10
    Last Post: 12-23-2004, 11:31 PM