摘要:
A data processing system 1 has a processor core 2 which is programmable to act as one of a plurality of virtual machines each identified by a virtual machine identifier, each virtual machine acting in one of a plurality of contexts each identified by a context identifier, each context executing a sequence of program instructions, each program instruction having one or more associated memory addresses. The data processing system has diagnostic circuitry 10 for performing diagnostic operations on the processor core. Diagnostic control circuitry 12 is provided which is responsive to current values of the virtual machine identifier, the context identifier and at least one of the one or more associated memory addresses to trigger the diagnostic circuitry 10 to perform diagnostic operations.
摘要:
A method of calculating a transform matrix for transforming points in a model of an object to an image of the object captured by a camera. The camera produces a two dimensional view of the object, the object having a plane, which includes a plurality of lines defining features on the plane of the object. The method comprises identifying a plurality of triplets of points on the lines of the object in the image from the camera, each of the triplets of points providing three or more non co-linear points on the lines of the object. The method includes identifying a sample triplet of points in the model, for each of the identified plurality of triplets of points, calculating a transform matrix which will transform the sample triplet from the model onto the identified triplet of points from the camera image, for each of the identified transform matrices, calculating a transform matrix for transforming a plurality of points on the lines of the object from the model to the image, calculating a comparison metric between the points transformed from the lines of the plane of the object in the model and corresponding points in the image view of the object, and identifying the transform matrix which produces the best comparison metric. The identified transform matrix can therefore be used to transform points on the model into the image produced by the camera, or points in the image onto the model.
摘要:
An image processing method introduces a graphical feature or effect into a part of one or more video images of a scene. The scene includes a view of a plurality of objects disposed on an object plane, the part of the video images including one of the plurality of objects on the object plane. The method includes forming a three dimensional model view of the object plane, calculating a transform matrix for transforming points in the model of the object plane into the view of the object plane in the video image, forming the graphical feature or effect in the model of the object plane, transforming the graphical feature or effect from the model to the image view of the object plane using the transform matrix, identifying the one of the plurality of object which is to be viewed within the part of the video image, in which the object is present, and extracting the part of the image view from the video images, into which the graphical feature has been transformed, the extracted part including that part of the feature of effect, which has been transformed from the model. The image processing method provides an improved way of adding a graphical feature or effect to a plane on which a plurality of objects are disposed, so that when a part of the video image, in which one of the plurality of objects, is viewed, the graphical feature or effect appears to the viewer to be a natural scene as if the graphical feature or effect is actually present.
摘要:
The present invention provides a breakpoint logic unit, debug logic and breakpoint method for a data processing apparatus. The breakpoint logic unit comprises a value storage operable to store data indicative of a selected value for an operational characteristic of the data processing apparatus, and comparator logic operable to compare the selected value with a value of the operational characteristic as generated by the data processing apparatus. The comparator logic then generates at least one result signal indicative of a match between that value and the selected value. A control storage is also provided for storing a match control value, such that if the match control value has a first value the comparator logic is operable to set the at least one result signal if a match is detected between the value and the selected value, whilst if the match control value has a second value the comparator logic is operable to set the at least one result signal if a match is not detected between the value and the selected value. Breakpoint generation logic is then operable to enable generation of an associated at least one breakpoint signal if the at least one result signal is set. This has been found to provide a particularly flexible and efficient technique for enabling a variety of breakpoint conditions to be programmed within the breakpoint logic unit.
摘要:
A data processing apparatus is disclosed comprising: trace logic for monitoring behaviour of a portion of said data processing apparatus; and prediction logic operable to provide at least one prediction as to at least one step of said behaviour of said portion of said data processing apparatus; wherein said trace logic is operable to: monitor behaviour of said portion of said data processing apparatus; determine from said monitored behaviour whether or not said at least one prediction is correct; and output a prediction indicator indicating whether or not said at least one prediction is correct.
摘要:
An audio/video generation apparatus comprises an audio and/or video generation device operable to generate audio and/or video material, and a metadata generation processor. The metadata generation processor is operable to generate metadata describing the content and/or attributes of the audio/video material. The metadata generation processor is operable to generate a reference value providing a quasi-unique reference to the audio/video material with a reduced amount of data with respect to the audio/video material itself, the reference value being generated from data values representing the audio/video material in accordance with a predetermined relationship. The quasi-unique reference may be stored in association with the metadata describing the audio/video material from which the quasi-unique reference was generated.Generating a quasi-unique reference from the information material provides a facility for identifying the audio/video material. In one embodiment the quasi-unique reference is a hash value. The hash value provides a quasi-unique reference, which can be efficiently searched in order to identify, the audio/video material. Accordingly, metadata, which describes the content or attributes of the audio/video material, may be uniquely or quasi uniquely associated with the information material.
摘要:
A digital circuit simulator for simulating data handling operations of a digital circuit includes a primary simulator operable in response to simulation instructions in a first programming language, and a plurality of simulation blocks for simulating data handling operations of respective sections of the digital circuit. Each simulation block is operable to receive external input data from the primary simulator, internal input data from another of the simulation blocks, or both. A data interface is arranged to exchange data with the primary simulator and the simulation blocks and is operable to supply external input data from the primary simulator to one or more simulation blocks, and to supply external output data from a simulation block to the primary simulator, and to supply internal output data from a simulation block to one or more other simulation blocks.