hi all. i want to know whether we can still dynamicly create vdec channel after we init all the dec channel?
tks
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.
hi all. i want to know whether we can still dynamicly create vdec channel after we init all the dec channel?
tks
Yes dynamic create and delete of decode channels is supported RDK 2.8 onwards.
thank you for your answer . i mean that i init one channel to decode,and then i want create other channel dynamicly.
i do some test ,when i call the function Vdec_createChn to create
there are some errors following:
Open Channel: 1
[host] HDMI Ctrl :Initializing
[host] HDMI Ctrl :Initialized
[host] HDMI Ctrl :Sink Connected
[m3vpss ] 56906: IPC_IN_M3 : Create in progress !!!
[m3video] DECLINK_H264:HEAPID:0 USED:4264
[m3vpss ] 56906: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_1] ...
[m3video] DECLINK_H264:HEAPID:3 USED:9363456
[m3vpss ] 56906: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_1] ...
[m3video] 56895: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [TILED ],target bitrate = 2000 Kbps ...
[m3vpss ] 56907: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
[m3video] 56897: DECODE: All CH Create ... DONE !!!
[m3vpss ] 56908: IPC_IN_M3 : Create Done !!!
[m3vpss ] 56909: SWMS: Create in progress !!!
[m3video] DECLINK:HEAPID:0 USED:4384
[m3video] DECLINK:HEAPID:3 USED:9363456
[m3video] 56900: DECODE: Create ... DONE !!!
[m3video] 56900: IPC_OUT_M3 : Create in progress !!!
[m3video] 56901: IPC_OUT_M3 : Create Done !!!
[m3video] 56901: DECODE: CH0:
[m3video] Queueing last frame in prev IVA[2]
[m3video] 56901: DECODE: CH0:
[m3video] Iva Map Change Serialization: Last Frame of Prev IVA [2] received
[m3video] 56901: DECODE: CH0:
[m3video] Queueing first frame in next IVA[0]
[m3video] 56902: DECODE: CH0:
[m3video] Iva Map Change Serialization: First Frame of Next IVA [0] received
[m3video] 56902: DECODE: CH0:
[m3video] Iva Map Change Serialization: First Frame of Next IVA [0] received. Serialization complete!!
[m3video]
[m3video] 56903:ERR::linkID:10000022::channelID:1::errorCode:-3::FileName:links_m3video/iva_dec/decLink_h264.c::linuNum:861::errorCondition:(NULL != hObj->algHandle)
[m3video] DECLINK_H264:HEAPID:0 USED:1896
[m3video] DEC : Delete CH1 Got the Dummy Object queued !!!
[m3video] 56903: DECODE: CodecInst and OutFrm bufs were NOT created for CH1
[m3video] DEC : Delete CH1, Dummy Object queued !!!
[m3video] DECLINK: ERROR!!! During Channel Open, Need more memory to open new CH1; Delete a few other channels and try again
[m3video]
above problem has be fixed .
but there is some other problem following:
Open Channel: 1
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:9363456
[m3video] Unhandled Exception:
[m3video] Exception occurred in ThreadType_Task
[m3video] handle: 0x3cc21ff8.
[m3video] stack base: 0x3d662200.
[m3video] stack size: 0x8000.
[m3video] R0 = 0x00000006 R8 = 0x3d242e34
[m3video] R1 = 0x68004808 R9 = 0x00000003
[m3video] R2 = 0x00000000 R10 = 0x00000000
[m3video] R3 = 0x00000000 R11 = 0x3d66a0c0
[m3video] R4 = 0x00000000 R12 = 0x3d225680
[m3video] R5 = 0x3d241388 SP(R13) = 0x3d66a0b0
[m3video] R6 = 0x00001ea0 LR(R14) = 0x00322f29
[m3video] R7 = 0x0000003c PC(R15) = 0x00322f7a
[m3video] PSR = 0x41000000
[m3video] ICSR = 0x00400803
[m3video] MMFSR = 0x00
[m3video] BFSR = 0x82
[m3video] UFSR = 0x0000
[m3video] HFSR = 0x40000000
[m3video] DFSR = 0x00000000
[m3video] MMAR = 0x6800482c
[m3video] BFAR = 0x6800482c
[m3video] AFSR = 0x00000000
[m3video] Terminating Execution...