Esempio n. 1
0
        /// <summary>
        /// Collects all available video outputs from the device.
        /// </summary>
        private void fetchOutputs() {
            outputs = new Core.SearchableList<Analog.Video.Output>();
            v4l2_output cur = new v4l2_output();

            cur.index = 0;
            while(ioControl.EnumerateOutputs(ref cur) == 0) {
                outputs.Add(new Analog.Video.Output(cur));
                cur.index++;
            }
        }
Esempio n. 2
0
			ioctl(int device, v4l2_operation request, ref v4l2_output argp);
Esempio n. 3
0
 private static extern int ioctl(int device, v4l2_operation request, ref v4l2_output argp);
Esempio n. 4
0
		/// <summary>
		/// Calls VIDIOC_ENUMOUTPUT.
		/// </summary>
		public int EnumerateOutputs(ref v4l2_output output)
		{
			return ioctl(deviceHandle, v4l2_operation.EnumerateOutputs, ref output);
		}
Esempio n. 5
0
		internal Output(v4l2_output output)
		{
			this.output = output;
		}