V4L2 based video scale down application for imx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

V4L2 based video scale down application for imx6q

1,619 次查看
jemish_1990
Contributor IV

Hi All,

We have two requirements.

1. Is it possible to capture custom resolutions  (example : 480x 272 ) by imx6q?

2. In second requirement we are able to capture NTSC (720 X 480) video in imx6q . Now is there any v4l2 based application available to scale down video to custom resolution (example 480x272).

Please let me know if any of the option is possible.

Thanks,

Jemish

标签 (2)
0 项奖励
回复
6 回复数

1,052 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jemish

one can look at unit test examples, read doc folder in ../test/mxc_v4l2_test/

http://downloads.yoctoproject.org/mirror/sources/imx-test-5.2.tar.gz

it is also described in attached Linux Manual sect.6.4.2 Video4Linux API test

resize examples in:

https://community.freescale.com/docs/DOC-94961

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,052 次查看
jemish_1990
Contributor IV

Hi Igor,

Thanks a lot for your suggestion!

We made it working as of now by doing few changes in sample application we were using.

We can close this thread as of now. If needed I will open new thread.

Once again thank a lot for your suggestions.

Thanks,

Jemish

0 项奖励
回复

1,052 次查看
jemish_1990
Contributor IV

Hi Igor,

One quick question if I am using

Below API for scale down.

VIDIOC_S_CROP

How can we confirm whether it is using hw scaler (IPU) or ARM cpu?

Thanks,

Jemish

0 项奖励
回复

1,052 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jemish

one can look at attached Linux Manual sect.9.2 V4L2 Capture Device

shows used VIDIOC.

Best regards

igor

0 项奖励
回复

1,052 次查看
jemish_1990
Contributor IV

Hi Igor,

I have read the suggested document but it nowhere confirming whether it is using hardware scaler(IPU) or ARM (CPU).

Would you please confirm ?

Thanks,

Jemish

0 项奖励
回复

1,052 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复