ipu 代码结构

   路径:<ltib_dir>/rpm/BUILD/linux/drivers/media/video/mxc
文件                                                                    描述
capture/mxc_v4l2_capture.c              V4L2 capture device driver
output/mxc_v4l2_output.c                 V4L2 output device driver
capture/mxc_v4l2_capture.h              Header file for V4L2 capture device driver
output/mxc_v4l2_output.h                 Header file for V4L2 output device driver
capture/ipu_prp_enc.c                        Pre-processing encoder driver
capture/ipu_prp_vf_adc.c                    Pre-processing view finder (asynchronous) driver
capture/ipu_prp_vf_sdc.c                    Pre-processing view finder (synchronous foreground) driver
capture/ipu_prp_vf_sdc_bg.c              Pre-processing view finder (synchronous background) driver
capture/ipu_still.c                                Pre-processing still image capture driver

 

 

i.mx51 摄像头模块加载调试,加载和卸载要按顺序,否则会提示找不到需要的库。

模块加载脚本,保存成ins.sh

#/bin/sh
insmod ipu_csi_enc.ko
insmod ipu_prp_enc.ko
insmod ipu_prp_vf_sdc.ko
insmod ipu_prp_vf_sdc_bg.ko
insmod ipu_still.ko
insmod mxc_v4l2_capture.ko
insmod adv7181_tvin.ko

模块卸载脚本rmm.shs

#/bin/sh
rmmod adv7181_tvin.ko
rmmod mxc_v4l2_capture.ko
rmmod ipu_still.ko
rmmod ipu_prp_vf_sdc_bg.ko
rmmod ipu_prp_vf_sdc.ko
rmmod ipu_prp_enc.ko
rmmod ipu_csi_enc.ko

你可能感兴趣的:(image,header,File,脚本,asynchronous,output)