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.

two questons about resize of dm365

hi,

            in my application, i need to get two different resolutions capture frames, by resizer. And i use the single shut mode. But always, when my applecation

exit without cleanup the encoder handle, there will be a edmak error, if my appletion restart. And in this case, if i use 'reboot'  command to restart the  OS  and run my

applition again, the resize will be deadlocked.

           and i want to know if i can do something when i meet the edmak error or resize deadlocked case? Just like reset the resize or edma module, or something else,

which power off my device. 

          and the second question is that, the dmai api seems not allow to do resize, as the input data is the 420 format. and if i bypass the dmai-api, the driver support the

420 as the input format, or i need to adjust the driver. 

  • Regarding your edmak error, can you provide more detail?

    You might get more information to help solve the edmak issue if you were to install a debug version of edmak.ko.  You can do so by rebuilding edmak.ko with:
        % cd <linuxutils>/ti/sdo/linuxutils/edma/src/module
        % make debug
    You might need to edit <linuxutils>/ti/sdo/linuxutils/edma/Rules.make if you have not already done so to point to your Linux build.

    With the debug version you will get informational messages printed on the console (or, if not directly to the console, the messages can be displayed with the Linux 'dmesg' command).

    Regards,

    - Rob