to_cpos
pos = to_cpos(pipe->splitter);
pos = to_cpos(pipe->merger);
pos = to_cpos(temp->improc);
pos = to_cpos(pipe->ctrlr);
pos = to_cpos(pipe->layers[id - KOMEDA_COMPONENT_LAYER0]);
pos = to_cpos(pipe->wb_layer);
pos = to_cpos(temp->compiz);
pos = to_cpos(pipe->scalers[id - KOMEDA_COMPONENT_SCALER0]);