Commit 2b5ebfe
committed
drivers: video: hm01b0 - add missing pieces
Adding some of the missing pieces to the HM01b0 video class.
changed the VIDEO define to match all of the other video drivers
that I have tried:
That is CONFIG_VIDEO_HIMAX_HM01B0 to CONFIG_VIDEO_HM01B0
Added PWDN and RESET pins, to yaml, plus code.
Note: my handling of these two pins is similar to what OpenCV or
was it ME that if the first configuration of the pins
(HIGH versus LOW), it tries all of the combinations until one
works or it completely fails.
Added a few more format sizes: 324x324 to 324x244 164x122
match the spec.
Added BAYER format for the color camera (VIDEO_PIX_FMT_SBGGR8)
Only for Full, and QVGA, as cameras with BAYER filter do
not support the binning mode.
Added 4 data bit support, using new format: VIDEO_PIX_FMT_Y4
Support for hflip/vflip controls.
Added the frmival set/get/enum functions, to allow us better
control of how many frames are generated per second.
Used the reset register enumeration similar to other implementions,
such as Arduino library, Teensy Library, and OpenME
Signed-off-by: Kurt Eckhardt <kurte@rockisland.com>1 parent 8aba2e3 commit 2b5ebfe
File tree
5 files changed
+487
-19
lines changed- drivers/video
- dts/bindings/video
- include/zephyr/drivers
5 files changed
+487
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments