IPU是否可以多种输入的数据格式转码

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IPU是否可以多种输入的数据格式转码

2,302 Views
huocan
Contributor I

你好,我使用的imx6q开发板,内核3.14.52,现在遇到一个IPU的使用问题,我有两种不同的相机数据输入格式,一个种格式为YUV422 ,一种格式为UVYV,由于功能的原因,必须是这两种格式的数据 经过IPU 都转换为NV12格式的数据,倒是我在初始化IPU的时候 只有一个/dev/mxc_ipu设置,设置task的输入、输出 fmt格式也只能设置一种类型的 要么为YUV422 ,要么是UYVY,在初始化的时候进行,想请教一下,使用两种不同的视频源 可以经过IPU转换为一种格式吗?

非常着急,希望能得到帮助

Labels (1)
Tags (1)
0 Kudos
5 Replies

2,006 Views
huocan
Contributor I

通过IPU可以同时转两路不同的视频输入源,设置多个初始化的参数 task0,task1 等,分别进行初始化,imx6q最多可以设置4个;现在还有一个问题,我把获取的NV12的数据要经过VPU进行编码,只有一路VPU,怎么能同时对两路nv12的数据进行编码呢?问题卡在这里好久了,有没有类似的demo参考下呢,感谢!!!!!

0 Kudos

2,006 Views
joanxie
NXP TechSupport
NXP TechSupport

vpu 可以支持两路编码的,具体你可以参考下VPU API 文档,有详细解释如何支持多路编解码

0 Kudos

2,006 Views
huocan
Contributor I

I connect two camera in the same time, and need to capture the two video in the same time. how can I use IPU to process those videos

0 Kudos

2,006 Views
joanxie
NXP TechSupport
NXP TechSupport

could you tell me what your detailed solution? you need to capture two camera with yuv422 and uvyv, then change them to NV12, right? then you how to do the NV12 data? to the display memory or to the VPU?

0 Kudos

2,006 Views
joanxie
NXP TechSupport
NXP TechSupport

do you need to connect two camera in the same time? or you don't need to capture the two video in the same time?

0 Kudos