diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2021-06-18 14:29:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:48 +0200 |
commit | 8865c537037bb30b9e84c91e3386cc926f024f78 (patch) | |
tree | a4e072ef6454504b2266876a395abfb35e93cfd1 /kernel/kexec_file.c | |
parent | e3f60e7e1a2b451f538f9926763432249bcf39c4 (diff) | |
download | linux-8865c537037bb30b9e84c91e3386cc926f024f78.tar.bz2 |
media: uvcvideo: Increase the size of UVC_METADATA_BUF_SIZE
Hans has discovered that in his test device, for the H264 format
bytesused goes up to about 570, for YUYV it will actually go up
to a bit over 5000 bytes, and for MJPG up to about 2706 bytes.
We should also, according to V4L2_META_FMT_UVC docs, drop headers when
the buffer is full.
Credit-to: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'kernel/kexec_file.c')
0 files changed, 0 insertions, 0 deletions