Skip to main content

vaCopy

Function vaCopy 

Source
pub unsafe extern "C" fn vaCopy(
    dpy: VADisplay,
    dst: *mut VACopyObject,
    src: *mut VACopyObject,
    option: VACopyOption,
) -> VAStatus
Expand description

\brief Copies an object.

Copies specified object (surface or buffer). If non-blocking copy is requested (VA_COPY_NONBLOCK), then need vaSyncBuffer or vaSyncSurface/vaSyncSurface2 to sync the destination object.

@param[in] dpy the VA display @param[in] dst Destination object to copy to @param[in] src Source object to copy from @param[in] option VA copy option @return VA_STATUS_SUCCESS if successful