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.

About OMTB Example Operation. (DM8168)

Hi

I leave South Korea.  So  I don't speak english well.   understanding please.

First Question)  How can i operate  example-application/omtb_01_00_00_02  without script file. ( ????.omx).

 

Second Question)  When do i operate omtb-example using script-file.  How can i exit  at omtb program~?

 

Third Question ) In Document( DM816x C6A816x AM389x EZ Software Developers Guid.pdf)  Page 5. about Running OMTB   Section.

                echo 0 > /sys/devices/platform/vpss/graphics0/enabled  -- > it's ok

                echo 0 > /sys/devices/platform/vpss/graphics1/enabled   --> it' not ok  ,   Linux Prompt  display that "VPSS_GRPX : please open fb1 node first"

                echo 0 > /sys/devices/platform/vpss/graphics2/enabled  --> it' not ok  ,   Linux Prompt  display that "VPSS_GRPX : please open fb1 node first"

      I don't know that why not command operate  " echo 0 > /sys/devices/platform/vpss/graphics1/enabled    " .

 

thanks

  • The latest sdk 5.2 has a C-Base capture-encode and decode-display demo.

     

    http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/latest/index_FDS.html 
    You'll need to send a kill signal (Ctrl-C) to stop the omtb.
    The error message you see when atttempting to disable the graphic plane is fine.  The Software Developers Guide is being cautious to be sure that all 3 graphic planes are disabled.
  • First Question) :

    <Reply> : This feature is not supported in omtb_01_00_00_02.


    Second Question):

    <Reply> : Please use Ctrl+C to stop the execution. To run the next usecase you need to restart the EVM.


    Third Question ) :

    <Reply> : This message can be ignored. It comes if an user tries to disable the planes which are in disabled state. These commands should be executed only if graphics plane1 and plane 2 are already enabled.


  • my frist question >

    by default   when running OMTB demo   we can watch the video only from on-chip hdmi interface

    but i want to  output the video from HD-DAC OR SD-DAC

    so how can i modify the script of omtb   for example  change the chain from  fb0 --->hdmi to fb0 ---->hdcomp or to fb1---->hdmi

     

    my second question >

    when i run the demo saFbdevDisplay(coming from ezsdk/psp/example)    it is ok   view the picture from on-chip hdmi

    then i modified the source code from open /dev/fb0 to /dev/fb1   failed   nothing but no signal input on screen

    why ?  is it  available to HDCOMP and SDCOMP (ezsdk502(latest) + ti8168evm)

    thanks

  • my frist question >

    <Reply>

    Please update the following lines in the omtb script for the display on HD-DAC.

    omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1

    omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1

  • Hi. 

     

    you said

                         "Please update the following lines in the omtb script for the display on HD-DAC.

                             omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1

                             omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1 "

     

     

    it is ok. 

    i have one more question.

    First Question )    How can i display to HDCOMP, HDMI at the same time.~~?

     

  • Please run dual_display_encode_decode.oms omtb script, which can display data on HDMI and HD-DAC at same time.

     

     

  • i tried that " Please run dual_display_encode_decode.oms omtb script, which can display data on HDMI and HD-DAC at same time"

     

    But it is not work.   

    first step )  echo 0 > /sys/device/platform/vpss/graphics0/enable

                        echo 1:dvo2 > /sys/device/platform/vpss/graphics0/nodes

                        echo 1 > /sys/device/platform/vpss/graphics0/enable

    Second step) cd /usr/share/ti/ti-omtb

                             ./omtb  dual_display_encode_decode.oms 

    It seems to operate well. HDCOMP display is ok,  but hdmi(DVO2) display is not ok.( display white screen).

     

    First Question) why do not display same video frame...?

    Second Question)  How is DVO2/HDMI different~?   I think that HDMI/DVO is same physical output port. 

                                       But.... i must change graphics0/nodes for OMTB example excuting.    

     

  • Hi,

    HDMI and DVO2 are two separate video encoders. So you need not to route to DVO2. You need to route to HDMI that "echo 1:hdmi > /sys/device/platform/vpss/graphics0/nodes". We have sil9022a external encoder connected to DVO2. But that is not supported in ezsdk as of now. So HDMI and DVO2 are different.

     

    Regards,

    Hardik Shah

  • hi !

    SDK = ezsdk502(latest)  

    base board = ti8168

    using FBDev sample application to test HDCOMP and SDVENC output.

    frist > my steps

    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_| 
                  |___|                    |___|           

    Arago Project http://arago-project.org dm816x-evm ttyO2

    Arago 2011.05 dm816x-evm ttyO2

    dm816x-evm login: root
    root@dm816x-evm:~# /etc/init.d/matrix-gui-e stop
    Stopping Matrix GUI application.
    root@dm816x-evm:~# cd /home/video-test/
    root@dm816x-evm:/home/video-test# ./saFbdevDisplay

    Fix Screen Info:
    ----------------
    Line Length - 7680
    Physical Address = 8ce00000
    Buffer Length = 25165824

    Var Screen Info:
    ----------------
    Xres - 1920
    Yres - 1080
    Xres Virtual - 1920
    Yres Virtual - 3240
    Bits Per Pixel - 32
    Pixel Clk - 6734
    Rotation - 0
    root@dm816x-evm:/home/video-test#

    note : it is ok .output from on-chip-hdmi is ok

    in order to test HD-DAC (hdcomp)

    root@dm816x-evm:/home/video-test# ./saFbdevDisplay-hdcomp

    note : changed
    static char display_dev_name[30] = {"/dev/fb0"};

    to
    static char display_dev_name[30] = {"/dev/fb1"};

    but it is not ok ,"NO SINGNAL INPUT" is displayed on the screen connected to ti8168 through HD-DAC interface

     

    in order to test SD-DAC (composite&s-video)

    root@dm816x-evm:/home/video-test# ./saFbdevDisplay-sdcomp

    note : changed
    static char display_dev_name[30] = {"/dev/fb0"};

    to
    static char display_dev_name[30] = {"/dev/fb2"};

    but it is not ok ,"NO SINGNAL INPUT" is displayed on the screen connected to ti8168 through SD-DAC interface

    i am sure all the devices are ok

    why why why why????????????????????????????????????????

    second > try

    1.power off  base board then power on

    2. run the omtb demo

                             root@dm816x-evm:/usr/share/ti/ti-omtb# ./omtb_dm816xbm_a8host.xv5T decode_scale_display.oms 

                            note : i changed  the below in oder to watch video from HD-DAC(HDCOMP) interface

                             omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1

     

                             omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 1

                              now  it is ok

    3. in order stop the demo i reboot the board (CTRL + C can not stop it )

    4.now how is amazing   i operate all  the frist steps  all are ok 

                               ON-CHIP-HDMI     HD-DAC         SD-DAC    all worked

    5. then i power off then power on the board

                               HD-DAC         SD-DAC   can not  work  no picture/video output

    why why why why why ???????????????????????????????????????

    third > what i want to do is test HD-DAC  SD-DAC  interface

     

  • 혹시 해결 하셨나요 ? 저도 같은 문제인데요, Best Regards, kcjin000@gmail.com 

  • Can I ask you a question (EZSDK5.05)?

    I wrote a script about capture-sc-nf-display. Why there is a gray rentangle in the bottom of display?

    #omx omtb_dbg_lvl 0x00
    #omx omtb_dbg_lvl 0x04
    #omx omtb_dbg_lvl 0x08
    #omx omtb_dbg_lvl 0x10
    #omx omtb_dbg_lvl 0x80
    omx api init
    omx setp 0 vfcc compname OMX.TI.VPSSM3.VFCC 
    omx setp 0 tvp compname OMX.TI.VPSSM3.CTRL.TVP
    omx setp 0 nf compname OMX.TI.VPSSM3.VFPC.NF
    omx setp 0 dc insmod_hdmi disable
    #I/P Port or O/P Port Params for VFCC
    omx setp 0 vfcc numoutbuf 6
    omx setp 0 vfcc frame_width 1280
    omx setp 0 vfcc frame_height 720
    omx setp 0 vfcc op_chromat_format 422YUYV
    omx setp 0 vfcc outbufalign 0
    omx setp 0 vfcc outbuf_contig disable
    omx setp 0 vfcc outbufsize 1843200
    omx setp 0 vfcc data_opmode driver
    #omx setp 0 vfcc data_opmode file
    #omx setp 0 vfcc outfile /usr/share/ti/ti-omtb/cap.yuv
    omx setp 0 vfcc outbuf allocate
    omx setp 0 vfcc outbufsize_flag disable
    omx setp 0 vfcc numoutbuf 8
    omx setp 0 vfcc outbuf_contig disable
    
    omx setp 0 nf frame_width 1280
    omx setp 0 nf frame_height 720
    omx setp 0 nf op_chromat_format 420SP
    omx setp 0 nf ip_chromat_format 422YUYV
    omx setp 0 nf numinbuf 8 
    omx setp 0 nf inbufalign 0 
    omx setp 0 nf inbuf_contig disable
    omx setp 0 nf inbufsize_flag enable
    omx setp 0 nf inbufsize 1843200
    omx setp 0 nf numoutbuf 6
    omx setp 0 nf outbufalign 0
    omx setp 0 nf outbuf_contig disable
    omx setp 0 nf outbufsize_flag enable
    omx setp 0 nf outbufsize 1382400
    omx setp 0 nf data_ipmode driver
    omx setp 0 nf data_opmode driver
    omx setp 0 nf inbuf use
    omx setp 0 nf outbuf allocate
    
    omx setp 0 sc frame_width 1280
    omx setp 0 sc frame_height 720
    omx setp 0 sc op_chromat_format 422YUYV
    omx setp 0 sc ip_chromat_format 420SP
    omx setp 0 sc numinbuf 6
    omx setp 0 sc inbufalign 0
    omx setp 0 sc inbuf_contig disable
    omx setp 0 sc inbufsize_flag enable
    omx setp 0 sc inbufsize 1382400
    omx setp 0 sc numoutbuf 8
    omx setp 0 sc outbufalign 0
    omx setp 0 sc outbuf_contig disable
    omx setp 0 sc outbufsize_flag enable
    omx setp 0 sc outbufsize 1843200 
    omx setp 0 sc data_opmode driver
    omx setp 0 sc inbuf use
    
    omx setp 0 vfdc frame_width 1280
    omx setp 0 vfdc frame_height 720
    omx setp 0 vfdc ip_chromat_format 422YUYV
    omx setp 0 vfdc numinbuf 8 
    omx setp 0 vfdc inbufalign 0
    omx setp 0 vfdc inbuf_contig disable
    omx setp 0 vfdc inbufsize 1843200 
    omx setp 0 vfdc inbuf use
    omx setp 0 vfdc graphics_flag disable
    #omx setp 0 vfdc vcdemo_flag enable
    omx setp 0 vfdc mosaic_window_config vs
    omx setp 0 dc insmod_hdmi disable
    omx api gethandle tvp 0 0
    omx api gethandle vfcc 0 0
    omx api gethandle nf 0 0
    omx api gethandle sc 0 0
    omx api gethandle vfdc 0 0
    omx api gethandle dc 0 0
    #SET ALL THE PARAMS FOR TVP
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortID eHwPortId vip1_porta
    omx api setparam tvp 0 0 0 OMX_TI_IndexParamVFCCHwPortID
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties eCaptMode sc_non_mux
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties eVifMode 16_bit
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties eInColorFormat 422YUYV
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties eScanType progressive
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties nMaxWidth 1280
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties nMaxHeight 720
    omx setp 0 tvp OMX_TI_IndexParamVFCCHwPortProperties nMaxChnlsPerHwPort 1
    omx api setparam tvp 0 0 0 OMX_TI_IndexParamVFCCHwPortProperties
    omx setp 0 tvp OMX_TI_IndexParamCTRLVidDecInfo videoStandard 720P60
    omx setp 0 tvp OMX_TI_IndexParamCTRLVidDecInfo videoDecoderId tvp7002
    omx setp 0 tvp OMX_TI_IndexParamCTRLVidDecInfo videoSystemId auto_detect
    omx api setparam tvp 0 0 0 OMX_TI_IndexParamCTRLVidDecInfo
    #************************************************************
    #SET ALL THE PARAMS FOR VFCC
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortID eHwPortId vip1_porta
    omx api setparam vfcc 0 0 0 OMX_TI_IndexParamVFCCHwPortID
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties eCaptMode sc_non_mux
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties eVifMode 16_bit
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties eInColorFormat 422YUYV
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties eScanType progressive
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties nMaxWidth 1280
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties nMaxHeight 720
    omx setp 0 vfcc OMX_TI_IndexParamVFCCHwPortProperties nMaxChnlsPerHwPort 1
    omx api setparam vfcc 0 0 0 OMX_TI_IndexParamVFCCHwPortProperties
    omx setp 0 vfcc OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx api setparam  vfcc 0 0 0  OMX_TI_IndexParamBuffMemType
    omx setp 0 vfcc OMX_IndexParamCompBufferSupplier eBufferSupplier unspecified
    #omx api setparam  vfcc 0 0 0  OMX_IndexParamCompBufferSupplier
    omx setp 0 vfcc OMX_TI_IndexConfigVFCCFrameSkip frameSkipMask 0
    #omx api setconfig  vfcc 0 0 0  OMX_TI_IndexConfigVFCCFrameSkip
    omx setp 0 vfcc OMX_IndexParamVideoInit nPorts 1
    omx setp 0 vfcc OMX_IndexParamVideoInit nStartPortNumber 0
    omx api getparam  vfcc 0 0 0 OMX_IndexParamPortDefinition
    omx setp 0 vfcc OMX_IndexParamPortDefinition video.nStride 2560
    omx setp 0 vfcc OMX_IndexParamPortDefinition nBufferSize 1843200
    omx setp 0 vfcc OMX_IndexParamPortDefinition video.nFrameWidth 1280
    omx setp 0 vfcc OMX_IndexParamPortDefinition video.nFrameHeight 720
    omx api setparam  vfcc 0 0 0 OMX_IndexParamPortDefinition
    #omx api setparam  vfcc 0 0 0  OMX_IndexParamVideoInit
    
    #**********************************************************************************
    
    omx setp 0 nf OMX_TI_IndexParamVFPCNumChPerHandle nNumChannelsPerHandle 1
    omx api setparam nf 0 0 0 OMX_TI_IndexParamVFPCNumChPerHandle
    
    omx setp 0 nf OMX_TI_IndexConfigAlgEnable bAlgBypass enable
    omx setp 0 nf OMX_TI_IndexConfigAlgEnable nChId 0
    omx api setconfig nf 0 0 0 OMX_TI_IndexConfigAlgEnable
    
    omx api getparam  nf 0 0 0 OMX_IndexParamPortDefinition
    
    omx setp 0 nf OMX_TI_IndexConfigSubSamplingFactor nSubSamplingFactor 1
    omx api setconfig nf 0 0 0 OMX_TI_IndexConfigSubSamplingFactor
    
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Width  1280
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Height 720
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Pitch  2560
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Width  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Height 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Pitch  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmStartX  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmStartY  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution eDir input
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution nChId 0
    omx api setconfig nf 0 0 0  OMX_TI_IndexConfigVidChResolution
    
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Width  1280
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Height 720
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm0Pitch  1280
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Width  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Height 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution Frm1Pitch  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmStartX  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmStartY  0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution eDir output
    omx setp 0 nf OMX_TI_IndexConfigVidChResolution nChId 0
    omx api setconfig nf 0 0 16  OMX_TI_IndexConfigVidChResolution
    
    omx setp 0 nf OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx api setparam  nf  0 0 0  OMX_TI_IndexParamBuffMemType
    omx setp 0 nf OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx api setparam  nf  0 0 16  OMX_TI_IndexParamBuffMemType
    omx setp 0 nf OMX_TI_IndexParamCompPortNotifyType eNotifyType always
    omx api setparam  nf  0 0 0  OMX_TI_IndexParamCompPortNotifyType
    omx setp 0 nf OMX_TI_IndexParamCompPortNotifyType eNotifyType always
    omx api setparam  nf  0 0 16  OMX_TI_IndexParamCompPortNotifyType
    
    omx setp 0 nf OMX_IndexParamCompBufferSupplier eBufferSupplier unspecified
    omx setp 0 nf OMX_TI_IndexParamVFPCNumChPerHandle nNumChannelsPerHandle 1
    omx setp 0 nf OMX_IndexParamVideoInit nPorts 2
    omx setp 0 nf OMX_IndexParamVideoInit nStartPortNumber 0
    omx api getparam  nf 0 0 0 OMX_IndexParamPortDefinition
    omx setp 0 nf OMX_IndexParamPortDefinition video.nStride 2560
    omx setp 0 nf OMX_IndexParamPortDefinition nBufferSize 1843200
    omx setp 0 nf OMX_IndexParamPortDefinition video.nFrameWidth 1280
    omx setp 0 nf OMX_IndexParamPortDefinition video.nFrameHeight 720
    omx api setparam  nf 0 0 0 OMX_IndexParamPortDefinition
    
    #**********************************************************************************
    omx api getparam  sc 0 0 0 OMX_IndexParamPortDefinition
    omx setp 0 sc OMX_IndexParamPortDefinition video.nStride 720
    omx api setparam  sc 0 0 0 OMX_IndexParamPortDefinition
    
    omx setp 0 sc OMX_TI_IndexParamVFPCNumChPerHandle nNumChannelsPerHandle 1
    omx api setparam  sc 0 0 0 OMX_TI_IndexParamVFPCNumChPerHandle
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width  1280
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 720
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch  2560
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0 
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir input
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
    omx api setconfig  sc 0 0 0 OMX_TI_IndexConfigVidChResolution
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Width  1280
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Height 720
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm0Pitch  2560
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Width  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Height 0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution Frm1Pitch  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartX  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmStartY  0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropWidth 0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution FrmCropHeight 0
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution eDir output
    omx setp 0 sc OMX_TI_IndexConfigVidChResolution nChId 0
    omx api setconfig  sc 0 0 16 OMX_TI_IndexConfigVidChResolution
    omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx api setparam  sc 0 0 0 OMX_TI_IndexParamBuffMemType
    omx setp 0 sc OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx api setparam  sc 0 0 16 OMX_TI_IndexParamBuffMemType
    omx setp 0 sc OMX_TI_IndexConfigAlgEnable bAlgBypass disable
    omx setp 0 sc OMX_TI_IndexConfigAlgEnable nChId 0
    omx api setconfig sc 0 0 0 OMX_TI_IndexConfigAlgEnable
    omx setp 0 sc OMX_TI_IndexParamCompPortNotifyType eNotifyType always
    omx api setparam sc 0 0 0 OMX_TI_IndexParamCompPortNotifyType
    omx setp 0 sc OMX_TI_IndexParmaCompPortNotifyType eNotifyType always
    omx api setparam sc 0 0 16 OMX_TI_IndexParamCompPortNotifyType
    
    
    omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
    omx setp 0 vfdc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 720p60
    omx api setparam  vfdc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartX 0
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winStartY 0
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winWidth 1280
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout winHeight 720
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_INT_ADDR_IDX 2560
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP_Y_ADDR_IDX 2560
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout pitch.VFDC_YUV_SP_CBCR_ADDR_IDX 2560
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout dataFormat 422I_YUYV
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout bpp bits16
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout priority 0
    omx setp 0 vfdc OMX_TI_IndexParamVFDCCreateMosaicLayout nLayoutId 0
    omx setp 0 vfdc mosaicNumRows 1
    omx setp 0 vfdc mosaicNumCols 1
    omx setp 0 vfdc mosaicDispWindowWidth 1280
    omx setp 0 vfdc mosaicDispWindowHeight 720
    omx api setparam  vfdc 0 0 0 OMX_TI_IndexParamVFDCCreateMosaicLayout
    omx setp 0 vfdc OMX_TI_IndexConfigVFDCMosaicPort2WinMap nLayoutId 0
    omx api setconfig vfdc 0 0 0 OMX_TI_IndexConfigVFDCMosaicPort2WinMap 1 0 
    omx setp 0 vfdc OMX_TI_IndexParamBuffMemType eBufMemoryType default
    omx setp 0 vfdc OMX_IndexParamCompBufferSupplier eBufferSupplier unspecified
    omx setp 0 vfdc OMX_IndexParamVideoInit nPorts 1
    omx setp 0 vfdc OMX_IndexParamVideoInit nStartPortNumber 0
    omx api getparam  vfdc 0 0 0 OMX_IndexParamPortDefinition
    omx setp 0 vfdc OMX_IndexParamPortDefinition video.nStride 2560
    
    omx setp 0 vfdc OMX_IndexParamPortDefinition nBufferSize 1843200
    omx setp 0 vfdc OMX_IndexParamPortDefinition video.nFrameWidth 1280
    omx setp 0 vfdc OMX_IndexParamPortDefinition video.nFrameHeight 720
    
    omx api setparam  vfdc 0 0 0 OMX_IndexParamPortDefinition
    #************************************************************
    #SET ALL THE PARAMS FOR DC#0
    omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId nDrvInstID 0
    omx setp 0 dc OMX_TI_IndexParamVFDCDriverInstId eDispVencMode 720p60
    omx api setparam  dc 0 0 0 OMX_TI_IndexParamVFDCDriverInstId
    omx api sendcommand port vfcc 0 enable 0
    omx api sendcommand port vfcc 0 waitforsem 0
    omx api sendcommand port nf 0 enable 0
    omx api sendcommand port nf 0 waitforsem 0
    omx api sendcommand port nf 0 enable 16
    omx api sendcommand port nf 0 waitforsem 16
    omx api sendcommand port sc 0 enable 0
    omx api sendcommand port sc 0 waitforsem 0
    omx api sendcommand port sc 0 enable 16
    omx api sendcommand port sc 0 waitforsem 16
    omx api sendcommand port vfdc 0 enable 0
    omx api sendcommand port vfdc 0 waitforsem 0
    
    omx api connect vfcc 0 0 nf 0 0
    omx api connect nf 0 16 sc 0 0
    #omx api connect vfcc 0 0 sc 0 0
    omx api connect sc 0 16 vfdc 0 0
    
    omx api sendcommand state vfcc 0 idle
    omx api sendcommand state vfcc 0 waitforsem
    omx api sendcommand state tvp 0 idle
    omx api sendcommand state tvp 0 waitforsem
    omx api sendcommand state nf 0 idle
    omx api sendcommand state nf 0 waitforsem
    omx api sendcommand state sc 0 idle
    omx api sendcommand state sc 0 waitforsem
    omx api sendcommand state dc 0 idle
    omx api sendcommand state dc 0 waitforsem
    omx api sendcommand state vfdc 0 idle
    omx api sendcommand state vfdc 0 waitforsem
    
    omx api sendcommand state dc 0 exec
    omx api sendcommand state dc 0 waitforsem
    omx api sendcommand state vfdc 0 exec
    omx api sendcommand state vfdc 0 waitforsem
    omx api sendcommand state vfcc 0 exec
    omx api sendcommand state vfcc 0 waitforsem
    omx api sendcommand state nf 0 exec
    omx api sendcommand state nf 0 waitforsem
    omx api sendcommand state sc 0 exec
    omx api sendcommand state sc 0 waitforsem
    omx api sendcommand state tvp 0 exec
    omx api sendcommand state tvp 0 waitforsem
    sleep 10000
    omx api sendcommand state vfcc 0 idle
    omx api sendcommand state vfcc 0 waitforsem
    omx api sendcommand state tvp 0 idle
    omx api sendcommand state tvp 0 waitforsem
    omx api sendcommand state nf 0 idle
    omx api sendcommand state nf 0 waitforsem
    omx api sendcommand state sc 0 idle
    omx api sendcommand state sc 0 waitforsem
    omx api sendcommand state dc 0 idle
    omx api sendcommand state dc 0 waitforsem
    omx api sendcommand state vfdc 0 idle
    omx api sendcommand state vfdc 0 waitforsem
    
    omx api sendcommand state vfcc 0 loaded
    omx api sendcommand state vfcc 0 waitforsem
    omx api sendcommand state tvp 0 loaded
    omx api sendcommand state tvp 0 waitforsem
    omx api sendcommand state nf 0 loaded
    omx api sendcommand state nf 0 waitforsem
    omx api sendcommand state sc 0 loaded
    omx api sendcommand state sc 0 waitforsem
    omx api sendcommand state dc 0 loaded
    omx api sendcommand state dc 0 waitforsem
    omx api sendcommand state vfdc 0 loaded
    omx api sendcommand state vfdc 0 waitforsem
    omx api freehandle vfcc 0
    omx api freehandle tvp 0
    omx api freehandle nf 0
    omx api freehandle sc 0
    omx api freehandle dc 0
    omx api freehandle vfdc 0
    omx api uninit