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 process HD on the DSP side of DM8127?

hi

In the appro ipnc DM8127,we know the dsp side processes scalared image which only 320X192.

now ,in our project,we need use HD  image (1920X1080) for  number recognition.

we do this:

1,the video get in scalar link is 720X480,and out 320X192.we could change the video to 704X440.

but when we change to 720X480.it failed.the message is :

c6xdsp ]  13425: Assertion @ Line: 2213 in links_common/va/vaLink_alg.c: libStatus == DMVAL_NO_ERROR : failed !!!

2, [m3video] ENCLINK_H264:HEAPID:0        USED:13808

 [m3video]  13849: ENCODE: Creating CH1 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 8000 Kbps ...

 [m3video] 

 [m3video] 13934:ERR::linkID:10000025::channelID:1::errorCode:-4::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1321::errorCondition:(iresStatus == IRES_OK)

 [m3video]  13935: Assertion @ Line: 901 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!


2,we change the link.

we use smartanlytics demo ,build a new link :   ...nsf_link->1080PYUV420->ipcframesout_link->ipcframesin_link->va_link.

and change buffer number to 3.

we send 1080P  to  dsp.but it failed.the message is:

 [c6xdsp ] > DMVAL: 289783519 bytes required for DMVAL instance.

 [c6xdsp ] DMVAL:

 [c6xdsp ] > DMVAL: 4128 bytes required for DMVAL output.

 [c6xdsp ] pAlgObj->size=289783519

 [c6xdsp ]  12720: Assertion @ Line: 2220 in links_common/va/vaLink_alg.c: pAlgObj->ptr != NULL : failed !!!


for this message we know is memory error...

but i haven't clue to solve this problem.

can anyone help me 
thank you !


Your help is greatly appreciated. 



  • Hi,

    My replies are below:

    1. Make sure the width is multiple of 32.
    2. For 1080p input the DMVAL memory requirement is whooping 276 MB where as the size of memory region (SR1) is only 60 MB in 512 MB memeory scheme and also the perfprmance of DMVAL will be very bad.

    regards,

    Anand

     

  • Hi,

        I  am also facing same issue for video link for 1024 x 576 resolution.


     [m3vpss ]  3760248: SELECT: OUT QUE0: OUT CH0: IN CH0: 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ]
     [m3vpss ]  3760248: SELECT: OUT QUE0: OUT CH1: IN CH1: 1024 x 576, pitch = (1024, 1024) [PROGRESSIVE] [NON-TILED  ]
     [m3vpss ]  3760248: SELECT: OUT QUE0: OUT CH2: IN CH2: 704 x 480, pitch = (704, 704) [PROGRESSIVE] [NON-TILED  ]
     [m3vpss ]  3760248: SELECT: OUT QUE1: OUT CH0: IN CH3: 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED  ]
     [m3vpss ]  3760249: SELECT   : Create Done !!!
     [m3vpss ]  3760249: DISPLAY: Create in progress !!!
     [m3vpss ] DisplayId = 4,DataFormat = 7
     [m3vpss ] SD displayInstId = 2
     [m3vpss ]  3760250: DISPLAY: Create Done !!!
     [m3vpss ]  3760252: MERGE   : Create Done !!!
     [m3vpss ]  3760252: IPC_FRAMES_OUT   : Create in progress !!!


     [host]  1659560768: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_23] ...
     [host]  1659560776: IPC_FRAMES_IN   : Create Done !!!
     [m3video]  3760269: IPC_IN_M3   : Create in progress !!!
     [m3vpss ]  3760254: IPC_FRAMES_OUT   : Create Done !!!
     [m3video]  3760269: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
     [m3vpss ]  3760268: IPC_OUT_M3   : Create in progress !!!
     [m3video]  3760270: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
     [m3vpss ]  3760268: IPC_OUT_M3   : Create Done !!!
     [m3video]  3760272: IPC_IN_M3   : Create Done !!!
     [m3video]  3760273: ENCODE: Create in progress ... !!!
     [m3video]  3760336: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video] ENCLINK_H264:HEAPID:0    USED:11912
     [m3video]  3760437: ENCODE: Creating CH1 of 1024 x 576, pitch = (1024, 1024) [PROGRESSIVE] [NON-TILED  ], bitrate = 2000 Kbps ...
     [m3video]  
     [m3video] 3760533:ERR::linkID:10000025::channelID:1::errorCode:-4::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1321::errorCondition:(iresStatus == IRES_OK)
     [m3video]  3760533: Assertion @ Line: 900 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!

     

     [host]  1659579287: MSGQ: MsgQ Ack get from [VIDEO-M3] failed for link 37, cmdId 0x0000 !!! (retrying - 999 times)