STREAM CONTROL DEVICE

Abstract
The stream control device includes: (a) a series of units from an AV output device to a de-multiplexing unit, which decodes a stream and outputs the decoded data; (b) a parameter list storage unit in which a parameter list is stored, the parameter list including basic list structures connected in series, each of which has parameter information characterizing the respective processing performed by the units from the AV output device to the de-multiplexing unit; (c) a device driver execution unit which executes, based on the parameter list, a device driver which controls the respective processing performed by the units from the AV output device to the de-multiplexing unit; and (d) an application program execution unit which executes an application program which provides the device driver execution unit with a first address of the parameter list as an argument. Thereby, it is possible to reduce processing for designing different software interfaces for the respective device drivers.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings that illustrate specific embodiments of the present invention. In the Drawings:



FIG. 1 is a block diagram showing a structure of a stream control device according to the first embodiment of the present invention;



FIG. 2 is a diagram showing a data structure of a basic list structure according to the first embodiment of the present invention;



FIG. 3 is a diagram showing one example of a parameter information management table according to the first embodiment of the present invention;



FIG. 4 is a diagram showing a data structure of a parameter list according to the first embodiment of the present invention;



FIG. 5 is a diagram showing one example of a priority management table according to the first embodiment of the present invention;



FIG. 6 is a diagram showing a data structure of a restructured parameter list according to the first embodiment of the present invention;



FIG. 7 is a diagram showing one example of a stream-control-processing-unit management table according to the first embodiment of the present invention;



FIG. 8 is a diagram showing one example of a cycle management table according to the first embodiment of the present invention;



FIG. 9 is a flowchart of processing performed by an application program execution unit according to the first embodiment of the present invention;



FIG. 10 is a flowchart of processing performed by a device driver execution unit according to the first embodiment of the present invention;



FIG. 11 is a flowchart of procedure restructuring processing according to the first embodiment of the present invention;



FIG. 12 is a block diagram showing a structure of a stream control device according to the second embodiment of the present invention.



FIG. 13 is a diagram showing one example of a parameter processing type management table according to the second embodiment of the present invention;



FIG. 14 is a diagram showing one example of an interrupt event management table according to the second embodiment of the present invention;



FIG. 15 is a flowchart of processing performed by a device driver execution unit according to the second embodiment of the present invention;



FIG. 16 is a flowchart of procedure restructuring processing according to the second embodiment of the present invention;



FIG. 17 is a diagram showing a data structure of a parameter list according to the second embodiment of the present invention;



FIG. 18 is a block diagram showing a structure of a stream control device according to the third embodiment of the present invention;



FIG. 19 is a diagram showing one example of a parameter information management table according to the third embodiment of the present invention;



FIG. 20 is a diagram showing a data structure of RDI according to the third embodiment of the present invention;



FIG. 21 is a flowchart of RDI parameter generation processing according to the third embodiment of the present invention;



FIG. 22 is a diagram showing one example of a cycle management table according to the third embodiment of the present invention;



FIG. 23 is a diagram showing one example of a priority management table according to the third embodiment of the present invention;



FIG. 24 is a diagram showing one example of a stream-control-processing-unit management table according to the third embodiment of the present invention;



FIG. 25 is a block diagram showing a structure of a stream control device according to the fourth embodiment of the present invention;



FIG. 26 is a diagram showing one example of a parameter information management table according to the fourth embodiment of the present invention;



FIG. 27 is a flowchart of processing performed by a device driver execution unit according to the fourth embodiment of the present invention;



FIG. 28 is a flowchart of procedure restructuring processing according to the fourth embodiment of the present invention;



FIG. 29 is a diagram showing one example of a cycle management table according to the fourth embodiment of the present invention;



FIG. 30 is a block diagram showing a structure of a stream control device according to the fifth embodiment of the present invention.



FIG. 31 is a diagram showing a data structure of a basic list structure according to the fifth embodiment of the present invention;



FIG. 32 is a flowchart of processing performed by an application program execution unit according to the fifth embodiment of the present invention;



FIG. 33 is a diagram showing one example of a cycle management table according to the fifth embodiment of the present invention;



FIG. 34 is a diagram showing one example of a priority management table according to the fifth embodiment of the present invention;



