pub unsafe extern "C" fn vsl_frame_sync(
    frame: *const VSLFrame,
    enable: c_int,
    mode: c_int
) -> c_int
Expand description

Cache synchronization session control for when using DMA-backed buffers. This happens automatically on mmap/munmap but the API is also available for cases where the frame is updated in-place during a mapping.

@param frame the frame object to synchronize @param enable whether the sync session is being enabled or disabled @param mode the synchronization mode controls READ, WRITE, or both. @since 1.3 @memberof VSLFrame