This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using Resizer A and B DM365 in DM365 in Continuous mode

Other Parts Discussed in Thread: TMS320DM365

All

 

I have been trying to get the resizer to generate two images for some time now and have been very unsuccessful. Its a camera with a TMS320DM365. The color format is set to YUV420 and I enabled both the resizers as suggested in TI forums. I need to generate two images one of 2048x1536 and the other 640x480 (simultaneously ofcourse). So I set up the resizer A and B appropriately.  As suggested by Anshuman in a different thread I allocated 2048x1536*1.5 + 640x480x1.5 size buffers. When I start the capture, I do not see any output after my main image of 2048x1536. Even the colors for the 2048x1536 seems incorrect.  I am using the DVSDK version 2_10_00_10.

So I tried changing the color format to YUV422 and now my main image(2048x1536) looked correct and there is data for my second image. But the size and resolution for the second image seems to be wrong. The first image though looks correct. The second image it seems as though instead of a resized 2048x1546, I am getting a cropped version of it at 640x480.

The question is does this feature work in this release of the dvsdk? If not what version should I use? If this works in this release then what am I doing wrong. I have not made any progress for  several days on this. Please help.

  • According to the DM365 VPFE users guide, the second resizer (RZB) can only support input line widths up to 1088, perhaps thats why your output is cropped.

    I am affected by the same limitation right now, so I hope someone more knowledgeable can let me know how to work-around it.

  • Alan

     

    I did not check your reply for a long time. I was able to get it to work . It was a kernel issue. I updated to a newer version of the kernel 2.6.18 pro. I was using an earlier version before. Now I am able to get 2048x1536 and 640x480 simultaneously. 

    Now I am having a different problem. I am using the USB gadget driver for sending video data across the USB but the bandwidth is extremely low. about 11mbps. This does not cut for high bit rate video to be sent to a client. Need to get it to atleast 150mbps. Any ideas how I can fix it? There seems to be some problem with the USB driver in Linux I think. Its not fast enough.

     

    Ramesh