Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Can set sensor mode for public api - Image sizes not aligned to 32x16 are supported by padding up while copying the image - Changed tester output to .yuv as this format is more readable than P7
- Loading branch information
Showing
7 changed files
with
108 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
# Run this script to test the library's functionality of various formats and sizes | ||
OPTS="" | ||
|
||
func () { | ||
f=$1_$2x$3 | ||
mkdir -p "$f"; cd "$f" | ||
../../build/utils/raspicam_test $OPTS -$1 -w $2 -h $3 | ||
cd .. | ||
} | ||
|
||
func2 () { | ||
func $1 3280 2464 | ||
func $1 1640 1232 | ||
func $1 1280 720 | ||
} | ||
|
||
|
||
mkdir -p out; cd out | ||
|
||
func2 rgb | ||
func2 yuv | ||
func2 gr | ||
|
||
cd .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters