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.

DM8168 jpeg library

hi TI-friends,

we want to change the library

from jpegdec_DIR      := $(TI_SW_ROOT)/codecs/REL.500.V.MJPEG.D.IVAHD.01.00.05.00 ==> ok to compile

to      jpegdec_DIR      := $(TI_SW_ROOT)/codecs/REL.500.V.MJPEG.D.IVAHD.01.00.06.00

And we got following error when compiling

# Compiling ti816x-evm:m3vpss:release:dvr_rdk_bios6: ../extend/bios_ext/decoder_ext.c
"../extend/bios_ext/../../src_bios6/links_m3video/iva_dec/decLink_algIf.h", line 13: fatal error: could not open source file "ijpegvdec.h"
1 fatal error detected in the compilation of "../extend/bios_ext/decoder_ext.c".
Compilation terminated.

>> Compilation failure
make[2]: *** [/home//DVRRDK/dvr_rdk/../dvr_rdk/build/mcfw/src_bios6/obj/ti816x-evm/m3vpss/release/decoder_ext.oem3] Error 1
make[1]: *** [apps] Error 2
make: *** [dvr_rdk_bios6] Error 2

 

  • "ijpegvdec.h" is definitely present in REL.500.V.MJPEG.D.IVAHD.01.00.06.00.

    Ensure that MJPEG decoder - 01.00.06.00 is extracted to ti_tools/codecs folder. Try a clean build.

  • hi 

    thanks for you help... It works now.

    And I got following message, did you have any idea ?

    [m3video] DEC : Delete CH0, Dummy Object queued !!!
    [m3video] 1030250: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame received for ch[0]
    [m3video] 1030250: DECODE: CH0:
    [m3video] Queing flush Frame to processQ
    [m3video] 1030250: DECODE: CH0:
    [m3video] Flush Frame Received in ProcessQue
    [m3video] 1030251: DECODE: CH0:
    [m3video] Freeing flush Frame
    [m3video] 1030251: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame freed for ch[0]
    [m3video] DECLINK_JPEG:HEAPID:0 USED:12616
    [m3video] 1030257: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
    [m3video] 1030257: DECODE: CH0: Decoder Create CH done!!!
    [m3video] 1033192:DECLINK::links_m3video/iva_dec/decLink_jpeg.c:[206]::INTERNAL ERROR:-1
    [m3video] ALGPROCESS FAILED:STATUS
    [m3video] 1033192:WARN
    [m3video] DECLINK:ERROR in Declink_jpegDecodeFrameBatch.Status[-1]

     

  • MJPEG - 01.00.06.00 was part of 4.0 GA release. There could be some framework changes for this version update.

    Compare the changes in decLink_jpeg.c / decLink_common.c of 4.0 GA & merge changes to your file.

  • hi Sivagamy,

    thanks for your reply. I have question

    1. I try to use original REL.500.V.MJPEG.D.IVAHD.01.00.05.00 and still got the same message as mentioned in above, does this mean any thing??

    2. INTERNAL ERROR:-1 , do you know what this "-1" mean?  

  • What is the original issue you are facing and why are you trying to migrate MJPEG library ?

  • Hi badri,

     thanks for your reply.

    I have a stream which causes following messages in rdk3.0,

    [m3video] DEC : Delete CH0, Dummy Object queued !!!
    [m3video] 1030250: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame received for ch[0]
    [m3video] 1030250: DECODE: CH0: 
    [m3video] Queing flush Frame to processQ
    [m3video] 1030250: DECODE: CH0: 
    [m3video] Flush Frame Received in ProcessQue
    [m3video] 1030251: DECODE: CH0: 
    [m3video] Freeing flush Frame
    [m3video] 1030251: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame freed for ch[0]
    [m3video] DECLINK_JPEG:HEAPID:0 USED:12616
    [m3video] 1030257: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ... 
    [m3video] 1030257: DECODE: CH0: Decoder Create CH done!!!
    [m3video] 1033192:DECLINK::links_m3video/iva_dec/decLink_jpeg.c:[206]::INTERNAL ERROR:-1
    [m3video] ALGPROCESS FAILED:STATUS
    [m3video] 1033192:WARN
    [m3video] DECLINK:ERROR in Declink_jpegDecodeFrameBatch.Status[-1]


  • And this stream plays fine on RDK 4.0 and PC player like VLC ? .If it plays fine on PC player but doesn't play with DVR RDK 4.0 attach the bitstream.

  • hello badri,

       I still got the following sometimes after using REL.500.V.MJPEG.D.IVAHD.01.00.12.00.. But the BS could be played normally.

    I just want to confirm if there's still something wrong... Any idea?

    [m3video] 456600206:DECLINK::links_m3video/iva_dec/decLink_jpeg.c:[206]::INTERNAL ERROR:-1
    [m3video] ALGPROCESS FAILED:STATUS
    [m3video] 456600206:WARN
    [m3video] DECLINK:ERROR in Declink_jpegDecodeFrameBatch.Status[-1]

    [host]
    1217100758: IPCBITSOUT:Link[30000018]:
    [host] Flush Frame Sent for chId[1]
    [host]
    1217100762: IPCBITSOUT:Link[30000018]:
    [host] Flush Frame Received for chId[1]
    [host]
    1217100765: IPCBITSOUT:Link[30000018]:
    [host] Ch buffer delete completed for chId[1].Total Time[6] [m3video] DEC : Delete CH1 Got the Dummy Object queued !!!
    [m3video] DEC : Delete CH1, Dummy Object queued !!!
    preview task over 30ms delay=-14
    [m3video] 456600385: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame received for ch[1]
    [m3video] 456600385: DECODE: CH1:
    [m3video] Queing flush Frame to processQ
    [m3video] 456600385: DECODE: CH1:
    [m3video] Flush Frame Received in ProcessQue
    [m3video] 456600387: DECODE: CH1:
    [m3video] Freeing flush Frame
    [m3video] 456600387: IPCBITSIN:Link[1000001a]:
    [m3video] Flush Frame freed for ch[1]
    [m3video] DECLINK_JPEG:HEAPID:0 USED:14664
    [m3video] 456600393: DECODE: Creating CH1 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
    [m3video] 456600394: DECODE: CH1: Decoder Create CH done!!!

  • hello TI friends,

       May I know the latest version number ?

    Thanks.