# US 6,731,756 B1 · Method for securing video images

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

- Number: US 6,731,756 B1
- Document ID: US6731756B1
- Status: Granted
- Kind: B1
- Application number: 09/337,718
- Filed: 1999-06-21
- Granted: 2004-05-04
- Earliest claimed: 1999-06-21
- Assignees: Elisar Software Corporation, Inc.
- Inventors: Carlos E. Pizano; Gregory L. Heileman
- Web page: https://patentgrep.com/patent/US6731756B1

## CPC

- H04N 21/44004: {involving video buffer management, e.g. video decoder buffer or video display buffer}
- H04N 7/163: {by receiver means only}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for protecting the video memory on a computer system from being illicitly copied. The invention decrypts a previously encrypted image and displays it on the video screen. During the time the image is displayed, the invention protects it from being copied by other running applications. This is accomplished in multithreaded operating systems by first issuing a multithreaded locking primitive to the video memory resource, and then inserting a pending video hardware request that will take precedence over any subsequent video memory access requests. The pending request serves the purpose of destroying the contents of video memory. The pending request is passive in that it does not execute unless a malicious program has removed the video memory lock.

## Claims

### Claim 1

A method of preventing copying of a displayed image from a computer video memory comprising the steps of:
a. decoding an image into the video memory;
b. controlling video hardware and protecting the video memory, wherein the protecting step comprises locking the video memory and issuing at least one pending operation comprising a suspended video operation in a queue for destroying the contents of the video memory;
c. displaying the image; and
d. destroying the image displayed in the video memory via said at least one pending operation if an attempt is made to unlock the video memory.

### Claim 2 (depends on 1)

The method of claim 1 wherein the step of decoding an image into the video memory comprises decrypting a previously encrypted image using a secret key.

### Claim 3 (depends on 1)

The method of claim 1 further comprising the step of obtaining exclusive cooperative control of the video hardware comprising issuing video hardware control DirectX calls.

### Claim 4 (depends on 1)

The method of claim 1 further comprising the step of obtaining exclusive cooperative control of the video hardware comprising a first set of calls to a video device driver.

### Claim 5 (depends on 1)

The method of claim 1 further comprising the step of allocating video memory comprising creating at least one display surface.

### Claim 6 (depends on 1)

The method of claim 1 wherein the step of locking the video memory and issuing at least one pending hardware operation comprises issuing video hardware locking and issuing pending operations using DirectX® calls.

### Claim 7 (depends on 1)

The method of claim 1 wherein the step of locking the video memory and issuing at least one pending operation comprises issuing a second set of calls to a video device driver.

### Claim 8 (depends on 1)

The method of claim 1 wherein the step of destroying the image displayed in the video memory comprises destroying the image displayed in the video memory when another application unlocks the video memory for reading the video memory.

### Claim 9 (depends on 1)

The method of claim 1 whereby the step of displaying the image comprises the steps of:
a. decoding a native image file format;
b. verifying an image file using a check sum method;
c. if the image file is valid, reading decrypting information from the image file; and
d. decrypting the image into video memory.

### Claim 10

A method of preventing copying of images from a computer video memory, the method comprising the steps of:
a) decoding a proprietary image format into video memory;
b) controlling video hardware and locking video memory, wherein the locking step comprises locking a video surface and issuing at least one pending operation wherein the pending operation comprises a pending video hardware operation issued via a Direct X® call, comprising the substeps of executing the following DirectX® calls:
LPDIRECTDRAW DirectXhandle1, DirectXhandle2;
DirectDrawCreate(VideoID, &DirectXhandle, 0);
DirectXhandle1→Querylnterface(IID_IDirectDraw2, (void**)Directxhandle2);
DirectXhandle2→SetCooperativeLevel(WindowHandle, DDSCL_EXCLUSIVE|DDSCL_FULLSCREEN);
c) obtaining exclusive cooperative control of the video hardware;
d) allocating video memory comprising the substeps of executing the following DirectX® calls:
LPDIRECTDRAWSURFACE primary_surface, back_surface, blank_surface;
DDSURFACEDESC surface_descriptor;
DDSCAPS surface_capabilities;
surface_descriptor.ddsCaps.dwCaps=DDSCAPS_PRIMARYSURFACE
DDSCAPS_FLIP IDDSCAPS_COMPLEX;
surface_descriptor.dwBackBufferCount=1;
DirectXhandle2→CreateSurface(&surface_descriptor, &primary_surface, 0);
primary_surface→GetAttachedSurface(&surface_capabilities, &back_surface);
e) locking video hardware comprising the substeps of executing the following DirectX® call;
primary_surface→Lock(0, &surface_descriptor, DDLOCK_WAIT|DDLOCK_WRITEONLY, 0)
f) destroying an image via pending video operations if an attempt is made to unlock video memory comprising the substeps of issuing the following DirectX® calls:
primary_surface→Flip(0, DDFLIP_WAIT);
back_surface→BItFast(0, 0, blank_surface, 0, DDBLTFAST_WAIT).

### Claim 11 (depends on 10)

The method of claim 10 further comprising the step of creating a blank surface.

### Claim 12 (depends on 11)

The method of claim 11 wherein the step of creating a blank surface comprises executing the following DirectX® calls:
LPDIRECTDRAWSURFACE blank_surface;
DDSURFACEDESC surface_descriptor;
surface_descriptor.ddsCaps.dwCaps=DDSCAPS_PRIMARYSURFACE;
DirectXhandle2→CreateSurface(&surface_descriptor, &blank_surface, 0).

### Claim 13 (depends on 1)

The method of claim 1 wherein the step of controlling video hardware and protecting the video memory comprises a hardware accelerated Bit-Blt (bit-boundary block transfer) instruction.
