libklvanc
 All Classes Files Functions Variables Enumerations Macros
pixels.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Kernel Labs Inc. All Rights Reserved
3  *
4  * Address: Kernel Labs Inc., PO Box 745, St James, NY. 11780
5  * Contact: sales@kernellabs.com
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
29 #ifndef _PIXELS_H
30 #define _PIXELS_H
31 
32 #include <stdint.h>
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
46 void klvanc_v210_planar_unpack_c(const uint32_t * src, uint16_t * y, uint16_t * u, uint16_t * v, int width);
47 
57 int klvanc_v210_line_to_nv20_c(const uint32_t * src, uint16_t * dst, int dstSizeBytes, int width);
58 
65 void klvanc_v210_downscale_line_c(uint16_t * src, uint8_t * dst, int lines);
66 
73 void klvanc_v210_line_to_uyvy_c(const uint32_t * src, uint16_t * dst, int width);
74 
81 void klvanc_y10_to_v210(uint16_t *src, uint8_t *dst, int width);
82 
89 void klvanc_uyvy_to_v210(uint16_t *src, uint8_t *dst, int width);
90 
91 #ifdef __cplusplus
92 };
93 #endif
94 
95 #endif /* _PIXELS_H */
void klvanc_v210_line_to_uyvy_c(const uint32_t *src, uint16_t *dst, int width)
TODO - Brief description goes here.
void klvanc_v210_downscale_line_c(uint16_t *src, uint8_t *dst, int lines)
TODO - Brief description goes here.
void klvanc_v210_planar_unpack_c(const uint32_t *src, uint16_t *y, uint16_t *u, uint16_t *v, int width)
TODO - Brief description goes here.
int klvanc_v210_line_to_nv20_c(const uint32_t *src, uint16_t *dst, int dstSizeBytes, int width)
TODO - Brief description goes here.
void klvanc_uyvy_to_v210(uint16_t *src, uint8_t *dst, int width)
Convert UYVY buffer to V210.
void klvanc_y10_to_v210(uint16_t *src, uint8_t *dst, int width)
Convert Y10 buffer to V210.