Code restyle.

This commit is contained in:
2020-03-01 15:07:36 +00:00
parent 4984410ce5
commit 8703c78a42
2 changed files with 8 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -181,7 +181,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -248,7 +248,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -307,7 +307,7 @@ namespace Aaru.VideoNow
{ {
indexBlock2 = index + 120; indexBlock2 = index + 120;
switch(index / 10 % 4) switch((index / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -380,7 +380,7 @@ namespace Aaru.VideoNow
for(int row = 0; row < 80; row++) for(int row = 0; row < 80; row++)
{ {
for(int p = 0; p < 432; p++) for(int p = 0; p < 432; p++)
frameBuffer[row * 432 + p] = frameBuffer2[row * 432 + (431 - p)]; frameBuffer[(row * 432) + p] = frameBuffer2[(row * 432) + (431 - p)];
} }
return frameBuffer; return frameBuffer;

View File

@@ -180,7 +180,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -268,7 +268,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';
@@ -335,7 +335,7 @@ namespace Aaru.VideoNow
for(int i = 9; i <= frameBuffer.Length; i += 10) for(int i = 9; i <= frameBuffer.Length; i += 10)
{ {
switch(i / 10 % 4) switch((i / 10) % 4)
{ {
case 0: case 0:
progress = '-'; progress = '-';