CA2276640A1 - System and method for facilitating the transfer of information between programs processed in a digital computer system - Google Patents

System and method for facilitating the transfer of information between programs processed in a digital computer system Download PDF

Info

Publication number
CA2276640A1
CA2276640A1 CA002276640A CA2276640A CA2276640A1 CA 2276640 A1 CA2276640 A1 CA 2276640A1 CA 002276640 A CA002276640 A CA 002276640A CA 2276640 A CA2276640 A CA 2276640A CA 2276640 A1 CA2276640 A1 CA 2276640A1
Authority
CA
Canada
Prior art keywords
picture
bitstream
assumed
pictures
coding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
CA002276640A
Other languages
French (fr)
Inventor
Peter A. Korn
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Microsystems Inc
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Publication of CA2276640A1 publication Critical patent/CA2276640A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

An information transfer subsystem is disclosed for transferring information between a program being processed in a virtual machine execution environment and a program being processed in a native execution environment in a digital computer system. The information transfer subsystem comprises a virtual machine bridge class object and plurality of native bridge agents, the native bridge agent transferring the information with each other through a native communication mechanism provided by said native execution environment. The virtual machine bridge class object is instantiable in the virtual machine execution environment to handle transfers of the information with the program in said virtual machine execution environment. The virtual machine bridge class object, in turn, can transfer information with a first of the native bridge agents. A second of the native bridge agents is configured to transfer the information with the program being processed in said native execution environment. As noted above, the first and second native bridge agents can transfer the information with each other through a native communication mechanism provided by said native execution environment, thereby to facilitate transfer of the information between programs in the two environments.

Description

SYSTEM AND METHOD FOR FACILITAT;IN6 THE TRANSFER OF INFORMATION
BETWEEN PROGRAMS PROCESSED IN A DIGITAL COMPUTER SYSTEM
1 FIELD OF THE .INVENTION
2 The invention relates generally to the field of digital computer systems, and more particularly 3 to arrangements for facilitating communications between programs processed in a digital computer 4 system. The invention particularly provides a arrangement for facilitating transfer of information in a digital computer system between a program or other obj ect being processed in a virtual machine 6 in the digital computer system, and a program or other object being processed in a native execution 7 environment in the digital computer system.

9 Generally, computers process programs, under control of an operating system, in what is may be referred to as a "native execution environment." Ln such an environment, the program, generally 11 in the native instruction set for the computer, can be executed in a process context. Other programs, 12 on the other hand, which need not be in the native instruction set for the computer, may be executed 13 in a virtual machine execution environment. There are a number of benefits in writing programs for 14 execution in a virtual machine execution environment. For example, unlike programs written for = ~ TS a computer's native execution environment, programs written for execution in the virtual machine 16 execution environment can often be made to be independent of the particular instruction set and 17 operating system for the computer in which the program is being processed.
18 However, a problem arises if one wishes to transfer information between the programs 19 processed in the native execution environment and the virtual machine execution environment.
Several mechanisms have been developed to accomplish such transfer, generally relating to 21 translation of information between the virtual machine execution environment and the native 22 execution environment.

2 The invention provides a new and improved arrangement for facilitating the transfer of 3 information in a digital computer system between a program or other object being processed in a 4 virtual machine in the digital computer system, and a program or other object being processed in a native execution environment in the digital computer system.
6 In brief summary, an information transfer subsystem transfers information between a 7 program being processed in a virtual machine execution environment and a program being processed 8 in a native execution environment in a digital computer system. The information transfer subsystem 9 comprises a virtual machine bridge class object and plurality of native bridge agents, the native bridge agent transferring the information with each other through a native communication 11 mechanism provided by said native execution environment. The virtual machine bridge class object 12 is instantiable in the virtual machine execution environment to handle transfers of the information 13 with the program in said virtual machine execution environment. The virtual machine bridge class 14 object, in turn, can transfer information with a first of the native bridge agents. A second of the native bridge agents is configured to transfer the information with the program being processed in 16 said native execution environment. As noted above,. the first and second native bridge agents can . 17 transfex the information with each other through a native communication mechanism provided by 18 said native execution environment, thereby to facilitate. transfer of the information between programs 19 in the two environments.
BRIEF DESCRIPTION OF' THE DRAWINGS
21 This invention is pointed out with particularity in the appended claims.
The above and 23 further advantages of this invention may be better understood by referring to the following 23 description taken in conjunction with the accompanying drawings, in which:

