《ISO-21000-10-2006.pdf》由会员分享,可在线阅读,更多相关《ISO-21000-10-2006.pdf(150页珍藏版)》请在三一文库上搜索。
1、 Reference number ISO/IEC 21000-10:2006/Amd.1:2006(E) ISO/IEC 2006 INTERNATIONAL STANDARD ISO/IEC 21000-10 First edition 2006-01-01 AMENDMENT 1 2006-12-15 Information technology Multimedia framework (MPEG-21) Part 10: Digital Item Processing AMENDMENT 1: Additional C+ bindings Technologies de linfor
2、mation Cadre multimdia (MPEG-21) Partie 10: Traitement dlment numrique AMENDEMENT 1: Liaisons C+ additionnelles Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDT
3、No reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, this file may be printed or viewed but shall not be edited unless the typefaces which ar
4、e embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secretariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorpo
5、rated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ensure that the file is suitable for use by ISO member bodies. In the unlikely event that
6、a problem relating to it is found, please inform the Central Secretariat at the address given below. ISO/IEC 2006 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 a
7、nd microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Geneva 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland i
8、i ISO/IEC 2006 All rights reserved Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IE
9、C 21000-10:2006/Amd.1:2006(E) ISO/IEC 2006 All rights reserved iii Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC parti
10、cipate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmenta
11、l and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
12、The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodie
13、s casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Amendment 1 to ISO/IEC 21000-10:2006 was prepared by Joint Technical Commit
14、tee ISO/IEC JTC 1, Information technology, Subcommittee SC 29, Coding of audio, picture, multimedia and hypermedia information. This Amendment defines normative C+ bindings for Digital Item Base Operations, informative security and platform dependence considerations, an informative example of a safe
15、 DIP profile and an entry to be appended to the Bibliography. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reproduction or networking permitted without li
16、cense from IHS -,-,- Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:200
17、6/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 1 Information technology Multimedia framework (MPEG-21) Part 10: Digital Item Processing AMENDMENT 1: Additional C+ bindings In Clause 1, Scope, second paragraph, replace the text: three normative annexes with: four normative annexes In Clause 1, Scop
18、e, add at the end: C+ bindings for Digital Item Base Operations: Annex E specifies the C+ bindings for the Digital Item Base Operations described in 5.4. In Clause 2, Normative references, insert the following normative reference before the reference to ISO/IEC 16262:2002: ISO/IEC 14882:2003, Progra
19、mming languages C+ Add a new subclause 5.6: 5.6 Security and platform dependence considerations (informative) 5.6.1 Security considerations 5.6.1.1 Execute DIBO The use of the DIP.execute DIBO can potentially result in security issues, because the DIBO provides means to execute arbitrary code. 5.6.1
20、.2 C+ bindings The use of the C+ DIBO bindings can potentially result in security issues. 5.6.1.3 DOM Load and Save The DOM Load and Save API exposes potential security issues, because they provide access to the file system. Copyright International Organization for Standardization Provided by IHS un
21、der license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) 2 ISO/IEC 2006 All rights reserved 5.6.2 Platform dependence considerations 5.6.
22、2.1 Execute DIBO The use of the DIP.execute DIBO can result in the use of platform dependent code. It is possible to avoid those issues by creating a profile removing DIP.execute. This can be done using profiles as demonstrated in subclause Annex I.8. 5.6.2.2 C+ bindings The use of the C+ DIBO bindi
23、ngs will result in the use of platform dependent code. It is possible to avoid those issues by creating a profile removing the C+ bindings. This can be done using profiles as demonstrated in subclause Annex I.8. Adjust numbering clauses: “5.6 Digital Item eXtension Operations“ numbering change to “5
24、.7 Digital Item eXtension Operations“ numbering. And change following (sub)clauses numbering accordingly. Add a new Annex E: Annex E (normative) C+ bindings for Digital Item Base Operations E.1 Introduction C+ bindings for DIBOs are specified so that C+ executables can interact with the DIP environm
25、ent. The way in which C+ executables are executed and the reference to the bindings are obtained, is done in an implementation specific way. E.2 C+ data type bindings for DIML object types E.2.1 DIPError See 5.4.3.2 Copyright International Organization for Standardization Provided by IHS under licen
26、se with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 3 #ifndef DIPERROR_H #define DIPERROR_H /* * C+ interfac
27、e for the DIPError. */ class DIPError public: /* * General DIP error not covered by other defined error codes. * The value of this property is 1. */ static const int GENERAL_EXCEPTION; /* * A parameter provided to a DIBO or other DIP function is invalid. * The value of this property is 2. */ static
28、const int INVALID_PARAM; /* * Permission to execute this operation is unavailable in the host environment. * The value of this property is 3. */ static const int INVALID_PERMISSION; /* * Something needed to complete the operation is not found. * The value of this property is 4. */ static const int N
29、OT_FOUND; /* * An error occurred during an attempt to adapt a resource. * The value of this property is 5. */ static const int ADAPTATION_FAILED; /* * An error occurred during an attempt to play. * The value of this property is 6. */ static const int PLAYBACK_FAILED; /* * An error occurred during an
30、 attempt to execute. * The value of this property is 7. */ static const int EXECUTE_FAILED; /* * An error occurred during an attempt to print. * The value of this property is 8. */ static const int PRINT_FAILED; /* * Returns the code of an error caused by an exception. * return int value representin
31、g DIPErrorCode or other value specified in ISO/IEC * 21000. */ virtual int getDIPErrorCode() const = 0; ; #endif Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MD
32、TNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) 4 ISO/IEC 2006 All rights reserved E.2.2 ObjectMap See 5.4.3.3 #ifndef OBJECTMAP_H #define OBJECTMAP_H #include /* * C+ interface for the ObjectMap DIML Object Type. */ class ObjectMap public:
33、 /* * Returns a pointer to succeeding char pointers representing the * Arguments Types of an argument list. * param index The index of the Argument list in the Object Map. * return array of char pointers or null pointers if no such index exists. The * last element of the array must be a null pointer
34、. */ virtual char* getArgumentList(int index) const throw (DIPError) = 0; /* * Returns the number of unique argument lists with arguments in a specific order. * return int value indicating the number of unique argument lists. */ virtual int getArgumentListCount() const = 0; /* * Returns the number o
35、f DIMs taking arguments of given Argument Types. * param argumentList An array of char pointers representing the Arguments names. * The last element of this array shall be a null pointer. * return int value indicating the number of DIMs. */ virtual int getMethodCount(char* argumentList) const throw
36、(DIPError) = 0; /* * Returns a pointer to a DOMElement representing Components containing the DIM * declarations of DIMs taking arguments of given Argument Types. * param argumentList An array of char pointers representing the Arguments names. The last element of this array shall be a null pointer.
37、* return pointer to DOMElement. */ virtual DOMElement* getMethodWithArgs(char* argumentList) const throw (DIPError)= 0; /* * Returns an array of pointers to DOMElements representing Components containing * the DIM declaration of a DIM taking arguments of given Argument Types. * param argumentList An
38、 array of char pointers representing the Arguments names. The last element of this array shall be a null pointer. * param index An int value indicating the index of the DIM in the list of DIMS that accept the char pointers of the argumentList parameter as parameters. * return array of pointers to DO
39、MElements. The last element of this array shall * be a null pointer. */ virtual DOMElement* getMethodsWithArgs(char* argumentList, int index) const throw (DIPError)= 0; /* * Returns a DID object corresponding to the given Object Type and the index. * param objectType A char pointer containing the Ob
40、ject Type of the wanted DID object. * param index The index in the array to DID objects corresponding to the Object Type. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02
41、:40:55 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) ISO/IEC 2006 All rights reserved 5 * return pointer to DOMElement or null pointer if no such DID object exists. */ virtual DOMElement* getObjectOfType(char* objectType, int index) con
42、st throw (DIPError)= 0; /* * Returns an array of DID objects corresponding to the given Object Type. * param objectType A char pointer containing the Object Type of the wanted DID objects. * return array of pointers to DOMElements. The last element of the array must * be a null pointer. */ virtual D
43、OMElement* getObjectsOfType(char* objectType) const throw (DIPError) = 0; /* * Returns the number of objects corresponding to a certain Object Type. * param objectTypeName A char pointer containing the name of the Object Type in the Object Map. * return int value representing the number of objects.
44、*/ virtual int getObjectsOfTypeCount(char* objectTypeName) const throw (DIPError) = 0; /* * Returns the number of Object Types defined in the Object Map. * return int value representing the number of Object Types. */ virtual int getObjectTypeCount() const = 0; /* * Returns a char pointer representin
45、g the Object Type name. * param index The index of the Object Type in the Object Map. * return char pointer or null pointer if no such index exists. */ virtual char* getObjectTypeName(int index) const throw (DIPError) = 0; ; #endif E.2.3 PlayStatus See 5.4.3.4 #ifndef PLAYSTATUS_H #define PLAYSTATUS
46、_H /* * C+ interface for the PlayStatus DIML Object Type. */ class PlayStatus public: /* * Indicates that the associated resource is not currently playing. * The value of this property is 0. */ static const int RELEASED; /* * Indicates that the associated resource is currently playing. Time based st
47、ate * information related to playing the resource, if relevant, is paused for a * STATICPLAY resource. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=IHS Employees/1111111001, User=Wing, Bernie Not for Resale, 04/03/2007 02:40:55 MDTNo reprod
48、uction or networking permitted without license from IHS -,-,- ISO/IEC 21000-10:2006/Amd.1:2006(E) 6 ISO/IEC 2006 All rights reserved * The value of this property is 1. */ static const int STATICPLAY; /* * Indicates that the associated resource is currently playing. Time based state * information related to playing the resource, if relevant,