FIG. 35 is a flowchart of processing performed by a device driver execution unit according to the fifth embodiment of the present invention;



FIG. 36 is a flowchart of bit rate management processing according to the fifth embodiment of the present invention;



FIG. 37 is a diagram showing one example of a bit rate management table according to the fifth embodiment of the present invention; and



FIG. 38 is a flowchart of priority obtaining processing according to the fifth embodiment of the present invention.


Claims
  • 1. A stream control device comprising: a stream processing unit operable to decode a stream and outputs the decoded data;a parameter list storage unit in which a parameter list is stored, the parameter list including, as elements, list structures connected in series, each of which has parameter information characterizing the processing of said stream processing unit;a device driver execution unit operable to execute, based on the parameter list, a device driver which controls the processing of said stream processing unit; andan application program execution unit operable to execute an application program which provides said device driver execution unit with a first address of the parameter list as an argument.
  • 2. The stream control device according to claim 1, wherein said device driver execution unit includes:a priority management table holding unit operable to hold a priority management table in which a priority is registered, the priority being assigned to each element indicated by the parameter information; anda procedure restructuring unit operable to restructure the parameter list by sorting the elements included in the parameter list, based on the priority management table.
  • 3. The stream control device according to claim 2, wherein said device driver execution unit includesa parameter-processing-type-management-table holding unit operable to hold a parameter processing type management table in which a processing type is registered, the processing type indicating whether or not synchronization with the processing of said stream processing unit is required, andsaid procedure restructuring unit is operable to:classify each of the elements into an element indicating the synchronization with the processing of said stream processing unit or an element not indicating the synchronization with the processing;create a synchronization parameter list including the element indicating the synchronization, and a non-synchronization parameter list including the element not indicating the synchronization; andrestructure the non-synchronization parameter list, by sorting the elements included in the list based on the priority management table.
  • 4. The stream control device according to claim 2, wherein said procedure restructuring unit is operable to:extract a bit rate and a transfer size of the stream from the parameter list;calculate a starting cycle of said stream processing unit, according to the bit rate and the transfer size; anddecide the priority based on the starting cycle, and update the priority management table using the decided priority.
  • 5. The stream control device according to claim 2, wherein said device driver execution unit includesa bit rate management unit operable to: extract a bit rate of the stream and a stream identifier allocated to the stream from the parameter list; and creates and holds a bit rate management table in which the bit rate is associated with the stream identifier, andsaid procedure restructuring unit is operable torestructure the parameter list by sorting the elements in the liest based on the priority management table and the bit rate management table.
  • 6. The stream control device according to claim 1, wherein said application program execution unit includes:a parameter information management table holding unit operable to hold a parameter information management table in which the parameter information is registered; anda parameter list creation unit operable to create the parameter list based on the parameter information management table.
  • 7. The stream control device according to claim 6, wherein said parameter list creation unitincludes a Real-time Data Information (RDI) information extraction unit operable to extract a RDI from a stream in a DVD format, andis operable to generate an element in which the RDI is included in the parameter information and add the generated element to the parameter list.
  • 8. The stream control device according to claim 1, wherein said stream processing unit includesa plurality of functions, each of which is operable to perform individual processing for the stream, andsaid device driver execution unit includes:a stream control processing unit having a plurality of control functions which controls said functions, respectively;a stream control processing management table holding unit operable to hold a stream control processing management table in which respective starting addresses for starting said control functions are registered; anda stream control processing starting unit operable to start said control functions, respectively, according to the respective elements in the parameter list, based on the stream control processing management table.
  • 9. A stream control method comprising: decoding a stream and outputting the decoded data;executing a device driver which controls said outputting, based on a parameter list including, as elements, list structures connected in series, each of which has parameter information characterizing said outputting; andexecuting an application program which provides a first address of the parameter list as an argument, for said executing of the device driver.
  • 10. A stream control program causing a computer system to execute: decoding a stream and outputting the decoded data;executing a device driver which controls said outputting, based on a parameter list including, as elements, list structures connected in series, each of which has parameter information characterizing said outputting; andexecuting an application program which provides a first address of the parameter list as an argument, for said executing of the device driver.
Priority Claims (1)
Number Date Country Kind
2005-364082 Dec 2005 JP national