Skip to content

drivers: video: add format utilities to improve usability #154703

drivers: video: add format utilities to improve usability

drivers: video: add format utilities to improve usability #154703

Triggered via pull request October 14, 2024 13:58
Status Success
Total duration 2m 20s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 11s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 9 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: - (fmt)->pixelformat >> 24, (fmt)->width, (fmt)->height + (fmt)->pixelformat >> 24, (fmt)->width, (fmt)->height File:include/zephyr/drivers/video.h Line:56 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_BGGR8 VIDEO_FOURCC('B', 'A', '8', '1') +#define VIDEO_PIX_FMT_BGGR8 VIDEO_FOURCC('B', 'A', '8', '1') File:include/zephyr/drivers/video.h Line:788 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_GBRG8 VIDEO_FOURCC('G', 'B', 'R', 'G') +#define VIDEO_PIX_FMT_GBRG8 VIDEO_FOURCC('G', 'B', 'R', 'G') File:include/zephyr/drivers/video.h Line:797 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_GRBG8 VIDEO_FOURCC('G', 'R', 'B', 'G') +#define VIDEO_PIX_FMT_GRBG8 VIDEO_FOURCC('G', 'R', 'B', 'G') File:include/zephyr/drivers/video.h Line:806 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_RGGB8 VIDEO_FOURCC('R', 'G', 'G', 'B') +#define VIDEO_PIX_FMT_RGGB8 VIDEO_FOURCC('R', 'G', 'G', 'B') File:include/zephyr/drivers/video.h Line:815 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_RGB565 VIDEO_FOURCC('R', 'G', 'B', 'P') +#define VIDEO_PIX_FMT_RGB565 VIDEO_FOURCC('R', 'G', 'B', 'P') File:include/zephyr/drivers/video.h Line:834 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_XRGB32 VIDEO_FOURCC('B', 'X', '2', '4') +#define VIDEO_PIX_FMT_XRGB32 VIDEO_FOURCC('B', 'X', '2', '4') File:include/zephyr/drivers/video.h Line:843 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_YUYV VIDEO_FOURCC('Y', 'U', 'Y', 'V') +#define VIDEO_PIX_FMT_YUYV VIDEO_FOURCC('Y', 'U', 'Y', 'V') File:include/zephyr/drivers/video.h Line:863 You may want to run clang-format on this change: -#define VIDEO_PIX_FMT_XYUV32 VIDEO_FOURCC('X', 'Y', 'U', 'V') +#define VIDEO_PIX_FMT_XYUV32 VIDEO_FOURCC('X', 'Y', 'U', 'V') File:include/zephyr/drivers/video.h Line:872
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L56
include/zephyr/drivers/video.h:56 - (fmt)->pixelformat >> 24, (fmt)->width, (fmt)->height + (fmt)->pixelformat >> 24, (fmt)->width, (fmt)->height
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L788
include/zephyr/drivers/video.h:788 -#define VIDEO_PIX_FMT_BGGR8 VIDEO_FOURCC('B', 'A', '8', '1') +#define VIDEO_PIX_FMT_BGGR8 VIDEO_FOURCC('B', 'A', '8', '1')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L797
include/zephyr/drivers/video.h:797 -#define VIDEO_PIX_FMT_GBRG8 VIDEO_FOURCC('G', 'B', 'R', 'G') +#define VIDEO_PIX_FMT_GBRG8 VIDEO_FOURCC('G', 'B', 'R', 'G')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L806
include/zephyr/drivers/video.h:806 -#define VIDEO_PIX_FMT_GRBG8 VIDEO_FOURCC('G', 'R', 'B', 'G') +#define VIDEO_PIX_FMT_GRBG8 VIDEO_FOURCC('G', 'R', 'B', 'G')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L815
include/zephyr/drivers/video.h:815 -#define VIDEO_PIX_FMT_RGGB8 VIDEO_FOURCC('R', 'G', 'G', 'B') +#define VIDEO_PIX_FMT_RGGB8 VIDEO_FOURCC('R', 'G', 'G', 'B')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L834
include/zephyr/drivers/video.h:834 -#define VIDEO_PIX_FMT_RGB565 VIDEO_FOURCC('R', 'G', 'B', 'P') +#define VIDEO_PIX_FMT_RGB565 VIDEO_FOURCC('R', 'G', 'B', 'P')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L843
include/zephyr/drivers/video.h:843 -#define VIDEO_PIX_FMT_XRGB32 VIDEO_FOURCC('B', 'X', '2', '4') +#define VIDEO_PIX_FMT_XRGB32 VIDEO_FOURCC('B', 'X', '2', '4')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L863
include/zephyr/drivers/video.h:863 -#define VIDEO_PIX_FMT_YUYV VIDEO_FOURCC('Y', 'U', 'Y', 'V') +#define VIDEO_PIX_FMT_YUYV VIDEO_FOURCC('Y', 'U', 'Y', 'V')
You may want to run clang-format on this change: include/zephyr/drivers/video.h#L872
include/zephyr/drivers/video.h:872 -#define VIDEO_PIX_FMT_XYUV32 VIDEO_FOURCC('X', 'Y', 'U', 'V') +#define VIDEO_PIX_FMT_XYUV32 VIDEO_FOURCC('X', 'Y', 'U', 'V')

Artifacts

Produced during runtime
Name Size
compliance.xml
963 Bytes