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.

Doubts in face detection demo code??

Other Parts Discussed in Thread: TMS320C6748

Dear Sir,

VPIFCaptureFBConfig(SOC_VPIF_0_REGS, VPIF_CHANNEL_0, VPIF_TOP_FIELD,VPIF_LUMA, (unsigned int) buff_luma[0], CAPTURE_IMAGE_WIDTH*2);

In YCbCr there is one luma and 2 chroma (red and blue). Why in the face detection demo code only one chroma buffer is used ??

Why offset is CAPTURE_IMAGE_WIDTH*2?

 

With regards,

AS

  • Hi,

    We are working on this and will let you know the update shortly.

    Thanks & regards,
    Sivaraj K
  • Hi,

    Kindly note that when capturing 10-bit or 12-bit video in the raw capture mode, the offset per line of data is doubled because of bit padding.

    The CAPMODE bit of the C0CTRL and C1CTRL control registers determines what data format will be captured by VPIF.

    For more details, kindly look for raw data capture in the TMS320C6748 TRM (spruh79a) and look for sections below:

    34.2.7 Raw Data Capture

    34.2.15.4 Raw Capture Mode

    http://www.ti.com/lit/ug/spruh79a/spruh79a.pdf

    Thanks & regards,

    Sivaraj K

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

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

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