Home
last modified time | relevance | path

Searched +full:frame +full:- +full:format (Results 1 – 25 of 158) sorted by relevance

1234567

/Zephyr-latest/samples/drivers/video/capture/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
9 int "Height of the video frame"
12 Height of the video frame. If set to 0, the default height is used.
15 int "Width of the video frame"
18 Width of the video frame. If set to 0, the default width is used.
21 string "Pixel format of the video frame"
23 Pixel format of the video frame. If not set, the default pixel format is used.
26 bool "Mirror the video frame horizontally"
28 If set, mirror the video frame horizontally
DREADME.rst1 .. zephyr:code-sample:: video-capture
3 :relevant-api: video_interface
19 - `Camera iMXRT`_
21 - :zephyr:board:`mimxrt1064_evk`
22 - `MT9M114 camera module`_
24 - :zephyr:board:`mimxrt1170_evk`
25 - `OV5640 camera module`_
48 .. zephyr-app-commands::
49 :zephyr-app: samples/drivers/video/capture
57 .. zephyr-app-commands::
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h10 * SPDX-License-Identifier: Apache-2.0
36 * buffers the size of the video frame
38 #define LINE_COUNT_HEIGHT (-1)
42 * @brief Video format structure
44 * Used to configure frame format.
47 /** FourCC pixel format value (\ref video_pixel_formats) */
49 /** frame width in pixels. */
51 /** frame height in pixels. */
65 * @brief Video format capability
67 * Used to describe a video endpoint format capability.
[all …]
Di2s.h4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Public APIs for the I2S (Inter-IC Sound) bus drivers.
20 * @brief I2S (Inter-IC Sound) Interface
23 * as common non-standard extensions such as PCM Short/Long Frame Sync,
24 * Left/Right Justified Data Format.
39 /** I2S data stream format options */
42 /** Data Format bit field position. */
44 /** Data Format bit field mask. */
47 /** @brief Standard I2S Data Format.
55 * -. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-. .-.
[all …]
Ddisplay.h4 * SPDX-License-Identifier: Apache-2.0
28 #include <zephyr/dt-bindings/display/panel.h>
37 * Display pixel format enumeration.
39 * In case a pixel format consists out of multiple bytes the byte order is
43 PIXEL_FORMAT_RGB_888 = BIT(0), /**< 24-bit RGB */
46 PIXEL_FORMAT_ARGB_8888 = BIT(3), /**< 32-bit ARGB */
47 PIXEL_FORMAT_RGB_565 = BIT(4), /**< 16-bit RGB */
48 PIXEL_FORMAT_BGR_565 = BIT(5), /**< 16-bit BGR */
52 * @brief Bits required per pixel for display format
55 * format. It can be used to allocate a framebuffer based on a given
[all …]
/Zephyr-latest/drivers/display/
DKconfig.stm32_ltdc3 # Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
4 # SPDX-License-Identifier: Apache-2.0
7 bool "STM32 LCD-TFT display controller driver"
14 Enable driver for STM32 LCT-TFT display controller periheral.
19 prompt "Color pixel format"
23 Specify the color pixel format for the STM32 LCD-TFT display controller.
28 One pixel consists of 8-bit alpha, 8-bit red, 8-bit green and 8-bit blue value
34 One pixel consists of 8-bit red, 8-bit green and 8-bit blue value
40 One pixel consists of 5-bit red, 6-bit green and 5-bit blue value
46 int "Frame buffer number"
[all …]
Ddisplay_st7796s.h4 * SPDX-License-Identifier: Apache-2.0
21 #define ST7796S_CMD_COLMOD 0x3A /* Interface pixel format */
22 #define ST7796S_CMD_FRMCTR1 0xB1 /* Frame rate control 1 (normal mode) */
23 #define ST7796S_CMD_FRMCTR2 0xB2 /* Frame rate control 2 (idle mode) */
24 #define ST7796S_CMD_FRMCTR3 0xB3 /* Frame rate control 3 (partial mode) */
/Zephyr-latest/dts/bindings/display/
Dsitronix,st7735r.yaml1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk>
2 # SPDX-License-Identifier: Apache-2.0
8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
11 x-offset:
16 y-offset:
29 description: Interface Pixel Format
32 type: uint8-array
37 type: uint8-array
42 type: uint8-array
47 type: uint8-array
[all …]
Dsitronix,st7796s.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
12 type: uint8-array
15 Frame rate control (partial mode / full colors). The default value should
19 type: uint8-array
22 Frame rate control (idle mode / 8 colors). This property sets the
26 type: uint8-array
29 Frame rate control (partial mode / full colors). This property sets the
33 type: uint8-array
40 type: uint8-array
[all …]
Dilitek,ili9xxx-common.yaml3 # SPDX-License-Identifier: Apache-2.0
7 include: [mipi-dbi-spi-device.yaml, display-controller.yaml]
10 pixel-format:
14 - 0 # RGB565
15 - 1 # RGB888
17 Display pixel format. Note that when RGB888 pixel format is selected
25 - 0
26 - 90
27 - 180
28 - 270
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/spi/
Dspi.h4 * SPDX-License-Identifier: Apache-2.0
20 * Some controllers support half duplex transfer, which results in 3-wire usage.
28 * @name SPI Frame Format
31 * 2 frame formats are exposed: Motorola and TI.
36 * By default, as it is the most commonly used, the Motorola frame format
/Zephyr-latest/doc/hardware/peripherals/can/
Dshell.rst38 For example, building the :zephyr:code-sample:`hello_world` sample for the :zephyr:board:`frdm_k64f…
41 .. zephyr-app-commands::
42 :zephyr-app: samples/hello_world
44 …:gen-args: -DCONFIG_SHELL=y -DCONFIG_CAN=y -DCONFIG_CAN_SHELL=y -DCONFIG_STATS=y -DCONFIG_CAN_STAT…
48 interact with the shell. The CAN shell comes with built-in help (unless
49 :kconfig:option:`CONFIG_SHELL_HELP` is disabled). The built-in help messages can be printed by
50 passing ``-h`` or ``--help`` to the ``can`` command or any of its subcommands. All subcommands also
51 support tab-completion of their arguments.
55 also supports tab-completion. A list of all devices available can be obtained using the ``device
67 .. code-block:: console
[all …]
/Zephyr-latest/samples/drivers/led/led_strip/boards/
Dnucleo_g071rb.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
15 spi-max-frequency = <4000000>;
16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
19 chain-length = <16>; /* arbitrary; change at will */
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dnucleo_h743zi.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
15 spi-max-frequency = <DT_FREQ_M(4)>;
16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
19 chain-length = <16>; /* arbitrary; change at will */
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dnucleo_l476rg.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
11 compatible = "worldsemi,ws2812-spi";
15 spi-max-frequency = <4000000>;
16 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
19 chain-length = <16>; /* arbitrary; change at will */
20 spi-one-frame = <0x70>;
21 spi-zero-frame = <0x40>;
22 color-mapping = <LED_COLOR_ID_GREEN
30 led-strip = &led_strip;
Dnucleo_f070rb.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/led/led.h>
9 #include "../f070rb-bindings.h"
14 dma-names = "tx", "rx";
17 compatible = "everlight,b1414", "worldsemi,ws2812-spi";
21 spi-max-frequency = <B1414_SPI_FREQ>;
22 frame-format = <32768>; /* SPI_FRAME_FORMAT_TI */
25 chain-length = <18>; /* arbitrary; change at will */
26 spi-one-frame = <B1414_ONE_FRAME>;
27 spi-zero-frame = <B1414_ZERO_FRAME>;
[all …]
/Zephyr-latest/dts/bindings/spi/
Dspi-device.yaml1 # Copyright (c) 2018, I-SENSE group of ICCS
2 # SPDX-License-Identifier: Apache-2.0
8 on-bus: spi
13 spi-max-frequency:
24 list (see dt-bindings/spi/spi.h)
28 - 0
29 - 2048
30 frame-format:
34 Motorola or TI frame format. By default it's always Motorola's,
35 thus 0 as this is, by far, the most common format.
[all …]
/Zephyr-latest/modules/lz4/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
20 cost of speed, due to cache locality. Memory usage 2^value (10 -> 1KB,
21 12 -> 4KB, 20 -> 1MB).
49 also compresses data using the lz4 block format.
75 bool "LZ4 frame support"
80 utility, it's necessary to use the official interoperable frame format.
81 This format is generated and decoded automatically by the lz4frame library.
/Zephyr-latest/samples/drivers/video/capture/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/drivers/video-controls.h>
33 LOG_INF("Display device: %s", display_dev->name); in display_setup()
37 LOG_INF("- Capabilities:"); in display_setup()
44 /* Set display pixel format to match the one in use by the camera */ in display_setup()
57 return -ENOTSUP; in display_setup()
61 LOG_ERR("Unable to set display format"); in display_setup()
73 .buf_size = vbuf->bytesused, in video_display_frame()
76 .height = vbuf->bytesused / fmt.pitch, in video_display_frame()
79 display_write(display_dev, 0, vbuf->line_offset, &buf_desc, vbuf->buffer); in video_display_frame()
[all …]
/Zephyr-latest/tests/drivers/video/api/src/
Dvideo_emul.c4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/drivers/video-controls.h>
79 struct video_frmival_enum fie = {.format = &fmt}; in ZTEST()
81 /* Pick the current format for testing the frame interval enumeration */ in ZTEST()
84 /* Do a first enumeration of frame intervals, expected to work */ in ZTEST()
88 /* Test that every value of the frame interval enumerator can be applied */ in ZTEST()
93 zexpect_equal_ptr(fie.format, &fmt, "the format should not be changed"); in ZTEST()
110 /* Test every supported frame interval */ in ZTEST()
118 /* There is just one frame interval to test */ in ZTEST()
149 /* Get a list of supported format */ in ZTEST()
[all …]
/Zephyr-latest/doc/services/device_mgmt/
Dsmp_transport.rst17 - **Service UUID**: ``8D53DC1D-1DB7-4CD3-868B-8A527460AA84``
18 - **Characteristic UUID**: ``DA2E7828-FBCE-4E01-AE9E-261174997C48``
38 prefixing each frame with two byte marker and terminating it with newline.
39 Currently MCUmgr imposes a 127 byte limit on frame size, although there
48 Frame fragmenting
52 frame consists of two byte start marker, body and terminating newline
55 There are four types of types of frames: initial, partial, partial-final
56 and initial-final; each frame type differs by start marker and/or body
59 Frame formats
60 -------------
[all …]
/Zephyr-latest/modules/lvgl/
DKconfig3 # SPDX-License-Identifier: Apache-2.0
98 renders the next LVGL frame. Can be disabled if the performance
111 default -1
118 int "Frame X alignment size"
122 the current frame dimensions to meet display and/or LCD host
126 int "Frame Y alignment size"
130 the current frame dimensions to meet display and/or LCD host
138 This can be useful to disable if you need to change a display's pixel format
/Zephyr-latest/doc/services/profiling/
Dperf.rst1 .. _profiling-perf:
14 The Zephyr core saves the return address and frame pointer in the interrupt stack or ``callee_saved…
16 using the return address and frame pointer.
20 format expected by `FlameGraph`_.
36 Refer to the :zephyr:code-sample:`profiling-perf` sample for an example of how to use the perf tool.
/Zephyr-latest/arch/xtensa/core/
DREADME_WINDOWS.rst13 visible as A0-A15.
15 The first quad (A0-A3) is pointed to by a special register called
18 (respectively) A0-A3, A4-A7, A8-A11, and A12-A15.
30 (yes, two; see below): the 2-bit CALLINC field of the PS register, and
35 pointer in A1 into the "new" A1 in the rotated frame, subtracting an
36 immediate offset from it to make space for the new frame.
44 return value format and is used immediately, so it makes more sense
56 each call frame that is live in hardware registers, and it will be
58 quads of registers) that frame is.
61 being brought into A0-A3 (i.e. the new WINDOWBASE) has a set bit
[all …]
/Zephyr-latest/samples/subsys/logging/syst/
DREADME.rst3 MIPI Sys-T Logging Sample
14 This project outputs a few sample log messages in MIPI Sys-T format.
15 These Sys-T messages can be interpreted by a utility in
16 :file:`<workspace>/modules/debug/mipi-sys-t/printer/`.
18 Build the Sys-T Message Parser
21 .. code-block:: console
23 cd <workspace>/modules/debug/mipi-sys-t/printer/
30 :file:`<workspace>/modules/debug/mipi-sys-t/printer/build`.
32 MIPI Sys-T Text Messages
35 The Sys-T text messages are self contained strings that do not
[all …]

1234567