coda: Add a V4L2 user for control concealed MB (ERR_MB)
To avoid potentially overflowing the kernel logs in the case
of corrupted streams, this commit adds a per-stream counter
and a driver-specific control, which allows applications
to read the per-stream accumulated concealed macroblocks count.
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Showing
- drivers/media/platform/coda/coda-bit.c 1 addition, 3 deletionsdrivers/media/platform/coda/coda-bit.c
- drivers/media/platform/coda/coda-common.c 40 additions, 0 deletionsdrivers/media/platform/coda/coda-common.c
- drivers/media/platform/coda/coda.h 2 additions, 0 deletionsdrivers/media/platform/coda/coda.h
- include/media/drv-intf/coda.h 13 additions, 0 deletionsinclude/media/drv-intf/coda.h
- include/uapi/linux/v4l2-controls.h 4 additions, 0 deletionsinclude/uapi/linux/v4l2-controls.h
Loading
Please register or sign in to comment