• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » DaVinci™ Video Processors » DM64x DaVinci Video Processor Forum » DM6437 VPBE digital color matrix conversion
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

DM6437 VPBE digital color matrix conversion

This question is not answered
Guy
Posted by Guy
on Jun 20 2008 17:58 PM
Intellectual290 points

Hi,

I want to display in a LCD from DDR.

My color space in ram is RGB565.

The LCD interface is configured to generate a RGB565.

I think that the color is converted from YUV to RGB by the digital RGB Matrix. This give me wrong color at the end.

How can I disable this unwanted conversion ?

If it's impossible, what is the right coeficient to remove the conversion ? 

Thanks in advance 

Guy

dm643x vpbe LCD digital rgb565 yuv matrix color space
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Bernie Thompson TI
    Posted by Bernie Thompson TI
    on Jun 23 2008 10:19 AM
    Mastermind41680 points

    The VPBE uses a OSD peripheral to handle its input formatting, the VID0 and VID1 windows in this OSD will be expecting YUV422 by default therefore if you feed RGB565 data into them you will get the wrong colors on the output as you have found. These two video windows in the OSD can only handle YUV422 or RGB888 input data, therefore if you have RGB565 in your frame buffer than you will not be able to use VID0 or VID1. The solution for this would be to use the OSD0 or OSD1 windows which are more suited to RGB inputs in that they can support bitmap or RGB565 formats. These windows and what they support are discussed further in section 4.3 of SPRU952 available below.

    http://focus.ti.com/lit/ug/spru952a/spru952a.pdf

    If you are using the DM6437 video driver from the Peripheral Support Package (PSP) provided with the EVM than you should be able to support this display mode by using the FVID_RGB565_INTERLEAVED option in your PSP_VPBEOsdConfigParams, an example of this usage can be found within dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\system\dm6437\bios\dm6437_evm\src\video\sample\rawcapture.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Guy
    Posted by Guy
    on Jun 25 2008 10:25 AM
    Intellectual290 points

    Ok thanks for the answer.

    So I want use it at a resolution of 1024 x 768 at 60 Hz. If I work with the OSD, are we limited by the 25 MB / s of bandwidth ?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • albertabeef
    Posted by albertabeef
    on Nov 03 2008 16:33 PM
    Prodigy50 points

    Assuming YUV422 or RGB888 data, can this be done (LCD output at 1024x768 @ 60Hz resolution) using the VPBE IOM driver ?

    Looking at the psp_vpbe.h in the dvsdk_1_01_00_15, there only seems to be NTSC and PAL formats supported:

       typedef enum _PSP_VPBETimings
       {
           PSP_VPBE_AUTO_MODE                          = 0,
           PSP_VPBE_DISPLAY_NTSC_INTERLACED_COMPOSITE  = 1,
           PSP_VPBE_DISPLAY_NTSC_INTERLACED_S_VIDEO    = 2,
           PSP_VPBE_DISPLAY_NTSC_INTERLACED_COMPONENT  = 3,
           PSP_VPBE_DISPLAY_NTSC_PROGRESSIVE_COMPONENT = 4,
           PSP_VPBE_DISPLAY_PAL_INTERLACED_COMPOSITE   = 5,
           PSP_VPBE_DISPLAY_PAL_INTERLACED_S_VIDEO     = 6,
           PSP_VPBE_DISPLAY_PAL_INTERLACED_COMPONENT   = 7,
           PSP_VPBE_DISPLAY_PAL_PROGRESSIVE_COMPONENT  = 8

           /* Add others as and when necessary  */
           /* HDTV etc*/
       } PSP_VPBETimings;

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juan Gonzales
    Posted by Juan Gonzales
    on Nov 03 2008 16:40 PM
    Mastermind33965 points

    Guy,

    Yes, you are limited to a combined bandwidth of 25MB/s as discussed in section 4.3.1 of the VPBE User Guide ( http://focus.ti.com/lit/ug/spru952a/spru952a.pdf )

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juan Gonzales
    Posted by Juan Gonzales
    on Nov 03 2008 16:42 PM
    Mastermind33965 points

    From a hardware perspective 1024x768 @ 60 Hz is possible using video Window 0 (see section 4.3.1 of VPBE UG for details on constraints); however, as you noted, the IOM driver does not support this resolution.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Bernie Thompson TI
    Posted by Bernie Thompson TI
    on Nov 04 2008 09:06 AM
    Mastermind41680 points

    As you have found the driver out of the box handles only SD video formats, you would have to either modify the driver yourself or work with a third party, if you are looking at a third party you may want to consider D3 engineering as they appear to have a daughtercard for the EVM with a LCD interface, so it is likely they have already done some driver modifications to add LCD support.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Guy
    Posted by Guy
    on Jul 22 2009 11:27 AM
    Intellectual290 points

    I configure the dm6437 without the driver to take in ram RGB888 to vidwin0.

    I cannot go to osdwin because the 25 MB /s is too small for the resolution that I have to support.

    I configure also to go out in PRGB mode for LCD interface.

    I draw vertical 1 pixel width line and the color change depend of on which column I display it.

    I suppose it comes from a YUV422 conversion inside the VENC.

    How can I pass over it and be able to display in full resolution the color that I want ?

     

    Guy

     

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use