ISO/IEC 13522-3:1997
(Main)Information technology — Coding of multimedia and hypermedia information — Part 3: MHEG script interchange representation
Information technology — Coding of multimedia and hypermedia information — Part 3: MHEG script interchange representation
Technologies de l'information — Codage de l'information multimédia et hypermédia — Partie 3: Représentation d'interéchange script MHEG
General Information
Relations
Standards Content (Sample)
ISO/IEC
INTERNATIONAL
13522-3
STANDARD
First edition
1997-05-I 5
Information technology - Coding of
multimedia and hypermedia information -
Part 3:
MHEG script interchange representation
Codage de /‘information multimkdia et
Technologies de /‘information -
hypermedia -
Partie 3: Rep&en ta tion d ‘in terkhange script MHEG
Reference number
ISO/I EC 13522-3: 1997(E)
ISO/I,EC 13522-3: 1997(E)
Contents
1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.
Scope
. . . . . . . . . . . . . . . .~.~.
11 . Context of the scope
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.~.~.”.
12 . Scope of this part of ISO/IEC 13522
..,..................................................................~..................~....~.......~..,~.............,.
2 Normative references
3 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .*.“.
4 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .“.“.”.~.~~.~~~~.
5 Conformance .
..........................................................................................
51 . Information object conformance
............................................................................................................
5.1 .I Profiles
.........................................................................................................
5.1.2 Encoding
.......................................................................................................
5.1.3 Syntax
.......................................................................................................
5.1.4 Semantics
..............................................................................................
52 . Implementation conformance
.............................................................................
Conformance requirements
5.2.1
...........................................................................
Conformance documentation
5.2.2
Y
. .*.,.~.~.
5.3 Application conformance
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.~.
54 . Test Methods
6 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .~.”.~~~.~~~.~.~.~.~~~~~
Y
. . . . . . . . . . . . . . . . . . . . . . . . . .“.~.
61 . Description methodology
. . . . . . . . . . . . . . . . . . . . . . . . . . . .~.~.
62 . Data processing operations
. . . . . . . . . . . . . . . . . . .~.”.~.
63 . Access to external data and functions
.............................................................................................................
7 MHEG/MHEG-3 relationship
....................................................................................................................
7.1 MHEG entities
..............................................................................................................
7.2 Functional entities
...............................................................................................
73 . MHEG-SIR script interpreter
....................................................................................................................
8 Elements of MHEG-SIR
..........................................................................................................................
81 . Data types
.............................................................................................
8.1 .l Predefined types
Primitive types .
8.1 .l .l
.............................................. 14
8.1.1.1.1 . void type
8.1 .l .I .2 octet type .
8.1 .1.1.3 short type .
long type .
8.1 .1.1.4
unsigned short type .
8.1 .1.1.5
0 ISO/IEC 1997
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means,
electronic or mechanical, including photocopying and microfilm, without permission in writing from the publisher.
ISO/IEC Copyright Office l Case postale 56 l Cl-l-l 211 Geneve 20 l Switzerland
Printed in Switzerland
ii
0 lSO/IEC ISOAEC 13522-3: 1997(E)
8.1.1.1.6 unsigned long type . 14
float type . 14
8.1.1.1.7
8.1.1.1.8 double type .
8.1.1.1.9 boolean type .
8.1.1.1.10 character type .
8.1.1.1.11 data identifier type .
8.1.1.1.12 object reference type .
8.1.1.2 Predefined constructed types .
............................ 15
8.1.2 Declared constructed types .
.......................................... .............................. 15
8.1.2.1 sequence types
string types . 16
8.1.2.2 .
array types . . 16
8.1.2.3
structure types . . 17
8.1.2.4
........................... .................. 17
8.1.2.5 union types .
....................................... 17
82 . Data .
......................................... ............. 18
8.2.1 Immediate values .
..................................................... 18
8.2.2 Constants .
....................................... 18
8.2.3 Variables .
Global variables . . . 19
8.2.3.1
Local variables . . 19
8.2.3.2
Dynamic variables . . 19
8.2.3.3
........................................... ........................................ 19
83 . Functions .
............................................................................................................. 20
8.3.1 Routines
............................................................................ ..................................
8.3.2 Services
................................................... ....................................... 21
8.3.3 Predefined functions
84 . Messages .
...........................................................................................
8.4.1 Package exceptions
........................................................................................ 22
8.4.2 Predefined messages
............................................................................ 22
. Instructions .
86 . Identifiers .
...................................................................................................
8.6.1 Type identifiers
................................................................................................... 23
8.6.2 Data identifiers
................................................ ............................................. 23
8.6.3 Function identifiers
............................................................................................ 23
8.6.4 Message identifiers
9 The MHEG-SIR virtual machine .
........................................................................... 24
. Structure of the MHEG-SIR virtual machine
Structures and notations .
92 .
9.2.1 Table .
................................................... 24
9.2.2 Stack .
9.2.3 Parameter stack .
..................................................... 25
9.2.4 Queue .
........................................................................................... 25
Data representation
9.2.5
........................................................................ 26
.................................................
93 . Memory areas
.................................................................................... 26
M h-script memory areas
9.3.1
................................................................................
9.3.1 .I Data areas
Type definition table .
9.3.1.1.1
Constant table .
9.3.1.1.2
.................. 27
Global variable definition table
9.3.1.1.3
...............................................................................
9.3.1.2 Code areas
.............................. 27
9.3.1.2.1 Routine definition table
............................ 28
9.3.1.2.2 Package definition table
.............................. 28
9.3.1.2.3 Service definition table
Exception definition table . 28
9.3.1.2.4
Handler definition table . 29
9.3.1.2.5
9.3.1.2.6 Program code area .
. . .
III
0 ISO/IEC
ISO/IEC 13522=3:1997(E)
........................................ .............................................. 29
9.3.2 Rt-script memory areas
............................................................ 29
9.3.2.1 Dynamic memory areas
Variable table . .29
9.3.2.1 .l
Call stack . . 30
9.3.2.1.2
Parameter stack . 30
9.3.2.1.3
Message queue . 31
9.3.2.1.4
...... ........................................... 31
9.3.2.1.5 Heap
9.3.2.2 Registers .
Instruction pointer register . 32
9.3.2.2.1
Instruction register . 32
9.3.2.2.2
Error register . 32
9.3.2.2.3
Stack pointer register . 32
9.3.2.2.4
Frame pointer register . 32
9.3.2.2.5
Queue pointer register . 32
9.3.2.2.6
Function register . 32
9.3.2.2.7
........................................................................................................................ 33
94 . Script statuses
.............................................................................................. 33
Mh-script statuses
9.4.1
...................................... ....................................... 33
9.4.1 .I Not available
................................................................................... 33
9.4.1.2 Available
............................................................................................... 33
Rt-script statuses
9.4.2
................................... ........ .................................... 33
9.4.2.1 Not ready
.................................. .............................................. 33
9.4.2.2 Ready
Running . . .
9.4.2.3
Erroneous . .
9.4.2.4
.................................................................... .................................................
Processing units
95 .
.............................................................................................
9.5.1 Message reception
MHEG-3 API operations .
9.5.1 .l
.......................... 34
External exception .
9.5.1.2
....................................... 35
InstructionExecutionError exception.
9.5.1.3
MHEG-3 API exception .
9.5.1.4
.........................................................................................
Mh-script initialisation
9.5.2
..........................................................................................
Rt-script initialisation
9.5.3
.................
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.