Reference Manual - 1.4.11
IDirectFBPalette   FindBestMatchYUV

Find the best matching entry.

DFBResult FindBestMatchYUV (
  IDirectFBPalette   * thiz,
  u8   y,
  u8   u,
  u8   v,
  u8   a,
  unsigned int   * ret_index
);

Searches the map for an entry which best matches the specified color.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License