public void ProvidePanelInputs(int layer, params string[] inputs) { if (layer == 0) { var tileInput = new PanelViewModel("tile-input-layer0", Constants.PDECODE_NAME_TILEINPUT, true, new[] { "Y", "Cb", "Cr" }, inputs); Panels[0] = tileInput; } else { var tileInput = new PanelViewModel("tile-input-layer" + layer, Constants.PDECODE_NAME_TILEINPUT, true, new[] { "Y", "Y Raw Data", "Cb", "Cb Raw Data", "Cr", "Cr Raw Data" }, inputs); Panels[0] = tileInput; } }
public void ProvidePanelInputs(params string[] inputs) { PanelViewModel tileInput = new PanelViewModel("encoded-input", Constants.DECODE_NAME_TILEINPUT, true, new[] { "Y", "Cb", "Cr" }, inputs); _panels[0] = tileInput; }