TDA4VL-Q1: Significance of horzAccInit ,vertAccInit in MSC configuration

Part Number: TDA4VL-Q1

Tool/software:

Hi , 

We wanted to downsize  1936x1552 image to 640x480  on  Y channel  using MSC . 

I wanted to know the relevance of horzAccInit  & vertAccInit  . 

In the examples("\pdk_jacinto_10_00_00_27\packages\ti\drv\vhwa\examples\include\vhwa_msc_test_cfg.h")  the values are always set 0,0.   Please let me know if the values are computed internally later . 

In the driver, there are checks only if filtermode =1. 

Does this mean if filtermode=0 ,  can we use 0,0 as defaults and no need to compute horzAccInit  & vertAccInit  . 

  • Hi Sai,

    For this downscaling, you could just use 0x0 as accumulator init value.

    Driver does not auto-compute these parameters. Typically they will need to be used when you crop the image and want to start the scaling operation with the different init value of the accumulator.. You could refer to the OpenVX node for the reference example. 

    Regards,

    Brijesh