Thank you very much ! It seems clearer for me to achieve what I want ! but still need some more info
1. Is there any reference that explain how to configure IDI0, to define 2 data identifier values as image data ?
2. Is there any reference that explain how to configure 2 data outputs per CSI2 interface in Pi5 ?(I will try to use v4l2 ioctl to capture the raw directly, not througth the libcamera pipline)
Firstly I would to try #1, to see what will happen, then #2.
Furthermore, IMX477 HDR mode transmits the two exposures interleavedly.
Yesterday I also tried set IMX477's long and short VC IDs as the same and got this kind of stripped output But the img size did not increase as twice as I expected, it seems I only get part of long/short data
And anthor thing I noticed is that in unicam, there is another register unicam register IDI1. I would like to know if it is used to define which CSI data identifier field should be consider as metadata. If so, I think below method may be valuable to try.
1. configure IDI0 as long frame's raw data identifier value and emmbeded meta data identifier value
2. configure IDI1 as short frame's raw data identifier value and emmbeded meta data identifier value
My expectation is that
1. all the long frames data and its meta data will be streamed to /dev/video0
2. all the short frames data and it's meta data will be streamed to /dev/video1
Is this possible ?
1. Is there any reference that explain how to configure IDI0, to define 2 data identifier values as image data ?
2. Is there any reference that explain how to configure 2 data outputs per CSI2 interface in Pi5 ?(I will try to use v4l2 ioctl to capture the raw directly, not througth the libcamera pipline)
Firstly I would to try #1, to see what will happen, then #2.
Furthermore, IMX477 HDR mode transmits the two exposures interleavedly.
Yesterday I also tried set IMX477's long and short VC IDs as the same and got this kind of stripped output But the img size did not increase as twice as I expected, it seems I only get part of long/short data
And anthor thing I noticed is that in unicam, there is another register unicam register IDI1. I would like to know if it is used to define which CSI data identifier field should be consider as metadata. If so, I think below method may be valuable to try.
1. configure IDI0 as long frame's raw data identifier value and emmbeded meta data identifier value
2. configure IDI1 as short frame's raw data identifier value and emmbeded meta data identifier value
My expectation is that
1. all the long frames data and its meta data will be streamed to /dev/video0
2. all the short frames data and it's meta data will be streamed to /dev/video1
Is this possible ?
Statistics: Posted by Zhiyuan — Thu Jan 23, 2025 7:03 am