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] How to capture vga input use tvp7002

Other Parts Discussed in Thread: TVP7002, TVP5158

Hi all

dm8168 evm, boardId:VPS_PLATFORM_BOARD_CATALOG, sdk version: DVRRDK-04.01.00.02

My video input is from my laptop vga output, and resolution is 1280x720.

Capture Link create parameter is :
pCaptureInstPrm = &capturePrm.vipInst[0];
pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;
pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
pCaptureInstPrm->inDataFormat = SYSTEM_DF_RGB24_888;
pCaptureInstPrm->standard = SYSTEM_STD_AUTO_DETECT;
pCaptureInstPrm->videoIfMode = SYSTEM_CAPT_VIDEO_IF_MODE_24BIT;
pCaptureInstPrm->videoCaptureMode = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
pCaptureInstPrm->numOutput = 1;
pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
pCaptureOutPrm->scEnable = TRUE;
pCaptureOutPrm->scOutWidth = 1920;
pCaptureOutPrm->scOutHeight = 1080;
pCaptureOutPrm->outQueId = 0;



The original sdk just initialize TVP7002, doesn't create and control it. So I modify the code the create and control just as
DVRRDK_03.00.00.00 do.
when send message CAPTURE_LINK_CMD_DETECT_VIDEO, print [m3vpss ] 152698: CAPTURE: Detected video at CH [0,0] (3049x1@8928Hz, 0)!!!

  • Hi sivagamy

       thank you for reply!

       I used the configuration of tvp7002_720p60.sh.txt, and create parameters as

    pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;
    pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
    pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
    pCaptureInstPrm->standard = SYSTEM_STD_720P_60;
    pCaptureInstPrm->videoIfMode = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
    pCaptureInstPrm->videoCaptureMode = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
    pCaptureInstPrm->numOutput = 1;

    After run my program ,get error 

    [m3vpss ] Vps_captCreateVip failed
    [m3vpss ] 7584: Assertion @ Line: 1069 in links_m3vpss/capture/captureLink_drv.c: pInst->captureVipHandle != NULL : failed !!!

  • Hi Eric,

     

    upscaling in the capture path is not supported, either disable the scalar by setting scEnable flag to false or down scale the output from 720p to lower resolution.

     

    Regards,

    Brijesh

  • Have you followed all capture configuration instructions in the post?

    enableConfigExtVideoDecoder should be FALSE & videoDecoderId should be 0.

    Also, note that the tvp7002 config scripts shared in the forum post are for EIO daughter card, I am not sure if i2c addresses remain the same for catalog daughter card. You will check these.

    Also, the assertion line num printed in your error log does not match 4.1 release code. Ensure that you dont additional changes in capture link file.

  • Hi Brijesh

       Thank you for reply. 

        I set the scEnable to FALSE, and get message:

              CAPTURE: Overflow detected on VIP0, Total Resets.

        I've tried two type configurations, first is the default configuration value gTvp7002Value720p60EmbSync, and the second is the value given by tvp7002_720p60.sh.txt.

        all will print the Overflow, and when exit the program, print message:

    Enter Choice: [m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
    [m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
    [m3vpss ] ------------------------------------------------------------------------------------------------------------
    [m3vpss ] 000 | 1690 1540 150 29 26 2 1920 / 1920 1080 / 1080 1560 125 0/0 (201/0)
    [m3vpss ] 200 | 14 14 0 0 0 0 1920 / 1920 1080 / 1080 1 13 0/0 (0/0)
    [m3vpss ]
    [m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
    [m3vpss ] VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
    [m3vpss ]
    [m3vpss ] *** Capture List Manager Advanced Statistics ***
    [m3vpss ]
    [m3vpss ] List Post Count : 14701
    [m3vpss ] List Stall Count : 0
    [m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
    [m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 989, 1000)
    [m3vpss ] Descriptor miss found count : 0
    [m3vpss ]

  • Hi sivagamy

        The value enableConfigExtVideoDecoder  was FALSE in my code.  But videoDecoderId I use SYSTEM_DEVICE_VID_DEC_TVP7002_DRV.

         The rdk4.1 default only has SYSTEM_DEVICE_VID_DEC_TVP5158_DRV, I add a new id for TVP7002.

         I modify the link, so the line number is not the same as default.

         And i have a doube about the config script shared in the forum you told me.  The defaut config data given in rdk4.1 for 720p@60 embsync just need to write 27 registers. but in the config script need to write 34 registers. Why?

  • Hi Eric,

     

    It looks like even if you configure the TVP7002 for the 720p60 resolution, it is outputting 1080p resolution. This is because VIP is detecting the input resolution as 1920x1080. So could you please first make sure that the TVP7002 is configured correctly for the 720p resolution?

    What is the input interface for the VIP? Are you configuring it for BT1120 format or it is discrete sync format?

     

    Regards,

    Brijesh

  • Undo your changes to captureLink to add TVP7002 video decoder id . You just have to set correct vlues for captureLink params like standard,video mode etc. Refer the e2e link previously shared where the correct capture configuration is provided. There is no need for any changes in captureLink.

    Also make sure your source is outputting 720P.

  • Hi brijiesh

       Now the 720P@60 can capture correctly.  I config all registers list in the 720p.sh.txt file.  In the last version, I only change the default gTvp7002Value720p60EmbSync . didn't add some registers only exist in file 720p.sh.txt.

       In my program ,will also need 1080I60 and 1080p25. I config all registers list in 1080I.sh.txt, but VIP0 can't detect video.

        

    reg   val
    0x01 0x89
    0x02 0x80
    0x03 0x98
    0x04 0x14
    0x05 0x32 
    0x06 0x20
    0x07 0x2C
    0x0B 0x80 
    0x0C 0x90 
    0x0D 0x80 
    0x0E 0x3F 
    0x0F 0x2E
    0x10 0x5D
    0x11 0x40 
    0x12 0x00
    0x13 0x01 
    0x15 0x47 
    0x16 0x01 
    0x17 0x00 
    0x18 0x01
    0x19 0x00
    0x1A 0x8F 
    0x21 0x35 
    0x22 0x00 
    0x26 0x80 
    0x28 0x53 
    0x2A 0x87 
    0x2B 0x00 
    0x2C 0x80 
    0x2D 0x00 
    0x2E 0x80 
    0x31 0x5A
    0x34 0x09 
    0x3F 0x0F 
    0x40 0x06
    0x41 0x01
    0x42 0x8a
    0x43 0x08
    0x44 0x02
    0x45 0x02
    0x46 0x16
    0x47 0x17
    0x48 0x00
    0x49 0x00
    

  • Hi badri

        my camera can output at three mode: 720p60, 1080i60 ,1080p25. all the three mode need the program can capture success.

       now 720p60 can capture with the configuration shared by other forum post.  but 1080i60 still can't work .

       the captureLink I only add some Vps_printf statements to get some messages.  so the line number is different with default rdk4.1. 

  • Share your captureLink configuration and application logs including logs of Vsys_printDetailedStatistics for 1080i60. Make sure your source is outputting 1080i60.

  • 1、captureLink create parameters

    pCaptureInstPrm = &capturePrm.vipInst[0];
    pCaptureInstPrm->vipInstId = SYSTEM_CAPTURE_INST_VIP0_PORTA;
    pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_TVP7002_DRV;
    pCaptureInstPrm->inDataFormat = SYSTEM_DF_YUV422P;
    pCaptureInstPrm->standard = SYSTEM_STD_1080I_60;
    pCaptureInstPrm->videoIfMode = SYSTEM_CAPT_VIDEO_IF_MODE_16BIT;
    pCaptureInstPrm->videoCaptureMode = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_EMBEDDED_SYNC;
    pCaptureInstPrm->numOutput = 1;
    pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
    pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV420SP_UV;
    pCaptureOutPrm->scEnable = FALSE;
    pCaptureOutPrm->scOutWidth = 1920;
    pCaptureOutPrm->scOutHeight = 1080;
    pCaptureOutPrm->outQueId = 0;



    2、ti\psp\devices\tvp7002\src\vpsdrv_tvp7002I2C.C

    function Vps_tvp7002SetupVideo() add statements for 1080I60:

    if(pPrm->standard == FVID2_STD_1080I_60)
    {
    regAddrList = (UInt8*)&gTvp7002Eric1080i60EmbSyncAddrList[0];
    numRegs = sizeof(gTvp7002Eric1080i60EmbSyncAddrList);
    retVal |= Vps_tvp7002I2cWrite8(
    pObj,
    i2cInstId,
    devAddr,
    regAddrList,
    gTvp7002Eric1080i60EmbSyncValueList,
    numRegs);
    }

    the content of gTvp7002Eric1080i60EmbSyncAddrList and gTvp7002Eric1080i60EmbSyncValueList from 1080i60.sh.txt.

    3、log message

        

    --------------- CHANNEL DETAILS-------------
    Capture Channels => 2
    Enc Channels => Primary 2, Secondary 0
    Disp Channels => 0
    -------------------------------------------
     0: SYSTEM: System Common Init in progress !!!
     0: SYSTEM: IPC init in progress !!!
     11: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
     11: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
     11: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
     11: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
     11: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
     13: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
     15: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
     16: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
     17: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
     18: SYSTEM: Notify register to [DSP] line 0, event 15 ... 
     19: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ... 
     19: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ... 
     20: SYSTEM: IPC init DONE !!!
     21: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
     23: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
     24: SYSTEM: ListElem Shared Addr = 0x406d8680
     25: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
     27: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
     28: SYSTEM: ListElem Shared Addr = 0x4070f480
     30: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
     32: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
     33: SYSTEM: ListElem Shared Addr = 0x40746280
     34: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
     36: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
     38: SYSTEM: ListElem Shared Addr = 0x40789580
     39: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
     41: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
     42: SYSTEM: ListElem Shared Addr = 0x407cc880
     59: SYSTEM: System Common Init Done !!!
    
    Enable RAW Frame Write
    
     Opened file [/home/VID_CH00.yuv] for writing CH0
     62: MCFW  : CPU Revision [ES2.0] !!! 
     Opened file [/home/VID_CH01.yuv] for writing CH1
    
     [host] MCFW_IPCFRAMES:VcapVenc_ipcFramesSendRecvFxn:Entered... [m3vpss ]  8648: CAPTURE: Create in progress !!!
     [m3vpss ]  8677: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! 
     [m3vpss ] Vps_captAllocPath passed
     [m3vpss ] Vps_captCreateChObj passed
     [m3vpss ] Vps_captCreateVip passed
     [m3vpss ] Vps_captCreateQueues passed
     [m3vpss ] Vps_captSubFrameInitArgs passed
     [m3vpss ] Vps_captInitTimeStamp passed
     [m3vpss ] EricDebug:pInst->createStatus.retVal = 0
     [m3vpss ] Vps_tvp7002Lock
     [m3vpss ] Vps_tvp7002Unlock
     [m3vpss ] Vps_tvp7002AllocObj
     [m3vpss ] Vps_tvp7002Create
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_GET_CHIP_ID
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  9258: CAPTURE: VIP 0: VID DEC 1025 (0x5d): 7002:0002:0000
     [m3vpss ]  9258: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! 
     [m3vpss ] Vps_captAllocPath passed
     [m3vpss ] Vps_captCreateChObj passed
     [m3vpss ] Vps_captCreateVip passed
     [m3vpss ] Vps_captCreateQueues passed
     [m3vpss ] Vps_captSubFrameInitArgs passed
     [m3vpss ] Vps_captInitTimeStamp passed
     [m3vpss ] EricDebug:pInst->createStatus.retVal = 0
     [m3vpss ] Vps_tvp7002Lock
     [m3vpss ] Vps_tvp7002Unlock
     [m3vpss ] Vps_tvp7002AllocObj
     [m3vpss ] Vps_tvp7002Create
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_GET_CHIP_ID
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  9918: CAPTURE: VIP 2: VID DEC 1025 (0x5c): 7002:0002:0000
     [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 58 (58)
     [m3vpss ]  UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
     [m3vpss ]  UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
     [m3vpss ]  UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
     [m3vpss ]  UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
     [m3vpss ] CAPTURE::HEAPID:0    USED:584
     [m3vpss ] CAPTURE::HEAPID:4    USED:55468800
     [m3vpss ]  9919: CAPTURE: Create Done !!!
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_SET_VIDEO_MODE
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_SET_VIDEO_MODE
    [HOST] 
    ThreadName:IpcFramesInLink_tskMain_30000016,ThreadID:689
    
     [host] IpcFramesInLink_tskMain:Entered
     [host]  3348: IPC_FRAMES_IN   : Create in progress !!!
    
     [host]  3348: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_19] ...
     3350: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_19] ...
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  11928: MERGE:  0: Format: INTERLACED , 1920 x 540
     [m3vpss ]  11928: MERGE:  1: Format: INTERLACED , 1920 x 1080
     [m3vpss ]  11928: MERGE   : Create Done !!!
     [m3vpss ]  11929: IPC_FRAMES_OUT   : Create in progress !!!
    
     [host]  3353: IPC_FRAMES_IN   : Create Done !!!
    [HOST] 
    ThreadName:IpcFramesInLink_periodicTaskFxn_30000016,ThreadID:696
     [m3vpss ]  11931: IPC_FRAMES_OUT   : Create Done !!!
     [m3vpss ]  11937: CAPTURE: Start in progress !!!
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = FVID2_START
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = FVID2_START
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  12037: CAPTURE: Enabled Time Stamping !!!
     [m3vpss ]  12045: CAPTURE: Enabled Time Stamping !!!
    
     =============
     Run-Time Menu
     =============
    
     1: Capture Settings
     2: Encode  Settings
     3: Decode  Settings
     4: Display Settings
     5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo
     6: Change Playback Channel <valid only if capture/playback is active>
     7: Audio encode demo <File In/Out>
     8: Audio decode demo <File In/Out>
    
     i: Print detailed system information
     s: Core Status: Active/In-active
     f: Switch IVA Channel Map
    
     e: Stop Demo
    
     Enter Choice:  [m3vpss ]  12053: CAPTURE: Start Done !!!
    
     [host] MCFW_IPCFRAMES: Callback function:VcapVenc_ipcFramesInCbFxn
     [host] MCFW_IPCFRAMES:Received first frame notify...
     [host] MCFW_IPCFRAMES:VIDFRAMELIST_INFO:FullFrameList  numFullFrames:1
     [host] MCFW_IPCFRAMES:VIDFRAME_INFO:chNum:0    fid:0   frameWidth:1920 frameHeight:540 timeStamp:3429  virtAddr[0][0]:(nil)    phyAddr[0][0]:0xae810c90i
    
     [host] ch = i,ch = 105
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_GET_VIDEO_STATUS
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  333069: CAPTURE: Detected video at CH [0,0] (800x1125@30Hz, 1)!!!
     [m3vpss ] Vps_tvp7002LockObj
     [m3vpss ] Vps_tvp7002Control,cmd = IOCTL_VPS_VIDEO_DECODER_GET_VIDEO_STATUS
     [m3vpss ] Vps_tvp7002UnlockObj
     [m3vpss ]  333170: CAPTURE: No video detected at CH [1,0] !!!
     
     
     [m3vpss ]  
     [m3vpss ]  *** Capture Driver Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  VIP Parser Reset Count : 0
     [m3vpss ]  
     [m3vpss ]      |   Total    Even     Odd  Total  Even   Odd  Min /  Max  Min /  Max Dropped Fid Repeat Frame Error Y/C
     [m3vpss ]  CH  |  Fields  Fields  Fields    FPS   FPS   FPS       Width      Height  Fields      Count (Desc Error Y/C)
     [m3vpss ]  ------------------------------------------------------------------------------------------------------------
     [m3vpss ]  000 |   19292    9647    9645     60    30    30 1920 / 1920  540 /  540   18303          1 0/0 (0/0)
     [m3vpss ]  200 |      74      74       0      0     0     0 1920 / 1920 1080 / 1080       4         73 0/0 (0/0)
     [m3vpss ]  
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
     [m3vpss ]  
     [m3vpss ]  *** Capture List Manager Advanced Statistics *** 
     [m3vpss ]  
     [m3vpss ]  List Post Count        : 80387 
     [m3vpss ]  List Stall Count       : 0 
     [m3vpss ]  List Post Time (ms)    : Max = 0, Min = 0, Avg = 0, Total = 0 
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 988, 1000) 
     [m3vpss ]  Descriptor miss found count : 0 
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  VIP and VPDMA registers, 
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00000000
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00000000
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00000000
     [m3vpss ]  
     [m3vpss ]  
     [m3vpss ]  333595: CAPTURE: Fields = 1059 (fps = 3, CPU Load = 0)
     [m3vpss ]  333595: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  333595: SYSTEM  : FREE SPACE : System Heap      = 67256 B, Mbx = 10239 msgs) 
     [m3vpss ]  333595: SYSTEM  : FREE SPACE : SR0 Heap         = 8683520 B (8 MB) 
     [m3vpss ]  333596: SYSTEM  : FREE SPACE : Frame Buffer     = 218880128 B (208 MB) 
     [m3vpss ]  333596: SYSTEM  : FREE SPACE : Bitstream Buffer = 147849088 B (140 MB) 
     [m3vpss ]  333596: SYSTEM  : FREE SPACE : Tiler Buffer     = 224 B (0 MB)  - TILER OFF 
     [m3vpss ]  
     [m3vpss ]  342622: LOAD: CPU: 2.6% HWI: 0.3%, SWI:0.7% 
     [m3vpss ]  
     [m3vpss ]  342622: LOAD: TSK: IPC_FRAMES_OUT0     : 0.2% 
     [m3vpss ]  342622: LOAD: TSK: CAPTURE             : 0.2% 
     [m3vpss ]  342622: LOAD: TSK: MISC                : 1.2% 
     [m3vpss ]  
     [m3video]  
     [m3video]  343124: LOAD: CPU: 0.5% HWI: 0.2%, SWI:0.1% 
     [m3video]  
     [m3video]  343124: LOAD: TSK: MISC                : 0.2% 
     [m3video]  
     [c6xdsp ]  
     [c6xdsp ]  343005: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0% 
     [c6xdsp ]  
     [c6xdsp ]  343006: LOAD: TSK: MISC                : 0.2% 
     [c6xdsp ]  
    
    
     *** Encode Bitstream Received Statistics *** 
    
     Elased time =  332.1 secs
    
     CH | Bitrate (Kbps) | FPS | Key-frame FPS | Width (max/min) | Height (max/min) | Latency (max/min)
     --------------------------------------------------------------------------------------------------
    
     [host] 
    
     *** SCD Frame Results Received Statistics *** 
    
     Elased time =  336.1 secs
    
     CH | Bitrate (Kbps) | FPS | Width (max/min) | Height (max/min)
     ----------------------------------------------------------------------------------

    static const UInt8 gTvp7002Eric1080i60EmbSyncAddrList[] = 
    {
    0x01,
    0x02,
    0x03,
    0x04,
    0x05,
    0x06,
    0x07,
    0x0B,
    0x0C,
    0x0D,
    0x0E,
    0x0F,
    0x10,
    0x11,
    0x12,
    0x13,
    0x15,
    0x16,
    0x17,
    0x18,
    0x19,
    0x1A,
    0x21,
    0x22,
    0x26,
    0x28,
    0x2A,
    0x2B,
    0x2C,
    0x2D,
    0x2E,
    0x31,
    0x34,
    0x3F,
    0x40,
    0x41,
    0x42,
    0x43,
    0x44,
    0x45,
    0x46,
    0x47,
    0x48,
    0x49 
    
    };
    
    static const UInt8 gTvp7002Eric1080i60EmbSyncValueList[] = 
    {
    0x89,
    0x80,
    0x98,
    0x14,
    0x32,
    0x20,
    0x2C,
    0x80,
    0x90,
    0x80,
    0x3F,
    0x2E,
    0x5D,
    0x40,
    0x00,
    0x01,
    0x47,
    0x01,
    0x00,
    0x01,
    0x00,
    0x8F,
    0x35,
    0x00,
    0x80,
    0x53,
    0x87,
    0x00,
    0x80,
    0x00,
    0x80,
    0x5A,
    0x09,
    0x0F,
    0x06,
    0x01,
    0x8a,
    0x08,
    0x02,
    0x02,
    0x16,
    0x17,
    0x00,
    0x00 
    };

  • It is correctly capturing frames. What are your link connections ? Looks like one of the links is dropping frames.

    Also why are you modifyin ti\psp\devices\tvp7002\src\vpsdrv_tvp7002I2C.C

    All external video device configuration should be doen from A8 and not from M3.

  • Now can get capture 1080I60 picture.  But I want to use it as progessive, what I should do?

      I use captureLink->dei->ipcFramesOutVpss->ipcFramesInHost(write yuv data to file) to test the capture.

     Also why are you modifyin ti\psp\devices\tvp7002\src\vpsdrv_tvp7002I2C.C

          the registers value for 720p60 and 1080i60 mode used in this file, so i add new config data and new config statement.

       And my program still need a 1080p25 capture.  Can you give me a config file as 720p60.sh.txt. the default config seems can't capture 1080p25.