| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- /*------------------------------------------------------------------------------
- -- --
- -- This software is confidential and proprietary and may be used --
- -- only as expressly authorized by a licensing agreement from --
- -- --
- -- Hantro Products Oy. --
- -- --
- -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
- -- ALL RIGHTS RESERVED --
- -- --
- -- The entire notice above must be reproduced --
- -- on all copies and should not be removed. --
- -- --
- --------------------------------------------------------------------------------
- --
- -- Description : Camera stabilization standalone configuration
- --
- ------------------------------------------------------------------------------*/
- #ifndef __VIDSTBCFG_H__
- #define __VIDSTBCFG_H__
- #include "basetype.h"
- /* Here is defined the default values for the encoder build-time configuration.
- * You can override these settings by defining the values as compiler flags
- * in the Makefile.
- */
- /* The input image's 32-bit swap: 0 or 1
- * This defines the 32-bit endianess of the ASIC input YUV
- * 1 = 64-bit endianess */
- #ifndef VS8290_INPUT_SWAP_32_YUV
- #define VS8290_INPUT_SWAP_32_YUV 0
- #endif
- /* The input image's 16-bit swap: 0 or 1
- * This defines the 16-bit endianess of the ASIC input YUV
- */
- #ifndef VS8290_INPUT_SWAP_16_YUV
- #define VS8290_INPUT_SWAP_16_YUV 1
- #endif
- /* The input image's 8-bit swap: 0 or 1
- * This defines the byte endianess of the ASIC input YUV
- */
- #ifndef VS8290_INPUT_SWAP_8_YUV
- #define VS8290_INPUT_SWAP_8_YUV 1
- #endif
- /* The input image's 32-bit swap: 0 or 1
- * This defines the 32-bit endianess of the ASIC input RGB16
- * 1 = 64-bit endianess */
- #ifndef VS8290_INPUT_SWAP_32_RGB16
- #define VS8290_INPUT_SWAP_32_RGB16 0
- #endif
- /* The input image's 16-bit swap: 0 or 1
- * This defines the 16-bit endianess of the ASIC input RGB16
- */
- #ifndef VS8290_INPUT_SWAP_16_RGB16
- #define VS8290_INPUT_SWAP_16_RGB16 1
- #endif
- /* The input image's byte swap: 0 or 1
- * This defines the byte endianess of the ASIC input RGB16
- */
- #ifndef VS8290_INPUT_SWAP_8_RGB16
- #define VS8290_INPUT_SWAP_8_RGB16 0
- #endif
- /* The input image's 32-bit swap: 0 or 1
- * This defines the 32-bit endianess of the ASIC input RGB32
- * 1 = 64-bit endianess */
- #ifndef VS8290_INPUT_SWAP_32_RGB32
- #define VS8290_INPUT_SWAP_32_RGB32 0
- #endif
- /* The input image's 16-bit swap: 0 or 1
- * This defines the 16-bit endianess of the ASIC input RGB32
- */
- #ifndef VS8290_INPUT_SWAP_16_RGB32
- #define VS8290_INPUT_SWAP_16_RGB32 0
- #endif
- /* The input image's byte swap: 0 or 1
- * This defines the byte endianess of the ASIC input RGB32
- */
- #ifndef VS8290_INPUT_SWAP_8_RGB32
- #define VS8290_INPUT_SWAP_8_RGB32 0
- #endif
- /* ASIC interrupt enable.
- * This enables/disables the ASIC to generate interrupts
- * If this is '1', the EWL must poll the registers to find out
- * when the HW is ready.
- */
- #ifndef VS8290_IRQ_DISABLE
- #define VS8290_IRQ_DISABLE 0
- #endif
- /* ASIC bus interface configuration values */
- /* DO NOT CHANGE IF NOT FAMILIAR WITH THE CONCEPTS INVOLVED */
- /* Burst length. This sets the maximum length of a single ASIC burst in addresses.
- * Allowed values are:
- * AHB {0, 4, 8, 16} ( 0 means incremental burst type INCR)
- * OCP [1,63]
- * AXI [1,16]
- */
- #ifndef VS8290_BURST_LENGTH
- #define VS8290_BURST_LENGTH 16
- #endif
- /* INCR type burst mode */
- /* 0 allowe INCR type bursts */
- /* 1 disable INCR type and use SINGLE instead */
- #ifndef VS8290_BURST_INCR_TYPE_ENABLED
- #define VS8290_BURST_INCR_TYPE_ENABLED 0
- #endif
- /* Data discard mode. When enabled read bursts of length 2 or 3 are converted to */
- /* BURST4 and useless data is discarded. Otherwise use INCR type for that kind */
- /* of read bursts */
- /* 0 disable data discard */
- /* 1 enable data discard */
- #ifndef VS8290_BURST_DATA_DISCARD_ENABLED
- #define VS8290_BURST_DATA_DISCARD_ENABLED 0
- #endif
- /* AXI bus read and write ID values used by HW. 0 - 255 */
- #ifndef VS8290_AXI_READ_ID
- #define VS8290_AXI_READ_ID 0
- #endif
- #ifndef VS8290_AXI_WRITE_ID
- #define VS8290_AXI_WRITE_ID 0
- #endif
- /* End of "ASIC bus interface configuration values" */
- /* ASIC internal clock gating control. 0 - disabled, 1 - enabled */
- #ifndef VS8290_ASIC_CLOCK_GATING_ENABLED
- #define VS8290_ASIC_CLOCK_GATING_ENABLED 0
- #endif
- #endif
|