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.

how to use resizer A and resizer B simultaneously



Hi everyone:

i want to implement a common funtion using dm365, which is encoding 720p h264 and resizing to 640X480 for lcd or monitor

simultaneously.Because h264 encoder need 420psemi and display need 422,i have to use resizer A to get 420psemi and use

resizer B to get 422 after geting raw data from mt9p031 in single shot mode(fly mode may be not adaptable for the

functions).But i could not find any example about controlling two resizer(A and B) simultaneously in dvsdk dmai

examples.Anyone could give me some examples for resizer A/B or some advices for implementing the functions using another way?

thank you

  • This is one of the sample v4l2 application which uses both RSZ-A and RSZ-B capture. This might help you.

    http://arago-project.org/git/projects/?p=examples-davinci.git;a=blob;f=imp-prev-rsz/dm365/capture_prev_rsz_onthe_fly_bayer.c;h=f1b030c2db4c24e51dcc84727fbfcddbcb8ce745;hb=ffbe85626735f3773801811a3e58d6f17e17bbe7

  • Nagabhushana said:

    This is one of the sample v4l2 application which uses both RSZ-A and RSZ-B capture. This might help you.

    http://arago-project.org/git/projects/?p=examples-davinci.git;a=blob;f=imp-prev-rsz/dm365/capture_prev_rsz_onthe_fly_bayer.c;h=f1b030c2db4c24e51dcc84727fbfcddbcb8ce745;hb=ffbe85626735f3773801811a3e58d6f17e17bbe7

    Hi  nice Nagabhushana

    thank you for your rapid reply.I appreciated for your answer.i see this example operates previewer and resizer directly,not using dmai.In dvsdk 3.10,demo examples (including resize example)are coded on DMAI.So,I have another question.If i develop my applications like capture_prev_rsz_onthe_fly_bayer.c,I will abandon dmai wrap for resizer.that is,i will use part of DMAI for encode and decode ,but operate resizer directly.Is it ok?Thank you very much.

    best regards

     

  • Stefan Zhang,

    There is a thread which related your question. See if it can help you.

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/7777.aspx

    I believe you should try to add DMAI RSZ-B support if it doesn't support in the sdk release. It might be easier for you to use DMAI completely.