File: dec.h

package info (click to toggle)
fswebcam 20140113-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 612 kB
  • sloc: ansic: 8,442; makefile: 58
file content (40 lines) | stat: -rw-r--r-- 1,692 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/* fswebcam - Small and simple webcam for *nix                */
/*============================================================*/
/* Copyright (C)2005-2011 Philip Heron <phil@sanslogic.co.uk> */
/*                                                            */
/* This program is distributed under the terms of the GNU     */
/* General Public License, version 2. You may use, modify,    */
/* and redistribute it under the terms of this license. A     */
/* copy should be included with this source.                  */

#ifndef INC_DEC_H
#define INC_DEC_H

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

extern int fswc_add_image_bayer(avgbmp_t *dst, uint8_t *img, uint32_t length, uint32_t w, uint32_t h, int palette);

extern int fswc_add_image_y16(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_grey(src_t *src, avgbmp_t *abitmap);

extern int fswc_add_image_jpeg(src_t *src, avgbmp_t *abitmap);

extern int fswc_add_image_png(src_t *src, avgbmp_t *abitmap);

extern int fswc_add_image_rgb32(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_bgr32(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_rgb24(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_bgr24(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_rgb565(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_rgb555(src_t *src, avgbmp_t *abitmap);

extern int fswc_add_image_yuyv(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_yuv420p(src_t *src, avgbmp_t *abitmap);
extern int fswc_add_image_nv12mb(src_t *src, avgbmp_t *abitmap);

extern int fswc_add_image_s561(avgbmp_t *dst, uint8_t *img, uint32_t length, uint32_t width, uint32_t height, int palette);

#endif