Home
last modified time | relevance | path

Searched refs:texture_priv (Results 1 – 4 of 4) sorted by relevance

/hardware/intel/img/psb_video/src/x11/
Dpsb_ctexture.c69 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_extend_dri_init() local
76 if (texture_priv->extend_dri_drawable) { in psb_extend_dri_init()
77 free_drawable(ctx, texture_priv->extend_dri_drawable); in psb_extend_dri_init()
78 texture_priv->extend_dri_drawable = NULL; in psb_extend_dri_init()
81 texture_priv->extend_dri_drawable = dri_get_drawable(ctx, output->extend_drawable); in psb_extend_dri_init()
82 if (!texture_priv->extend_dri_drawable) { in psb_extend_dri_init()
87 extend_dri_buffer = dri_get_rendering_buffer(ctx, texture_priv->extend_dri_drawable); in psb_extend_dri_init()
99 …memcpy(&texture_priv->extend_dri2_bb_export, dri2_bb_export_meminfo->pBase, sizeof(PVRDRI2BackBuff… in psb_extend_dri_init()
102 …= PVR2DMemMap(driver_data->hPVR2DContext, 0, texture_priv->extend_dri2_bb_export.hBuffers[i], &tex… in psb_extend_dri_init()
109 texture_priv->extend_dri_init_flag = 1; in psb_extend_dri_init()
[all …]
Dpsb_xrandr.c443 texture_priv->extend_dri_init_flag = 0; in psb_xrandr_refresh()
/hardware/intel/img/psb_video/src/
Dpsb_texture.c217 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_ctexture_init() local
226 texture_priv->video_transfermatrix = PSB_VideoTransferMatrix_BT709; in psb_ctexture_init()
227 texture_priv->src_nominalrange = PSB_NominalRange_0_255; in psb_ctexture_init()
228 texture_priv->dst_nominalrange = PSB_NominalRange_0_255; in psb_ctexture_init()
230 texture_priv->brightness.Value = OV_BRIGHTNESS_DEFAULT_VALUE; in psb_ctexture_init()
231 texture_priv->brightness.Fraction = 0; in psb_ctexture_init()
232 texture_priv->contrast.Value = OV_CONTRAST_DEFAULT_VALUE; in psb_ctexture_init()
233 texture_priv->contrast.Fraction = 0; in psb_ctexture_init()
234 texture_priv->hue.Value = OV_HUE_DEFAULT_VALUE; in psb_ctexture_init()
235 texture_priv->hue.Fraction = 0; in psb_ctexture_init()
[all …]
Dpsb_output.c2116 struct psb_texture_s *texture_priv = &driver_data->ctexture_priv; in psb_SetDisplayAttributes() local
2136 overlay_priv->brightness.Value = texture_priv->brightness.Value = p->value - 50; in psb_SetDisplayAttributes()
2143 overlay_priv->contrast.Value = texture_priv->contrast.Value = p->value * 2 - 100; in psb_SetDisplayAttributes()
2150 overlay_priv->hue.Value = texture_priv->hue.Value = (p->value * 2 - 100) * 3 / 10; in psb_SetDisplayAttributes()
2157 overlay_priv->saturation.Value = texture_priv->saturation.Value = p->value + 100; in psb_SetDisplayAttributes()
2243 texture_priv->update_coeffs = 1; in psb_SetDisplayAttributes()