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
22f435ff
Commit
22f435ff
authored
May 31, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
videoio(v4l): fix code indentation, tabs
parent
49321a23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
cap_v4l.cpp
modules/videoio/src/cap_v4l.cpp
+8
-8
No files found.
modules/videoio/src/cap_v4l.cpp
View file @
22f435ff
...
@@ -690,7 +690,7 @@ static int _capture_V4L2 (CvCaptureCAM_V4L *capture)
...
@@ -690,7 +690,7 @@ static int _capture_V4L2 (CvCaptureCAM_V4L *capture)
unsigned
int
buffer_number
=
capture
->
bufferSize
;
unsigned
int
buffer_number
=
capture
->
bufferSize
;
try_again:
try_again:
capture
->
req
.
count
=
buffer_number
;
capture
->
req
.
count
=
buffer_number
;
capture
->
req
.
type
=
V4L2_BUF_TYPE_VIDEO_CAPTURE
;
capture
->
req
.
type
=
V4L2_BUF_TYPE_VIDEO_CAPTURE
;
...
@@ -1014,13 +1014,13 @@ move_411_block(int yTL, int yTR, int yBL, int yBR, int u, int v,
...
@@ -1014,13 +1014,13 @@ move_411_block(int yTL, int yTR, int yBL, int yBR, int u, int v,
int
r
,
g
,
b
;
int
r
,
g
,
b
;
g
=
guScale
*
u
+
gvScale
*
v
;
g
=
guScale
*
u
+
gvScale
*
v
;
// if (force_rgb) {
// if (force_rgb) {
// r = buScale * u;
// r = buScale * u;
// b = rvScale * v;
// b = rvScale * v;
// } else {
// } else {
r
=
rvScale
*
v
;
r
=
rvScale
*
v
;
b
=
buScale
*
u
;
b
=
buScale
*
u
;
// }
// }
yTL
*=
yScale
;
yTR
*=
yScale
;
yTL
*=
yScale
;
yTR
*=
yScale
;
yBL
*=
yScale
;
yBR
*=
yScale
;
yBL
*=
yScale
;
yBR
*=
yScale
;
...
@@ -1325,7 +1325,7 @@ static int init_done = 0;
...
@@ -1325,7 +1325,7 @@ static int init_done = 0;
Each entry at index x in the table represents the codeword
Each entry at index x in the table represents the codeword
present at the MSB of byte x.
present at the MSB of byte x.
*/
*/
static
void
sonix_decompress_init
(
void
)
static
void
sonix_decompress_init
(
void
)
{
{
int
i
;
int
i
;
...
@@ -1403,7 +1403,7 @@ static void sonix_decompress_init(void)
...
@@ -1403,7 +1403,7 @@ static void sonix_decompress_init(void)
Returns 0 if the operation was successful.
Returns 0 if the operation was successful.
Returns <0 if operation failed.
Returns <0 if operation failed.
*/
*/
static
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
;
...
...
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