MC3302_SDK_V1.1.9_202507281.../media/sample/modules/ioe/ioeFullCaseTest.sh
2025-11-11 12:08:31 +08:00

36 lines
1.8 KiB
Bash
Executable File

#=====================================================
#-----------------------IOE TEST----------------------
#=====================================================
:<<PARA
ioe_test [format] [filename] [inWidth] [inHeight] [outWidth] [outHeight] [threshold] [mode] [type] [wPitch] [hPitch]
type: 0 -> single cmd
1 -> multi cmd 2
2 -> multi cmd 63
3 -> multi cmd 8
PARA
# Y mode single
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 22 18 1 1 0 240 272 #mode: 0-YC, 1-Y
./ioe_test YUV420 ioe_res/24x18_nv12_2_made.yuv 22 18 22 18 1 1 0 24 18
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 1 0 240 272
./ioe_test YUV420 ioe_res/1024x544_nv12_2_made.yuv 1024 540 240 272 1 1 0 1024 544
./ioe_test YUV420 ioe_res/1024x540_nv12_2_made.yuv 1024 540 22 18 1 1 0 1024 540
./ioe_test YUV420 ioe_res/1024x540_nv12_2_made.yuv 1024 540 1024 540 5 1 0 1024 540
#YC mode single
./ioe_test YUV422 ioe_res/240x272_nv16_2_made.yuv 240 272 22 18 1 0 0 240 272
./ioe_test YUV420 ioe_res/24x18_nv12_2_made.yuv 22 18 22 18 1 0 0 24 18
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 0 0 240 272
./ioe_test YUV420 ioe_res/1024x540_nv12_2_made.yuv 1024 540 240 272 1 0 0 1024 540
./ioe_test YUV420 ioe_res/1024x540_nv12_2_made.yuv 1024 540 22 18 1 0 0 1024 540
./ioe_test YUV420 ioe_res/1024x540_nv12_2_made.yuv 1024 540 1024 540 1 0 0 1024 540
#multi mode
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 1 2 240 272
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 1 1 240 272
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 1 3 240 272
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 0 1 240 272
./ioe_test YUV420 ioe_res/240x272_nv12_2_made.yuv 240 272 240 272 1 0 2 240 272