sde: resource: use output as reference to decide left and right pipe

Use output as reference to tell left and right pipe, left pipe will be
the one on the left side of output.

Change-Id: I031d1f11159bea47177166efe81c1acfed9499f8
2 files changed