Skip to content

samples: drivers: video: capture: Add format config #152159

samples: drivers: video: capture: Add format config

samples: drivers: video: capture: Add format config #152159

Triggered via pull request September 30, 2024 18:04
Status Success
Total duration 2m 28s
Artifacts 1

compliance.yml

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

Annotations

1 error, 1 warning, and 6 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: - " current_pixel_format = %u, current_orientation = %u", - capabilities.x_resolution, capabilities.y_resolution, - capabilities.supported_pixel_formats, capabilities.current_pixel_format, - capabilities.current_orientation); + " current_pixel_format = %u, current_orientation = %u", + capabilities.x_resolution, capabilities.y_resolution, + capabilities.supported_pixel_formats, capabilities.current_pixel_format, + capabilities.current_orientation); File:samples/drivers/video/capture/src/main.c Line:35 You may want to run clang-format on this change: - (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), - (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), - fcap->width_min, fcap->width_max, fcap->width_step, fcap->height_min, - fcap->height_max, fcap->height_step); + (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), + (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), + fcap->width_min, fcap->width_max, fcap->width_step, fcap->height_min, + fcap->height_max, fcap->height_step); File:samples/drivers/video/capture/src/main.c Line:116 You may want to run clang-format on this change: - (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), - (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); + (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), + (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); File:samples/drivers/video/capture/src/main.c Line:143 You may want to run clang-format on this change: - 1.0 * frmival.denominator / frmival.numerator); + 1.0 * frmival.denominator / frmival.numerator); File:samples/drivers/video/capture/src/main.c Line:152 You may want to run clang-format on this change: - fie.stepwise.min.numerator, fie.stepwise.min.denominator, - fie.stepwise.max.numerator, fie.stepwise.max.denominator, - fie.stepwise.step.numerator, fie.stepwise.step.denominator); + fie.stepwise.min.numerator, fie.stepwise.min.denominator, + fie.stepwise.max.numerator, fie.stepwise.max.denominator, + fie.stepwise.step.numerator, fie.stepwise.step.denominator); File:samples/drivers/video/capture/src/main.c Line:165 You may want to run clang-format on this change: - vbuf->timestamp); + vbuf->timestamp); File:samples/drivers/video/capture/src/main.c Line:220
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L35
samples/drivers/video/capture/src/main.c:35 - " current_pixel_format = %u, current_orientation = %u", - capabilities.x_resolution, capabilities.y_resolution, - capabilities.supported_pixel_formats, capabilities.current_pixel_format, - capabilities.current_orientation); + " current_pixel_format = %u, current_orientation = %u", + capabilities.x_resolution, capabilities.y_resolution, + capabilities.supported_pixel_formats, capabilities.current_pixel_format, + capabilities.current_orientation);
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L116
samples/drivers/video/capture/src/main.c:116 - (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), - (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), - fcap->width_min, fcap->width_max, fcap->width_step, fcap->height_min, - fcap->height_max, fcap->height_step); + (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), + (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), + fcap->width_min, fcap->width_max, fcap->width_step, fcap->height_min, + fcap->height_max, fcap->height_step);
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L143
samples/drivers/video/capture/src/main.c:143 - (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), - (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); + (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), + (char)(fmt.pixelformat >> 24), fmt.width, fmt.height);
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L152
samples/drivers/video/capture/src/main.c:152 - 1.0 * frmival.denominator / frmival.numerator); + 1.0 * frmival.denominator / frmival.numerator);
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L165
samples/drivers/video/capture/src/main.c:165 - fie.stepwise.min.numerator, fie.stepwise.min.denominator, - fie.stepwise.max.numerator, fie.stepwise.max.denominator, - fie.stepwise.step.numerator, fie.stepwise.step.denominator); + fie.stepwise.min.numerator, fie.stepwise.min.denominator, + fie.stepwise.max.numerator, fie.stepwise.max.denominator, + fie.stepwise.step.numerator, fie.stepwise.step.denominator);
You may want to run clang-format on this change: samples/drivers/video/capture/src/main.c#L220
samples/drivers/video/capture/src/main.c:220 - vbuf->timestamp); + vbuf->timestamp);

Artifacts

Produced during runtime
Name Size
compliance.xml
1.02 KB