📄 ipipe.txt
字号:
DM350 Linux
IPIPE Test Application README
Final Release
06-Apr-2007
Copyright (c) 2007 eInfochips, Inc. All rights reserved.
CONTENTS
========
1. Overview
2. Covered testing scenarios
3. Miscellaneous
1. Overview
===========
The text file contains procedure used for testing IPIPE driver for DM350 EVM
2. Covered testing scenarios
============================
Following section of the file contains source file name, corresponding test case IDs and procedure to execute it.
How to load IPIPE Driver as a loadable module
==================================================
Steps :
1) Compile the driver to make dm350_ipipe.ko file
2) Run command : insmod dm350_ipipe_driver.ko
3) Check the driver by running "cat /proc/devices" and node down the major number.
4) Make nodes using above major number by following commands:
A)mknod /dev/dm350_ipipe c <major no.> 0
Now driver is loaded as a loadable module.We can have application running now.
HOW TO RUN TEST APPLICATION:
=============================
Source Files
============
test_ipipe.c :
============
Execution Steps : ./test_ipipe <option>
options
==========
0 | -- ioctl_test
1 | -- converts 8bit raw to yuv, RZA
2 | -- converts 16bit raw to yuv(upscale)RZA
3 | -- converts 16 bit yuv to yuv, RZA
4 | -- converts 16bit raw to yuv(downscale),RZA
5 | -- converts 16bit yuv to yuv(downscale),RZA
6 | -- converts 16bit yuv to yuv(upscale),RZA
7 | -- converts 16bit yuv to yuv(downscale)RZB
8 | -- converts 16bit yuv to yuv(upscale)RZB
9 | -- converts 8bit raw to yuv(downscale)RZA
10 | -- converts 16bit raw to yuv(downscale)RZB
OPTIONS :
=========
0
===
Explanation : This is the basic test of all the IOCTLs .
Note :Make sure a raw file with name "raw16.bin"(624 * 456)is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(640 * 480)
1
===
Explanation : This converts 8bit raw file named "bayer_book.h"(640 * 480) to yuv name "yuv16.yuv"(640 * 480) using RZA
Note :Make sure an 8bit raw file named "bayer_book.h" is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(640 * 480)
2
===
Explanation : This converts 16bit raw file to yuv upscaling it using RZA
Note :Make sure a 16bit raw file with name "raw16.bin"(624 * 456)is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(640 * 480)
3
===
Explanation : This converts 16 bit yuv file to yuv using resize RZA
Note :Make sure a 16bit yuv file with name "in_yuv16.yuv"(640 * 480)is there in present working directory.
It makes a yuv file with name "out_yuv16.yuv"(640 * 480)
4
===
Explanation : This converts 16bit raw file to yuv downscaling it using RZA
Note :Make sure a 16bit raw file with name "raw16.bin"(624 * 456)is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(320 * 240)
5
===
Explanation : This converts 16bit yuv to yuv downscaling it using RZA.
Note :Make sure a 16bit yuv file with name "in_yuv16.yuv"(640 * 480)is there in present working directory.
It makes a yuv file with name "out_yuv16.yuv"(320 * 240)
6
===
Explanation : This converts 16bit yuv to yuv upscaling it using RZA.
Note :Make sure a 16bit yuv file with name "in_yuv.yuv"(640 * 480)is there in present working directory.
It makes a yuv file with name "out_yuv16.yuv"(1280 * 480)
7
===
Explanation : This converts 16bit yuv to yuv downscaling it using RZB.
Note :Make sure a 16bit yuv file with name "in_yuv16.yuv"(640 * 480)is there in present working directory.
It makes a yuv file with name "out_yuv16.yuv"(320 * 240)
8
===
Explanation : This converts 16bit yuv to yuv upscaling it using RZB.
Note :Make sure a 16bit yuv file with name "in_yuv16.yuv"(320 * 240)is there in present working directory.
It makes a yuv file with name "out_yuv16.yuv"(320 * 240)
9
===
Explanation : This converts 8bit raw file named "bayer_book.h"(640 * 480) to yuv named "yuv16.yuv"(320 * 240) downscaling it using RZA.
Note :Make sure an 8bit raw file named "bayer_book.h" is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(320 * 240)
10
===
Explanation : This converts 16bit raw file to yuv downscaling it using RZB
Note :Make sure a 16bit raw file with name "raw16.bin"(624 * 456)is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(320 * 240)
HOW TO RUN SAMPLE APPLICATION:
=============================
Source Files
============
Sample_ipipe.c :
Execution Steps : ./Sample_ipipe
===============
Explanation : This is the sample application converts 16bit raw file to yuv downscaling it using RZA.
Note :Make sure a raw file with name "raw16.bin"(624 * 456)is there in present working directory.
It makes a yuv file with name "yuv16.yuv"(320 * 240).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -