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.

DM8127 Raw data extraction

I'm working with the IPNC DM8127 version 3.0.0.5 and am attempting to enable raw capture and save the capture files to my computer. I have implemented the following changes to the Rules.make file:

# Capture Display Use case
CAPTURE_DISPLAY_MODE_ON := YES

# Set this flag to "YUV" = YUV frames (secondary stream only) will do a round trip M3-A8-M3 to reach the SD display
# Set this flag to "RAW" = RAW frames will be sent to A8 and then back to M3
FRAMES_TO_A8 := RAW

What I'm looking for is a command-line routine that will allow me to set my parameters and capture and save a raw image file to either my computer or the SD card in the camera. Is this kind of option currently available/doable? Thanks.

  • Hi Amber,

    What I'm looking for is a command-line routine that will allow me to set my parameters and capture and save a raw image file to either my computer or the SD card in the camera. Is this kind of option currently available/doable?

    This option is currently not available as part of IPNC RDK. However IPNC RDK integrated the ITT server running on A8 and corresponding ITT task in camera Link, using this function Image tuning tool can send a command to dump and save a RAW file. The sequence is:

    ITT (PC) -> sends CMD-> ITT server (A8)--> sends cmd -> ITT (Task, M3VPSS)--> sends RAW Capture command to ISS drivers

    Once the RAW is captured from ISS drivers its sent to A8 using a memcpy and then sent back to ITT (PC) via the network.

    I think you can use the above code as reference and implement your own command to trigger RAW capture and then receive from M3 or A8.

    # Set this flag to "YUV" = YUV frames (secondary stream only) will do a round trip M3-A8-M3 to reach the SD display
    # Set this flag to "RAW" = RAW frames will be sent to A8 and then back to M3
    FRAMES_TO_A8 := RAW

    The above option actually enables continous stream of RAW to A8 and then back to M3. This is not trigger based and all captured buffers will be sent to A8 as well.

    Regards

    Rajat

  • So in order to change the path of the video data flow, would I have to write a new link chain and recompile the software? Is there a script I could get my hands on to easily accomplish this?

  • If you know the address of the buffer with the video, you can use the console or a program to call mem_rdwr.out (found in /opt/ipnc/bin) to save memory to a file.
    Ex.
    ./mem_rdwr.out --fsave B0800000 2247168 /opt/ipnc/dsp.yuv
    The address in memory is written in HEX notation (without 0x) and the length to be saved is in decimal.
  • Ther other way is, if you have CCS, put break point in capture link, processdata api, in this function, get the frame address and dump complete frame from CCS memory window.

     

    Rgds,

    Brijesh