/// <summary> /// Collects all available TV standards from the device. /// </summary> private void fetchStandards() { standards = new Core.SearchableList <Analog.Video.Standard>(); v4l2_standard cur = new v4l2_standard(); cur.index = 0; while (ioControl.EnumerateStandards(ref cur) == 0) { standards.Add(new Analog.Video.Standard(cur)); cur.index++; } }
internal Standard(v4l2_standard standard) { this.standard = standard; }
ioctl(int device, v4l2_operation request, ref v4l2_standard argp);
/// <summary> /// Calls VIDIOC_ENUMSTD. /// </summary> public int EnumerateStandards(ref v4l2_standard std) { return(ioctl(deviceHandle, v4l2_operation.EnumerateStandards, ref std)); }