VideoFrame converted to class to avoid stack copy creation