[][src]Function minimp4_sys::MP4D_frame_offset

pub unsafe extern "C" fn MP4D_frame_offset(
    mp4: *const MP4D_demux_t,
    ntrack: c_uint,
    nsample: c_uint,
    frame_bytes: *mut c_uint,
    timestamp: *mut c_uint,
    duration: *mut c_uint
) -> MP4D_file_offset_t

Return position and size for given sample from given track. The 'sample' is a MP4 term for 'frame'

frame_bytes [OUT] - return coded frame size in bytes timestamp [OUT] - return frame timestamp (in mp4->timescale units) duration [OUT] - return frame duration (in mp4->timescale units)

function return offset for the frame