Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript
1.1 KB
Raw Blame
export {
  type BenchmarkResult,
  type DeviceProfile,
  type CodecRecommendation,
  getDeviceProfile,
  getRecommendedWorkerCount,
  computeCacheBudget,
  getRecommendedCacheBudget,
  type CacheBudget,
  type WorkerKind,
  getCodecRecommendations,
  saveBenchmarkResult,
  formatDeviceSummary,
} from "./device-capabilities";

export {
  type TimeEstimate,
  type BenchmarkProgress,
  estimateExportTime,
  runBenchmark,
  shouldRecommendBenchmark,
} from "./export-estimator";

export {
  ByteBudgetCache,
  type ByteBudgetCacheOptions,
} from "./byte-budget-cache";

export {
  type MediaMemoryBudget,
  computeMediaMemoryBudget,
  getMediaMemoryBudget,
  readDeviceMemoryBytes,
  setMediaMemoryBudgetFromSystemMemory,
  subscribeMediaMemoryBudget,
} from "./media-memory-budget";

export {
  type MemoryPolicy,
  type MemoryPressure,
  type MemoryReading,
  MemoryGovernor,
  PRESSURE_THRESHOLDS,
  computeGovernorLimit,
  DECODER_BUDGET_SHARE,
  DECODER_BYTES_PER_PIXEL,
  estimateDecoderBytes,
  getMemoryGovernor,
  maxConcurrentDecoders,
  nextPressure,
  policyFor,
} from "./memory-governor";