• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

5.2. MPEG-J APIs

So far the way MPEGlets and all the associated data are received and executed at the MPEG-J terminal has been analyzed. It has been seen that MPEGlets can make API calls that are defined in the Java packages supported by the platform. For those readers familiar with Java packages,[8] java.io, java.lang, and java.util are three Java packages that have to be supported by the Java platform present in the terminal. In other words, all MPEG-J–enabled terminals must normatively support these Java packages in their implementation. The MPEGlets can also make function calls that are defined in application-specific classes. In the last section, a mechanism for delivering all the dependent classes at the terminal was presented. The third set of interface calls that the MPEGlets or any supporting application-specific class can make are the APIs defined by the MPEG-J specification [AMD1-1]. These are the MPEG-J APIs. This section describes the MPEG-J APIs.

[8] Java packages are a collection of classes and interfaces for logical organization. Each Java package has its own name scope, and it is possible to limit access to some private interfaces within a Java package. Java packages can also contain other subpackages.

While the Java platform packages provide some generic features, the MPEG-J APIs support the features that are specific to MPEG-J applications. The MPEG-J APIs complement the Java platform APIs to meet the requirements of MPEG-J applications. The algorithms embedded in the MPEGlets are implemented using the interfaces defined by the MPEG-J specification. Using the MPEG-J APIs, the applications have programmatic access to the scene, terminal, and network resources. The MPEGlets use the MPEG-J APIs to sense the environment at the terminal and modify the audiovisual scene.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint