![]() |
RTEMS 6.1
|
Go to the source code of this file.
Data Structures | |
| struct | ISI_Descriptors |
| struct | ISI_FrameBufferDescriptors |
| struct | ISI_Y2R |
| struct | ISI_R2Y |
Macros | |
| #define | YUV_INPUT 0 |
| #define | RGB_INPUT 1 |
| #define | GRAYSCALE_INPUT 2 |
Functions | |
| void | ISI_Enable (void) |
| Enable ISI. | |
| void | ISI_Disable (void) |
| Disable ISI. | |
| void | ISI_DmaChannelEnable (uint32_t channel) |
| Enable ISI Dma channel. | |
| void | ISI_DmaChannelDisable (uint32_t channel) |
| Disable ISI Dma channel. | |
| void | ISI_EnableInterrupt (uint32_t flag) |
| Enable ISI interrupt. | |
| void | ISI_DisableInterrupt (uint32_t flag) |
| Disable ISI interrupt. | |
| void | ISI_CodecPathFull (void) |
| Enable Codec path for capture next frame. | |
| void | ISI_SetFrameRate (uint32_t frame) |
| Set frame rate. | |
| uint8_t | ISI_BytesForOnePixel (uint8_t bmpRgb) |
| Get the number of byte per pixels. | |
| void | ISI_Reset (void) |
| Reset ISI. | |
| void | ISI_Init (pIsi_Video pVideo) |
| uint32_t | ISI_StatusRegister (void) |
| Return ISI status register. | |
| void | ISI_SetBlank (uint8_t hBlank, uint8_t vBlank) |
| Set the windows blank. | |
| void | ISI_SetSensorSize (uint32_t hSize, uint32_t vSize) |
| Set vertical and horizontal Size of the Image Sensor. | |
| void | ISI_RgbPixelMapping (uint32_t wRgbPixelMapping) |
| Defines RGB pattern when RGB_MODE is set to 1. | |
| void | ISI_RgbSwapMode (uint32_t swapMode) |
| Enables RGB swap. | |
| void | ISI_YCrCbFormat (uint32_t wYuvSwapMode) |
| Defines YCrCb swap format. | |
| void | ISI_setGrayScaleMode (uint32_t wPixelFormat) |
| Input image is assumed to be grayscale-coded. | |
| void | ISI_setInputStream (uint32_t wStreamMode) |
| Set data stream format. | |
| void | ISI_setPreviewSize (uint32_t hSize, uint32_t vSize) |
| Set preview size. | |
| void | ISI_calcScalerFactor (void) |
| calculate scaler factor automatically. | |
| void | ISI_setDmaInPreviewPath (uint32_t baseFrameBufDesc, uint32_t dmaCtrl, uint32_t frameBufferStartAddr) |
| Configure DMA for preview path. | |
| void | ISI_setDmaInCodecPath (uint32_t baseFrameBufDesc, uint32_t dmaCtrl, uint32_t frameBufferStartAddr) |
| Configure DMA for Codec path. | |
| void | ISI_SetMatrix4Yuv2Rgb (ISI_Y2R *yuv2rgb) |
| ISI set matrix for YUV to RGB color space for preview path. | |
| void | ISI_SetMatrix4Rgb2Yuv (ISI_R2Y *rgb2yuv) |
| ISI set matrix for RGB to YUV color space for codec path. | |
| uint8_t ISI_BytesForOnePixel | ( | uint8_t | bmpRgb | ) |
Get the number of byte per pixels.
| bmpRgb | BMP type can be YUV or RGB |
| void ISI_calcScalerFactor | ( | void | ) |
calculate scaler factor automatically.
| void ISI_DisableInterrupt | ( | uint32_t | flag | ) |
Disable ISI interrupt.
| flag | of interrupt to disable |
| void ISI_DmaChannelDisable | ( | uint32_t | channel | ) |
Disable ISI Dma channel.
| channel | to be disabled |
| void ISI_DmaChannelEnable | ( | uint32_t | channel | ) |
Enable ISI Dma channel.
| channel | to be enabled |
| void ISI_EnableInterrupt | ( | uint32_t | flag | ) |
Enable ISI interrupt.
| flag | of interrupt to enable |
| void ISI_RgbPixelMapping | ( | uint32_t | wRgbPixelMapping | ) |
Defines RGB pattern when RGB_MODE is set to 1.
| wRgbPixelMapping | RGB pattern |
| void ISI_RgbSwapMode | ( | uint32_t | swapMode | ) |
Enables RGB swap.
| swapMode | 0: D7-R7, 1: D0-R7 |
| void ISI_SetBlank | ( | uint8_t | hBlank, |
| uint8_t | vBlank | ||
| ) |
Set the windows blank.
| hBlank | pixel clock periods to wait before the beginning of a line. |
| vBlank | lines are skipped at the beginning of the frame. |
| void ISI_setDmaInCodecPath | ( | uint32_t | baseFrameBufDesc, |
| uint32_t | dmaCtrl, | ||
| uint32_t | frameBufferStartAddr | ||
| ) |
Configure DMA for Codec path.
| baseFrameBufDesc | Preview Descriptor Address. |
| dmaCtrl | DMA Preview Control. |
| frameBufferStartAddr | DMA Preview Base Address. |
| void ISI_setDmaInPreviewPath | ( | uint32_t | baseFrameBufDesc, |
| uint32_t | dmaCtrl, | ||
| uint32_t | frameBufferStartAddr | ||
| ) |
Configure DMA for preview path.
| baseFrameBufDesc | Preview Descriptor Address. |
| dmaCtrl | DMA Preview Control. |
| frameBufferStartAddr | DMA Preview Base Address. |
| void ISI_SetFrameRate | ( | uint32_t | frame | ) |
Set frame rate.
| frame | frame rate capture |
| void ISI_setGrayScaleMode | ( | uint32_t | wPixelFormat | ) |
Input image is assumed to be grayscale-coded.
| wPixelFormat | 0: 2 pixels per word, 1:1 pixel per word. |
| void ISI_setInputStream | ( | uint32_t | wStreamMode | ) |
Set data stream format.
| wStreamMode | 0: YUV input, 1: RGB 8:8:8/5:6:5 input |
| void ISI_SetMatrix4Rgb2Yuv | ( | ISI_R2Y * | rgb2yuv | ) |
ISI set matrix for RGB to YUV color space for codec path.
| rgb2yuv | structure of RGB to YUV parameters. |
| void ISI_SetMatrix4Yuv2Rgb | ( | ISI_Y2R * | yuv2rgb | ) |
ISI set matrix for YUV to RGB color space for preview path.
| yuv2rgb | structure of YUV to RBG parameters. |
| void ISI_setPreviewSize | ( | uint32_t | hSize, |
| uint32_t | vSize | ||
| ) |
Set preview size.
| hSize | Horizontal Preview size (640 max only in RGB mode). |
| vSize | Vertical Preview size (480 max only in RGB mode). |
| void ISI_SetSensorSize | ( | uint32_t | hSize, |
| uint32_t | vSize | ||
| ) |
Set vertical and horizontal Size of the Image Sensor.
| hSize | Horizontal size of the Image sensor [0..2047]. |
| vSize | Vertical size of the Image sensor [0..2047]. |
| uint32_t ISI_StatusRegister | ( | void | ) |
Return ISI status register.
| void ISI_YCrCbFormat | ( | uint32_t | wYuvSwapMode | ) |
Defines YCrCb swap format.
| wYuvSwapMode | YUV Swap format |