libopenraw
grayscale.hpp
1/*
2 * libopenraw - render/grayscale.h
3 *
4 * Copyright (C) 2012 Hubert Figuiere
5 *
6 * This library is free software: you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation, either version 3 of
9 * the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library. If not, see
18 * <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef OR_INTERNALS_RENDER_GRAYSCALE_H_
22#define OR_INTERNALS_RENDER_GRAYSCALE_H_
23
24#include <stdint.h>
25
26#include <libopenraw/consts.h>
27
28or_error
29grayscale_to_rgb (uint16_t *src, uint32_t src_x, uint32_t src_y,
30 uint16_t *dst);
31
32#endif
33/*
34 Local Variables:
35 mode:c++
36 c-file-style:"stroustrup"
37 c-file-offsets:((innamespace . 0))
38 tab-width:2
39 c-basic-offset:2
40 indent-tabs-mode:nil
41 fill-column:80
42 End:
43*/