[][src]Function ffav_sys::sws_convertPalette8ToPacked32

pub unsafe extern "C" fn sws_convertPalette8ToPacked32(
    src: *const u8,
    dst: *mut u8,
    num_pixels: c_int,
    palette: *const u8
)

Convert an 8-bit paletted frame into a frame with a color depth of 32 bits.

The output frame will have the same packed format as the palette.

@param src source frame buffer @param dst destination frame buffer @param num_pixels number of pixels to convert @param palette array with [256] entries, which must match color arrangement (RGB or BGR) of src