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?
已解决! 转到解答。
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
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
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