SMPTE RDD 15-2007 Software Scripting Language for Pixel-Based Color Transformations《基于像元颜色转换的软件脚本语言》.pdf
《SMPTE RDD 15-2007 Software Scripting Language for Pixel-Based Color Transformations《基于像元颜色转换的软件脚本语言》.pdf》由会员分享,可在线阅读,更多相关《SMPTE RDD 15-2007 Software Scripting Language for Pixel-Based Color Transformations《基于像元颜色转换的软件脚本语言》.pdf(63页珍藏版)》请在麦多课文档分享上搜索。
1、 Copyright 2007 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 595 W. Hartsdale Ave., White Plains, NY 10607 (914) 761-1100 Approved September 24, 2007 The attached document is a Registered Disclosure Document prepared by the proponent identified below. It has been examined by the appropr
2、iate SMPTE Technology Committee and is believed to contain adequate information to satisfy the objectives defined in the Scope, and to be technically consistent. This document is NOT a Standard, Recommended Practice or Engineering Guideline, and does NOT imply a finding or representation of the Soci
3、ety. Errors in this document should be reported to the proponent identified below, with a copy to engsmpte.org. All other inquiries in respect of this document, including inquiries as to intellectual property requirements that may be attached to use of the disclosed technology, should be addressed t
4、o the proponent identified below. Proponent contact information: Science and Technology Council Academy of Motion Picture Arts and Sciences 8949 Wilshire Blvd. Beverly Hills, CA 90211 USA Email: councilinfooscars.org NOTICE The technology described in this Registered Disclosure Document may be the s
5、ubject of intellectual property rights (including patent, copyright, trademark or similar such rights) of the proponent or others. The proponent declares that it will not enforce any applicable intellectual property rights owned or controlled by the proponent against any person or entity using the i
6、ntellectual property to comply with this Registered Disclosure Document. Attention is drawn to the possibility that some elements of the technology described in this document, or certain applications of the technology may be the subject of intellectual property rights other than those identified abo
7、ve. Neither the proponent nor SMPTE shall be held responsible for identifying any or all such rights. Recipients of this document are invited to submit notification to the proponent of any such intellectual property of which they are aware. Page 1 of 63 pages RDD 15-2007SMPTE REGISTERED DISCLOSURE D
8、OCUMENT Software Scripting Language for Pixel-Based Color Transformations RDD 15-2007 Page 2 of 63 pages Table of Contents Page Foreword 4 1 Scope 5 2 Normative References 5 3 Introduction. 5 3.1 Motivation 5 3.2 What CTL Is. 6 3.3 What CTL Is Not 6 3.4 This Document 6 4 Overview of CTL. 7 4.1 Basic
9、 Concepts 7 4.2 Input and Output, Varying and Uniform. 8 4.3 Data Types 9 4.4 Arrays, Static Data, Lookup Tables.10 4.5 Scattered Data Interpolation12 4.6 Standard Library 13 4.7 Modules .13 5 Description of the CTL Interpreter 14 5.1 Theory of Operation.14 5.2 C+ API .15 5.3 FuntionCall and Functio
10、nArg Objects18 5.4 DataType Objects19 5.5 ArrayType and StructType Objects .20 5.6 Error Handling22 5.7 Breaking Infinite Loops22 5.8 Thread-Safety and Parallelism 22 5.9 Accelerating the Transforms23 6 Design Decisions23 6.1 Limited Set of Language Features 23 6.2 No Support for Executive-Only Colo
11、r Transforms.24 6.3 Portability.24 6.4 SIMD Back End .24 6.5 Security24 7 CTL Language Reference 25 7.1 Syntactic Notation25 7.2 Lexical Elements .25 7.2.1 Keywords.25 7.2.2 Punctuators .26 7.2.3 Literals .27 7.3 Basic Concepts27 7.3.1 Varying Values 27 7.3.2 What is a CTL Program.28 RDD 15-2007 Pag
12、e 3 of 63 pages 7.3.3 Modules. 28 7.3.4 CTL Versions 28 7.3.5 Name Spaces 29 7.3.6 Name Spaces 30 7.3.7 Scope 31 7.3.8 Initialization of Constants, Evaluation of Constant Expressions. 31 7.3.9 Types 31 7.3.10 Const Qualifier 32 7.3.11 Type Conversion. 32 7.4 Definitions . 33 7.4.1 Struct Type Defini
13、tions 33 7.4.2 Variable Definitions . 33 7.4.3 Function Definitions 34 7.5 Statements 37 7.5.1 Compound Statements . 38 7.5.2 While Statements 38 7.5.3 For Statements . 38 7.5.4 If Statements. 39 7.5.5 Assignments 39 7.5.6 Expression Statements. 40 7.5.7 Null Statements. 40 7.5.8 Print Statements .
14、40 7.5.9 Return Statements 41 7.6 Expressions. 41 7.6.1 Primary Expressions . 42 7.6.2 Arithmetic Expressions . 42 7.7 Standard Library 44 7.7.1 Numeric Constants . 44 7.7.2 Floating-Point Number Classification 44 7.7.3 Elementary Functions . 45 7.7.4 Operations on 3D Vectors, 3x3 Matrices and 4x4 M
15、atrices . 47 7.7.5 Lookup Tables and Scattered Data Interpolation . 49 7.7.6 Conversions Between Standard Color Spaces. 51 7.7.7 Assertion . 52 7.8 Complete Grammar. 53 Annex A Simplified API for OpenEXR (Informative) . 58 A.1 C+ Interface 58 A.2 Matching CTL Parameters, Image Channels and Header At
16、tributes . 59 A.3 Translation Between CTL Types, Channel Types and Attribute Types . 60 Annex B Source Code (Informative) . 62 Annex A Sample Code and Utilities (Informative). 63 RDD 15-2007 Page 4 of 63 pages Foreword SMPTE (the Society of Motion Picture and Television Engineers) is an internationa
17、lly-recognized standards developing organization. Headquartered and incorporated in the United States of America, SMPTE has members in over 80 countries on six continents. SMPTEs Engineering Documents, including Standards, Recommended Practices, Engineering Guidelines and Registered Disclosure Docum
18、ents, are prepared by SMPTEs Technology Committees. Participation in these Committees is open to all with a bona fide interest in their work. SMPTE cooperates closely with other standards-developing organizations, including ISO, IEC and ITU. SMPTE Registered Disclosure Documents are drafted in accor
19、dance with the rules given in Part XIII of its Administrative Practices. SMPTE Registered Disclosure Document RDD 15 was prepared by Technology Committee DC28. RDD 15-2007 Page 5 of 63 pages 1 Scope This document describes the Color Transformation Language, or CTL, and its reference implementation i
20、n the form of a CTL interpreter. CTL is a small software programming language that has been designed to serve as a building block for digital color management systems. CTL allows users to describe color transforms in a concise and unambiguous way by expressing them as software programs. Any digital
21、color management system that supports CTL includes a CTL interpreter. In order to apply a given transform to an image, the color management system instructs the interpreter to load and run the CTL program that describes the transform. The original and the transformed image constitute the CTL program
22、s input and output. This document describes the syntax and semantics of CTL, a standard library of functions that can be called from within CTL programs, as well as a C+ programming interface that allows application programs to access and control the CTL interpreter. The RDD itself is comprised of t
23、his document and the reference implementation of the CTL interpreter as described in Annex B. All other referenced documents, sample code and software utilities are provided for informative purposes only. 2 Normative References The following standards contain provisions which, through reference in t
24、his text, constitute provisions of this registered disclosure document. At the time of publication, the editions indicated were valid. All standards are subject to revision, and parties to agreements based on this registered disclosure document are encouraged to investigate the possibility of applyi
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
10000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- SMPTERDD152007SOFTWARESCRIPTINGLANGUAGEFORPIXELBASEDCOLORTRANSFORMATIONS 基于 颜色 转换 软件 脚本语言 PDF

链接地址:http://www.mydoc123.com/p-1046309.html