mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-08 09:46:31 +00:00
nxcamera: Add logic to convert to rgb565
Since the current fb display format of vela qemu is rgb565, it is necessary to convert the frame obtained by v4l2 to rgb565 Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
This commit is contained in:
parent
105fd2aac5
commit
4d2fb8a6cf
2 changed files with 98 additions and 18 deletions
|
|
@ -57,6 +57,7 @@ struct nxcamera_s
|
|||
* display device */
|
||||
char displaydev[CONFIG_NAME_MAX]; /* Display framebuffer device */
|
||||
struct fb_planeinfo_s display_pinfo; /* Display plane info */
|
||||
struct fb_videoinfo_s display_vinfo; /* Display video controller info */
|
||||
char videopath[CONFIG_NAME_MAX]; /* Output video file path */
|
||||
char imagepath[CONFIG_NAME_MAX]; /* Output image file path */
|
||||
int crefs; /* Number of references */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue