minor warning fixes
This commit is contained in:
@@ -1736,7 +1736,7 @@ mjpeg_to_rgb24 (int width, int height,
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
|
static void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
|
||||||
{
|
{
|
||||||
long int i;
|
long int i;
|
||||||
unsigned char *rawpt, *scanpt;
|
unsigned char *rawpt, *scanpt;
|
||||||
@@ -1814,7 +1814,7 @@ void bayer2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned c
|
|||||||
// at least for 046d:092f Logitech, Inc. QuickCam Express Plus to work
|
// at least for 046d:092f Logitech, Inc. QuickCam Express Plus to work
|
||||||
//see: http://www.siliconimaging.com/RGB%20Bayer.htm
|
//see: http://www.siliconimaging.com/RGB%20Bayer.htm
|
||||||
//and 4.6 at http://tldp.org/HOWTO/html_single/libdc1394-HOWTO/
|
//and 4.6 at http://tldp.org/HOWTO/html_single/libdc1394-HOWTO/
|
||||||
void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
|
static void sgbrg2rgb24(long int WIDTH, long int HEIGHT, unsigned char *src, unsigned char *dst)
|
||||||
{
|
{
|
||||||
long int i;
|
long int i;
|
||||||
unsigned char *rawpt, *scanpt;
|
unsigned char *rawpt, *scanpt;
|
||||||
@@ -1921,7 +1921,7 @@ static int init_done = 0;
|
|||||||
present at the MSB of byte x.
|
present at the MSB of byte x.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
void sonix_decompress_init(void)
|
static void sonix_decompress_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
int is_abs, val, len;
|
int is_abs, val, len;
|
||||||
@@ -1999,7 +1999,7 @@ void sonix_decompress_init(void)
|
|||||||
Returns <0 if operation failed.
|
Returns <0 if operation failed.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp)
|
static int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp)
|
||||||
{
|
{
|
||||||
int row, col;
|
int row, col;
|
||||||
int val;
|
int val;
|
||||||
|
Reference in New Issue
Block a user