public sFrameSizeEnum frameSizeFirst(ePixelFormat pixelFormat) { sFrameSizeEnum fse = new sFrameSizeEnum(); fse.pixelFormat = pixelFormat; file.call(eControlCode.ENUM_FRAMESIZES, ref fse); return(fse); }
public IEnumerable <sFrameSizeEnum> frameSizeEnum(ePixelFormat pixelFormat) { sFrameSizeEnum fse = new sFrameSizeEnum(); fse.pixelFormat = pixelFormat; for (int i = 0; true; i++) { fse.index = i; if (!file.enumerate(eControlCode.ENUM_FRAMESIZES, ref fse)) { yield break; } yield return(fse); } }
internal ContinuousSizes(ref sFrameSizeEnum vals) { type = vals.type; stepwise = vals.stepwise; }