This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

the different file between mcfw and ti_tools

Other Parts Discussed in Thread: TVP5158

I found some files under the mcfw folder is same as the files under the ti_tools/hdvpss folder . for instance, in the mcfw there is a file tvp5158.h, but in the hdvpss there is a file vps_tvp5158.h, and their functions is similarity too. i don't the relation between the tow folder. what is the role of ti_tools/hdvpss?

  • HDVPSS is the capture / display sub system driver. McFW is a framework using HDVPSS & other codecs. Applications can be built on top of McFW layer. Few interface definitions which require user configuration will be exposed in McFW header files as well and hence you will find some replication of structures, interfaces.

  • Hi,

    As Sivagamy explained tvp5158.h and vps_tvp5158.h are made for same purpose i.e. to expose APIs for controlling tvp5158 through i2c. Only difference is APIs vps_tvp5158.h is used when tvp has to be controlled from M3 side where as tvp5158.h in MCFW is used to control tvp5158 from A8. At given time instance only either one of them will be used based on SYSTEM_USE_VIDEO_DECODER define.

  • thank you. And could help me other question?  i am using the DVRRDK on the 8168EVM+expand I/O board . i want to capture HD through sii1161, although don't have the config file of 1161 in the DVRRDK, i think we can use 1161 without configure it. i mainly  modify the multich_vcap_vdis.c , but captureLink cannot capture the 24bit RGB data? do you kown why?

  • Hi,

    Sii1161 has not been tested in DVR RDK and not supported in current code. You need to do modifications to DVR RDK to have support for Sii1161. First you have to check if this device can be controlled from I2C on A8. If yes, you have to look at how this can be added to kernel configuration under one particular I2C instance. After that , you have to modify MCFW to support this. For MCFW modifications you can have a look at  dvr_rdk\mcfw\src_linux\devices folder and dvr_rdk\mcfw\src_linux\osa\src\osa_i2c.c there are illustrations of other devices (e.g. Sii9022A) which you can refer to.

  • think you very much!