Petro Karashchenko
d499ac9d58
nuttx: fix multiple 'FAR', 'CODE' and style issues
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2024-08-25 19:22:15 +08:00
shizhenghui
04dfae545c
video/v4l2_cap: fix sign extension
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-08-21 23:29:47 +08:00
shizhenghui
80da796897
video/v4l2_cap: fix no return after checked null
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-06-22 11:50:25 -03:00
shizhenghui
aa451d3740
video/v4l2_cap: fix use after free
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-06-22 11:50:25 -03:00
shizhenghui
47905c9132
video/v4l2_cap: fix dereference before null check
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-06-22 11:50:25 -03:00
shizhenghui
33b539a07d
video/v4l2_cap: fix type overflow
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-06-22 11:50:25 -03:00
Xiang Xiao
81c8f902b6
video: Move video_format_s from video.h to v4l2_cap.c
...
since it is only used in v4l2_cap.c.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-04-14 12:08:30 -03:00
Xiang Xiao
79f834dcbb
video: Make v4l2_ops_s to support the mutilple context
...
which is useful in the m2m usage scenario, by replacing the first
argument of callback from "struct v4l2_ops_s *" to "struct file *"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-03-26 15:21:05 +08:00
Xiang Xiao
efee5f86e8
video_framebuff: Remove the unnecessary vbuf_curr field
...
since vbuf_curr is always equal to vbuf_next
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2024-03-26 15:21:05 +08:00
shizhenghui
fa1b55d297
v4l2-cap: Add FAR to pointer
...
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-03-26 15:21:05 +08:00
yaojingwei
f03a1a14f3
video: move user define mem_ops into imgdata_ops.
...
Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2024-03-26 15:21:05 +08:00
yaojingwei
64aecbcc5c
video: add user define memory ops for v4l2 frame buffers.
...
Signed-off-by: yaojingwei <yaojingwei@xiaomi.com>
2024-03-26 15:21:05 +08:00
shizhenghui
255090d594
Refactor nuttx v4l2
...
Adjust the v4l2 framework to support both capture and v4l2m2m,
and can easily add other v4l2 features.
Signed-off-by: shizhenghui <shizhenghui@xiaomi.com>
2024-03-13 09:51:08 +08:00