gallium/hash_table: consolidate hash tables with pointer keys
[mesa.git] / src / gallium / state_trackers / va / va_private.h
index bed1189b9d1fda80dcf54523c31e621b95b46c9a..aa3b74c0b6eac72658093c701a8f29cae680d319 100644 (file)
 #define SOS (8 + 4 * 2)
 #define MAX_MJPEG_SLICE_HEADER_SIZE (SOI + DQT + DHT + DRI + SOF + SOS)
 
-static inline unsigned handle_hash(void *key)
-{
-    return PTR_TO_UINT(key);
-}
-
-static inline int handle_compare(void *key1, void *key2)
-{
-    return PTR_TO_UINT(key1) != PTR_TO_UINT(key2);
-}
-
 static inline enum pipe_video_chroma_format
 ChromaToPipe(int format)
 {