1 FIG. 1 depicts an illustrative digital cornputer system including an arrangement for 2 facilitating the transfer of information between a programs and instantiated object being processed 3 in a virtual machine execution environment, and programs being processed in a native execution 4 environment, constructed in accordance with the uivention;
FIG. 2 is a functional block diagram of a;n arrangement for facilitating the transfer of 6 information between a programs and instantiated object being processed in a virtual machine 7 execution environment, and programs being processed in a native execution environment, and 8 FIG. 3 is a flowchart depicting operations performed by the arrangement depicted in FIG.
9 2.
DETAILED DESCRIPTION OF AN ILLUSTRATIVE EMBODIMENT
11 FIG. 1 depicts an illustrative computer system 10 including an arrangement for facilitating 12 the transfer of information between a programs and instantiated object being processed in a virtual 13 machine execution environment, and programs being processed in a native execution environment, 14 constructed in accordance with the invention. With reference to FIG. 1, the computer system 10 in one embodiment includes a processor module 11 and operator interface elements comprising - ~ 16 operator input components such as a keyboard 12A and/or a mouse 12B
(generally identified as 17 operator input elements) 12) and operator output components such as a video display device 13 with 18 integral speakers 15. The illustrative computer system 10 is of the conventional stored-program 19 computer architecture.
The processormodule 11 includes, for example;, processor, memory and mass storage devices 21 such as disk and/or tape storage elements (not separately shown) which perform processing and 22 storage operations in connection with digital data provided thereto. The mass storage subsystems 23 may include such devices as disk or tape subsystems, optical disk storage devices and CD-ROM
24 devices in which information may be stored and/or from which information may be retrieved. One 1 or more of the mass storage subsystems may utilize removable storage media which may be removed 2 and installed by an operator, which may allow the operator to load programs and data into the digital 3 computer system 10 and obtain processed data therefrom. Under control of control information 4 provided thereto by the processor, information stored in the mass storage subsystems may be S transferred to the memory for storage. After the information is stored in the memory, the processor 6 may retrieve it from the memory for processing. After the processed data is generated, the processor 7 may also enable the mass storage subsystems to retrieve the processed data from the memory for 8 relatively long-term storage.
9 The operator input elements) 12 are provided to permit an operator to input information for processing and/or control of the digital computer system 10. The video display device 13 and 11 speakers 15 are provided to, respectively, display visual output information on a screen 14, and audio 12 output information, which are generated by the processor module 1 l, which may include data that 13 the operator may input for processing, information that the operator may input to control processing, 14 as well as information generated during processing. The processor module 11 generates information 1 ~ for display by the video display device 13 using a so-called "graphical user interface" ("GUI"), in 16 which information for various applications programs is displayed using various "windows."
17 Although the computer system 10 is shown as comprising particular components, such as the 1:8 keyboard 12A and mouse 12B for receiving input information from an operator, and a video display 19 device 13 for displaying output information to the operator, it will be appreciated that the computer system 10 may include a variety of components in addition to or instead of those depicted in FIG.
21 1.
22 In addition, the processor module 11 may include one or more network or communication 23 ports, generally identified by reference numeral 15, which can be connected to communication links 24 to connect the computer system 10 in a computer network, or to other computer systems (not shown) over, for example, the public telephony system. The ports enable the computer system 10 to transmit 26 information to, and receive information from, other computer systems and other devices in the 27 network.
The invention provides an arrangement, wl:ach will be described below in connection with 2 FIG. 2, for facilitating communication in a digital computer system between a program or other 3 object being processed in a virtual machine in the digital computer system, and a program or other 4 object being processed in a native execution environment in the digital computer system. In one embodiment, the virtual machine provides an Java execution environment for processing programs 6 and other objects, which may be in the form of, for ea;ample, instantiated classes, which were written 7 in the Java programming language. The native execution environment may be provided by, for 8 example, the operating system which is controlling dhe computer system, such as, for example, Unix 9 or a Unix-like operating system, Microsoft WindowsTM or NT for a personal computer ("PC") or workstation, MacOS for an Apple Macintosh computer, and the like. The programs) in the native 11 execution environment generally comprise programs which are in the native instruction set of the 12 computer system 10, although they may also be processed in connection with respective processes) 13 or virtual machines provided by the operating system.
I 4 With reference to FIG. 2, the communication arrangement comprises a virtual machine/native accessibility bridge 20 which bridges between a vin:ual machine execution environment 21 and a 16 native execution environment 22 and facilitates communication between programs and other objects 17 being processed in each execution environment 2;L and 22. In the virtual machine execution 18 environment, programs 23, instantiated classes 24 and other objects (not separately shown) are 19 processed under control of a virtual machine control :module 25. In one embodiment, the programs 23, instantiated classes 24 and other objects are generated from programs written in the Java 21 programming language, which are processed under control of the virtual machine control module 22 25. On the other hand, programs 26 processed in the native execution environment generally 23 comprise those in the native instruction set of the computer system 10.
24 The virtual machine/native accessibility bridge includes three primarily components, namely, a virtual machine bridge class object 30, native bridge dynamic link libraries ("DLLs") 31 and 32 26 and a native communication mechanism 33. The native communication mechanism 33 generally 27 represents a communication mechanism that is provided by the computer system's operating system, 1 such as a shared memory mechanism, a messaging mechanism, and so forth. For example, in a 2 shared memory communication mechanism, a predetermined portion of the address space used by 3 the virtual machine execution environment 21 and ;a predetermined portion of the address space in 4 which the native application programs 26 are processed are shared. In that case, if a program 23 or instantiated class 24 in the virtual machine execution environment 21 needs to transfer information 6 to a native application program 26 in the native execution environment 22, it (that is, the program 7 23 or instantiated class 24, under control of the virnial machine control module 25) will enable the 8 virtual machine bridge class object 30 to transfer the information to the native bridge DLL 31 9 associated therewith load the information into the siaared portion of the address space. The native bridge DLL 32, in turn, can retrieve the information fiom the shared portion of the address space and 11 provide it to the native application program 26 that is to receive the information. Conversely, if a 12 native application program 26 in the native execution environment 22 needs to transfer information 13 to a program 23 or instantiated class in the virtual machine execution environment 21, it will enable 14 the native bridge DLL 32 to load the information into the shared portion of the address space. The native bridge DLL 31 will retrieve the information from the shared portion of the address space and 16 provide the information to the virtual machine bridge class object 30, which, under control of the 17 virtual machine control module 25, can provide it (that is, the information) to the virtual machine 18 program 23 or instantiated class 24 that is to receive the information. On the other hand, in a w19 messaging mechanism, the native bridge DLL 31 and native bridge DLL 32, instead of loading information to be transferred into, and retrieving information from, a shared portion of their 21 respective address spaces, will generate a message, including the information to be transfer ed, that 22 is addressed to the other element, and transfer the information using message transfer mechanisms 23 provided by the operating system. Operations performed in connection with other types of 24 communication mechanisms will be apparent to those skilled in the art.
The virtual machine bridge class object 30 is an object that is instantiated in the virtual 26 machine execution environment 21 and allows information to be transferred between the virtual 27 machine execution environment 21 and the native bridge DLL 31 using a conventional mechanism _7_ 1 provided by the virtual machine execution environment 21 to facilitate transfer of information 2 between it and the native execution environment ;?2. In one embodiment, in which the virtual 3 machine execution environment 21 is used to process programs in the Java programming language, 4 the mechanism can comprise, for example, the JM ("Java/native interface") mechanism. Each of the native bridge DLLs 31 and 32 comprises a dyziamic link library that can be loaded by the 6 operating system upon request from a native application program 26 and linked thereto for use 7 thereby while it (that is, the native application program 26) is being processed. Either the native 8 bridge DLL 31 associated with the virtual machine bvridge class object 30, or the native bridge DLL
9 32 associated with the native application program 26, can be initialized and begin operating first, and when the other begins operating, each will notify the other, after which they can transfer information 11 through the native communication mechanism 33 using a rendezvous mechanism.
More specifically, 12 when one of the native bridge DLL 31 or the native bridge DLL 32 is loaded and begins operating, 13 it will query the native communication mechanism 3:3 to determine whether a notification has been 14 provided by the other that it (that is, the other) has beE:n loaded and is operating. In addition, it (that is, the just-loaded and operating native bridge DLL =s 1 or the native bridge DLL 32) will generate 16 a notification for transfer to the other through the native communication mechanism 33. When the 17 other (that is, the other of the native bridge DLL 32 or the native bridge DLL 31 ) is loaded and 18 begins operating it will also query the native corr,~rnunication mechanism 33 and receive the ='r9 notification previously loaded therein, and in addition, will generate a notification for transfer through the native communication mechanism 33 to the one of the native bridge DLL 31 or the 21 native bridge DLL 32 to be Loaded and operating. The first will then receive the notification. When 22 each of the native bridge DLL 31 and the native bridF;e DLL 32 has received the notification from 23 the other, it is in condition to transfer information to the other through the native communication 24 mechanism 33, and can so notify the virtual machine bridge class object 30 and native application program 26 associated therewith.
26 Thus, the virtual machine control module 25 cam instantiate the virtual machine bridge class 27 as an object 30 in the virtual machine execution environment 21, and the virtual machine bridge _g_ 1 class object 30 can enable the native bridge DLL 31 to be loaded and linked thereto, regardless of 2 whether the native bridge DLL 32 is operating. V~Jhen, for example, the virtual machine control 3 module 25 instantiates the virtual machine bridge class object 30 and enables it to begin operation, 4 it (that is, the virtual machine bridge class object ..0) will enable the native bridge DLL 31 to be loaded and query the native communication mecha~aism 33 to determine whether the native bridge 6 DLL 32 has provided a notification, and in addition will generate a notification for transfer to the 7 native communication mechanism 33. If the native bridge DLL 31, in response to the query, 8 receives a notification from the native communication mechanism 33, the virtual machine bridge 9 class object 30 it will determine that the native bridge DLL 32 is already operating and that it (that is, the virtual machine bridge class object 30) can transfer information from the programs 23 and 11 instantiated classes 24 to respective native application programs 26 in the native execution 12 environment 22. On the other hand, if the native bridge DLL 31 does not receive a notification from 13 the native communication mechanism 33 in response to the query, the virtual machine bridge class 14 object 30 will wait until it later receives a notification from the native bridge DLL 32 through the native communication mechanism 33.
16 Corresponding operations occur if the native bridge DLL 32 is loaded and begins operating 17 before the virtual machine bridge class object 30 is instantiated. That is, when the operating system ~:8 loads the native bridge DLL 32 and enables it to begin operation, it (that is, the native bridge DLL
19 32) will query the native communication mechanism 33 to determine whether the virtual machine bridge class object 30 has provided a notification, and in addition will generate a notification for 21 transfer to the native communication mechanism 33. If the native bridge DLL
32, in response to the 22 query, receives a notification from the native communication mechanism 33, it will determine that 23 the virtual machine bridge class object 30 is already operating and that it (that is, the native bridge 24 DLL 32) can transfer information from the native application programs 26 to respective and programs 23 and instantiated classes 24 in the virtual machine execution environment 21. On the 26 other hand, if the native bridge DLL 32 does ;not receive a notification from the native 27 communication mechanism 33 in response to the query, it will wait until it later receives a _g_ 1 notification from the virtual machine bridge class object 30 through the native communication 2 mechanism 33.
3 In either case, after native bridge DLL 31 and the native bridge DLL 32 have established that 4 the other has been initialized and is operating, they can transfer information between the programs 23 and instantiated classes 24, on the one hand, and tile native application programs 26, on the other 6 hand, using the native communication mechanism :33.
7 A specific example would be helpful in understanding the outputs performed by the 8 arrangement depicted in FIG. 2 in connection with the transfer of information between the programs 9 23 and instantiated classes 24, on the one hand, and the native application programs 26, on the other hand, using the native communication mechanism 33. In that example, one of the native application 11 programs 26 is a screen reader program, which genf;rates information which enables the speakers 12 15 of computer system 10 to generate audio manifestations of information which would be displayed 13 on the computer system's video display device 13. In addition, one or more of the programs 23 14 and/or instantiated classes 24 generates information which would be displayed on the video display device 13. In that case, to enable the screen reader program to generate information for portions of 16 the video display representing the display information that is generated by the programs 23 and/or 1.7 instantiated classes 24, the display information generated by the programs 23 and/or instantiated = v~8 classes 24 would need to be provided to the screen reader program.
19 To accomplish that, the screen reader program would enable the operating system to load the native bridge DLL 32 and link it (that is, the native bridge DLL 32) to the screen reader program.
21 In addition, one of the instantiated classes 24, as an "assistive technology" instantiated class, would 22 be provided in the virtual machine execution environment 21 which can obtain display information 23 from the programs 23 and ones of the other instar~tiated classes which are generating display 24 information for provision, through the virtual machi:ne/native accessibility bridge 20 and native bridge DLL 31, to the screen reader program. If the virtual machine bridge class object 30 and 26 native bridge DLL 31 are not akeady load and operating, the assistive technology instantiated class 1 would enable the virtual machine control module 25 to load the virtual machine bridge class object 2 30 and enable it to operate. As part ofthat operation" the virtual machine bridge class object 30 will 3 enable the native bridge DLL 31 to be loaded and linked thereto. Thereafter, the native bridge DLL
4 31 will generate a notification for transfer to the native bridge DLL
through the native communication mechanism 33 as described above. In addition, since the native bridge DLL 32 is 6 already loaded and operating, the native bridge DLL, 31 will receive a notification as generated by 7 the native bridge DLL 32 from the native communication mechanism 33 as described above, which, 8 in tum, will provide a notification to the virtual machine bridge class object 30. ARer the screen 9 reader program and the virtual machine bridge class :i0 receive the respective notifications from the native communication mechanism 33, they will be .able to transfer information therebetween. In 11 addition, the native bridge DLL 32 will notify the native application program 26 to which it is 12 linked, namely, the screen reader program that information can be transferred therethrough into the 13 virtual machine execution environment 21, and, speciifically to the assistive technology instamtiated 14 class, and the virtual machine bridge class object 30 rnay notify ones of the instantiated classes that information can be transferred therethrough into the native execution environment 22.
16 Thereafter, the screen reader program and tree assistive technology instantiated class can 17 communicate to transfer information through the naitive communication mechanism 33. In that 18 operation, the screen reader program can transfer, as information, to the assistive technology 19 instamtiate class a request for transmission to the assi;stive technology instantiated class requesting video display infon~nation generated by a program 23 and/or another instantiated class 24 in the 21 virtual machine execution environment 21. The screen reader program uses the native bridge DLL
22 32 to transfer the request to the native communication mechanism 33. The native communication 23 mechanism 33 will transfer the request through the native bridge DLL 31 to the virtual machine 24 native bridge class object 30, which, in turn, will transfer the request to the assistive technology instantiated class.
26 When the assistive technology instamtiated class receives the request from the virtual machine 27 bridge class 30, if a program 23 and/or other instamtiated class 24 has video display information to -lI-1 provide to the assistive technology instantiated class, it (that is, the assistive technology instantiated 2 class) will obtain the video display information from a program 23 and/or other instantiated class 3 24 in the virtual machine execution environment 21 amd provide it to the virtual machine bridge class 4 object 30. The virtual machine bridge class object 30 will then transfer the video display information through the native bridge DLL 31 to the: native communication mechanism 33, which, 6 in turn, will transfer the video display information to the native bridge DLL 32, which, in turn, will 7 provide it (that is, the video display infornlation) to the screen reader application program. After the 8 screen reader application program receives the video display information, it can use it in a 9 conventional manner.
It will be appreciated that, if the aasistive technology instantiated class determines that no 11 program 23 and/or other instantiated class 24 has video display information to be provided thereto, 12 it can generate information so indicating for provision to the screen reader program. The assistive 13 technology instantiated class can provide such information to the screen reader program through the 14 virtual machine bridge class object 30, native communication mechanism 33 and native bridge DLL
32 in the same manner as the video display information as described above.
16 Thereafter, the screen.reader program may again request video display information, and the 17 assistive technology instantiated class can provide video display information, or an indication that = v~8 there is no video display information to provide, in a similar manner, in a series of iterations.
19 Alternatively, the assistive technology instantiated class may, automatically in response to a single request from the screen reader program, iteratively or continually request video display information 21 from the programs 23 and/or other instantiated classe:~ for provision to the screen reader program in 22 a manner similar to that described above.
23 With this background, the operations performed by the virtual machine bridge class object 24 30 and native bridge DLL 32 will be described in coruiection with the flowchart depicted in FIG. 3.
With reference to FIG. 3, after the virtual machine control module 25 instantiates the virtual machine 26 bridge class object 30 and enables it to operate (step 100), the virtual machine bridge class object 1 30 generates a notification for transfer to the natives bridge DLL 32 indicating that it is ready to 2 transfer information therewith through the native communication mechanism 33 (step 101). The 3 virtual machine bridge class object 30 may be instantiated by the virtual machine control module 25 4 automatically, or in response to a request therefor from a program 23 or instantiated class 24 operating in the virtual machine execution environment 21. After the virtual machine bridge class 6 is instantiated, it can enable the native bridge DLL :31 to be loaded and linked thereto (step 102).
7 In addition, the native bridge DLL 31 will query the native communication mechanism 33 to 8 determine whether it contains a notification from the native bridge DLL 32 indicating that it is ready 9 to transfer infon~nation with the virtual machine bri~3ge class object 30 (step 103). If the native bridge DLL 31 makes a negative determination in step 103, it will repeat step 103 until it make a 11 positive determination, after which it will notify the virtual machine bridge class object 30 (step 12 104). After the virtual machine bridge class object ..0 has received a notification from the native 13 bridge DLL 31 in step 104, it will be in a condition to transfer information with the native bridge 14 DLL 32 through the native communication mechanism 33, and it (that is, the virtual machine bridge class object 30) can so notify the virtual machine control module 25 or respective programs 23 or 16 instantiated classes 24.
17 Similarly, after the operating system loads the; native bridge DLL and enables it to operate .L8 (step 110), the native bridge DLL 32 generates a notil~cation for transfer to the native bridge DLL
19 31 indicating that it is ready to transfer information therewith through the native communication mechanism 33 (step 111). The native bridge DLL 32 will generally be loaded by the operating 21 system in response to a request therefor from a native application program 26 operating in the native 22 execution environment 22. In addition, the native bridge DLL 32 will query the native 23 communication mechanism 33 to determine whether it contains a notification from the native bridge 24 DLL 31 indicating that it is ready to transfer information with the native bridge DLL 32 (step 112).
If the native bridge DLL 32 makes a negative determination in step 112, it will repeat step 112 until 26 it make a positive determination. After it (that is, tree native bridge DLL
32) makes a positive 27 determination in step 112, it will be in a condition to tz~ansfer infonnation with the virtual machine 1 bridge class object 30 through the native communication mechanism 33 and native bridge DLL 31, 2 and it (that is, the native bridge DLL) can so notify the native application program 26 for which it 3 was loaded.
4 After the virtual machine bridge class object 30 has received a notification from the native bridge DLL 32 (step 102), if it receives a request from a program 23 or instantiated class 24 6 operating in the virtual machine execution environment to transfer information to a native 7 application program 26 (step 120), it will transfer the information to the native bridge DLL 31 (step 8 121 ), which, in turn, will transfer to the native communication mechanism 33 (step 122). In that 9 operation, if the native communication mechanism 33 is in the form of a shared portion of the address space, the native bridge DLL 31 can load die information into the shared portion of the 11 address space. In addition, the native bridge DLL 31 may provide an indication which will enable 12 whe native bridge DLL 32 to be notified that the shared portion of the address space contains 13 information that it can retrieve. Alternatively, the native bridge DLL 32 may periodically examine 14 the shared portion of the address space to determine 'whether the native bridge DLL 31 has loaded 1 S information for it therein (that is, in the shared portion of the address space). In any case, after the 16 native bridge DLL 32 determines that the shared portion of the address space contains information 17 for it to retrieve, it will retrieve the information (step 123) and provide it (that is, the information) ~..1:8 to the native application program 26 for which it w;~s loaded.
Corresponding operations can be 19 performed if the native communication mechanism 33 uses other mechanisms, such as, for example, message passing for transferring information between the virtual machine bridge class object 30 and 21 the native bridge DLL 32.
22 Similarly, after the native bridge DLL 32 has received a notification from the virtual machine 23 bridge class object 30 (step 102), if it receives a request from a native application program 26 to 24 transfer information to a virtual machine bridge class object 30 virtual machine bridge class object 30 (step 130), it will transfer the information to the native communication mechanism 33 (step 131 ).
26 In that operation, if the native communication mechanism 33 is in the form of a shared portion of 27 the address space, the native bridge DLL 32 can load the information into the shared portion of the address space. In addition, the native bridge DLL 32 may provide an indication which will enable 2 the native bridge DLL 31 to be notified that the shared portion of the address space contains 3 information that it can retrieve. Alternatively, the native bridge DLL 31 may periodically examine 4 the shared portion of the address space to determine whether the native bridge DLL has loaded information for it therein (that is, in the shared portion of the address space). In any case, after the 6 native bridge DLL 31 determines that the shared portion of the address space contains information 7 for it to retrieve, it will retrieve the information (step 132) and provide it (that is, the information) 8 to the virtual machine bridge class object 30 (step 133), which, in turn, will provide the information 9 a program 23 and/or instantiated class 24 in the virtual machine execution environment 21 (step 134). Corresponding operations can be performed if the native communication mechanism 33 uses 11 other mechanisms, such as, for example, message p~~ssing for transferring information between the 12 virtual machine bridge class object 30 and the native bridge DLL 32.
13 The invention provides a number of advantages. In particular, it provides a mechanism, 14 identified as the virtual machfndnative accessibility bridge 20, for transferring information between programs and instantiated classes processed in a virtual machine execution environment, such an 16 execution environment that used to process program written in, for example, the Java programrrring 17 language, and a native program that is processed in a process or other element in the native execution . r:8 environment provided by the computer system's operating system. The components of the virtual 19 machine/native accessibility bridge 20, in particular the virtual machine bridge class object 30 and the native bridge DLLs 31 and 32 transfer the information without requiring translation, using a 21 native communication mechanism 33 provided by the computer system's operating system. The 22 native bridge DLLs 31 and 32 can be loaded and initialized separately from each other and utilize 23 a rendezvous mechanism, as described above, to notify the other that they are in condition to transfer 24 information therewith.
It will be appreciated that a number of modifications may be made to the invention as 26 described above. For example, as indicated above, a number of types of mechanisms, provided by 27 the operating system, may be used as the native communication mechanism 33.
In addition, 1 although the invention has been described in connecaion with a single virtual machine bridge class 2 object 30, for a single virtual machine execution environment 21, and associated DLL 31, and a 3 single instance of a DLL 32, it will be appreciated that a number of such objects 30, for, for example, 4 respective virtual machine execution environments 21, and a number of instances of such DLL's 31 and 32, can transfer information through the native communication mechanism 33.
6 It will be appreciated that a system in accordance with the invention can be constructed in 7 whole or in part from special purpose hardware or a general purpose computer system, or any 8 combination thereof, any portion of which may be controlled by a suitable program. Any program 9 may in whole or in part comprise part of or be stored on the system in a conventional manner, or it may in whole or in part be provided in to the system over a network or other mechanism for 11 transferring information in a conventional manner. Irc addition, it will be appreciated that the system 12 may be operated and/or otherwise controlled by means of information provided by an operator using 13 operator input elements (not shown) which may be connected directly to the system or which may 14 transfer the information to the system over a network or other mechanism for transferring information in a conventional manner.
16 The foregoing description has been limited to a specific embodiment of this invention. It will 1,7 be apparent, however, that various variations and modifications may be made to the invention, with 18 the attainment of some or all of the advantages of th.e invention. It is the object Q,f the appended 19 claims to cover these and such other variations and modifications as come within the true spirit and scope of the invention.
21 What is claimed as new and desired to be sec~.ired by Letters Patent of the United States is:

