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.

some question about dm355

hi ,

I have several question about dm355 multi-stream.

First, in my dm355 platform, there are 4 stream with 2 resolution can be work well at the same time such as : 720*480 MPEG4, 352*240 MPEG4, 720*480 MotionJPEG, 352*240 MotionJPEG.  If I change resolution to 640*480 or 160*112, the video will be unnormally and it looks like this->.

But 352*240 is OK. I checked all resolution setting(capture.c,  writer.c, video.c in encode stream) in every step was correct. Maybe I lost some key point about this question. Have anyone can give me some hints to correct this error?

Second, in Peripheral Reference Guide for DM350 Subsystem VPFE , chapter "Horizontal & Vertical Resize Module",
"The sizes of output images are limited to below 1344 pixels/line for RSZ[0] and 640 pixels/line for RSZ[1]."
Is everyone can give me some reference or concept about RSZ? ex: Surrpose that i have "4" stream at the same time, what is the actually progress in "2" resizers? How can i programable control it?

ps: My English is very poor. Thanks a lot for your patiences to understand my article.

Have a nice day.

  • with 4 streams, I am wondering if you are running into similar memory bandwidth constraints as those described in http://tiexpressdsp.com/index.php/TMS320DM355_High-Definition_%28HD%29_Display ; if so, you may be able to alleviate this to an extent by increasing the value of PBBPR as described in the wiki article above.

    With regards to resizer, you can control each resizer independently.  There should be an example under dvsdk (see PSP_xx_xx_xx_xxx/examples/dm355/ipipe ) that exercises the resizer on DM355.

  • aichi Chen said:
    unnormally and it looks like this->.

    This image looks like you have a horizontal width disagreement somewhere, if it is functioning properly with a different resolution width than it is possible somewhere in your code is not expecting the new resolution, such as if your display is expecting 640x480 but you are now providing it 720x480, you end up with each line being shifted and it looks something like this. Of course it is hard to tell with a small image like this, so it is possible there is some other issue at hand.

    aichi Chen said:
    Is everyone can give me some reference or concept about RSZ? ex: Surrpose that i have "4" stream at the same time, what is the actually progress in "2" resizers? How can i programable control it?

    As Juan suggests there are resizer examples, just keep in mind that for processing four streams at the same time you would have to share the time of each resizer, that is you cannot actually resize all 4 simultaneously, but you can alternate between them frame by frame.