@mediapipe/tasks-vision 0.1.0-alpha-2 → 0.1.0-alpha-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +95 -0
- package/package.json +1 -1
- package/vision.d.ts +136 -0
- package/vision_bundle.js +1 -1
- package/wasm/vision_wasm_internal.js +277 -221
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +277 -221
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
// Build 507782677
|
|
1
2
|
|
|
2
3
|
var ModuleFactory = (() => {
|
|
3
4
|
var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined;
|
|
@@ -49,18 +50,15 @@ function logExceptionOnExit(e) {
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
if (ENVIRONMENT_IS_NODE) {
|
|
53
|
+
var fs = require("fs");
|
|
54
|
+
var nodePath = require("path");
|
|
52
55
|
if (ENVIRONMENT_IS_WORKER) {
|
|
53
|
-
scriptDirectory =
|
|
56
|
+
scriptDirectory = nodePath.dirname(scriptDirectory) + "/";
|
|
54
57
|
} else {
|
|
55
58
|
scriptDirectory = __dirname + "/";
|
|
56
59
|
}
|
|
57
|
-
var fs, nodePath;
|
|
58
|
-
if (typeof require === "function") {
|
|
59
|
-
fs = require("fs");
|
|
60
|
-
nodePath = require("path");
|
|
61
|
-
}
|
|
62
60
|
read_ = (filename, binary) => {
|
|
63
|
-
filename = nodePath
|
|
61
|
+
filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
|
|
64
62
|
return fs.readFileSync(filename, binary ? undefined : "utf8");
|
|
65
63
|
};
|
|
66
64
|
readBinary = filename => {
|
|
@@ -71,7 +69,7 @@ if (ENVIRONMENT_IS_NODE) {
|
|
|
71
69
|
return ret;
|
|
72
70
|
};
|
|
73
71
|
readAsync = (filename, onload, onerror) => {
|
|
74
|
-
filename = nodePath
|
|
72
|
+
filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename);
|
|
75
73
|
fs.readFile(filename, function(err, data) {
|
|
76
74
|
if (err) onerror(err); else onload(data.buffer);
|
|
77
75
|
});
|
|
@@ -388,10 +386,8 @@ function removeRunDependency(id) {
|
|
|
388
386
|
}
|
|
389
387
|
|
|
390
388
|
function abort(what) {
|
|
391
|
-
{
|
|
392
|
-
|
|
393
|
-
Module["onAbort"](what);
|
|
394
|
-
}
|
|
389
|
+
if (Module["onAbort"]) {
|
|
390
|
+
Module["onAbort"](what);
|
|
395
391
|
}
|
|
396
392
|
what = "Aborted(" + what + ")";
|
|
397
393
|
err(what);
|
|
@@ -470,10 +466,10 @@ function createWasm() {
|
|
|
470
466
|
function receiveInstance(instance, module) {
|
|
471
467
|
var exports = instance.exports;
|
|
472
468
|
Module["asm"] = exports;
|
|
473
|
-
wasmMemory = Module["asm"]["
|
|
469
|
+
wasmMemory = Module["asm"]["Yc"];
|
|
474
470
|
updateGlobalBufferAndViews(wasmMemory.buffer);
|
|
475
|
-
wasmTable = Module["asm"]["
|
|
476
|
-
addOnInit(Module["asm"]["
|
|
471
|
+
wasmTable = Module["asm"]["_c"];
|
|
472
|
+
addOnInit(Module["asm"]["Zc"]);
|
|
477
473
|
removeRunDependency("wasm-instantiate");
|
|
478
474
|
}
|
|
479
475
|
addRunDependency("wasm-instantiate");
|
|
@@ -524,12 +520,12 @@ var tempDouble;
|
|
|
524
520
|
var tempI64;
|
|
525
521
|
|
|
526
522
|
var ASM_CONSTS = {
|
|
527
|
-
|
|
523
|
+
917927: $0 => {
|
|
528
524
|
const canvas = Emval.toValue($0);
|
|
529
525
|
const context = canvas.getContext("webgpu");
|
|
530
526
|
return JsValStore.add(context.getCurrentTexture());
|
|
531
527
|
},
|
|
532
|
-
|
|
528
|
+
918062: ($0, $1, $2, $3, $4) => {
|
|
533
529
|
const drawable = Emval.toValue($0);
|
|
534
530
|
const device = JsValStore.get($1);
|
|
535
531
|
const texture = JsValStore.get($2);
|
|
@@ -541,7 +537,7 @@ var ASM_CONSTS = {
|
|
|
541
537
|
texture: texture
|
|
542
538
|
}, [ width, height ]);
|
|
543
539
|
},
|
|
544
|
-
|
|
540
|
+
918313: ($0, $1, $2, $3) => {
|
|
545
541
|
const sourceExtTex = Emval.toValue($0);
|
|
546
542
|
const device = JsValStore.get($1);
|
|
547
543
|
const sampler = JsValStore.get($2);
|
|
@@ -558,30 +554,30 @@ var ASM_CONSTS = {
|
|
|
558
554
|
});
|
|
559
555
|
return JsValStore.add(bindGroup);
|
|
560
556
|
},
|
|
561
|
-
|
|
557
|
+
918661: ($0, $1) => {
|
|
562
558
|
const inputArray = Emval.toValue($0);
|
|
563
559
|
const output = Emval.toValue($1);
|
|
564
560
|
const ctx = output.getContext("2d");
|
|
565
561
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
566
562
|
ctx.putImageData(image_data, 0, 0);
|
|
567
563
|
},
|
|
568
|
-
|
|
564
|
+
918885: ($0, $1) => {
|
|
569
565
|
const input = Emval.toValue($0);
|
|
570
566
|
const outputArray = Emval.toValue($1);
|
|
571
567
|
const ctx = input.getContext("2d");
|
|
572
568
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
573
569
|
outputArray.set(data.data);
|
|
574
570
|
},
|
|
575
|
-
|
|
571
|
+
919089: ($0, $1) => {
|
|
576
572
|
const input = Emval.toValue($0);
|
|
577
573
|
const output = Emval.toValue($1);
|
|
578
574
|
const ctx = output.getContext("2d");
|
|
579
575
|
ctx.drawImage(input, 0, 0);
|
|
580
576
|
},
|
|
581
|
-
|
|
577
|
+
919225: () => {
|
|
582
578
|
return !!Module["preinitializedWebGPUDevice"];
|
|
583
579
|
},
|
|
584
|
-
|
|
580
|
+
919276: () => {
|
|
585
581
|
let init_once = true;
|
|
586
582
|
if (init_once) {
|
|
587
583
|
const cachedFindCanvasEventTarget = findCanvasEventTarget;
|
|
@@ -607,85 +603,119 @@ var ASM_CONSTS = {
|
|
|
607
603
|
init_once = false;
|
|
608
604
|
}
|
|
609
605
|
},
|
|
610
|
-
|
|
606
|
+
920061: () => {
|
|
611
607
|
return typeof wasmOffsetConverter !== "undefined";
|
|
612
608
|
}
|
|
613
609
|
};
|
|
614
610
|
|
|
615
|
-
function
|
|
616
|
-
if (!Module.
|
|
617
|
-
Module.
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
}
|
|
611
|
+
function JsWrapImageConverter() {
|
|
612
|
+
if (!Module._imageConverter) {
|
|
613
|
+
Module._imageConverter = (binaryPtr, binarySize, width, height, makeDeepCopy, outputType) => {
|
|
614
|
+
const imageData = new outputType(makeDeepCopy ? Module.HEAPU8.slice(binaryPtr, binaryPtr + binarySize).buffer : Module.HEAPU8.buffer, binaryPtr, width * height);
|
|
615
|
+
return {
|
|
616
|
+
data: imageData,
|
|
617
|
+
width: width,
|
|
618
|
+
height: height
|
|
619
|
+
};
|
|
624
620
|
};
|
|
625
621
|
}
|
|
626
622
|
}
|
|
627
623
|
|
|
628
|
-
function
|
|
629
|
-
Module.
|
|
624
|
+
function JsOnUint8ImageListener(output_stream_name, binary_ptr, binary_size, width, height, make_deep_copy, timestamp_ms) {
|
|
625
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy, Uint8Array);
|
|
626
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
function JsOnFloat32ImageListener(output_stream_name, binary_ptr, binary_size, width, height, make_deep_copy, timestamp_ms) {
|
|
630
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy, Float32Array);
|
|
631
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, timestamp_ms);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
function JsOnUint8ImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, make_deep_copy, index, length, timestamp_ms) {
|
|
635
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy, Uint8Array);
|
|
636
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, index, length, timestamp_ms);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
function JsOnFloat32ImageVectorListener(output_stream_name, binary_ptr, binary_size, width, height, make_deep_copy, index, length, timestamp_ms) {
|
|
640
|
+
const image = Module._imageConverter(binary_ptr, binary_size, width, height, make_deep_copy, Float32Array);
|
|
641
|
+
Module._wrapSimpleListenerOutput(output_stream_name, image, index, length, timestamp_ms);
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
function JsOnEmptyPacketListener(output_stream_name, timestamp) {
|
|
645
|
+
Module._wrapEmptyPacketListenerOutput(output_stream_name, timestamp);
|
|
630
646
|
}
|
|
631
647
|
|
|
632
|
-
function
|
|
633
|
-
Module.
|
|
648
|
+
function JsOnSimpleListenerBool(output_stream_name, out_data, timestamp) {
|
|
649
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
634
650
|
}
|
|
635
651
|
|
|
636
|
-
function
|
|
637
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
652
|
+
function JsOnVectorListenerBool(output_stream_name, out_data, index, length, timestamp) {
|
|
653
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
638
654
|
}
|
|
639
655
|
|
|
640
|
-
function
|
|
641
|
-
Module.
|
|
656
|
+
function JsOnSimpleListenerInt(output_stream_name, out_data, timestamp) {
|
|
657
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
642
658
|
}
|
|
643
659
|
|
|
644
|
-
function
|
|
645
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
660
|
+
function JsOnVectorListenerInt(output_stream_name, out_data, index, length, timestamp) {
|
|
661
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
646
662
|
}
|
|
647
663
|
|
|
648
|
-
function
|
|
649
|
-
Module.
|
|
664
|
+
function JsOnSimpleListenerDouble(output_stream_name, out_data, timestamp) {
|
|
665
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
650
666
|
}
|
|
651
667
|
|
|
652
|
-
function
|
|
653
|
-
Module._wrapSimpleListenerOutput(output_stream_name, out_data);
|
|
668
|
+
function JsOnVectorListenerDouble(output_stream_name, out_data, index, length, timestamp) {
|
|
669
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
654
670
|
}
|
|
655
671
|
|
|
656
|
-
function
|
|
657
|
-
Module.
|
|
672
|
+
function JsOnSimpleListenerFloat(output_stream_name, out_data, timestamp) {
|
|
673
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, timestamp);
|
|
658
674
|
}
|
|
659
675
|
|
|
660
|
-
function
|
|
661
|
-
Module._wrapSimpleListenerOutput(output_stream_name,
|
|
676
|
+
function JsOnVectorListenerFloat(output_stream_name, out_data, index, length, timestamp) {
|
|
677
|
+
Module._wrapSimpleListenerOutput(output_stream_name, out_data, index, length, timestamp);
|
|
662
678
|
}
|
|
663
679
|
|
|
664
|
-
function
|
|
665
|
-
Module.
|
|
680
|
+
function JsOnSimpleListenerString(output_stream_name, out_data, timestamp) {
|
|
681
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), timestamp);
|
|
666
682
|
}
|
|
667
683
|
|
|
668
|
-
function
|
|
684
|
+
function JsOnVectorListenerString(output_stream_name, out_data, index, length, timestamp) {
|
|
685
|
+
Module._wrapSimpleListenerOutput(output_stream_name, UTF8ToString(out_data), index, length, timestamp);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
function JsOnVectorListenerProto(output_stream_name, proto_ptr, proto_size, make_deep_copy, index, length, timestamp) {
|
|
669
689
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(proto_ptr, proto_ptr + proto_size) : new Uint8Array(Module.HEAPU8.buffer, proto_ptr, proto_size);
|
|
670
|
-
Module.
|
|
690
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, index, length, timestamp);
|
|
671
691
|
}
|
|
672
692
|
|
|
673
693
|
function JsWrapSimpleListeners() {
|
|
674
694
|
if (!Module._wrapSimpleListenerOutput) {
|
|
675
|
-
Module._wrapSimpleListenerOutput = (outputStreamName,
|
|
695
|
+
Module._wrapSimpleListenerOutput = (outputStreamName, ...args) => {
|
|
676
696
|
if (Module.simpleListeners) {
|
|
677
697
|
const streamName = UTF8ToString(outputStreamName);
|
|
678
698
|
if (Module.simpleListeners[streamName]) {
|
|
679
|
-
Module.simpleListeners[streamName](
|
|
699
|
+
Module.simpleListeners[streamName](...args);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
}
|
|
704
|
+
if (!Module._wrapEmptyPacketListenerOutput) {
|
|
705
|
+
Module._wrapEmptyPacketListenerOutput = (outputStreamName, timestamp) => {
|
|
706
|
+
if (Module.emptyPacketListeners) {
|
|
707
|
+
const streamName = UTF8ToString(outputStreamName);
|
|
708
|
+
if (Module.emptyPacketListeners[streamName]) {
|
|
709
|
+
Module.emptyPacketListeners[streamName](timestamp);
|
|
680
710
|
}
|
|
681
711
|
}
|
|
682
712
|
};
|
|
683
713
|
}
|
|
684
714
|
}
|
|
685
715
|
|
|
686
|
-
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy) {
|
|
716
|
+
function JsOnSimpleListenerBinaryArray(output_stream_name, binary_ptr, binary_size, make_deep_copy, timestamp) {
|
|
687
717
|
const newProtoArray = make_deep_copy ? Module.HEAPU8.slice(binary_ptr, binary_ptr + binary_size) : new Uint8Array(Module.HEAPU8.buffer, binary_ptr, binary_size);
|
|
688
|
-
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray);
|
|
718
|
+
Module._wrapSimpleListenerOutput(output_stream_name, newProtoArray, timestamp);
|
|
689
719
|
}
|
|
690
720
|
|
|
691
721
|
function mediapipe_import_external_texture(device_handle, source_handle) {
|
|
@@ -1410,7 +1440,7 @@ var FS = {
|
|
|
1410
1440
|
filesystems: null,
|
|
1411
1441
|
syncFSRequests: 0,
|
|
1412
1442
|
lookupPath: (path, opts = {}) => {
|
|
1413
|
-
path = PATH_FS.resolve(
|
|
1443
|
+
path = PATH_FS.resolve(path);
|
|
1414
1444
|
if (!path) return {
|
|
1415
1445
|
path: "",
|
|
1416
1446
|
node: null
|
|
@@ -1423,7 +1453,7 @@ var FS = {
|
|
|
1423
1453
|
if (opts.recurse_count > 8) {
|
|
1424
1454
|
throw new FS.ErrnoError(32);
|
|
1425
1455
|
}
|
|
1426
|
-
var parts =
|
|
1456
|
+
var parts = path.split("/").filter(p => !!p);
|
|
1427
1457
|
var current = FS.root;
|
|
1428
1458
|
var current_path = "/";
|
|
1429
1459
|
for (var i = 0; i < parts.length; i++) {
|
|
@@ -3931,7 +3961,7 @@ function ___syscall_newfstatat(dirfd, path, buf, flags) {
|
|
|
3931
3961
|
path = SYSCALLS.getStr(path);
|
|
3932
3962
|
var nofollow = flags & 256;
|
|
3933
3963
|
var allowEmpty = flags & 4096;
|
|
3934
|
-
flags = flags & ~
|
|
3964
|
+
flags = flags & ~6400;
|
|
3935
3965
|
path = SYSCALLS.calculateAt(dirfd, path, allowEmpty);
|
|
3936
3966
|
return SYSCALLS.doStat(nofollow ? FS.lstat : FS.stat, path, buf);
|
|
3937
3967
|
} catch (e) {
|
|
@@ -4737,6 +4767,21 @@ function __gmtime_js(time, tmPtr) {
|
|
|
4737
4767
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
4738
4768
|
}
|
|
4739
4769
|
|
|
4770
|
+
function __isLeapYear(year) {
|
|
4771
|
+
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
4772
|
+
}
|
|
4773
|
+
|
|
4774
|
+
var __MONTH_DAYS_LEAP_CUMULATIVE = [ 0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335 ];
|
|
4775
|
+
|
|
4776
|
+
var __MONTH_DAYS_REGULAR_CUMULATIVE = [ 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 ];
|
|
4777
|
+
|
|
4778
|
+
function __yday_from_date(date) {
|
|
4779
|
+
var isLeapYear = __isLeapYear(date.getFullYear());
|
|
4780
|
+
var monthDaysCumulative = isLeapYear ? __MONTH_DAYS_LEAP_CUMULATIVE : __MONTH_DAYS_REGULAR_CUMULATIVE;
|
|
4781
|
+
var yday = monthDaysCumulative[date.getMonth()] + date.getDate() - 1;
|
|
4782
|
+
return yday;
|
|
4783
|
+
}
|
|
4784
|
+
|
|
4740
4785
|
function __localtime_js(time, tmPtr) {
|
|
4741
4786
|
var date = new Date(readI53FromI64(time) * 1e3);
|
|
4742
4787
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
@@ -4746,10 +4791,10 @@ function __localtime_js(time, tmPtr) {
|
|
|
4746
4791
|
HEAP32[tmPtr + 16 >> 2] = date.getMonth();
|
|
4747
4792
|
HEAP32[tmPtr + 20 >> 2] = date.getFullYear() - 1900;
|
|
4748
4793
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
4749
|
-
var
|
|
4750
|
-
var yday = (date.getTime() - start.getTime()) / (1e3 * 60 * 60 * 24) | 0;
|
|
4794
|
+
var yday = __yday_from_date(date) | 0;
|
|
4751
4795
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
4752
4796
|
HEAP32[tmPtr + 36 >> 2] = -(date.getTimezoneOffset() * 60);
|
|
4797
|
+
var start = new Date(date.getFullYear(), 0, 1);
|
|
4753
4798
|
var summerOffset = new Date(date.getFullYear(), 6, 1).getTimezoneOffset();
|
|
4754
4799
|
var winterOffset = start.getTimezoneOffset();
|
|
4755
4800
|
var dst = (summerOffset != winterOffset && date.getTimezoneOffset() == Math.min(winterOffset, summerOffset)) | 0;
|
|
@@ -4772,7 +4817,7 @@ function __mktime_js(tmPtr) {
|
|
|
4772
4817
|
date.setTime(date.getTime() + (trueOffset - guessedOffset) * 6e4);
|
|
4773
4818
|
}
|
|
4774
4819
|
HEAP32[tmPtr + 24 >> 2] = date.getDay();
|
|
4775
|
-
var yday = (date
|
|
4820
|
+
var yday = __yday_from_date(date) | 0;
|
|
4776
4821
|
HEAP32[tmPtr + 28 >> 2] = yday;
|
|
4777
4822
|
HEAP32[tmPtr >> 2] = date.getSeconds();
|
|
4778
4823
|
HEAP32[tmPtr + 4 >> 2] = date.getMinutes();
|
|
@@ -4817,14 +4862,14 @@ function allocateUTF8(str) {
|
|
|
4817
4862
|
return ret;
|
|
4818
4863
|
}
|
|
4819
4864
|
|
|
4820
|
-
function
|
|
4865
|
+
function __tzset_js(timezone, daylight, tzname) {
|
|
4821
4866
|
var currentYear = new Date().getFullYear();
|
|
4822
4867
|
var winter = new Date(currentYear, 0, 1);
|
|
4823
4868
|
var summer = new Date(currentYear, 6, 1);
|
|
4824
4869
|
var winterOffset = winter.getTimezoneOffset();
|
|
4825
4870
|
var summerOffset = summer.getTimezoneOffset();
|
|
4826
4871
|
var stdTimezoneOffset = Math.max(winterOffset, summerOffset);
|
|
4827
|
-
|
|
4872
|
+
HEAPU32[timezone >> 2] = stdTimezoneOffset * 60;
|
|
4828
4873
|
HEAP32[daylight >> 2] = Number(winterOffset != summerOffset);
|
|
4829
4874
|
function extractZone(date) {
|
|
4830
4875
|
var match = date.toTimeString().match(/\(([A-Za-z ]+)\)$/);
|
|
@@ -4843,35 +4888,33 @@ function _tzset_impl(timezone, daylight, tzname) {
|
|
|
4843
4888
|
}
|
|
4844
4889
|
}
|
|
4845
4890
|
|
|
4846
|
-
function __tzset_js(timezone, daylight, tzname) {
|
|
4847
|
-
if (__tzset_js.called) return;
|
|
4848
|
-
__tzset_js.called = true;
|
|
4849
|
-
_tzset_impl(timezone, daylight, tzname);
|
|
4850
|
-
}
|
|
4851
|
-
|
|
4852
4891
|
function _abort() {
|
|
4853
4892
|
abort("");
|
|
4854
4893
|
}
|
|
4855
4894
|
|
|
4856
|
-
var
|
|
4895
|
+
var readEmAsmArgsArray = [];
|
|
4857
4896
|
|
|
4858
|
-
function
|
|
4859
|
-
|
|
4897
|
+
function readEmAsmArgs(sigPtr, buf) {
|
|
4898
|
+
readEmAsmArgsArray.length = 0;
|
|
4860
4899
|
var ch;
|
|
4861
4900
|
buf >>= 2;
|
|
4862
4901
|
while (ch = HEAPU8[sigPtr++]) {
|
|
4863
4902
|
buf += ch != 105 & buf;
|
|
4864
|
-
|
|
4903
|
+
readEmAsmArgsArray.push(ch == 105 ? HEAP32[buf] : HEAPF64[buf++ >> 1]);
|
|
4865
4904
|
++buf;
|
|
4866
4905
|
}
|
|
4867
|
-
return
|
|
4906
|
+
return readEmAsmArgsArray;
|
|
4868
4907
|
}
|
|
4869
4908
|
|
|
4870
|
-
function
|
|
4871
|
-
var args =
|
|
4909
|
+
function runEmAsmFunction(code, sigPtr, argbuf) {
|
|
4910
|
+
var args = readEmAsmArgs(sigPtr, argbuf);
|
|
4872
4911
|
return ASM_CONSTS[code].apply(null, args);
|
|
4873
4912
|
}
|
|
4874
4913
|
|
|
4914
|
+
function _emscripten_asm_const_int(code, sigPtr, argbuf) {
|
|
4915
|
+
return runEmAsmFunction(code, sigPtr, argbuf);
|
|
4916
|
+
}
|
|
4917
|
+
|
|
4875
4918
|
function _emscripten_date_now() {
|
|
4876
4919
|
return Date.now();
|
|
4877
4920
|
}
|
|
@@ -5704,11 +5747,15 @@ function _emscripten_webgpu_export_texture(handle) {
|
|
|
5704
5747
|
}
|
|
5705
5748
|
|
|
5706
5749
|
function _emscripten_webgpu_get_device() {
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5750
|
+
if (WebGPU.preinitializedDeviceId === undefined) {
|
|
5751
|
+
var device = Module["preinitializedWebGPUDevice"];
|
|
5752
|
+
var deviceWrapper = {
|
|
5753
|
+
queueId: WebGPU.mgrQueue.create(device["queue"])
|
|
5754
|
+
};
|
|
5755
|
+
WebGPU.preinitializedDeviceId = WebGPU.mgrDevice.create(device, deviceWrapper);
|
|
5756
|
+
}
|
|
5757
|
+
WebGPU.mgrDevice.reference(WebGPU.preinitializedDeviceId);
|
|
5758
|
+
return WebGPU.preinitializedDeviceId;
|
|
5712
5759
|
}
|
|
5713
5760
|
|
|
5714
5761
|
function _emscripten_webgpu_import_bind_group(handle) {
|
|
@@ -6708,10 +6755,6 @@ function _mediapipe_webgl_tex_image_drawable(drawableHandle) {
|
|
|
6708
6755
|
GLctx.texImage2D(GLctx.TEXTURE_2D, 0, GLctx.RGBA, GLctx.RGBA, GLctx.UNSIGNED_BYTE, drawable);
|
|
6709
6756
|
}
|
|
6710
6757
|
|
|
6711
|
-
function __isLeapYear(year) {
|
|
6712
|
-
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
6713
|
-
}
|
|
6714
|
-
|
|
6715
6758
|
function __arraySum(array, index) {
|
|
6716
6759
|
var sum = 0;
|
|
6717
6760
|
for (var i = 0; i <= index; sum += array[i++]) {}
|
|
@@ -7841,30 +7884,35 @@ for (var i = 0; i < 288; ++i) {
|
|
|
7841
7884
|
}
|
|
7842
7885
|
|
|
7843
7886
|
var asmLibraryArg = {
|
|
7844
|
-
"
|
|
7845
|
-
"
|
|
7846
|
-
"
|
|
7847
|
-
"
|
|
7848
|
-
"
|
|
7849
|
-
"
|
|
7850
|
-
"
|
|
7887
|
+
"Xc": HaveOffsetConverter,
|
|
7888
|
+
"Wc": JsOnEmptyPacketListener,
|
|
7889
|
+
"Vc": JsOnFloat32ImageListener,
|
|
7890
|
+
"Uc": JsOnFloat32ImageVectorListener,
|
|
7891
|
+
"Tc": JsOnSimpleListenerBinaryArray,
|
|
7892
|
+
"Sc": JsOnSimpleListenerBool,
|
|
7893
|
+
"Rc": JsOnSimpleListenerDouble,
|
|
7894
|
+
"Qc": JsOnSimpleListenerFloat,
|
|
7895
|
+
"Pc": JsOnSimpleListenerInt,
|
|
7896
|
+
"Oc": JsOnSimpleListenerString,
|
|
7897
|
+
"Nc": JsOnUint8ImageListener,
|
|
7898
|
+
"Mc": JsOnUint8ImageVectorListener,
|
|
7851
7899
|
"Lc": JsOnVectorListenerBool,
|
|
7852
7900
|
"Kc": JsOnVectorListenerDouble,
|
|
7853
7901
|
"Jc": JsOnVectorListenerFloat,
|
|
7854
7902
|
"Ic": JsOnVectorListenerInt,
|
|
7855
7903
|
"Hc": JsOnVectorListenerProto,
|
|
7856
7904
|
"Gc": JsOnVectorListenerString,
|
|
7857
|
-
"
|
|
7858
|
-
"
|
|
7859
|
-
"
|
|
7860
|
-
"
|
|
7861
|
-
"
|
|
7862
|
-
"
|
|
7905
|
+
"s": JsWrapErrorListener,
|
|
7906
|
+
"za": JsWrapImageConverter,
|
|
7907
|
+
"l": JsWrapSimpleListeners,
|
|
7908
|
+
"e": ___cxa_allocate_exception,
|
|
7909
|
+
"d": ___cxa_throw,
|
|
7910
|
+
"ya": ___syscall_fcntl64,
|
|
7863
7911
|
"Fc": ___syscall_fstat64,
|
|
7864
7912
|
"Ec": ___syscall_ioctl,
|
|
7865
7913
|
"Dc": ___syscall_lstat64,
|
|
7866
7914
|
"Cc": ___syscall_newfstatat,
|
|
7867
|
-
"
|
|
7915
|
+
"xa": ___syscall_openat,
|
|
7868
7916
|
"Bc": ___syscall_stat64,
|
|
7869
7917
|
"xc": __dlinit,
|
|
7870
7918
|
"wc": __dlopen_js,
|
|
@@ -7872,23 +7920,23 @@ var asmLibraryArg = {
|
|
|
7872
7920
|
"Fb": __embind_register_bigint,
|
|
7873
7921
|
"uc": __embind_register_bool,
|
|
7874
7922
|
"tc": __embind_register_emval,
|
|
7875
|
-
"
|
|
7876
|
-
"
|
|
7923
|
+
"va": __embind_register_float,
|
|
7924
|
+
"o": __embind_register_integer,
|
|
7877
7925
|
"g": __embind_register_memory_view,
|
|
7878
|
-
"
|
|
7879
|
-
"
|
|
7926
|
+
"ua": __embind_register_std_string,
|
|
7927
|
+
"Z": __embind_register_std_wstring,
|
|
7880
7928
|
"sc": __embind_register_void,
|
|
7881
7929
|
"rc": __emscripten_get_now_is_monotonic,
|
|
7882
|
-
"
|
|
7883
|
-
"
|
|
7884
|
-
"
|
|
7885
|
-
"
|
|
7886
|
-
"
|
|
7887
|
-
"
|
|
7888
|
-
"
|
|
7889
|
-
"
|
|
7890
|
-
"
|
|
7891
|
-
"
|
|
7930
|
+
"Y": __emval_as,
|
|
7931
|
+
"f": __emval_decref,
|
|
7932
|
+
"X": __emval_get_global,
|
|
7933
|
+
"ta": __emval_get_property,
|
|
7934
|
+
"sa": __emval_incref,
|
|
7935
|
+
"W": __emval_instanceof,
|
|
7936
|
+
"S": __emval_new_cstring,
|
|
7937
|
+
"V": __emval_run_destructors,
|
|
7938
|
+
"ra": __emval_set_property,
|
|
7939
|
+
"R": __emval_take_value,
|
|
7892
7940
|
"qc": __emval_typeof,
|
|
7893
7941
|
"pc": __gmtime_js,
|
|
7894
7942
|
"oc": __localtime_js,
|
|
@@ -7897,10 +7945,10 @@ var asmLibraryArg = {
|
|
|
7897
7945
|
"lc": __munmap_js,
|
|
7898
7946
|
"kc": __tzset_js,
|
|
7899
7947
|
"a": _abort,
|
|
7900
|
-
"
|
|
7948
|
+
"r": _emscripten_asm_const_int,
|
|
7901
7949
|
"jc": _emscripten_date_now,
|
|
7902
7950
|
"ic": _emscripten_get_heap_max,
|
|
7903
|
-
"
|
|
7951
|
+
"q": _emscripten_get_now,
|
|
7904
7952
|
"hc": _emscripten_memcpy_big,
|
|
7905
7953
|
"gc": _emscripten_pc_get_function,
|
|
7906
7954
|
"fc": _emscripten_resize_heap,
|
|
@@ -7909,91 +7957,91 @@ var asmLibraryArg = {
|
|
|
7909
7957
|
"cc": _emscripten_webgl_create_context,
|
|
7910
7958
|
"bc": _emscripten_webgl_destroy_context,
|
|
7911
7959
|
"ac": _emscripten_webgl_get_context_attributes,
|
|
7912
|
-
"
|
|
7960
|
+
"qa": _emscripten_webgl_get_current_context,
|
|
7913
7961
|
"$b": _emscripten_webgl_init_context_attributes,
|
|
7914
7962
|
"_b": _emscripten_webgl_make_context_current,
|
|
7915
7963
|
"Zb": _emscripten_webgpu_export_bind_group_layout,
|
|
7916
|
-
"
|
|
7964
|
+
"pa": _emscripten_webgpu_export_device,
|
|
7917
7965
|
"Yb": _emscripten_webgpu_export_sampler,
|
|
7918
7966
|
"Xb": _emscripten_webgpu_export_texture,
|
|
7919
|
-
"
|
|
7967
|
+
"A": _emscripten_webgpu_get_device,
|
|
7920
7968
|
"Wb": _emscripten_webgpu_import_bind_group,
|
|
7921
7969
|
"Vb": _emscripten_webgpu_import_texture,
|
|
7922
|
-
"
|
|
7970
|
+
"G": _emscripten_webgpu_release_js_handle,
|
|
7923
7971
|
"Ac": _environ_get,
|
|
7924
7972
|
"zc": _environ_sizes_get,
|
|
7925
|
-
"
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7973
|
+
"oa": _exit,
|
|
7974
|
+
"$": _fd_close,
|
|
7975
|
+
"wa": _fd_read,
|
|
7928
7976
|
"Gb": _fd_seek,
|
|
7929
|
-
"
|
|
7977
|
+
"_": _fd_write,
|
|
7930
7978
|
"Ub": _getentropy,
|
|
7931
7979
|
"i": _glActiveTexture,
|
|
7932
|
-
"
|
|
7980
|
+
"Q": _glAttachShader,
|
|
7933
7981
|
"Tb": _glBindAttribLocation,
|
|
7934
7982
|
"h": _glBindBuffer,
|
|
7935
7983
|
"Sb": _glBindBufferBase,
|
|
7936
|
-
"
|
|
7984
|
+
"n": _glBindFramebuffer,
|
|
7937
7985
|
"b": _glBindTexture,
|
|
7938
|
-
"
|
|
7939
|
-
"
|
|
7986
|
+
"na": _glBindVertexArray,
|
|
7987
|
+
"F": _glBufferData,
|
|
7940
7988
|
"Eb": _glClientWaitSync,
|
|
7941
|
-
"
|
|
7942
|
-
"
|
|
7943
|
-
"
|
|
7944
|
-
"
|
|
7945
|
-
"
|
|
7946
|
-
"
|
|
7947
|
-
"
|
|
7948
|
-
"
|
|
7949
|
-
"
|
|
7989
|
+
"ma": _glCompileShader,
|
|
7990
|
+
"la": _glCreateProgram,
|
|
7991
|
+
"ka": _glCreateShader,
|
|
7992
|
+
"ja": _glDeleteBuffers,
|
|
7993
|
+
"E": _glDeleteFramebuffers,
|
|
7994
|
+
"P": _glDeleteProgram,
|
|
7995
|
+
"D": _glDeleteShader,
|
|
7996
|
+
"C": _glDeleteSync,
|
|
7997
|
+
"m": _glDeleteTextures,
|
|
7950
7998
|
"Rb": _glDeleteVertexArrays,
|
|
7951
|
-
"
|
|
7952
|
-
"
|
|
7953
|
-
"
|
|
7954
|
-
"
|
|
7955
|
-
"
|
|
7956
|
-
"
|
|
7957
|
-
"
|
|
7958
|
-
"
|
|
7959
|
-
"
|
|
7960
|
-
"
|
|
7961
|
-
"
|
|
7962
|
-
"
|
|
7999
|
+
"ia": _glDisable,
|
|
8000
|
+
"O": _glDisableVertexAttribArray,
|
|
8001
|
+
"N": _glDrawArrays,
|
|
8002
|
+
"ha": _glDrawBuffers,
|
|
8003
|
+
"z": _glEnableVertexAttribArray,
|
|
8004
|
+
"ga": _glFenceSync,
|
|
8005
|
+
"M": _glFinish,
|
|
8006
|
+
"y": _glFramebufferTexture2D,
|
|
8007
|
+
"fa": _glFramebufferTextureLayer,
|
|
8008
|
+
"L": _glGenBuffers,
|
|
8009
|
+
"B": _glGenFramebuffers,
|
|
8010
|
+
"x": _glGenTextures,
|
|
7963
8011
|
"Qb": _glGenVertexArrays,
|
|
7964
|
-
"
|
|
7965
|
-
"
|
|
8012
|
+
"ea": _glGetAttribLocation,
|
|
8013
|
+
"K": _glGetError,
|
|
7966
8014
|
"j": _glGetIntegerv,
|
|
7967
|
-
"
|
|
8015
|
+
"w": _glGetString,
|
|
7968
8016
|
"Pb": _glGetUniformBlockIndex,
|
|
7969
8017
|
"k": _glGetUniformLocation,
|
|
7970
|
-
"
|
|
7971
|
-
"
|
|
7972
|
-
"
|
|
7973
|
-
"
|
|
7974
|
-
"
|
|
8018
|
+
"da": _glLinkProgram,
|
|
8019
|
+
"J": _glPixelStorei,
|
|
8020
|
+
"ca": _glReadPixels,
|
|
8021
|
+
"ba": _glShaderSource,
|
|
8022
|
+
"v": _glTexImage2D,
|
|
7975
8023
|
"Ob": _glTexParameterfv,
|
|
7976
8024
|
"c": _glTexParameteri,
|
|
7977
|
-
"
|
|
8025
|
+
"U": _glTexStorage2D,
|
|
7978
8026
|
"Nb": _glTexStorage3D,
|
|
7979
|
-
"
|
|
8027
|
+
"T": _glTexSubImage2D,
|
|
7980
8028
|
"Mb": _glTexSubImage3D,
|
|
7981
|
-
"
|
|
7982
|
-
"
|
|
8029
|
+
"aa": _glUniform1f,
|
|
8030
|
+
"u": _glUniform1i,
|
|
7983
8031
|
"Lb": _glUniform2fv,
|
|
7984
8032
|
"Kb": _glUniform4fv,
|
|
7985
8033
|
"Jb": _glUniform4iv,
|
|
7986
8034
|
"Ib": _glUniformBlockBinding,
|
|
7987
8035
|
"Hb": _glUniformMatrix4fv,
|
|
7988
|
-
"
|
|
7989
|
-
"
|
|
7990
|
-
"
|
|
8036
|
+
"p": _glUseProgram,
|
|
8037
|
+
"t": _glVertexAttribPointer,
|
|
8038
|
+
"I": _glViewport,
|
|
7991
8039
|
"Cb": mediapipe_create_utility_canvas2d,
|
|
7992
8040
|
"Bb": _mediapipe_find_canvas_event_target,
|
|
7993
8041
|
"Ab": mediapipe_import_external_texture,
|
|
7994
8042
|
"zb": _mediapipe_webgl_tex_image_drawable,
|
|
7995
8043
|
"yc": _proc_exit,
|
|
7996
|
-
"
|
|
8044
|
+
"H": _strftime,
|
|
7997
8045
|
"yb": _strftime_l,
|
|
7998
8046
|
"xb": _wgpuBindGroupLayoutRelease,
|
|
7999
8047
|
"wb": _wgpuBindGroupRelease,
|
|
@@ -8053,212 +8101,220 @@ var asmLibraryArg = {
|
|
|
8053
8101
|
var asm = createWasm();
|
|
8054
8102
|
|
|
8055
8103
|
var ___wasm_call_ctors = Module["___wasm_call_ctors"] = function() {
|
|
8056
|
-
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["
|
|
8104
|
+
return (___wasm_call_ctors = Module["___wasm_call_ctors"] = Module["asm"]["Zc"]).apply(null, arguments);
|
|
8057
8105
|
};
|
|
8058
8106
|
|
|
8059
8107
|
var _free = Module["_free"] = function() {
|
|
8060
|
-
return (_free = Module["_free"] = Module["asm"]["
|
|
8108
|
+
return (_free = Module["_free"] = Module["asm"]["$c"]).apply(null, arguments);
|
|
8061
8109
|
};
|
|
8062
8110
|
|
|
8063
8111
|
var _malloc = Module["_malloc"] = function() {
|
|
8064
|
-
return (_malloc = Module["_malloc"] = Module["asm"]["
|
|
8112
|
+
return (_malloc = Module["_malloc"] = Module["asm"]["ad"]).apply(null, arguments);
|
|
8065
8113
|
};
|
|
8066
8114
|
|
|
8067
8115
|
var _addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = function() {
|
|
8068
|
-
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["
|
|
8116
|
+
return (_addBoundTextureAsImageToStream = Module["_addBoundTextureAsImageToStream"] = Module["asm"]["bd"]).apply(null, arguments);
|
|
8117
|
+
};
|
|
8118
|
+
|
|
8119
|
+
var _attachImageListener = Module["_attachImageListener"] = function() {
|
|
8120
|
+
return (_attachImageListener = Module["_attachImageListener"] = Module["asm"]["cd"]).apply(null, arguments);
|
|
8121
|
+
};
|
|
8122
|
+
|
|
8123
|
+
var _attachImageVectorListener = Module["_attachImageVectorListener"] = function() {
|
|
8124
|
+
return (_attachImageVectorListener = Module["_attachImageVectorListener"] = Module["asm"]["dd"]).apply(null, arguments);
|
|
8069
8125
|
};
|
|
8070
8126
|
|
|
8071
8127
|
var _registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = function() {
|
|
8072
|
-
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["
|
|
8128
|
+
return (_registerModelResourcesGraphService = Module["_registerModelResourcesGraphService"] = Module["asm"]["ed"]).apply(null, arguments);
|
|
8073
8129
|
};
|
|
8074
8130
|
|
|
8075
8131
|
var _bindTextureToStream = Module["_bindTextureToStream"] = function() {
|
|
8076
|
-
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["
|
|
8132
|
+
return (_bindTextureToStream = Module["_bindTextureToStream"] = Module["asm"]["fd"]).apply(null, arguments);
|
|
8077
8133
|
};
|
|
8078
8134
|
|
|
8079
8135
|
var _addBoundTextureToStream = Module["_addBoundTextureToStream"] = function() {
|
|
8080
|
-
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["
|
|
8136
|
+
return (_addBoundTextureToStream = Module["_addBoundTextureToStream"] = Module["asm"]["gd"]).apply(null, arguments);
|
|
8081
8137
|
};
|
|
8082
8138
|
|
|
8083
8139
|
var _addDoubleToInputStream = Module["_addDoubleToInputStream"] = function() {
|
|
8084
|
-
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["
|
|
8140
|
+
return (_addDoubleToInputStream = Module["_addDoubleToInputStream"] = Module["asm"]["hd"]).apply(null, arguments);
|
|
8085
8141
|
};
|
|
8086
8142
|
|
|
8087
8143
|
var _addFloatToInputStream = Module["_addFloatToInputStream"] = function() {
|
|
8088
|
-
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["
|
|
8144
|
+
return (_addFloatToInputStream = Module["_addFloatToInputStream"] = Module["asm"]["id"]).apply(null, arguments);
|
|
8089
8145
|
};
|
|
8090
8146
|
|
|
8091
8147
|
var _addBoolToInputStream = Module["_addBoolToInputStream"] = function() {
|
|
8092
|
-
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["
|
|
8148
|
+
return (_addBoolToInputStream = Module["_addBoolToInputStream"] = Module["asm"]["jd"]).apply(null, arguments);
|
|
8093
8149
|
};
|
|
8094
8150
|
|
|
8095
8151
|
var _addIntToInputStream = Module["_addIntToInputStream"] = function() {
|
|
8096
|
-
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["
|
|
8152
|
+
return (_addIntToInputStream = Module["_addIntToInputStream"] = Module["asm"]["kd"]).apply(null, arguments);
|
|
8097
8153
|
};
|
|
8098
8154
|
|
|
8099
8155
|
var _addStringToInputStream = Module["_addStringToInputStream"] = function() {
|
|
8100
|
-
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["
|
|
8156
|
+
return (_addStringToInputStream = Module["_addStringToInputStream"] = Module["asm"]["ld"]).apply(null, arguments);
|
|
8101
8157
|
};
|
|
8102
8158
|
|
|
8103
8159
|
var _addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = function() {
|
|
8104
|
-
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["
|
|
8160
|
+
return (_addFlatHashMapToInputStream = Module["_addFlatHashMapToInputStream"] = Module["asm"]["md"]).apply(null, arguments);
|
|
8105
8161
|
};
|
|
8106
8162
|
|
|
8107
8163
|
var _addProtoToInputStream = Module["_addProtoToInputStream"] = function() {
|
|
8108
|
-
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["
|
|
8164
|
+
return (_addProtoToInputStream = Module["_addProtoToInputStream"] = Module["asm"]["nd"]).apply(null, arguments);
|
|
8109
8165
|
};
|
|
8110
8166
|
|
|
8111
8167
|
var _addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = function() {
|
|
8112
|
-
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["
|
|
8168
|
+
return (_addBoolToInputSidePacket = Module["_addBoolToInputSidePacket"] = Module["asm"]["od"]).apply(null, arguments);
|
|
8113
8169
|
};
|
|
8114
8170
|
|
|
8115
8171
|
var _addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = function() {
|
|
8116
|
-
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["
|
|
8172
|
+
return (_addDoubleToInputSidePacket = Module["_addDoubleToInputSidePacket"] = Module["asm"]["pd"]).apply(null, arguments);
|
|
8117
8173
|
};
|
|
8118
8174
|
|
|
8119
8175
|
var _addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = function() {
|
|
8120
|
-
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["
|
|
8176
|
+
return (_addFloatToInputSidePacket = Module["_addFloatToInputSidePacket"] = Module["asm"]["qd"]).apply(null, arguments);
|
|
8121
8177
|
};
|
|
8122
8178
|
|
|
8123
8179
|
var _addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = function() {
|
|
8124
|
-
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["
|
|
8180
|
+
return (_addIntToInputSidePacket = Module["_addIntToInputSidePacket"] = Module["asm"]["rd"]).apply(null, arguments);
|
|
8125
8181
|
};
|
|
8126
8182
|
|
|
8127
8183
|
var _addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = function() {
|
|
8128
|
-
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["
|
|
8184
|
+
return (_addStringToInputSidePacket = Module["_addStringToInputSidePacket"] = Module["asm"]["sd"]).apply(null, arguments);
|
|
8129
8185
|
};
|
|
8130
8186
|
|
|
8131
8187
|
var _addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = function() {
|
|
8132
|
-
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["
|
|
8188
|
+
return (_addProtoToInputSidePacket = Module["_addProtoToInputSidePacket"] = Module["asm"]["td"]).apply(null, arguments);
|
|
8133
8189
|
};
|
|
8134
8190
|
|
|
8135
8191
|
var _attachBoolListener = Module["_attachBoolListener"] = function() {
|
|
8136
|
-
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["
|
|
8192
|
+
return (_attachBoolListener = Module["_attachBoolListener"] = Module["asm"]["ud"]).apply(null, arguments);
|
|
8137
8193
|
};
|
|
8138
8194
|
|
|
8139
8195
|
var _attachBoolVectorListener = Module["_attachBoolVectorListener"] = function() {
|
|
8140
|
-
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["
|
|
8196
|
+
return (_attachBoolVectorListener = Module["_attachBoolVectorListener"] = Module["asm"]["vd"]).apply(null, arguments);
|
|
8141
8197
|
};
|
|
8142
8198
|
|
|
8143
8199
|
var _attachDoubleListener = Module["_attachDoubleListener"] = function() {
|
|
8144
|
-
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["
|
|
8200
|
+
return (_attachDoubleListener = Module["_attachDoubleListener"] = Module["asm"]["wd"]).apply(null, arguments);
|
|
8145
8201
|
};
|
|
8146
8202
|
|
|
8147
8203
|
var _attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = function() {
|
|
8148
|
-
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["
|
|
8204
|
+
return (_attachDoubleVectorListener = Module["_attachDoubleVectorListener"] = Module["asm"]["xd"]).apply(null, arguments);
|
|
8149
8205
|
};
|
|
8150
8206
|
|
|
8151
8207
|
var _attachFloatListener = Module["_attachFloatListener"] = function() {
|
|
8152
|
-
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["
|
|
8208
|
+
return (_attachFloatListener = Module["_attachFloatListener"] = Module["asm"]["yd"]).apply(null, arguments);
|
|
8153
8209
|
};
|
|
8154
8210
|
|
|
8155
8211
|
var _attachFloatVectorListener = Module["_attachFloatVectorListener"] = function() {
|
|
8156
|
-
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["
|
|
8212
|
+
return (_attachFloatVectorListener = Module["_attachFloatVectorListener"] = Module["asm"]["zd"]).apply(null, arguments);
|
|
8157
8213
|
};
|
|
8158
8214
|
|
|
8159
8215
|
var _attachIntListener = Module["_attachIntListener"] = function() {
|
|
8160
|
-
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["
|
|
8216
|
+
return (_attachIntListener = Module["_attachIntListener"] = Module["asm"]["Ad"]).apply(null, arguments);
|
|
8161
8217
|
};
|
|
8162
8218
|
|
|
8163
8219
|
var _attachIntVectorListener = Module["_attachIntVectorListener"] = function() {
|
|
8164
|
-
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["
|
|
8220
|
+
return (_attachIntVectorListener = Module["_attachIntVectorListener"] = Module["asm"]["Bd"]).apply(null, arguments);
|
|
8165
8221
|
};
|
|
8166
8222
|
|
|
8167
8223
|
var _attachStringListener = Module["_attachStringListener"] = function() {
|
|
8168
|
-
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["
|
|
8224
|
+
return (_attachStringListener = Module["_attachStringListener"] = Module["asm"]["Cd"]).apply(null, arguments);
|
|
8169
8225
|
};
|
|
8170
8226
|
|
|
8171
8227
|
var _attachStringVectorListener = Module["_attachStringVectorListener"] = function() {
|
|
8172
|
-
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["
|
|
8228
|
+
return (_attachStringVectorListener = Module["_attachStringVectorListener"] = Module["asm"]["Dd"]).apply(null, arguments);
|
|
8173
8229
|
};
|
|
8174
8230
|
|
|
8175
8231
|
var _attachProtoListener = Module["_attachProtoListener"] = function() {
|
|
8176
|
-
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["
|
|
8232
|
+
return (_attachProtoListener = Module["_attachProtoListener"] = Module["asm"]["Ed"]).apply(null, arguments);
|
|
8177
8233
|
};
|
|
8178
8234
|
|
|
8179
8235
|
var _attachProtoVectorListener = Module["_attachProtoVectorListener"] = function() {
|
|
8180
|
-
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["
|
|
8236
|
+
return (_attachProtoVectorListener = Module["_attachProtoVectorListener"] = Module["asm"]["Fd"]).apply(null, arguments);
|
|
8181
8237
|
};
|
|
8182
8238
|
|
|
8183
8239
|
var ___errno_location = Module["___errno_location"] = function() {
|
|
8184
|
-
return (___errno_location = Module["___errno_location"] = Module["asm"]["
|
|
8240
|
+
return (___errno_location = Module["___errno_location"] = Module["asm"]["Gd"]).apply(null, arguments);
|
|
8185
8241
|
};
|
|
8186
8242
|
|
|
8187
8243
|
var _clearSubgraphs = Module["_clearSubgraphs"] = function() {
|
|
8188
|
-
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["
|
|
8244
|
+
return (_clearSubgraphs = Module["_clearSubgraphs"] = Module["asm"]["Hd"]).apply(null, arguments);
|
|
8189
8245
|
};
|
|
8190
8246
|
|
|
8191
8247
|
var _pushBinarySubgraph = Module["_pushBinarySubgraph"] = function() {
|
|
8192
|
-
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["
|
|
8248
|
+
return (_pushBinarySubgraph = Module["_pushBinarySubgraph"] = Module["asm"]["Id"]).apply(null, arguments);
|
|
8193
8249
|
};
|
|
8194
8250
|
|
|
8195
8251
|
var _pushTextSubgraph = Module["_pushTextSubgraph"] = function() {
|
|
8196
|
-
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["
|
|
8252
|
+
return (_pushTextSubgraph = Module["_pushTextSubgraph"] = Module["asm"]["Jd"]).apply(null, arguments);
|
|
8197
8253
|
};
|
|
8198
8254
|
|
|
8199
8255
|
var _changeBinaryGraph = Module["_changeBinaryGraph"] = function() {
|
|
8200
|
-
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["
|
|
8256
|
+
return (_changeBinaryGraph = Module["_changeBinaryGraph"] = Module["asm"]["Kd"]).apply(null, arguments);
|
|
8201
8257
|
};
|
|
8202
8258
|
|
|
8203
8259
|
var _changeTextGraph = Module["_changeTextGraph"] = function() {
|
|
8204
|
-
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["
|
|
8260
|
+
return (_changeTextGraph = Module["_changeTextGraph"] = Module["asm"]["Ld"]).apply(null, arguments);
|
|
8205
8261
|
};
|
|
8206
8262
|
|
|
8207
8263
|
var _processGl = Module["_processGl"] = function() {
|
|
8208
|
-
return (_processGl = Module["_processGl"] = Module["asm"]["
|
|
8264
|
+
return (_processGl = Module["_processGl"] = Module["asm"]["Md"]).apply(null, arguments);
|
|
8209
8265
|
};
|
|
8210
8266
|
|
|
8211
8267
|
var _process = Module["_process"] = function() {
|
|
8212
|
-
return (_process = Module["_process"] = Module["asm"]["
|
|
8268
|
+
return (_process = Module["_process"] = Module["asm"]["Nd"]).apply(null, arguments);
|
|
8213
8269
|
};
|
|
8214
8270
|
|
|
8215
8271
|
var _bindTextureToCanvas = Module["_bindTextureToCanvas"] = function() {
|
|
8216
|
-
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["
|
|
8272
|
+
return (_bindTextureToCanvas = Module["_bindTextureToCanvas"] = Module["asm"]["Od"]).apply(null, arguments);
|
|
8217
8273
|
};
|
|
8218
8274
|
|
|
8219
8275
|
var _requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = function() {
|
|
8220
|
-
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["
|
|
8276
|
+
return (_requestShaderRefreshOnGraphChange = Module["_requestShaderRefreshOnGraphChange"] = Module["asm"]["Pd"]).apply(null, arguments);
|
|
8221
8277
|
};
|
|
8222
8278
|
|
|
8223
8279
|
var _waitUntilIdle = Module["_waitUntilIdle"] = function() {
|
|
8224
|
-
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["
|
|
8280
|
+
return (_waitUntilIdle = Module["_waitUntilIdle"] = Module["asm"]["Qd"]).apply(null, arguments);
|
|
8225
8281
|
};
|
|
8226
8282
|
|
|
8227
8283
|
var _setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = function() {
|
|
8228
|
-
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["
|
|
8284
|
+
return (_setAutoRenderToScreen = Module["_setAutoRenderToScreen"] = Module["asm"]["Rd"]).apply(null, arguments);
|
|
8229
8285
|
};
|
|
8230
8286
|
|
|
8231
8287
|
var ___getTypeName = Module["___getTypeName"] = function() {
|
|
8232
|
-
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["
|
|
8288
|
+
return (___getTypeName = Module["___getTypeName"] = Module["asm"]["Sd"]).apply(null, arguments);
|
|
8233
8289
|
};
|
|
8234
8290
|
|
|
8235
8291
|
var __embind_initialize_bindings = Module["__embind_initialize_bindings"] = function() {
|
|
8236
|
-
return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["
|
|
8292
|
+
return (__embind_initialize_bindings = Module["__embind_initialize_bindings"] = Module["asm"]["Td"]).apply(null, arguments);
|
|
8237
8293
|
};
|
|
8238
8294
|
|
|
8239
8295
|
var _emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = function() {
|
|
8240
|
-
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["
|
|
8296
|
+
return (_emscripten_builtin_memalign = Module["_emscripten_builtin_memalign"] = Module["asm"]["Ud"]).apply(null, arguments);
|
|
8241
8297
|
};
|
|
8242
8298
|
|
|
8243
8299
|
var stackSave = Module["stackSave"] = function() {
|
|
8244
|
-
return (stackSave = Module["stackSave"] = Module["asm"]["
|
|
8300
|
+
return (stackSave = Module["stackSave"] = Module["asm"]["Vd"]).apply(null, arguments);
|
|
8245
8301
|
};
|
|
8246
8302
|
|
|
8247
8303
|
var stackRestore = Module["stackRestore"] = function() {
|
|
8248
|
-
return (stackRestore = Module["stackRestore"] = Module["asm"]["
|
|
8304
|
+
return (stackRestore = Module["stackRestore"] = Module["asm"]["Wd"]).apply(null, arguments);
|
|
8249
8305
|
};
|
|
8250
8306
|
|
|
8251
8307
|
var stackAlloc = Module["stackAlloc"] = function() {
|
|
8252
|
-
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["
|
|
8308
|
+
return (stackAlloc = Module["stackAlloc"] = Module["asm"]["Xd"]).apply(null, arguments);
|
|
8253
8309
|
};
|
|
8254
8310
|
|
|
8255
8311
|
var ___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = function() {
|
|
8256
|
-
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["
|
|
8312
|
+
return (___cxa_is_pointer_type = Module["___cxa_is_pointer_type"] = Module["asm"]["Yd"]).apply(null, arguments);
|
|
8257
8313
|
};
|
|
8258
8314
|
|
|
8259
|
-
var ___start_em_js = Module["___start_em_js"] =
|
|
8315
|
+
var ___start_em_js = Module["___start_em_js"] = 912044;
|
|
8260
8316
|
|
|
8261
|
-
var ___stop_em_js = Module["___stop_em_js"] =
|
|
8317
|
+
var ___stop_em_js = Module["___stop_em_js"] = 917927;
|
|
8262
8318
|
|
|
8263
8319
|
Module["addRunDependency"] = addRunDependency;
|
|
8264
8320
|
|