Home
last modified time | relevance | path

Searched refs:layerIndex (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lcdifv2.c266 void LCDIFV2_SetCscMode(LCDIFV2_Type *base, uint8_t layerIndex, lcdifv2_csc_mode_t mode) in LCDIFV2_SetCscMode() argument
268 assert(layerIndex < (uint32_t)LCDIFV2_LAYER_CSC_COUNT); in LCDIFV2_SetCscMode()
280 …base->LAYER[layerIndex].CSC_COEF0 = LCDIFV2_CSC_COEF0_ENABLE_MASK | LCDIFV2_CSC_COEF0_C0(0x100U) /… in LCDIFV2_SetCscMode()
284 base->LAYER[layerIndex].CSC_COEF1 = LCDIFV2_CSC_COEF1_C1(0x0123U) /* 1.140. */ in LCDIFV2_SetCscMode()
286 base->LAYER[layerIndex].CSC_COEF2 = LCDIFV2_CSC_COEF2_C2(0x076BU) /* -0.851. */ in LCDIFV2_SetCscMode()
291 …base->LAYER[layerIndex].CSC_COEF0 = LCDIFV2_CSC_COEF0_ENABLE_MASK | LCDIFV2_CSC_COEF0_YCBCR_MODE_M… in LCDIFV2_SetCscMode()
295 base->LAYER[layerIndex].CSC_COEF1 = LCDIFV2_CSC_COEF1_C1(0x0198U) /* 1.596. */ in LCDIFV2_SetCscMode()
297 base->LAYER[layerIndex].CSC_COEF2 = LCDIFV2_CSC_COEF2_C2(0x0730U) /* -0.813. */ in LCDIFV2_SetCscMode()
302 base->LAYER[layerIndex].CSC_COEF0 = 0U; in LCDIFV2_SetCscMode()
303 base->LAYER[layerIndex].CSC_COEF1 = 0U; in LCDIFV2_SetCscMode()
[all …]
Dfsl_lcdifv2.h442 …LCDIFV2_Type *base, uint8_t layerIndex, const uint32_t *lutData, uint16_t count, bool useShadowLoa…
461 static inline void LCDIFV2_SetLayerSize(LCDIFV2_Type *base, uint8_t layerIndex, uint16_t width, uin… in LCDIFV2_SetLayerSize() argument
463 base->LAYER[layerIndex].CTRLDESCL1 = in LCDIFV2_SetLayerSize()
475 static inline void LCDIFV2_SetLayerOffset(LCDIFV2_Type *base, uint8_t layerIndex, uint16_t offsetX,… in LCDIFV2_SetLayerOffset() argument
477 base->LAYER[layerIndex].CTRLDESCL2 = in LCDIFV2_SetLayerOffset()
488 void LCDIFV2_SetLayerBufferConfig(LCDIFV2_Type *base, uint8_t layerIndex, const lcdifv2_buffer_conf…
499 static inline void LCDIFV2_SetLayerBufferAddr(LCDIFV2_Type *base, uint8_t layerIndex, uint32_t addr) in LCDIFV2_SetLayerBufferAddr() argument
501 base->LAYER[layerIndex].CTRLDESCL4 = LCDIFV2_ADDR_CPU_2_IP(addr); in LCDIFV2_SetLayerBufferAddr()
511 static inline void LCDIFV2_EnableLayer(LCDIFV2_Type *base, uint8_t layerIndex, bool enable) in LCDIFV2_EnableLayer() argument
515 base->LAYER[layerIndex].CTRLDESCL5 |= LCDIFV2_CTRLDESCL5_EN_MASK; in LCDIFV2_EnableLayer()
[all …]