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.

OMAP L138 RAW RGB Capture Capability

Other Parts Discussed in Thread: OMAPL138

Hi,
My application is basically a video streaming project. I choose OmniVision OV6946+OV420 as the CMOS camera + video A/D converter. Since the output from the A/D converter is only a 12bit RAW RGB data, I need to convert it into either RGB565 or YCbCr(4:2:2). In fact I found that the OMAP L138 's VPIF has the capability to capture raw image, but there is no information related to the colour interpolation/democaication capability of the VPIF, please correct me if I'm wrong. So my question is...is it possible to convert the captured RAW RGB to either RGB656/YCbCr(422) using the VPIF with less processor ahead?

  • Hi Rafeeq,

    Rafeeq said:
    is it possible to convert the captured RAW RGB to either RGB656/YCbCr(422) using the VPIF with less processor ahead?

    As per the OMAPl138 TRM,

    The following functions are not supported:


    No support of color space conversion from RGB to YCbCr.

    • No CFA interpolation for each raw data pattern (such as Bayer or Foveon).

    • No push-storage function on non-byte aligned data format (10 bits/pixel and 12 bits/pixel). Data should
    be stored in memory in byte-aligned format.

    For more details, please refer to section 36.2.7 of OMAPL138 TRM.

  • Hi Rafeeq,

    In software, there is some conversion code available for "cbcr422sp_to_rgb565_dsp.c".
    So, I would recommend you to install and check the package, "c6sdk_02_00_00_00" and run the face detect demo.

    After installing "c6sdk_02_00_00_00" , that source file will be located at ~\ti\c6sdk_02_00_00_00\demos\facedetect\src.
    Please do a code walk through and check whether it will be helpful for your requirement.