Claims (76)

1. A method for allocating bits for coding pictures in a bitstream received at a digital video transcoder, comprising the steps of:
(a) providing an assumed distance M' between a first picture of said bitstream and the next closest subsequent P-picture of said bitstream in a display order of said bitstream;
(b) providing an assumed bit budget as a function of said assumed distance M';
(c) coding said first picture in accordance with said assumed bit budget;
(d) determining a picture type of a second picture that immediately follows said first picture in said bitstream in an encoding order of said bit stream;
(e) adjusting said assumed bit budget according to said picture type of said second picture; and (f) allocating bits for coding said second picture in accordance with said adjusted bit budget.
2. The method of claim 1, wherein:
said assumed bit budget is proportional to said assumed distance and a bit rate of said bitstream, and inversely proportional to a frame rate of said bitstream.
3. The method of claim 1 or 2, wherein:
said pictures in said bitstream form a progressive refresh sequence.
4. The method of one of claims 1 to 3, wherein said first picture is a P-picture and said second picture is a B-picture, comprising the further step of:
determining an actual distance M" between said first picture and,said next closest subsequent P-picture, in said display order, according to said picture type of said second picture.
5. The method of claim 4, wherein:
said actual distance M " is determined according to a difference between a temporal reference of said second picture, in said display order, and a temporal reference of said first picture, in said display order, plus one picture.
6. The method of claim 4 or 5, comprising the further step of:
allocating bits for coding the remaining M " -1 pictures following said first picture in accordance with said adjusted bit budget.
7. The method of one of claims 4 to 6, wherein:
said adjusting step (e) comprises the step of adjusting said assumed bit budget by +(M " -M')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
8. The method of claim 1, wherein said first and second pictures are P-pictures, comprising the further step of:
determining an actual distance M" between said first picture and said next closest subsequent P-picture, in said display order, according to said picture type of said second picture.
9. The method of claim 8, wherein:
said actual distance M" is determined according to a difference between a temporal reference of said second picture, in said display order, and a temporal reference of said first picture, in said display order.
10. The method of claim 8 or 9, wherein said adjusting step (e) comprises the step of:
adjusting said assumed bit budget by -(M'-1)*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
11. The method of one of claims 8 to 10, comprising the further step of:

allocating bits for coding the remaining M"-1 pictures following said first picture in accordance with said adjusted bit budget.
12. The method of one of claims 1 to 5 or 8 to 11, comprising the further step of:
allocating bits for coding a series of M"
pictures following an initial M" picture that includes said first and second pictures in said bitstream in accordance with said adjusted bit budget.
13. A method for allocating bits for coding a sequence of pictures in a bitstream received at a digital video transcoder, comprising the steps of:
(a) providing an assumed length N' of a particular group of pictures (GOP) of said bitstream;
(b) providing an assumed bit budget as a function of said assumed length N';
(c) allocating bits for coding a first picture of said particular GOP in accordance with said assumed bit budget;
(d) determining a picture type of a second picture that immediately follows said first picture;
(e) adjusting said assumed bit budget according to said picture type of said second picture; and (f) allocating bits for coding said second picture in accordance with said adjusted bit budget.
14. The method of claim 13, wherein:
said assumed bit budget is proportional to said assumed length N' and a bit rate of said bitstream, and inversely proportional to a frame rate of said bitstream.
15. The method of claim 13 or 14, wherein said first and second pictures are I-pictures, comprising the further steps of:
determining an actual distance M" between said first picture and the next closest subsequent I-picture of said bitstream according to the picture type of said second picture; and adjusting said assumed bit budget in accordance with said actual distance M".
16. The method of claim 15, wherein:
said actual distance M" is determined according to a difference between a temporal reference of said second picture, in a display order of said bitstream, and a temporal reference of said first picture, in said display order.
17. The method of one of claims 13 to 16, wherein said adjusting step (e) comprises the step of:
adjusting said assumed bit budget by -(N'-1)*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
18. The method of one of claims 13 to 17, comprising the further step of:
allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
19. The method of one of claims 13 to 18, comprising the further step of:
providing an assumed distance M' between said first picture and the next closest subsequent P-picture of said bitstream, in a display order of said bitstream;
wherein said bits are allocated for coding said first picture in said step (c) in accordance with said assumed distance M'.
20. The method of claim 19, wherein said first picture is an I-picture and said second picture is a P-picture, comprising the further steps of:
determining an actual distance M" between said first picture and the next closest subsequent P-picture, in said display order, according to said picture type of said second picture; and adjusting said assumed length N' of said GOP in accordance with said actual distance M" to provide an adjusted assumed length N"; wherein:
said adjusting step (e) is responsive to said adjusted assumed length N'.
21. The method of claim 20, wherein:
said assumed length N' of said particular GOP is adjusted in said adjusting step thereof by a factor, M(N'/M'), to provide said adjusted assumed length N", where M=M".
22. The method of claim 20 or 21, wherein said adjusting step (e) comprises the step of:
adjusting said assumed bit budget by a factor (N " -N')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
23. The method of claim 20 or 21, wherein said adjusting step (e) comprises the further step of:
adjusting said assumed bit budget by a factor, (M " -1')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
24. The method of one of claims 20 to 23, comprising the further step of:

allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
25. The method of one of claims 20 to 24, comprising the further steps of:
determining if N" >N, an actual length of said particular GOP, after coding N " pictures in said particular GOP; and, if N" >N:
further adjusting said adjusted bit budget according to N and N"; and allocating bits for coding pictures in said bitstream following the N" coded pictures according to said further adjusted bit budget.
26. The method of one of claims 20 to 24, comprising the further steps of:
determining if N" <N, an actual length of said particular GOP, after coding N" pictures in said particular GOP; and, if N" <N:
further adjusting said adjusted bit budget according to M=M" ; and allocating bits for coding pictures in said bitstream following the N" coded pictures according to said further adjusted bit budget.
27. The method of claim 13, wherein said first picture is an I-picture and said second picture is a B-picture, comprising the further step of:
providing an assumed distance M' between said first picture and the next closest subsequent P-picture of said bitstream, in a display order of said bitstream;
wherein said bits are allocated for coding said second picture in accordance with said assumed distance M'.
28. The method of claim 27, comprising the further steps of:
determining an actual distance M" between said first picture and the next closest subsequent P-picture, in said display order, according to said picture type of said second picture; and adjusting said assumed length N' of said GOP in accordance with an actual distance M=M" to provide an adjusted assumed length N" ; wherein:
said adjusting step (e) is responsive to said adjusted assumed length N'.
29. The method of claim 28, wherein:
said assumed length N' of said particular GOP is adjusted in said adjusting step thereof by a factor, M(N'/M'), to provide said adjusted assumed length N".
30. The method of claim 28 or 29, wherein said adjusting step (e) comprises the step of:
adjusting said assumed bit budget by a factor (N" -N')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
31. The method of one of claims 28 to 30, comprising the further step of:
allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
32. The method of one of claims 28 to 31, comprising the further step of:
determining if N" >N, an actual length of said particular GOP, after coding N" pictures in said particular GOP; and, if N" >N:
further adjusting said adjusted bit budget according to N and N"; and allocating bits for coding pictures in said bitstream following the N" coded pictures according to said further adjusted bit budget.
33. The method of one of claims 28 to 32, comprising the further steps of:

determining if N" <N, an actual length of said particular GOP, after coding N" pictures in said particular GOP; and, if N" <N:
further adjusting said adjusted bit budget according to M=M " ; and allocating bits for coding pictures in said bitstream following the N" coded pictures according to said further adjusted bit budget.
34. The method of one of claims 13 to 33, comprising the further step of:
allocating bits for coding a GOP following said particular GOP in accordance with said adjusted bit budget.
35. The method of one of claims 13 to 34, comprising the further step of:
accounting for changes in an actual distance M"
between I-pictures and/or P-pictures in said particular GOP by determining an actual distance M" between an I-picture or P-picture that follows said first picture in said particular GOP, in a display order of said bitstream, and a subsequent I-picture or P-picture in said particular GOP; and adjusting said assumed bit budget in accordance with said actual distance M".
36. An apparatus for allocating bits for coding pictures in a bitstream received at a digital video transcoder, comprising:
(a) means for providing an assumed distance M' between a first picture of said bitstream and the next closest subsequent P-picture of said bitstream in a display order of said bitstream;
(b) means for providing an assumed bit budget as a function of said assumed distance M';
(c) means for coding said first picture in accordance with said assumed bit budget;
(d) means for determining a picture type of a second picture that immediately follows said first picture in said bitstream in an encoding order of said bit stream;
(e) means for adjusting said assumed bit budget according to said picture type of said second picture;
and (f) means for allocating bits for coding said second picture in accordance with said adjusted bit budget.
37. The apparatus of claim 36, wherein:
said assumed bit budget is proportional to said assumed distance and a bit rate of said bitstream, and inversely proportional to a frame rate of said bitstream.
38. The apparatus of claim 36 or 37, wherein:
said pictures in said bitstream form a progressive refresh sequence.
39. The apparatus of one of claims 36 to 38, wherein said first picture is a P-picture and said second picture is a B-picture, further comprising:
means for determining an actual distance M'' between said first picture and said next closest subsequent P-picture, in said display order, according to said picture type of said second picture.
40. The apparatus of claim 39, wherein:
said actual distance M'' is determined according to a difference between a temporal reference of said second picture, in said display order, and a temporal reference of said first picture, in said display order, plus one picture.
41. The apparatus of claim 39 or 40, further comprising:
means for allocating bits for coding the remaining M''-1 pictures following said first picture in accordance with said adjusted bit budget.
42. The apparatus of one of claims 39 to 41, wherein:

said adjusting means (e) comprises means for adjusting said assumed bit budget by +(M'' -M')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
43. The apparatus of one of claims 36 to 42, wherein said first and second pictures are P-pictures, further comprising:
means for determining an actual distance M'' between said first picture and said next closest subsequent P-picture, in said display order, according to said picture type of said second picture.
44. The apparatus of claim 43, wherein:
said actual distance M'' is determined according to a difference between a temporal reference of said second picture, in said display order, and a temporal reference of said first picture, in said display order.
45. The apparatus of claim 43 or 44, wherein said adjusting means (e) comprises:
means for adjusting said assumed bit budget by -(M'-1)*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
46. The apparatus of one of claims 43 to 45, further comprising:
means for allocating bits for coding the remaining M''-1 pictures following said first picture in accordance with said adjusted bit budget.
47. The apparatus of one of claims 36 to 45, further comprising:
means for allocating bits for coding a series of M'' pictures following an initial M'' pictures that includes said first and second pictures in said bitstream in accordance with said adjusted bit budget.
48. An apparatus for allocating bits for coding a sequence of pictures in a bitstream received at a digital video transcoder, comprising:
(a) means for providing an assumed length N' of a particular group of pictures (GOP) of said bitstream;
(b) means for providing an assumed bit budget as a function of said assumed length N';
(c) means for allocating bits for coding a first picture of said particular GOP in accordance with said assumed bit budget;
(d) means for determining a picture type of a second picture that immediately follows said first picture;

(e) means for adjusting said assumed bit budget according to said picture type of said second picture;
and (f) means for allocating bits for coding said second picture in accordance with said adjusted bit budget.
49. The apparatus of claim 48, wherein:
said assumed bit budget is proportional to said assumed length N' and a bit rate of said bitstream, and inversely proportional to a frame rate of said bitstream.
50. The apparatus of claim 48 or 49, wherein said first and second pictures are I-pictures, further comprising:
means for determining an actual distance M'' between said first picture and the next closest subsequent I-picture of said bitstream according to the picture type of said second picture; and means for adjusting said assumed bit budget in accordance with said actual distance M''.
51. The apparatus of claim 50, wherein:
said actual distance M'' is determined according to a difference between a temporal reference of said second picture, in a display order of said bitstream, and a temporal reference of said first picture, in said display order.
52. The apparatus of one of claims 48 to 51, wherein said adjusting means (e) comprises:
means for adjusting said assumed bit budget by -(N'-1)*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate" is a frame rate of said bitstream.
53. The apparatus of one of claims 48 to 52, further comprising:
means for allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
54. The apparatus of one of claims 48 to 53, further comprising:
means for providing an assumed distance M' between said first picture and the next closest subsequent P-picture of said bitstream, in a display order of said bitstream;
wherein said bits are allocated for coding said first picture by said coding means (c) in accordance with said assumed distance M'.
55. The apparatus of claim 54, wherein said first picture is an I-picture and said second picture is a P-picture, further comprising:
means for determining an actual distance M'' between said first picture and the next closest subsequent P-picture, in said display order, according to said picture type of said second picture; and means for adjusting said assumed length N' of said GOP in accordance with said actual distance M'' to provide an adjusted assumed length N''; wherein:
said adjusting means (e) is responsive to said adjusted assumed length N'.
56. The apparatus of claim 55, wherein:
said assumed length N' of said particular GOP is adjusted by said adjusting means thereof by a factor, M(N'/M'), to provide said adjusted assumed length N'', where M=M''.
57. The apparatus of claim 55 or 56, wherein said adjusting means (e) comprises:
means for adjusting said assumed bit budget by a factor (N''-N')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate"
is a frame rate of said bitstream.
58. The apparatus of claim 57, wherein said adjusting means (e) comprises:

means for adjusting said assumed bit budget by a factor, (M''-1')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate"
is a frame rate of said bitstream.
59. The apparatus of one of claims 55 to 58, further comprising:
means for allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
60. The apparatus of one of claims 55 to 59, further comprising:
means for determining if N'' >N, an actual length of said particular GOP, after coding N'' pictures in said particular GOP;
means for further adjusting said adjusted bit budget according to N and N'' if N''>N; and means for allocating bits for coding pictures in said bitstream following the N'' coded pictures according to said further adjusted bit budget if N''>N.
61. The apparatus of one of claims 55 to 59, further comprising:
means for determining if N''<N, an actual length of said particular GOP, after coding N'' pictures in said particular GOP;

means for further adjusting said adjusted bit budget according to M=M'' if N''<N; and means for allocating bits for coding pictures in said bitstream following the N'' coded pictures according to said further adjusted bit budget if N''<N.
62. The apparatus of claim 48, wherein said first picture is an I-picture and said second picture is a B-picture, further comprising:
means for providing an assumed distance M' between said first picture and the next closest subsequent P-picture of said bitstream, in a display order of said bitstream;
wherein said bits are allocated for coding said second picture in accordance with said assumed distance M'.
63. The apparatus of claim 62, further comprising:
means for determining an actual distance M'' between said first picture and the next closest subsequent P-picture, in said display order, according to said picture type of said second picture; and means for adjusting said assumed length N' of said GOP in accordance with an actual distance M=M'' to provide an adjusted assumed length N''; wherein:
said adjusting means (e) is responsive to said adjusted assumed length N'.
64. The apparatus of claim 63, wherein:
said assumed length N' of said particular GOP is adjusted by said adjusting means thereof by a factor, M(N'/M'), to provide said adjusted assumed length N''.
65. The apparatus of claim 63 or 64, wherein said adjusting means (e) comprises:
means for adjusting said assumed bit budget by a factor (N''-N')*"bit rate"/"frame rate", where "bit rate" is a bit rate of said bitstream, and "frame rate"
is a frame rate of said bitstream.
66. The apparatus of one of claims 63 to 65, further comprising:
means for allocating bits for coding the remaining pictures in said particular GOP following said second picture in accordance with said adjusted bit budget.
67. The apparatus of one of claims 63 to 66, further comprising:
means for determining if N''>N, an actual length of said particular GOP, after coding N'' pictures in said particular GOP;
means for further adjusting said adjusted bit budget according to N and N'' if N''>N; and means for allocating bits for coding pictures in said bitstream following the N'' coded pictures according to said further adjusted bit budget if N''>N.
68. The apparatus of one of claims 63 to 66, further comprising:
means for determining if N''<N, an actual length of said particular GOP, after coding N'' pictures in said particular GOP;
means for further adjusting said adjusted bit budget according to M=M'' if N''<N; and means for allocating bits for coding pictures in said bitstream following the N'' coded pictures according to said further adjusted bit budget if N''<N.
69. The apparatus of one of claims 48 to 68, further comprising:
means for allocating bits for coding a GOP
following said particular GOP in accordance with said adjusted bit budget.
70. The apparatus of one of claims 48 to 69, further comprising:
means for accounting for changes in an actual distance M'' between I-pictures and/or P-pictures in said particular GOP by determining an actual distance M'' between an I-picture or P-picture that follows said first picture in said particular GOP, in a display order of said bitstream, and a subsequent I-picture or P-picture in said particular GOP; and means for adjusting said assumed bit budget in accordance with said actual distance M''.
71. A method for allocating bits for coding a sequence of pictures in a bitstream received at a digital video transcoder, comprising the steps of:
(a) providing a length of groups of pictures (GOPs) of said bitstream;
(b) providing a distance between each I-picture and a next successive P-picture in said GOPs;
(c) maintaining a count of a number of remaining I-, P- and B-pictures, respectively, in each GOP as each picture in said GOPs is coded;
(d) providing an assumed bit budget in response to said steps (a), (b) and (c) for coding pictures in said GOPs;
(e) verifying, and adjusting, if necessary, said length after each I-picture in said GOPs is coded;
(f) verifying, and adjusting, if necessary, said distance after each I-picture and/or P-picture in said GOPs is coded;
(g) verifying, and adjusting, if necessary, the count of the number of remaining I-, P- and B-pictures, in response to said steps (e) and (f); and (g) adjusting, if necessary, said assumed bit budget in response to said steps (e), (f) and (g).
72. The method of claim 71, wherein:
said distance is assumed when initially coding said GOPs and is corrected to an actual distance within a time for coding two pictures in said bitstream.
73. The method of claim 71 or 72, wherein:
said length is assumed when initially coding said GOPs and is corrected to an actual length within a time for coding one GOP in said bitstream.
74. An apparatus for allocating bits for coding a sequence of pictures in a bitstream received at a digital video transcoder, comprising:
(a) means for providing a length of groups of pictures (GOPs) of said bitstream;
(b) means for providing a distance between each I-picture and a next successive P-picture in said GOPs;
(c) means for maintaining a count of a number of remaining I-, P- and B-pictures, respectively, in each GOP as each picture in said GOPs is coded;
(d) means for providing an assumed bit budget in response to said means (a), (b) and (c) for coding pictures in said GOPs;
(e) means for verifying, and adjusting, if necessary, said length after each I-picture in said GOPs is coded;

(f) means for verifying, and adjusting, if necessary, said distance after each I-picture and/or P-picture in said GOPs is coded;
(g) means for verifying, and adjusting, if necessary, the count of the number of remaining I-, P-and B-pictures, in response to said means (e) and (f);
and (g) means for adjusting, if necessary, said assumed bit budget in response to said means (e), (f) and (g).
75. The apparatus of claim 74, wherein:
said distance is assumed when initially coding said GOPs and is corrected to an actual distance within a time for coding two pictures in said bitstream.
76. The apparatus of claim 74 or 75, wherein:
said length is assumed when initially coding said GOPs and is corrected to an actual length within a time for coding one GOP in said bitstream.
CA002276640A 1998-06-30 1999-06-25 System and method for facilitating the transfer of information between programs processed in a digital computer system Abandoned CA2276640A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10701398A 1998-06-30 1998-06-30
US09/107,013 1998-06-30

Publications (1)

Publication Number Publication Date
CA2276640A1 true CA2276640A1 (en) 1999-12-30

Family

ID=22314397

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002276640A Abandoned CA2276640A1 (en) 1998-06-30 1999-06-25 System and method for facilitating the transfer of information between programs processed in a digital computer system

Country Status (3)

Country Link
CA (1) CA2276640A1 (en)
DE (1) DE19930160A1 (en)
GB (1) GB2342735B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1365322A1 (en) * 2002-05-23 2003-11-26 Hewlett-Packard Company Improvements relating to computer programs
US7937701B2 (en) 2005-06-30 2011-05-03 Intel Corporation ACPI communication between virtual machine monitor and policy virtual machine via mailbox
US20070240171A1 (en) * 2006-03-29 2007-10-11 Nokia Corporation Device, Method, And Computer Program Product For Accessing A Non-Native Application Executing In Virtual Machine Environment
CN103003763B (en) * 2010-06-09 2015-08-05 西门子公司 The computer installation of the access coordination of internal storage and operation method
CN116700834B (en) * 2023-08-07 2023-10-24 天津华来科技股份有限公司 App modularized loading method and system

Also Published As

Publication number Publication date
GB2342735A (en) 2000-04-19
DE19930160A1 (en) 2000-01-05
GB2342735B (en) 2002-11-20
GB9915173D0 (en) 1999-09-01

Similar Documents

Publication Publication Date Title
JP3484049B2 (en) Delay coded data transmission
US5930480A (en) Software architecture for controlling data streams based on linked command blocks
US7788675B2 (en) System for integrating java servlets with asynchronous message
US6658477B1 (en) Improving the control of streaming data through multiple processing modules
CN111371704B (en) Data caching method and device, terminal equipment and storage medium
US20020052977A1 (en) Method and apparatus for adapting and hosting legacy user interface controls
EP0751460A2 (en) System and method of controlling mapping of data buffers for heterogenous programs in digital computer system
KR100288843B1 (en) Object-oriented programming environment that provides object encapsulation via encryption
CA2276640A1 (en) System and method for facilitating the transfer of information between programs processed in a digital computer system
US20090327995A1 (en) Annotation-aided code generation in library-based replay
CN116560801B (en) Cross-container counter system credit migration method and equipment
US7386615B1 (en) Method and system for reliably de-allocating resources in a networked computing environment
US20020169881A1 (en) Method and apparatus for distributed access to services in a network data processing system
CN113626099B (en) Application program starting method and device and electronic equipment
CN111881025B (en) Automatic test task scheduling method, device and system
WO1998009213A1 (en) Virtualized multimedia connection system
US6791556B1 (en) Multiframe rendering of video data on a general purpose computer
US7487137B2 (en) Apparatus, system, and method for java bean delta generation
CN113094349A (en) Dual-system log reporting method and system based on virtual machine
US7002599B2 (en) Method and apparatus for hardware acceleration of clipping and graphical fill in display systems
JP3884239B2 (en) Server computer
KR100594019B1 (en) Process Management Method in Distributed Environment
US8185898B2 (en) Method of streaming remote procedure invocation for multi-core systems
Tokunaga et al. Object-oriented middleware infrastructure for distributed augmented reality
US20030097489A1 (en) Fast socket technology implementation using semaphores and memory maps

Legal Events

Date Code Title Description
FZDE Dead