Terminal Equipment (TE); MHEG script interchange representation (MHEG-SIR)

Specify a representation allowing the description of access & process- ing of Mulitmedia & Hypermedia Information used in AVI applications in a platform-independent way.

Terminalska oprema (TE) – Prikaz izmenjave skriptov po MHEG (MHEG-SIR)

General Information

Status
Published
Publication Date
30-Nov-2003
Current Stage
6060 - National Implementation/Publication (Adopted Project)
Start Date
01-Dec-2003
Due Date
01-Dec-2003
Completion Date
01-Dec-2003

Buy Standard

Standard
ETS 300 715 E1:2003
English language
137 pages
sale 10% off
Preview
sale 10% off
Preview
e-Library read for
1 day

Standards Content (Sample)

SLOVENSKI STANDARD
SIST ETS 300 715 E1:2003
01-december-2003
Terminalska oprema (TE) – Prikaz izmenjave skriptov po MHEG (MHEG-SIR)
Terminal Equipment (TE); MHEG script interchange representation (MHEG-SIR)
Ta slovenski standard je istoveten z: ETS 300 715 Edition 1
ICS:
33.160.60 9HþSUHGVWDYQL PXOWLPHGLMVNL Multimedia systems and
VLVWHPLLQRSUHPD]D teleconferencing equipment
WHOHNRQIHUHQFH
35.180 Terminalska in druga IT Terminal and other
periferna oprema IT peripheral equipment
SIST ETS 300 715 E1:2003 en
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.

---------------------- Page: 1 ----------------------

SIST ETS 300 715 E1:2003

---------------------- Page: 2 ----------------------

SIST ETS 300 715 E1:2003
EUROPEAN ETS 300 715
TELECOMMUNICATION June 1997
STANDARD
Source: ETSI TC-TE Reference: DE/MTA-001047
(formerly DE/TE-01047)
ICS: 33.020
Key words: AVI, MHEG, MHI, multimedia
Terminal Equipment (TE);
MHEG script interchange representation (MHEG-SIR)
ETSI
European Telecommunications Standards Institute
ETSI Secretariat
Postal address: F-06921 Sophia Antipolis CEDEX - FRANCE
Office address: 650 Route des Lucioles - Sophia Antipolis - Valbonne - FRANCE
X.400: c=fr, a=atlas, p=etsi, s=secretariat - Internet: secretariat@etsi.fr
Tel.: +33 4 92 94 42 00 - Fax: +33 4 93 65 47 16
Copyright Notification: No part may be reproduced except as authorized by written permission. The copyright and the
foregoing restriction extend to reproduction in all media.
© European Telecommunications Standards Institute 1997. All rights reserved.

---------------------- Page: 3 ----------------------

SIST ETS 300 715 E1:2003
Page 2
ETS 300 715: June 1997
Whilst every care has been taken in the preparation and publication of this document, errors in content,
typographical or otherwise, may occur. If you have comments concerning its accuracy, please write to
"ETSI Editing and Committee Support Dept." at the address shown on the title page.

---------------------- Page: 4 ----------------------

SIST ETS 300 715 E1:2003
Page 3
ETS 300 715: June 1997
Contents
Foreword .11
Introduction.11
1 Scope .13
2 Normative references.13
3 Definitions.14
3.1 Definitions .14
3.2 Abbreviations .17
4 General.18
5 Conformance.18
5.1 Information object conformance .18
5.1.1 Profiles .18
5.1.2 Encoding .19
5.1.3 Syntax.19
5.1.4 Semantics.19
5.2 Implementation conformance .19
5.2.1 Conformance requirements.19
5.2.2 Conformance documentation.20
5.3 Application conformance .20
5.4 Test Methods .20
6 Overview .20
6.1 Description methodology .20
6.2 Data processing operations .21
6.3 Access to external data and functions.21
7 MHEG/MHEG-3 relationship .22
7.1 MHEG entities.22
7.2 Functional entities.22
7.3 MHEG-SIR script interpreter.23
8 Elements of MHEG-SIR .23
8.1 Data types.23
8.1.1 Predefined types.24
8.1.1.1 Primitive types .25
8.1.1.1.1 void type.25
8.1.1.1.2 octet type .25
8.1.1.1.3 short type .25
8.1.1.1.4 long type .25
8.1.1.1.5 unsigned short type.25
8.1.1.1.6 unsigned long type.25
8.1.1.1.7 float type .26
8.1.1.1.8 double type .26
8.1.1.1.9 boolean type .26
8.1.1.1.10 character type .26
8.1.1.1.11 data identifier type.26
8.1.1.1.12 object reference type .26
8.1.1.2 Predefined constructed types .26
8.1.2 Declared constructed types.26
8.1.2.1 sequence types.27
8.1.2.2 string types .27

