1、 1 Scope This standard provides a method for multiplexing camera positioning information into the ancillary data space described in SMPTE 291M. Applications of the standard include the 525-line, 625-line, component or composite, and high-definition digital television interfaces which provide 10-bit
2、ancillary data space. Two types of camera positioning information are defined in this standard: binary and ASCII. 2 Normative reference The following standard contains provisions which, through reference in this text, constitute provisions of this standard. At the time of publication, the edition in
3、dicated was valid. All standards are subject to revision, and parties to agreements based on this standard are encouraged to investigate the possibility of applying the most recent edition of the standard indicated below. SMPTE 291M-1998, Television Ancillary Data Packet and Space Formatting 3 Overv
4、iew 3.1 Camera positioning information, as defined in this standard, contains the following parameters. These parameters, and other parameters described in the note, are carried selectively upon the need: camera relative position camera pan camera tilt camera roll origin of world coordinate longitud
5、e origin of world coordinate latitude origin of world coordinate altitude vertical angle of view focus distance lens opening (iris or f-value) time address information object relative position NOTE There may be other parameters, required for other applications, for which data are carried within this
6、 type of ancillary data signal, but which are not defined in this standard. Such parameters will have parameter identifications which do not conflict with those used in this standard. When such parameters are received by equipment that does not recognize them, they should be ignored. Page 1 of 19 pa
7、ges SMPTE 315M-2004 Revision of SMPTE 315M-1999 Copyright 2004 by THE SOCIETY OF MOTION PICTURE AND TELEVISION ENGINEERS 595 W. Hartsdale Ave., White Plains, NY 10607 (914) 761-1100 Approved October 8, 2004 SMPTE STANDARD for Television Camera Positioning Information Conveyed by Ancillary Data Packe
8、ts SMPTE 315M-2004 Page 2 of 19 pages 3.2 Data for each parameter can be obtained from several kinds of pick-up devices, such as rotary encoders. These data are formatted as an ancillary data packet and multiplexed into the ancillary data space of serial digital video and conveyed to the receiving e
9、nd. This specification defines the packet structure, word structure, coordinate, range, and accuracy of each parameter, and the method of multiplexing packets. 4 Packet structure 4.1 Camera positioning data packet 4.1.1 Camera positioning data packets are formatted in a data stream into one of two t
10、ypes, binary or ASCII. These are identified by the data type identification flag word (FORM) in the user data words and are described in 4.1.2 and 4.1.3. 4.1.2 The structure of a binary-type camera positioning data packet is shown in figure 1. 4.1.3 The structure of an ASCII-type camera positioning
11、data packet is shown in figure 2. ADF: DID: DBN: DC: UDW: Ancillary data flag Data identification word 2F0h(see note) Data block number word Data count word User data words (up to 255 words) LABEL: FORM: C-ID: IDn: Parameter n: SMPTE label for metadata of class camera positioning information (16 wor
12、ds) Data type identification flag word (1 word) Camera identification word (1 word) Parameter identification word (1 word for each parameter) Parameter data words (4 words for each parameter) CS: Check sum NOTE This DID indicates that the UDWs carry metadata. The specific class of metadata is indica
13、ted by the LABEL. It is necessary to decode both the DID and the LABEL to identify the UDWs as carrying camera positioning information. Figure 1 Binary-type camera positioning data packet SMPTE 315M-2004 Page 3 of 19 pages ADF: DID: DBN: DC: UDW: Ancillary data flag Data identification word 2F0h(see
14、 note) Data block number word Data count word User data words (up to 255 words) LABEL: FORM: C-ID: IDn: Parameter n: SMPTE label for metadata of class camera positioning information (16 words) Data type identification flag word (1 word) Camera identification words (3 words) Parameter identification
15、words (3 words for each parameter) Parameter data words (9 words for each parameter) CS: Check sum NOTE This DID indicates that the UDWs carry metadata. The specific class of metadata is indicated by the LABEL. It is necessary to decode both the DID and the LABEL to identify the UDWs as carrying cam
16、era positioning information. Figure 2 ASCII-type camera positioning data packet 5 User data words 5.1 SMPTE universal label (LABEL) The 16 words UDW 0-15 carry the SMPTE-administered universal label to identify the class of metadata camera positioning information. The label has the value: iso org sm
17、pte (52) registry(1) mpeg(1) rid(1) version1(1) C(67) A(65) P(80) O(79) and the word sequence is: 06 0E 2B 34 01 01 01 01 43 41 50 4F 00 00 00 00 The 4 words UDW 8-11 are the ISO/IEC 13818-1 (MPEG) registration identifier. 5.2 Data type identification flag word (FORM) The data type identification fl
18、ag word (FORM) indicates the data type of the camera identification word (C-ID), parameter identification word (IDn), and parameter data word (parameter n) contained in the packet. Bit assignments of the data type identification flag word and the data type code are shown in tables 1 and 2, respectiv
19、ely. SMPTE 315M-2004 Page 4 of 19 pages Table 1 Bit assignment of data-type identification flag word (DID) Bit address Data-type identification flag b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b(0-7) AUX AUX AUX AUX AUX AUX FORM 1 FORM 0 NOTE FORM (0-1): Data type code AUX: User
20、 defined Table 2 Data-type code FORM 1 FORM 0 Data type 0 0 Binary 0 1 ASCII 1 0 Reserved 1 1 Reserv5.3 Camera identification word(s) (C-ID) The camera identification word(s) indicate(s) the camera number by which the object is shot. It should be noted that the camera number may be any value from 0
21、through 255, inclusively. 5.3.1 Binary-type camera identification word The bit assignment of the binary-type camera identification word is shown in table 3. Table 3 Bit assignment of binary-type camera identification word Bit address Binary-type camera identification b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1
22、 b0 (LSB) Not b8 Even parity for b(0-7) C7 (MSB) C6 C5 C4 C3 C2 C1 C0 (LSB) NOTE C(0-7): Camera number data 5.3.2 ASCII-type camera identification words Three ASCII-coded characters are used to express the camera number (000 through 255). ASCII-type camera identification is mapped into three contigu
23、ous ancillary data words (X, X+1, X+2) as shown in table 4. SMPTE 315M-2004 Page 5 of 19 pages Table 4 Bit assignment of ASCII-type camera identification word ASCII-type camera identification Bit address X X+1 X+2 b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b(0-7) C7 (MSB) C6 C5
24、 C4 C3 C2 C1 C0 (LSB) Not b8 Even parity for b(0-7) C15 (MSB) C14 C13 C12 C11 C10 C9 C8 (LSB) Not b8 Even parity for b(0-7) C23 (MSB) C22 C21 C20 C19 C18 C17 C16 (LSB) NOTES C(0-23): C(0-7): C(8-15): C(16-23): Camera number data The first character (hundreds) (0, 1, 2) The second character (tens) (0
25、 through 9, but maximum value is 5 when Word X is 2.) The third character (units) (0 through 9, but maximum value is 5 when Word X is 2 and Word X+1 is 5) 5.4 Parameter identification word (IDn) Each parameter datum is preceded by a parameter identification word(s) which indicate(s) the content clas
26、sification of the parameter. 5.4.1 Binary-type parameter identification word The bit assignment of the binary-type parameter identification word is shown in table 5. Parameter identification codes are shown in table 6. Table 5 Bit assignment of binary-type parameter identification word Bit address B
27、inary-type camera identification b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b(0-7) P7 (MSB) P6 P5 P4 P3 P2 P1 P0 (LSB) NOTE P(0-7): Parameter identification code SMPTE 315M-2004 Page 6 of 19 pages Table 6 Parameter identification code Identification code Binary type ASCII type
28、Classification of parameter 00h0 0 0 Reserved 01h 02h 03h0 0 0 0 0 0 1 2 3 Camera relative position Xc Camera relative position Yc Camera relative position Zc 04h0 0 4 Camera pan 05h0 0 5 Camera tilt 06h0 0 6 Camera roll 07h 08h 09h0 0 0 0 0 0 7 8 9 Origin of world coordinate longitude Origin of wor
29、ld coordinate latitude Origin of world coordinate altitude 0Ah0 1 0 Vertical angle of view 0Bh0 1 1 Focus distance 0Ch0 2 Lens opening (iris or f-value) 0Dh : : : 2Fh0: : : 0 1: : : 4 3: : : 7 Reserved 30h0 4 8 Time address information 31h : : : 4Fh0: : : 0 4: : : 7 9: : : 9 Reserved 50h 51h 52h0 0
30、0 8 8 8 0 1 2 Object 1 relative position Xo Object 1 relative position Yo Object 1 relative position Zo 53h : : : 7Ch0: : : 1 8: : : 2 3: : : 4 Object 2 relative position Xo : : : Object 15 relative position Zo7Dh 7Eh 7Fh1 1 1 2 2 2 5 6 7 Object 16 relative position Xo Object 16 relative position Yo
31、 Object 16 relative position Zo80h : : : : : FFh1: : : : : 2 2: : : : : 5 8: : : : : 5 User defined 5.4.2 ASCII-type parameter identification words Three ASCII-coded characters are used to express the parameter identification code (000 through 255). ASCII-type parameter identification is mapped into
32、 three contiguous ancillary data words (X, X+1, X+2) as shown in table 7. Parameter identification codes are shown in table 6. SMPTE 315M-2004 Page 7 of 19 pages Table 7 Bit assignment of ASCII-type parameter identification words ASCII-type parameter identification Bit address X X+1 X+2 b9 (MSB) b8
33、b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b(0-7) P7 (MSB) P6 P5 P4 P3 P2 P1 P0 (LSB) Not b8 Even parity for b(0-7) P15 (MSB) P14 P13 P12 P11 P10 P9 P8 (LSB) Not b8 Even parity for b(0-7) P23 (MSB) P22 P21 P20 P19 P18 P17 P16 (LSB) NOTES P(0-23): P(0-7): P(8-15): P(16-23): Parameter identi
34、fication data The first character (hundreds) (0, 1, 2) The second character (tens) (0 through 9, but maximum value is 5 when Word X is 2.) The third character (units) (0 through 9, but maximum value is 5 when Word X is 2 and Word X+1 is 5) 5.5 Parameter data word (Parameter n) There are two types of
35、 parameter data words the binary type and the ASCI I type. 5.5.1 Binary-type parameter data word 5.1.1 Bit-assignment of binary-type parameter data word (except time address information) The binary-type parameter data word (except time address information) is mapped into four contiguous ancillary da
36、ta words (X, X+1, X+2, X+3) as shown in table 8. The data representation conforms to ANSI/IEEE-754, the binary floating-point arithmetic standard. A 32-bit format for a binary floating-point number Y is divided as shown in figure 3. The component fields of Y are the 1-bit sign s, the 8-bit biased ex
37、ponent e, and the 23-bit fraction f. Bit D31 corresponds to s, D(30-23) to e, and D(22-0) to f. 5.5.1.2 Bit-assignment for time address information of binary-type parameter data word The bit-assignment for time address information of binary-type parameter data word is as shown in table 9. 5.5.2 ASCI
38、I-type parameter data word 5.5.2.1 Bit-assignment of ASCII-type parameter data word (except time address information) The ASCII-type parameter data word (except time address information) is mapped into nine contiguous ancillary data words (X, X+1, X+2, ., X+8) as shown in table 10. These words indic
39、ate the symbol (+ or ), integer part, decimal point, and fractional part. The decimal point can be omitted if not required. Table 11 shows the word number to be used for each part. 5.5.2.2 Bit-assignment for time address information of ASCII-type parameter data word The bit-assignment for time addre
40、ss information of ASCII-type parameter data word is as shown in table 12. Table 13 shows the definition for Word X+6 which identifies field number and drop-frame mode. SMPTE 315M-2004 Page 8 of 19 pages Table 8 Bit assignment of binary-type parameter data word (except time address information) Binar
41、y-type parameter data Bit address X X+1 X+2 X+3 b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b(0-7) D7 (MSB) D6 D5 D4 D3 D2 D1 D0 (LSB) Not b8 Even parity for b(0-7) D15 (MSB) D14 D13 D12 D11 D10 D9 D8 (LSB) Not b8 Even parity for b(0-7) D23 (MSB) D22 D21 D20 D19 D19 D17 D16 (LSB
42、) Not b8 Even parity for b(0-7) D31 (MSB) D30 D29 D28 D27 D26 D25 D24 (LSB) NOTE D(0-31): Binary-type parameter data. s e f D31 D30 D23 D22 D0 Figure 3 Format of binary floating point (single-precision format) Table 9 Bit assignment for time address information of binary-type parameter data word Bin
43、ary-type parameter data Bit address X X+1 X+2 X+3 b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 Even parity for b0-b7 Color frame flag (15)* Drop frame flag (14)* Tens of frames (13) Tens of frames (12) Units of frames (5) Units of frames (4) Units of frames (3) Units of frames (2) Not b8 Even pa
44、rity for b0-b7 Field flag (35) Tens of seconds (34) Tens of seconds (33) Tens of seconds (32) Units of seconds (25) Units of seconds (24) Units of seconds (23) Units of seconds (22) Not b8 Even parity for b0-b7 Reserved (set to zero) Tens of minutes (54) Tens of minutes (53) Tens of minutes (52) Uni
45、ts of minutes (45) Units of minutes (44) Units of minutes (43) Units of minutes (42) Not b8 Even parity for b0-b7 Reserved (set to zero) Reserved (set to zero) Tens of hours (73) Tens of hours (72) Units of hours (65) Units of hours (64) Units of hours (63) Units of hours (62) NOTES 1 The number bet
46、ween parentheses expresses the bit number of the VITC defined in SMPTE 12M. 2 Flags with an asterisk (*) may not be used according to television systems; in this case, they should be set to zero as reserved bits. SMPTE 315M-2004 Page 9 of 19 pages Table 10 Bit assignment of ASCII-type parameter data
47、 word (except time address information) ASCII-type parameter data Bit address X X+1 X+2 X+3 X+4 X+5 X+6 X+7 X+8 b9 (MSB) b8 b7 b6 b5 b4 b3 b2 b1 b0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7
48、 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) Not b8 P A7 (MSB) A6 A5 A4 A3 A2 A1 A0 (LSB) NOTE A0-A7: ASCII code P: Even parity for
49、 b0-b7 Table 11 Word number used for each part Word number Remarks Symbol Word X + or Integral part Words X+1 to X+8 ASCII coded 0 should be inserted into the remaining words where active numbers are not assigned. Decimal part Words X+2 to X+8 or NOT exist The decimal point can be omitted if not required. In this case, words X+1 to X+8 represent an integer value. (Word X represents symbol.) Fractional part Words
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1