WinGui: Fix another instance of the Caliburn vs Json.net sillyness where objects...
[HandBrake.git] / libhb / colormap.h
bloba46f22c017a37d73bcfe841434dfbd6eaac1424b
1 /* colormap.h
3 * Copyright (c) 2003-2015 HandBrake Team
4 * This file is part of the HandBrake source code
5 * Homepage: <http://handbrake.fr/>.
6 * It may be used under the terms of the GNU General Public License v2.
7 * For full terms see the file COPYING file or visit http://www.gnu.org/licenses/gpl-2.0.html
8 */
10 #ifndef HB_COLORMAP_H
11 #define HB_COLORMAP_H
13 #define HB_RGB_TO_BGR(c) (((c & 0xff0000) >> 16) | \
14 ((c & 0x00ff00) ) | \
15 ((c & 0x0000ff) << 16))
16 #define HB_BGR_TO_RGB(c) HB_RGB_TO_BGR(c)
18 uint32_t hb_rgb_lookup_by_name(const char *color);
20 #endif // HB_COLORMAP_H