bouffalolab / bouffalo_sdk

BouffaloSDK is the IOT and MCU software development kit provided by the Bouffalo Lab Team, supports all the series of Bouffalo chips. Also it is the combination of bl_mcu_sdk and bl_iot_sdk
Apache License 2.0
349 stars 123 forks source link

Camera, MJPEG, H264 documentation #50

Closed mindstorm38 closed 1 year ago

mindstorm38 commented 1 year ago

Hi!

I feel like there is a little asymmetry in the level of documentation between Reference Manual and SDK, regarding interactions between Camera, MJPEG and H265 modules.

For example, the module that seems responsible for accepting CSI in DVP module (using the CAM_FRONT registers) is not documented, while CAM registers are. In general these modules are implemented and partially documented but lacks of information about interactions between all of them, especially CSI/CAM, CAM/MJPEG with hardware mode. It would be really helpful if these fields were more documented.

Thank you anyway, this is hard but good learning for me :)

gamelaster commented 1 year ago

BL808 have only H264, and drivers are in Sipeed SDK.

mindstorm38 commented 1 year ago

In the root README, MJPEG is marked supported, if it's not the case it should be fixed I think, and H264 isn't in the table (marking it explicitly unsupported would be clearer I think).

sakumisu commented 1 year ago

Mjpeg is supported. and have case in bl702/bl616/bl808, so why it should be fixed?

sakumisu commented 1 year ago

We will not release H264 and CSI in our sdk now, you can refer to sipeed sdk.We only provide common peripherals.

mindstorm38 commented 1 year ago

Mjpeg is supported. and have case in bl702/bl616/bl808, so why it should be fixed?

This was in response to @gamelaster , I thought MJPEG wasn't supported as he said...

We will not release H264 and CSI in our sdk now, you can refer to sipeed sdk.We only provide common peripherals.

Ok, no problem I'll look at their SDK

sakumisu commented 1 year ago

CAM with dvp and mjpeg are supported in BL702/BL616/BL808. If you want to use h264 and csi, just copy drivers from sipeed sdk to mcu sdk, we do not use now so removed them not compile them.

sakumisu commented 1 year ago

Its codestyle needs to be refactored. So i removed them.