/// <summary> /// Fully copy a format structure, including the extradata buffer. /// </summary> /// <param name="destination">The destination port we're copying to</param> internal void FullCopy(MMALPortBase destination) { MMALFormat.mmal_format_full_copy(destination.Ptr->Format, this.Ptr->Format); }
/// <summary> /// Shallow copy a format structure. It is worth noting that the extradata buffer will not be copied in the new format. /// </summary> /// <param name="destination">The destination port we're copying to</param> internal void ShallowCopy(MMALPortBase destination) { MMALFormat.mmal_format_copy(destination.Ptr->Format, this.Ptr->Format); }