IPU IC 1024x1024 limit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IPU IC 1024x1024 limit

ソリューションへジャンプ
3,881件の閲覧回数
haff
Contributor III

According to datasheet I see that there is limitation on IC output (frame size is up to 1024x1024 pixels). And looks like it was the problem when I have tried to work with 1280x1024 camera - it showed mosaic output but when i've set camera mode to some lesser resolution the image became normal.

But now i'm working with mfw_ipucsc gstreamer plugin and it looks like IC handles heigher resolutions after all. Although this plugin does not handles imagesize direct specification as element option you can use pads in a way like this:

gst-launch videotestsrc ! video/x-raw-yuv,width=320,height=240 ! mfw_ipucsc ! video/x-raw-yuv,width=1280,height=1280 ! queue ! vpuenc ! matroskamux ! filesink location=./test.avi

And this way I receive proper 1280x1280 scaled image. What did I missed? How can it work and to what exactly this 1024x1024 limit applies?

ラベル(4)
1 解決策
2,020件の閲覧回数
rogerio_silva
NXP Employee
NXP Employee

Hi Haff,

In fact, some IPU operations have the limit of 1024x1024. For example, if you try to resize a small picture to over 1024x1024 using the /dev/mxc_ipu IOCTLs, it will return a wrong or truncated image.

Some plugins can split each frame, process both parts of this frame on IPU and show a higher resolution on a buffer. This should explain why you're seeing a video being encoded in a high resolution.

Rgds

Rogerio 

元の投稿で解決策を見る

8 返答(返信)
2,021件の閲覧回数
rogerio_silva
NXP Employee
NXP Employee

Hi Haff,

In fact, some IPU operations have the limit of 1024x1024. For example, if you try to resize a small picture to over 1024x1024 using the /dev/mxc_ipu IOCTLs, it will return a wrong or truncated image.

Some plugins can split each frame, process both parts of this frame on IPU and show a higher resolution on a buffer. This should explain why you're seeing a video being encoded in a high resolution.

Rgds

Rogerio 

2,020件の閲覧回数
johnturnur
Contributor III

Hi,

Rogerio

Is there any patch available for large image Scaling using buffer splitting for imx6q?

-John

0 件の賞賛
返信
2,020件の閲覧回数
rogerio_silva
NXP Employee
NXP Employee

Hi John,

I think no patches will be needed. What do you need to do? Just re-scale a single image?

What processor are you using? i.MX6?

Rgds

Rogerio

0 件の賞賛
返信
2,020件の閲覧回数
suryanarayana
Contributor I

Hi

I am using 1280x720 HD camera and 1280x800 LVDS display in i.MX6SDL platform. I want to resize  the 1280x720 camera data to 720x1280 and rotate 90 degree using IC for displaying on foreground. According to datasheet IPU IC,frame resolution is limit to 1024*1024 size for output.

Could you suggest me how can i achive my requirement.

I am working in ET kernel environment.

Regards

SuryaG

0 件の賞賛
返信
2,020件の閲覧回数
johnturnur
Contributor III

Hi,

Rogerio

I am using imx6q.

I want to do VGA camera source from CSI to display it on 720p display source.

-John

0 件の賞賛
返信
2,020件の閲覧回数
rogerio_silva
NXP Employee
NXP Employee

Hi John,

I don't think it will need patches. Are you trying it on Linux?

Rgds

Rogerio

0 件の賞賛
返信
2,020件の閲覧回数
johnturnur
Contributor III

Hi,

Rogerio

I have fixed it. No patch is required for it.

Thanks for reply.

-John

0 件の賞賛
返信
2,020件の閲覧回数
haff
Contributor III

Thank you very match, just couple of hours ago heard similar version.

0 件の賞賛
返信