Video Source处理流程

本文介绍如何通过ntp2855codec芯片将CVBS接口的camera信号转换为CSI2信号,并接入ARM平台。详细讲解了信号从输入到输出的全过程,包括时分复用技术的应用以及MIPI-CSI2接口的具体配置方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

cvbs接口的camera通过codec芯片转换成csi或者mipi-csi2接口的信号输出到ARM端相关管脚上,又该管脚对应某个cif端口,设置相关寄存器将 videoin通道与该cif端口连接,整个camera链路就打通了。

tp2855 codec芯片连接着前端信号输入(cvbs信号)与后端信号输出(mipi信号)。它的输入端是VIN0~3,输出端是CKP_1/CKN_1和DXP_1/DXN_1。四路cvbs输入可以通过时分复用的方法将四路cvbs信号通过一路MIPI-CSI2(1对时钟,4对数据)输出。

 虚拟通道定义在Data ID上,具体可以看手册。

输出信号输入到ARM端的MIPI上:

注: MIPI CSI Channel 1, 2, 3, 4 operates in a time-division multiplexing manner

Video Source Block Diagram:

cif端口与videoin映射寄存器: 

 

以bit[31:28]为例,连接到videoin07的cif port的数字编号是多少,如数字编号是2,则videoin07对应cif port 2,cif port 2的管脚定义:

 MIPI-CSI2有4个通道,这四个通道分别连接到不同的videoin上,看上面的图,CIF_CFG的取值是5~8,设备树上已经设置了cif_port等于5,不同的videoin对应的cif_port需要对设备树上该值进行加某数的操作,这个操作是在hal层上完成。

转载:Linux - 使用V4L2(总结)_喜闻樂见的博客-优快云博客_linux v4l2

各分辨率:视频显示格式720p_的技术博客_51CTO博客

TP2915 is a video D/A solution for converting HD digital video signal into the analog domain that is suitable for transmission over single coaxial or twist-pair cable over long reach. The major application is the Automotive interconnect between HD display and HD camera systems or any other applications require robust and low cost transmission of HD video. TP2915 generates the analog video signal complying with HD Transport Video Interface (HD-TVI) format. It is one form of the HD composite video format that is widely adopted in the industry. TP2915 can support a variety of video resolution digital video input standards in 422 or 444 formats over 8, 16 or 24-bit interface with the embedded synchronization (EAV/SAV) header or explicit sync signals. It also accepts 24-bit RGB input with external sync signals. It has the built-in sync extraction logic to obtain the sync information inside the video stream. The video resolutions supported range from SD (NT/PAL) to UHD. TP2915 contains a versatile video timing generator that is programmable for all standards supported and other non-standard video formats. It has programmable clip/shift/scale function to proper condition the input video signal for further processing. It also has an optional 2x over-sampling filters built-in to support higher output sample rate. Over-sampling can relax the external analog filter requirement. TP2915 supports selectable current mode and voltage mode output as well as internal programmable analog reconstruction filter. The built-in data slicer help minimize glue circuits. The signal amplitude of the DAC output can be set by external current setting resistor. It also has built-in color bar test pattern generator for easy testing and adjustment. TP2915 has built-in clock jitter reduction circuit based on local crystal clock to ensure the output signal performance.
优势和特点 • 支持全球NTSC/PAL/SECAM色彩解调 • 一个10位模数转换器(ADC),每通道4倍过采样适用于CVBS、Y/C和YPrPb模式 • 模拟视频输入通道,片内集成抗混叠滤波器 ADV7280: 最多4路输入通道 ADV7280-M: 最多8路输入通道 • 视频输入支持CVBS(复合)、Y/C(S视频)和YPrPb(分量) • NTSC/PAL/SECAM自动检测 • 高达1.47 V的共模输入范围解决方案 • 出色的共模噪声抑制能力 • 5线式自适应2D梳状滤波器和CTI/DNR视频增强特性 • 自适应数字线路长度跟踪(ADLLT)、信号处理和增强FIFO管理可提供Mini时基校正(TBC)功能 产品详情 ADV7280/ADV7280-M是功能丰富的单芯片、多格式视频解码器。ADV7280/ADV7280-M可自动检测标准模拟基带视频信号,兼容复合、S视频和分量视频形式的NTSC、PAL和SECAM全球标准信号。 ADV7280可将模拟视频信号转换为4:2:2分量视频数据流,其与8位ITU-R BT.656接口标准兼容。ADV7280-M可将模拟视频信号转换为兼容移动工业处理器接口(MIPI®) CSI-2(8位YUV)的输出视频流。 ADV7280/ADV7280-M的模拟视频输入端支持单端信号。ADV7280提供4个模拟输入,而ADV7280-M提供8个模拟输入。ADV7280和ADV7280-M支持I2P转换。 ADV7280/ADV7280-M通过双线式串行双向端口(I2C兼容型)进行编程,并且采用1.8 V CMOS工艺制造。该解码器提供LFCSP封装选项,非常适合空间受限的便携式应用。 应用 • 智能电话/多媒体手机 • • 汽车信息娱乐 • 支持视频安全监控的DVR • 媒体播放器 QQ:794843349
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值