@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,41 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* A sequence frame sample ready for a render host.
|
|
3
|
-
*
|
|
4
|
-
* @evidence contracts/development/design.md#principled-representation One output index and global sample time resolve to a shot-local time and an optional outgoing tail with incoming blend weight.
|
|
5
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface This record carries the engine-resolved playback decision directly to capture, keeping editorial logic out of host adapters.
|
|
6
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts A hard cut is explicitly null rather than a manufactured blend, and outgoing samples preserve their own shot identity and local second.
|
|
7
|
-
* @evidence contracts/development/common.md#meaningful-documentation Properties specify zero-based indexing, global and local seconds, destination path, null hard cuts and incoming alpha in the half-open unit interval.
|
|
8
|
-
*/
|
|
9
|
-
export interface IAutoMovieSequenceRenderFrame {
|
|
10
|
-
/**
|
|
11
|
-
* Zero-based output frame index.
|
|
12
|
-
*/
|
|
13
|
-
index: number;
|
|
14
|
-
/**
|
|
15
|
-
* Global output sample time in seconds.
|
|
16
|
-
*/
|
|
17
|
-
timeSeconds: number;
|
|
18
|
-
/**
|
|
19
|
-
* Frame path that the capture host should write.
|
|
20
|
-
*/
|
|
21
|
-
path: string;
|
|
22
|
-
/**
|
|
23
|
-
* Live shot id at this output frame.
|
|
24
|
-
*/
|
|
25
|
-
shot: string;
|
|
26
|
-
/**
|
|
27
|
-
* Live shot-local time in seconds.
|
|
28
|
-
*/
|
|
29
|
-
shotTimeSeconds: number;
|
|
30
|
-
/**
|
|
31
|
-
* Outgoing tail blended into this frame, or `null` for a hard cut.
|
|
32
|
-
*/
|
|
33
|
-
blend: {
|
|
34
|
-
/** Outgoing shot id. */
|
|
35
|
-
shot: string;
|
|
36
|
-
/** Outgoing shot-local time in seconds. */
|
|
37
|
-
shotTimeSeconds: number;
|
|
38
|
-
/** Incoming weight in `[0, 1)`. */
|
|
39
|
-
alpha: number;
|
|
40
|
-
} | null;
|
|
41
|
-
}
|
|
1
|
+
export type { IAutoMovieSequenceRenderFrame } from "@automovie/interface";
|
|
@@ -1,76 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { IAutoMovieSequenceRenderShotSpan } from "./IAutoMovieSequenceRenderShotSpan.js";
|
|
3
|
-
import type { IAutoMovieSequenceRenderTransitionSpan } from "./IAutoMovieSequenceRenderTransitionSpan.js";
|
|
4
|
-
/**
|
|
5
|
-
* Public sequence render manifest: editorial timeline, transition spans, frame samples, output paths, and encoder args in one deterministic artifact.
|
|
6
|
-
*
|
|
7
|
-
* @evidence contracts/development/design.md#principled-representation The manifest binds a sequence target to editorial and output fps, resolved spans, exact sample metadata, paths and encoding arguments from one planning call.
|
|
8
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Captures consume one complete manifest rather than independently deriving frame names, transitions and local shot times.
|
|
9
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts The record preserves both frame clocks instead of pretending a render fps override changes the authored cut.
|
|
10
|
-
* @evidence contracts/development/common.md#meaningful-documentation Members document seconds, fps roles, encode ordering, first and last paths and the shared ffmpeg argument vector.
|
|
11
|
-
*/
|
|
12
|
-
export interface IAutoMovieSequenceRenderPlan {
|
|
13
|
-
/**
|
|
14
|
-
* Render target identity.
|
|
15
|
-
*/
|
|
16
|
-
target: {
|
|
17
|
-
kind: "sequence";
|
|
18
|
-
id: string;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Sequence fps as authored by the cut.
|
|
22
|
-
*/
|
|
23
|
-
sequenceFps: number;
|
|
24
|
-
/**
|
|
25
|
-
* Output fps from the render spec.
|
|
26
|
-
*/
|
|
27
|
-
renderFps: number;
|
|
28
|
-
/**
|
|
29
|
-
* Total output seconds after transition overlaps are subtracted.
|
|
30
|
-
*/
|
|
31
|
-
durationSeconds: number;
|
|
32
|
-
/**
|
|
33
|
-
* Number of output frames.
|
|
34
|
-
*/
|
|
35
|
-
frameCount: number;
|
|
36
|
-
/**
|
|
37
|
-
* Global output sample times, one per frame.
|
|
38
|
-
*/
|
|
39
|
-
times: number[];
|
|
40
|
-
/**
|
|
41
|
-
* Shot spans on the output clock.
|
|
42
|
-
*/
|
|
43
|
-
shots: IAutoMovieSequenceRenderShotSpan[];
|
|
44
|
-
/**
|
|
45
|
-
* Incoming transition spans on the output clock.
|
|
46
|
-
*/
|
|
47
|
-
transitionSpans: IAutoMovieSequenceRenderTransitionSpan[];
|
|
48
|
-
/**
|
|
49
|
-
* Frame samples in capture order.
|
|
50
|
-
*/
|
|
51
|
-
frames: IAutoMovieSequenceRenderFrame[];
|
|
52
|
-
/**
|
|
53
|
-
* Directory where frame files should be written.
|
|
54
|
-
*/
|
|
55
|
-
frameDir: string;
|
|
56
|
-
/**
|
|
57
|
-
* First output frame path.
|
|
58
|
-
*/
|
|
59
|
-
firstFrame: string;
|
|
60
|
-
/**
|
|
61
|
-
* Last output frame path.
|
|
62
|
-
*/
|
|
63
|
-
lastFrame: string;
|
|
64
|
-
/**
|
|
65
|
-
* Ffmpeg input pattern for the frame sequence.
|
|
66
|
-
*/
|
|
67
|
-
inputPattern: string;
|
|
68
|
-
/**
|
|
69
|
-
* Encoded video output path.
|
|
70
|
-
*/
|
|
71
|
-
outputPath: string;
|
|
72
|
-
/**
|
|
73
|
-
* Exact ffmpeg argument vector for the encoded output.
|
|
74
|
-
*/
|
|
75
|
-
ffmpegArgs: string[];
|
|
76
|
-
}
|
|
1
|
+
export type { IAutoMovieSequenceRenderPlan } from "@automovie/interface";
|
|
@@ -1,44 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IAutoMovieSequenceRenderPlan } from "./IAutoMovieSequenceRenderPlan.js";
|
|
3
|
-
/**
|
|
4
|
-
* The outcome of rendering a sequence through injected host I/O.
|
|
5
|
-
*
|
|
6
|
-
* @evidence contracts/development/design.md#principled-representation The result records captured samples in encode order alongside the executed manifest, schedule and actual encoded path.
|
|
7
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Keeping the exact plan with captured frames lets inspection compare intended sequence samples with host-returned artifacts.
|
|
8
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts Frame paths are capture results and the output is the encoder result; neither is guessed from a fixture or inferred pattern.
|
|
9
|
-
* @evidence contracts/development/common.md#meaningful-documentation Members distinguish global sample seconds, capture-order records, input pattern, directory and exact encoder arguments.
|
|
10
|
-
*/
|
|
11
|
-
export interface IAutoMovieSequenceRenderResult {
|
|
12
|
-
/**
|
|
13
|
-
* Path to the encoded video.
|
|
14
|
-
*/
|
|
15
|
-
output: string;
|
|
16
|
-
/**
|
|
17
|
-
* Number of captured frames.
|
|
18
|
-
*/
|
|
19
|
-
frameCount: number;
|
|
20
|
-
/**
|
|
21
|
-
* Global output sample times.
|
|
22
|
-
*/
|
|
23
|
-
times: number[];
|
|
24
|
-
/**
|
|
25
|
-
* Captured frame samples in encode order.
|
|
26
|
-
*/
|
|
27
|
-
frames: IAutoMovieSequenceRenderFrame[];
|
|
28
|
-
/**
|
|
29
|
-
* Directory passed through the manifest for frame files.
|
|
30
|
-
*/
|
|
31
|
-
frameDir: string;
|
|
32
|
-
/**
|
|
33
|
-
* Ffmpeg input pattern for the captured frame sequence.
|
|
34
|
-
*/
|
|
35
|
-
inputPattern: string;
|
|
36
|
-
/**
|
|
37
|
-
* Exact ffmpeg argument vector handed to the encode adapter.
|
|
38
|
-
*/
|
|
39
|
-
ffmpegArgs: string[];
|
|
40
|
-
/**
|
|
41
|
-
* The deterministic sequence manifest that drove capture.
|
|
42
|
-
*/
|
|
43
|
-
plan: IAutoMovieSequenceRenderPlan;
|
|
44
|
-
}
|
|
1
|
+
export type { IAutoMovieSequenceRenderResult } from "@automovie/interface";
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* A shot entry resolved onto the sequence output clock.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/design.md#principled-representation An entry index joins a committed shot to its global start and end, played length and source offset in seconds, preserving the authored trim.
|
|
6
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface The manifest exposes shot timing in one span record so capture hosts need not recompute sequence trim arithmetic.
|
|
7
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts The span records engine-resolved timing and authored trim without supplying a replacement shot or consumer-specific duration.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation Member documentation distinguishes global seconds, source-local seconds, entry indexing and nullable authored trim.
|
|
9
|
-
*/
|
|
10
|
-
export interface IAutoMovieSequenceRenderShotSpan {
|
|
11
|
-
/**
|
|
12
|
-
* Index into `sequence.shots`.
|
|
13
|
-
*/
|
|
14
|
-
entry: number;
|
|
15
|
-
/**
|
|
16
|
-
* Shot id played by this entry.
|
|
17
|
-
*/
|
|
18
|
-
shot: string;
|
|
19
|
-
/**
|
|
20
|
-
* Global output second where the entry starts.
|
|
21
|
-
*/
|
|
22
|
-
start: number;
|
|
23
|
-
/**
|
|
24
|
-
* Global output second where the entry ends.
|
|
25
|
-
*/
|
|
26
|
-
end: number;
|
|
27
|
-
/**
|
|
28
|
-
* Seconds of the source shot that this entry plays.
|
|
29
|
-
*/
|
|
30
|
-
played: number;
|
|
31
|
-
/**
|
|
32
|
-
* Source shot-local second where playback begins.
|
|
33
|
-
*/
|
|
34
|
-
offset: number;
|
|
35
|
-
/**
|
|
36
|
-
* Trim copied from the sequence entry.
|
|
37
|
-
*/
|
|
38
|
-
trim: IAutoMovieTrim | null;
|
|
39
|
-
}
|
|
1
|
+
export type { IAutoMovieSequenceRenderShotSpan } from "@automovie/interface";
|
|
@@ -1,39 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Incoming transition span on the output clock.
|
|
4
|
-
*
|
|
5
|
-
* @evidence contracts/development/design.md#principled-representation An incoming entry identifies the outgoing and incoming shots and one transition interval on the global output clock.
|
|
6
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface The manifest names transition timing independently from sampled blend weights because hosts may inspect editorial spans without visiting every frame.
|
|
7
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts Transition kind and duration are the authored values resolved by the timeline, with no shot-name exception.
|
|
8
|
-
* @evidence contracts/development/common.md#meaningful-documentation Members state incoming entry indexing, endpoints, kind and the start, end and overlap duration in seconds.
|
|
9
|
-
*/
|
|
10
|
-
export interface IAutoMovieSequenceRenderTransitionSpan {
|
|
11
|
-
/**
|
|
12
|
-
* Index of the incoming entry in `sequence.shots`.
|
|
13
|
-
*/
|
|
14
|
-
entry: number;
|
|
15
|
-
/**
|
|
16
|
-
* Outgoing shot id.
|
|
17
|
-
*/
|
|
18
|
-
from: string;
|
|
19
|
-
/**
|
|
20
|
-
* Incoming shot id.
|
|
21
|
-
*/
|
|
22
|
-
to: string;
|
|
23
|
-
/**
|
|
24
|
-
* Transition style copied from the sequence entry.
|
|
25
|
-
*/
|
|
26
|
-
kind: IAutoMovieTransition["kind"];
|
|
27
|
-
/**
|
|
28
|
-
* Global output second where the transition begins.
|
|
29
|
-
*/
|
|
30
|
-
start: number;
|
|
31
|
-
/**
|
|
32
|
-
* Global output second where the transition ends.
|
|
33
|
-
*/
|
|
34
|
-
end: number;
|
|
35
|
-
/**
|
|
36
|
-
* Transition overlap duration in seconds.
|
|
37
|
-
*/
|
|
38
|
-
duration: number;
|
|
39
|
-
}
|
|
1
|
+
export type { IAutoMovieSequenceRenderTransitionSpan } from "@automovie/interface";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { IAutoMovieAudioMixInput, IAutoMovieAudioMixResult } from "@automovie/interface";
|
|
1
2
|
/**
|
|
2
3
|
* Sum mono audio sources into one stereo soundtrack, sample-accurately and
|
|
3
4
|
* deterministically.
|
|
@@ -23,42 +24,4 @@
|
|
|
23
24
|
* @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.
|
|
24
25
|
* @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 11 allocation sites become the returned value or die with the call, so nothing grows.
|
|
25
26
|
*/
|
|
26
|
-
export declare function mixAutoMovieAudioPcm(input:
|
|
27
|
-
/** Output samples per second; a positive safe integer. */ sampleRate: number;
|
|
28
|
-
/** Output length in samples; a positive safe integer. */ frames: number;
|
|
29
|
-
/** Normalized mono sources by id, at the output rate. */ sources: Readonly<Record<string, Float32Array>>;
|
|
30
|
-
/** The cues. */ cues: readonly mixAutoMovieAudioPcm.ICue[];
|
|
31
|
-
/** Linear gain applied to every cue; 1 by default. */ master?: number;
|
|
32
|
-
/** Edge fade length, seconds; 0.004 by default. */ fadeSeconds?: number;
|
|
33
|
-
}): {
|
|
34
|
-
left: Float32Array;
|
|
35
|
-
right: Float32Array;
|
|
36
|
-
peak: number;
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Companion types of {@link mixAutoMovieAudioPcm}.
|
|
40
|
-
*
|
|
41
|
-
* @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Companion types of ) and documents 1 documented member as stated in this comment.
|
|
42
|
-
* @evidence contracts/development/design.md#principled-representation Represents Companion types of : companion namespace of 1 member (`ICue`); units and frames named in its text: seconds. It has no optional member, so no absent-value state combines with another.
|
|
43
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Owned by the module that declares `mixAutoMovieAudioPcm` in packages/render/src/audio/mixAutoMovieAudioPcm.ts; its surface is the 1 member listed and the text shows 4 other files naming it, mostly packages/render (2), packages/viewer (1), test (1), so no member is declared for a presumed future need.
|
|
44
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts Scanning the declaration finds no `any`, no `unknown`, no index signature and no cast; it duplicates no type that another owner declares as far as a name search shows.
|
|
45
|
-
*/
|
|
46
|
-
export declare namespace mixAutoMovieAudioPcm {
|
|
47
|
-
/** One placed source excerpt. */
|
|
48
|
-
interface ICue {
|
|
49
|
-
/** Source id. */
|
|
50
|
-
asset: string;
|
|
51
|
-
/** Output onset, seconds; nonnegative. */
|
|
52
|
-
seconds: number;
|
|
53
|
-
/** Linear gain; nonnegative. */
|
|
54
|
-
gain: number;
|
|
55
|
-
/** Equal-power pan in [-1, 1]; 0 by default. */
|
|
56
|
-
pan?: number;
|
|
57
|
-
/** Source offset, seconds; 0 by default. */
|
|
58
|
-
offsetSeconds?: number;
|
|
59
|
-
/** Output duration, seconds; the rest of the source by default. */
|
|
60
|
-
durationSeconds?: number;
|
|
61
|
-
/** Source samples per output sample; 1 by default. */
|
|
62
|
-
rate?: number;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
27
|
+
export declare function mixAutoMovieAudioPcm(input: IAutoMovieAudioMixInput): IAutoMovieAudioMixResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mixAutoMovieAudioPcm.js","sourceRoot":"","sources":["../../src/audio/mixAutoMovieAudioPcm.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"mixAutoMovieAudioPcm.js","sourceRoot":"","sources":["../../src/audio/mixAutoMovieAudioPcm.ts"],"names":[],"mappings":";;;AAMA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,8BACE,KAA8B;IAE9B,MAAM,IAAI,GAAW,KAAK,CAAC,UAAU,CAAC;IACtC,IACE,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI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AAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;QACnE,CAAC;IACH,CAAC,CAAC,CAAC;IACH,IAAI,IAAI,GAAW,CAAC,CAAC;IACrB,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE;QAC3C,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAE,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC;IACjE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,GAAG,CAAC;QACpC,MAAM,IAAI,KAAK,CAAC,+BAA+B,IAAI,EAAE,CAAC,CAAC;IACzD,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mixAutoMovieAudioPcm.mjs","names":[],"sources":["../../src/audio/mixAutoMovieAudioPcm.ts"],"sourcesContent":["/**\n * Sum mono audio sources into one stereo soundtrack, sample-accurately and\n * deterministically.\n *\n * Each cue reads its source from `offsetSeconds` at `rate` source samples per\n * output sample (two-tap linear interpolation), starting at output sample\n * `round(seconds * sampleRate)` and lasting `round(durationSeconds *\n * sampleRate)` samples (the rest of the source by default). It is shaped by\n * symmetric linear edge fades of `fadeSeconds` (at most half the cue) and\n * placed by equal-power pan, left `cos((pan + 1) pi / 4)` and right\n * `sin((pan + 1) pi / 4)`, times its gain and the master gain. Samples past\n * the soundtrack's end are dropped. The sum is clipping-safe by refusal: a\n * nonfinite sample or a peak above 1 throws instead of limiting, so a mix\n * never ships silently distorted. Cost is linear in audible cue samples and\n * the output length.\n *\n * @returns Both channels the caller owns, and the peak absolute amplitude.\n * @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Sum mono audio sources into one stereo soundtrack, sample-accurately and deterministically) and documents the returned value as stated in this comment.\n * @evidence contracts/development/implementation.md#principled-implementation Implements the documented behavior (Sum mono audio sources into one stereo soundtrack, sample-accurately and deterministically) directly over its typed inputs (`input`) as nested iteration of depth 2 (forEach over input.cues; every over [cue.seconds, cue.gain, pan, speed, offs; for loop bounded by k < count && start + k < input.frames), delegating to `Number.isSafeInteger`, `Math.abs`, `Math.floor`, `Math.round`, `Math.cos`; the premises are the units, frames and ranges stated in its parameter documentation, enforced only where the body throws (7 throw sites). Beyond structural 0, 1 and 2 the body uses the literals 0.004, 4, whose basis this answer does not independently establish and a reviewer must confirm.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure One operation of 70 lines and 12 top-level statements that reuses `Number.isSafeInteger`, `Math.abs`, `Math.floor`, `Math.round`, `Math.cos` from their owners instead of copying them; it adds no option, layer or abstraction beyond its documented parameters.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The body contains 0 `any`, 0 type assertion(s), 6 non-null assertion(s); these are the remaining shortcuts and are not justified here.\n * @evidence contracts/development/implementation.md#efficient-algorithms Cost is driven by the sizes of `input`; the dominant cost is nested iteration of depth 2 (forEach over input.cues; every over [cue.seconds, cue.gain, pan, speed, offs; for loop bounded by k < count && start + k < input.frames), performed once per call with 11 allocation sites (literals and constructed values). No speedup is claimed and none is measured.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.\n * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 11 allocation sites become the returned value or die with the call, so nothing grows.\n */\nexport function mixAutoMovieAudioPcm(input: {\n /** Output samples per second; a positive safe integer. */ sampleRate: number;\n /** Output length in samples; a positive safe integer. */ frames: number;\n /** Normalized mono sources by id, at the output rate. */ sources: Readonly<\n Record<string, Float32Array>\n >;\n /** The cues. */ cues: readonly mixAutoMovieAudioPcm.ICue[];\n /** Linear gain applied to every cue; 1 by default. */ master?: number;\n /** Edge fade length, seconds; 0.004 by default. */ fadeSeconds?: number;\n}): { left: Float32Array; right: Float32Array; peak: number } {\n const rate: number = input.sampleRate;\n if (\n !Number.isSafeInteger(rate) ||\n rate <= 0 ||\n !Number.isSafeInteger(input.frames) ||\n input.frames <= 0\n )\n throw new Error(\"Invalid audio mix rate or length\");\n const master: number = input.master ?? 1;\n const fadeSeconds: number = input.fadeSeconds ?? 0.004;\n if (!(master >= 0) || !(fadeSeconds >= 0))\n throw new Error(\"Invalid audio mix master gain or fade\");\n const left: Float32Array = new Float32Array(input.frames);\n const right: Float32Array = new Float32Array(input.frames);\n input.cues.forEach((cue: mixAutoMovieAudioPcm.ICue, index: number): void => {\n const source: Float32Array | undefined = input.sources[cue.asset];\n if (source === undefined || source.length === 0)\n throw new Error(`Audio cue ${index} names no source: ${cue.asset}`);\n const speed: number = cue.rate ?? 1;\n const offset: number = (cue.offsetSeconds ?? 0) * rate;\n const pan: number = cue.pan ?? 0;\n if (\n ![cue.seconds, cue.gain, pan, speed, offset].every(Number.isFinite) ||\n cue.seconds < 0 ||\n cue.gain < 0 ||\n Math.abs(pan) > 1 ||\n !(speed > 0) ||\n offset < 0\n )\n throw new Error(`Invalid audio cue ${index}: ${cue.asset}`);\n const available: number =\n Math.floor((source.length - 1 - offset) / speed) + 1;\n const count: number =\n cue.durationSeconds === undefined\n ? available\n : Math.round(cue.durationSeconds * rate);\n if (!(count > 0) || count > available)\n throw new Error(`Audio cue ${index} reads past its source: ${cue.asset}`);\n const start: number = Math.round(cue.seconds * rate);\n const gainLeft: number =\n Math.cos(((pan + 1) * Math.PI) / 4) * cue.gain * master;\n const gainRight: number =\n Math.sin(((pan + 1) * Math.PI) / 4) * cue.gain * master;\n const fade: number = Math.min(\n Math.round(fadeSeconds * rate),\n Math.floor(count / 2),\n );\n for (let k: number = 0; k < count && start + k < input.frames; k++) {\n const position: number = offset + k * speed;\n const lower: number = Math.floor(position);\n const fraction: number = position - lower;\n const sample: number =\n source[lower]! * (1 - fraction) +\n source[Math.min(lower + 1, source.length - 1)]! * fraction;\n if (!Number.isFinite(sample))\n throw new Error(`Nonfinite audio source sample: ${cue.asset}`);\n const edge: number =\n fade === 0 ? 1 : Math.min(1, k / fade, (count - 1 - k) / fade);\n left[start + k] = left[start + k]! + sample * edge * gainLeft;\n right[start + k] = right[start + k]! + sample * edge * gainRight;\n }\n });\n let peak: number = 0;\n for (let k: number = 0; k < input.frames; k++)\n peak = Math.max(peak, Math.abs(left[k]!), Math.abs(right[k]!));\n if (!Number.isFinite(peak) || peak > 1)\n throw new Error(`The audio mix clips at peak ${peak}`);\n return { left, right, peak };\n}\n/**\n * Companion types of {@link mixAutoMovieAudioPcm}.\n *\n * @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Companion types of ) and documents 1 documented member as stated in this comment.\n * @evidence contracts/development/design.md#principled-representation Represents Companion types of : companion namespace of 1 member (`ICue`); units and frames named in its text: seconds. It has no optional member, so no absent-value state combines with another.\n * @evidence contracts/development/design.md#minimal-and-owned-surface Owned by the module that declares `mixAutoMovieAudioPcm` in packages/render/src/audio/mixAutoMovieAudioPcm.ts; its surface is the 1 member listed and the text shows 4 other files naming it, mostly packages/render (2), packages/viewer (1), test (1), so no member is declared for a presumed future need.\n * @evidence contracts/development/design.md#prohibited-design-shortcuts Scanning the declaration finds no `any`, no `unknown`, no index signature and no cast; it duplicates no type that another owner declares as far as a name search shows.\n */\nexport namespace mixAutoMovieAudioPcm {\n /** One placed source excerpt. */\n export interface ICue {\n /** Source id. */\n asset: string;\n\n /** Output onset, seconds; nonnegative. */\n seconds: number;\n\n /** Linear gain; nonnegative. */\n gain: number;\n\n /** Equal-power pan in [-1, 1]; 0 by default. */\n pan?: number;\n\n /** Source offset, seconds; 0 by default. */\n offsetSeconds?: number;\n\n /** Output duration, seconds; the rest of the source by default. */\n durationSeconds?: number;\n\n /** Source samples per output sample; 1 by default. */\n rate?: number;\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mixAutoMovieAudioPcm.ts"],"sourcesContent":["import type {\n IAutoMovieAudioMixCue,\n IAutoMovieAudioMixInput,\n IAutoMovieAudioMixResult,\n} from \"@automovie/interface\";\n\n/**\n * Sum mono audio sources into one stereo soundtrack, sample-accurately and\n * deterministically.\n *\n * Each cue reads its source from `offsetSeconds` at `rate` source samples per\n * output sample (two-tap linear interpolation), starting at output sample\n * `round(seconds * sampleRate)` and lasting `round(durationSeconds *\n * sampleRate)` samples (the rest of the source by default). It is shaped by\n * symmetric linear edge fades of `fadeSeconds` (at most half the cue) and\n * placed by equal-power pan, left `cos((pan + 1) pi / 4)` and right\n * `sin((pan + 1) pi / 4)`, times its gain and the master gain. Samples past\n * the soundtrack's end are dropped. The sum is clipping-safe by refusal: a\n * nonfinite sample or a peak above 1 throws instead of limiting, so a mix\n * never ships silently distorted. Cost is linear in audible cue samples and\n * the output length.\n *\n * @returns Both channels the caller owns, and the peak absolute amplitude.\n * @evidence contracts/development/common.md#meaningful-documentation Gives the purpose (Sum mono audio sources into one stereo soundtrack, sample-accurately and deterministically) and documents the returned value as stated in this comment.\n * @evidence contracts/development/implementation.md#principled-implementation Implements the documented behavior (Sum mono audio sources into one stereo soundtrack, sample-accurately and deterministically) directly over its typed inputs (`input`) as nested iteration of depth 2 (forEach over input.cues; every over [cue.seconds, cue.gain, pan, speed, offs; for loop bounded by k < count && start + k < input.frames), delegating to `Number.isSafeInteger`, `Math.abs`, `Math.floor`, `Math.round`, `Math.cos`; the premises are the units, frames and ranges stated in its parameter documentation, enforced only where the body throws (7 throw sites). Beyond structural 0, 1 and 2 the body uses the literals 0.004, 4, whose basis this answer does not independently establish and a reviewer must confirm.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure One operation of 70 lines and 12 top-level statements that reuses `Number.isSafeInteger`, `Math.abs`, `Math.floor`, `Math.round`, `Math.cos` from their owners instead of copying them; it adds no option, layer or abstraction beyond its documented parameters.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The body contains 0 `any`, 0 type assertion(s), 6 non-null assertion(s); these are the remaining shortcuts and are not justified here.\n * @evidence contracts/development/implementation.md#efficient-algorithms Cost is driven by the sizes of `input`; the dominant cost is nested iteration of depth 2 (forEach over input.cues; every over [cue.seconds, cue.gain, pan, speed, offs; for loop bounded by k < count && start + k < input.frames), performed once per call with 11 allocation sites (literals and constructed values). No speedup is claimed and none is measured.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The operation coordinates no requests, phases or consumers and holds no cache: each call recomputes from its arguments and shares nothing, which is correct because its result depends only on them.\n * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function acquires no handle, timer, listener or task and keeps no state between calls; its 11 allocation sites become the returned value or die with the call, so nothing grows.\n */\nexport function mixAutoMovieAudioPcm(\n input: IAutoMovieAudioMixInput,\n): IAutoMovieAudioMixResult {\n const rate: number = input.sampleRate;\n if (\n !Number.isSafeInteger(rate) ||\n rate <= 0 ||\n !Number.isSafeInteger(input.frames) ||\n input.frames <= 0\n )\n throw new Error(\"Invalid audio mix rate or length\");\n const master: number = input.master ?? 1;\n const fadeSeconds: number = input.fadeSeconds ?? 0.004;\n if (!(master >= 0) || !(fadeSeconds >= 0))\n throw new Error(\"Invalid audio mix master gain or fade\");\n const left: Float32Array = new Float32Array(input.frames);\n const right: Float32Array = new Float32Array(input.frames);\n input.cues.forEach((cue: IAutoMovieAudioMixCue, index: number): void => {\n const source: Float32Array | undefined = input.sources[cue.asset];\n if (source === undefined || source.length === 0)\n throw new Error(`Audio cue ${index} names no source: ${cue.asset}`);\n const speed: number = cue.rate ?? 1;\n const offset: number = (cue.offsetSeconds ?? 0) * rate;\n const pan: number = cue.pan ?? 0;\n if (\n ![cue.seconds, cue.gain, pan, speed, offset].every(Number.isFinite) ||\n cue.seconds < 0 ||\n cue.gain < 0 ||\n Math.abs(pan) > 1 ||\n !(speed > 0) ||\n offset < 0\n )\n throw new Error(`Invalid audio cue ${index}: ${cue.asset}`);\n const available: number =\n Math.floor((source.length - 1 - offset) / speed) + 1;\n const count: number =\n cue.durationSeconds === undefined\n ? available\n : Math.round(cue.durationSeconds * rate);\n if (!(count > 0) || count > available)\n throw new Error(`Audio cue ${index} reads past its source: ${cue.asset}`);\n const start: number = Math.round(cue.seconds * rate);\n const gainLeft: number =\n Math.cos(((pan + 1) * Math.PI) / 4) * cue.gain * master;\n const gainRight: number =\n Math.sin(((pan + 1) * Math.PI) / 4) * cue.gain * master;\n const fade: number = Math.min(\n Math.round(fadeSeconds * rate),\n Math.floor(count / 2),\n );\n for (let k: number = 0; k < count && start + k < input.frames; k++) {\n const position: number = offset + k * speed;\n const lower: number = Math.floor(position);\n const fraction: number = position - lower;\n const sample: number =\n source[lower]! * (1 - fraction) +\n source[Math.min(lower + 1, source.length - 1)]! * fraction;\n if (!Number.isFinite(sample))\n throw new Error(`Nonfinite audio source sample: ${cue.asset}`);\n const edge: number =\n fade === 0 ? 1 : Math.min(1, k / fade, (count - 1 - k) / fade);\n left[start + k] = left[start + k]! + sample * edge * gainLeft;\n right[start + k] = right[start + k]! + sample * edge * gainRight;\n }\n });\n let peak: number = 0;\n for (let k: number = 0; k < input.frames; k++)\n peak = Math.max(peak, Math.abs(left[k]!), Math.abs(right[k]!));\n if (!Number.isFinite(peak) || peak > 1)\n throw new Error(`The audio mix clips at peak ${peak}`);\n return { left, right, peak };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,SAAgB,qBACd,OAC0B;CAC1B,MAAM,OAAe,MAAM;CAC3B,IACE,CAAC,OAAO,cAAc,IAAI,KAC1B,QAAQ,KACR,CAAC,OAAO,cAAc,MAAM,MAAM,KAClC,MAAM,UAAU,GAEhB,MAAM,IAAI,MAAM,kCAAkC;CACpD,MAAM,SAAiB,MAAM,UAAU;CACvC,MAAM,cAAsB,MAAM,eAAe;CACjD,IAAI,EAAE,UAAU,MAAM,EAAE,eAAe,IACrC,MAAM,IAAI,MAAM,uCAAuC;CACzD,MAAM,OAAqB,IAAI,aAAa,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;GACtC,MAAM,QAAgB,KAAK,MAAM,QAAQ;GACzC,MAAM,WAAmB,WAAW;GACpC,MAAM,SACJ,OAAO,UAAW,IAAI,YACtB,OAAO,KAAK,IAAI,QAAQ,GAAG,OAAO,SAAS,CAAC,KAAM;GACpD,IAAI,CAAC,OAAO,SAAS,MAAM,GACzB,MAAM,IAAI,MAAM,kCAAkC,IAAI,OAAO;GAC/D,MAAM,OACJ,SAAS,IAAI,IAAI,KAAK,IAAI,GAAG,IAAI,OAAO,QAAQ,IAAI,KAAK,IAAI;GAC/D,KAAK,QAAQ,KAAK,KAAK,QAAQ,KAAM,SAAS,OAAO;GACrD,MAAM,QAAQ,KAAK,MAAM,QAAQ,KAAM,SAAS,OAAO;EACzD;CACF,CAAC;CACD,IAAI,OAAe;CACnB,KAAK,IAAI,IAAY,GAAG,IAAI,MAAM,QAAQ,KACxC,OAAO,KAAK,IAAI,MAAM,KAAK,IAAI,KAAK,EAAG,GAAG,KAAK,IAAI,MAAM,EAAG,CAAC;CAC/D,IAAI,CAAC,OAAO,SAAS,IAAI,KAAK,OAAO,GACnC,MAAM,IAAI,MAAM,+BAA+B,MAAM;CACvD,OAAO;EAAE;EAAM;EAAO;CAAK;AAC7B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IAutoMovieRenderObservationAudit, IAutoMovieRenderObservationAuditRequest } from "@automovie/interface";
|
|
2
2
|
/**
|
|
3
3
|
* Check what one capture actually drew against the report that cleared it.
|
|
4
4
|
*
|
|
@@ -16,16 +16,4 @@ import type { AutoMovieRenderMetric, IAutoMovieRenderObservation, IAutoMovieRend
|
|
|
16
16
|
* @evidence contracts/development/implementation.md#reuse-equivalent-work The per-call finding map supplies all observation lookups without repeatedly scanning the report; results cannot be reused for a different capture observation.
|
|
17
17
|
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Maps and duplicate sets are call-local, and the returned breach and unchecked arrays contain at most seven entries with no report or graphics-context ownership.
|
|
18
18
|
*/
|
|
19
|
-
export declare function auditAutoMovieRenderObservation(props:
|
|
20
|
-
/** The report that cleared the artifact. */
|
|
21
|
-
report: IAutoMovieRenderReport;
|
|
22
|
-
/** What the captured scene actually submits. */
|
|
23
|
-
observed: IAutoMovieRenderObservation;
|
|
24
|
-
}): {
|
|
25
|
-
/** Whether every observable metric was measured and stayed inside its bound. */
|
|
26
|
-
agrees: boolean;
|
|
27
|
-
/** Every observed value above its report bound, in metric order. */
|
|
28
|
-
breaches: IAutoMovieRenderObservationBreach[];
|
|
29
|
-
/** Observable metrics for which the report produced no number. */
|
|
30
|
-
unchecked: AutoMovieRenderMetric[];
|
|
31
|
-
};
|
|
19
|
+
export declare function auditAutoMovieRenderObservation(props: IAutoMovieRenderObservationAuditRequest): IAutoMovieRenderObservationAudit;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auditAutoMovieRenderObservation.js","sourceRoot":"","sources":["../src/auditAutoMovieRenderObservation.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"auditAutoMovieRenderObservation.js","sourceRoot":"","sources":["../src/auditAutoMovieRenderObservation.ts"],"names":[],"mappings":";;;AAQA;;;;;;;;;;;;;;;;GAgBG;AACH,yCACE,KAA8C;IAE9C,MAAM,UAAU,GAEZ;QACF,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,WAAW,EAAE,WAAW,CAAC;QAC1B,CAAC,UAAU,EAAE,UAAU,CAAC;QACxB,CAAC,QAAQ,EAAE,QAAQ,CAAC;QACpB,CAAC,YAAY,EAAE,YAAY,CAAC;QAC5B,CAAC,eAAe,EAAE,eAAe,CAAC;KACnC,CAAC;IACF,MAAM,QAAQ,GAA8C,IAAI,GAAG,EAAE,CAAC;IACtE,MAAM,SAAS,GAA+B,IAAI,GAAG,EAAE,CAAC;IACxD,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,QAAQ,EAA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ovieRenderObservation.ts"],"sourcesContent":["import type {\n AutoMovieRenderMetric,\n IAutoMovieRenderObservation,\n
|
|
1
|
+
{"version":3,"file":"auditAutoMovieRenderObservation.mjs","names":[],"sources":["../src/auditAutoMovieRenderObservation.ts"],"sourcesContent":["import type {\n AutoMovieRenderMetric,\n IAutoMovieRenderObservation,\n IAutoMovieRenderObservationAudit,\n IAutoMovieRenderObservationAuditRequest,\n IAutoMovieRenderObservationBreach,\n} from \"@automovie/interface\";\n\n/**\n * Check what one capture actually drew against the report that cleared it.\n *\n * Report measurements are exact or conservative preflight bounds. Drawing less\n * is expected after culling and level-of-detail selection, while drawing more\n * proves that the report describes a different render inventory. A metric for\n * which the report produced no number remains `unchecked`; absence of a breach\n * never turns an analysis that did not run into agreement.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Each observable metric is compared with its unique finite non-negative report bound; duplicate findings, absent bounds and unknown observed counts remain unchecked rather than certifying agreement.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns the report-versus-capture comparison only, using one table to associate observation fields with report metrics.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No metric is defaulted to zero and no duplicate finding wins by position; greater observed counts become breaches while smaller counts remain admissible after culling.\n * @evidence contracts/development/common.md#meaningful-documentation The comment explains conservative bounds, culling and unchecked measurements; return fields distinguish complete agreement, breaches and unknown metrics.\n * @evidence contracts/development/implementation.md#efficient-algorithms For R findings, one map-building traversal plus seven fixed observation comparisons costs O(R) time and O(R) indexed entries.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The per-call finding map supplies all observation lookups without repeatedly scanning the report; results cannot be reused for a different capture observation.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Maps and duplicate sets are call-local, and the returned breach and unchecked arrays contain at most seven entries with no report or graphics-context ownership.\n */\nexport function auditAutoMovieRenderObservation(\n props: IAutoMovieRenderObservationAuditRequest,\n): IAutoMovieRenderObservationAudit {\n const observable: ReadonlyArray<\n [AutoMovieRenderMetric, keyof IAutoMovieRenderObservation]\n > = [\n [\"triangles\", \"triangles\"],\n [\"drawCalls\", \"drawCalls\"],\n [\"materials\", \"materials\"],\n [\"textures\", \"textures\"],\n [\"lights\", \"lights\"],\n [\"shadowMaps\", \"shadowMaps\"],\n [\"instanceSlots\", \"instanceSlots\"],\n ];\n const measured: Map<AutoMovieRenderMetric, number | null> = new Map();\n const duplicate: Set<AutoMovieRenderMetric> = new Set();\n for (const finding of props.report.findings) {\n if (measured.has(finding.metric)) duplicate.add(finding.metric);\n else measured.set(finding.metric, finding.measured);\n }\n const breaches: IAutoMovieRenderObservationBreach[] = [];\n const unchecked: AutoMovieRenderMetric[] = [];\n for (const [metric, field] of observable) {\n const bound: number | null = measured.get(metric) ?? null;\n const observed: number | null = props.observed[field];\n if (\n duplicate.has(metric) ||\n bound === null ||\n Number.isFinite(bound) === false ||\n bound < 0 ||\n observed === null ||\n Number.isFinite(observed) === false ||\n observed < 0\n ) {\n unchecked.push(metric);\n continue;\n }\n if (observed > bound) breaches.push({ metric, bound, observed });\n }\n return {\n agrees: breaches.length === 0 && unchecked.length === 0,\n breaches,\n unchecked,\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAyBA,SAAgB,gCACd,OACkC;CAClC,MAAM,aAEF;EACF,CAAC,aAAa,WAAW;EACzB,CAAC,aAAa,WAAW;EACzB,CAAC,aAAa,WAAW;EACzB,CAAC,YAAY,UAAU;EACvB,CAAC,UAAU,QAAQ;EACnB,CAAC,cAAc,YAAY;EAC3B,CAAC,iBAAiB,eAAe;CACnC;CACA,MAAM,2BAAsD,IAAI,IAAI;CACpE,MAAM,4BAAwC,IAAI,IAAI;CACtD,KAAK,MAAM,WAAW,MAAM,OAAO,UACjC,IAAI,SAAS,IAAI,QAAQ,MAAM,GAAG,UAAU,IAAI,QAAQ,MAAM;MACzD,SAAS,IAAI,QAAQ,QAAQ,QAAQ,QAAQ;CAEpD,MAAM,WAAgD,CAAC;CACvD,MAAM,YAAqC,CAAC;CAC5C,KAAK,MAAM,CAAC,QAAQ,UAAU,YAAY;EACxC,MAAM,QAAuB,SAAS,IAAI,MAAM,KAAK;EACrD,MAAM,WAA0B,MAAM,SAAS;EAC/C,IACE,UAAU,IAAI,MAAM,KACpB,UAAU,QACV,OAAO,SAAS,KAAK,MAAM,SAC3B,QAAQ,KACR,aAAa,QACb,OAAO,SAAS,QAAQ,MAAM,SAC9B,WAAW,GACX;GACA,UAAU,KAAK,MAAM;GACrB;EACF;EACA,IAAI,WAAW,OAAO,SAAS,KAAK;GAAE;GAAQ;GAAO;EAAS,CAAC;CACjE;CACA,OAAO;EACL,QAAQ,SAAS,WAAW,KAAK,UAAU,WAAW;EACtD;EACA;CACF;AACF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IAutoMovieArtifactStore } from "@automovie/
|
|
1
|
+
import type { IAutoMovieArtifactStore } from "@automovie/interface";
|
|
2
2
|
/**
|
|
3
3
|
* An engine artifact store a browser page reaches over HTTP, served by
|
|
4
4
|
* `createAutoMovieArtifactMiddleware` from a directory store on the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAutoMovieHttpArtifactStore.mjs","names":[],"sources":["../../src/cache/createAutoMovieHttpArtifactStore.ts"],"sourcesContent":["import type { IAutoMovieArtifactStore } from \"@automovie/
|
|
1
|
+
{"version":3,"file":"createAutoMovieHttpArtifactStore.mjs","names":[],"sources":["../../src/cache/createAutoMovieHttpArtifactStore.ts"],"sourcesContent":["import type { IAutoMovieArtifactStore } from \"@automovie/interface\";\n\n/**\n * An engine artifact store a browser page reaches over HTTP, served by\n * `createAutoMovieArtifactMiddleware` from a directory store on the\n * production's development server.\n *\n * A page computing an expensive deterministic stage (a prepared figure, a\n * physics bake) cannot write files, and a fresh headless capture browser has\n * no persistent browser storage, so the cache lives with the server: one\n * directory serves the interactive Viewer and every render capture alike.\n * `GET <base>/<hex>` returns the bytes with header\n * `x-automovie-artifact-digest` or 404, `PUT` stores them with that header and\n * `DELETE` removes them, where `<hex>` is the key without `sha256:`. Digests\n * use `crypto.subtle`, available in secure contexts, which include\n * `http://localhost` and `http://127.0.0.1`.\n *\n * @param base Route prefix or absolute URL, such as `/__automovie/artifacts`.\n * @returns A store; a network failure or a non-success status rejects.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Uses the Fetch standard's methods and status codes and Web Crypto's SHA-256, which equals Node's createHash digest on the server, so both sides verify the same content digest.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Transport only; the engine resolver decides reuse and the middleware owns files.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Only 404 means absent; every other failure rejects instead of being read as a miss.\n * @evidence contracts/development/implementation.md#efficient-algorithms One request per operation; digest cost is linear in artifact bytes.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The store shares nothing itself; the engine resolver decides reuse.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Each request's body is held only until it resolves; no connection or cache is retained.\n * @evidence contracts/development/common.md#meaningful-documentation States why the store is server-backed, the routes and header, the secure-context requirement and failure behavior.\n */\nexport function createAutoMovieHttpArtifactStore(\n base: string,\n): IAutoMovieArtifactStore {\n const url: (key: string) => string = (key: string): string => {\n if (!/^sha256:[0-9a-f]{64}$/.test(key))\n throw new Error(`Invalid artifact key: ${key}`);\n return `${base.replace(/\\/+$/, \"\")}/${key.slice(7)}`;\n };\n const expect: (response: Response, operation: string) => void = (\n response: Response,\n operation: string,\n ): void => {\n if (!response.ok)\n throw new Error(\n `Artifact ${operation} failed with HTTP ${response.status}`,\n );\n };\n return {\n read: async (\n key: string,\n ): Promise<IAutoMovieArtifactStore.IEntry | undefined> => {\n const response: Response = await fetch(url(key));\n if (response.status === 404) return undefined;\n expect(response, \"read\");\n const digest: string | null = response.headers.get(HEADER);\n if (digest === null) throw new Error(\"Artifact read lacks its digest\");\n return { bytes: new Uint8Array(await response.arrayBuffer()), digest };\n },\n write: async (\n key: string,\n entry: IAutoMovieArtifactStore.IEntry,\n ): Promise<void> => {\n expect(\n await fetch(url(key), {\n method: \"PUT\",\n headers: { [HEADER]: entry.digest },\n body: entry.bytes as BodyInit,\n }),\n \"write\",\n );\n },\n remove: async (key: string): Promise<void> => {\n expect(await fetch(url(key), { method: \"DELETE\" }), \"remove\");\n },\n digest: async (bytes: Uint8Array): Promise<string> =>\n `sha256:${Array.from(\n new Uint8Array(\n await crypto.subtle.digest(\"SHA-256\", bytes as BufferSource),\n ),\n (byte: number): string => byte.toString(16).padStart(2, \"0\"),\n ).join(\"\")}`,\n };\n}\n\n/** Response and request header carrying the entry's recorded digest. */\nconst HEADER: string = \"x-automovie-artifact-digest\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA4BA,SAAgB,iCACd,MACyB;CACzB,MAAM,OAAgC,QAAwB;EAC5D,IAAI,CAAC,wBAAwB,KAAK,GAAG,GACnC,MAAM,IAAI,MAAM,yBAAyB,KAAK;EAChD,OAAO,GAAG,KAAK,QAAQ,QAAQ,EAAE,EAAE,GAAG,IAAI,MAAM,CAAC;CACnD;CACA,MAAM,UACJ,UACA,cACS;EACT,IAAI,CAAC,SAAS,IACZ,MAAM,IAAI,MACR,YAAY,UAAU,oBAAoB,SAAS,QACrD;CACJ;CACA,OAAO;EACL,MAAM,OACJ,QACwD;GACxD,MAAM,WAAqB,MAAM,MAAM,IAAI,GAAG,CAAC;GAC/C,IAAI,SAAS,WAAW,KAAK,OAAO,KAAA;GACpC,OAAO,UAAU,MAAM;GACvB,MAAM,SAAwB,SAAS,QAAQ,IAAI,MAAM;GACzD,IAAI,WAAW,MAAM,MAAM,IAAI,MAAM,gCAAgC;GACrE,OAAO;IAAE,OAAO,IAAI,WAAW,MAAM,SAAS,YAAY,CAAC;IAAG;GAAO;EACvE;EACA,OAAO,OACL,KACA,UACkB;GAClB,OACE,MAAM,MAAM,IAAI,GAAG,GAAG;IACpB,QAAQ;IACR,SAAS,GAAG,SAAS,MAAM,OAAO;IAClC,MAAM,MAAM;GACd,CAAC,GACD,OACF;EACF;EACA,QAAQ,OAAO,QAA+B;GAC5C,OAAO,MAAM,MAAM,IAAI,GAAG,GAAG,EAAE,QAAQ,SAAS,CAAC,GAAG,QAAQ;EAC9D;EACA,QAAQ,OAAO,UACb,UAAU,MAAM,KACd,IAAI,WACF,MAAM,OAAO,OAAO,OAAO,WAAW,KAAqB,CAC7D,IACC,SAAyB,KAAK,SAAS,EAAE,CAAC,CAAC,SAAS,GAAG,GAAG,CAC7D,CAAC,CAAC,KAAK,EAAE;CACb;AACF;;AAGA,MAAM,SAAiB"}
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
* One beat's caption and the slug of its enclosing scene, as the caption join
|
|
3
|
-
* reads them from the screenplay tree.
|
|
4
|
-
*
|
|
5
|
-
* `beatCaptions` builds one record per beat node, keyed by beat id, and
|
|
6
|
-
* `planCaptionSidecar` copies both fields onto every sidecar span whose live
|
|
7
|
-
* shot belongs to that beat.
|
|
8
|
-
*
|
|
9
|
-
* @evidence contracts/development/design.md#principled-representation The record carries the beat node's caption verbatim and the slug `screenplaySceneSlug` formats, so a span's scene label and the screenplay heading come from one formatter, and null mirrors the absence the tree payload itself encodes.
|
|
10
|
-
* @evidence contracts/development/design.md#minimal-and-owned-surface Two nullable fields are all the sidecar join reads from a beat node; the beat identity stays the map key in `beatCaptions` instead of a third field the join would never read.
|
|
11
|
-
* @evidence contracts/development/design.md#prohibited-design-shortcuts No consumer or fixture is special-cased: both nulls stand for states the screenplay tree can hold, an uncaptioned beat and a beat outside every scene.
|
|
12
|
-
* @evidence contracts/development/common.md#meaningful-documentation The prose names the producer and the reader of the record, and each member says what its null means.
|
|
13
|
-
*/
|
|
14
|
-
export interface IAutoMovieBeatCaption {
|
|
15
|
-
/** The beat's authored shot caption, or null when the beat authored none. */
|
|
16
|
-
caption: string | null;
|
|
17
|
-
/**
|
|
18
|
-
* Slug of the nearest enclosing scene node, or null when no scene encloses
|
|
19
|
-
* the beat.
|
|
20
|
-
*/
|
|
21
|
-
slug: string | null;
|
|
22
|
-
}
|
|
1
|
+
export type { IAutoMovieBeatCaption } from "@automovie/interface";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type { IAutoMovieScript } from "@automovie/interface";
|
|
2
|
-
import type { IAutoMovieBeatCaption } from "./IAutoMovieBeatCaption.js";
|
|
1
|
+
import type { IAutoMovieBeatCaption, IAutoMovieScript } from "@automovie/interface";
|
|
3
2
|
/**
|
|
4
3
|
* Index each beat's caption and enclosing scene slug from the screenplay tree,
|
|
5
4
|
* keyed by beat id: the join table `planCaptionSidecar` consults per span.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beatCaptions.js","sourceRoot":"","sources":["../../src/caption/beatCaptions.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"beatCaptions.js","sourceRoot":"","sources":["../../src/caption/beatCaptions.ts"],"names":[],"mappings":";;;AAMA,iFAA2E;AAE3E;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,YAAY,GAEiB,CACxC,MAAwB,EACY,EAAE;IACtC,MAAM,GAAG,GAAuC,IAAI,GAAG,EAAE,CAAC;IAC1D,MAAM,IAAI,GAA8C,MAAM,CAAC,IAAI,CAAC;IACpE,IAAI,IAAI,KAAK,SAAS,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,GAAG,CAAC;IAEpD,MAAM,QAAQ,GAA+C,IAAI,GAAG,EAAE,CAAC;IACvE,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;QACxB,MAAM,IAAI,GAA2B,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACrE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChB,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,IAAI,GAA8D,CACtE,IAA0B,EAC1B,IAAmB,EACb,EAAE;QACR,MAAM,OAAO,GACX,IAAI,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,IAAA,4CAAmB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QACnE,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM;YACtB,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;gBACzB,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC,OAAO;gBAC7B,IAAI,EAAE,OAAO;aACd,CAAC,CAAC;QACL,KAAK,MAAM,KAAK,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC,CAAC;IACF,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9D,OAAO,GAAG,CAAC;AACb,CAAC,CAAC;AA/BW,QAAA,YAAY,GAAZ,YAAY,CA+BvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"beatCaptions.mjs","names":[],"sources":["../../src/caption/beatCaptions.ts"],"sourcesContent":["import type {\n IAutoMovieScript,\n IAutoMovieScriptNode,\n} from \"@automovie/interface\";\n\nimport { screenplaySceneSlug } from \"../screenplay/screenplaySceneSlug.js\";\
|
|
1
|
+
{"version":3,"file":"beatCaptions.mjs","names":[],"sources":["../../src/caption/beatCaptions.ts"],"sourcesContent":["import type {\n IAutoMovieBeatCaption,\n IAutoMovieScript,\n IAutoMovieScriptNode,\n} from \"@automovie/interface\";\n\nimport { screenplaySceneSlug } from \"../screenplay/screenplaySceneSlug.js\";\n\n/**\n * Index each beat's caption and enclosing scene slug from the screenplay tree,\n * keyed by beat id: the join table `planCaptionSidecar` consults per span.\n *\n * The walk is depth-first from every root node, children in declaration order,\n * carrying the nearest scene slug down. A script whose `tree` is null or\n * absent, or a tree with no root, yields an empty map, so every span captions\n * null. A node unreachable from a root is never visited, and a beat id that\n * appears on two beat nodes keeps the later visit; commit validation refuses\n * both shapes, so neither reaches a committed script.\n *\n * @evidence contracts/development/implementation.md#principled-implementation An adjacency map from parent id to children turns the parent-pointer node list into a tree the walk visits once per reachable node, and the slug is passed down as a parameter so a scene's slug scopes exactly its subtree; the walk relies on commit validation's acyclic, unique-id tree, without which a node whose id equals its own parent would recurse forever.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure One function builds the adjacency map and the index together because no other caption consumer needs the adjacency; the scene slug comes from `screenplaySceneSlug` so the caption label and the screenplay heading cannot diverge, and the same parent-map walk is written again in `renderScreenplay`, a duplication this function does not own.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Both null and absent `tree` values are the interface's documented treeless states, not a fixture case, and the function never repairs an invalid tree; it leaves rejection to commit validation.\n * @evidence contracts/development/common.md#meaningful-documentation The doc names the consumer and key, the walk order and slug inheritance, what a treeless script yields, and what happens to an unreachable node or a repeated beat id.\n * @evidence contracts/development/implementation.md#efficient-algorithms Time and space are linear in the node count N: one pass builds the adjacency map and the walk visits each reachable node once with a constant-time slug format per scene, which is the minimum for reading every beat.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work The function computes one fresh index per call for one script and coordinates no phases; `planCaptionSidecar` calls it once per plan.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The adjacency map is local and released on return, and the returned map, owned by the caller, holds one record per distinct beat id, bounded by the tree's beat count; recursion depth is bounded by the tree's depth.\n */\nexport const beatCaptions: (\n script: IAutoMovieScript,\n) => Map<string, IAutoMovieBeatCaption> = (\n script: IAutoMovieScript,\n): Map<string, IAutoMovieBeatCaption> => {\n const map: Map<string, IAutoMovieBeatCaption> = new Map();\n const tree: IAutoMovieScriptNode[] | null | undefined = script.tree;\n if (tree === undefined || tree === null) return map;\n\n const children: Map<string | null, IAutoMovieScriptNode[]> = new Map();\n for (const node of tree) {\n const list: IAutoMovieScriptNode[] = children.get(node.parent) ?? [];\n list.push(node);\n children.set(node.parent, list);\n }\n\n const walk: (node: IAutoMovieScriptNode, slug: string | null) => void = (\n node: IAutoMovieScriptNode,\n slug: string | null,\n ): void => {\n const current: string | null =\n node.kind === \"scene\" ? screenplaySceneSlug(node.payload) : slug;\n if (node.kind === \"beat\")\n map.set(node.payload.beat, {\n caption: node.payload.caption,\n slug: current,\n });\n for (const child of children.get(node.id) ?? []) walk(child, current);\n };\n for (const root of children.get(null) ?? []) walk(root, null);\n return map;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA2BA,MAAa,gBAGX,WACuC;CACvC,MAAM,sBAA0C,IAAI,IAAI;CACxD,MAAM,OAAkD,OAAO;CAC/D,IAAI,SAAS,KAAA,KAAa,SAAS,MAAM,OAAO;CAEhD,MAAM,2BAAuD,IAAI,IAAI;CACrE,KAAK,MAAM,QAAQ,MAAM;EACvB,MAAM,OAA+B,SAAS,IAAI,KAAK,MAAM,KAAK,CAAC;EACnE,KAAK,KAAK,IAAI;EACd,SAAS,IAAI,KAAK,QAAQ,IAAI;CAChC;CAEA,MAAM,QACJ,MACA,SACS;EACT,MAAM,UACJ,KAAK,SAAS,UAAU,oBAAoB,KAAK,OAAO,IAAI;EAC9D,IAAI,KAAK,SAAS,QAChB,IAAI,IAAI,KAAK,QAAQ,MAAM;GACzB,SAAS,KAAK,QAAQ;GACtB,MAAM;EACR,CAAC;EACH,KAAK,MAAM,SAAS,SAAS,IAAI,KAAK,EAAE,KAAK,CAAC,GAAG,KAAK,OAAO,OAAO;CACtE;CACA,KAAK,MAAM,QAAQ,SAAS,IAAI,IAAI,KAAK,CAAC,GAAG,KAAK,MAAM,IAAI;CAC5D,OAAO;AACT"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
/** Runtime-owned grapheme segmentation behavior and its complete identity. */
|
|
3
|
-
interface IAutoMovieCaptionGraphemeRuntime {
|
|
4
|
-
/** Complete identity of the exact segmentation behavior below. */
|
|
5
|
-
identity: IAutoMovieCaptionGraphemeSegmentationIdentity;
|
|
6
|
-
/**
|
|
7
|
-
* Segment one canonical caption line into grapheme clusters; only the number
|
|
8
|
-
* of yielded items is read.
|
|
9
|
-
*/
|
|
10
|
-
segment(value: string): Iterable<unknown>;
|
|
11
|
-
}
|
|
1
|
+
import type { IAutoMovieCaptionGraphemeRuntime, IAutoMovieCaptionReadabilityProfile, IAutoMovieCaptionReadabilityReport, IAutoMovieFilmTimeline } from "@automovie/interface";
|
|
12
2
|
/**
|
|
13
3
|
* Measure caption readability through one injected, identity-bearing runtime
|
|
14
4
|
* and judge each cue against its language's profile.
|
|
@@ -34,4 +24,3 @@ interface IAutoMovieCaptionGraphemeRuntime {
|
|
|
34
24
|
* @evidence contracts/development/implementation.md#bound-retention-and-release-resources Call-local indexes hold at most P profiles and one prior end per distinct cue language; normalized lines and each runtime iterable live during measurement. Returned cue records share the runtime/profile segmentation identity objects and retain one outcome per cue. There is no cue/text quota, segmentation timeout or iterator cancellation; the runtime owns any resources hidden in its iterable.
|
|
35
25
|
*/
|
|
36
26
|
export declare const inspectAutoMovieCaptionReadabilityWithRuntime: (timeline: IAutoMovieFilmTimeline, profiles: readonly IAutoMovieCaptionReadabilityProfile[], runtime: IAutoMovieCaptionGraphemeRuntime) => IAutoMovieCaptionReadabilityReport;
|
|
37
|
-
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inspectAutoMovieCaptionReadabilityWithRuntime.js","sourceRoot":"","sources":["../../src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"inspectAutoMovieCaptionReadabilityWithRuntime.js","sourceRoot":"","sources":["../../src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts"],"names":[],"mappings":";;;AAWA,yGAAmG;AACnG,+FAAyF;AAEzF;;;;;;;;;;;;;;;;;;;;;;;GAuB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