TI E2E Community
Legacy Video Converters Forum
what is the data format of 4-ch D1(PAL),BT.656,Line-interleaved mode about TVP5158?
Hi,I'm developing tvp5158's driver with linux-2.6.32 on dm6467t board,now I need to demux the captured Superframe.But I'm still a little confusedabout the data format of 4-ch D1(PAL),BT.656,Line-interleaved mode.Q1:In 4Ch-D1(PAL)mode,the Superframe size is 728x2500(625x4),if it is stored on DDR2 as YUV422Semi-planar,what it will be?Like this ?
----------------------------------------|| || 728x2500(Luma data) | (720 Y0,Y1,Y2,...,Y720,what's the other 8 bytes?)| |----------------------------------------|| || 728x2500(Chroma Data) | | |----------------------------------------|
if I want to demux the line-interleaved video,how to realize it?
There is a TVP5158 to DM6467 driver here.
Other info is under announcements.
Thank you for your reply,I'm afraid I can't use mcvip_tvp5158 driver,because the kernel is Linux-2.6.32-rc2-davinci1,dvsdk version is dvsdk_3_10_00_19,are you sure this is already the latest tvp5158 driver for DM6467T board? Thanks!
The linker Tom pointed out just is our referece code,based on one version SDK,one version linux kernel. For TVP5158,its registers' settings and demux module is the same.
I suggest you to read mcvip_dumux.c/mcvip_tvp5158.c/mcvip_tvp5158_i2c.c.
Now,about your question,superframe's structure,which is:
Metedata(8 bytes) ==>Cb0,Y0,Cr0,Y1...........(total 720*2=1440 bytes)==>Metedata(8 bytes) ==>Cb0,Y0,Cr0,Y1...........(total 720*2=1440 bytes)==>......
One metedata,one line.
Attention:these lines include VBI data,dummy lines and active lines.
I have realized demux funciton,according to the ChId,LineId,f_bit and v_bit information from metaData.I just want to make sure my understanding is right.Thank you again
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.
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.