-
由 David Plowman 提交于
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- Specifically: Added a structure ov5647_mode and a list of supported_modes (though no actual new modes as yet). The state object points to the "current mode". ov5647_enum_mbus_code, ov5647_enum_frame_size, ov5647_set_fmt and ov5647_get_fmt all needed upgrading to cope with multiple modes. __sensor_init (which writes all the registers) is now called by ov5647_stream_on (once the mode is known) rather than by ov5647_sensor_power. Signed-off-by: NDavid Plowman <david.plowman@raspberrypi.com> Signed-off-by: NNaushir Patuck <naush@raspberrypi.com> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
35c5f8f6