[][src]Function x264_dev::sys::x264_encoder_encode

pub unsafe fn x264_encoder_encode(
    arg1: *mut X264T,
    pp_nal: *mut *mut X264NalT,
    pi_nal: *mut c_int,
    pic_in: *mut X264PictureT,
    pic_out: *mut X264PictureT
) -> c_int

encode one picture.

*pi_nal is the number of NAL units outputted in pp_nal. returns the number of bytes in the returned NALs. returns negative on error and zero if no NAL units returned. the payloads of all output NALs are guaranteed to be sequential in memory.