I remember we discussed with this, for raw12 data, you need shift by yourself in the memory first, then use SOFTISP convert the data, mx8_v4l2_cap_drm don't support raw data directly in current bsp, but you can refer to the topic as below, how to capture raw data by mx8_v4l2_cap_drm,
yes I mentioned before, the unit test mx8_v4l2_cap_drm.out supports this, you can use the command like
"mx8_v4l2_cap_drm.out -cam 1 -ow xx -oh xx -of", but I don't know if you have already shift the data, otherwise maybe you couldn't get correct image, but the answer is yes
If need shift data that means ISI only support RAW 16bit data,right?
Not support other RAW data,due to need shift data,and does NXP have demo about shift the RAW 12bit data that camera output at real time?
ISI can downsale, you can refer to the unit test linux-test/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c there is an example of this in the function v4l2_setup_dev:
fmt.fmt.pix_mp.pixelformat = video_ch[ch_id].cap_fmt; // sets the output format
fmt.fmt.pix_mp.width = video_ch[ch_id].out_width; // sets the output width
fmt.fmt.pix_mp.height = video_ch[ch_id].out_height; // sets the output height