diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-10-11 15:36:43 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-10-12 16:25:39 -0700 |
commit | 2ceeaa24618c3499636182cc9a89265e0d70717f (patch) | |
tree | 21aee17aeceb82b89bc6d403e66c0f4eb038fe36 /tosa.xml | |
parent | 3c5f0e19092de532a97f7e0644d3bcde88310e0d (diff) | |
download | specification-2ceeaa24618c3499636182cc9a89265e0d70717f.tar.gz |
Change RESIZE border attribute to int16_t
The restriction on border limits in the ERROR_IF is
-16 * scale_y_n <= border_y < scale_y_n
and
scale_y_n <= (1 << 11)
Together, these imply
-(1 << 15) < border_y < (1 << 11)
which fits in 16 bits
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I843f29a5efd8ea3fe559d83d33a3280b39bc7068
Diffstat (limited to 'tosa.xml')
-rw-r--r-- | tosa.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1867,7 +1867,7 @@ used.</description> <argument category="attribute" name="offset" type="int16_t*" shape="[2]"> <description>[offset_y, offset_x]</description> </argument> - <argument category="attribute" name="border" type="int32_t*" shape="[2]"> + <argument category="attribute" name="border" type="int16_t*" shape="[2]"> <description>[border_y, border_x]</description> </argument> <argument category="attribute" name="mode" type="mode_t" shape="-"> |