Skip to content

Commit 6aab755

Browse files
authored
Move restrictions about image buffers to under ze_image_type_t (#100)
Media formats are defined using the layout member, not the format type member Signed-off-by: Lu, Wenbin <[email protected]>
1 parent 2dec183 commit 6aab755

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

scripts/core/image.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (C) 2019-2022 Intel Corporation
2+
# Copyright (C) 2019-2023 Intel Corporation
33
#
44
# SPDX-License-Identifier: MIT
55
#
@@ -173,10 +173,14 @@ name: $x_image_format_t
173173
members:
174174
- type: $x_image_format_layout_t
175175
name: layout
176-
desc: "[in] image format component layout"
176+
desc:
177+
"1.0": "[in] image format component layout"
178+
"1.6": "[in] image format component layout (e.g. N-component layouts and media formats)"
177179
- type: $x_image_format_type_t
178180
name: type
179-
desc: "[in] image format type. Media formats can't be used for $X_IMAGE_TYPE_BUFFER."
181+
desc:
182+
"1.0": "[in] image format type. Media formats can't be used for $X_IMAGE_TYPE_BUFFER."
183+
"1.6": "[in] image format type"
180184
- type: $x_image_format_swizzle_t
181185
name: x
182186
desc: "[in] image component swizzle into channel x"
@@ -204,7 +208,9 @@ members:
204208
default is read-only, cached access.
205209
- type: $x_image_type_t
206210
name: type
207-
desc: "[in] image type"
211+
desc:
212+
"1.0": "[in] image type"
213+
"1.6": "[in] image type. Media format layouts are unsupported for $X_IMAGE_TYPE_BUFFER"
208214
- type: $x_image_format_t
209215
name: format
210216
desc: "[in] image format"

0 commit comments

Comments
 (0)