Function sws_convertPalette8ToPacked24
pub unsafe extern "C" fn sws_convertPalette8ToPacked24(
src: *const u8,
dst: *mut u8,
num_pixels: i32,
palette: *const u8,
)
Expand description
Convert an 8-bit paletted frame into a frame with a color depth of 24 bits.
With the palette format “ABCD”, the destination frame ends up with the format “ABC”.
@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