mirror of
https://github.com/opencv/opencv.git
synced 2025-06-18 16:11:50 +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;
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user