@automovie/render 0.2.0 → 0.3.0
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/lib/IAutoMovieCaptionEntry.d.ts +1 -28
- package/lib/IAutoMovieCaptionSidecar.d.ts +1 -25
- package/lib/IAutoMovieCapturedFrame.d.ts +1 -22
- package/lib/IAutoMovieGuidePassOutput.d.ts +1 -23
- package/lib/IAutoMoviePoseKeypointActor.d.ts +1 -36
- package/lib/IAutoMoviePoseKeypointFrame.d.ts +1 -25
- package/lib/IAutoMoviePoseKeypointSidecar.d.ts +1 -21
- package/lib/IAutoMovieRenderAdapters.d.ts +1 -34
- package/lib/IAutoMovieRenderAndSeeRequest.d.ts +1 -32
- package/lib/IAutoMovieRenderAndSeeResult.d.ts +1 -20
- package/lib/IAutoMovieRenderChunk.d.ts +1 -48
- package/lib/IAutoMovieRenderChunkPlan.d.ts +1 -32
- package/lib/IAutoMovieRenderPassManifest.d.ts +1 -21
- package/lib/IAutoMovieRenderReassembly.d.ts +1 -24
- package/lib/IAutoMovieRenderResult.d.ts +1 -39
- package/lib/IAutoMovieSequenceRenderAdapters.d.ts +1 -36
- package/lib/IAutoMovieSequenceRenderAndSeeRequest.d.ts +1 -36
- package/lib/IAutoMovieSequenceRenderAndSeeResult.d.ts +1 -23
- package/lib/IAutoMovieSequenceRenderFrame.d.ts +1 -41
- package/lib/IAutoMovieSequenceRenderPlan.d.ts +1 -76
- package/lib/IAutoMovieSequenceRenderResult.d.ts +1 -44
- package/lib/IAutoMovieSequenceRenderShotSpan.d.ts +1 -39
- package/lib/IAutoMovieSequenceRenderTransitionSpan.d.ts +1 -39
- package/lib/audio/mixAutoMovieAudioPcm.d.ts +2 -39
- package/lib/audio/mixAutoMovieAudioPcm.js.map +1 -1
- package/lib/audio/mixAutoMovieAudioPcm.mjs.map +1 -1
- package/lib/auditAutoMovieRenderObservation.d.ts +2 -14
- package/lib/auditAutoMovieRenderObservation.js.map +1 -1
- package/lib/auditAutoMovieRenderObservation.mjs.map +1 -1
- package/lib/cache/createAutoMovieHttpArtifactStore.d.ts +1 -1
- package/lib/cache/createAutoMovieHttpArtifactStore.mjs.map +1 -1
- package/lib/caption/IAutoMovieBeatCaption.d.ts +1 -22
- package/lib/caption/beatCaptions.d.ts +1 -2
- package/lib/caption/beatCaptions.js.map +1 -1
- package/lib/caption/beatCaptions.mjs.map +1 -1
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.d.ts +1 -12
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js.map +1 -1
- package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.mjs.map +1 -1
- package/lib/caption/parseAutoMovieCaptionLanguage.d.ts +1 -14
- package/lib/caption/parseAutoMovieCaptionLanguage.js.map +1 -1
- package/lib/caption/parseAutoMovieCaptionLanguage.mjs.map +1 -1
- package/lib/capture/AutoMovieCaptureFolder.d.ts +3 -13
- package/lib/capture/AutoMovieCaptureFolder.js.map +1 -1
- package/lib/capture/AutoMovieCaptureFolder.mjs.map +1 -1
- package/lib/capture/IAutoMovieCaptureBudget.d.ts +1 -24
- package/lib/capture/IAutoMovieCaptureCell.d.ts +1 -33
- package/lib/capture/IAutoMovieCaptureComparison.d.ts +1 -75
- package/lib/capture/IAutoMovieCaptureDrawing.d.ts +1 -56
- package/lib/capture/IAutoMovieCaptureLayout.d.ts +1 -47
- package/lib/capture/IAutoMovieCapturePlan.d.ts +1 -30
- package/lib/capture/IAutoMovieCapturePlanRequest.d.ts +1 -97
- package/lib/capture/IAutoMovieCaptureRecord.d.ts +1 -134
- package/lib/capture/IAutoMovieCaptureRequestSource.d.ts +1 -36
- package/lib/capture/IAutoMovieCaptureResolution.d.ts +1 -20
- package/lib/capture/IAutoMovieCaptureSelection.d.ts +1 -23
- package/lib/capture/IAutoMovieCaptureStorage.d.ts +1 -76
- package/lib/capture/IAutoMovieCaptureSubject.d.ts +1 -81
- package/lib/capture/IAutoMovieCaptureTime.d.ts +1 -16
- package/lib/capture/IAutoMovieCaptureWindow.d.ts +1 -24
- package/lib/capture/compareAutoMovieCaptureRounds.d.ts +2 -23
- package/lib/capture/compareAutoMovieCaptureRounds.js.map +1 -1
- package/lib/capture/compareAutoMovieCaptureRounds.mjs.map +1 -1
- package/lib/capture/formatAutoMovieCapturePlanRequest.d.ts +1 -1
- package/lib/capture/formatAutoMovieCapturePlanRequest.js.map +1 -1
- package/lib/capture/formatAutoMovieCapturePlanRequest.mjs.map +1 -1
- package/lib/capture/markAutoMovieCaptureCell.d.ts +1 -1
- package/lib/capture/markAutoMovieCaptureCell.mjs.map +1 -1
- package/lib/capture/parseAutoMovieCapturePlanRequest.d.ts +1 -2
- package/lib/capture/parseAutoMovieCapturePlanRequest.js.map +1 -1
- package/lib/capture/parseAutoMovieCapturePlanRequest.mjs.map +1 -1
- package/lib/capture/planAutoMovieCapture.d.ts +2 -11
- package/lib/capture/planAutoMovieCapture.js.map +1 -1
- package/lib/capture/planAutoMovieCapture.mjs.map +1 -1
- package/lib/capture/planAutoMovieCaptureFrames.d.ts +2 -22
- package/lib/capture/planAutoMovieCaptureFrames.js.map +1 -1
- package/lib/capture/planAutoMovieCaptureFrames.mjs.map +1 -1
- package/lib/capture/planAutoMovieCaptureLayout.d.ts +2 -16
- package/lib/capture/planAutoMovieCaptureLayout.js.map +1 -1
- package/lib/capture/planAutoMovieCaptureLayout.mjs.map +1 -1
- package/lib/capture/planAutoMovieVideoFrames.d.ts +2 -8
- package/lib/capture/planAutoMovieVideoFrames.js.map +1 -1
- package/lib/capture/planAutoMovieVideoFrames.mjs.map +1 -1
- package/lib/capture/planAutoMovieVideoSceneCuts.d.ts +2 -8
- package/lib/capture/planAutoMovieVideoSceneCuts.js.map +1 -1
- package/lib/capture/planAutoMovieVideoSceneCuts.mjs.map +1 -1
- package/lib/capture/readAutoMovieVideoSceneCuts.d.ts +2 -6
- package/lib/capture/readAutoMovieVideoSceneCuts.js.map +1 -1
- package/lib/capture/readAutoMovieVideoSceneCuts.mjs.map +1 -1
- package/lib/capture/resolveAutoMovieCapturePatterns.d.ts +2 -10
- package/lib/capture/resolveAutoMovieCapturePatterns.js.map +1 -1
- package/lib/capture/resolveAutoMovieCapturePatterns.mjs.map +1 -1
- package/lib/capture/runAutoMovieCapture.d.ts +2 -21
- package/lib/capture/runAutoMovieCapture.js.map +1 -1
- package/lib/capture/runAutoMovieCapture.mjs.map +1 -1
- package/lib/capture/runAutoMovieVideoCapture.d.ts +2 -20
- package/lib/capture/runAutoMovieVideoCapture.js.map +1 -1
- package/lib/capture/runAutoMovieVideoCapture.mjs.map +1 -1
- package/lib/capture/scaleAutoMovieCaptureLabels.d.ts +2 -5
- package/lib/capture/scaleAutoMovieCaptureLabels.js.map +1 -1
- package/lib/capture/scaleAutoMovieCaptureLabels.mjs.map +1 -1
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.d.ts +2 -6
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js.map +1 -1
- package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.mjs.map +1 -1
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.d.ts +2 -14
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js.map +1 -1
- package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.mjs.map +1 -1
- package/lib/delivery/AutoMovieProductionPngRole.d.ts +1 -14
- package/lib/delivery/IAutoMovieProductionPngProfile.d.ts +1 -41
- package/lib/delivery/IAutoMovieProductionVideoProfile.d.ts +1 -46
- package/lib/delivery/assertAutoMovieCaptureClock.d.ts +2 -9
- package/lib/delivery/assertAutoMovieCaptureClock.js.map +1 -1
- package/lib/delivery/assertAutoMovieCaptureClock.mjs.map +1 -1
- package/lib/delivery/assertProductionPngPicture.d.ts +2 -6
- package/lib/delivery/assertProductionPngPicture.js.map +1 -1
- package/lib/delivery/assertProductionPngPicture.mjs.map +1 -1
- package/lib/delivery/assertProductionVideoProfile.d.ts +2 -6
- package/lib/delivery/assertProductionVideoProfile.js.map +1 -1
- package/lib/delivery/assertProductionVideoProfile.mjs.map +1 -1
- package/lib/delivery/auditAutoMovieDecodedFrames.d.ts +2 -35
- package/lib/delivery/auditAutoMovieDecodedFrames.js.map +1 -1
- package/lib/delivery/auditAutoMovieDecodedFrames.mjs.map +1 -1
- package/lib/delivery/auditAutoMovieEncodedPresentation.d.ts +2 -8
- package/lib/delivery/auditAutoMovieEncodedPresentation.js.map +1 -1
- package/lib/delivery/auditAutoMovieEncodedPresentation.mjs.map +1 -1
- package/lib/delivery/planAutoMovieVideoEncoding.d.ts +2 -18
- package/lib/delivery/planAutoMovieVideoEncoding.js.map +1 -1
- package/lib/delivery/planAutoMovieVideoEncoding.mjs.map +1 -1
- package/lib/delivery/productionOpusDescription.d.ts +2 -6
- package/lib/delivery/productionOpusDescription.js.map +1 -1
- package/lib/delivery/productionOpusDescription.mjs.map +1 -1
- package/lib/delivery/resolveProductionPngProfile.d.ts +2 -7
- package/lib/delivery/resolveProductionPngProfile.js.map +1 -1
- package/lib/delivery/resolveProductionPngProfile.mjs.map +1 -1
- package/lib/delivery/resolveProductionVideoProfile.d.ts +2 -7
- package/lib/delivery/resolveProductionVideoProfile.js.map +1 -1
- package/lib/delivery/resolveProductionVideoProfile.mjs.map +1 -1
- package/lib/draw/AutoMovieDrawSession.d.ts +3 -16
- package/lib/draw/AutoMovieDrawSession.js.map +1 -1
- package/lib/draw/AutoMovieDrawSession.mjs.map +1 -1
- package/lib/draw/IAutoMovieDrawCall.d.ts +1 -27
- package/lib/draw/IAutoMovieDrawDescription.d.ts +1 -15
- package/lib/draw/IAutoMovieDrawFunction.d.ts +1 -3
- package/lib/draw/IAutoMovieDrawResult.d.ts +1 -36
- package/lib/draw/IAutoMovieDrawScene.d.ts +9 -2
- package/lib/draw/decodeAutoMovieDrawPixels.d.ts +2 -6
- package/lib/draw/decodeAutoMovieDrawPixels.js.map +1 -1
- package/lib/draw/decodeAutoMovieDrawPixels.mjs.map +1 -1
- package/lib/draw/describeAutoMovieDrawScene.d.ts +4 -4
- package/lib/draw/describeAutoMovieDrawScene.js +10 -4
- package/lib/draw/describeAutoMovieDrawScene.js.map +1 -1
- package/lib/draw/describeAutoMovieDrawScene.mjs +8 -4
- package/lib/draw/describeAutoMovieDrawScene.mjs.map +1 -1
- package/lib/draw/index.d.ts +1 -0
- package/lib/draw/index.js +1 -0
- package/lib/draw/index.js.map +1 -1
- package/lib/draw/index.mjs +2 -1
- package/lib/draw/installAutoMovieDraw.d.ts +6 -6
- package/lib/draw/installAutoMovieDraw.js +18 -23
- package/lib/draw/installAutoMovieDraw.js.map +1 -1
- package/lib/draw/installAutoMovieDraw.mjs +16 -23
- package/lib/draw/installAutoMovieDraw.mjs.map +1 -1
- package/lib/draw/planAutoMovieDrawCall.d.ts +1 -3
- package/lib/draw/planAutoMovieDrawCall.js.map +1 -1
- package/lib/draw/planAutoMovieDrawCall.mjs.map +1 -1
- package/lib/draw/renderAutoMovieDrawnVideo.d.ts +2 -12
- package/lib/draw/renderAutoMovieDrawnVideo.js.map +1 -1
- package/lib/draw/renderAutoMovieDrawnVideo.mjs.map +1 -1
- package/lib/draw/replaceAutoMovieDrawInspection.d.ts +24 -0
- package/lib/draw/replaceAutoMovieDrawInspection.js +29 -0
- package/lib/draw/replaceAutoMovieDrawInspection.js.map +1 -0
- package/lib/draw/replaceAutoMovieDrawInspection.mjs +29 -0
- package/lib/draw/replaceAutoMovieDrawInspection.mjs.map +1 -0
- package/lib/draw/stampAutoMovieDrawLegend.d.ts +2 -4
- package/lib/draw/stampAutoMovieDrawLegend.js.map +1 -1
- package/lib/draw/stampAutoMovieDrawLegend.mjs.map +1 -1
- package/lib/film/AutoMovieOrderedScalar.d.ts +1 -15
- package/lib/film/IAutoMovieProductionAudioAssetIdentity.d.ts +1 -28
- package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.d.ts +1 -29
- package/lib/film/IAutoMovieProductionEncoderIdentity.d.ts +1 -36
- package/lib/film/IAutoMovieProductionRenderChunk.d.ts +1 -39
- package/lib/film/IAutoMovieProductionRenderJobPlan.d.ts +1 -53
- package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.d.ts +1 -31
- package/lib/film/IAutoMovieProductionRenderTier.d.ts +1 -25
- package/lib/film/equalOrderedScalars.d.ts +2 -5
- package/lib/film/equalOrderedScalars.js.map +1 -1
- package/lib/film/equalOrderedScalars.mjs.map +1 -1
- package/lib/film/normalizeAudioAssets.d.ts +1 -1
- package/lib/film/normalizeAudioAssets.js.map +1 -1
- package/lib/film/normalizeAudioAssets.mjs.map +1 -1
- package/lib/film/normalizeRenderTier.d.ts +1 -1
- package/lib/film/normalizeRenderTier.mjs.map +1 -1
- package/lib/film/planProductionRenderJob.d.ts +2 -16
- package/lib/film/planProductionRenderJob.js.map +1 -1
- package/lib/film/planProductionRenderJob.mjs.map +1 -1
- package/lib/film/resolveProductionRenderTierFrameFormat.d.ts +1 -2
- package/lib/film/resolveProductionRenderTierFrameFormat.mjs.map +1 -1
- package/lib/film/validWaveAudioIdentity.d.ts +1 -1
- package/lib/film/validWaveAudioIdentity.mjs.map +1 -1
- package/lib/index.mjs +8 -7
- package/lib/picture/AutoMovieRasterSheet.d.ts +2 -2
- package/lib/picture/AutoMovieRasterSheet.js.map +1 -1
- package/lib/picture/AutoMovieRasterSheet.mjs.map +1 -1
- package/lib/picture/IAutoMovieRasterComparison.d.ts +1 -33
- package/lib/picture/IAutoMovieRasterImage.d.ts +1 -17
- package/lib/picture/compareAutoMovieRasters.d.ts +1 -2
- package/lib/picture/compareAutoMovieRasters.js.map +1 -1
- package/lib/picture/compareAutoMovieRasters.mjs.map +1 -1
- package/lib/picture/decodeAutoMovieRasterPng.d.ts +1 -1
- package/lib/picture/decodeAutoMovieRasterPng.js.map +1 -1
- package/lib/picture/decodeAutoMovieRasterPng.mjs.map +1 -1
- package/lib/picture/encodeAutoMovieRasterPng.d.ts +1 -1
- package/lib/picture/encodeAutoMovieRasterPng.js.map +1 -1
- package/lib/picture/encodeAutoMovieRasterPng.mjs.map +1 -1
- package/lib/picture/hashAutoMovieRasterImage.d.ts +1 -1
- package/lib/picture/hashAutoMovieRasterImage.mjs.map +1 -1
- package/lib/picture/stampAutoMovieRasterLabel.d.ts +2 -5
- package/lib/picture/stampAutoMovieRasterLabel.js.map +1 -1
- package/lib/picture/stampAutoMovieRasterLabel.mjs.map +1 -1
- package/lib/planCaptionSidecar.d.ts +2 -8
- package/lib/planCaptionSidecar.js.map +1 -1
- package/lib/planCaptionSidecar.mjs.map +1 -1
- package/lib/planChunkedSequenceRender.d.ts +2 -9
- package/lib/planChunkedSequenceRender.js.map +1 -1
- package/lib/planChunkedSequenceRender.mjs.map +1 -1
- package/lib/planGuidePassOutputs.d.ts +2 -6
- package/lib/planGuidePassOutputs.js.map +1 -1
- package/lib/planGuidePassOutputs.mjs.map +1 -1
- package/lib/planPoseKeypointSidecar.d.ts +2 -12
- package/lib/planPoseKeypointSidecar.js.map +1 -1
- package/lib/planPoseKeypointSidecar.mjs.map +1 -1
- package/lib/planSequenceRender.d.ts +2 -9
- package/lib/planSequenceRender.js.map +1 -1
- package/lib/planSequenceRender.mjs.map +1 -1
- package/lib/planViewerFrameTimes.d.ts +2 -16
- package/lib/planViewerFrameTimes.js.map +1 -1
- package/lib/planViewerFrameTimes.mjs.map +1 -1
- package/lib/renderAndSee.d.ts +1 -2
- package/lib/renderAndSee.js.map +1 -1
- package/lib/renderAndSee.mjs.map +1 -1
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.d.ts +1 -41
- package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.d.ts +1 -53
- package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.d.ts +1 -27
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.d.ts +2 -13
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js.map +1 -1
- package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.mjs.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.d.ts +2 -8
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.mjs.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.d.ts +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.mjs.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.d.ts +1 -2
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.mjs.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.d.ts +2 -8
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js.map +1 -1
- package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.mjs.map +1 -1
- package/lib/renderCaptionSidecar.d.ts +1 -1
- package/lib/renderCaptionSidecar.mjs.map +1 -1
- package/lib/renderPoseKeypointSidecar.d.ts +1 -1
- package/lib/renderPoseKeypointSidecar.mjs.map +1 -1
- package/lib/renderSequenceAndSee.d.ts +1 -2
- package/lib/renderSequenceAndSee.js.map +1 -1
- package/lib/renderSequenceAndSee.mjs.map +1 -1
- package/lib/renderSequenceVideo.d.ts +1 -3
- package/lib/renderSequenceVideo.js.map +1 -1
- package/lib/renderSequenceVideo.mjs.map +1 -1
- package/lib/renderVideo.d.ts +1 -3
- package/lib/renderVideo.js.map +1 -1
- package/lib/renderVideo.mjs.map +1 -1
- package/lib/scene/AutoMovieFilmBeautyComposition.d.ts +1 -25
- package/lib/scene/AutoMoviePlayer.d.ts +1 -2
- package/lib/scene/AutoMoviePlayer.js.map +1 -1
- package/lib/scene/AutoMoviePlayer.mjs.map +1 -1
- package/lib/scene/IApplyAutoMovieSectionPlanesProps.d.ts +1 -1
- package/lib/scene/IAutoMovieFilmBeautyLayer.d.ts +1 -12
- package/lib/scene/IAutoMovieFormationPoseTake.d.ts +1 -22
- package/lib/scene/IAutoMovieFormationViewerObject.d.ts +1 -2
- package/lib/scene/IAutoMovieRigLocalTransform.d.ts +1 -15
- package/lib/scene/IAutoMovieSpringAxisSettlement.d.ts +2 -2
- package/lib/scene/IBakeFormationCycleProps.d.ts +1 -2
- package/lib/scene/applyAutoMovieRigLocals.d.ts +1 -2
- package/lib/scene/applyAutoMovieRigLocals.js.map +1 -1
- package/lib/scene/applyAutoMovieRigLocals.mjs.map +1 -1
- package/lib/scene/applyAutoMovieSectionPlanes.mjs.map +1 -1
- package/lib/scene/applyFormationCycleCadence.d.ts +1 -1
- package/lib/scene/applyFormationCycleCadence.mjs.map +1 -1
- package/lib/scene/applyPose.d.ts +1 -2
- package/lib/scene/applyPose.js.map +1 -1
- package/lib/scene/applyPose.mjs.map +1 -1
- package/lib/scene/applyRenderMode.js.map +1 -1
- package/lib/scene/applyRenderMode.mjs.map +1 -1
- package/lib/scene/applySampledObjectMotion.d.ts +1 -1
- package/lib/scene/applySampledObjectMotion.mjs.map +1 -1
- package/lib/scene/applySemanticMaskMode.d.ts +1 -1
- package/lib/scene/applySemanticMaskMode.js.map +1 -1
- package/lib/scene/applySemanticMaskMode.mjs.map +1 -1
- package/lib/scene/autoMovieAnalysisRampColor.d.ts +2 -5
- package/lib/scene/autoMovieAnalysisRampColor.js.map +1 -1
- package/lib/scene/autoMovieAnalysisRampColor.mjs.map +1 -1
- package/lib/scene/bakeFormationCycle.d.ts +2 -1
- package/lib/scene/bakeFormationCycle.js +3 -2
- package/lib/scene/bakeFormationCycle.js.map +1 -1
- package/lib/scene/bakeFormationCycle.mjs +3 -2
- package/lib/scene/bakeFormationCycle.mjs.map +1 -1
- package/lib/scene/buildAutoMovieConstruction.d.ts +2 -5
- package/lib/scene/buildAutoMovieConstruction.js.map +1 -1
- package/lib/scene/buildAutoMovieConstruction.mjs.map +1 -1
- package/lib/scene/buildGeometry.d.ts +1 -1
- package/lib/scene/buildGeometry.js.map +1 -1
- package/lib/scene/buildGeometry.mjs.map +1 -1
- package/lib/scene/buildInstancedEffect.js.map +1 -1
- package/lib/scene/buildInstancedEffect.mjs.map +1 -1
- package/lib/scene/buildInstancedFormation.js.map +1 -1
- package/lib/scene/buildInstancedFormation.mjs.map +1 -1
- package/lib/scene/buildSpaceObject.js.map +1 -1
- package/lib/scene/buildSpaceObject.mjs.map +1 -1
- package/lib/scene/createAutoMoviePhysicalPoseAdapter.d.ts +2 -2
- package/lib/scene/createAutoMoviePhysicalPoseAdapter.js.map +1 -1
- package/lib/scene/createAutoMoviePhysicalPoseAdapter.mjs.map +1 -1
- package/lib/scene/describeFormationTextureSources.d.ts +1 -2
- package/lib/scene/describeFormationTextureSources.mjs.map +1 -1
- package/lib/scene/formation/index.d.ts +1 -1
- package/lib/scene/formationCycleCadence.d.ts +1 -1
- package/lib/scene/formationCycleCadence.mjs.map +1 -1
- package/lib/scene/human-polygon/AutoMovieHumanPolygon.d.ts +7 -57
- package/lib/scene/human-polygon/applyHumanPolygonPose.d.ts +2 -2
- package/lib/scene/human-polygon/applyHumanPolygonPose.js.map +1 -1
- package/lib/scene/human-polygon/applyHumanPolygonPose.mjs.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygon.d.ts +2 -1
- package/lib/scene/human-polygon/buildHumanPolygon.js.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygon.mjs.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygonModule.d.ts +2 -2
- package/lib/scene/human-polygon/buildHumanPolygonModule.js.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygonModule.mjs.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygonParts.d.ts +2 -2
- package/lib/scene/human-polygon/buildHumanPolygonParts.js.map +1 -1
- package/lib/scene/human-polygon/buildHumanPolygonParts.mjs.map +1 -1
- package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.d.ts +3 -2
- package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.js.map +1 -1
- package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.mjs.map +1 -1
- package/lib/scene/index.d.ts +1 -1
- package/lib/scene/index.js +0 -1
- package/lib/scene/index.js.map +1 -1
- package/lib/scene/index.mjs +6 -6
- package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.d.ts +2 -4
- package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.js.map +1 -1
- package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.mjs.map +1 -1
- package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.d.ts +1 -1
- package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.mjs.map +1 -1
- package/lib/scene/inspection/IApplyAutoMovieInspectionProps.d.ts +2 -3
- package/lib/scene/inspection/IAutoMovieInspectionCamera.d.ts +1 -29
- package/lib/scene/inspection/IAutoMovieInspectionHandle.d.ts +3 -6
- package/lib/scene/inspection/IAutoMovieInspectionKind.d.ts +1 -16
- package/lib/scene/inspection/IAutoMovieInspectionLabel.d.ts +1 -18
- package/lib/scene/inspection/IAutoMovieInspectionLegendEntry.d.ts +1 -22
- package/lib/scene/inspection/IAutoMovieInspectionMarkSet.d.ts +1 -1
- package/lib/scene/inspection/IAutoMovieInspectionMeasured.d.ts +1 -1
- package/lib/scene/inspection/IAutoMovieInspectionRequest.d.ts +1 -99
- package/lib/scene/inspection/IAutoMovieInspectionTrail.d.ts +1 -18
- package/lib/scene/inspection/IAutoMovieInspectionView.d.ts +1 -80
- package/lib/scene/inspection/applyAutoMovieInspection.js.map +1 -1
- package/lib/scene/inspection/applyAutoMovieInspection.mjs.map +1 -1
- package/lib/scene/inspection/applyAutoMovieInspectionSection.d.ts +1 -1
- package/lib/scene/inspection/applyAutoMovieInspectionSection.mjs.map +1 -1
- package/lib/scene/inspection/applyAutoMovieInspectionShade.d.ts +2 -2
- package/lib/scene/inspection/applyAutoMovieInspectionShade.js.map +1 -1
- package/lib/scene/inspection/applyAutoMovieInspectionShade.mjs.map +1 -1
- package/lib/scene/inspection/buildAutoMovieInspectionMarks.mjs.map +1 -1
- package/lib/scene/inspection/chooseAutoMovieInspectionMarks.d.ts +1 -1
- package/lib/scene/inspection/chooseAutoMovieInspectionMarks.mjs.map +1 -1
- package/lib/scene/inspection/colorAutoMovieInspectionObjects.d.ts +3 -3
- package/lib/scene/inspection/colorAutoMovieInspectionObjects.js.map +1 -1
- package/lib/scene/inspection/colorAutoMovieInspectionObjects.mjs.map +1 -1
- package/lib/scene/inspection/expandAutoMovieInspectionSweep.d.ts +2 -17
- package/lib/scene/inspection/expandAutoMovieInspectionSweep.js.map +1 -1
- package/lib/scene/inspection/expandAutoMovieInspectionSweep.mjs.map +1 -1
- package/lib/scene/inspection/focusAutoMovieInspection.d.ts +2 -3
- package/lib/scene/inspection/focusAutoMovieInspection.js.map +1 -1
- package/lib/scene/inspection/focusAutoMovieInspection.mjs.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionCameraView.d.ts +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionCameraView.js.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionCameraView.mjs.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionRequest.d.ts +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionRequest.js.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionRequest.mjs.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionView.d.ts +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionView.js.map +1 -1
- package/lib/scene/inspection/formatAutoMovieInspectionView.mjs.map +1 -1
- package/lib/scene/inspection/legendAutoMovieInspectionMarks.d.ts +2 -6
- package/lib/scene/inspection/legendAutoMovieInspectionMarks.js.map +1 -1
- package/lib/scene/inspection/legendAutoMovieInspectionMarks.mjs.map +1 -1
- package/lib/scene/inspection/listAutoMovieInspectionKinds.d.ts +2 -9
- package/lib/scene/inspection/listAutoMovieInspectionKinds.js.map +1 -1
- package/lib/scene/inspection/listAutoMovieInspectionKinds.mjs.map +1 -1
- package/lib/scene/inspection/markAutoMovieInspectionTrails.d.ts +1 -2
- package/lib/scene/inspection/markAutoMovieInspectionTrails.js.map +1 -1
- package/lib/scene/inspection/markAutoMovieInspectionTrails.mjs.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionDefects.d.ts +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionDefects.js.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionDefects.mjs.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionEdges.mjs.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionMeshes.d.ts +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionMeshes.mjs.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionPaths.d.ts +2 -7
- package/lib/scene/inspection/measureAutoMovieInspectionPaths.js.map +1 -1
- package/lib/scene/inspection/measureAutoMovieInspectionPaths.mjs.map +1 -1
- package/lib/scene/inspection/mergeAutoMovieInspectionLegends.d.ts +1 -1
- package/lib/scene/inspection/mergeAutoMovieInspectionLegends.mjs.map +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionRequest.d.ts +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionRequest.js.map +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionRequest.mjs.map +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionView.d.ts +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionView.js.map +1 -1
- package/lib/scene/inspection/parseAutoMovieInspectionView.mjs.map +1 -1
- package/lib/scene/inspection/placeAutoMovieInspectionLabels.d.ts +2 -6
- package/lib/scene/inspection/placeAutoMovieInspectionLabels.js.map +1 -1
- package/lib/scene/inspection/placeAutoMovieInspectionLabels.mjs.map +1 -1
- package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.d.ts +2 -9
- package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.js.map +1 -1
- package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.mjs.map +1 -1
- package/lib/scene/inspection/resolveAutoMovieInspectionColors.d.ts +2 -18
- package/lib/scene/inspection/resolveAutoMovieInspectionColors.js.map +1 -1
- package/lib/scene/inspection/resolveAutoMovieInspectionColors.mjs.map +1 -1
- package/lib/scene/inspection/resolveAutoMovieInspectionView.d.ts +1 -2
- package/lib/scene/inspection/resolveAutoMovieInspectionView.js.map +1 -1
- package/lib/scene/inspection/resolveAutoMovieInspectionView.mjs.map +1 -1
- package/lib/scene/inspection/sampleAutoMovieInspectionTrails.d.ts +1 -1
- package/lib/scene/inspection/sampleAutoMovieInspectionTrails.js.map +1 -1
- package/lib/scene/inspection/sampleAutoMovieInspectionTrails.mjs.map +1 -1
- package/lib/scene/matchesAutoMovieShadowTextureProfile.d.ts +1 -1
- package/lib/scene/matchesAutoMovieShadowTextureProfile.mjs.map +1 -1
- package/lib/scene/observeAutoMovieRendererFrame.d.ts +2 -5
- package/lib/scene/observeAutoMovieRendererFrame.js.map +1 -1
- package/lib/scene/observeAutoMovieRendererFrame.mjs.map +1 -1
- package/lib/scene/planAutoMovieShadowTextureTarget.d.ts +1 -1
- package/lib/scene/planAutoMovieShadowTextureTarget.mjs.map +1 -1
- package/lib/scene/readAutoMovieFilmDisplayTextureResidency.d.ts +2 -6
- package/lib/scene/readAutoMovieFilmDisplayTextureResidency.js.map +1 -1
- package/lib/scene/readAutoMovieFilmDisplayTextureResidency.mjs.map +1 -1
- package/lib/scene/readAutoMovieMaterialTextureSources.d.ts +3 -5
- package/lib/scene/readAutoMovieMaterialTextureSources.js.map +1 -1
- package/lib/scene/readAutoMovieMaterialTextureSources.mjs.map +1 -1
- package/lib/scene/readAutoMovieRenderTextureTarget.d.ts +1 -1
- package/lib/scene/readAutoMovieRenderTextureTarget.mjs.map +1 -1
- package/lib/scene/readAutoMovieShadowTextureTargets.d.ts +1 -2
- package/lib/scene/readAutoMovieShadowTextureTargets.js.map +1 -1
- package/lib/scene/readAutoMovieShadowTextureTargets.mjs.map +1 -1
- package/lib/scene/readAutoMovieTextureSource.d.ts +1 -1
- package/lib/scene/readAutoMovieTextureSource.js.map +1 -1
- package/lib/scene/readAutoMovieTextureSource.mjs.map +1 -1
- package/lib/scene/readAutoMovieTransmissionTextureTarget.d.ts +1 -1
- package/lib/scene/readAutoMovieTransmissionTextureTarget.mjs.map +1 -1
- package/lib/scene/resolveAutoMovieFilmBeautyComposition.d.ts +2 -3
- package/lib/scene/resolveAutoMovieFilmBeautyComposition.js.map +1 -1
- package/lib/scene/resolveAutoMovieFilmBeautyComposition.mjs.map +1 -1
- package/lib/scene/semanticMask/IAutoMovieSemanticMaskBinding.d.ts +1 -19
- package/lib/scene/semanticMask/attachAutoMovieSemanticMask.d.ts +1 -1
- package/lib/scene/semanticMask/attachAutoMovieSemanticMask.mjs.map +1 -1
- package/lib/scene/semanticMask/autoMovieSemanticMaskOf.d.ts +1 -1
- package/lib/scene/semanticMask/autoMovieSemanticMaskOf.mjs.map +1 -1
- package/lib/sliceCaptionSidecar.d.ts +1 -1
- package/lib/sliceCaptionSidecar.mjs.map +1 -1
- package/package.json +7 -7
- package/src/IAutoMovieCaptionEntry.ts +1 -32
- package/src/IAutoMovieCaptionSidecar.ts +1 -29
- package/src/IAutoMovieCapturedFrame.ts +1 -24
- package/src/IAutoMovieGuidePassOutput.ts +1 -27
- package/src/IAutoMoviePoseKeypointActor.ts +1 -39
- package/src/IAutoMoviePoseKeypointFrame.ts +1 -28
- package/src/IAutoMoviePoseKeypointSidecar.ts +1 -25
- package/src/IAutoMovieRenderAdapters.ts +1 -39
- package/src/IAutoMovieRenderAndSeeRequest.ts +1 -38
- package/src/IAutoMovieRenderAndSeeResult.ts +1 -23
- package/src/IAutoMovieRenderChunk.ts +1 -62
- package/src/IAutoMovieRenderChunkPlan.ts +1 -40
- package/src/IAutoMovieRenderPassManifest.ts +1 -25
- package/src/IAutoMovieRenderReassembly.ts +1 -28
- package/src/IAutoMovieRenderResult.ts +1 -46
- package/src/IAutoMovieSequenceRenderAdapters.ts +1 -41
- package/src/IAutoMovieSequenceRenderAndSeeRequest.ts +1 -47
- package/src/IAutoMovieSequenceRenderAndSeeResult.ts +1 -23
- package/src/IAutoMovieSequenceRenderFrame.ts +1 -48
- package/src/IAutoMovieSequenceRenderPlan.ts +1 -88
- package/src/IAutoMovieSequenceRenderResult.ts +1 -52
- package/src/IAutoMovieSequenceRenderShotSpan.ts +1 -46
- package/src/IAutoMovieSequenceRenderTransitionSpan.ts +1 -46
- package/src/audio/mixAutoMovieAudioPcm.ts +10 -44
- package/src/auditAutoMovieRenderObservation.ts +5 -14
- package/src/cache/createAutoMovieHttpArtifactStore.ts +1 -1
- package/src/caption/IAutoMovieBeatCaption.ts +1 -23
- package/src/caption/beatCaptions.ts +1 -1
- package/src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts +1 -12
- package/src/caption/parseAutoMovieCaptionLanguage.ts +1 -13
- package/src/capture/AutoMovieCaptureFolder.ts +10 -16
- package/src/capture/IAutoMovieCaptureBudget.ts +1 -26
- package/src/capture/IAutoMovieCaptureCell.ts +1 -42
- package/src/capture/IAutoMovieCaptureComparison.ts +1 -96
- package/src/capture/IAutoMovieCaptureDrawing.ts +1 -64
- package/src/capture/IAutoMovieCaptureLayout.ts +1 -51
- package/src/capture/IAutoMovieCapturePlan.ts +1 -36
- package/src/capture/IAutoMovieCapturePlanRequest.ts +1 -117
- package/src/capture/IAutoMovieCaptureRecord.ts +1 -174
- package/src/capture/IAutoMovieCaptureRequestSource.ts +1 -37
- package/src/capture/IAutoMovieCaptureResolution.ts +1 -23
- package/src/capture/IAutoMovieCaptureSelection.ts +1 -28
- package/src/capture/IAutoMovieCaptureStorage.ts +1 -76
- package/src/capture/IAutoMovieCaptureSubject.ts +1 -94
- package/src/capture/IAutoMovieCaptureTime.ts +1 -17
- package/src/capture/IAutoMovieCaptureWindow.ts +1 -29
- package/src/capture/compareAutoMovieCaptureRounds.ts +33 -48
- package/src/capture/formatAutoMovieCapturePlanRequest.ts +7 -3
- package/src/capture/markAutoMovieCaptureCell.ts +1 -1
- package/src/capture/parseAutoMovieCapturePlanRequest.ts +13 -10
- package/src/capture/planAutoMovieCapture.ts +20 -21
- package/src/capture/planAutoMovieCaptureFrames.ts +9 -28
- package/src/capture/planAutoMovieCaptureLayout.ts +8 -21
- package/src/capture/planAutoMovieVideoFrames.ts +5 -10
- package/src/capture/planAutoMovieVideoSceneCuts.ts +5 -10
- package/src/capture/readAutoMovieVideoSceneCuts.ts +5 -7
- package/src/capture/resolveAutoMovieCapturePatterns.ts +11 -14
- package/src/capture/runAutoMovieCapture.ts +19 -33
- package/src/capture/runAutoMovieVideoCapture.ts +13 -32
- package/src/capture/scaleAutoMovieCaptureLabels.ts +5 -2
- package/src/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.ts +5 -6
- package/src/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.ts +17 -27
- package/src/delivery/AutoMovieProductionPngRole.ts +1 -18
- package/src/delivery/IAutoMovieProductionPngProfile.ts +1 -52
- package/src/delivery/IAutoMovieProductionVideoProfile.ts +1 -48
- package/src/delivery/assertAutoMovieCaptureClock.ts +7 -7
- package/src/delivery/assertProductionPngPicture.ts +8 -13
- package/src/delivery/assertProductionVideoProfile.ts +5 -12
- package/src/delivery/auditAutoMovieDecodedFrames.ts +17 -56
- package/src/delivery/auditAutoMovieEncodedPresentation.ts +3 -8
- package/src/delivery/planAutoMovieVideoEncoding.ts +8 -23
- package/src/delivery/productionOpusDescription.ts +9 -15
- package/src/delivery/resolveProductionPngProfile.ts +9 -17
- package/src/delivery/resolveProductionVideoProfile.ts +9 -16
- package/src/draw/AutoMovieDrawSession.ts +19 -18
- package/src/draw/IAutoMovieDrawCall.ts +1 -34
- package/src/draw/IAutoMovieDrawDescription.ts +1 -17
- package/src/draw/IAutoMovieDrawFunction.ts +5 -3
- package/src/draw/IAutoMovieDrawResult.ts +1 -45
- package/src/draw/IAutoMovieDrawScene.ts +10 -2
- package/src/draw/decodeAutoMovieDrawPixels.ts +5 -3
- package/src/draw/describeAutoMovieDrawScene.ts +18 -11
- package/src/draw/index.ts +1 -0
- package/src/draw/installAutoMovieDraw.ts +43 -45
- package/src/draw/planAutoMovieDrawCall.ts +8 -5
- package/src/draw/renderAutoMovieDrawnVideo.ts +6 -9
- package/src/draw/replaceAutoMovieDrawInspection.ts +36 -0
- package/src/draw/stampAutoMovieDrawLegend.ts +7 -5
- package/src/film/AutoMovieOrderedScalar.ts +1 -15
- package/src/film/IAutoMovieProductionAudioAssetIdentity.ts +1 -40
- package/src/film/IAutoMovieProductionAudioAssetIdentityBase.ts +1 -34
- package/src/film/IAutoMovieProductionEncoderIdentity.ts +1 -42
- package/src/film/IAutoMovieProductionRenderChunk.ts +1 -47
- package/src/film/IAutoMovieProductionRenderJobPlan.ts +1 -73
- package/src/film/IAutoMovieProductionRenderRuntimeIdentity.ts +1 -37
- package/src/film/IAutoMovieProductionRenderTier.ts +1 -27
- package/src/film/equalOrderedScalars.ts +10 -10
- package/src/film/normalizeAudioAssets.ts +4 -2
- package/src/film/normalizeRenderTier.ts +1 -1
- package/src/film/planProductionRenderJob.ts +11 -48
- package/src/film/resolveProductionRenderTierFrameFormat.ts +1 -1
- package/src/film/validWaveAudioIdentity.ts +3 -3
- package/src/picture/AutoMovieRasterSheet.ts +7 -3
- package/src/picture/IAutoMovieRasterComparison.ts +1 -33
- package/src/picture/IAutoMovieRasterImage.ts +1 -19
- package/src/picture/compareAutoMovieRasters.ts +4 -2
- package/src/picture/decodeAutoMovieRasterPng.ts +2 -1
- package/src/picture/encodeAutoMovieRasterPng.ts +2 -1
- package/src/picture/hashAutoMovieRasterImage.ts +1 -1
- package/src/picture/stampAutoMovieRasterLabel.ts +5 -2
- package/src/planCaptionSidecar.ts +11 -30
- package/src/planChunkedSequenceRender.ts +15 -26
- package/src/planGuidePassOutputs.ts +10 -16
- package/src/planPoseKeypointSidecar.ts +11 -40
- package/src/planSequenceRender.ts +11 -32
- package/src/planViewerFrameTimes.ts +5 -22
- package/src/renderAndSee.ts +5 -2
- package/src/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.ts +1 -53
- package/src/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.ts +1 -61
- package/src/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.ts +1 -29
- package/src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts +9 -37
- package/src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts +11 -15
- package/src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts +2 -3
- package/src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts +4 -3
- package/src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts +7 -19
- package/src/renderCaptionSidecar.ts +1 -1
- package/src/renderPoseKeypointSidecar.ts +1 -1
- package/src/renderSequenceAndSee.ts +5 -2
- package/src/renderSequenceVideo.ts +6 -4
- package/src/renderVideo.ts +5 -3
- package/src/scene/AutoMovieFilmBeautyComposition.ts +1 -24
- package/src/scene/AutoMoviePlayer.ts +12 -12
- package/src/scene/IApplyAutoMovieSectionPlanesProps.ts +1 -1
- package/src/scene/IAutoMovieFilmBeautyLayer.ts +1 -12
- package/src/scene/IAutoMovieFormationPoseTake.ts +1 -26
- package/src/scene/IAutoMovieFormationViewerObject.ts +4 -2
- package/src/scene/IAutoMovieRigLocalTransform.ts +1 -16
- package/src/scene/IAutoMovieSpringAxisSettlement.ts +2 -2
- package/src/scene/IBakeFormationCycleProps.ts +4 -2
- package/src/scene/applyAutoMovieRigLocals.ts +4 -2
- package/src/scene/applyAutoMovieSectionPlanes.ts +1 -1
- package/src/scene/applyFormationCycleCadence.ts +1 -1
- package/src/scene/applyPose.ts +2 -5
- package/src/scene/applyRenderMode.ts +5 -5
- package/src/scene/applySampledObjectMotion.ts +1 -1
- package/src/scene/applySemanticMaskMode.ts +1 -1
- package/src/scene/autoMovieAnalysisRampColor.ts +7 -5
- package/src/scene/bakeFormationCycle.ts +4 -3
- package/src/scene/buildAutoMovieConstruction.ts +2 -5
- package/src/scene/buildGeometry.ts +6 -9
- package/src/scene/buildInstancedEffect.ts +6 -6
- package/src/scene/buildInstancedFormation.ts +3 -3
- package/src/scene/buildSpaceObject.ts +7 -3
- package/src/scene/createAutoMoviePhysicalPoseAdapter.ts +4 -4
- package/src/scene/describeFormationTextureSources.ts +2 -2
- package/src/scene/formation/index.ts +1 -1
- package/src/scene/formationCycleCadence.ts +1 -1
- package/src/scene/human-polygon/AutoMovieHumanPolygon.ts +7 -67
- package/src/scene/human-polygon/applyHumanPolygonPose.ts +12 -7
- package/src/scene/human-polygon/buildHumanPolygon.ts +23 -12
- package/src/scene/human-polygon/buildHumanPolygonModule.ts +6 -3
- package/src/scene/human-polygon/buildHumanPolygonParts.ts +10 -6
- package/src/scene/human-polygon/createAutoMovieHumanPolygonFigure.ts +10 -3
- package/src/scene/index.ts +1 -1
- package/src/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.ts +3 -1
- package/src/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.ts +1 -1
- package/src/scene/inspection/IApplyAutoMovieInspectionProps.ts +5 -3
- package/src/scene/inspection/IAutoMovieInspectionCamera.ts +1 -38
- package/src/scene/inspection/IAutoMovieInspectionHandle.ts +8 -6
- package/src/scene/inspection/IAutoMovieInspectionKind.ts +1 -18
- package/src/scene/inspection/IAutoMovieInspectionLabel.ts +1 -21
- package/src/scene/inspection/IAutoMovieInspectionLegendEntry.ts +1 -24
- package/src/scene/inspection/IAutoMovieInspectionMarkSet.ts +1 -1
- package/src/scene/inspection/IAutoMovieInspectionMeasured.ts +1 -1
- package/src/scene/inspection/IAutoMovieInspectionRequest.ts +1 -115
- package/src/scene/inspection/IAutoMovieInspectionTrail.ts +1 -21
- package/src/scene/inspection/IAutoMovieInspectionView.ts +1 -92
- package/src/scene/inspection/applyAutoMovieInspection.ts +12 -8
- package/src/scene/inspection/applyAutoMovieInspectionSection.ts +1 -1
- package/src/scene/inspection/applyAutoMovieInspectionShade.ts +2 -2
- package/src/scene/inspection/buildAutoMovieInspectionMarks.ts +1 -1
- package/src/scene/inspection/chooseAutoMovieInspectionMarks.ts +1 -1
- package/src/scene/inspection/colorAutoMovieInspectionObjects.ts +6 -3
- package/src/scene/inspection/expandAutoMovieInspectionSweep.ts +8 -15
- package/src/scene/inspection/focusAutoMovieInspection.ts +6 -4
- package/src/scene/inspection/formatAutoMovieInspectionCameraView.ts +2 -1
- package/src/scene/inspection/formatAutoMovieInspectionRequest.ts +6 -3
- package/src/scene/inspection/formatAutoMovieInspectionView.ts +4 -3
- package/src/scene/inspection/legendAutoMovieInspectionMarks.ts +6 -3
- package/src/scene/inspection/listAutoMovieInspectionKinds.ts +7 -10
- package/src/scene/inspection/markAutoMovieInspectionTrails.ts +4 -2
- package/src/scene/inspection/measureAutoMovieInspectionDefects.ts +5 -5
- package/src/scene/inspection/measureAutoMovieInspectionEdges.ts +1 -1
- package/src/scene/inspection/measureAutoMovieInspectionMeshes.ts +1 -1
- package/src/scene/inspection/measureAutoMovieInspectionPaths.ts +6 -3
- package/src/scene/inspection/mergeAutoMovieInspectionLegends.ts +1 -1
- package/src/scene/inspection/parseAutoMovieInspectionRequest.ts +10 -7
- package/src/scene/inspection/parseAutoMovieInspectionView.ts +6 -4
- package/src/scene/inspection/placeAutoMovieInspectionLabels.ts +6 -7
- package/src/scene/inspection/planAutoMovieInspectionTrailTimes.ts +4 -11
- package/src/scene/inspection/resolveAutoMovieInspectionColors.ts +7 -11
- package/src/scene/inspection/resolveAutoMovieInspectionView.ts +5 -3
- package/src/scene/inspection/sampleAutoMovieInspectionTrails.ts +1 -1
- package/src/scene/matchesAutoMovieShadowTextureProfile.ts +1 -1
- package/src/scene/observeAutoMovieRendererFrame.ts +3 -3
- package/src/scene/planAutoMovieShadowTextureTarget.ts +1 -1
- package/src/scene/readAutoMovieFilmDisplayTextureResidency.ts +3 -12
- package/src/scene/readAutoMovieMaterialTextureSources.ts +5 -3
- package/src/scene/readAutoMovieRenderTextureTarget.ts +1 -1
- package/src/scene/readAutoMovieShadowTextureTargets.ts +5 -5
- package/src/scene/readAutoMovieTextureSource.ts +4 -2
- package/src/scene/readAutoMovieTransmissionTextureTarget.ts +1 -1
- package/src/scene/resolveAutoMovieFilmBeautyComposition.ts +6 -4
- package/src/scene/semanticMask/IAutoMovieSemanticMaskBinding.ts +1 -24
- package/src/scene/semanticMask/attachAutoMovieSemanticMask.ts +1 -1
- package/src/scene/semanticMask/autoMovieSemanticMaskOf.ts +1 -1
- package/src/sliceCaptionSidecar.ts +2 -2
|
@@ -1,76 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* The files a capture reads and writes, injected by its host so the capture core reaches no file system itself.
|
|
3
|
-
*
|
|
4
|
-
* The methods have the signatures of `readdir`, `mkdir`, `readFile`, `writeFile` and `rm` from `node:fs/promises`, declared here without Node's types, so a Node host passes that module as it is and a test passes a Map-backed object. Paths are the capture's root joined with names by `/`; the capture never names a path outside its root.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/design.md#principled-representation The five file operations a capture performs, with Node's own call shapes, so the host's object needs no adapter and the core's order of file steps runs unchanged against memory.
|
|
7
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Exactly the operations the capture folder calls: list a folder, create one, read a file, write one, delete one. Node owns the signatures; this interface restates only the parameters the capture passes.
|
|
8
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No member names a host, and a missing folder or file is the host's rejection, which the capture reports with the path.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation States who supplies it, whose signatures it repeats, how paths are formed and the bound on them.
|
|
10
|
-
*/
|
|
11
|
-
export interface IAutoMovieCaptureStorage {
|
|
12
|
-
/**
|
|
13
|
-
* The names of the entries of a folder, files and folders alike. Rejects when the folder does not exist.
|
|
14
|
-
*
|
|
15
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what is listed and the missing-folder rejection.
|
|
16
|
-
* @evidenceExclude contracts/development/implementation.md#principled-implementation Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; Node's `node:fs/promises` or the host's object fixes the behaviour.
|
|
17
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it declares one operation and adds no layer.
|
|
18
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; nothing here can special-case a value.
|
|
19
|
-
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; the signature does not constrain an implementation's cost.
|
|
20
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it coordinates no work itself.
|
|
21
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it owns no state, handle or task.
|
|
22
|
-
*/
|
|
23
|
-
readdir(path: string): Promise<string[]>;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Create a folder and any missing parent; an existing folder is kept.
|
|
27
|
-
*
|
|
28
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what is created and that an existing folder is kept.
|
|
29
|
-
* @evidenceExclude contracts/development/implementation.md#principled-implementation Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; Node's `node:fs/promises` or the host's object fixes the behaviour.
|
|
30
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it declares one operation and adds no layer.
|
|
31
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; nothing here can special-case a value.
|
|
32
|
-
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; the signature does not constrain an implementation's cost.
|
|
33
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it coordinates no work itself.
|
|
34
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it owns no state, handle or task.
|
|
35
|
-
*/
|
|
36
|
-
mkdir(path: string, options: { recursive: true }): Promise<unknown>;
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* The bytes of a file. Rejects when the file does not exist.
|
|
40
|
-
*
|
|
41
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what is returned and the missing-file rejection.
|
|
42
|
-
* @evidenceExclude contracts/development/implementation.md#principled-implementation Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; Node's `node:fs/promises` or the host's object fixes the behaviour.
|
|
43
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it declares one operation and adds no layer.
|
|
44
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; nothing here can special-case a value.
|
|
45
|
-
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; the signature does not constrain an implementation's cost.
|
|
46
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it coordinates no work itself.
|
|
47
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it owns no state, handle or task.
|
|
48
|
-
*/
|
|
49
|
-
readFile(path: string): Promise<Uint8Array>;
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Write a file whole, replacing one of the same path; text is written as UTF-8.
|
|
53
|
-
*
|
|
54
|
-
* @evidence contracts/development/common.md#meaningful-documentation States the replacement rule and the text encoding.
|
|
55
|
-
* @evidenceExclude contracts/development/implementation.md#principled-implementation Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; Node's `node:fs/promises` or the host's object fixes the behaviour.
|
|
56
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it declares one operation and adds no layer.
|
|
57
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; nothing here can special-case a value.
|
|
58
|
-
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; the signature does not constrain an implementation's cost.
|
|
59
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it coordinates no work itself.
|
|
60
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it owns no state, handle or task.
|
|
61
|
-
*/
|
|
62
|
-
writeFile(path: string, data: Uint8Array | string): Promise<void>;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Delete a file; with `force`, a path that does not exist is not an error.
|
|
66
|
-
*
|
|
67
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what is deleted and what `force` changes.
|
|
68
|
-
* @evidenceExclude contracts/development/implementation.md#principled-implementation Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; Node's `node:fs/promises` or the host's object fixes the behaviour.
|
|
69
|
-
* @evidenceExclude contracts/development/implementation.md#clear-and-simple-structure Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it declares one operation and adds no layer.
|
|
70
|
-
* @evidenceExclude contracts/development/implementation.md#prohibited-implementation-shortcuts Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; nothing here can special-case a value.
|
|
71
|
-
* @evidenceExclude contracts/development/implementation.md#efficient-algorithms Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; the signature does not constrain an implementation's cost.
|
|
72
|
-
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it coordinates no work itself.
|
|
73
|
-
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Signature only: this declaration has no body, so each implementation answers for its own algorithm, structure and resources; it owns no state, handle or task.
|
|
74
|
-
*/
|
|
75
|
-
rm(path: string, options: { force: true }): Promise<void>;
|
|
76
|
-
}
|
|
1
|
+
export type { IAutoMovieCaptureStorage } from "@automovie/interface";
|
|
@@ -1,94 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* What a host learns about a subject from the page before a capture is planned: its clock, its raster, and what can be drawn of it.
|
|
5
|
-
*
|
|
6
|
-
* A subject is a scene, a set of identity paths and the marks its owner supplies; nothing here names what kind of thing it is. `planAutoMovieCapture` checks a request against it, so a view, a time, a mark kind or a sweep the subject cannot give is refused before anything is drawn.
|
|
7
|
-
*
|
|
8
|
-
* @evidence contracts/development/design.md#principled-representation The subject's clock (seconds and frames per second), its raster in pixels, its view names, its drawn objects with world boxes in metres and its mark kinds are the facts a plan is checked against; nothing about how it is drawn is held.
|
|
9
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Each member is read by the planner: the clock by the times, the raster by the layout, the views and mark kinds by the refusals, the drawables by the sweep, the named instants by the captions. Boxes use the interface's own vector.
|
|
10
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No member names a subject kind, a film or a figure. That durations, rates and sizes are positive and boxes finite is checked by the planner at runtime.
|
|
11
|
-
* @evidence contracts/development/common.md#meaningful-documentation States who fills it and when, who reads it, and each member's unit and meaning.
|
|
12
|
-
*/
|
|
13
|
-
export interface IAutoMovieCaptureSubject {
|
|
14
|
-
/**
|
|
15
|
-
* Name of the subject, as the request's `subject` names it and the record keeps it.
|
|
16
|
-
*/
|
|
17
|
-
name: string;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Running time in seconds; the last frame is the last whole frame before it.
|
|
21
|
-
*/
|
|
22
|
-
durationSeconds: number;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Frames per second of the subject's own grid, which event and cut windows count in.
|
|
26
|
-
*/
|
|
27
|
-
fps: number;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Width in pixels of every still drawn of the subject.
|
|
31
|
-
*/
|
|
32
|
-
width: number;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Height in pixels of every still drawn of the subject.
|
|
36
|
-
*/
|
|
37
|
-
height: number;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Names a named view may take: the subject's own views and the named viewpoints the host fits, such as `front`. `film` and a camera by coordinates need no name.
|
|
41
|
-
*/
|
|
42
|
-
views: string[];
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Every drawn object with its identity path and its world-space box in metres, which a sweep groups into units and neighbours.
|
|
46
|
-
*/
|
|
47
|
-
drawables: IAutoMovieCaptureSubject.IDrawable[];
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Every mark kind the subject's owners supply under the request, such as `curve/section`; a `marks` pattern must match one.
|
|
51
|
-
*/
|
|
52
|
-
marks: string[];
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Instants the subject names, such as a motion case's beats; a cell drawn at a second written the same to the millisecond carries the instant's label in its caption and its record row. Absent names none.
|
|
56
|
-
*/
|
|
57
|
-
instants?: IAutoMovieCaptureSubject.IInstant[];
|
|
58
|
-
}
|
|
59
|
-
export namespace IAutoMovieCaptureSubject {
|
|
60
|
-
/**
|
|
61
|
-
* One named instant of a subject.
|
|
62
|
-
*
|
|
63
|
-
* @evidence contracts/development/design.md#principled-representation A second of the subject's clock and the words that name what happens then.
|
|
64
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Two members, read by the planner's captions.
|
|
65
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts The label is free text the subject's owner writes; no beat vocabulary is named here.
|
|
66
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what each member holds and its unit.
|
|
67
|
-
*/
|
|
68
|
-
export interface IInstant {
|
|
69
|
-
/** The instant, seconds of the subject's clock. */
|
|
70
|
-
seconds: number;
|
|
71
|
-
|
|
72
|
-
/** What happens then, such as `heel strike`. */
|
|
73
|
-
label: string;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* One drawn object, by identity path and world-space box.
|
|
78
|
-
*
|
|
79
|
-
* @evidence contracts/development/design.md#principled-representation An identity path and an axis-aligned box in world metres, the inputs the sweep compares.
|
|
80
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Three members; the box corners use the interface's vector.
|
|
81
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts `min` not exceeding `max` on any axis is the producer's invariant.
|
|
82
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what each member holds and its frame and unit.
|
|
83
|
-
*/
|
|
84
|
-
export interface IDrawable {
|
|
85
|
-
/** Identity path of the object, names joined by `/`. */
|
|
86
|
-
path: string;
|
|
87
|
-
|
|
88
|
-
/** Corner of the world-space box with the smallest coordinates, in metres. */
|
|
89
|
-
min: IAutoMovieVector3;
|
|
90
|
-
|
|
91
|
-
/** Corner of the world-space box with the largest coordinates, in metres. */
|
|
92
|
-
max: IAutoMovieVector3;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
1
|
+
export type { IAutoMovieCaptureSubject } from "@automovie/interface";
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* One instant a capture draws: a second of the subject, and the frame of its grid when the second is one.
|
|
3
|
-
*
|
|
4
|
-
* Seconds sampled evenly or around an event or cut are always frames, `frame / fps`. A second given explicitly through `at` is kept as written and has a frame only when it falls on the grid.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/design.md#principled-representation The drawn second and its frame index on the subject's own grid, the two coordinates a caption and a file pairing read; a second between frames has no index rather than a rounded one.
|
|
7
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Two members, read by cell names, captions, records and pairing.
|
|
8
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts The frame is null off the grid instead of a frame that does not show this second.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation States when a frame index exists and what each member counts in.
|
|
10
|
-
*/
|
|
11
|
-
export interface IAutoMovieCaptureTime {
|
|
12
|
-
/** Second of the subject, zero or more. */
|
|
13
|
-
seconds: number;
|
|
14
|
-
|
|
15
|
-
/** Index of the frame on the subject's grid that shows this second, from zero, or null when the second falls between frames. */
|
|
16
|
-
frame: number | null;
|
|
17
|
-
}
|
|
1
|
+
export type { IAutoMovieCaptureTime } from "@automovie/interface";
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* The consecutive frames a capture draws around one event or cut, as the record lists them.
|
|
3
|
-
*
|
|
4
|
-
* The window is every frame from `first` to `last` of the subject's grid; it is the requested number of frames on each side of `frame`, cut at the subject's first and last frame, and `clipped` says when it was.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/design.md#principled-representation An instant, the frame nearest it and the inclusive range of frames drawn around it, in frame indices of the subject's grid, so the record shows which frames were planned and where the bounds cut them.
|
|
7
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Read by the record; the cells carry the frames themselves. `kind` separates instants the caller named from cuts the file revealed.
|
|
8
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts A window cut at the bounds says so instead of silently drawing fewer frames.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation States what the range holds, how it is bounded and what `clipped` reports.
|
|
10
|
-
*/
|
|
11
|
-
export interface IAutoMovieCaptureWindow {
|
|
12
|
-
/** `event` for an instant the request named, `cut` for a scene cut detected in a file. */
|
|
13
|
-
kind: "event" | "cut";
|
|
14
|
-
|
|
15
|
-
/** The instant in seconds, as named or detected. */
|
|
16
|
-
seconds: number;
|
|
17
|
-
|
|
18
|
-
/** Index of the frame nearest the instant, which may lie outside the subject when the instant is at its end. */
|
|
19
|
-
frame: number;
|
|
20
|
-
|
|
21
|
-
/** First frame drawn, inclusive. */
|
|
22
|
-
first: number;
|
|
23
|
-
|
|
24
|
-
/** Last frame drawn, inclusive. */
|
|
25
|
-
last: number;
|
|
26
|
-
|
|
27
|
-
/** Whether the subject's first or last frame cut the window short. */
|
|
28
|
-
clipped: boolean;
|
|
29
|
-
}
|
|
1
|
+
export type { IAutoMovieCaptureWindow } from "@automovie/interface";
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IAutoMovieCaptureCellComparison,
|
|
3
|
+
IAutoMovieCaptureCellRecord,
|
|
4
|
+
IAutoMovieCaptureComparison,
|
|
5
|
+
IAutoMovieCaptureComparisonProps,
|
|
6
|
+
IAutoMovieCaptureLayout,
|
|
7
|
+
IAutoMovieCaptureRecord,
|
|
8
|
+
IAutoMovieRasterComparison,
|
|
9
|
+
IAutoMovieRasterImage,
|
|
10
|
+
} from "@automovie/interface";
|
|
11
|
+
|
|
1
12
|
import { AutoMovieRasterSheet } from "../picture/AutoMovieRasterSheet.js";
|
|
2
|
-
import type { IAutoMovieRasterComparison } from "../picture/IAutoMovieRasterComparison.js";
|
|
3
|
-
import type { IAutoMovieRasterImage } from "../picture/IAutoMovieRasterImage.js";
|
|
4
13
|
import { compareAutoMovieRasters } from "../picture/compareAutoMovieRasters.js";
|
|
5
14
|
import { decodeAutoMovieRasterPng } from "../picture/decodeAutoMovieRasterPng.js";
|
|
6
15
|
import { encodeAutoMovieRasterPng } from "../picture/encodeAutoMovieRasterPng.js";
|
|
7
|
-
import type { AutoMovieCaptureFolder } from "./AutoMovieCaptureFolder.js";
|
|
8
|
-
import type { IAutoMovieCaptureBudget } from "./IAutoMovieCaptureBudget.js";
|
|
9
|
-
import type { IAutoMovieCaptureComparison } from "./IAutoMovieCaptureComparison.js";
|
|
10
|
-
import type { IAutoMovieCaptureLayout } from "./IAutoMovieCaptureLayout.js";
|
|
11
|
-
import type { IAutoMovieCaptureRecord } from "./IAutoMovieCaptureRecord.js";
|
|
12
16
|
import { markAutoMovieCaptureCell } from "./markAutoMovieCaptureCell.js";
|
|
13
17
|
import { planAutoMovieCaptureLayout } from "./planAutoMovieCaptureLayout.js";
|
|
14
18
|
|
|
@@ -27,28 +31,9 @@ import { planAutoMovieCaptureLayout } from "./planAutoMovieCaptureLayout.js";
|
|
|
27
31
|
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each pair is read and measured once.
|
|
28
32
|
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources One pair of decoded stills, one difference image and the comparison sheet being filled are held at a time.
|
|
29
33
|
*/
|
|
30
|
-
export async function compareAutoMovieCaptureRounds(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
/** Name of the earlier round. */
|
|
35
|
-
round: string;
|
|
36
|
-
|
|
37
|
-
/** This capture's rows, in plan order. */
|
|
38
|
-
rows: readonly IAutoMovieCaptureRecord.Row[];
|
|
39
|
-
|
|
40
|
-
/** How cells are paired. */
|
|
41
|
-
match: "cell" | "time";
|
|
42
|
-
|
|
43
|
-
/** Largest channel difference in bytes counted as unchanged. */
|
|
44
|
-
tolerance: number;
|
|
45
|
-
|
|
46
|
-
/** The reader the comparison sheets are laid out for. */
|
|
47
|
-
budget: IAutoMovieCaptureBudget;
|
|
48
|
-
|
|
49
|
-
/** This capture's still raster in pixels, which sizes the sheet cells. */
|
|
50
|
-
raster: { width: number; height: number };
|
|
51
|
-
}): Promise<IAutoMovieCaptureComparison> {
|
|
34
|
+
export async function compareAutoMovieCaptureRounds(
|
|
35
|
+
props: IAutoMovieCaptureComparisonProps,
|
|
36
|
+
): Promise<IAutoMovieCaptureComparison> {
|
|
52
37
|
const { folder, match } = props;
|
|
53
38
|
const earlier: Extract<
|
|
54
39
|
IAutoMovieCaptureRecord,
|
|
@@ -60,8 +45,8 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
60
45
|
);
|
|
61
46
|
|
|
62
47
|
// Pair rows by the values that must agree.
|
|
63
|
-
const key: (row:
|
|
64
|
-
row:
|
|
48
|
+
const key: (row: IAutoMovieCaptureCellRecord) => string = (
|
|
49
|
+
row: IAutoMovieCaptureCellRecord,
|
|
65
50
|
): string =>
|
|
66
51
|
match === "time"
|
|
67
52
|
? row.time.seconds.toFixed(6)
|
|
@@ -74,19 +59,19 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
74
59
|
row.view,
|
|
75
60
|
row.pass,
|
|
76
61
|
]);
|
|
77
|
-
const before: Map<string,
|
|
62
|
+
const before: Map<string, IAutoMovieCaptureCellRecord> = new Map(
|
|
78
63
|
earlier.rows.map(
|
|
79
64
|
(
|
|
80
|
-
row:
|
|
81
|
-
): [string,
|
|
65
|
+
row: IAutoMovieCaptureCellRecord,
|
|
66
|
+
): [string, IAutoMovieCaptureCellRecord] => [key(row), row],
|
|
82
67
|
),
|
|
83
68
|
);
|
|
84
69
|
const pairs: [
|
|
85
|
-
|
|
86
|
-
|
|
70
|
+
IAutoMovieCaptureCellRecord | null,
|
|
71
|
+
IAutoMovieCaptureCellRecord | null,
|
|
87
72
|
][] = [];
|
|
88
73
|
for (const row of props.rows) {
|
|
89
|
-
const other:
|
|
74
|
+
const other: IAutoMovieCaptureCellRecord | undefined = before.get(key(row));
|
|
90
75
|
before.delete(key(row));
|
|
91
76
|
pairs.push([other ?? null, row]);
|
|
92
77
|
}
|
|
@@ -102,8 +87,8 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
102
87
|
// Every caption a comparison row can carry: each side's name, and the longest third caption.
|
|
103
88
|
captions: pairs.flatMap(
|
|
104
89
|
([old, now]: [
|
|
105
|
-
|
|
106
|
-
|
|
90
|
+
IAutoMovieCaptureCellRecord | null,
|
|
91
|
+
IAutoMovieCaptureCellRecord | null,
|
|
107
92
|
]): string[] => [
|
|
108
93
|
`${props.round} ${old?.name ?? "missing"}`,
|
|
109
94
|
`now ${now?.name ?? "missing"}`,
|
|
@@ -119,13 +104,13 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
119
104
|
);
|
|
120
105
|
await folder.claim([
|
|
121
106
|
...props.rows.map(
|
|
122
|
-
(row:
|
|
107
|
+
(row: IAutoMovieCaptureCellRecord): string => `diff-${row.name}.png`,
|
|
123
108
|
),
|
|
124
109
|
...sheetNames,
|
|
125
110
|
]);
|
|
126
111
|
|
|
127
112
|
// Measure each pair and lay it on the sheets.
|
|
128
|
-
const entries:
|
|
113
|
+
const entries: IAutoMovieCaptureCellComparison[] = [];
|
|
129
114
|
const sheets: string[] = [];
|
|
130
115
|
let sheet: AutoMovieRasterSheet | null = null;
|
|
131
116
|
let filled: number = 0;
|
|
@@ -157,7 +142,7 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
157
142
|
if (filled % layout.perSheet === 0) await flush();
|
|
158
143
|
};
|
|
159
144
|
for (const [old, now] of pairs) {
|
|
160
|
-
const entry:
|
|
145
|
+
const entry: IAutoMovieCaptureCellComparison = decide(
|
|
161
146
|
props.round,
|
|
162
147
|
match,
|
|
163
148
|
old,
|
|
@@ -172,7 +157,7 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
172
157
|
? await decodeAutoMovieRasterPng(await folder.read(now.file))
|
|
173
158
|
: null;
|
|
174
159
|
let difference: IAutoMovieRasterImage | null = null;
|
|
175
|
-
let final:
|
|
160
|
+
let final: IAutoMovieCaptureCellComparison = entry;
|
|
176
161
|
if (
|
|
177
162
|
entry.state === "paired" &&
|
|
178
163
|
entry.mode === "difference" &&
|
|
@@ -240,12 +225,12 @@ export async function compareAutoMovieCaptureRounds(props: {
|
|
|
240
225
|
function decide(
|
|
241
226
|
round: string,
|
|
242
227
|
match: "cell" | "time",
|
|
243
|
-
old:
|
|
244
|
-
now:
|
|
245
|
-
):
|
|
246
|
-
const unmatched: (cause: string) =>
|
|
228
|
+
old: IAutoMovieCaptureCellRecord | null,
|
|
229
|
+
now: IAutoMovieCaptureCellRecord | null,
|
|
230
|
+
): IAutoMovieCaptureCellComparison {
|
|
231
|
+
const unmatched: (cause: string) => IAutoMovieCaptureCellComparison = (
|
|
247
232
|
cause: string,
|
|
248
|
-
):
|
|
233
|
+
): IAutoMovieCaptureCellComparison => ({
|
|
249
234
|
state: "unmatched",
|
|
250
235
|
current: now?.name ?? null,
|
|
251
236
|
earlier: old?.name ?? null,
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
IAutoMovieCapturePlanRequest,
|
|
3
|
+
IAutoMovieCaptureSampling,
|
|
4
|
+
IAutoMovieInspectionRequest,
|
|
5
|
+
} from "@automovie/interface";
|
|
6
|
+
|
|
2
7
|
import { formatAutoMovieInspectionRequest } from "../scene/inspection/formatAutoMovieInspectionRequest.js";
|
|
3
|
-
import type { IAutoMovieCapturePlanRequest } from "./IAutoMovieCapturePlanRequest.js";
|
|
4
8
|
import { parseAutoMovieCapturePlanRequest } from "./parseAutoMovieCapturePlanRequest.js";
|
|
5
9
|
|
|
6
10
|
/**
|
|
@@ -34,7 +38,7 @@ export function formatAutoMovieCapturePlanRequest(
|
|
|
34
38
|
if (request.sampling.kind === "at")
|
|
35
39
|
values.push(["at", request.sampling.seconds.map(String).join(",")]);
|
|
36
40
|
else {
|
|
37
|
-
const fallback:
|
|
41
|
+
const fallback: IAutoMovieCaptureSampling = absent.sampling;
|
|
38
42
|
if (fallback.kind !== "even" || request.sampling.from !== fallback.from)
|
|
39
43
|
values.push(["from", String(request.sampling.from)]);
|
|
40
44
|
if (request.sampling.to !== null)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IAutoMovieRasterImage } from "
|
|
1
|
+
import type { IAutoMovieRasterImage } from "@automovie/interface";
|
|
2
2
|
|
|
3
3
|
/** Dark red, which no inspection shade fills a whole cell with, so the cell reads as a gap and not as a dark still. */
|
|
4
4
|
const MARK: readonly [number, number, number] = [96, 16, 16];
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
AutoMovieInspectionShade,
|
|
3
|
+
IAutoMovieCapturePlanRequest,
|
|
4
|
+
IAutoMovieCaptureRequestSource,
|
|
5
|
+
IAutoMovieCaptureSampling,
|
|
6
|
+
IAutoMovieInspectionRequest,
|
|
7
|
+
} from "@automovie/interface";
|
|
8
|
+
|
|
2
9
|
import { parseAutoMovieInspectionRequest } from "../scene/inspection/parseAutoMovieInspectionRequest.js";
|
|
3
10
|
import { parseAutoMovieInspectionView } from "../scene/inspection/parseAutoMovieInspectionView.js";
|
|
4
11
|
import { AUTO_MOVIE_CAPTURE_PLAN_KEYS } from "./AUTO_MOVIE_CAPTURE_PLAN_KEYS.js";
|
|
5
|
-
import type { IAutoMovieCapturePlanRequest } from "./IAutoMovieCapturePlanRequest.js";
|
|
6
|
-
import type { IAutoMovieCaptureRequestSource } from "./IAutoMovieCaptureRequestSource.js";
|
|
7
12
|
|
|
8
13
|
/** Every key the reader admits, for constant-time lookup. */
|
|
9
14
|
const KNOWN: ReadonlySet<string> = new Set(AUTO_MOVIE_CAPTURE_PLAN_KEYS);
|
|
@@ -96,9 +101,9 @@ export function parseAutoMovieCapturePlanRequest(
|
|
|
96
101
|
parseAutoMovieInspectionRequest(read);
|
|
97
102
|
if (given.has("passes") && given.has("shade"))
|
|
98
103
|
throw new Error("Capture passes and shade name one thing; give only one");
|
|
99
|
-
const passes:
|
|
104
|
+
const passes: AutoMovieInspectionShade[] = given.has("passes")
|
|
100
105
|
? distinct("passes", read("passes")!, items(read("passes")!)).map(
|
|
101
|
-
(text: string):
|
|
106
|
+
(text: string): AutoMovieInspectionShade => shadeOf(text),
|
|
102
107
|
)
|
|
103
108
|
: [inspection.shade];
|
|
104
109
|
if (passes.length === 0)
|
|
@@ -110,7 +115,7 @@ export function parseAutoMovieCapturePlanRequest(
|
|
|
110
115
|
(given.has("from") || given.has("to") || given.has("rate"))
|
|
111
116
|
)
|
|
112
117
|
throw new Error("Capture at excludes from, to and rate");
|
|
113
|
-
const sampling:
|
|
118
|
+
const sampling: IAutoMovieCaptureSampling = given.has("at")
|
|
114
119
|
? { kind: "at", seconds: seconds("at", read("at")!, true) }
|
|
115
120
|
: even(read);
|
|
116
121
|
|
|
@@ -214,7 +219,7 @@ function distinct(key: string, text: string, values: string[]): string[] {
|
|
|
214
219
|
}
|
|
215
220
|
|
|
216
221
|
/** A shade, read by the inspection core so the shade list has one owner. */
|
|
217
|
-
function shadeOf(text: string):
|
|
222
|
+
function shadeOf(text: string): AutoMovieInspectionShade {
|
|
218
223
|
try {
|
|
219
224
|
return parseAutoMovieInspectionRequest((key: string): string | undefined =>
|
|
220
225
|
key === "shade" ? text : undefined,
|
|
@@ -280,9 +285,7 @@ function seconds(key: string, text: string, required: boolean): number[] {
|
|
|
280
285
|
}
|
|
281
286
|
|
|
282
287
|
/** An even sampling from `from`, `to` and `rate`. */
|
|
283
|
-
function even(
|
|
284
|
-
read: (key: string) => string | null,
|
|
285
|
-
): IAutoMovieCapturePlanRequest.Sampling {
|
|
288
|
+
function even(read: (key: string) => string | null): IAutoMovieCaptureSampling {
|
|
286
289
|
const from: number = bounded("from", read("from"), 0, Infinity) ?? 0;
|
|
287
290
|
const to: number | null = bounded("to", read("to"), 0, Infinity);
|
|
288
291
|
if (to !== null && !(to > from))
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type {
|
|
2
|
+
AutoMovieInspectionShade,
|
|
3
|
+
IAutoMovieCaptureCell,
|
|
4
|
+
IAutoMovieCaptureInstant,
|
|
5
|
+
IAutoMovieCapturePlan,
|
|
6
|
+
IAutoMovieCapturePlanProps,
|
|
7
|
+
IAutoMovieCapturePlanRequest,
|
|
8
|
+
IAutoMovieCaptureSelection,
|
|
9
|
+
IAutoMovieCaptureSubject,
|
|
10
|
+
IAutoMovieCaptureTime,
|
|
11
|
+
IAutoMovieInspectionRequest,
|
|
12
|
+
IAutoMovieInspectionView,
|
|
13
|
+
} from "@automovie/interface";
|
|
14
|
+
|
|
3
15
|
import { expandAutoMovieInspectionSweep } from "../scene/inspection/expandAutoMovieInspectionSweep.js";
|
|
4
16
|
import { matchAutoMovieInspectionPath } from "../scene/inspection/matchAutoMovieInspectionPath.js";
|
|
5
17
|
import { parseAutoMovieInspectionView } from "../scene/inspection/parseAutoMovieInspectionView.js";
|
|
6
|
-
import type { IAutoMovieCaptureCell } from "./IAutoMovieCaptureCell.js";
|
|
7
|
-
import type { IAutoMovieCapturePlan } from "./IAutoMovieCapturePlan.js";
|
|
8
|
-
import type { IAutoMovieCapturePlanRequest } from "./IAutoMovieCapturePlanRequest.js";
|
|
9
|
-
import type { IAutoMovieCaptureSelection } from "./IAutoMovieCaptureSelection.js";
|
|
10
|
-
import type { IAutoMovieCaptureSubject } from "./IAutoMovieCaptureSubject.js";
|
|
11
|
-
import type { IAutoMovieCaptureTime } from "./IAutoMovieCaptureTime.js";
|
|
12
18
|
import { planAutoMovieCaptureFrames } from "./planAutoMovieCaptureFrames.js";
|
|
13
19
|
import { planAutoMovieCaptureLayout } from "./planAutoMovieCaptureLayout.js";
|
|
14
20
|
|
|
@@ -29,16 +35,9 @@ import { planAutoMovieCaptureLayout } from "./planAutoMovieCaptureLayout.js";
|
|
|
29
35
|
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure function of the request and the subject.
|
|
30
36
|
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds the cells it returns and one set of their names.
|
|
31
37
|
*/
|
|
32
|
-
export function planAutoMovieCapture(
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
/** What the host learned of the subject. */
|
|
37
|
-
subject: IAutoMovieCaptureSubject;
|
|
38
|
-
|
|
39
|
-
/** Seconds of the scene cuts detected in a video file, whose surrounding frames are drawn like an event's; empty for a drawn scene. */
|
|
40
|
-
cuts: readonly number[];
|
|
41
|
-
}): IAutoMovieCapturePlan {
|
|
38
|
+
export function planAutoMovieCapture(
|
|
39
|
+
props: IAutoMovieCapturePlanProps,
|
|
40
|
+
): IAutoMovieCapturePlan {
|
|
42
41
|
const { request, subject } = props;
|
|
43
42
|
if (subject.name.trim() === "")
|
|
44
43
|
throw new Error("A capture subject has no name");
|
|
@@ -94,7 +93,7 @@ export function planAutoMovieCapture(props: {
|
|
|
94
93
|
// Named instants by their second to the millisecond, the resolution a cell is named at.
|
|
95
94
|
const labels: Map<string, string> = new Map(
|
|
96
95
|
(subject.instants ?? []).map(
|
|
97
|
-
(instant:
|
|
96
|
+
(instant: IAutoMovieCaptureInstant): [string, string] => [
|
|
98
97
|
instant.seconds.toFixed(3),
|
|
99
98
|
instant.label,
|
|
100
99
|
],
|
|
@@ -196,7 +195,7 @@ function sweep(
|
|
|
196
195
|
/** The plan's inspection with a cell's pass and selection. */
|
|
197
196
|
function inspect(
|
|
198
197
|
inspection: IAutoMovieInspectionRequest,
|
|
199
|
-
pass:
|
|
198
|
+
pass: AutoMovieInspectionShade,
|
|
200
199
|
selection: IAutoMovieCaptureSelection,
|
|
201
200
|
): IAutoMovieInspectionRequest {
|
|
202
201
|
return { ...inspection, shade: pass, parts: [...selection.parts] };
|
|
@@ -214,7 +213,7 @@ function caption(
|
|
|
214
213
|
time: IAutoMovieCaptureTime,
|
|
215
214
|
label: string | null,
|
|
216
215
|
view: string,
|
|
217
|
-
pass:
|
|
216
|
+
pass: AutoMovieInspectionShade,
|
|
218
217
|
selection: IAutoMovieCaptureSelection,
|
|
219
218
|
): string {
|
|
220
219
|
return [
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type {
|
|
2
|
+
IAutoMovieCaptureFramePlan,
|
|
3
|
+
IAutoMovieCaptureFramePlanProps,
|
|
4
|
+
IAutoMovieCaptureTime,
|
|
5
|
+
IAutoMovieCaptureWindow,
|
|
6
|
+
} from "@automovie/interface";
|
|
4
7
|
|
|
5
8
|
/** Distance in frames within which a written second counts as lying on a frame, for float error in `seconds × fps`. */
|
|
6
9
|
const ON_GRID: number = 1e-6;
|
|
@@ -25,31 +28,9 @@ const ON_GRID: number = 1e-6;
|
|
|
25
28
|
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure function of its request.
|
|
26
29
|
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Holds one map of the planned instants, bounded by the samples plus `2 × window + 1` per event and cut.
|
|
27
30
|
*/
|
|
28
|
-
export function planAutoMovieCaptureFrames(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/** Frames per second of the subject's grid. */
|
|
33
|
-
fps: number;
|
|
34
|
-
|
|
35
|
-
/** The seconds drawn besides the windows. */
|
|
36
|
-
sampling: IAutoMovieCapturePlanRequest.Sampling;
|
|
37
|
-
|
|
38
|
-
/** Seconds of the instants the caller named. */
|
|
39
|
-
events: readonly number[];
|
|
40
|
-
|
|
41
|
-
/** Seconds of the cuts detected in a file. */
|
|
42
|
-
cuts: readonly number[];
|
|
43
|
-
|
|
44
|
-
/** Frames drawn on each side of an event or cut. */
|
|
45
|
-
window: number;
|
|
46
|
-
}): {
|
|
47
|
-
/** Every instant drawn, in time order without repeats. */
|
|
48
|
-
times: IAutoMovieCaptureTime[];
|
|
49
|
-
|
|
50
|
-
/** The frames drawn around each event, then each cut. */
|
|
51
|
-
windows: IAutoMovieCaptureWindow[];
|
|
52
|
-
} {
|
|
31
|
+
export function planAutoMovieCaptureFrames(
|
|
32
|
+
props: IAutoMovieCaptureFramePlanProps,
|
|
33
|
+
): IAutoMovieCaptureFramePlan {
|
|
53
34
|
const { durationSeconds, fps, sampling, window } = props;
|
|
54
35
|
if (!(Number.isFinite(fps) && fps > 0))
|
|
55
36
|
throw new Error(`A capture's frame rate ${fps} is not positive`);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
IAutoMovieCaptureLayout,
|
|
3
|
+
IAutoMovieCaptureLayoutProps,
|
|
4
|
+
} from "@automovie/interface";
|
|
5
|
+
|
|
1
6
|
import { AutoMovieRasterSheet } from "../picture/AutoMovieRasterSheet.js";
|
|
2
|
-
import type { IAutoMovieCaptureBudget } from "./IAutoMovieCaptureBudget.js";
|
|
3
|
-
import type { IAutoMovieCaptureLayout } from "./IAutoMovieCaptureLayout.js";
|
|
4
7
|
|
|
5
8
|
/** Slack for the rounding of a pixel size that is a whole number in exact arithmetic, such as 720 × 200 / 720. */
|
|
6
9
|
const EPSILON: number = 1e-9;
|
|
@@ -25,25 +28,9 @@ const EPSILON: number = 1e-9;
|
|
|
25
28
|
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A pure function of its arguments.
|
|
26
29
|
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources Returns one small record and keeps nothing.
|
|
27
30
|
*/
|
|
28
|
-
export function planAutoMovieCaptureLayout(
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
/** Still height in pixels. */
|
|
33
|
-
height: number;
|
|
34
|
-
|
|
35
|
-
/** Number of cells, at least one. */
|
|
36
|
-
count: number;
|
|
37
|
-
|
|
38
|
-
/** Cells that belong together in a row, such as the views and passes of one instant, at least one. */
|
|
39
|
-
group: number;
|
|
40
|
-
|
|
41
|
-
/** The reader the sheets are for. */
|
|
42
|
-
budget: IAutoMovieCaptureBudget;
|
|
43
|
-
|
|
44
|
-
/** Every caption a cell of these sheets may carry, the longest of which sizes the caption strip; empty for one line. */
|
|
45
|
-
captions: readonly string[];
|
|
46
|
-
}): IAutoMovieCaptureLayout {
|
|
31
|
+
export function planAutoMovieCaptureLayout(
|
|
32
|
+
props: IAutoMovieCaptureLayoutProps,
|
|
33
|
+
): IAutoMovieCaptureLayout {
|
|
47
34
|
const { width, height, count, budget } = props;
|
|
48
35
|
for (const [key, value] of Object.entries({
|
|
49
36
|
width,
|