[][src]Function libdc1394_sys::dc1394_debayer_frames

pub unsafe extern "C" fn dc1394_debayer_frames(
    in_: *mut dc1394video_frame_t,
    out: *mut dc1394video_frame_t,
    method: Type
) -> Type

De-mosaicing of a Bayer-encoded video frame

To set the format of the output, simply set the values of the corresponding fields in the output frame @param in is a pointer to the bayer video frame that is to be converted @param out is a pointer to the frame to be converted to. If there is memory allocated to the image field, then it will be adjusted accordingly by this function. If there is no memory allocated to the image field, then ensure that out->image == NULL and out->allocated_image_bytes == 0 @param method is the bayer method to interpolate the frame.