当前位置:网站首页>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
边栏推荐
- Win11启用粘滞键关闭不了怎么办?粘滞键取消了但不管用怎么解决
- MySQL queries nearby data And sort by distance
- Value sequence < detailed explanation of daily question >
- Go语言sqlx库操作SQLite3数据库增删改查
- Deep analysis of data storage in memory - C language
- 密码技术---分组密码的模式
- STM32之ADC
- Catalogue of digital image processing experiments
- 深度剖析数据在内存中的存储----C语言篇
- Typical case of data annotation: how does jinglianwen technology help enterprises build data solutions
猜你喜欢
![Eight bit responder [51 single chip microcomputer]](/img/4f/683948fca93a0dc1a0409839f60759.jpg)
Eight bit responder [51 single chip microcomputer]

Typical case of data annotation: how does jinglianwen technology help enterprises build data solutions

golang入门:for...range修改切片中元素的值的另类方法

解决Chrome浏览器和Edeg浏览器主页被篡改的方法

Win11自动关机设置在哪?Win11设置自动关机的两种方法
![[redis notes] compressed list (ziplist)](/img/83/ff38fabb1baebc5fa4d3d72da315dc.png)
[redis notes] compressed list (ziplist)

The motivation of AES Advanced Encryption Protocol

STM32之ADC

Explain promise usage in detail

Generics and reflection, this is enough
随机推荐
Start from the bottom structure to learn the customization and testing of FPGA --- Xilinx ROM IP
Numerical solution of partial differential equations with MATLAB
20220527_ Database process_ Statement retention
STM32串口DAM接收253字节就死机原因排查
Li Kou brush questions (2022-6-28)
移动端 1px 像素兼容性问题,实现1px 边框
成功改变splunk 默认URL root path
AES高級加密協議的動機闡述
Jinglianwen technology's low price strategy helps AI enterprises reduce model training costs
[Solved] Splunk: Cannot get username when all users are selected“
Easyclick, EC Quanlang network verification source code
P7072 [csp-j2020] live broadcast Award
Go multithreaded data search
Odoo13 build a hospital HRP environment (detailed steps)
实现BottomNavigationView和Navigation联动
归并排序详解及应用
Construction of Hisilicon 3559 universal platform: rotation operation on the captured YUV image
Motivation du Protocole de chiffrement avancé AES
[Solved] Splunk: Cannot get username when all users are selected“
Learning Websites commonly used by circuit designers