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.

C674x - question about BT656 capture

Hi experts.

I have an question about BT656 capturing. Currently,we fails to capture images. there is no interrupt for capture completion.

BTW, input resolution from a camera is 160x240@60fps(8bit, so Y/C muxed, 27Mhz Pixelclock) not NTSC.

I wonder if these format can be captured on C6748. It's BT format including EAV/SAV.

Please see the image below. Following waveform is repeated 60times per second.

We modified facetect.c in c6sdk_02_00_00_00 and tried to interpret the video format as 160x480@30fps(interleaved). 

Soimething strange is EAV2SAV is 1389, oddnumber. but it should be even number. Can this cause a problem?

#define STW_EAV2SAV   1389
#define STW_SAV2EAV   320
#define STW_L1    1
#define STW_L2    1
#define STW_L3    (STW_L2+1) // 2
#define STW_L4    (STW_L2+240) // 241
#define STW_L5    (STW_L4+1) // 242
#define STW_L6    (STW_L4+21) // 262
#define STW_L7    (STW_L6+1) // 263
#define STW_L8    (STW_L6+1) // 263
#define STW_L9    (STW_L8+1) // 264
#define STW_L10    (STW_L8+240) // 503
#define STW_L11    (STW_L10+1) // 504
#define STW_L12    (STW_L10+21) // 524.

 

#define CAPTURE_IMAGE_WIDTH                (160)

  #define CAPTURE_IMAGE_HEIGHT                 (240x2)

 

               C0CFG : FieldFrame = 0, field-based

                VANC = 0, disable

                HANC = 0, disable

                INTFRAME = 2, top and bottom

                YCMUX = 1, Y/C muxed.

                CAPMODE = 0, BT video

                C0IMGOFFSET = 160

 

Thanks,

Devin

  • Hi,

    Thanks for your post.

    According to spec., VPIF supports only NTSC and PAL TV system formats and It supports only HDTV, SDTV, raw capture mode inputs and I don't think, VPIF will support low resolution like 160x480, thereby. I believe this would belong to CIF/QCIF resolution which is not compatible to composite video standards like NTSC & PAL. 

    Please refer Section 34.2.15.1.1, Table 34-5 register parameter configuration on BT.656 input/output for NTSC and PAL in the c6748 TRM as below:

    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

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