Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
09d4d691
Commit
09d4d691
authored
Jun 09, 2012
by
Marina Kolpakova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor warning fixes
parent
f2c30cd9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cap_v4l.cpp
modules/highgui/src/cap_v4l.cpp
+4
-4
No files found.
modules/highgui/src/cap_v4l.cpp
View file @
09d4d691
...
@@ -1736,7 +1736,7 @@ mjpeg_to_rgb24 (int width, int height,
...
@@ -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
...
@@ -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;
...
@@ -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)
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment