Package-level declarations

Types

Link copied to clipboard

The measured CPU cost of KiteVideo's software path, per PUBLISHED frame: the conversion to RGBA plus the image build, on the renderer's worker thread, in nanoseconds.

Link copied to clipboard

The connection between a player and KiteVideo: it owns the renderer the player draws through and the one snapshot slot the draw phase reads.

Link copied to clipboard

The measurement instrument: the desktop upload path's cost per published frame, kept as raw samples so a percentile can be taken and split so the expensive half is named rather than guessed.

Link copied to clipboard

One measured run of the desktop upload path. The two halves are paired by index, so frame i cost convertNanos[i] + imageNanos[i].

Functions

Link copied to clipboard
fun KiteVideo(state: KiteVideoState, modifier: Modifier = Modifier)

The FLAGSHIP Compose path: video as a true Compose primitive.

Link copied to clipboard

Remembers an Android video state bound to the exact Window that will host KiteVideo.

Remembers one KiteVideoState and closes its renderer when it leaves composition.