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.

Support Slice decode on DM368

Hi ,

My ctm want to support slice decode on DM368, below is their approach on this feature, but it seems doesnt work, could you kindly add your comment ?

Currently our test frame(I frame) is made of 2 slice frames.  

We put the 1st slice in buffer, then remove the header of the 2nd slice, and put it after the 1st slice.

The combined frame can not be played by Elecard.

Thanks & Best Regards,

Eason

  • Hi,
    Elecard won't understand slice without header. You should try this feature directly on DM36x H264 decoder. You need to set params.inputDataMode = IH264VDEC_TI_SLICEMODE to enable decoding of slice without header.

    For more information please refer User guide and decoder standalone testapp provided with decoder package.

  • Hi ,

    Could you also confirm that customer's data format is corrct ?

    That is:

    1st slice header + 1st slice data + 2nd slice data ? I guess it has problems. I dont know if the header of sliced bitstream is the same as the un- sliced stream or not.  Does ctm need to process the header also?

    Customer also tried to sent the sliced bitstream directly to decoder and makde the same modification as you mentioned but it doesnt work.    I would also have you confirm if slice decode is already supported on DM368.

    Custoemr is using IPNCRDK 5.1.

    Many thanks!

    Eason Wang

  • Hi,

    Yes DM36x H264 decoder supports slice decode mode.
    Its better to understand H264 datasync interface, I request you to look at TestAppDecoder_ih264_arm926.c file present in decoder test application. Test application have callback and nal search function which customer can use directly in IPNC. Also please run the test application with datasync enable.