Part Number: TDA2E
I have some questions I want to ask,
I want to change the input format of TDA2. Where do I need to change it?For example, I want to change YUV422SP to RGB888
what do you mean by input format? Do you mean input input to VIP?
Yes, VIP supports RGB24 as input format, provided pins are available.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Brijesh Jadav:
Yes, it is the VIP input. At present, the default input I know is YUV422, but I want to change this default value.
In addition, the Sensor I use is to output grayscale data(only Y value), but I found format on TDA2 There will be shitf phenomenon.
How can I make TDA2 receive Raw data?
In reply to user6529787:
Yes, you could receive raw data via VIP, but no hw module to process them.
What is the size of the raw data? If it is less than 16bits, you could just treat them as YUV422 over 16bit interface and store it as YUV422 data.
The sensor I used is AR0144, the size is 1280*720, 8-bits output, and the buffer sorting is 55 00 5A 00 55 00 5A 00.....(only 55 & 5A are useful)Which input format can I make TDA2 use to receive these data?
What is input interface on which sensor AR0144 is connected to VIP? is it over 8bit interface or 16bit interface?
In both the cases, input format is YUV422 and so is output format.
In 16bit input interface, we can 55 5A 55 5A data in memory, but in 8bit interface, data save in memory will also be 55 00 5a 00 55 and so on.
Can I change the VIP input format from YUV422 to Raw data format and change VIP output format?
Our sensor should be input to VIP through 16bit interface.
VIP does not have RAW data format support. It cannot convert RAW format into YUV or viewable format. It can just capture this data into memory by treating it as YUV422.
How do you want to store it in memory?
So you mean that VIP input in TDA2 only supports YUV422 format?
Because I found that after the sensor is processed by TDA2 VIP, the data will be shifted by 2 bits to the right.
In this code pInprms->dataFormat = SYSTEM_DF_YUV422P Can i change to SYSTEM_DF_RGB24_888?
Does this code set the input format of the VIP? If yes, which code is the output format set? And output format can change RGB24_888 not YUV420?
No, VIP supports both YUV422 and RGB888 input format. You could capture YUV422 over 8bit and 16bit interface, whereas RGB888 can be captured over 24bit interface.
VIP cannot shift the data, it has no way to shift data by 2 bits.
Yes, this will change input format to RGB888. There should be outPrms where we can set the output format.
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. 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.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.