---------------------- Page: 5 ----------------------

SIST ETS 300 715 E1:2003
Page 4
ETS 300 715: June 1997
8.1.2.3 array types. 28
8.1.2.4 structure types. 28
8.1.2.5 union types. 28
8.2 Data. 29
8.2.1 Immediate values. 29
8.2.2 Constants. 29
8.2.3 Variables. 30
8.2.3.1 Global variables . 30
8.2.3.2 Local variables . 30
8.2.3.2 Dynamic variables. 30
8.3 Functions. 31
8.3.1 Routines. 31
8.3.2 Services . 32
8.3.3 Predefined functions. 32
8.4 Messages. 32
8.4.1 Package exceptions. 32
8.4.2 Predefined messages. 33
8.5 Instructions. 33
8.6 Identifiers. 33
8.6.1 Type identifiers . 33
8.6.2 Data identifiers. 34
8.6.3 Function identifiers. 34
8.6.4 Message identifiers. 34
9 The MHEG-SIR virtual machine . 34
9.1 Structure of the MHEG-SIR virtual machine . 34
9.2 Structures and notations . 35
9.2.1 Table. 35
9.2.2 Stack. 35
9.2.3 Parameter stack . 35
9.2.4 Queue . 36
9.2.5 Data representation . 36
9.3 Memory areas . 37
9.3.1 Mh-script memory areas. 37
9.3.1.1 Data areas. 37
9.3.1.1.1 Type definition table . 37
9.3.1.1.2 Constant table . 37
9.3.1.1.3 Global variable definition table . 37
9.3.1.2 Code areas. 37
9.3.1.2.1 Routine definition table. 38
9.3.1.2.2 Package definition table . 38
9.3.1.2.3 Service definition table . 38
9.3.1.2.4 Exception definition table . 39
9.3.1.2.5 Handler definition table. 39
9.3.1.2.6 Program code area . 39
9.3.2 Rt-script memory areas . 39
9.3.2.1 Dynamic memory areas . 39
9.3.2.1.1 Variable table . 40
9.3.2.1.2 Call stack. 40
9.3.2.1.3 Parameter stack. 40
9.3.2.1.4 Message queue. 41
9.3.2.1.5 Heap. 41
9.3.2.2 Registers. 41
9.3.2.2.1 Instruction pointer register. 42
9.3.2.2.2 Instruction register. 42
9.3.2.2.3 Error register . 42
9.3.2.2.4 Stack pointer register . 42
9.3.2.2.5 Frame pointer register. 42
9.3.2.2.6 Queue pointer register . 42
9.3.2.2.7 Function register . 42
9.4 Script statuses. 42
9.4.1 Mh-script statuses. 42
9.4.1.1 Not available . 42

---------------------- Page: 6 ----------------------

SIST ETS 300 715 E1:2003
Page 5
ETS 300 715: June 1997
9.4.1.2 Available .43
9.4.2 Rt-script statuses.43
9.4.2.1 Not ready .43
9.4.2.2 Ready .43
9.4.2.3 Running .43
9.4.2.4 Erroneous .44
9.5 Processing units.44
9.5.1 Message reception.44
9.5.1.1 MHEG-3 API operations .44
9.5.1.2 External exception .44
9.5.1.3 InstructionExecutionError exception.45
9.5.1.4 MHEG-3 API exception.45
9.5.2 Mh-script initialization .45
9.5.3 Rt-script initialization.45
9.5.4 Rt-script execution unit.45
9.5.5 MHEG-SIR instruction execution unit.46
10 Provisions for run-time environment access .46
10.1 General model .46
10.2 Declaration of IDL interfaces .46
10.3 Invocation of external operations in an MHEG-SIR program.47
10.4 Handling of external exceptions in an MHEG-SIR program .47
10.5 Invocation of external operations by an MHEG-3 engine .48
10.6 Handling of external exceptions by an MHEG-3 engine .48
10.7 Platform mapping specifications.48
11 Provisions for MHEG object manipulation.48
11.1 Invoking MHEG actions .48
11.1.1 Sending messages to other scripts .49
11.1.2 Exchange of information with MHEG objects.49
11.2 Receiving MHEG messages.49
11.2.1 MHEG-3 API run operations.49
11.2.2 MHEG API exceptions.49
12 MHEG-SIR declarations.50
12.1 Type declaration .50
12.1.1 Type identifier.50
12.1.2 Type description .51
12.1.2.1 String description.51
12.1.2.2 Sequence description .51
12.1.2.3 Array description.51
12.1.2.4 Structure description.51
12.1.2.5 Union description.51
12.2 Constant declaration.52
12.2.1 Data identifier .52
12.2.2 Type identifier.52
12.2.3 Constant value .52
12.3 Global variable declaration .53
12.3.1 Data identifier .53
12.3.2 Type identifier.53
12.3.3 Constant reference.53
12.4 Package declaration .53
12.4.1 Package identifier.54
12.4.2 Name.54
12.4.3 Service description .54
12.4.3.1 Function identifier .54
12.4.3.2 Name .54
12.4.3.3 Calling mode.54
12.4.3.4 Type identifier .55
12.4.3.5 Parameter description .55
12.4.3.5.1 Passing mode .55
12.4.3.5.2 Type identifier .55
12.4.4 Exception description .55

