当前位置:网站首页>Hisilicon VI access video process
Hisilicon VI access video process
2022-07-02 23:13:00 【The sky is not as wide as the sea】
Catalog
2. equipment /PIPE/ Channel number selection
problem 2: PIPE How to determine the number ;
problem 3:chn How to confirm ;
1. Access multi-channel video , It must be clear Vi Dev Number ,Mipi Number ,Pipe Number ,chn No. relationship ;
Know the process from the above figure :sensor->mipi->Dev->Pipe->phy chn
2. equipment /PIPE/ Channel number selection
Look at the picture below , List the equipment /PIPE/ The maximum supported number of channel numbers ;
So here comes the question , Most chips have more than one device /PIPE/ Channel number , How can I find the right one ?
problem 1: How to determine different video access MIPI Number And Vi Dev( equipment ) No. corresponds to ;
Documents have :
Hi3559AV100ES Of Dev Can work with any MIPI Set binding , The binding relationship cannot be dynamically modified ; The corresponding interface is HI_MPI_VI_SetMipiBindDev;
Most of the other chips Dev And MIPI The binding relationship is fixed , The binding relationship cannot be dynamically modified ;
Judging from the following table , Cannot be dynamically bound VI DEV and MIPI The numbers are equal ;
It can be seen from the table : If the chip is to be connected DC Interface ,VI DEV Can only be 3,DC Number is 2; To dock MIPI Interface ,VI DEV It can be 0~4;
problem 2: PIPE How to determine the number ;
With hi3516 For example , pipe The maximum number is 4; namely pipe0~pipe3;
VI_PIPE_ATTR_S There are some restrictions in attributes !
Know from the table , To access YUV data , pipe The number can only be 2; To access raw, all pipe all ok;
Device number binding pipe The interface of No. is : HI_MPI_VI_SetDevBindPipe;
problem 3:chn How to confirm ;
From the maximum value of the channel number , If only 1 individual , fill 0 that will do ; Multiple decisions ;
Just the one in front mipi Number /dev Number /pipe There is a difference on the number , So even chn The same whole passage is also different ;
Such as : mipi0--> dev0--->pipe2-->chn0 ;
mipi1--> dev1--->pipe0-->chn0;
3. Software summary :
(a) combo_dev_attr_t Attribute devno It can be understood as mipi Number , except Hi3559AV100ES Outside , The mipi Number and vi DEV Same number ;
(b) mipi Number and vi DEV Sign Division Hi3559AV100ES The outside is fixed , No need to bind ; Means the corresponding mipi No. 1 has data , Then it is equivalent to the corresponding vi DEV There are also data on No ;
(c) HI_MPI_VI_SetDevBindPipe Interface implementation VI DEV Number and PIPE Binding of number ; So the corresponding PIPE There's data ;
(d) PIPE Have the data , You can go through dump Tool view, etc , Follow up strategy ;
4. Add
problem : vi_put_original_node_to_line_input_pic_queue [line]:2539 [info]:pipe 2 no space to receive this frm!
Premise : Connected to two different video data ; One way through isp, The other does not need ;
The phenomenon : Debug the two video displays separately ok, When connected together isp Video OK , The other can only reach vi pipe;
Handle : Active call HI_MPI_VI_GetPipeFrame, After obtaining the frame data , Again HI_MPI_VPSS_SendFrame Pass to vpss;
The problem is solved , The principle is not clear !
Next : Hayes vpss Before and after binding relationship
Hayes vpss Summary of binding relationship _ Days before the sea wide blog -CSDN Blog _vpss
边栏推荐
- Construction of Hisilicon 3559 universal platform: rotation operation on the captured YUV image
- 海思3559万能平台搭建:在截获的YUV图像上旋转操作
- Detailed explanation and application of merging and sorting
- Prometheus deployment
- Typical case of data annotation: how does jinglianwen technology help enterprises build data solutions
- 分布式监控系统zabbix
- Learning records of data analysis (II) -- simple use of response surface method and design expert
- Jerry's prototype has no touch, and the reinstallation becomes normal after dismantling [chapter]
- 2016. 增量元素之间的最大差值
- Win11启用粘滞键关闭不了怎么办?粘滞键取消了但不管用怎么解决
猜你喜欢
Eight bit responder [51 single chip microcomputer]
Is 408 not fragrant? The number of universities taking the 408 examination this year has basically not increased!
[favorite poems] OK, song
Win11启用粘滞键关闭不了怎么办?粘滞键取消了但不管用怎么解决
Generics and reflection, this is enough
潘多拉 IOT 开发板学习(HAL 库)—— 实验4 串口通讯实验(学习笔记)
The motivation of AES Advanced Encryption Protocol
Chow-Liu Tree
严守工期,确保质量,这家AI数据标注公司做到了!
Learning records of data analysis (II) -- simple use of response surface method and design expert
随机推荐
RecyclerView结合ViewBinding的使用
P1007 single log bridge
Cryptographic technology -- key and ssl/tls
SQL进阶语法
Redis 过期策略+conf 记录
海思 VI接入视频流程
Innovation strength is recognized again! Tencent security MSS was the pioneer of cloud native security guard in 2022
Win11启用粘滞键关闭不了怎么办?粘滞键取消了但不管用怎么解决
How does Jerry test the wrong touch rate of keys [chapter]
提交代码流程
损失函数~
Go language sqlx library operation SQLite3 database addition, deletion, modification and query
分布式监控系统zabbix
The difference between new and make in golang
Troubleshooting the cause of the crash when STM32 serial port dam receives 253 bytes
电路设计者常用的学习网站
Win11系统explorer频繁卡死无响应的三种解决方法
Lc173. Binary search tree iterator
P7072 [csp-j2020] live broadcast Award
Distributed monitoring system ZABBIX