# US 2006/0050155 A1 · Video camera sharing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0050155 A1
- Document ID: US20060050155A1
- Status: Published application
- Kind: A1
- Application number: 10/932,566
- Filed: 2004-09-02
- Published: 2006-03-09
- Earliest claimed: 2004-09-02
- Inventors: Stephen Ing; Manoj Agnihotri
- Web page: https://patentgrep.com/patent/US20060050155A1

## CPC

- G06F 3/005: {Input arrangements through a video camera}
- G06F 9/544: {Buffers; Shared memory; Pipes}
- H04N 7/183: {for receiving images from a single remote source}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Systems, methods, and software share an output of a video capture device, such as a video camera, amongst more than one application. Some embodiments comprise writing video frames to a shared memory buffer that is accessible by one or more applications. Some applications are virtual device drivers that appear as actual device drivers of the video capture device producing the video data. Some embodiments comprise acquiring exclusive control of a video capture device driver, allocating a shared memory buffer, receiving a video frame from the video capture device driver, and writing the video frame to the shared memory buffer. In some embodiments, the shared memory buffer comprises two shared memory buffers that are written to and read from in an alternating fashion.

## Claims

### Claim 1

A method comprising:
acquiring exclusive control of a video capture device driver;
allocating a shared memory buffer;
receiving a video frame from the video capture device driver; and
writing the video frame to the shared memory buffer.

### Claim 2 (depends on 1)

The method of claim 1, wherein the shared memory buffer is accessible by one or more applications.

### Claim 3 (depends on 2)

The method of claim 2, wherein the one or more applications are video-enabled applications.

### Claim 4 (depends on 1)

The method of claim 1, wherein subsequently received video frames are written to the shared memory buffer, overwriting previous video frames in the shared memory buffer.

### Claim 5

A method comprising:
writing a video frame to a shared memory buffer, wherein the shared memory buffer is accessible by one or more applications.

### Claim 6 (depends on 5)

The method of claim 5, wherein the one or more applications comprise video-enabled applications.

### Claim 7 (depends on 6)

The method of claim 6, further comprising receiving a video frame, wherein the shared memory buffer comprises two shared memory buffers and wherein receiving the video frame comprises receiving a stream of video frames, the method further comprising:
alternating writing the stream of video frames between the two memory buffers.

### Claim 8 (depends on 5)

The method of claim 5, wherein the shared memory buffer is of a size at least equal to a size necessary to hold a received video frame.

### Claim 9 (depends on 5)

The method of claim 5, further comprising:
reading the video frame from the shared memory buffer by the one or more applications.

### Claim 10

A system comprising:
a memory;
a video capture device;
a video capture device driver to receive captured video frames from the video capture device, wherein the video capture device driver is mutually exclusive; and
software operable on the system to:
allocate a shared memory buffer in the memory;
receive video frames from the video capture device driver; and
write the received video frames to the shared memory buffer.

### Claim 11 (depends on 10)

The system of claim 10, wherein the received video frames written to the shared memory buffer are accessible to one or more applications operating on the system.

### Claim 12 (depends on 11)

The system of claim 11, wherein the software is a multi-instance virtual driver.

### Claim 13 (depends on 12)

The system of claim 12, wherein the multi-instance virtual driver appears to the one or more applications operating on the system as a video capture device driver.

### Claim 14 (depends on 10)

The system of claim 10 wherein the software, when executing, has exclusive control of the video capture device driver.

### Claim 15

An article comprising a machine-accessible medium having associated instructions, wherein the instructions, when accessed, result in a machine performing:
providing video data from a video capture device to two or more applications operable on the machine through a shared memory buffer.

### Claim 16 (depends on 15)

The article of claim 15 wherein the instructions, when accessed, further result in a machine performing:
providing one or more virtual video capture device drivers to provide the video data to the two or more applications, the virtual video capture device drivers obtaining the video data from the shared memory buffer.

### Claim 17 (depends on 15)

The article of claim 15 wherein the machine comprises a video capture device driver operatively coupled to the video capture device, and wherein the instructions, when accessed, result in the machine performing:
receiving the video data from the video capture device into the video capture device driver; and
writing the video data from the video capture device driver into the shared memory buffer.

### Claim 18

A method comprising:
acquiring a mutually exclusive video capture device driver;
allocating two shared memory buffers; and
creating one or more virtual device drivers, wherein the one or more virtual device drivers appear to applications operable on a system executing the method as video capture device drivers.

### Claim 19 (depends on 18)

The method of claim 18 further comprising:
receiving a stream of video frames from the video capture device driver; and
writing the video frames in an alternating manner between the two shared memory buffers.

### Claim 20 (depends on 19)

The method of claim 19, wherein the virtual device drivers are operable to provide video to the applications operable on the system by reading the video frames in an alternating manner from the two shared memory buffers.

### Claim 21 (depends on 19)

The method of claim 19, wherein creating one or more virtual device drivers comprises creating a fixed number of mutually exclusive virtual device drivers.

### Claim 22

A method comprising:
acquiring exclusive control of a video capture device driver;
allocating a shared memory buffer;
receiving a video stream from the video capture device driver into a filter graph, the filter graph including:
a source filter that receives a video stream from the video capture device driver, and
a render filter that writes the video stream, one frame at a time, to a shared memory buffer.

### Claim 23 (depends on 22)

The method of claim 22, wherein allocating the shared memory buffer comprises allocating more than one shared memory buffers that are written to by the render filter of the filter graph, one frame at a time, alternating between the memory buffers.

### Claim 24 (depends on 22)

The method of claim 22, further comprising:
obtaining a video stream into a source filter, wherein the source filter appears to applications as a video capture device driver; and
acquiring the source filter by ah application, wherein the source filter is used by the application's filter graph to obtain video from the shared memory buffer.

### Claim 25 (depends on 22)

The method of claim 22, wherein the video stream is a multiplexed stream including an audio stream.

### Claim 26

A method comprising:
providing a system with one or more virtual video capture device drivers, wherein the virtual video capture device drivers obtain video data from a shared memory buffer; and
populating the shared memory buffer with video data received from a mutually exclusive video capture device driver.

### Claim 27 (depends on 26)

The method of claim 26, wherein the one or more virtual video capture device drivers are mutually exclusive.

### Claim 28 (depends on 26)

The method of claim 26, wherein the virtual video capture device drivers include at least a source filter of a filter graph.
