Companion
Functions
Build an audio frame from raw sample bytes. bytes layout: planar formats are plane-after-plane (all of channel 0, then channel 1, …), packed formats are interleaved. Both match what copyPlanesToByteArray produces. Channels beyond 8 are unsupported.
Build an audio frame from raw sample bytes. bytes layout: planar formats are plane-after-plane (all of channel 0, then channel 1, …), packed formats are interleaved. Both match what copyPlanesToByteArray produces. Channels beyond 8 are unsupported.
Build an audio frame from raw sample bytes. bytes layout: planar formats are plane-after-plane (all of channel 0, then channel 1, …), packed formats are interleaved. Both match what copyPlanesToByteArray produces. Channels beyond 8 are unsupported.
Build an audio frame from raw sample bytes. bytes layout: planar formats are plane-after-plane (all of channel 0, then channel 1, …), packed formats are interleaved. Both match what copyPlanesToByteArray produces. Channels beyond 8 are unsupported.
Build an audio frame from raw sample bytes. bytes layout: planar formats are plane-after-plane (all of channel 0, then channel 1, …), packed formats are interleaved. Both match what copyPlanesToByteArray produces. Channels beyond 8 are unsupported.
Build a video frame from raw pixel bytes. This is the entry point for generative use: images-to-video, procedural frames, and pixels produced by other libraries.
Build a video frame from raw pixel bytes. This is the entry point for generative use: images-to-video, procedural frames, and pixels produced by other libraries.
Build a video frame from raw pixel bytes. This is the entry point for generative use: images-to-video, procedural frames, and pixels produced by other libraries.