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.

How to capture entire global frame in the rawcapture project?

Hello,

I'm working with the rawcapture project contained in the dvsdk_1_01_00_15\psp_1_00_02_00\pspdrivers\system\dm6437\bios\dm6437_evm\src\video\sample\rawcapture. I want to make sure I don't lose any dataIn SPRU977D there's a timing diagram in Figure 3. My question is: how can I ensure all digitized data in a frame is able to be processed? I tried to change the height and width parameters in the PSP_VPFECcdcConfigParams structure, but haven't found a combination that didn't see dropped data.

  • Hi,

    Thanks for your post.

    I think, there is trouble with PSP_VPFE_PACK8_16BITS_PIXEL because which means that the VPFE will effectively have spaces in the image array, that 16 bits is referring to the data width to use in memory for each sample (i.e. a Y or a Cb or a Cr will take up 16 bits each) as opposed to a true pixel. This only really applies to an 8 bit wide interface though, if you have a 16 bit interface to your sensor then this can be ok (of course you would have to change other settings for a 16 bit bus).  

    Have you tried using PSP_VPFE_PACK8_8BITS_PIXEL?

    To clarify further, if your Y values are AA and your Cb values are BB and your Cr values are CC in a PACK8 array you will end up with an array that looks like ...AABBAACCAABBAACCAABBAACC... but with the PACK16 setting you will end up with an array that looks like ...00AA00BB00AA00CC00AA00BB00AA00CC...

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------