Commit 22f435ff authored by Alexander Alekhin's avatar Alexander Alekhin

videoio(v4l): fix code indentation, tabs

parent 49321a23
......@@ -690,7 +690,7 @@ static int _capture_V4L2 (CvCaptureCAM_V4L *capture)
unsigned int buffer_number = capture->bufferSize;
try_again:
try_again:
capture->req.count = buffer_number;
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;
g = guScale * u + gvScale * v;
// if (force_rgb) {
// r = buScale * u;
// b = rvScale * v;
// } else {
// if (force_rgb) {
// r = buScale * u;
// b = rvScale * v;
// } else {
r = rvScale * v;
b = buScale * u;
// }
// }
yTL *= yScale; yTR *= 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
present at the MSB of byte x.
*/
*/
static void sonix_decompress_init(void)
{
int i;
......@@ -1403,7 +1403,7 @@ static void sonix_decompress_init(void)
Returns 0 if the operation was successful.
Returns <0 if operation failed.
*/
*/
static int sonix_decompress(int width, int height, unsigned char *inp, unsigned char *outp)
{
int row, col;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment