• 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 Video Resize
Share
DaVinci™ Video Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS

Forums

DM6437 Video Resize

This question is not answered
Junqing Zhao
Posted by Junqing Zhao
on Apr 18 2012 05:38 AM
Intellectual735 points

Hi,everyone

       When I use resizer,it's parameters is as below:

static PSP_RSZparams rszParams =
{
    FRAME_WIDTH,                        /* Input image width */
    FRAME_HEIGHT,                       /* Input image height */
    FRAME_WIDTH*(2u),                     /* Input image pitch */
    PSP_RSZ_INTYPE_YCBCR422_16BIT,  /* Input image type */
    0,                              /* Vertical starting pixel */
    0,                              /* Horizontal starting pixel */
    0,                              /* Chroma position */
    PSP_RSZ_PIX_FMT_YUYV,           /* Image format */
    VALID_WIDTH,                       /* Intermediate image width */
    VALID_HEIGHT,                      /* Intermediate image height */
    VALID_WIDTH*(2u),                  /* Intermediate image pitch */
    0,                              /* Horizontal starting phase */
    0,                              /* Vertical starting phase */
    gRDRV_reszFilter4TapHighQuality, /* Horizontal filter coefficients */
    gRDRV_reszFilter4TapHighQuality, /* Vertical filter coefficients */
    PSP_RSZ_YENH_DISABLE             /* Luma enhancement options */
};

 

     Input image format is UYVY,but the resize output image format is YUYV. When I send the YUYV data to the display,it can  display Normally.

    However,when we just preview the video,don‘t  do any procession between input and output. That is to say, the output image format is UYVY.Of  course,it can  display Normally.

   I wonder  why the firs case can  display Normally?

Regards、

   JQ  Zhao

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Sandeep Krishnaswamy
    Posted by Sandeep Krishnaswamy
    on Apr 19 2012 03:14 AM
    Expert7270 points

    JQ Zhao,

    Could you please mention the PSP version which is being used? Also the sample application which you are using in the PSP

    Regards,

    Sandeep K  

    Does this help with your question? If not, please send back more information. If it answers your question, please click the  Verify Answer  button below

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Junqing Zhao
    Posted by Junqing Zhao
    on Apr 19 2012 23:11 PM
    Intellectual735 points

    The PSP version is psp_1_00_02_00.

    The sample application is downsample located in C:\dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\system\dm6437\bios\dm6437_evm\src\video\sample\resizer.

    In PSP_RSZparams params,it define  Image format as  PSP_RSZ_PIX_FMT_YUYV. What this means?

    I found that :

    /**< specifies input is 16 bit */
    #define PSP_RSZ_INTYPE_PLANAR_8BIT         (0x1)
    #define PSP_RSZ_CBILIN_DISABLE             (0x0)
    /**< same as luminance processing */
    #define PSP_RSZ_CBILIN_ENABLE              (0x1)
    /**< enable bi-linear processing        */
    #define PSP_RSZ_PIX_FMT_UYVY               (0x0)
    /**< cb:y:cr:y */
    #define PSP_RSZ_PIX_FMT_YUYV               (0x1)
    /**< y:cb:y:cr */
    #define PSP_RSZ_PIX_FMT_PLANAR             (0x2)
    /**< 8-bit planar input */
    #define PSP_RSZ_YENH_DISABLE               (0x0)
    /**< specifies luma is enabled or disabled */
    #define PSP_RSZ_YENH_3TAP_HPF              (0x1)
    /**< specifies luma  algorithm */
    #define PSP_RSZ_YENH_5TAP_HPF              (0x2)
    /**< specifies luma algorithm */
    #define PSP_RSZ_SRC_CCDC_PREVIEWER         (0x0)
    /**< specifies input is from CCDC or previewer */
    #define PSP_RSZ_SRC_RAM                    (0x1)
    /**< specifies input is from Ram */

     

    What differences between  PSP_RSZ_PIX_FMT_UYVY   and  PSP_RSZ_PIX_FMT_YUYV  ?Does it impact the resize output image format?And what image format should be?

    Thank you for your help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • David Friedland
    Posted by David Friedland
    on Apr 23 2012 12:51 PM
    Genius13390 points

    Junqing,

    It appears that your question is beyond the scope of knowledge of the BIOS/PSP team and is video specific.  I have moved this thread over to the DM64x forum in hopes that you will get a faster response there.

    Thanks,

    Dave

    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