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.

DM36XCODECS: DEI (Deinterlacer) Version Number

Part Number: DM36XCODECS

Hello All,

I've been given a DEI package by our local FAE (a zip file containing a folder dei and testbench_dei).

I am unable to determine which version the package is.... The file that usually indicates the version number is missing (the release note) and this file is missing the actual version number: DEI.version..wizardversion.0.5.3

I have contacted our local FAE and he thinks that he's given us the latest bits...but we have no way of checking this, and since I am struggling to get it working - knowing whether I have working algorithm would be a useful start point (version >= 1.9) .

Thanks

Martin

  • Hi,

    Please tell us which software package are you using?

    And share the file names of files in your DEI package.

    Thanks,

    Anuj

    Pathpartner Technology Pvt Ltd.

  • Hi Anuj,

    I received the DEI package form our FAE in a file called: dm365-dei-v1.90.zip

    I am using DVSDK 4.02.00.06.

    Inside the zip is 2 folders and 2 PDFs (PDFs are datasheet and User Guide).

    $ tree dm365-dei-v1.90
    dm365-dei-v1.90
    ├── dei.tar.gz
    ├── DM365_DEI_DataSheet.pdf
    ├── DM365_DEI_UserGuide.pdf
    └── testbench_dei.tar.gz

    0 directories, 4 files

    Unzipped:

    $~/dm365-dei-v1.90$ tree
    .
    ├── dei
    │   ├── ce
    │   │   ├── DEI.xdc
    │   │   ├── DEI.xs
    │   │   ├── package
    │   │   │   ├── build.cfg
    │   │   │   ├── cfg
    │   │   │   ├── external
    │   │   │   ├── internal
    │   │   │   ├── lib
    │   │   │   ├── package.bld.xml
    │   │   │   ├── package.cfg.dep
    │   │   │   ├── package.cfg.xdc.inc
    │   │   │   ├── package.defs.h
    │   │   │   ├── package.doc.xml
    │   │   │   ├── package.ext.xml
    │   │   │   ├── package.rel.dot
    │   │   │   ├── package_ti.sdo.codecs.dei.ce.c
    │   │   │   ├── package.xdc.dep
    │   │   │   ├── package.xdc.inc
    │   │   │   ├── rel
    │   │   │   │   ├── ti_sdo_codecs_dei_ce
    │   │   │   │   │   └── ti
    │   │   │   │   │       └── sdo
    │   │   │   │   │           └── codecs
    │   │   │   │   │               └── dei
    │   │   │   │   │                   └── ce
    │   │   │   │   │                       └── package
    │   │   │   │   │                           └── package.rel.xml
    │   │   │   │   ├── ti_sdo_codecs_dei_ce.tar.dep
    │   │   │   │   ├── ti_sdo_codecs_dei_ce.xdc.inc
    │   │   │   │   └── ti_sdo_codecs_dei_ce.xdc.inc.manifest
    │   │   │   ├── ti.sdo.codecs.dei.ce.ccs
    │   │   │   └── ti.sdo.codecs.dei.ce.sch
    │   │   ├── package.bld
    │   │   ├── package.mak
    │   │   ├── package.xdc
    │   │   └── ti_sdo_codecs_dei_ce.tar
    │   ├── DEI.version..wizardversion.0.5.3
    │   ├── DEI.xdc
    │   ├── idei.h
    │   ├── lib
    │   │   ├── libalgfw.a
    │   │   ├── libdei.a
    │   │   └── libimx.a
    │   ├── link.xdt
    │   ├── package
    │   │   ├── build.cfg
    │   │   ├── cfg
    │   │   ├── external
    │   │   ├── internal
    │   │   ├── lib
    │   │   ├── package.bld.xml
    │   │   ├── package.cfg.dep
    │   │   ├── package.cfg.xdc.inc
    │   │   ├── package.defs.h
    │   │   ├── package.doc.xml
    │   │   ├── package.ext.xml
    │   │   ├── package.rel.dot
    │   │   ├── package_ti.sdo.codecs.dei.c
    │   │   ├── package.xdc.dep
    │   │   ├── package.xdc.inc
    │   │   ├── rel
    │   │   │   ├── ti_sdo_codecs_dei
    │   │   │   │   └── ti
    │   │   │   │       └── sdo
    │   │   │   │           └── codecs
    │   │   │   │               └── dei
    │   │   │   │                   └── package
    │   │   │   │                       └── package.rel.xml
    │   │   │   ├── ti_sdo_codecs_dei.tar.dep
    │   │   │   ├── ti_sdo_codecs_dei.xdc.inc
    │   │   │   └── ti_sdo_codecs_dei.xdc.inc.manifest
    │   │   ├── ti.sdo.codecs.dei.ccs
    │   │   ├── ti_sdo_codecs_dei.class
    │   │   ├── ti_sdo_codecs_dei.java
    │   │   └── ti.sdo.codecs.dei.sch
    │   ├── package.bld
    │   ├── package.mak
    │   ├── package.xdc
    │   ├── package.xs
    │   └── ti_sdo_codecs_dei.tar
    ├── DM365_DEI_DataSheet.pdf
    ├── DM365_DEI_UserGuide.pdf
    └── testbench_dei_h264
        ├── application
        │   └── test
        │       ├── MAKEFILE.MK
        │       └── moduletest
        │           ├── main.c
        │           ├── MAKEFILE.DEPEND
        │           └── MAKEFILE.MK
        ├── bin
        │   ├── moduletest.out
        │   ├── testbench_advanced_algos_load.sh
        │   └── testbench_advanced_algos_unload.sh
        ├── build
        │   ├── COMMON_FOOTER.MK
        │   ├── COMMON_HEADER.MK
        │   ├── INCLUDES.MK
        │   ├── lib
        │   │   ├── alg.a
        │   │   ├── moduletest.a
        │   │   ├── obj
        │   │   │   ├── alg
        │   │   │   │   ├── alg.o
        │   │   │   │   └── alg_vidEncDei.o
        │   │   │   ├── moduletest
        │   │   │   │   └── main.o
        │   │   │   └── osa
        │   │   │       ├── osa_cmem.o
        │   │   │       ├── osa_file.o
        │   │   │       ├── osa_mutex.o
        │   │   │       ├── osa.o
        │   │   │       ├── osa_prf.o
        │   │   │       └── osa_thr.o
        │   │   └── osa.a
        │   ├── Makefile
        │   └── RULES.MK
        ├── framework
        │   ├── alg
        │   │   ├── inc
        │   │   │   ├── alg_dei.h
        │   │   │   ├── alg.h
        │   │   │   ├── alg_jpgEnc.h
        │   │   │   ├── alg_motionDetect.h
        │   │   │   └── alg_vidEncDei.h
        │   │   ├── priv
        │   │   │   └── alg_priv.h
        │   │   └── src
        │   │       ├── alg.c
        │   │       ├── alg_config
        │   │       │   ├── compiler.opt
        │   │       │   ├── config.bld
        │   │       │   ├── custom.mak
        │   │       │   ├── linker.cmd
        │   │       │   ├── package
        │   │       │   │   ├── alg_config.ccs
        │   │       │   │   ├── alg_config.class
        │   │       │   │   ├── alg_config.java
        │   │       │   │   ├── alg_config.sch
        │   │       │   │   ├── build.cfg
        │   │       │   │   ├── cfg
        │   │       │   │   │   ├── alg_server_x470MV.c
        │   │       │   │   │   ├── alg_server_x470MV.cfg
        │   │       │   │   │   ├── alg_server_x470MV.cfg.dot
        │   │       │   │   │   ├── alg_server_x470MV.cfg.xml
        │   │       │   │   │   ├── alg_server_x470MV.dep
        │   │       │   │   │   ├── alg_server_x470MV.h
        │   │       │   │   │   ├── alg_server_x470MV.mak
        │   │       │   │   │   ├── alg_server_x470MV.o470MV
        │   │       │   │   │   ├── alg_server_x470MV.o470MV.dep
        │   │       │   │   │   ├── alg_server_x470MV.rov.xs
        │   │       │   │   │   ├── alg_server_x470MV.rta.xml
        │   │       │   │   │   ├── alg_server_x470MV.xdc.inc
        │   │       │   │   │   └── alg_server_x470MV.xdl
        │   │       │   │   ├── external
        │   │       │   │   ├── info
        │   │       │   │   │   └── alg_server.x470MV.info.js
        │   │       │   │   ├── internal
        │   │       │   │   ├── lib
        │   │       │   │   ├── package_alg_config.c
        │   │       │   │   ├── package.bld.xml
        │   │       │   │   ├── package.defs.h
        │   │       │   │   ├── package.doc.xml
        │   │       │   │   ├── package.xdc.dep
        │   │       │   │   ├── package.xdc.inc
        │   │       │   │   └── rel
        │   │       │   │       └── alg_config.xdc.inc
        │   │       │   ├── package.bld
        │   │       │   ├── package.mak
        │   │       │   ├── package.xdc
        │   │       │   └── package.xs
        │   │       ├── alg_server.cfg
        │   │       ├── alg_vidEncDei.c
        │   │       ├── MAKEFILE.DEPEND
        │   │       └── MAKEFILE.MK
        │   ├── MAKEFILE.MK
        │   └── osa
        │       ├── inc
        │       │   ├── osa_cmem.h
        │       │   ├── osa_debug.h
        │       │   ├── osa_file.h
        │       │   ├── osa.h
        │       │   ├── osa_mutex.h
        │       │   ├── osa_prf.h
        │       │   └── osa_thr.h
        │       └── src
        │           ├── MAKEFILE.DEPEND
        │           ├── MAKEFILE.MK
        │           ├── osa.c
        │           ├── osa_cmem.c
        │           ├── osa_file.c
        │           ├── osa_mutex.c
        │           ├── osa_prf.c
        │           └── osa_thr.c
        └── README.TXT


    cat ./testbench_dei_h264/README.TXT
    EVM TEST BENCH FOR DEI/H.264 framework
    ************************************************************************

    - Introduction
    - Build Instructions
    - Running instructions

    Introduction
    ============
    This is the README for TEST BENCH for DEI/H.264 Algorithm on DM365 EVM
    This is preliminary code.
    DO NOT RELEASE OUTSIDE TI or NDA customers.
        
    Build Instructions    
    ==================

    Requirements,
    - Monta vista compile tools for DM365 v5.0
    - DM365 DVSDK / LSP
      - Refer to DVSDK installation guide for detailed DVSDK install instructions
    - DVSDK Version 2.10.01.18
    - Framework Component version 2.25.00.04
    - Linux Utils Version 2.24.03
    - XDC Version 3.15.01.59

    Instructions,
    - Untar and extract the package "RTSC_DEI_DM365_V1.8.tgz" at ../dvsdk_2_10_01_18/dm365_codecs_01_00_06/packages/ti/sdo/codecs/ folder
    - Make "testbenches" dir at ../ipnc/ folder then Untar and extract the package "testbench_dei_h264_v1.8.tgz" at ../ipnc/testbenches/ folder.
    - Open file RULES.MK in "testbench_dei_h264/build"
      - Edit it according to user environement
      - Specifically modify  TARGET_FS, DVSDK_BASE_DIR  
      - Let the SYSTEM be set to "EVM"
    - Open command line terminal window and goto folder "testbench_dei_h264/build"
    - Type
      > make all
      This will clean and build the DEI test bench.
    - The TEST BENCH test code, script files and related kernel modules would be at
      $(TARGET_FS_DIR)  

    Running instructions
    ====================
    - Boot the uImage ($(TARGET_FS)/uImage) and come to target command prompt
      Refer to LSP / DVSDK documentation for booting the uImage
    - Goto folder /opt/ipnc/testbenches/dei/
    - Type
      > ./testbench_advanced_algos_load.sh  // this will load all required kernel modules and drivers
    - Execute relevant applications/demos depending on your system
      Example to run de interlacer and h.264 concurrently test run,
      > ./moduletest.out alg_vidEncDei

    Here's the tree - as installed in the DVSDK:

    ~/dvsdk/codecs-dm365_4_02_00_00/packages/ti/sdo/codecs$ tree dei
    dei
    ├── ce
    │   ├── DEI.xdc
    │   ├── DEI.xs
    │   ├── package
    │   │   ├── build.cfg
    │   │   ├── package.bld.xml
    │   │   ├── package.defs.h
    │   │   ├── package.doc.xml
    │   │   ├── package.ext.xml
    │   │   ├── package.rel.dot
    │   │   ├── package_ti.sdo.codecs.dei.ce.c
    │   │   ├── package.xdc.dep
    │   │   ├── package.xdc.inc
    │   │   ├── ti.sdo.codecs.dei.ce.ccs
    │   │   └── ti.sdo.codecs.dei.ce.sch
    │   ├── package.bld
    │   ├── package.xdc
    │   └── ti_sdo_codecs_dei_ce.tar
    ├── DEI.version..wizardversion.0.5.3
    ├── DEI.xdc
    ├── idei.h
    ├── lib
    │   ├── libalgfw.a
    │   ├── libdei.a
    │   └── libimx.a
    ├── link.xdt
    ├── package
    │   ├── build.cfg
    │   ├── package.bld.xml
    │   ├── package.cfg.dep
    │   ├── package.cfg.xdc.inc
    │   ├── package.defs.h
    │   ├── package.doc.xml
    │   ├── package.ext.xml
    │   ├── package.rel.dot
    │   ├── package_ti.sdo.codecs.dei.c
    │   ├── package.xdc.dep
    │   ├── package.xdc.inc
    │   ├── rel
    │   │   ├── ti_sdo_codecs_dei
    │   │   │   └── ti
    │   │   │       └── sdo
    │   │   │           └── codecs
    │   │   │               └── dei
    │   │   │                   └── package
    │   │   │                       └── package.rel.xml
    │   │   ├── ti_sdo_codecs_dei.tar.dep
    │   │   ├── ti_sdo_codecs_dei.xdc.inc
    │   │   └── ti_sdo_codecs_dei.xdc.inc.manifest
    │   ├── ti.sdo.codecs.dei.ccs
    │   ├── ti_sdo_codecs_dei.class
    │   ├── ti_sdo_codecs_dei.java
    │   └── ti.sdo.codecs.dei.sch
    ├── package.bld
    ├── package.xdc
    ├── package.xs
    └── ti_sdo_codecs_dei.tar

    11 directories, 46 files

    Thanks,

    Martin

  • Hello,

    Any further ideas ?

    Cheers,

    Martin
  • Hi ,

    Go through this link (  https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/31516#pi317334=1  )

    Version 1.9 is latest version as per the above link , since DEI is supported by default in IPNC RDK not in DVSDK. You can refer RDK for sample code,

    You can start with sample application which would be part of package that you have received.

    DEI can't be used simultaneously with MJPEG codec , you can refer to sample cfg file of encode or decode application to know how to import and use xdc module.

    Thanks & Regards,

    Vishwanath Patil

  • Hello,

    Sorry I think you've misunderstood. All I want to do is verify the version of the package I have been provided by the FAE - since it doesn't seem to work. I have integrated it and followed all instructions.

    I am in the process of obtaining the RDK, I will look in there... I am sure I have the wrong version of libraries / package - this I want to check. I've shown the directory tree above - I have no sample application.

    Please see this other ongoing thread: https://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/591416

    Regards,

    Martin