TI E2E Community
Digital Signal Processors (DSP)
DaVinci™ Video Processors
DM816x, C6A816x and AM389x Processors Forum
Regarding V4l2 sample(saLoopback) modification
I'm using EZSDK - ti-ezsdk_dm816x-evm_5_03_01_15, and I also use PSP linux-04.00.02.14 version on 8168EVM and VC board.
saLoopback sample application is working well with capture resolution 1080i. ( in the test, I use Sony Camcorder. )
My scenario is Capture --> some image processing() --> display.
1) Is it possible to change capture resolution? 1080i to 640*480, 1280*720
1080i resolution is too big to process data, so the processing delay is too high (My application is run only on Arm.)
So I want to capture small size even if the Camera only support 1080i.
2) With saLoopback application. How can I use OMAX component to process data? What is the best reference code?
3) How can I use C6Accelator libray with saLoopback application?
Capture driver supports 720P, 1080i and 1080P resolution. You can do down scaling on 720P resolution. Scaling is not possible with interlaced capture. You can feed in 720P and scale it down to VGA and then do image processing.
Jongpil WonHow can I use C6Accelator libray with saLoopback application?
We are developing gstreamer pluggin for doing encode of captured data.
I am not sure about your second question.
Please mark this post as answered via the Verify Answer button below if you think it answers your question. Thanks!
You mentioned, "Capture driver supports 720P, 1080i and 1080P resolution. You can do down scaling on 720P resolution. Scaling is not possible with interlaced capture. You can feed in 720P and scale it down to VGA and then do image processing.".
When capture device(e.g. Camera) only support 1080i not 720P, can capture driver supports 720p?
1.Capture driver format never changed.
I set the driver value and get value to check the change like below,
VIDIOC_G_FMT --> VIDIOC_S_FMT(with width=1280, height=720) --> VIDIOC_G_FMT
But Capture driver value is never chagned. Only display driver values are changed.
The imagesize value of capture is the same with the 1080i settings.=============================================================Capture Format Format:=============================================================fmt.type = 1fmt.width = 1920fmt.height = 1080fmt.pixelFormat = 1448695129fmt.bytesperline = 3840fmt.sizeImage = 4147200fmt.colorSpace = 3==========================================================================================================================Display Format Format:=============================================================fmt.type = 2fmt.width = 1280fmt.height = 720fmt.pixelFormat = 1448695129fmt.bytesperline = 2560fmt.sizeImage = 1843200fmt.colorSpace = 2=============================================================
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.