Zephyr API
4.5.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
mpipe_dispatch.h
Go to the documentation of this file.
1
/*
2
* Copyright 2025-2026 NXP
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_MPIPE_MPIPE_DISPATCH_H_
14
#define ZEPHYR_INCLUDE_MPIPE_MPIPE_DISPATCH_H_
15
45
46
#include <
zephyr/mpipe/mpipe_buffer.h
>
47
#include <
zephyr/mpipe/mpipe_structure.h
>
48
52
enum
mpipe_dispatch_type
{
53
MPIPE_DISPATCH_UNKNOWN
= 0,
54
MPIPE_DISPATCH_EOS
,
55
MPIPE_DISPATCH_CAPS
,
56
MPIPE_DISPATCH_BUFFER_POOL
,
57
MPIPE_DISPATCH_END
=
UINT8_MAX
,
58
};
59
75
struct
mpipe_dispatch
{
77
uint8_t
type
;
101
struct
mpipe_structure
*
caps
;
103
struct
mpipe_buffer_pool
*
pool
;
105
struct
mpipe_buffer_pool_config
pool_cfg
;
106
};
107
109
110
#endif
/* ZEPHYR_INCLUDE_MPIPE_MPIPE_DISPATCH_H_ */
mpipe_dispatch_type
mpipe_dispatch_type
Supported dispatch types.
Definition
mpipe_dispatch.h:52
MPIPE_DISPATCH_CAPS
@ MPIPE_DISPATCH_CAPS
Capability, a query or an event.
Definition
mpipe_dispatch.h:55
MPIPE_DISPATCH_END
@ MPIPE_DISPATCH_END
Maximum dispatch type identifier.
Definition
mpipe_dispatch.h:57
MPIPE_DISPATCH_EOS
@ MPIPE_DISPATCH_EOS
End of stream, an event.
Definition
mpipe_dispatch.h:54
MPIPE_DISPATCH_UNKNOWN
@ MPIPE_DISPATCH_UNKNOWN
Uninitialized dispatch.
Definition
mpipe_dispatch.h:53
MPIPE_DISPATCH_BUFFER_POOL
@ MPIPE_DISPATCH_BUFFER_POOL
Buffer pool, a query.
Definition
mpipe_dispatch.h:56
mpipe_buffer.h
Buffer and buffer pool APIs.
mpipe_structure.h
Structure: one media capability, held by value.
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
UINT8_MAX
#define UINT8_MAX
Definition
stdint.h:27
mpipe_buffer_pool_config
Buffer pool config structure.
Definition
mpipe_buffer.h:59
mpipe_buffer_pool
Buffer pool structure.
Definition
mpipe_buffer.h:75
mpipe_dispatch
A query or an event traveling a pad link.
Definition
mpipe_dispatch.h:75
mpipe_dispatch::pool
struct mpipe_buffer_pool * pool
Buffer pool its proposer makes available (not owned).
Definition
mpipe_dispatch.h:103
mpipe_dispatch::type
uint8_t type
Dispatch type from mpipe_dispatch_type.
Definition
mpipe_dispatch.h:77
mpipe_dispatch::caps
struct mpipe_structure * caps
The capability carried, or NULL when the dispatch carries none.
Definition
mpipe_dispatch.h:101
mpipe_dispatch::pool_cfg
struct mpipe_buffer_pool_config pool_cfg
A pool config proposed without a pool, negotiated by value.
Definition
mpipe_dispatch.h:105
mpipe_structure
Fixed-size container holding the fields of one capability.
Definition
mpipe_structure.h:165
zephyr
mpipe
mpipe_dispatch.h
Generated on
for Zephyr API by
1.17.0