Searched refs:new_metadata (Results 1 – 2 of 2) sorted by relevance
967 ColorMetaData new_metadata = layer_buffer->color_metadata; in ValidateAndSetCSC() local968 if (sdm::SetCSC(handle, &new_metadata) == kErrorNone) { in ValidateAndSetCSC()972 new_metadata.colorPrimaries = layer_buffer->color_metadata.colorPrimaries; in ValidateAndSetCSC()973 new_metadata.transfer = layer_buffer->color_metadata.transfer; in ValidateAndSetCSC()974 new_metadata.range = layer_buffer->color_metadata.range; in ValidateAndSetCSC()976 if ((layer_buffer->color_metadata.colorPrimaries != new_metadata.colorPrimaries) || in ValidateAndSetCSC()977 (layer_buffer->color_metadata.transfer != new_metadata.transfer) || in ValidateAndSetCSC()978 (layer_buffer->color_metadata.range != new_metadata.range)) { in ValidateAndSetCSC()979 layer_buffer->color_metadata.colorPrimaries = new_metadata.colorPrimaries; in ValidateAndSetCSC()980 layer_buffer->color_metadata.transfer = new_metadata.transfer; in ValidateAndSetCSC()[all …]
1051 ColorMetaData new_metadata = layer_buffer->color_metadata; in ValidateAndSetCSC() local1052 if (sdm::SetCSC(handle, &new_metadata) == kErrorNone) { in ValidateAndSetCSC()1056 new_metadata.colorPrimaries = layer_buffer->color_metadata.colorPrimaries; in ValidateAndSetCSC()1057 new_metadata.transfer = layer_buffer->color_metadata.transfer; in ValidateAndSetCSC()1058 new_metadata.range = layer_buffer->color_metadata.range; in ValidateAndSetCSC()1060 if ((layer_buffer->color_metadata.colorPrimaries != new_metadata.colorPrimaries) || in ValidateAndSetCSC()1061 (layer_buffer->color_metadata.transfer != new_metadata.transfer) || in ValidateAndSetCSC()1062 (layer_buffer->color_metadata.range != new_metadata.range)) { in ValidateAndSetCSC()1063 layer_buffer->color_metadata.colorPrimaries = new_metadata.colorPrimaries; in ValidateAndSetCSC()1064 layer_buffer->color_metadata.transfer = new_metadata.transfer; in ValidateAndSetCSC()[all …]