History

astyle

syureyi committed 12 years ago

Commit b53f8901 parent 30e510e5 files · +75 −76Browse files

Showing the changes to test/api/DataGenerator.cpp (1 of 5 files). Show all

Unified · Split

test/api/DataGenerator.cpp+4−4
@@ -22,12 +22,12 @@ bool YUVPixelDataGenerator (uint8_t* pPointer, int32_t iWidth, int32_t iHeight, · 21 unmodified lines
2222 }
2323
2424 FileInputStream fileStream;
25− #if defined(ANDROID_NDK)
25+#if defined(ANDROID_NDK)
2626 if (!fileStream.Open ("/sdcard/res/CiscoVT2people_160x96_6fps.yuv")) {
2727 #else
28− if (!fileStream.Open ("res/CiscoVT2people_160x96_6fps.yuv")) {
29−#endif
30−return false;
28+ if (!fileStream.Open ("res/CiscoVT2people_160x96_6fps.yuv")) {
29+#endif
30+ return false;
3131 }
3232 if (fileStream.read (sBuf.data(), kiFrameSize) == kiFrameSize) {
3333 int32_t iStartPosX = rand() % (SRC_FRAME_WIDTH - iWidth);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t