New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@camera.ui/camera-ui-wasm-motion

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@camera.ui/camera-ui-wasm-motion - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

101

dist/wasm/build/detector.d.ts

@@ -86,103 +86,2 @@ declare namespace __AdaptedExports {

};
/**
* assembly/test/blurFrameSIMD
* @param framePtr `usize`
* @param tempFramePtr `usize`
* @param width `i32`
* @param height `i32`
* @param radius `i32`
*/
export function blurFrameSIMD(framePtr: number, tempFramePtr: number, width: number, height: number, radius: number): void;
/**
* assembly/test/detectMotionSIMD
* @param prevFramePtr `usize`
* @param currentFramePtr `usize`
* @param width `i32`
* @param height `i32`
* @param threshold `i32`
* @param motionMaskPtr `usize`
*/
export function detectMotionSIMD(prevFramePtr: number, currentFramePtr: number, width: number, height: number, threshold: number, motionMaskPtr: number): void;
/**
* assembly/test/dilateMotionMask
* @param motionMaskPtr `usize`
* @param tempMaskPtr `usize`
* @param width `i32`
* @param height `i32`
* @param dilationSize `i32`
*/
export function dilateMotionMask(motionMaskPtr: number, tempMaskPtr: number, width: number, height: number, dilationSize: number): void;
/**
* assembly/test/calculateBoundingBoxes
* @param motionMaskPtr `usize`
* @param visitedPtr `usize`
* @param width `i32`
* @param height `i32`
* @param motionArea `i32`
* @param boundingBoxesPtr `usize`
* @param stackXPtr `usize`
* @param stackYPtr `usize`
* @returns `i32`
*/
export function calculateBoundingBoxes(motionMaskPtr: number, visitedPtr: number, width: number, height: number, motionArea: number, boundingBoxesPtr: number, stackXPtr: number, stackYPtr: number): number;
/**
* assembly/test/calculateBoundingBoxesSIMD
* @param motionMaskPtr `usize`
* @param visitedPtr `usize`
* @param width `i32`
* @param height `i32`
* @param motionArea `i32`
* @param boundingBoxesPtr `usize`
* @param stackXPtr `usize`
* @param stackYPtr `usize`
* @returns `i32`
*/
export function calculateBoundingBoxesSIMD(motionMaskPtr: number, visitedPtr: number, width: number, height: number, motionArea: number, boundingBoxesPtr: number, stackXPtr: number, stackYPtr: number): number;
/**
* assembly/test2/detectMotion
* @param prevFramePtr `usize`
* @param curFramePtr `usize`
* @param blurFrame1Ptr `usize`
* @param blurFrame2Ptr `usize`
* @param motionMaskPtr `usize`
* @param dilateMaskPtr `usize`
* @param boundingBoxesPtr `usize`
* @param width `i32`
* @param height `i32`
* @param blurRadius `i32`
* @param threshold `i32`
* @param dilationSize `i32`
* @param motionArea `i32`
* @returns `i32`
*/
export function detectMotion(prevFramePtr: number, curFramePtr: number, blurFrame1Ptr: number, blurFrame2Ptr: number, motionMaskPtr: number, dilateMaskPtr: number, boundingBoxesPtr: number, width: number, height: number, blurRadius: number, threshold: number, dilationSize: number, motionArea: number): number;
/**
* assembly/test3/blurFrame
* @param framePtr `usize`
* @param blurPtr `usize`
* @param width `i32`
* @param height `i32`
* @param radius `i32`
*/
export function blurFrame(framePtr: number, blurPtr: number, width: number, height: number, radius: number): void;
/**
* assembly/test3/detectMotion
* @param frame1Ptr `usize`
* @param frame2Ptr `usize`
* @param blurredFrame1Ptr `usize`
* @param blurredFrame2Ptr `usize`
* @param maskPtr `usize`
* @param dilatePtr `usize`
* @param visitedPtr `usize`
* @param queuePtr `usize`
* @param boxesPtr `usize`
* @param width `i32`
* @param height `i32`
* @param blurRadius `i32`
* @param dilationSize `i32`
* @param motionThreshold `i32`
* @param motionArea `i32`
* @returns `i32`
*/
export function detectMotion(frame1Ptr: number, frame2Ptr: number, blurredFrame1Ptr: number, blurredFrame2Ptr: number, maskPtr: number, dilatePtr: number, visitedPtr: number, queuePtr: number, boxesPtr: number, width: number, height: number, blurRadius: number, dilationSize: number, motionThreshold: number, motionArea: number): number;
}

@@ -189,0 +88,0 @@ /** Instantiates the compiled WebAssembly module with the given imports. */

6

package.json
{
"displayName": "WASM Motion",
"name": "@camera.ui/camera-ui-wasm-motion",
"version": "0.0.10",
"version": "0.0.11",
"description": "camera.ui wasm motion detection plugin",

@@ -45,4 +45,4 @@ "author": "seydx (https://github.com/seydx/camera.ui)",

"engines": {
"camera.ui": ">=0.0.31-alpha.0",
"node": ">=18.12.0"
"camera.ui": ">=0.0.31-alpha.1",
"node": ">=20.17.0"
},

@@ -49,0 +49,0 @@ "homepage": "https://github.com/seydx/camera.ui#readme",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc