@mediapipe/tasks-vision 1.1.1 → 1.2.0-rc.20261016
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/LICENSE +218 -0
- package/NOTICE +32152 -0
- package/README.md +0 -0
- package/package.json +1 -1
- package/vision_bundle.cjs +1 -1
- package/vision_bundle.cjs.map +1 -1
- package/vision_bundle.js +1 -1
- package/vision_bundle.js.map +1 -0
- package/vision_bundle.mjs +1 -1
- package/vision_bundle.mjs.map +1 -1
- package/wasm/vision_wasm_internal.js +77 -77
- package/wasm/vision_wasm_internal.wasm +0 -0
- package/wasm/vision_wasm_module_internal.js +77 -77
- package/wasm/vision_wasm_module_internal.wasm +0 -0
- package/wasm/vision_wasm_nosimd_internal.js +76 -76
- package/wasm/vision_wasm_nosimd_internal.wasm +0 -0
|
@@ -8363,12 +8363,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8363
8363
|
// End JS library exports
|
|
8364
8364
|
// end include: postlibrary.js
|
|
8365
8365
|
var ASM_CONSTS = {
|
|
8366
|
-
|
|
8366
|
+
1612148: $0 => {
|
|
8367
8367
|
const canvas = Emval.toValue($0);
|
|
8368
8368
|
const context = canvas.getContext("webgpu");
|
|
8369
8369
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8370
8370
|
},
|
|
8371
|
-
|
|
8371
|
+
1612291: ($0, $1, $2, $3, $4) => {
|
|
8372
8372
|
const drawable = Emval.toValue($0);
|
|
8373
8373
|
const device = WebGPU.getJsObject($1);
|
|
8374
8374
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8380,7 +8380,7 @@ var ASM_CONSTS = {
|
|
|
8380
8380
|
texture
|
|
8381
8381
|
}, [ width, height ]);
|
|
8382
8382
|
},
|
|
8383
|
-
|
|
8383
|
+
1612550: ($0, $1, $2, $3) => {
|
|
8384
8384
|
const sourceExtTex = Emval.toValue($0);
|
|
8385
8385
|
const device = WebGPU.getJsObject($1);
|
|
8386
8386
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8397,29 +8397,29 @@ var ASM_CONSTS = {
|
|
|
8397
8397
|
});
|
|
8398
8398
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8399
8399
|
},
|
|
8400
|
-
|
|
8400
|
+
1612920: ($0, $1) => {
|
|
8401
8401
|
const input = Emval.toValue($0);
|
|
8402
8402
|
const output = Emval.toValue($1);
|
|
8403
8403
|
const ctx = output.getContext("2d");
|
|
8404
8404
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8405
8405
|
},
|
|
8406
|
-
|
|
8406
|
+
1613085: ($0, $1) => {
|
|
8407
8407
|
const inputArray = Emval.toValue($0);
|
|
8408
8408
|
const output = Emval.toValue($1);
|
|
8409
8409
|
const ctx = output.getContext("2d");
|
|
8410
8410
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8411
8411
|
ctx.putImageData(image_data, 0, 0);
|
|
8412
8412
|
},
|
|
8413
|
-
|
|
8413
|
+
1613309: ($0, $1) => {
|
|
8414
8414
|
const input = Emval.toValue($0);
|
|
8415
8415
|
const outputArray = Emval.toValue($1);
|
|
8416
8416
|
const ctx = input.getContext("2d");
|
|
8417
8417
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8418
8418
|
outputArray.set(data.data);
|
|
8419
8419
|
},
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8420
|
+
1613513: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8421
|
+
1613568: () => !!Module["preinitializedWebGPUDevice"],
|
|
8422
|
+
1613619: () => {
|
|
8423
8423
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8424
8424
|
}
|
|
8425
8425
|
};
|
|
@@ -8868,7 +8868,7 @@ var wasmImports = {
|
|
|
8868
8868
|
/** @export */ ld: JsOnEmptyPacketListener,
|
|
8869
8869
|
/** @export */ kd: JsOnFloat32ArrayImageListener,
|
|
8870
8870
|
/** @export */ jd: JsOnFloat32ArrayImageVectorListener,
|
|
8871
|
-
/** @export */
|
|
8871
|
+
/** @export */ nb: JsOnSimpleListenerBinaryArray,
|
|
8872
8872
|
/** @export */ id: JsOnSimpleListenerBool,
|
|
8873
8873
|
/** @export */ hd: JsOnSimpleListenerDouble,
|
|
8874
8874
|
/** @export */ gd: JsOnSimpleListenerFloat,
|
|
@@ -8888,11 +8888,11 @@ var wasmImports = {
|
|
|
8888
8888
|
/** @export */ Vc: JsOnWebGLTextureListener,
|
|
8889
8889
|
/** @export */ Uc: JsOnWebGLTextureVectorListener,
|
|
8890
8890
|
/** @export */ Tc: JsWrapErrorListenerInternal,
|
|
8891
|
-
/** @export */
|
|
8891
|
+
/** @export */ mb: JsWrapImageConverter,
|
|
8892
8892
|
/** @export */ Sc: JsWrapLoggingHelpers,
|
|
8893
8893
|
/** @export */ v: JsWrapSimpleListeners,
|
|
8894
|
-
/** @export */
|
|
8895
|
-
/** @export */
|
|
8894
|
+
/** @export */ lb: UseBottomLeftGpuOrigin,
|
|
8895
|
+
/** @export */ wb: __asyncjs__mediapipe_map_buffer_jspi,
|
|
8896
8896
|
/** @export */ n: ___cxa_throw,
|
|
8897
8897
|
/** @export */ Rc: ___syscall_dup,
|
|
8898
8898
|
/** @export */ Qc: ___syscall_faccessat,
|
|
@@ -8906,32 +8906,32 @@ var wasmImports = {
|
|
|
8906
8906
|
/** @export */ Kc: ___syscall_lstat64,
|
|
8907
8907
|
/** @export */ Jc: ___syscall_mkdirat,
|
|
8908
8908
|
/** @export */ Ic: ___syscall_newfstatat,
|
|
8909
|
-
/** @export */
|
|
8909
|
+
/** @export */ Ra: ___syscall_openat,
|
|
8910
8910
|
/** @export */ Hc: ___syscall_readlinkat,
|
|
8911
8911
|
/** @export */ Gc: ___syscall_rmdir,
|
|
8912
8912
|
/** @export */ Fc: ___syscall_stat64,
|
|
8913
|
-
/** @export */
|
|
8913
|
+
/** @export */ kb: ___syscall_unlinkat,
|
|
8914
8914
|
/** @export */ Ec: ___syscall_utimensat,
|
|
8915
8915
|
/** @export */ zc: __abort_js,
|
|
8916
8916
|
/** @export */ Ib: __embind_register_bigint,
|
|
8917
8917
|
/** @export */ yc: __embind_register_bool,
|
|
8918
8918
|
/** @export */ xc: __embind_register_emval,
|
|
8919
|
-
/** @export */
|
|
8919
|
+
/** @export */ ib: __embind_register_float,
|
|
8920
8920
|
/** @export */ I: __embind_register_integer,
|
|
8921
8921
|
/** @export */ r: __embind_register_memory_view,
|
|
8922
8922
|
/** @export */ wc: __embind_register_std_string,
|
|
8923
|
-
/** @export */
|
|
8923
|
+
/** @export */ Pa: __embind_register_std_wstring,
|
|
8924
8924
|
/** @export */ vc: __embind_register_void,
|
|
8925
8925
|
/** @export */ ba: __emval_create_invoker,
|
|
8926
8926
|
/** @export */ q: __emval_decref,
|
|
8927
|
-
/** @export */
|
|
8928
|
-
/** @export */
|
|
8927
|
+
/** @export */ Oa: __emval_get_global,
|
|
8928
|
+
/** @export */ hb: __emval_get_property,
|
|
8929
8929
|
/** @export */ la: __emval_incref,
|
|
8930
|
-
/** @export */
|
|
8930
|
+
/** @export */ Na: __emval_instanceof,
|
|
8931
8931
|
/** @export */ aa: __emval_invoke,
|
|
8932
|
-
/** @export */
|
|
8932
|
+
/** @export */ va: __emval_new_cstring,
|
|
8933
8933
|
/** @export */ $: __emval_run_destructors,
|
|
8934
|
-
/** @export */
|
|
8934
|
+
/** @export */ gb: __emval_set_property,
|
|
8935
8935
|
/** @export */ uc: __emval_typeof,
|
|
8936
8936
|
/** @export */ Hb: __gmtime_js,
|
|
8937
8937
|
/** @export */ Gb: __localtime_js,
|
|
@@ -8942,15 +8942,15 @@ var wasmImports = {
|
|
|
8942
8942
|
/** @export */ Lb: _clock_time_get,
|
|
8943
8943
|
/** @export */ sc: custom_emscripten_dbgn,
|
|
8944
8944
|
/** @export */ _: _emscripten_asm_const_int,
|
|
8945
|
-
/** @export */
|
|
8946
|
-
/** @export */
|
|
8945
|
+
/** @export */ fb: _emscripten_asm_const_ptr,
|
|
8946
|
+
/** @export */ Ma: _emscripten_errn,
|
|
8947
8947
|
/** @export */ rc: _emscripten_get_heap_max,
|
|
8948
8948
|
/** @export */ y: _emscripten_get_now,
|
|
8949
8949
|
/** @export */ T: _emscripten_has_asyncify,
|
|
8950
8950
|
/** @export */ qc: _emscripten_outn,
|
|
8951
8951
|
/** @export */ pc: _emscripten_pc_get_function,
|
|
8952
8952
|
/** @export */ oc: _emscripten_resize_heap,
|
|
8953
|
-
/** @export */
|
|
8953
|
+
/** @export */ eb: _emscripten_stack_snapshot,
|
|
8954
8954
|
/** @export */ nc: _emscripten_stack_unwind_buffer,
|
|
8955
8955
|
/** @export */ mc: _emscripten_webgl_create_context,
|
|
8956
8956
|
/** @export */ lc: _emscripten_webgl_destroy_context,
|
|
@@ -8973,51 +8973,51 @@ var wasmImports = {
|
|
|
8973
8973
|
/** @export */ bc: _exit,
|
|
8974
8974
|
/** @export */ ma: _fd_close,
|
|
8975
8975
|
/** @export */ Kb: _fd_pread,
|
|
8976
|
-
/** @export */
|
|
8976
|
+
/** @export */ jb: _fd_read,
|
|
8977
8977
|
/** @export */ Jb: _fd_seek,
|
|
8978
|
-
/** @export */
|
|
8978
|
+
/** @export */ Qa: _fd_write,
|
|
8979
8979
|
/** @export */ b: _glActiveTexture,
|
|
8980
|
-
/** @export */
|
|
8980
|
+
/** @export */ ua: _glAttachShader,
|
|
8981
8981
|
/** @export */ ac: _glBindAttribLocation,
|
|
8982
8982
|
/** @export */ c: _glBindBuffer,
|
|
8983
|
-
/** @export */
|
|
8983
|
+
/** @export */ db: _glBindBufferBase,
|
|
8984
8984
|
/** @export */ t: _glBindFramebuffer,
|
|
8985
8985
|
/** @export */ a: _glBindTexture,
|
|
8986
8986
|
/** @export */ m: _glBindVertexArray,
|
|
8987
|
-
/** @export */
|
|
8987
|
+
/** @export */ cb: _glBlendEquation,
|
|
8988
8988
|
/** @export */ $b: _glBlendFunc,
|
|
8989
8989
|
/** @export */ j: _glBufferData,
|
|
8990
8990
|
/** @export */ P: _glClear,
|
|
8991
8991
|
/** @export */ O: _glClearColor,
|
|
8992
8992
|
/** @export */ fa: _glClientWaitSync,
|
|
8993
8993
|
/** @export */ ja: _glColorMask,
|
|
8994
|
-
/** @export */
|
|
8995
|
-
/** @export */
|
|
8996
|
-
/** @export */
|
|
8994
|
+
/** @export */ bb: _glCompileShader,
|
|
8995
|
+
/** @export */ ab: _glCreateProgram,
|
|
8996
|
+
/** @export */ La: _glCreateShader,
|
|
8997
8997
|
/** @export */ p: _glDeleteBuffers,
|
|
8998
8998
|
/** @export */ S: _glDeleteFramebuffers,
|
|
8999
8999
|
/** @export */ h: _glDeleteProgram,
|
|
9000
9000
|
/** @export */ ia: _glDeleteShader,
|
|
9001
|
-
/** @export */
|
|
9001
|
+
/** @export */ ta: _glDeleteSync,
|
|
9002
9002
|
/** @export */ D: _glDeleteTextures,
|
|
9003
9003
|
/** @export */ A: _glDeleteVertexArrays,
|
|
9004
|
-
/** @export */
|
|
9004
|
+
/** @export */ $a: _glDetachShader,
|
|
9005
9005
|
/** @export */ H: _glDisable,
|
|
9006
9006
|
/** @export */ o: _glDisableVertexAttribArray,
|
|
9007
9007
|
/** @export */ i: _glDrawArrays,
|
|
9008
9008
|
/** @export */ ha: _glDrawBuffers,
|
|
9009
9009
|
/** @export */ _b: _glEnable,
|
|
9010
9010
|
/** @export */ l: _glEnableVertexAttribArray,
|
|
9011
|
-
/** @export */
|
|
9012
|
-
/** @export */
|
|
9011
|
+
/** @export */ _a: _glFenceSync,
|
|
9012
|
+
/** @export */ sa: _glFinish,
|
|
9013
9013
|
/** @export */ x: _glFlush,
|
|
9014
9014
|
/** @export */ C: _glFramebufferTexture2D,
|
|
9015
|
-
/** @export */
|
|
9015
|
+
/** @export */ Za: _glFramebufferTextureLayer,
|
|
9016
9016
|
/** @export */ s: _glGenBuffers,
|
|
9017
9017
|
/** @export */ Z: _glGenFramebuffers,
|
|
9018
9018
|
/** @export */ G: _glGenTextures,
|
|
9019
9019
|
/** @export */ B: _glGenVertexArrays,
|
|
9020
|
-
/** @export */
|
|
9020
|
+
/** @export */ Ya: _glGetAttribLocation,
|
|
9021
9021
|
/** @export */ ga: _glGetError,
|
|
9022
9022
|
/** @export */ Zb: _glGetFloatv,
|
|
9023
9023
|
/** @export */ w: _glGetIntegerv,
|
|
@@ -9028,70 +9028,70 @@ var wasmImports = {
|
|
|
9028
9028
|
/** @export */ Vb: _glGetUniformBlockIndex,
|
|
9029
9029
|
/** @export */ d: _glGetUniformLocation,
|
|
9030
9030
|
/** @export */ Ub: _glLineWidth,
|
|
9031
|
-
/** @export */
|
|
9032
|
-
/** @export */
|
|
9033
|
-
/** @export */
|
|
9034
|
-
/** @export */
|
|
9031
|
+
/** @export */ Xa: _glLinkProgram,
|
|
9032
|
+
/** @export */ ra: _glPixelStorei,
|
|
9033
|
+
/** @export */ qa: _glReadPixels,
|
|
9034
|
+
/** @export */ Ka: _glShaderSource,
|
|
9035
9035
|
/** @export */ F: _glTexImage2D,
|
|
9036
|
-
/** @export */
|
|
9037
|
-
/** @export */
|
|
9036
|
+
/** @export */ pa: _glTexParameterf,
|
|
9037
|
+
/** @export */ Wa: _glTexParameterfv,
|
|
9038
9038
|
/** @export */ f: _glTexParameteri,
|
|
9039
|
-
/** @export */
|
|
9039
|
+
/** @export */ oa: _glTexStorage2D,
|
|
9040
9040
|
/** @export */ Tb: _glTexStorage3D,
|
|
9041
9041
|
/** @export */ Y: _glTexSubImage2D,
|
|
9042
9042
|
/** @export */ Sb: _glTexSubImage3D,
|
|
9043
9043
|
/** @export */ M: _glUniform1f,
|
|
9044
|
-
/** @export */
|
|
9044
|
+
/** @export */ na: _glUniform1fv,
|
|
9045
9045
|
/** @export */ e: _glUniform1i,
|
|
9046
9046
|
/** @export */ X: _glUniform2f,
|
|
9047
9047
|
/** @export */ Rb: _glUniform2fv,
|
|
9048
|
-
/** @export */
|
|
9049
|
-
/** @export */
|
|
9048
|
+
/** @export */ Ja: _glUniform3f,
|
|
9049
|
+
/** @export */ Va: _glUniform4f,
|
|
9050
9050
|
/** @export */ W: _glUniform4fv,
|
|
9051
9051
|
/** @export */ Qb: _glUniform4iv,
|
|
9052
9052
|
/** @export */ Pb: _glUniformBlockBinding,
|
|
9053
9053
|
/** @export */ Ob: _glUniformMatrix2fv,
|
|
9054
9054
|
/** @export */ Nb: _glUniformMatrix3fv,
|
|
9055
|
-
/** @export */
|
|
9055
|
+
/** @export */ Ia: _glUniformMatrix4fv,
|
|
9056
9056
|
/** @export */ g: _glUseProgram,
|
|
9057
9057
|
/** @export */ k: _glVertexAttribPointer,
|
|
9058
9058
|
/** @export */ V: _glViewport,
|
|
9059
|
-
/** @export */
|
|
9060
|
-
/** @export */
|
|
9061
|
-
/** @export */
|
|
9062
|
-
/** @export */
|
|
9063
|
-
/** @export */
|
|
9059
|
+
/** @export */ Ha: hardware_concurrency,
|
|
9060
|
+
/** @export */ zb: mediapipe_create_utility_canvas2d,
|
|
9061
|
+
/** @export */ yb: _mediapipe_find_canvas_event_target,
|
|
9062
|
+
/** @export */ xb: mediapipe_import_external_texture,
|
|
9063
|
+
/** @export */ vb: _mediapipe_webgl_tex_image_drawable,
|
|
9064
9064
|
/** @export */ Bc: _proc_exit,
|
|
9065
9065
|
/** @export */ Ac: _random_get,
|
|
9066
|
-
/** @export */
|
|
9067
|
-
/** @export */
|
|
9068
|
-
/** @export */
|
|
9069
|
-
/** @export */
|
|
9070
|
-
/** @export */
|
|
9066
|
+
/** @export */ Ga: _wgpuCommandEncoderBeginComputePass,
|
|
9067
|
+
/** @export */ Fa: _wgpuCommandEncoderBeginRenderPass,
|
|
9068
|
+
/** @export */ ub: _wgpuCommandEncoderCopyBufferToTexture,
|
|
9069
|
+
/** @export */ tb: _wgpuCommandEncoderCopyTextureToBuffer,
|
|
9070
|
+
/** @export */ sb: _wgpuCommandEncoderCopyTextureToTexture,
|
|
9071
9071
|
/** @export */ L: _wgpuCommandEncoderFinish,
|
|
9072
|
-
/** @export */
|
|
9073
|
-
/** @export */
|
|
9074
|
-
/** @export */
|
|
9075
|
-
/** @export */
|
|
9076
|
-
/** @export */
|
|
9072
|
+
/** @export */ Ea: _wgpuComputePassEncoderDispatchWorkgroups,
|
|
9073
|
+
/** @export */ Da: _wgpuComputePassEncoderEnd,
|
|
9074
|
+
/** @export */ Ca: _wgpuComputePassEncoderSetBindGroup,
|
|
9075
|
+
/** @export */ Ba: _wgpuComputePassEncoderSetPipeline,
|
|
9076
|
+
/** @export */ Aa: _wgpuComputePipelineGetBindGroupLayout,
|
|
9077
9077
|
/** @export */ ea: _wgpuDeviceCreateBindGroup,
|
|
9078
|
-
/** @export */
|
|
9078
|
+
/** @export */ rb: _wgpuDeviceCreateBindGroupLayout,
|
|
9079
9079
|
/** @export */ K: _wgpuDeviceCreateCommandEncoder,
|
|
9080
|
-
/** @export */
|
|
9081
|
-
/** @export */
|
|
9082
|
-
/** @export */
|
|
9080
|
+
/** @export */ qb: _wgpuDeviceCreateComputePipeline,
|
|
9081
|
+
/** @export */ pb: _wgpuDeviceCreatePipelineLayout,
|
|
9082
|
+
/** @export */ Ua: _wgpuDeviceCreateRenderPipeline,
|
|
9083
9083
|
/** @export */ U: _wgpuDeviceCreateSampler,
|
|
9084
9084
|
/** @export */ da: _wgpuDeviceCreateTexture,
|
|
9085
9085
|
/** @export */ J: _wgpuQueueSubmit,
|
|
9086
|
-
/** @export */
|
|
9087
|
-
/** @export */
|
|
9088
|
-
/** @export */
|
|
9089
|
-
/** @export */
|
|
9090
|
-
/** @export */
|
|
9091
|
-
/** @export */
|
|
9092
|
-
/** @export */
|
|
9086
|
+
/** @export */ Ab: _wgpuQueueWriteBuffer,
|
|
9087
|
+
/** @export */ ob: _wgpuQueueWriteTexture,
|
|
9088
|
+
/** @export */ za: _wgpuRenderPassEncoderDraw,
|
|
9089
|
+
/** @export */ ya: _wgpuRenderPassEncoderEnd,
|
|
9090
|
+
/** @export */ xa: _wgpuRenderPassEncoderSetBindGroup,
|
|
9091
|
+
/** @export */ wa: _wgpuRenderPassEncoderSetPipeline,
|
|
9092
|
+
/** @export */ Ta: _wgpuRenderPipelineGetBindGroupLayout,
|
|
9093
9093
|
/** @export */ z: _wgpuTextureCreateView,
|
|
9094
|
-
/** @export */
|
|
9094
|
+
/** @export */ Sa: _wgpuTextureDestroy,
|
|
9095
9095
|
/** @export */ ca: _wgpuTextureGetFormat
|
|
9096
9096
|
};
|
|
9097
9097
|
|
|
Binary file
|
|
@@ -8366,12 +8366,12 @@ Module["FS_createLazyFile"] = FS_createLazyFile;
|
|
|
8366
8366
|
// End JS library exports
|
|
8367
8367
|
// end include: postlibrary.js
|
|
8368
8368
|
var ASM_CONSTS = {
|
|
8369
|
-
|
|
8369
|
+
1612148: $0 => {
|
|
8370
8370
|
const canvas = Emval.toValue($0);
|
|
8371
8371
|
const context = canvas.getContext("webgpu");
|
|
8372
8372
|
return WebGPU.importJsTexture(context.getCurrentTexture());
|
|
8373
8373
|
},
|
|
8374
|
-
|
|
8374
|
+
1612291: ($0, $1, $2, $3, $4) => {
|
|
8375
8375
|
const drawable = Emval.toValue($0);
|
|
8376
8376
|
const device = WebGPU.getJsObject($1);
|
|
8377
8377
|
const texture = WebGPU.getJsObject($2);
|
|
@@ -8383,7 +8383,7 @@ var ASM_CONSTS = {
|
|
|
8383
8383
|
texture
|
|
8384
8384
|
}, [ width, height ]);
|
|
8385
8385
|
},
|
|
8386
|
-
|
|
8386
|
+
1612550: ($0, $1, $2, $3) => {
|
|
8387
8387
|
const sourceExtTex = Emval.toValue($0);
|
|
8388
8388
|
const device = WebGPU.getJsObject($1);
|
|
8389
8389
|
const sampler = WebGPU.getJsObject($2);
|
|
@@ -8400,29 +8400,29 @@ var ASM_CONSTS = {
|
|
|
8400
8400
|
});
|
|
8401
8401
|
return WebGPU.importJsBindGroup(bindGroup);
|
|
8402
8402
|
},
|
|
8403
|
-
|
|
8403
|
+
1612920: ($0, $1) => {
|
|
8404
8404
|
const input = Emval.toValue($0);
|
|
8405
8405
|
const output = Emval.toValue($1);
|
|
8406
8406
|
const ctx = output.getContext("2d");
|
|
8407
8407
|
ctx.drawImage(input, 0, 0, output.width, output.height);
|
|
8408
8408
|
},
|
|
8409
|
-
|
|
8409
|
+
1613085: ($0, $1) => {
|
|
8410
8410
|
const inputArray = Emval.toValue($0);
|
|
8411
8411
|
const output = Emval.toValue($1);
|
|
8412
8412
|
const ctx = output.getContext("2d");
|
|
8413
8413
|
const image_data = new ImageData(inputArray, output.width, output.height);
|
|
8414
8414
|
ctx.putImageData(image_data, 0, 0);
|
|
8415
8415
|
},
|
|
8416
|
-
|
|
8416
|
+
1613309: ($0, $1) => {
|
|
8417
8417
|
const input = Emval.toValue($0);
|
|
8418
8418
|
const outputArray = Emval.toValue($1);
|
|
8419
8419
|
const ctx = input.getContext("2d");
|
|
8420
8420
|
const data = ctx.getImageData(0, 0, input.width, input.height);
|
|
8421
8421
|
outputArray.set(data.data);
|
|
8422
8422
|
},
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8423
|
+
1613513: () => (typeof HTMLCanvasElement !== "undefined"),
|
|
8424
|
+
1613568: () => !!Module["preinitializedWebGPUDevice"],
|
|
8425
|
+
1613619: () => {
|
|
8426
8426
|
specialHTMLTargets["#canvas"] = Module.canvas;
|
|
8427
8427
|
}
|
|
8428
8428
|
};
|
|
@@ -8871,7 +8871,7 @@ var wasmImports = {
|
|
|
8871
8871
|
/** @export */ ld: JsOnEmptyPacketListener,
|
|
8872
8872
|
/** @export */ kd: JsOnFloat32ArrayImageListener,
|
|
8873
8873
|
/** @export */ jd: JsOnFloat32ArrayImageVectorListener,
|
|
8874
|
-
/** @export */
|
|
8874
|
+
/** @export */ nb: JsOnSimpleListenerBinaryArray,
|
|
8875
8875
|
/** @export */ id: JsOnSimpleListenerBool,
|
|
8876
8876
|
/** @export */ hd: JsOnSimpleListenerDouble,
|
|
8877
8877
|
/** @export */ gd: JsOnSimpleListenerFloat,
|
|
@@ -8891,11 +8891,11 @@ var wasmImports = {
|
|
|
8891
8891
|
/** @export */ Vc: JsOnWebGLTextureListener,
|
|
8892
8892
|
/** @export */ Uc: JsOnWebGLTextureVectorListener,
|
|
8893
8893
|
/** @export */ Tc: JsWrapErrorListenerInternal,
|
|
8894
|
-
/** @export */
|
|
8894
|
+
/** @export */ mb: JsWrapImageConverter,
|
|
8895
8895
|
/** @export */ Sc: JsWrapLoggingHelpers,
|
|
8896
8896
|
/** @export */ v: JsWrapSimpleListeners,
|
|
8897
|
-
/** @export */
|
|
8898
|
-
/** @export */
|
|
8897
|
+
/** @export */ lb: UseBottomLeftGpuOrigin,
|
|
8898
|
+
/** @export */ wb: __asyncjs__mediapipe_map_buffer_jspi,
|
|
8899
8899
|
/** @export */ n: ___cxa_throw,
|
|
8900
8900
|
/** @export */ Rc: ___syscall_dup,
|
|
8901
8901
|
/** @export */ Qc: ___syscall_faccessat,
|
|
@@ -8909,32 +8909,32 @@ var wasmImports = {
|
|
|
8909
8909
|
/** @export */ Kc: ___syscall_lstat64,
|
|
8910
8910
|
/** @export */ Jc: ___syscall_mkdirat,
|
|
8911
8911
|
/** @export */ Ic: ___syscall_newfstatat,
|
|
8912
|
-
/** @export */
|
|
8912
|
+
/** @export */ Ra: ___syscall_openat,
|
|
8913
8913
|
/** @export */ Hc: ___syscall_readlinkat,
|
|
8914
8914
|
/** @export */ Gc: ___syscall_rmdir,
|
|
8915
8915
|
/** @export */ Fc: ___syscall_stat64,
|
|
8916
|
-
/** @export */
|
|
8916
|
+
/** @export */ kb: ___syscall_unlinkat,
|
|
8917
8917
|
/** @export */ Ec: ___syscall_utimensat,
|
|
8918
8918
|
/** @export */ zc: __abort_js,
|
|
8919
8919
|
/** @export */ Ib: __embind_register_bigint,
|
|
8920
8920
|
/** @export */ yc: __embind_register_bool,
|
|
8921
8921
|
/** @export */ xc: __embind_register_emval,
|
|
8922
|
-
/** @export */
|
|
8922
|
+
/** @export */ ib: __embind_register_float,
|
|
8923
8923
|
/** @export */ I: __embind_register_integer,
|
|
8924
8924
|
/** @export */ r: __embind_register_memory_view,
|
|
8925
8925
|
/** @export */ wc: __embind_register_std_string,
|
|
8926
|
-
/** @export */
|
|
8926
|
+
/** @export */ Pa: __embind_register_std_wstring,
|
|
8927
8927
|
/** @export */ vc: __embind_register_void,
|
|
8928
8928
|
/** @export */ ba: __emval_create_invoker,
|
|
8929
8929
|
/** @export */ q: __emval_decref,
|
|
8930
|
-
/** @export */
|
|
8931
|
-
/** @export */
|
|
8930
|
+
/** @export */ Oa: __emval_get_global,
|
|
8931
|
+
/** @export */ hb: __emval_get_property,
|
|
8932
8932
|
/** @export */ la: __emval_incref,
|
|
8933
|
-
/** @export */
|
|
8933
|
+
/** @export */ Na: __emval_instanceof,
|
|
8934
8934
|
/** @export */ aa: __emval_invoke,
|
|
8935
|
-
/** @export */
|
|
8935
|
+
/** @export */ va: __emval_new_cstring,
|
|
8936
8936
|
/** @export */ $: __emval_run_destructors,
|
|
8937
|
-
/** @export */
|
|
8937
|
+
/** @export */ gb: __emval_set_property,
|
|
8938
8938
|
/** @export */ uc: __emval_typeof,
|
|
8939
8939
|
/** @export */ Hb: __gmtime_js,
|
|
8940
8940
|
/** @export */ Gb: __localtime_js,
|
|
@@ -8945,15 +8945,15 @@ var wasmImports = {
|
|
|
8945
8945
|
/** @export */ Lb: _clock_time_get,
|
|
8946
8946
|
/** @export */ sc: custom_emscripten_dbgn,
|
|
8947
8947
|
/** @export */ _: _emscripten_asm_const_int,
|
|
8948
|
-
/** @export */
|
|
8949
|
-
/** @export */
|
|
8948
|
+
/** @export */ fb: _emscripten_asm_const_ptr,
|
|
8949
|
+
/** @export */ Ma: _emscripten_errn,
|
|
8950
8950
|
/** @export */ rc: _emscripten_get_heap_max,
|
|
8951
8951
|
/** @export */ y: _emscripten_get_now,
|
|
8952
8952
|
/** @export */ T: _emscripten_has_asyncify,
|
|
8953
8953
|
/** @export */ qc: _emscripten_outn,
|
|
8954
8954
|
/** @export */ pc: _emscripten_pc_get_function,
|
|
8955
8955
|
/** @export */ oc: _emscripten_resize_heap,
|
|
8956
|
-
/** @export */
|
|
8956
|
+
/** @export */ eb: _emscripten_stack_snapshot,
|
|
8957
8957
|
/** @export */ nc: _emscripten_stack_unwind_buffer,
|
|
8958
8958
|
/** @export */ mc: _emscripten_webgl_create_context,
|
|
8959
8959
|
/** @export */ lc: _emscripten_webgl_destroy_context,
|
|
@@ -8976,51 +8976,51 @@ var wasmImports = {
|
|
|
8976
8976
|
/** @export */ bc: _exit,
|
|
8977
8977
|
/** @export */ ma: _fd_close,
|
|
8978
8978
|
/** @export */ Kb: _fd_pread,
|
|
8979
|
-
/** @export */
|
|
8979
|
+
/** @export */ jb: _fd_read,
|
|
8980
8980
|
/** @export */ Jb: _fd_seek,
|
|
8981
|
-
/** @export */
|
|
8981
|
+
/** @export */ Qa: _fd_write,
|
|
8982
8982
|
/** @export */ b: _glActiveTexture,
|
|
8983
|
-
/** @export */
|
|
8983
|
+
/** @export */ ua: _glAttachShader,
|
|
8984
8984
|
/** @export */ ac: _glBindAttribLocation,
|
|
8985
8985
|
/** @export */ c: _glBindBuffer,
|
|
8986
|
-
/** @export */
|
|
8986
|
+
/** @export */ db: _glBindBufferBase,
|
|
8987
8987
|
/** @export */ t: _glBindFramebuffer,
|
|
8988
8988
|
/** @export */ a: _glBindTexture,
|
|
8989
8989
|
/** @export */ m: _glBindVertexArray,
|
|
8990
|
-
/** @export */
|
|
8990
|
+
/** @export */ cb: _glBlendEquation,
|
|
8991
8991
|
/** @export */ $b: _glBlendFunc,
|
|
8992
8992
|
/** @export */ j: _glBufferData,
|
|
8993
8993
|
/** @export */ P: _glClear,
|
|
8994
8994
|
/** @export */ O: _glClearColor,
|
|
8995
8995
|
/** @export */ fa: _glClientWaitSync,
|
|
8996
8996
|
/** @export */ ja: _glColorMask,
|
|
8997
|
-
/** @export */
|
|
8998
|
-
/** @export */
|
|
8999
|
-
/** @export */
|
|
8997
|
+
/** @export */ bb: _glCompileShader,
|
|
8998
|
+
/** @export */ ab: _glCreateProgram,
|
|
8999
|
+
/** @export */ La: _glCreateShader,
|
|
9000
9000
|
/** @export */ p: _glDeleteBuffers,
|
|
9001
9001
|
/** @export */ S: _glDeleteFramebuffers,
|
|
9002
9002
|
/** @export */ h: _glDeleteProgram,
|
|
9003
9003
|
/** @export */ ia: _glDeleteShader,
|
|
9004
|
-
/** @export */
|
|
9004
|
+
/** @export */ ta: _glDeleteSync,
|
|
9005
9005
|
/** @export */ D: _glDeleteTextures,
|
|
9006
9006
|
/** @export */ A: _glDeleteVertexArrays,
|
|
9007
|
-
/** @export */
|
|
9007
|
+
/** @export */ $a: _glDetachShader,
|
|
9008
9008
|
/** @export */ H: _glDisable,
|
|
9009
9009
|
/** @export */ o: _glDisableVertexAttribArray,
|
|
9010
9010
|
/** @export */ i: _glDrawArrays,
|
|
9011
9011
|
/** @export */ ha: _glDrawBuffers,
|
|
9012
9012
|
/** @export */ _b: _glEnable,
|
|
9013
9013
|
/** @export */ l: _glEnableVertexAttribArray,
|
|
9014
|
-
/** @export */
|
|
9015
|
-
/** @export */
|
|
9014
|
+
/** @export */ _a: _glFenceSync,
|
|
9015
|
+
/** @export */ sa: _glFinish,
|
|
9016
9016
|
/** @export */ x: _glFlush,
|
|
9017
9017
|
/** @export */ C: _glFramebufferTexture2D,
|
|
9018
|
-
/** @export */
|
|
9018
|
+
/** @export */ Za: _glFramebufferTextureLayer,
|
|
9019
9019
|
/** @export */ s: _glGenBuffers,
|
|
9020
9020
|
/** @export */ Z: _glGenFramebuffers,
|
|
9021
9021
|
/** @export */ G: _glGenTextures,
|
|
9022
9022
|
/** @export */ B: _glGenVertexArrays,
|
|
9023
|
-
/** @export */
|
|
9023
|
+
/** @export */ Ya: _glGetAttribLocation,
|
|
9024
9024
|
/** @export */ ga: _glGetError,
|
|
9025
9025
|
/** @export */ Zb: _glGetFloatv,
|
|
9026
9026
|
/** @export */ w: _glGetIntegerv,
|
|
@@ -9031,70 +9031,70 @@ var wasmImports = {
|
|
|
9031
9031
|
/** @export */ Vb: _glGetUniformBlockIndex,
|
|
9032
9032
|
/** @export */ d: _glGetUniformLocation,
|
|
9033
9033
|
/** @export */ Ub: _glLineWidth,
|
|
9034
|
-
/** @export */
|
|
9035
|
-
/** @export */
|
|
9036
|
-
/** @export */
|
|
9037
|
-
/** @export */
|
|
9034
|
+
/** @export */ Xa: _glLinkProgram,
|
|
9035
|
+
/** @export */ ra: _glPixelStorei,
|
|
9036
|
+
/** @export */ qa: _glReadPixels,
|
|
9037
|
+
/** @export */ Ka: _glShaderSource,
|
|
9038
9038
|
/** @export */ F: _glTexImage2D,
|
|
9039
|
-
/** @export */
|
|
9040
|
-
/** @export */
|
|
9039
|
+
/** @export */ pa: _glTexParameterf,
|
|
9040
|
+
/** @export */ Wa: _glTexParameterfv,
|
|
9041
9041
|
/** @export */ f: _glTexParameteri,
|
|
9042
|
-
/** @export */
|
|
9042
|
+
/** @export */ oa: _glTexStorage2D,
|
|
9043
9043
|
/** @export */ Tb: _glTexStorage3D,
|
|
9044
9044
|
/** @export */ Y: _glTexSubImage2D,
|
|
9045
9045
|
/** @export */ Sb: _glTexSubImage3D,
|
|
9046
9046
|
/** @export */ M: _glUniform1f,
|
|
9047
|
-
/** @export */
|
|
9047
|
+
/** @export */ na: _glUniform1fv,
|
|
9048
9048
|
/** @export */ e: _glUniform1i,
|
|
9049
9049
|
/** @export */ X: _glUniform2f,
|
|
9050
9050
|
/** @export */ Rb: _glUniform2fv,
|
|
9051
|
-
/** @export */
|
|
9052
|
-
/** @export */
|
|
9051
|
+
/** @export */ Ja: _glUniform3f,
|
|
9052
|
+
/** @export */ Va: _glUniform4f,
|
|
9053
9053
|
/** @export */ W: _glUniform4fv,
|
|
9054
9054
|
/** @export */ Qb: _glUniform4iv,
|
|
9055
9055
|
/** @export */ Pb: _glUniformBlockBinding,
|
|
9056
9056
|
/** @export */ Ob: _glUniformMatrix2fv,
|
|
9057
9057
|
/** @export */ Nb: _glUniformMatrix3fv,
|
|
9058
|
-
/** @export */
|
|
9058
|
+
/** @export */ Ia: _glUniformMatrix4fv,
|
|
9059
9059
|
/** @export */ g: _glUseProgram,
|
|
9060
9060
|
/** @export */ k: _glVertexAttribPointer,
|
|
9061
9061
|
/** @export */ V: _glViewport,
|
|
9062
|
-
/** @export */
|
|
9063
|
-
/** @export */
|
|
9064
|
-
/** @export */
|
|
9065
|
-
/** @export */
|
|
9066
|
-
/** @export */
|
|
9062
|
+
/** @export */ Ha: hardware_concurrency,
|
|
9063
|
+
/** @export */ zb: mediapipe_create_utility_canvas2d,
|
|
9064
|
+
/** @export */ yb: _mediapipe_find_canvas_event_target,
|
|
9065
|
+
/** @export */ xb: mediapipe_import_external_texture,
|
|
9066
|
+
/** @export */ vb: _mediapipe_webgl_tex_image_drawable,
|
|
9067
9067
|
/** @export */ Bc: _proc_exit,
|
|
9068
9068
|
/** @export */ Ac: _random_get,
|
|
9069
|
-
/** @export */
|
|
9070
|
-
/** @export */
|
|
9071
|
-
/** @export */
|
|
9072
|
-
/** @export */
|
|
9073
|
-
/** @export */
|
|
9069
|
+
/** @export */ Ga: _wgpuCommandEncoderBeginComputePass,
|
|
9070
|
+
/** @export */ Fa: _wgpuCommandEncoderBeginRenderPass,
|
|
9071
|
+
/** @export */ ub: _wgpuCommandEncoderCopyBufferToTexture,
|
|
9072
|
+
/** @export */ tb: _wgpuCommandEncoderCopyTextureToBuffer,
|
|
9073
|
+
/** @export */ sb: _wgpuCommandEncoderCopyTextureToTexture,
|
|
9074
9074
|
/** @export */ L: _wgpuCommandEncoderFinish,
|
|
9075
|
-
/** @export */
|
|
9076
|
-
/** @export */
|
|
9077
|
-
/** @export */
|
|
9078
|
-
/** @export */
|
|
9079
|
-
/** @export */
|
|
9075
|
+
/** @export */ Ea: _wgpuComputePassEncoderDispatchWorkgroups,
|
|
9076
|
+
/** @export */ Da: _wgpuComputePassEncoderEnd,
|
|
9077
|
+
/** @export */ Ca: _wgpuComputePassEncoderSetBindGroup,
|
|
9078
|
+
/** @export */ Ba: _wgpuComputePassEncoderSetPipeline,
|
|
9079
|
+
/** @export */ Aa: _wgpuComputePipelineGetBindGroupLayout,
|
|
9080
9080
|
/** @export */ ea: _wgpuDeviceCreateBindGroup,
|
|
9081
|
-
/** @export */
|
|
9081
|
+
/** @export */ rb: _wgpuDeviceCreateBindGroupLayout,
|
|
9082
9082
|
/** @export */ K: _wgpuDeviceCreateCommandEncoder,
|
|
9083
|
-
/** @export */
|
|
9084
|
-
/** @export */
|
|
9085
|
-
/** @export */
|
|
9083
|
+
/** @export */ qb: _wgpuDeviceCreateComputePipeline,
|
|
9084
|
+
/** @export */ pb: _wgpuDeviceCreatePipelineLayout,
|
|
9085
|
+
/** @export */ Ua: _wgpuDeviceCreateRenderPipeline,
|
|
9086
9086
|
/** @export */ U: _wgpuDeviceCreateSampler,
|
|
9087
9087
|
/** @export */ da: _wgpuDeviceCreateTexture,
|
|
9088
9088
|
/** @export */ J: _wgpuQueueSubmit,
|
|
9089
|
-
/** @export */
|
|
9090
|
-
/** @export */
|
|
9091
|
-
/** @export */
|
|
9092
|
-
/** @export */
|
|
9093
|
-
/** @export */
|
|
9094
|
-
/** @export */
|
|
9095
|
-
/** @export */
|
|
9089
|
+
/** @export */ Ab: _wgpuQueueWriteBuffer,
|
|
9090
|
+
/** @export */ ob: _wgpuQueueWriteTexture,
|
|
9091
|
+
/** @export */ za: _wgpuRenderPassEncoderDraw,
|
|
9092
|
+
/** @export */ ya: _wgpuRenderPassEncoderEnd,
|
|
9093
|
+
/** @export */ xa: _wgpuRenderPassEncoderSetBindGroup,
|
|
9094
|
+
/** @export */ wa: _wgpuRenderPassEncoderSetPipeline,
|
|
9095
|
+
/** @export */ Ta: _wgpuRenderPipelineGetBindGroupLayout,
|
|
9096
9096
|
/** @export */ z: _wgpuTextureCreateView,
|
|
9097
|
-
/** @export */
|
|
9097
|
+
/** @export */ Sa: _wgpuTextureDestroy,
|
|
9098
9098
|
/** @export */ ca: _wgpuTextureGetFormat
|
|
9099
9099
|
};
|
|
9100
9100
|
|
|
Binary file
|