mirror of
https://github.com/opencv/opencv.git
synced 2025-06-17 15:20:51 +08:00
videoio(v4l): fix code indentation, tabs
This commit is contained in:
parent
49321a233c
commit
22f435ff4d
@ -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,
|
|||||||
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;
|
|||||||
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)
|
|||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user