I'm trying to use the DEI algorithm that I received from my FAE but without success.
I received a ZIP file with pdf docs and 3 folders: dei, h264enc and testbench_dei_h264.
I extracted folder "dei" in "dvsdk_2_10_01_18\dm365_codecs_01_00_06\packages\ti\sdo\codecs" and I modified "av_capture\framework\alg\src\alg_server.cfg" file introducing these lines:
- var DEI = xdc.useModule('ti.sdo.codecs.dei.ce.DEI');
- {name: "h264enc", mod: H264ENC, local: true, groupId: 1}, in Engine.create("alg_server", []) arguments.
Are there anymore operations to do to integrate the DEI codec? I have no compile errors rebulding all.
I modified my application following the example in file DM365_De-Interlacer\testbench_dei_h264\framework\alg\src\alg_vidEncDei.c but I have a segmentation error during the second VIDENC1_process call.
Below there is the log captured with CE_DEBUG=3
**************************
@55,683,313us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0x15b10, id=1, dynParams=0x15a7c (size=0x0), status=0x44f00d64 (size=0x402d2eac)
@55,683,903us: [+5 T:0x44f01490 S:0x44f00b04] CV - VISA_enter(visa=0x15b10): algHandle = 0x15548
@55,684,422us: [+0 T:0x44f01490 S:0x44f00af4] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x15548)
@55,684,851us: [+0 T:0x44f01490 S:0x44f00abc] ti.sdo.ce.osal.SemMP - Entered SemMP_pend> sem[0x152b0] timeout[0xffffffff]
@55,685,156us: [+0 T:0x44f01490 S:0x44f00abc] ti.sdo.ce.osal.SemMP - Leaving SemMP_pend> sem[0x152b0] status[0]
@55,685,696us: [+0 T:0x44f01490 S:0x44f00b04] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
@55,686,158us: [+5 T:0x44f01490 S:0x44f00b0c] CV - VISA_exit(visa=0x15b10): algHandle = 0x15548
@55,686,556us: [+0 T:0x44f01490 S:0x44f00afc] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x15548)
@55,686,996us: [+0 T:0x44f01490 S:0x44f00adc] ti.sdo.ce.osal.SemMP - Entered SemMP_post> sem[0x152b0]
@55,687,350us: [+0 T:0x44f01490 S:0x44f00adc] ti.sdo.ce.osal.SemMP - Leaving SemMP_post> sem[0x152b0]
@55,687,680us: [+0 T:0x44f01490 S:0x44f00b0c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
@55,687,912us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0x15b10, retVal=0x0)
@55,688,312us: [+0 T:0x44f01490 S:0x44f00b54] ti.sdo.ce.video1.VIDENC1 - VIDENC1_process> Enter (handle=0x15b10, inBufs=0x44f00bec, outBufs=0x44f00d48, inArgs=0x44f00d3c, outArgs=0x44f00cbc)
@55,688,840us: [+5 T:0x44f01490 S:0x44f00b34] CV - VISA_enter(visa=0x15b10): algHandle = 0x15548
@55,689,105us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x15548)
@55,689,302us: [+0 T:0x44f01490 S:0x44f00aec] ti.sdo.ce.osal.SemMP - Entered SemMP_pend> sem[0x152b0] timeout[0xffffffff]
@55,689,683us: [+0 T:0x44f01490 S:0x44f00aec] ti.sdo.ce.osal.SemMP - Leaving SemMP_pend> sem[0x152b0] status[0]
@55,689,944us: [+0 T:0x44f01490 S:0x44f00b34] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
@55,700,202us: [+5 T:0x44f01490 S:0x44f00b3c] CV - VISA_exit(visa=0x15b10): algHandle = 0x15548
@55,700,461us: [+0 T:0x44f01490 S:0x44f00b2c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x15548)
@55,700,668us: [+0 T:0x44f01490 S:0x44f00b0c] ti.sdo.ce.osal.SemMP - Entered SemMP_post> sem[0x152b0]
@55,700,887us: [+0 T:0x44f01490 S:0x44f00b0c] ti.sdo.ce.osal.SemMP - Leaving SemMP_post> sem[0x152b0]
@55,701,123us: [+0 T:0x44f01490 S:0x44f00b3c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
@55,701,306us: [+0 T:0x44f01490 S:0x44f00b54] ti.sdo.ce.video1.VIDENC1 - VIDENC1_process> Exit (handle=0x15b10, retVal=0x0)
ALG_deiConcRun: outW=528 outH=384
ENCODE_tskRun: Got buf for ch=0 v_add=45080800, p_add=8668B800
ENCODE_tskRun: Codec runtime params: inAddr=45080800
@55,706,287us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Enter (handle=0x15b10, id=1, dynParams=0x15a7c (size=0x0), status=0x44f00d64 (size=0x4042cf70)
@55,706,584us: [+5 T:0x44f01490 S:0x44f00b04] CV - VISA_enter(visa=0x15b10): algHandle = 0x15548
@55,706,798us: [+0 T:0x44f01490 S:0x44f00af4] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x15548)
@55,706,993us: [+0 T:0x44f01490 S:0x44f00abc] ti.sdo.ce.osal.SemMP - Entered SemMP_pend> sem[0x152b0] timeout[0xffffffff]
@55,707,209us: [+0 T:0x44f01490 S:0x44f00abc] ti.sdo.ce.osal.SemMP - Leaving SemMP_pend> sem[0x152b0] status[0]
@55,707,418us: [+0 T:0x44f01490 S:0x44f00b04] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
@55,707,600us: [+5 T:0x44f01490 S:0x44f00b0c] CV - VISA_exit(visa=0x15b10): algHandle = 0x15548
@55,707,776us: [+0 T:0x44f01490 S:0x44f00afc] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Enter(alg=0x15548)
@55,707,991us: [+0 T:0x44f01490 S:0x44f00adc] ti.sdo.ce.osal.SemMP - Entered SemMP_post> sem[0x152b0]
@55,708,209us: [+0 T:0x44f01490 S:0x44f00adc] ti.sdo.ce.osal.SemMP - Leaving SemMP_post> sem[0x152b0]
@55,708,396us: [+0 T:0x44f01490 S:0x44f00b0c] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate> Exit
@55,708,570us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.video1.VIDENC1 - VIDENC1_control> Exit (handle=0x15b10, retVal=0x0)
@55,708,759us: [+0 T:0x44f01490 S:0x44f00b54] ti.sdo.ce.video1.VIDENC1 - VIDENC1_process> Enter (handle=0x15b10, inBufs=0x44f00bec, outBufs=0x44f00d48, inArgs=0x44f00d3c, outArgs=0x44f00cbc)
@56,041,267us: [+5 T:0x44f01490 S:0x44f00b34] CV - VISA_enter(visa=0x15b10): algHandle = 0x15548
@56,041,514us: [+0 T:0x44f01490 S:0x44f00b24] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Enter(alg=0x15548)
@56,041,713us: [+0 T:0x44f01490 S:0x44f00aec] ti.sdo.ce.osal.SemMP - Entered SemMP_pend> sem[0x152b0] timeout[0xffffffff]
@56,041,926us: [+0 T:0x44f01490 S:0x44f00aec] ti.sdo.ce.osal.SemMP - Leaving SemMP_pend> sem[0x152b0] status[0]
@56,042,143us: [+0 T:0x44f01490 S:0x44f00b34] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Exit
Segmentation fault
Here are the components versions:
- DEI algorithm version 1.70.00
- dvsdk_2_10_01_18
- framework_components_2_24_01
- linuxutils_2_24_03
- xdctools_3_15_01_59
- codec_engine_2_24
I'm running DEI in standalone mode.
Thank in advance and best regards.