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.

Compiler/TDA2PXEVM: Regarding the performance of NullSource link

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

Dear,

When I use the NullSource link for YUV stream, the frame rate shows about 0.4 fps.

How can I improve the frame rate?

The file read mode is NULLSRC_LINK_FILEREAD_RUN_TIME.

BR,

Heechang

  • Hi Heechang,

    can you press 'p' when running the usecase and see at what framerate Null_src link is getting notify call?

    The raw data has bigger size compared to the encoded stream and it is possible that reading this data takes longer time, you can check this thread where similar topic is discussed:

    Regards,

    Yordan

  • Hi Yordan,

    The log is below. I can check the "Driver/Notify Cb = 31.17 fps".

    [IPU1-0] 27.954980 s: ### CPU [IPU1-0], LinkID [ 57],
    [IPU1-0] 27.955224 s:
    [IPU1-0] 27.955255 s: [ NULL_SRC ] Link Statistics,
    [IPU1-0] 27.955316 s: ******************************
    [IPU1-0] 27.955377 s:
    [IPU1-0] 27.955438 s: Elapsed time = 7827 msec
    [IPU1-0] 27.955865 s:
    [IPU1-0] 27.955926 s: New data Recv = 0.89 fps
    [IPU1-0] 27.955987 s: Get Full Buf Cb = 0.76 fps
    [IPU1-0] 27.956231 s: Put Empty Buf Cb = 0.76 fps
    [IPU1-0] 27.956322 s: Driver/Notify Cb = 31.17 fps
    [IPU1-0] 27.956963 s:
    [IPU1-0] 27.957329 s: Input Statistics,
    [IPU1-0] 27.957390 s:
    [IPU1-0] 27.957420 s: CH | In Recv | In Drop | In User Drop | In Process
    [IPU1-0] 27.957878 s: | FPS | FPS | FPS | FPS
    [IPU1-0] 27.957969 s: --------------------------------------------------
    [IPU1-0] 27.958030 s: 0 | 0.89 0. 0 0. 0 0.76
    [IPU1-0] 27.958335 s:
    [IPU1-0] 27.958396 s: Output Statistics,
    [IPU1-0] 27.958427 s:
    [IPU1-0] 27.958488 s: CH | Out | Out | Out Drop | Out User Drop
    [IPU1-0] 27.958762 s: | ID | FPS | FPS | FPS
    [IPU1-0] 27.958854 s: ---------------------------------------------
    [IPU1-0] 27.959220 s: 0 | 0 0.76 0. 0 0. 0

    Is there any method to improve this low frame rate?

    BR,

    Heechang

  • Hi Heechang,

    The problem here is same as the one described in the thread mentioned by Yordan.

    File read is slow and it takes long to read higher resolution files.

    This leads to low fps.

    You need to lower the resolution to increase the fps.

    Regards,

    Rishabh

  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.
    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    Regards,
    Rishabh