Forums - FAST ADAS API Issue

4 posts / 0 new
Last post
FAST ADAS API Issue
sunnoy.saha
Join Date: 16 Jun 22
Posts: 2
Posted: Tue, 2023-04-25 03:55
Hi,
I was trying to use the Fast ADAS API: "FadasCvtYUV_Renormalize888()" to execute normalization operation in NSP in SA8540 QNX board.
 
In which I have given the follwing Normalization Parameter:
FadasNormlzParams_t normlzR = {0.0f, 1.0f, 0.0f} 
FadasNormlzParams_t normlzG = {0.0f, 1.0f, 0.0f}
FadasNormlzParams_t normlzB = {0.0f, 1.0f, 0.0f}
 
When I use this API to execute on CPU all the I am getting the desired result where in all the three channels(RGB) are getting updated.
When I use this API to execute on NSP only Red Channel is getting updated and other Two channels are displaying '0' intensity. 
 
Output in CPU Mode:
      [
        220,
        226,
        215
      ],
     
      
Output in NSP Mode:
      [
        220,
        0,
        0
      ],
    
  • Up0
  • Down0
gmcgrath
Join Date: 21 Aug 13
Posts: 65
Posted: Thu, 2023-05-04 10:04

What version/meta/build ID you are using?

Can you say anything more about the use-case like input/output resolution?

  • Up0
  • Down0
sunnoy.saha
Join Date: 16 Jun 22
Posts: 2
Posted: Fri, 2023-06-30 03:32
metabuild SA8195P.QX.0.1-
00004-STD.PROD-1 is set up and QXA.QA.5.0.c3-00089-SA8155P.HYP-1
  • Up0
  • Down0
myzztxs
Join Date: 6 Jul 23
Posts: 2
Posted: Thu, 2023-07-06 07:35
First up, check if there are any updates to the Fast ADAS API or your SDK. 
 
Second, make sure your NSP isn't playing hard to get with the Fast ADAS API: "FadasCvtYUV_Renormalize888()". Read the fine print. Maybe it doesn't like the way you're using it.
 
Next, and I know this sounds like I'm teaching granny to suck eggs, but have another squint at how you're using the "FadasCvtYUV_Renormalize888()" function. Maybe there's something in the manual you missed. They always hide the good stuff there.
 
And I hate to say it, but there might be some data getting messed up during the transfer from CPU to NSP. Debugging's a pain, I know, but someone's got to do it.
  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.