Home
last modified time | relevance | path

Searched refs:alpha (Results 1 - 25 of 49) sorted by relevance

12

/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
H A Dhdi_layer.cpp120 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
122 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
123 DISPLAY_LOGD("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
124 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp271 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
274 DISPLAY_CHK_RETURN((alpha == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
275 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Dhdi_layer.cpp122 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
124 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
125 DISPLAY_DEBUGLOG("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
126 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp292 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
295 DISPLAY_CHK_RETURN((alpha == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
296 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
H A Dhdi_layer.h147 virtual int32_t SetLayerAlpha(LayerAlpha *alpha);
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Dhdi_layer.cpp121 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
123 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
124 DISPLAY_DEBUGLOG("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
125 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp293 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
296 DISPLAY_CHK_RETURN((alpha == NULL), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
297 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
H A Dhdi_layer.h145 virtual int32_t SetLayerAlpha(LayerAlpha *alpha);
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Dhdi_layer.cpp132 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
134 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
135 DISPLAY_LOGD("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
136 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp296 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
299 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
300 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Dhdi_layer.cpp132 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
134 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
135 DISPLAY_LOGD("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
136 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp296 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
299 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
300 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Dhdi_layer.cpp132 int32_t HdiLayer::SetLayerAlpha(LayerAlpha *alpha) in SetLayerAlpha() argument
134 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("in alpha is nullptr")); in SetLayerAlpha()
135 DISPLAY_LOGD("enable alpha %{public}d galpha 0x%{public}x", alpha->enGlobalAlpha, alpha->gAlpha); in SetLayerAlpha()
136 mAlpha = *alpha; in SetLayerAlpha()
H A Dhdi_session.cpp296 static int32_t SetLayerAlpha(uint32_t devId, uint32_t layerId, LayerAlpha *alpha) in SetLayerAlpha() argument
299 DISPLAY_CHK_RETURN((alpha == nullptr), DISPLAY_NULL_PTR, DISPLAY_LOGE("alpha is nullptr")); in SetLayerAlpha()
300 return HdiSession::GetInstance().CallLayerFunction(devId, layerId, &HdiLayer::SetLayerAlpha, alpha); in SetLayerAlpha()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/
H A Dhifb_vou_drv.c131 * 3.alpha, global alpha,CSC,CSC enable, get interface type
192 hi_s32 hifb_drv_set_layer_alpha(hi_u32 layer_id, HIFB_ALPHA_S alpha) in hifb_drv_set_layer_alpha() argument
201 /* When the premultiply is enabled, the global alpha cannot be 1 */ in hifb_drv_set_layer_alpha()
202 if (alpha.u8GlobalAlpha == 1) { in hifb_drv_set_layer_alpha()
207 hi_trace_fb(HI_DBG_ERR, "the global alpha can not set to 1 when the pre-mult mode is enable\n"); in hifb_drv_set_layer_alpha()
211 if (alpha.bAlphaChannel) { in hifb_drv_set_layer_alpha()
212 vou_graphics_set_layer_galpha(g_hifblayer_to_hwlayer[layer_id], alpha.u8GlobalAlpha); in hifb_drv_set_layer_alpha()
217 vou_graphics_set_gfx_palpha(g_hifblayer_to_hwlayer[layer_id], alpha.bAlphaEnable, HI_TRUE, alpha in hifb_drv_set_layer_alpha()
[all...]
H A Dhifb_blit.c252 surface->alpha0 = opt->alpha.u8Alpha0; in drv_blit_init()
253 surface->alpha1 = opt->alpha.u8Alpha1; in drv_blit_init()
343 if (opt->alpha.bAlphaEnable) { in blit_opt_get_alpha()
345 option->global_alpha = opt->alpha.u8GlobalAlpha; in blit_opt_get_alpha()
371 option->color_key_value.clut_color_key.alpha.is_component_ignore = HI_TRUE; in drv_blit_option_init()
377 option->color_key_value.argb_color_key.alpha.is_component_ignore = HI_TRUE; in drv_blit_option_init()
393 /* if opt is alpha enable */ in drv_blit_option_init()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/
H A Dtde_hal_k.c120 /* alpha threshold switch */
123 /* alpha threshold value */
139 static hi_u32 tde_hal_get_ycb_cr_key_mask(hi_u8 cr, hi_u8 cb, hi_u8 cy, hi_u8 alpha);
140 static hi_u32 tde_hal_get_clut_key_mask(hi_u8 clut, hi_u8 alpha);
141 static hi_u32 tde_hal_get_argb_key_mask(hi_u8 blue, hi_u8 green, hi_u8 red, hi_u8 alpha);
778 * alpha_from: alpha from
1676 hi_void tde_hal_node_set_global_alpha(tde_hw_node *hw_node, hi_u8 alpha, hi_bool enable) in tde_hal_node_set_global_alpha() argument
1686 hw_node->src2_cbmpara.bits.s2_galpha = alpha; in tde_hal_node_set_global_alpha()
1722 * Description: extend to alpha0 and alpha1 operation when extend alpha for RGB5551
1965 hi_tde_color_key_comp alpha in tde_hal_node_set_ycbcr_color_key_para() local
1985 hi_tde_color_key_comp alpha = color_key->color_key_value.clut_color_key.alpha; tde_hal_node_set_clutcolor_key_para() local
2002 hi_tde_color_key_comp alpha = color_key->color_key_value.argb_color_key.alpha; tde_hal_node_set_argbcolor_key_para() local
2024 tde_hal_get_ycb_cr_key_mask(hi_u8 cr, hi_u8 cb, hi_u8 cy, hi_u8 alpha) tde_hal_get_ycb_cr_key_mask() argument
2030 tde_hal_get_clut_key_mask(hi_u8 clut, hi_u8 alpha) tde_hal_get_clut_key_mask() argument
2035 tde_hal_get_argb_key_mask(hi_u8 blue, hi_u8 green, hi_u8 red, hi_u8 alpha) tde_hal_get_argb_key_mask() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/include/
H A Ddrv_tde_type.h68 HI_TDE_COLOR_FMT_CLUT1, /* <1-bit palette format without alpha component. Each pixel occupies one bit. */
69 HI_TDE_COLOR_FMT_CLUT2, /* <2-bit palette format without alpha component. Each pixel occupies two bits. */
70 HI_TDE_COLOR_FMT_CLUT4, /* <4-bit palette format without alpha component. Each pixel occupies four bits. */
71 HI_TDE_COLOR_FMT_CLUT8, /* <8-bit palette format without alpha component. Each pixel occupies eight bits. */
72 HI_TDE_COLOR_FMT_ACLUT44, /* <1-bit palette format with alpha component. Each pixel occupies one bit. */
73 HI_TDE_COLOR_FMT_ACLUT88, /* <1-bit palette format with alpha component. Each pixel occupies one bit. */
76 HI_TDE_COLOR_FMT_YCBCR888, /* <YUV packet format without alpha component */
77 HI_TDE_COLOR_FMT_AYCBCR8888, /* <YUV packet format with alpha component */
120 hi_bool alpha_max_is_255; /* <The maximum alpha value of a bitmap is 255 or 128. */
122 hi_bool support_alpha_ext_1555; /* <Whether to enable the alpha extensio
291 hi_tde_color_key_comp alpha; /* <Alpha component */ global() member
297 hi_tde_color_key_comp alpha; /* <Alpha component */ global() member
303 hi_tde_color_key_comp alpha; /* <Alpha component */ global() member
[all...]
H A Ddrv_tde_ioctl.h46 hi_bool alpha_max_is_255; /* <The maximum alpha value of a bitmap is 255 or 128. */
48 hi_bool support_alpha_ext_1555; /* <Whether to enable the alpha extension of an ARGB1555 bitmap. */
137 hi_tde_rop_mode rop_alpha; /* < alpha rop type */
140 /* mask blit alpha blend info */
151 hi_u8 alpha; /* < global alpha */ member
H A Dhi_tde_ext.h191 * alpha: alpha value of operate
194 hi_s32 tde_osi_bitmap_mask_blend(hi_s32 handle, hi_tde_triple_src *triple_src, hi_u8 alpha,
217 * Description: get alpha threshold value
218 * Output: threshold_value: alpha threshold value
225 * Description: set alpha threshold switch
226 * Input: alpha_threshold_en:if open alpha threshold flag or not
233 * Description: get alpha threshold switch
234 * Input: alpha_threshold_en:if open alpha threshold flag or not
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c3640 vpstate->global_alpha = state->alpha >> 0x8; in vop2_plane_atomic_check()
6398 static void vop2_parse_alpha(struct vop2_alpha_config *alpha_config, struct vop2_alpha *alpha) in vop2_parse_alpha() argument
6405 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha()
6406 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha()
6407 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha()
6408 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha()
6411 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
6413 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
6415 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
6418 alpha in vop2_parse_alpha()
6484 struct vop2_alpha alpha; vop2_setup_cluster_alpha() local
6570 struct vop2_alpha alpha; vop2_setup_alpha() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop2.c3647 vpstate->global_alpha = state->alpha >> 8; in vop2_plane_atomic_check()
6442 struct vop2_alpha *alpha) in vop2_parse_alpha()
6449 alpha->src_color_ctrl.val = 0; in vop2_parse_alpha()
6450 alpha->dst_color_ctrl.val = 0; in vop2_parse_alpha()
6451 alpha->src_alpha_ctrl.val = 0; in vop2_parse_alpha()
6452 alpha->dst_alpha_ctrl.val = 0; in vop2_parse_alpha()
6455 alpha->src_color_ctrl.bits.blend_mode = ALPHA_GLOBAL; in vop2_parse_alpha()
6457 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX; in vop2_parse_alpha()
6459 alpha->src_color_ctrl.bits.blend_mode = ALPHA_PER_PIX_GLOBAL; in vop2_parse_alpha()
6461 alpha in vop2_parse_alpha()
6441 vop2_parse_alpha(struct vop2_alpha_config *alpha_config, struct vop2_alpha *alpha) vop2_parse_alpha() argument
6526 struct vop2_alpha alpha; vop2_setup_cluster_alpha() local
6609 struct vop2_alpha alpha; vop2_setup_alpha() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/
H A Dhifb_main.c175 static inline hi_void hifb_set_alpha(hifb_par *par, HIFB_ALPHA_S *alpha);
176 static inline hi_void hifb_get_alpha(hifb_par *par, HIFB_ALPHA_S *alpha);
1519 HIFB_ALPHA_S alpha = { in hifb_open_is_cursor_layer() local
1537 /* Configuring alpha properties */ in hifb_open_is_cursor_layer()
1538 hifb_set_alpha(par, &alpha); in hifb_open_is_cursor_layer()
1651 HIFB_ALPHA_S alpha = { in hifb_open_init_config() local
1662 hifb_set_alpha(par, &alpha); in hifb_open_init_config()
1679 g_drv_ops.hifb_drv_set_layer_alpha(layer_id, par->alpha); in hifb_open_init_config()
1807 /* hifb set bufmode\alpha\displaybufinfo\fmt */ in hifb_open_start()
2144 HIFB_ALPHA_S alpha in hifb_get_layer_alpha() local
2156 HIFB_ALPHA_S alpha = {0}; hifb_set_layer_alpha() local
2597 HIFB_ALPHA_S alpha = {0}; hifb_set_cursor_alpha() local
2633 HIFB_ALPHA_S alpha = {0}; hifb_get_cursor_alpha() local
5305 hifb_set_alpha(hifb_par *par, HIFB_ALPHA_S *alpha) global() argument
5313 hifb_get_alpha(hifb_par *par, HIFB_ALPHA_S *alpha) global() argument
[all...]
H A Dhifb_main.h188 HIFB_ALPHA_S alpha; /* alpha attribution */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/include/
H A Dtde_osictl.h155 hi_u8 alpha, hi_tde_alpha_blending blend_mode);

Completed in 50 milliseconds

12