MCPcopy Create free account

hub / github.com/Oslonline/dithering-studio / functions

Functions456 in github.com/Oslonline/dithering-studio

↓ 3 callersFunctioncreateMockVideoFile
( name: string = 'test.mp4', size: number = 1024 * 1024, type: string = 'video/mp4' )
src/test/fixtures.ts:136
↓ 3 callersFunctiondownloadImageAs
(fmt: "png" | "jpeg" | "webp")
src/pages/DitheringTool.tsx:471
↓ 3 callersMethodexecuteJob
* Execute a job on a worker
src/workers/WorkerPool.ts:211
↓ 3 callersMethodfindAvailableWorker
* Find an available worker or create one if needed
src/workers/WorkerPool.ts:152
↓ 3 callersFunctionflush
(xEnd: number)
src/utils/export.ts:356
↓ 3 callersFunctionfmt
(n: number | undefined)
src/components/ui/PerformanceOverlay.tsx:5
↓ 3 callersFunctiongetAlgorithmsByCategory
()
src/utils/algorithms/index.ts:72
↓ 3 callersFunctiongetDefaultTileConfig
(imageWidth: number, imageHeight: number)
src/utils/progressiveRendering.ts:35
↓ 3 callersFunctiongetPathLang
(pathname: string)
src/utils/localePath.ts:11
↓ 3 callersFunctiongetTranslatedAlgorithmDetails
()
src/utils/algorithmInfoTranslated.ts:9
↓ 3 callersFunctionisOffscreenCanvasSupported
()
src/utils/offscreenCanvas.ts:5
↓ 3 callersFunctionmakeImageFromData
(data: Uint8ClampedArray)
src/pages/AlgorithmExplorer.tsx:157
↓ 3 callersMethodmark
(label: string)
src/utils/perf.ts:15
↓ 3 callersFunctionorderRampDarkToLight
(raw: string)
src/utils/algorithms/asciiMosaic.ts:7
↓ 3 callersFunctionquantizeToPalette
(r: number, g: number, b: number, palette: RGB[], bias: number = 0)
src/utils/algorithms/paletteUtil.ts:7
↓ 3 callersFunctionreadFileIfExists
(filePath)
scripts/prerender.mjs:63
↓ 3 callersFunctionrunAtkinson
({ srcData, width, height, params }: AlgorithmRunContext)
src/utils/algorithms/errorDiffusion.ts:266
↓ 3 callersFunctionrunFalseFloydSteinberg
(ctx: AlgorithmRunContext)
src/utils/algorithms/errorDiffusion.ts:304
↓ 3 callersFunctiontoHex
(n: number)
src/utils/export.ts:397
↓ 2 callersFunctionblueNoiseThreshold
(x: number, y: number)
src/utils/algorithms/blueNoise.ts:39
↓ 2 callersFunctioncalculateTiles
( imageWidth: number, imageHeight: number, config: TileConfig )
src/utils/progressiveRendering.ts:76
↓ 2 callersFunctioncancelHaptic
()
src/utils/haptic.ts:49
↓ 2 callersFunctioncaptureFrame
()
src/utils/gifEncoder.ts:59
↓ 2 callersFunctionclamp01
(x: number)
src/utils/preprocess.ts:7
↓ 2 callersFunctioncreateGradientCanvas
( width: number, height: number )
src/test/utils/export.test.ts:42
↓ 2 callersFunctiondetectAllFeatures
()
src/utils/featureDetection.ts:197
↓ 2 callersFunctiondistribute
(x: number, y: number, err: number, leftToRight: boolean)
src/components/ui/PatternDrawer.tsx:582
↓ 2 callersFunctiondistribute
(x: number, y: number, err: number, l2r: boolean)
src/utils/algorithms/errorDiffusion.ts:306
↓ 2 callersFunctiondistribute
(x:number,y:number,err:number,l2r:boolean)
src/utils/algorithms/orderedAndOther.ts:52
↓ 2 callersMethodemit
()
src/utils/perf.ts:20
↓ 2 callersFunctionexportAtOriginalResolution
(params: ExportAtOriginalResolutionParams)
src/utils/export.ts:34
↓ 2 callersFunctionexportVideoFrameAtOriginalResolution
(params: ExportVideoFrameParams)
src/utils/export.ts:172
↓ 2 callersMethodflushActive
()
src/utils/perf.ts:17
↓ 2 callersFunctionformatTime
(seconds: number)
src/components/ui/ProcessingOverlay.tsx:58
↓ 2 callersMethodgetStats
Get statistics
src/types/performance.d.ts:84
↓ 2 callersFunctiongetWorkerPool
(config?: WorkerConfig)
src/workers/WorkerPool.ts:369
↓ 2 callersFunctionhandleMove
(clientX: number)
src/components/ui/MediaComparison.tsx:33
↓ 2 callersMethodhandleWorkerError
* Handle worker error
src/workers/WorkerPool.ts:101
↓ 2 callersMethodhandleWorkerMessage
* Handle message from worker
src/workers/WorkerPool.ts:65
↓ 2 callersFunctionkb
(b?: number | null)
src/components/ui/PerformanceOverlay.tsx:18
↓ 2 callersFunctionmakeAdaptiveFS
(radius: number)
src/utils/algorithms/errorDiffusion.ts:321
↓ 2 callersFunctionmkBox
(idxs:number[])
src/components/panels/PalettePanel.tsx:178
↓ 2 callersFunctionoutputPathForRoute
(route)
scripts/prerender.mjs:123
↓ 2 callersFunctionparseColor
(val: string)
src/components/panels/PalettePanel.tsx:54
↓ 2 callersFunctionpersistSettings
(settings: PersistedSettingsV1, debounceMs = 250)
src/state/settingsPersistence.ts:123
↓ 2 callersFunctionprocessFrame
()
src/hooks/useVideoDithering.ts:109
↓ 2 callersFunctionprocessImmediately
(imgs: File[], vids: File[])
src/hooks/useClipboardPaste.ts:53
↓ 2 callersFunctionremove
(id: string)
src/components/panels/PresetPanel.tsx:28
↓ 2 callersFunctionreplaceLangPrefix
(pathname: string, lang: SupportedLanguage)
src/utils/localePath.ts:35
↓ 2 callersMethodrestartWorker
* Restart a failed worker
src/workers/WorkerPool.ts:122
↓ 2 callersFunctionrgbToHex
(r: number, g: number, b: number)
src/utils/export.ts:394
↓ 2 callersFunctionrunAdaptiveOstromoukhov
(ctx: AlgorithmRunContext)
src/utils/algorithms/errorDiffusion.ts:313
↓ 2 callersFunctionstripLangPrefix
(pathname: string)
src/utils/localePath.ts:18
↓ 2 callersMethodterminate
* Terminate all workers
src/workers/WorkerPool.ts:352
↓ 2 callersFunctionupdateCell
(row: number, col: number, value: string)
src/components/panels/CustomKernelEditor.tsx:26
↓ 2 callersFunctionupdateColorAtIndex
(index: number, hexColor: string)
src/components/panels/PalettePanel.tsx:105
↓ 2 callersFunctionupdateDistances
(pIdx: number)
src/utils/algorithms/blueNoise.ts:17
↓ 2 callersFunctionupscaleCanvasNearestNeighbor
( sourceCanvas: HTMLCanvasElement, targetWidth: number, targetHeight: number )
src/utils/export.ts:282
↓ 2 callersFunctionuseClipboardPaste
({ videoMode, setVideoMode, navigate, activeLang, addImages, addVideos }: Params)
src/hooks/useClipboardPaste.ts:18
↓ 2 callersFunctionuseFileProcessor
()
src/hooks/useFileProcessor.ts:8
↓ 2 callersFunctionuseSettings
()
src/state/SettingsContext.tsx:45
↓ 2 callersFunctionuseToolKeyboardShortcuts
({ images, activeImageId, setActiveImageId, setFocusMode, setShowGrid, setGridSize, mediaActive }: Params)
src/hooks/useToolKeyboardShortcuts.ts:20
↓ 1 callersMethodacquire
* Get a buffer of the specified size * Reuses from pool if available, otherwise allocates new
src/utils/memoryManagement.ts:23
↓ 1 callersFunctionacquireBuffer
(size: number)
src/utils/memoryManagement.ts:118
↓ 1 callersFunctionaddColor
()
src/components/panels/PalettePanel.tsx:89
↓ 1 callersFunctionavg
(a:number[])
src/components/ui/PerformanceOverlay.tsx:56
↓ 1 callersFunctionbuildBayer
(n: number)
src/components/ui/PatternDrawer.tsx:665
↓ 1 callersFunctionbuildBayer
(n: number)
src/utils/algorithms/bayer.ts:21
↓ 1 callersFunctionbuildBlueNoiseRanking
()
src/utils/algorithms/blueNoise.ts:6
↓ 1 callersFunctionbuildShareUrl
()
src/pages/DitheringTool.tsx:414
↓ 1 callersFunctioncalc
()
src/components/ui/FocusHint.tsx:28
↓ 1 callersFunctioncalcHeights
()
src/hooks/useSettingsHeight.ts:6
↓ 1 callersFunctioncancelRename
()
src/components/panels/PresetPanel.tsx:44
↓ 1 callersFunctionchangeLanguage
(lng: string)
src/components/ui/LanguageSwitcher.tsx:25
↓ 1 callersFunctioncoerceArray
(a: any)
src/state/settingsPersistence.ts:48
↓ 1 callersFunctioncoercePalette
(p: any)
src/state/settingsPersistence.ts:49
↓ 1 callersFunctioncommitRename
()
src/components/panels/PresetPanel.tsx:34
↓ 1 callersFunctioncompareImageData
( img1: ImageData, img2: ImageData, tolerance: number = 0 )
src/test/algorithmTestUtils.ts:107
↓ 1 callersFunctioncomputeMeanMap
(src: Uint8ClampedArray, width: number, height: number, radius: number)
src/utils/algorithms/errorDiffusion.ts:354
↓ 1 callersFunctioncopyFrameToClipboard
()
src/components/dialogs/ExportDialog.tsx:94
↓ 1 callersFunctioncreateGifFromCanvas
( canvasRef: HTMLCanvasElement, videoElement: HTMLVideoElement, fps: number, onProgress?: (progress: n
src/utils/gifEncoder.ts:9
↓ 1 callersFunctioncreateOffscreenCanvasFromImageData
(imageData: ImageData)
src/utils/offscreenCanvas.ts:40
↓ 1 callersFunctioncreatePreset
(name: string, params: Omit<DitherPreset, 'id' | 'name' | 'createdAt' | 'updatedAt' | 'version'>)
src/utils/presets.ts:33
↓ 1 callersFunctioncreateRiemersmaRunner
( weights: number[] = [1/16, 1/8, 1/4, 1/2], bufferSize: number = 16 )
src/utils/algorithms/riemersma.ts:62
↓ 1 callersFunctioncreateStaticServer
()
scripts/prerender.mjs:73
↓ 1 callersFunctiondeserializePreset
(s: string)
src/utils/presets.ts:41
↓ 1 callersFunctiondetectClipboardSupport
()
src/utils/featureDetection.ts:110
↓ 1 callersFunctiondetectDownloadSupport
()
src/utils/featureDetection.ts:125
↓ 1 callersFunctiondetectFileUploadSupport
()
src/utils/featureDetection.ts:92
↓ 1 callersFunctiondetectLocalStorageSupport
()
src/utils/featureDetection.ts:142
↓ 1 callersFunctiondetectOffscreenCanvasSupport
()
src/utils/featureDetection.ts:30
↓ 1 callersFunctiondetectVideoSupport
()
src/utils/featureDetection.ts:64
↓ 1 callersFunctiondetectWebGLSupport
()
src/utils/featureDetection.ts:160
↓ 1 callersFunctiondetectWorkerSupport
()
src/utils/featureDetection.ts:15
↓ 1 callersFunctiondist
(x: [number, number, number], y: [number, number, number])
src/components/panels/PalettePanel.tsx:33
↓ 1 callersFunctiondownloadAsSVG
()
src/pages/DitheringTool.tsx:596
↓ 1 callersFunctionevalDevice
()
src/components/ui/FocusHint.tsx:16
↓ 1 callersFunctionexportSingle
(p: DitherPreset)
src/components/panels/PresetPanel.tsx:60
↓ 1 callersFunctionextractTileImageData
( sourceImageData: ImageData, tile: Tile )
src/utils/progressiveRendering.ts:114
↓ 1 callersFunctionfallbackStaticCopies
(reason)
scripts/prerender.mjs:149
← previousnext →101–200 of 456, ranked by callers