Searched refs:best_entry (Results 1 – 2 of 2) sorted by relevance
103 const value_type* best_entry; in lookup() local105 if( (best_entry=std::find( mpPalette, palette_end, v)) != palette_end ) in lookup()106 return best_entry-mpPalette; in lookup()109 best_entry = curr_entry; in lookup()113 *best_entry) in lookup()117 best_entry = curr_entry; in lookup()123 return best_entry-mpPalette; in lookup()
891 const BitmapColor* best_entry; in find_best_match() local893 if( (best_entry=std::find( palette, palette_end, aTmpCol)) != palette_end ) in find_best_match()894 return best_entry-palette; in find_best_match()900 best_entry = curr_entry; in find_best_match()903 if( norm(*curr_entry,*best_entry) > norm(*curr_entry,aTmpCol) ) in find_best_match()904 best_entry = curr_entry; in find_best_match()909 return best_entry-palette; in find_best_match()
Completed in 26 milliseconds