Method and apparatus for the flow control of devices
    1.
    发明授权
    Method and apparatus for the flow control of devices 失效
    用于设备流量控制的方法和装置

    公开(公告)号:US5016161A

    公开(公告)日:1991-05-14

    申请号:US413834

    申请日:1989-09-28

    IPC分类号: G06F9/50

    CPC分类号: G06F9/5011

    摘要: The system of the present invention provides for the flow control of commands to devices connected through the system's memory management unit and is particularly useful in a multi-tasking computer system in which multiple processes access the same device. In the method and apparatus of the present invention, devices that are connected to the system through the MMU are controlled using the page fault mechanism of the MMU and the page fault handler in each segment. Addresses are allocated in the process address space for each process to provide for the addressing of the devices and device queues connected through the MMU, such that one device or one device queue is mapped into one segment of each process address space that will access the device. The "valid bits" associated with each page in a segment are turned on/off by the process or operating system in order to control the device. If the valid bits are off or reset and an attempt is made to access at the address, a page fault occurs and the page fault mechanism invokes the page fault handler of the corresponding segment. The page fault mechanism of the MMU and the page fault handler of each segment are then utilized to determine the reason the page fault occurred with respect to a particular process and perform predetermining steps to control the flow of commands to the device.

    摘要翻译: 本发明的系统提供对通过系统的存储器管理单元连接的设备的命令的流量控制,并且在多任务计算机系统中特别有用,其中多个进程访问相同的设备。 在本发明的方法和装置中,使用MMU的页面故障机制和每个段中的页面故障处理程序来控制通过MMU连接到系统的设备。 在每个进程的进程地址空间中分配地址以提供通过MMU连接的设备和设备队列的寻址,使得一个设备或一个设备队列被映射到将访问设备的每个进程地址空间的一个段 。 通过进程或操作系统打开/关闭与段中的每个页面相关联的“有效位”,以便控制该设备。 如果有效位关闭或重置,并尝试访问地址,则会发生页面错误,页面错误机制调用相应段的页面错误处理程序。 然后使用MMU的页面故障机制和每个段的页面故障处理程序来确定页面故障相对于特定进程发生的原因,并执行预定步骤来控制到设备的命令流。

    Method and apparatus for pixel composition
    2.
    发明授权
    Method and apparatus for pixel composition 有权
    像素组成的方法和装置

    公开(公告)号:US06346948B1

    公开(公告)日:2002-02-12

    申请号:US09498197

    申请日:2000-02-04

    IPC分类号: G06T1160

    CPC分类号: G06T15/503

    摘要: The present invention provides a method and apparatus that permits the introduction of customized compositing techniques into an application by a developer. A Composite interface and a CompositeContext interface are defined. Custom compositing operations can be defined by implementing these interfaces. A Composite object provides a CompositeContext object that holds the state and performs the compositing work. Multiple CompositeContext objects can be created from one Composite object to maintain separate states in a multi-threaded environment. An object implementing the Composite interface can be set as rendering state on a graphics object that provides rendering methods. This allows arbitrary compositing rules to be used by a developer. In one implementation of the Composite and CompositeContext interfaces, an AlphaComposite class is defined. The AlphaComposite class implements common compositing rules, such as defined by Porter and Duff, for combining source and destination pixels to achieve blending and transparency effects with graphics and images.

    摘要翻译: 本发明提供一种方法和装置,其允许将定制的合成技术引入开发者的应用中。 定义了Composite接口和CompositeContext接口。 可以通过实现这些接口来定义自定义合成操作。 Composite对象提供了一个保存状态并执行合成工作的CompositeContext对象。 可以从一个Composite对象创建多个CompositeContext对象,以在多线程环境中维护单独的状态。 实现Composite接口的对象可以在提供渲染方法的图形对象上设置为渲染状态。 这允许开发人员使用任意合成规则。 在Composite和CompositeContext接口的一个实现中,定义了AlphaComposite类。 AlphaComposite类实现了常见的合成规则,例如由Porter和Duff定义,用于组合源和目标像素,以实现图形和图像的混合和透明效果。

    Method and apparatus for the synchronization of devices
    3.
    发明授权
    Method and apparatus for the synchronization of devices 失效
    用于设备同步的方法和装置

    公开(公告)号:US5016166A

    公开(公告)日:1991-05-14

    申请号:US413990

    申请日:1989-09-28

    IPC分类号: G06F9/50

    CPC分类号: G06F9/5011

    摘要: The system of the present invention provides for the synchronization of access devices connected through the system's memory management unit and is particularly useful in a multi-tasking computer system in which multiple processes access the same device. In the method and apparatus of the present invention, devices that are connected to the system through the MMU are controlled using the page fault mechanism of the MMU and the page fault handler in each segment. Addresses are allocated in the process address space for each process to provide for the addressing of the devices and device queues connected through the MMU, such that one device or one device queue is mapped into one segment of each process address space that will access the device. The "valid bits" associated with each page in a segment are turned on/off by the process or operating system in order to control the device. If the valid bits are off and an attempt is made to access at the address a page fault occurs and the page fault mechanism invokes the page fault handler of the corresponding segment. The page fault mechanism of the MMU and the page fault handler of each segment are then utilized to determine the reason the page fault occurred with respect to a particular process and to perform steps to synchronize access to the device.

    摘要翻译: 本发明的系统提供了通过系统的存储器管理单元连接的接入设备的同步,并且在多任务计算机系统中特别有用,其中多个进程访问同一设备。 在本发明的方法和装置中,使用MMU的页面故障机制和每个段中的页面故障处理程序来控制通过MMU连接到系统的设备。 在每个进程的进程地址空间中分配地址以提供通过MMU连接的设备和设备队列的寻址,使得一个设备或一个设备队列被映射到将访问设备的每个进程地址空间的一个段 。 通过进程或操作系统打开/关闭与段中的每个页面相关联的“有效位”,以便控制该设备。 如果有效位被关闭,并尝试在地址处访问页面错误,并且页面错误机制调用相应段的页面故障处理程序。 然后利用MMU的页面故障机制和每个段的页面故障处理程序来确定页面故障相对于特定进程发生的原因,并执行步骤来同步对设备的访问。

    Method and apparatus for stroke substitution
    4.
    发明授权
    Method and apparatus for stroke substitution 失效
    中风替代方法和装置

    公开(公告)号:US06340981B1

    公开(公告)日:2002-01-22

    申请号:US08885617

    申请日:1997-06-30

    IPC分类号: G09G500

    摘要: The invention provides a method and apparatus for customizing and substituting strokes provided by a standard API. In a preferred embodiment, a stroke interface that encapsulates stroking algorithms and interfaces for stroke calculation is provided by an API. The stroke interface is provided in the form of a class. The use of the stroke interface permits additional algorithms and interfaces to be provided as new classes. This allows developers to customize stroke characteristics and attributes. In a preferred embodiment, a basic stroke class contains standard stroke characteristics of a logical pen. These characteristics include line width, end cap shape, line join style, and dash attributes.

    摘要翻译: 本发明提供了一种用于定制和替代由标准API提供的笔画的方法和装置。 在优选实施例中,通过API提供封装用于笔划计算的触发算法和界面的笔划界面。 笔画界面以类的形式提供。 使用笔画界面可以提供额外的算法和接口作为新类。 这允许开发人员自定义笔触特征和属性。 在优选实施例中,基本笔划类包含逻辑笔的标准笔画特征。 这些特征包括线宽,端帽形状,线连接样式和破折号属性。

    Method and apparatus for pixel composition

    公开(公告)号:US6034694A

    公开(公告)日:2000-03-07

    申请号:US884843

    申请日:1997-06-30

    IPC分类号: G06T3/00 G06T15/50

    CPC分类号: G06T15/503

    摘要: The present invention provides a method and apparatus that permits the introduction of customized compositing techniques into an application by a developer. A Composite interface and a CompositeContext interface are defined. Custom compositing operations can be defined by implementing these interfaces. A Composite object provides a CompositeContext object that holds the state and performs the compositing work. Multiple CompositeContext objects can be created from one Composite object to maintain separate states in a multi-threaded environment. An object implementing the Composite interface can be set as rendering state on a graphics object that provides rendering methods. This allows arbitrary compositing rules to be used by a developer. In one implementation of the Composite and CompositeContext interfaces, an AlphaComposite class is defined. The AlphaComposite class implements common compositing rules, such as defined by Porter and Duff, for combining source and destination pixels to achieve blending and transparency effects with graphics and images.

    Method and apparatus for separating image data from a color system in image processing
    6.
    发明授权
    Method and apparatus for separating image data from a color system in image processing 失效
    用于在图像处理中从彩色系统分离图像数据的方法和装置

    公开(公告)号:US06320592B1

    公开(公告)日:2001-11-20

    申请号:US08885616

    申请日:1997-06-30

    IPC分类号: G06T100

    CPC分类号: G06T11/001

    摘要: Raw image data is separated from color image data such that image data can be operated on independent of a color model. Alternatively, image data can be associated with a color model and image processing operations can operate on the image data in terms of the color model. No color model is presupposed for a given image. When an image processing operation uses a color system, a color system can be selected in which the operation is performed and the source image will be converted. Different color systems can be associated with the same image data to process the image. Where it is not necessary to perform an image processing operation in a color system, the operation can access the image data independent of a color system. In an embodiment of the invention, a Tile object class is comprised of an array of Channel objects. A Channel object is associated with one or more storage bands of image data. A ColorModel object class identifies a color system and specifies a mapping between the raw image data and the color and alpha components of a color system. A BufferedImage object class is defined that associates a ColorModel with a Tile. BufferedImageOp and TileOp interfaces are defined in embodiments of the invention that are implemented by image processing or filtering object classes. A BufferedImageOp interface is used for filtering operations performed within a color system. Filtering operations that are performed outside a color system use the TileOp interface.

    摘要翻译: 原始图像数据与彩色图像数据分离,使得图像数据可以独立于颜色模型进行操作。 或者,图像数据可以与颜色模型相关联,并且图像处理操作可以根据颜色模型对图像数据进行操作。 没有为给定图像预设颜色模型。 当图像处理操作使用颜色系统时,可以选择执行操作并且将源图像转换的颜色系统。 不同的颜色系统可以与相同的图像数据相关联以处理图像。 在不需要在彩色系统中执行图像处理操作的情况下,操作可以独立于彩色系统访问图像数据。 在本发明的一个实施例中,Tile对象类由Channel对象的阵列组成。 通道对象与图像数据的一个或多个存储带相关联。 ColorModel对象类标识颜色系统,并指定原始图像数据与颜色系统的颜色和alpha组件之间的映射。 定义了一个BufferedImage对象类,它将ColorModel与Tile相关联。 BufferedImageOp和TileOp接口在通过图像处理或过滤对象类实现的本发明的实施例中被定义。 BufferedImageOp接口用于在颜色系统中执行的过滤操作。 在彩色系统外执行的过滤操作使用TileOp接口。