How can I do both video cropping and encoding together?

2 views
Skip to first unread message

Ashutosh Gupta

unread,
Aug 13, 2010, 9:40:08 AM8/13/10
to omap...@googlegroups.com
Hi,

I am trying to record video on omapzoom platform. 
For one of the requirements I need to crop the video frame before sending it to the display and Application for encoding.
I am planning to apply the crop on the dequeued buffer in cameraHal.cpp.
I saw Scaler.c which can do the cropping, but it uses DSP which is used by encoder and they both cannot work together.

Is there any other way of cropping (using HW block, otherwise performance will be hit) simultaneously  while encoding is going on, or is there any other method to synchronize the DSP use for scaler and encoder.

--
Ashutosh Gupta,

Reply all
Reply to author
Forward
0 new messages