mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 08:47:28 +01:00
Add some base.rect_ie_u32 methods
This commit is contained in:
1 parent
ff618dd6ae
commit
0aeb589033
12 files changed
+482
-20
No files matched your search
@@ -104,6 +104,20 @@ var Funcs = []string{
|
||||
"u64.max(x u64)(ret u64)",
|
||||
"u64.min(x u64)(ret u64)",
|
||||
|
||||
// ---- rect_ie_u32
|
||||
|
||||
"rect_ie_u32.set_min_inclusive_x!(x u32)()",
|
||||
"rect_ie_u32.set_min_inclusive_y!(y u32)()",
|
||||
"rect_ie_u32.set_max_exclusive_x!(x u32)()",
|
||||
"rect_ie_u32.set_max_exclusive_y!(y u32)()",
|
||||
|
||||
// ---- rect_ii_u32
|
||||
|
||||
"rect_ii_u32.set_min_inclusive_x!(x u32)()",
|
||||
"rect_ii_u32.set_min_inclusive_y!(y u32)()",
|
||||
"rect_ii_u32.set_max_inclusive_x!(x u32)()",
|
||||
"rect_ii_u32.set_max_inclusive_y!(y u32)()",
|
||||
|
||||
// ---- image_buffer
|
||||
|
||||
"image_buffer.plane(p u32[..3])(ret table u8)",
|
||||
|
||||
@@ -482,6 +482,13 @@ const (
|
||||
IDStride = ID(0x217)
|
||||
IDWidth = ID(0x218)
|
||||
IDLinearize = ID(0x219)
|
||||
|
||||
IDSetMaxExclusiveX = ID(0x240)
|
||||
IDSetMaxExclusiveY = ID(0x241)
|
||||
IDSetMaxInclusiveX = ID(0x242)
|
||||
IDSetMaxInclusiveY = ID(0x243)
|
||||
IDSetMinInclusiveX = ID(0x244)
|
||||
IDSetMinInclusiveY = ID(0x245)
|
||||
)
|
||||
|
||||
var builtInsByID = [nBuiltInIDs]string{
|
||||
@@ -692,6 +699,13 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
IDStride: "stride",
|
||||
IDWidth: "width",
|
||||
IDLinearize: "linearize",
|
||||
|
||||
IDSetMaxExclusiveX: "set_max_exclusive_x",
|
||||
IDSetMaxExclusiveY: "set_max_exclusive_y",
|
||||
IDSetMaxInclusiveX: "set_max_inclusive_x",
|
||||
IDSetMaxInclusiveY: "set_max_inclusive_y",
|
||||
IDSetMinInclusiveX: "set_min_inclusive_x",
|
||||
IDSetMinInclusiveY: "set_min_inclusive_y",
|
||||
}
|
||||
|
||||
var builtInsByName = map[string]ID{}
|
||||
|
||||
Reference in new issue
Block a user