A video frame buffer residing on the GPU.
Fields
handle— GPU buffer reference (Rustler ResourceArc)width— frame width in pixelsheight— frame height in pixelsformat— pixel format (:yuv420p,:rgb24,:rgba,:nv12)pts— presentation timestamp in microsecondsduration— frame duration in microseconds
Summary
Functions
Creates a VideoFrame from a map returned by the NIF.
Types
@type t() :: %ExCubecl.VideoFrame{ duration: non_neg_integer(), format: :yuv420p | :rgb24 | :rgba | :nv12, handle: reference(), height: non_neg_integer(), pts: non_neg_integer(), width: non_neg_integer() }