public ProcessorStage pipeline(List<? extends Processor> processors) { org.osgl.util.E.illegalArgumentIf(processors.isEmpty()); int sz = processors.size(); Processor first = processors.get(0); ProcessorStage stage = pipeline(first); for (int i = 1; i < sz; ++i) { stage = stage.pipeline(processors.get(i)); } return stage; }
public ProcessorStage pipeline(List<? extends Processor> processors) { org.osgl.util.E.illegalArgumentIf(processors.isEmpty()); int sz = processors.size(); Processor first = processors.get(0); ProcessorStage stage = pipeline(first); for (int i = 1; i < sz; ++i) { stage = stage.pipeline(processors.get(i)); } return stage; }
public ProcessorStage compress(float compressionQuality) { return new ProcessorStage(get()).compressionQuality(compressionQuality).pipeline(COPIER); }
public ProcessorStage compress(float compressionQuality) { return new ProcessorStage(get()).compressionQuality(compressionQuality).pipeline(COPIER); }
public ProcessorStage pipeline(Processor p, Processor... others) { ProcessorStage stage = pipeline(p); for (Processor other : others) { stage = stage.pipeline(other); } return stage; }
public ProcessorStage pipeline(Processor p, Processor... others) { ProcessorStage stage = pipeline(p); for (Processor other : others) { stage = stage.pipeline(other); } return stage; }