Bouffalo SDK
1.0
Bouffalolab Software Development Kit
|
#include "bflb_core.h"
Go to the source code of this file.
Data Structures | |
struct | bflb_cam_config_s |
CAM configuration structure. More... | |
Functions | |
void | bflb_cam_init (struct bflb_device_s *dev, const struct bflb_cam_config_s *config) |
Initialize cam. More... | |
void | bflb_cam_start (struct bflb_device_s *dev) |
Enable cam. More... | |
void | bflb_cam_stop (struct bflb_device_s *dev) |
Disable cam. More... | |
void | bflb_cam_int_mask (struct bflb_device_s *dev, uint32_t int_type, bool mask) |
Mask or unmask cam interrupt. More... | |
void | bflb_cam_int_clear (struct bflb_device_s *dev, uint32_t int_type) |
Clear cam interrupt. More... | |
void | bflb_cam_crop_vsync (struct bflb_device_s *dev, uint16_t start_line, uint16_t end_line) |
Crop vsync. More... | |
void | bflb_cam_crop_hsync (struct bflb_device_s *dev, uint16_t start_pixel, uint16_t end_pixel) |
Crop hsync. More... | |
void | bflb_cam_pop_one_frame (struct bflb_device_s *dev) |
Pop one frame. More... | |
void | bflb_cam_swap_input_yu_order (struct bflb_device_s *dev, bool enable) |
Swap input order of y and uv. More... | |
void | bflb_cam_filter_frame_period (struct bflb_device_s *dev, uint8_t frame_count, uint32_t frame_valid) |
Set frame filter, if frame_count = 3, frame_valid = 101b, second frame will be dropped every 3 frames. More... | |
uint8_t | bflb_cam_get_frame_count (struct bflb_device_s *dev) |
Get frame count. More... | |
uint32_t | bflb_cam_get_frame_info (struct bflb_device_s *dev, uint8_t **pic) |
Get frame information. More... | |
uint32_t | bflb_cam_get_intstatus (struct bflb_device_s *dev) |
Get interrupt status. More... | |
int | bflb_cam_feature_control (struct bflb_device_s *dev, int cmd, size_t arg) |
Control cam feature. More... | |