---------------------- Page: 7 ----------------------

SIST ETS 300 715 E1:2003
Page 6
ETS 300 715: June 1997
12.4.4.1 Message identifier. 55
12.4.4.2 Name . 56
12.4.4.3 Parameter description. 56
12.5 Handler declaration . 56
12.5.1 Message identifier. 56
12.5.2 Function identifier . 56
12.6 Routine declaration . 56
12.6.1 Function identifier . 57
12.6.2 Type identifier . 57
12.6.3 Parameter description. 57
12.6.3.1 Passing mode . 57
12.6.3.2 Type identifier. 57
12.6.4 Local variable declaration . 57
12.6.4.1 Data identifier. 57
12.6.4.2 Type identifier. 58
12.6.4.3 Constant reference . 58
12.6.5 Program code . 58
13 MHEG-SIR instructions. 58
13.1 Presentation methodology. 58
13.1.1 Error conditions. 59
13.1.2 Formal specification. 59
13.1.3 Data table notation. 59
13.1.4 Template instruction notation. 60
13.1.5 Primitives . 60
13.2 Classification of MHEG-SIR instructions. 60
13.3 Description of instructions .61
13.3.1 No operation . 61
13.3.2 Yield. 62
13.3.3 Return . 62
13.3.4 Free . 63
13.3.5 Not . 63
13.3.6 Or. 63
13.3.7 Exclusive or . 64
13.3.8 And . 64
13.3.9 Equal reference . 65
13.3.10 Equal. 65
13.3.11 Less than . 66
13.3.12 Greater than. 66
13.3.13 Add . 66
13.3.14 Subtract . 67
13.3.15 Multiply. 67
13.3.16 Divide. 67
13.3.17 Negate . 68
13.3.18 Remainder . 68
13.3.19 Duplicate. 69
13.3.20 Convert . 69
13.3.21 Jump on true. 69
13.3.22 Jump on false . 70
13.3.23 Jump. 70
13.3.24 Shift. 70
13.3.25 Get object reference . 71
13.3.26 Long jump on true. 71
13.3.27 Long jump on false . 72
13.3.28 Long jump. 72
13.3.29 Call. 72
13.3.30 External call . 73
13.3.31 Push. 74
13.3.32 Push reference . 75
13.3.33 Push immediate. 75
13.3.34 Pop . 76
13.3.35 Pop reference . 76
13.3.36 Pop contents. 76

---------------------- Page: 8 ----------------------

SIST ETS 300 715 E1:2003
Page 7
ETS 300 715: June 1997
13.3.37 Allocate.77
13.3.38 Increment .77
13.3.39 Decrement.78
13.3.40 Get.78
13.3.41 Get contents.79
13.3.42 Set .79
13.3.43 Set contents .80
13.4 Type conversion rules.81
13.4.1 Reversible conversions .81
13.4.2 Lossless extensions .81
13.4.2.1 Conversions from boolean.81
13.4.2.2 Conversions from octet to a numeric type.82
13.4.2.3 Lossless conversions from a numeric to a larger numeric
type .82
13.4.3 Lossy extensions.82
13.4.4 Truncations to boolean.82
13.4.5 Truncations between in
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.