Lines Matching refs:layerData
138 const ExynosCompositionInfo& clientCompositionInfo, LayerColorData& layerData, in setClientCompositionColorData() argument
140 layerData.dim_ratio = 1.0f; in setClientCompositionColorData()
141 setLayerDataspace(layerData, static_cast<hwc::Dataspace>(clientCompositionInfo.mDataSpace)); in setClientCompositionColorData()
142 disableLayerHdrStaticMetadata(layerData); in setClientCompositionColorData()
143 disableLayerHdrDynamicMetadata(layerData); in setClientCompositionColorData()
152 setLayerColorTransform(layerData, scaleMatrix); in setClientCompositionColorData()
160 setLayerColorTransform(layerData, defaultMatrix); in setClientCompositionColorData()
166 int32_t DisplaySceneInfo::setLayerColorData(LayerColorData& layerData, ExynosLayer* layer, in setLayerColorData() argument
168 layerData.is_solid_color_layer = layer->isDimLayer(); in setLayerColorData()
169 layerData.solid_color.r = layer->mColor.r; in setLayerColorData()
170 layerData.solid_color.g = layer->mColor.g; in setLayerColorData()
171 layerData.solid_color.b = layer->mColor.b; in setLayerColorData()
172 layerData.solid_color.a = layer->mColor.a; in setLayerColorData()
173 layerData.dim_ratio = layer->mPreprocessedInfo.sdrDimRatio; in setLayerColorData()
174 setLayerDataspace(layerData, static_cast<hwc::Dataspace>(layer->mDataSpace)); in setLayerColorData()
177 setLayerHdrStaticMetadata(layerData, layer->getMetaParcel()->sHdrStaticInfo); in setLayerColorData()
179 disableLayerHdrStaticMetadata(layerData); in setLayerColorData()
182 setLayerHdrDynamicMetadata(layerData, layer->getMetaParcel()->sHdrDynamicInfo); in setLayerColorData()
184 disableLayerHdrDynamicMetadata(layerData); in setLayerColorData()
186 disableLayerHdrStaticMetadata(layerData); in setLayerColorData()
187 disableLayerHdrDynamicMetadata(layerData); in setLayerColorData()
199 setLayerColorTransform(layerData, layer->mLayerColorTransform.mat); in setLayerColorData()
201 setLayerColorTransform(layerData, defaultMatrix); in setLayerColorData()
222 setLayerColorTransform(layerData, scaleMatrix); in setLayerColorData()
231 setLayerColorTransform(layerData, scaleMatrix); in setLayerColorData()
271 void DisplaySceneInfo::printLayerColorData(const LayerColorData& layerData) { in printLayerColorData() argument
272 ALOGD("dataspace: 0x%8x", static_cast<uint32_t>(layerData.dataspace)); in printLayerColorData()
275 ALOGD("%f, %f, %f, %f", layerData.matrix[i], layerData.matrix[i + 1], in printLayerColorData()
276 layerData.matrix[i + 2], layerData.matrix[i + 3]); in printLayerColorData()
278 ALOGD("static_metadata.is_valid(%d)", layerData.static_metadata.is_valid); in printLayerColorData()
279 if (layerData.static_metadata.is_valid) { in printLayerColorData()
280 ALOGD("\tdisplay_red_primary(%d, %d)", layerData.static_metadata.display_red_primary_x, in printLayerColorData()
281 layerData.static_metadata.display_red_primary_y); in printLayerColorData()
282 ALOGD("\tdisplay_green_primary(%d, %d)", layerData.static_metadata.display_green_primary_x, in printLayerColorData()
283 layerData.static_metadata.display_green_primary_y); in printLayerColorData()
284 ALOGD("\tdisplay_blue_primary(%d, %d)", layerData.static_metadata.display_blue_primary_x, in printLayerColorData()
285 layerData.static_metadata.display_blue_primary_y); in printLayerColorData()
286 ALOGD("\twhite_point(%d, %d)", layerData.static_metadata.white_point_x, in printLayerColorData()
287 layerData.static_metadata.white_point_y); in printLayerColorData()
289 ALOGD("dynamic_metadata.is_valid(%d)", layerData.dynamic_metadata.is_valid); in printLayerColorData()
290 if (layerData.dynamic_metadata.is_valid) { in printLayerColorData()
292 layerData.dynamic_metadata.display_maximum_luminance); in printLayerColorData()
293 ALOGD("\tmaxscl(%d, %d, %d)", layerData.dynamic_metadata.maxscl[0], in printLayerColorData()
294 layerData.dynamic_metadata.maxscl[1], layerData.dynamic_metadata.maxscl[2]); in printLayerColorData()
295 ALOGD("\ttm_flag(%d)", layerData.dynamic_metadata.tm_flag); in printLayerColorData()
296 ALOGD("\ttm_knee_x(%d)", layerData.dynamic_metadata.tm_knee_x); in printLayerColorData()
297 ALOGD("\ttm_knee_y(%d)", layerData.dynamic_metadata.tm_knee_y); in printLayerColorData()