How to get embedded data and transfer to user space?

Hi,

I have a YUV sensor with 1 line embedded data, and preview fine. But I have two problem here:

  1. EMD data is the first line of the frame, where does the EMD stored in vi5
  2. How to get the embedded data to user space ?

Can you give some advise ? Thanks.

hello Luna2020,

there’s chan->emb_buf; to allocates private buffer for embedded data storage.
please refer to VI driver, $public_sources/kernel_src/kernel/nvidia/drivers/media/platform/tegra/camera/vi/vi5_fops.c

Hi JerryChang,

Thanks for your information.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.