主权项 |
1. A multimedia framework to provide multimedia playback on a multimedia player, the multimedia framework comprising:
a monolithic multimedia component to include a specific interface provided by the multimedia framework, the specific interface signifying roles identified by the multimedia framework for the monolithic multimedia component; and a component control unit layer to serve as a point of control of an application, and to control a data flow through the monolithic multimedia component, wherein when the application queries the component control unit layer for the specific interface, the specific interface passes a pointer thereof that signifies a role required by the application matching a role identified by the multimedia framework for the monolithic multimedia component, to the application, to indicate support of necessary interfaces providing communication between the application and the component control unit layer, and wherein a command from the application is transmitted to a tunnel of a
multimedia stack interfaced with the monolithic multimedia component, the multimedia stack comprising more than one of:
a first block to parse an input,at least one second block to transform a first block output data of the first block, anda third block to place an output from the at least one second block on a rendering device, to ensure that the same monolithic multimedia component serves as more than one of:
a source component to read and to parse the input,at least one transform component to transform the output data of the source component, anda renderer to place the output of the at least one transform component on the rendering device, and to further ensure that the application is unaware of the same monolithic multimedia component serving as the at least one of the source component, the at least one transform component, and the renderer. |