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 get the BT.656 data

Other Parts Discussed in Thread: TVP5158

I use DM6437 with REC656 as the inputmode of CCDC, I want to get the input data to confirm the format of a frame.

How Can I get the input data of CCDC?

 I read the memory of DDR ,but I cann't find the SAV(FF 00 00 XY)  or EAV.Are the data progressed by CCDC and the SAV,EAV and blanking signal are all throwed out?

  • Hi,

     

    CCDC does not output SAV/EAV codes.  You will have to check it using your active data only.

     

    Thanks,

    Brijesh Jadav

  • Tanl you very very much!

    Do you mean I must insert SAV/EAV into active data? And I set some params of decoder to complish inserting the SAV/EAV into active data? 

    I still have some doubt:

    1、Does CCDC output H/V blanking signal?

    2、How can I get the REC656 data before data are processed by CCDC?

  • When you capture date through the CCDC input the module will remove the sync codes and place only the image data in memory.

    If you really need to capture the sync codes in addition to the image data then you would need to configure the port for raw capture and additionally likely need to use external H & V syncs since the port would then be capturing in raw mode, hence not processing SAV/EAV codes.

    What is the reason you are trying to capture the embedded syncs along with the image data?

    BR,

    Steve

  • Thank you very much for yourhelp!

    Steve Clynes said:

    What is the reason you are trying to capture the embedded syncs along with the image data?

    I use tvp5158 to get the multi-channel data,There are channel ID was inserted into the data following the SAV, so I want to get the SAV.

    I have a question:

    1、" FVID_dequeue ()"always failed,because PAL_osSemTake()  doesn't  return PAL_SOK. What the reason may be?

    2、I find the lib of vpfe doesn't support progressive(FVID_FIELD_MODE) mode for REC656.Does the vpfe can suport the progressive REC656 data? If yes,does vpfe need externel sync signal or embedded syncs?

  • Hi,

     

    I doubt that DM6437 can capture multi channel data from TVP5158. If i remember correctly, we dont configure timing parameters in the CCDC, it always works in detection mode.

     

    1, I think there is a timeout in semTake. If it is not able to capture any frame, dequeue call will block for the time out period and after that, it will return error indicating it could not capture any frame within this time period.

    2, Are saying field based capture instead of frame based capture for the interlaced input? This is not supported in the driver. Driver does support progressive capture and it has been validated with some sensor input.

     

    Thanks,

    Brijesh Jadav

  • Thank you!

    Brijesh Jadav said:

    we dont configure timing parameters in the CCDC, it always works in detection mode.

    Is there other modes beside of detection mode? What are the difference between the modes?Or where can I find the datsheet about the functions of detection mode?