Transmitting device, transmitting method, receiving device, receiving method, and transmitting / receiving device
The solution allows for the transmission of pixel data with varying bit widths in a single packet by using a header with separation information, improving data transmission efficiency by reducing the need for multiple packets.
Patent Information
- Application Number
- JP2021526007
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-06-14
- Filing Date
- 2020-06-01
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-06-01
AI Technical Summary
Conventional MIPI and SLVS-EC standards do not allow for the storage and transmission of pixel data with multiple types of gradations having different bit widths in a single packet payload.
A transmitting device and method that generate a packet payload storing multiple types of unit data with different bit widths, including a header with separation information, and a receiving device and method that separate and output data based on this information, enabling the transmission and reception of pixel data with varying bit widths in a single packet.
Enhances data transmission efficiency by allowing mixed gradation pixel data in one payload, reducing the need for multiple packets and minimizing the decrease in efficiency due to increased control codes.
Smart Images

Figure 0007558938000007 
Figure 0007558938000008 
Figure 0007558938000009
Abstract
Description
[Technical field]
[0001] The present technology relates to a transmitting device, a transmitting method, a receiving device, a receiving method, and a transmitting / receiving device, and in particular to a transmitting device, a transmitting method, a receiving device, a receiving method, and a transmitting / receiving device that enable multiple data of different bit widths to be stored in the payload of a single packet and transmitted. [Background technology]
[0002] Interface standards for data transmission between chips, such as between an image sensor and a DSP, include the Mobile Industry Processor Interface (MIPI) standard and the Scalable Low Voltage Signaling-Embedded Clock (SLVS-EC) standard.
[0003] In the MIPI and SLVS-EC standards, the data of each pixel that composes one frame of the image to be transmitted is stored in the payload of one packet on a line-by-line basis and transmitted. The payload of one packet stores the data of pixels of one type of gradation with the same bit width that compose one line. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2012-120159 A Summary of the Invention [Problem to be solved by the invention]
[0005] Conventional MIPI standards, for example, do not allow pixel data of multiple types of gradations with different bit widths to be stored in the payload of one packet and transmitted.
[0006] The present technology has been developed in light of these circumstances, and makes it possible to store multiple pieces of data with different bit widths in the payload of a single packet and transmit it. [Means for solving the problem]
[0007] A transmission device according to a first aspect of the present technology includes: Bit Width A payload that contains multiple types of unit data with different and generating the payload storing the unit data constituting one line of an image for each type of bit width. a header including separation information including an identifier indicating that a plurality of types of the unit data are stored in the payload; The payload The data transmission device includes a packet generating unit that generates packets used to transmit data of each line that constitutes a frame in which the data to be transmitted is arranged in a predetermined format by adding the data, and a transmitting unit that transmits the packets.
[0008] A receiving device according to a second aspect of the present technology includes: Bit Width A payload that contains multiple types of unit data with different and generating the payload storing the unit data constituting one line of an image for each type of bit width. a header including separation information including an identifier indicating that a plurality of types of the unit data are stored in the payload; The payload The data transmission method includes a receiving unit that receives packets used to transmit data of each line that constitutes a frame in which the data to be transmitted is arranged in a predetermined format, the data being generated by adding the data, and a separating unit that separates each of the unit data having a different bit width based on the separation information and outputs the separated data.
[0009] In a first aspect of the present technology, Bit Width A payload that contains multiple types of unit data with different and generating the payload storing the unit data constituting one line of an image for each type of bit width. a header including separation information including an identifier indicating that a plurality of types of the unit data are stored in the payload; The payload By adding the data, a packet is generated which is used to transmit data of each line constituting a frame in which the data to be transmitted is arranged in a predetermined format, and the packet is transmitted.
[0010] In a second aspect of the present technology, Bit WidthA payload that contains multiple types of unit data with different The payload stores the unit data for each bit width of one line of an image. A packet is received which is used to transmit data for each line constituting a frame in which the data to be transmitted is arranged in a predetermined format, the frame being generated by adding a header including separation information including an identifier indicating that multiple types of unit data are stored in the payload, and each of the unit data having a different bit width is separated based on the separation information and output. [Brief description of the drawings]
[0011] [Figure 1] 1 is a diagram illustrating a configuration example of a transmission system according to an embodiment of the present technology. [Diagram 2] FIG. 1 is a diagram illustrating an example of a format used for data transmission. [Diagram 3] FIG. 2 is an enlarged view of information included in a header. [Figure 4] FIG. 13 is a diagram illustrating an example of data stored in a payload. [Diagram 5] FIG. 13 is a diagram illustrating an example of data transmission. [Figure 6] FIG. 1 is a diagram illustrating an example of a multi-camera system. [Figure 7] FIG. 1 illustrates an example of an ROI sensor system. [Figure 8] FIG. 13 is a diagram showing an example of an output from a ROI sensor. [Figure 9] FIG. 13 is a diagram illustrating an example of a storage pattern. [Figure 10] FIG. 13 is a diagram showing another example of a storage pattern. [Figure 11] FIG. 13 is a diagram showing yet another example of a storage pattern. [Figure 12] FIG. 13 is a diagram illustrating an example of a storage pattern. [Figure 13] FIG. 11 is a diagram illustrating an example of separation information. [Figure 14] FIG. 13 is a diagram showing an example of the meaning of a Data ID value. [Figure 15] FIG. 13 is a diagram illustrating an example of setting a Data ID. [Figure 16]FIG. 13 is a diagram showing another example of setting the Data ID. [Figure 17] FIG. 13 is a diagram illustrating an example of how separation information is used. [Figure 18] FIG. 13 is a diagram showing another example of use of separation information. [Figure 19] FIG. 13 is a diagram showing an example of an ROI image. [Figure 20] FIG. 13 is a diagram illustrating an example of how separation information is stored. [Figure 21] 4 is a block diagram showing an example of the configuration of a transmission unit; FIG. [Figure 22] FIG. 13 is a diagram illustrating an example of data transmission. [Figure 23] FIG. 13 is a diagram illustrating an example of a stream. [Figure 24] FIG. 13 is a block diagram showing another example configuration of the transmission unit. [Diagram 25] FIG. 11 is a diagram illustrating another example of data transmission. [Figure 26] FIG. 13 is a diagram illustrating an example of a stream. [Figure 27] 4 is a block diagram showing a configuration example of a receiving unit; FIG. [Figure 28] 11 is a flowchart illustrating a process of a transmission unit. [Figure 29] 11 is a flowchart illustrating a process of a receiving unit. [Diagram 30] FIG. 1 illustrates an example of a TOF sensor system. [Diagram 31] FIG. 13 is a diagram showing an example of a format of output data from a TOF sensor. [Diagram 32] FIG. 2 is a diagram illustrating an example of a packet configuration. [Diagram 33] FIG. 2 is a diagram illustrating an example of the configuration of a transmitting unit and a receiving unit. [Diagram 34] FIG. 13 is a diagram illustrating an example of header information. [Diagram 35] FIG. 13 is a diagram illustrating an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 8 bits. [Diagram 36] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 10 bits. [Figure 37]FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 12 bits. [Figure 38] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 14 bits. [Figure 39] FIG. 13 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 16 bits. [Diagram 40] FIG. 11 is a diagram illustrating an example of payload data. [Diagram 41] FIG. 13 is a diagram showing another example of payload data. [Diagram 42] FIG. 13 is a diagram showing an example of payload data into which parity has been inserted. [Diagram 43] FIG. 13 is a diagram showing a state in which a header is added to payload data. [Diagram 44] FIG. 13 is a diagram showing a state in which a header and a footer are added to payload data. [Diagram 45] FIG. 13 is a diagram showing a state in which a header is added to payload data into which parity has been inserted. [Figure 46] FIG. 13 is a diagram illustrating an example of packet data allocation. [Figure 47] FIG. 11 is a diagram illustrating an example of a control code. [Figure 48] FIG. 13 is a diagram showing the value of K Character. [Figure 49] FIG. 13 is a diagram showing an example of inserting a Pad Code. [Figure 50] FIG. 13 is a diagram showing an example of packet data after a control code is inserted. [Figure 51] FIG. 13 is a diagram illustrating an example of data skew correction. [Figure 52] FIG. 2 is a block diagram showing an example of the configuration of a computer. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an embodiment of the present technology will be described in the following order. 1. Transmission system configuration example 2.Frame Format 3. Example of a payload that stores data for multiple pixels with different gradations 4. Application Examples 5. Storage pattern examples 6. Examples of Separation Information 7. Configuration of transmitter and receiver 8. Operation of the transmitter and receiver 9.Other Application Examples 10. About the SLVS-EC standard 11. Variations
[0013] <Example of transmission system configuration> FIG. 1 is a diagram illustrating an example of a configuration of a transmission system according to an embodiment of the present technology.
[0014] The transmission system 1 in Fig. 1 is composed of a transmitting side LSI 11 and a receiving side LSI 12. The transmitting side LSI 11 and the receiving side LSI 12 are provided in the same device having an imaging function, such as a digital camera or a mobile phone. The transmitting side LSI 11 is provided with an information processing unit 21 and a transmitting unit 22, and the receiving side LSI 12 is provided with a receiving unit 31 and an information processing unit 32.
[0015] The information processing unit 21 of the transmission side LSI 11 has an imaging element such as a CMOS (Complementary Metal Oxide Semiconductor) image sensor. The information processing unit 21 performs A / D conversion of a signal obtained by photoelectric conversion of light received by the imaging element, and outputs pixel data constituting one frame of an image to the transmission unit 22 one pixel at a time.
[0016] The transmitting unit 22 assigns the data of each pixel supplied from the information processing unit 21 to a plurality of transmission paths, for example, in the order in which the data is supplied from the information processing unit 21, and transmits the data in parallel to the receiving side LSI 12 via the plurality of transmission paths. In the example of FIG. 1, the pixel data is transmitted using eight transmission paths. The transmission paths between the transmitting side LSI 11 and the receiving side LSI 12 may be wired transmission paths or wireless transmission paths. Hereinafter, the transmission paths between the transmitting side LSI 11 and the receiving side LSI 12 are appropriately referred to as lanes.
[0017] The receiving section 31 of the receiving side LSI 12 receives the pixel data transmitted from the transmitting section 22 via the eight lanes, and outputs the data of each pixel to the information processing section 32 in sequence.
[0018] The information processing unit 32 generates one frame of image based on the pixel data supplied from the receiving unit 31, and performs various image processing using the generated image. The image data transmitted from the transmitting side LSI 11 to the receiving side LSI 12 is, for example, RAW data, and the information processing unit 32 performs various processes such as compressing the image data, displaying the image, and recording the image data on a recording medium. In addition to the RAW data, JPEG data and additional data other than pixel data may also be transmitted from the transmitting side LSI 11 to the receiving side LSI 12.
[0019] As described above, data is transmitted and received between the transmitting unit 22 provided in the transmitting-side LSI 11 and the receiving unit 31 provided in the receiving-side LSI 12 of the transmission system 1 using a plurality of lanes.
[0020] It is also possible to provide the same number of transmitters 22 and receivers 31. In this case, data transmission and reception using a plurality of lanes is performed between each pair of the transmitter 22 and receiver 31.
[0021] Data transmission and reception between the transmitting unit 22 and the receiving unit 31 is performed in accordance with, for example, the SLVS-EC standard.
[0022] In the SLVS-EC standard, an application layer, a link layer, and a physical layer are defined according to the contents of signal processing. Signal processing of each layer is performed by the transmitter 22 on the transmitting side (Tx) and the receiver 31 on the receiving side (Rx).
[0023] Details will be described later, but basically, signal processing is carried out in the link layer to realize the following functions: 1. Pixel data to byte data conversion 2. Payload data error correction 3. Packet Data and Ancillary Data Transmission 4. Payload data error correction using packet footer 5. Lane Management 6. Protocol management for packet generation
[0024] On the other hand, in the physical layer, basically, signal processing is carried out to realize the following functions. 1.Generating and extracting control codes 2. Bandwidth control 3. Controlling skew between lanes 4. Symbol placement 5. Symbol coding for bit synchronization 6.SERDES(SERializer / DESerializer) 7. Clock Generation and Playback 8. SLVS (Scalable Low Voltage Signaling) signal transmission
[0025] <Frame format> FIG. 2 is a diagram showing an example of a format used for data transmission between the transmitting side LSI 11 and the receiving side LSI 12. As shown in FIG.
[0026] Between the transmitting side LSI 11 and the receiving side LSI 12, data is transmitted for each frame of image, for example, using a frame format as shown in Fig. 2. Transmission of images of multiple frames may also be performed using the frame format as shown in Fig. 2.
[0027] The effective pixel area A1 is an area of effective pixels in a captured image. An image to be transmitted is placed in the effective pixel area A1. A margin area A2, whose number of pixels in the vertical direction is the same as that of the effective pixel area A1, is set to the left of the effective pixel area A1.
[0028] A front dummy area A3 is set above the effective pixel area A1, and the number of pixels in the horizontal direction is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction. In the example of Fig. 2, Embedded Data is inserted into the front dummy area A3. The Embedded Data includes information on settings related to imaging by the information processing unit 21, such as shutter speed, aperture value, and gain. Embedded Data may also be inserted into the rear dummy area A4.
[0029] Below the effective pixel area A1, a rear dummy area A4 is set, the number of pixels in the horizontal direction of which is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction.
[0030] The effective pixel area A1, the margin area A2, the front dummy area A3, and the rear dummy area A4 constitute an image data area A11.
[0031] A header is added before each line that constitutes the image data area A11, and a start code is added before the header. In addition, a footer is optionally added after each line that constitutes the image data area A11, and a control code such as an end code (described later) is added after the footer. If a footer is not added, a control code such as an end code is added after each line that constitutes the image data area A11.
[0032] For example, every time one frame of image is transmitted from the transmitting LSI 11 to the receiving LSI 12, the entire data in the format shown in FIG. 2 is transmitted as transmission data.
[0033] The band shown at the top of Fig. 2 shows the structure of packets used to transmit the transmission data shown at the bottom. If the horizontal row of pixels is considered to be a line, the payload of one packet stores the data of the pixels that make up one line of the image data area A11. The transmission of the entire image data of one frame is performed using packets whose number is equal to or greater than the number of pixels in the vertical direction of the image data area A11.
[0034] A packet is constructed by adding a header and footer to a payload that stores one line of pixel data. The header contains additional information about the pixel data stored in the payload, such as Frame Start, Frame End, Line Valid, and Line Number. At least the Start Code and End Code, which are control codes, are added to each packet.
[0035] In this way, by adopting a format in which the pixel data that constitutes one frame of an image is transmitted line by line, it becomes possible to transmit additional information such as a header and control codes such as a start code and end code during the blanking period for each line.
[0036] FIG. 3 is an enlarged view of the information contained in the header.
[0037] As shown in FIG. 3, the header is made up of header information and a Header ECC.
[0038] The header information includes Frame Start, Frame End, Line Valid, Line Number, Embedded Line, Data ID, and Reserved.
[0039] Frame Start is 1-bit information indicating the beginning of a frame. A value of 1 is set to Frame Start in the header of a packet used to transmit pixel data of the first line in the image data area A11 in Fig. 2, and a value of 0 is set to Frame Start in the header of a packet used to transmit pixel data of other lines.
[0040] Frame End is 1-bit information indicating the end of a frame. The Frame End of the header of a packet that contains in its payload the pixel data of the last line of the effective pixel area A1 is set to a value of 1, and the Frame End of the header of a packet used to transmit pixel data of other lines is set to a value of 0.
[0041] Frame Start and Frame End constitute frame information, which is information relating to a frame.
[0042] "Line Valid" is 1-bit information that indicates whether the line of pixel data stored in the payload is a line of valid pixels. A value of 1 is set to "Line Valid" in the header of a packet used to transmit pixel data of a line within the valid pixel area A1, and a value of 0 is set to "Line Valid" in the header of a packet used to transmit pixel data of other lines.
[0043] The Line Number is 13-bit information that indicates the line number of the line composed of the pixel data stored in the payload.
[0044] Line Valid and Line Number constitute line information, which is information about the line.
[0045] The Embedded Line is 1-bit information that indicates whether or not the packet is used to transmit a line in which Embedded Data is inserted. For example, the Embedded Line in the header of a packet used to transmit a line containing Embedded Data is set to a value of 1, and the Embedded Line in the header of a packet used to transmit other lines is set to a value of 0.
[0046] The Data ID is an identifier for the data to be transmitted. For example, 4 bits are assigned to the Data ID. As will be described later, the Data ID indicates that data for multiple pixels with different gradations is stored in the payload.
[0047] The area following the Data ID is a reserved area.
[0048] As shown in Fig. 3, the Header ECC placed following the header information includes a CRC (Cyclic Redundancy Check) code, which is an error detection code calculated based on the header information. In addition, the Header ECC includes two pieces of information following the CRC code, which are the same as the 8-byte information that is a set of the header information and the CRC code.
[0049] That is, one packet header contains three sets of the same header information and CRC code. The total data size of the header is 24 bytes, consisting of, for example, the first set of 8 bytes of header information and CRC code, the second set of 8 bytes of header information and CRC code, and the third set of 8 bytes of header information and CRC code.
[0050] <Example of a payload that stores data for multiple pixels with different gradations> FIG. 4 is a diagram illustrating an example of data stored in the payload.
[0051] As shown in FIG. 4, the payload of a packet transmitted between the transmitting LSI 11 and the receiving LSI 12 stores pixel data of a plurality of gradations, that is, Type 1 data and Type 2 data.
[0052] Type 1 data is data for pixels with 8-bit gradation (pixels whose gradation is expressed in 8 bits), and Type 2 data is data for pixels with 12-bit gradation (pixels whose gradation is expressed in 12 bits).
[0053] That is, in the payload of one packet shown in FIG. 4, a plurality of types of unit data, each of which has a different bit width, are stored, with the data of one pixel being treated as unit data.
[0054] In the example of Fig. 4, Type 1 data and Type 2 data are arranged alternately. One block with the characters Type 1 data and one block with the characters Type 2 data represent 8-bit data of one pixel and 12-bit data of one pixel, respectively. The storage pattern shown in Fig. 4 is a pattern when pixel data of multiple gradations is stored periodically for each pixel data.
[0055] 4, the receiver 31 of the receiver LSI 12 separates the Type 1 data to obtain one line consisting of 8-bit pixels, as indicated by the solid arrow, and separates the Type 2 data to obtain one line consisting of 12-bit pixels, as indicated by the dashed arrow.
[0056] 3, the header contains information indicating that pixel data of multiple gradations is stored in the payload, and information indicating the period and range of Type 1 data and Type 2 data. In the receiving side LSI 12, the Type 1 data and Type 2 data are separated based on the separation information including this information.
[0057] By sequentially separating Type 1 data and Type 2 data for packets transmitting each line that constitutes one frame, the receiving LSI 12 obtains the entire image of one frame consisting of 8-bit pixels and the entire image of one frame consisting of 12-bit pixels.
[0058] In this way, when transmitting the entire pixel data of one line using one packet, it is possible to mix pixel data of multiple gradations in one payload, thereby making data transmission more efficient.
[0059] Consider the case where pixel data of multiple gradations cannot be mixed in one payload, i.e., one packet payload can only store pixel data of one type of gradation. In this case, if an 8-bit image (image composed of 8-bit pixels) and a 12-bit image (image composed of 12-bit pixels) are to be transmitted, two packets must be used for each line, as shown in Figure 5.
[0060] As described with reference to Fig. 3, in the SLVS-EC standard, a control code is set for each line of data transmitted. When transmitting two packets, the efficiency of data transmission decreases by the amount of control codes and other information that is greater than when transmitting one packet. By making it possible to mix pixel data of multiple gradations in one payload, it becomes possible to prevent such a decrease in the efficiency of data transmission.
[0061] <Application Examples> A transmission method in which pixel data of multiple gradations are mixed in one payload can be applied to various applications. Hereinafter, the transmission method in which pixel data of multiple gradations are mixed in one payload is appropriately referred to as a multi-gradation transmission method.
[0062] ·Multi-camera system FIG. 6 is a diagram showing an example of a multi-camera system.
[0063] A multi-camera system is a system that transmits a plurality of images obtained by, for example, simultaneously capturing images using a plurality of image sensors.
[0064] In the example of FIG. 6, a 12-bit image captured by the image sensor S1 and a 10-bit image captured by the image sensor S2 are output from the respective image sensors and input to the multi-view image processing LSI.
[0065] In the multi-view processing LSI, a packet is generated in which all the pixels of a predetermined line constituting a 12-bit image and all the pixels of a predetermined line constituting a 10-bit image are stored in one payload, and transmitted to the host controller. In the example of Fig. 6, the 12-bit image captured by the image sensor S1 is treated as an RGB image, and the 10-bit image captured by the image sensor S2 is treated as a depth image.
[0066] In this way, in a multi-camera system, a multi-gradation transmission method is used for data transmission from the multi-eye processing LSI to the host controller.
[0067] 1, for example, the functions of the image sensors S1 and S2 are realized by the information processing unit 21 (multiple image sensors are provided in the information processing unit 21). Also, the function of the multi-lens processing LSI is realized by the transmission unit 22. The function of the host controller is realized by the reception unit 31 and the information processing unit 32.
[0068] By applying the multi-level transmission method to a multi-camera system, it is possible to efficiently transmit 12-bit RGB images and 10-bit depth images, achieving low-latency data transmission.
[0069] ·ROI (Region of Interest) Sensor System FIG. 7 is a diagram illustrating an example of an ROI sensor system.
[0070] The ROI sensor system is a system that sets an ROI region (region of interest) and a non-ROI region by analyzing an image, and transmits pixel data of each region as data of different gray scales.
[0071] In the example of FIG. 7, the captured image is analyzed by the ROI sensor S11, and, for example, 12-bit pixels of the ROI area and 8-bit pixels of the non-ROI area are output from the ROI sensor S11 and input to the image processing LSI.
[0072] FIG. 8 is a diagram showing an example of the output of the ROI sensor S11.
[0073] In the ROI sensor S11, based on the analysis result of the image, an ROI region and a non-ROI region are set as shown in Fig. 8. In the example of Fig. 8, of the entire image, a substantially square region in the upper left and a parallelogram region in the lower right are set as ROI regions #1 and #2, respectively, and the other regions are set as non-ROI regions.
[0074] In the image processing LSI of FIG. 7, when transmitting a specific line constituting an image, if that line includes pixels of the ROI area and pixels of the non-ROI area, a packet is generated in which the pixels of the ROI area and the pixels of the non-ROI area, which have different gradations, are stored in one payload, and the packet is transmitted to the host controller.
[0075] Thus, in the ROI sensor system, a multi-tone transmission method is used for data transmission from the image processing LSI to the host controller.
[0076] 1, for example, the function of the ROI sensor S11 is realized by the information processing unit 21, and the function of the image processing LSI is realized by the transmission unit 22. The function of the host controller is realized by the reception unit 31 and the information processing unit 32.
[0077] By applying the multi-gradation transmission method to the ROI sensor system, it becomes possible to efficiently transmit 12-bit ROI area data and 8-bit non-ROI area data. It also becomes possible to transmit non-ROI area data with reduced gradation.
[0078] As described above, the multi-gradation transmission method is applicable to various systems that transmit data of multiple pixels with different gradations. The case where the method is applied to a system that transmits data other than data of one pixel as unit data will be described later.
[0079] <Storage pattern example> Storage pattern example 1 FIG. 9 is a diagram showing an example of a storage pattern.
[0080] 9, Type 1 data is stored in the section from position P1 to position P2 of the entire payload, and Type 2 data is stored in the section from position P2 to position P3. In the section from position P1 to position P2, Type 1 data is stored consecutively for the number of pixels constituting one line. In addition, in the section from position P2 to position P3, Type 2 data is stored consecutively for the number of pixels constituting one line.
[0081] In this case, the separation information stored in the header includes at least information indicating the period and range of Type 1 data and Type 2 data.
[0082] In the receiving section 31, it is determined based on the separation information that the gray scale changes at the position P2, and the Type 1 data and the Type 2 data are separated.
[0083] In this way, in the multi-gradation transmission method, it is possible to store a plurality of pixels worth of Type 1 data and Type 2 data together.
[0084] Storage pattern example 2 FIG. 10 is a diagram showing another example of the storage pattern.
[0085] 10, three types of pixel data with different gradations are alternately arranged: Type 1 data, Type 2 data, and Type 3 data. Type 1 data, Type 2 data, and Type 3 data are 8-bit, 12-bit, and 14-bit pixel data, respectively.
[0086] In this case, the separation information stored in the header includes at least information indicating the cycles and ranges of Type 1 data, Type 2 data, and Type 3 data.
[0087] In the receiving section 31, the grayscale switching positions are identified based on the separation information, and the data is separated into Type 1 data, Type 2 data, and Type 3 data.
[0088] In this way, in the multi-gradation transmission method, it is possible to store pixel data of three or more different gradations. There is no limit to the number of pixel gradations that can be stored in one payload.
[0089] There are no restrictions on the combination of gradations (bit widths) stored in one payload. Not only can 8-bit pixels and 12-bit pixels be combined, but combinations of 10-bit pixels and 14-bit pixels, for example, are also possible.
[0090] Storage pattern example 3 FIG. 11 is a diagram showing still another example of the storage pattern.
[0091] In the example of Fig. 11, two pixels of Type 2 data and one pixel of Type 1 data are stored alternately. In Fig. 11, the long width of one block of Type 2 data indicates that two pixels of Type 2 data are stored consecutively. The storage pattern shown in Fig. 11 is a pattern when pixel data of multiple gradations is stored periodically with two pixels of Type 2 data sandwiched between them for Type 1 data, and periodically with one pixel of Type 1 data sandwiched between them for Type 2 data.
[0092] In this case, the separation information stored in the header includes at least information indicating the period and range of Type 1 data and Type 2 data.
[0093] In the receiving section 31, the grayscale switching position is identified based on the separation information, and the Type 1 data and the Type 2 data are separated.
[0094] In this way, in the multi-tone transmission method, it is possible to store the tone switching period as different periods for Type 1 data and Type 2 data.
[0095] Storage pattern example 4 FIG. 12 is a diagram showing an example of a storage pattern.
[0096] 12, of the entire payload, Type 1 data is stored in the section from position P11 to position P12, Type 2 data is stored in the section from position P12 to position P13, and Type 1 data is stored in the section from position P13 to position P14.
[0097] In the section from position P11 to position P12 and in the section from position P13 to position P14, Type 1 data is stored consecutively for a plurality of pixels, while in the section from position P12 to position P13, Type 2 data is stored consecutively for a plurality of pixels.
[0098] In this case, the separation information stored in the header includes at least information indicating the range of each of the Type 1 data and the Type 2 data.
[0099] In the receiving section 31, it is determined based on the separation information that the grayscale changes at positions P12 and P13, and the Type 1 data and the Type 2 data are separated.
[0100] In this way, in the multi-gradation transmission method, it is possible to partially store Type 2 data in a predetermined section and store Type 1 data in the other section.
[0101] The storage pattern shown in Fig. 12 is used, for example, in a ROI sensor system when transmitting pixels in an ROI region and pixels in a non-ROI region. As will be described later, position P12 corresponds to the start position (position of the leftmost pixel) of the ROI region when the head (left end) of the line is used as a reference, and position P13 corresponds to the end position (position of the rightmost pixel) of the ROI region.
[0102] The storage patterns shown in Figs. 9 to 11 are used in, for example, a multi-camera system.
[0103] In this way, the storage pattern in the multi-tone transmission method can be arbitrarily selected according to the application, etc.
[0104] <Example of separation information> Here, the separation information will be described in detail. When the receiver 31 receives a packet in which pixel data of multiple gradations is stored in one payload by the multi-gradation transmission method, the data of each pixel is separated based on the separation information included in the header.
[0105] FIG. 13 is a diagram illustrating an example of the separation information.
[0106] As shown in Fig. 13, in addition to Data ID (Fig. 3), Data mode, Data step 1, Data step 2, Data_ROI_Num, Data ROI start 1, and Data ROI width 1 are used as separation information. Data mode, Data step 1, Data step 2, Data_ROI_Num, Data ROI start 1, and Data ROI width 1 other than Data ID are described, for example, using the reserved area (Fig. 3), which is an empty area of the header.
[0107] The Data ID is 4-bit information. The Data ID indicates the data type of the data stored in the payload and is used as an identifier for the Multiple stream.
[0108] FIG. 14 is a diagram showing an example of the meaning of the value of Data ID.
[0109] Of the four bits that make up the Data ID, the most significant two bits [3:2] indicate the data type of the data stored in the payload.
[0110] For example, when the value of the upper two bits is 0, it indicates that data of multiple gradations is not stored in the payload.
[0111] A value of 1 in the upper two bits indicates that data of multiple gradations is stored in the payload in the order of 8 bits / 12 bits.
[0112] A value of 2 in the upper two bits indicates that data of multiple gradations is stored in the payload in the order of 12 bits / 8 bits.
[0113] The lowest two bits of [1:0] out of the four bits that make up the Data ID are used as an identifier for Multiple Streams. Here, a stream corresponds to a data system. The lowest two bits of [1:0] are used to identify which system of data a packet is used to transmit.
[0114] For example, a value of 0 in the lowest two bits indicates that the packet is being used to transmit data of the first stream.
[0115] A value of 1 in the lowest two bits indicates that the packet is being used to transmit data of the second stream.
[0116] A value of 2 in the lowest two bits indicates that the packet is used to transmit data of the third stream.
[0117] The bit width assigned to each piece of information can be changed arbitrarily, such as using the upper three bits to indicate the data type of the data stored in the payload and using the lower bit for a Multiple stream identifier.
[0118] The data type of the data stored in the payload may be represented by information of a predetermined number of bits defined separately from the Data ID.
[0119] FIG. 15 is a diagram showing an example of setting the Data ID.
[0120] As shown in Fig. 15, when Type 1 data is stored in the first half of the payload of a packet used to transmit data on Line A and Type 2 data is stored in the second half of the payload, the value of Data ID is set to 0100. The data storage pattern shown in Fig. 15 is the same as the pattern described with reference to Fig. 9.
[0121] The upper two bits of the Data ID are 1h (01), which indicates that the payload contains pixel data of multiple gradations in the order of 8 bits / 12 bits. Also, the lower two bits are 0h (00), which indicates that the packet is used to transmit data of Line A as the first stream.
[0122] FIG. 16 is a diagram showing another example of setting the Data ID.
[0123] As shown in Fig. 16, a case will be described in which Type 1 data is stored in the entire payload of a packet used to transmit data on Line A, and Type 2 data is stored in the entire payload of a packet used to transmit data on Line B. In this case, 0000 is set as the Data ID value in the packet used to transmit data on Line A. Also, 0001 is set as the Data ID value in the packet used to transmit data on Line B.
[0124] The two most significant bits of the Data ID set in the packet used to transmit data for Line A are 0h (00), which indicates that pixel data of multiple gradations is not stored in the payload. Also, the two least significant bits are 0h (00), which indicates that the packet is used to transmit data for Line A as the first stream.
[0125] On the other hand, the value of the most significant 2 bits of the Data ID set in the packet used to transmit data of Line B is 0h (00), which indicates that pixel data of multiple gradations is not stored in the payload, and the value of the least significant 2 bits is 1h (01), which indicates that the packet is used to transmit data of Line B as the second stream.
[0126] In this way, the Data ID indicates at least whether pixel data of multiple gradations is stored in the payload, and if pixel data of multiple gradations is stored in the payload, the order of the data.
[0127] Returning to the explanation of Fig. 13, the Data mode is 1-bit information. The Data mode indicates whether the grayscale of a pixel switches periodically or partially.
[0128] For example, a Data mode value of 0 indicates that the grayscale of the pixel switches periodically.
[0129] Furthermore, a Data mode value of 1 indicates that the gradation of the pixel is changed partially.
[0130] Data step 1 is 2 bytes of information. Data step 1 indicates the switching cycle of Type 1 data when Data mode=0.
[0131] Data step 2 is 2 bytes of information. Data step 2 indicates the switching cycle of Type 2 data when Data mode=0.
[0132] Data_ROI_Num represents the number of ROI regions. When the packet is used to transmit pixels that constitute an ROI region, the number of ROI regions is represented by Data_ROI_Num. For example, a predetermined bit width according to the maximum number of expected ROI regions is assigned to Data_ROI_Num.
[0133] Data ROI start 1 is, for example, 2-byte information. Data ROI start 1 indicates the X coordinate (start position) of the first ROI region.
[0134] Data ROI width 1 is, for example, 2-byte information. Data ROI width 1 indicates the width of the first ROI region. The coordinate obtained by adding the width specified by Data ROI width 1 to the X coordinate specified by Data ROI start 1 becomes the coordinate of the end position of the first ROI region.
[0135] When the value of Data_ROI_Num is 2 or more, that is, when a packet is used to transmit pixels that constitute two or more ROI regions, Data ROI start and Data ROI width are described for each ROI region.
[0136] FIG. 17 is a diagram showing an example of how the separation information is used.
[0137] When the multi-level transmission method is applied to the multi-camera system (FIG. 6), as shown in bold in FIG. 17, Data ID, Data mode, Data step 1, and Data step 2 are used from among the pieces of information that make up the separation information.
[0138] When Type 1 data and Type 2 data are stored alternately in the payload for each pixel (FIG. 4), the value of Data ID is set to, for example, 0100.
[0139] Additionally, a value of 0 is set as the Data mode value, and a value of 1 is set as each of Data step 1 and Data step 2 values.
[0140] A Data mode value of 0 indicates that the pixel gradation changes periodically, while Data step 1 and Data step 2 values of 1 indicate that the gradation changes from 8 bits to 12 bits and from 12 bits to 8 bits for each pixel.
[0141] FIG. 18 is a diagram showing another example of how the separation information is used.
[0142] When the multi-tone transmission method is applied to the ROI sensor system (Fig. 7), Data ID, Data mode, Data_ROI_Num, Data ROI start 1, and Data ROI width 1 are used among the pieces of information that make up the separation information, as shown in bold in Fig. 18. Data ROI start and Data ROI width are added and described as appropriate depending on the number of ROI regions.
[0143] For example, a case will be described where pixel data of line L1, indicated by a thick line, constituting the image shown in Fig. 19 is transmitted. The image to be transmitted shown in Fig. 19 is the same image as the image described with reference to Fig. 8. ROI regions #1 and #2 are set in the image to be transmitted. Line L1 includes pixels constituting ROI region #2 in the section from position P1 to position P2.
[0144] In this case, for example, a value of 0100 is set as the Data ID value, and a value of 1 is set as the Data mode value. A Data mode value of 1 indicates that the gradation of the pixel is partially switched.
[0145] In addition, the value of Data_ROI_Num is set to a value indicating that the number of ROI regions is 1. The value of Data ROI start 1 is set to a value indicating the X coordinate of position P1 in FIG. 19, and the value of Data ROI width 1 is set to a value indicating the width equivalent to the distance from position P1 to position P2 in FIG. 19.
[0146] As shown in the lower part of FIG. 19, in the payload, Type 2 data is partially stored in a section corresponding to the section from position P1 to position P2, and Type 1 data is stored in the other sections.
[0147] FIG. 20 is a diagram showing an example of how separation information is stored.
[0148] As shown in FIG. 20, it is also possible to store part of the separation information at the beginning of the payload.
[0149] For example, when a multi-tone transmission method is applied to an ROI sensor system, depending on the number of ROI regions, it may not be possible to fit the Data ROI start and Data ROI width into the header. Since the Data ROI start and Data ROI width are information set for each ROI region, if the number of ROI regions included in the line to be transmitted is large, the data amount of the Data ROI start and Data ROI width may exceed the data amount of the free space in the header.
[0150] As shown in FIG. 20, by using the beginning of the payload to store part of the separation information, it is possible to transmit information about each ROI region even if the line to be transmitted contains a large number of ROI regions.
[0151] <Configuration of the transmitter and receiver> Transmitter configuration FIG. 21 is a block diagram showing an example of the configuration of the transmission unit 22. As shown in FIG.
[0152] As shown in FIG. 21, the transmission unit 22 includes a Core 51-1, a Core_sub 51-2, a memory 52, a Lane distributor 53, an 8B10B symbol encoder 54, and a PHY analog processor 55.
[0153] For example, a first stream output from the information processing unit 21 is input to Core 51-1, and a second stream is input to Core_sub 51-2. Core 51-1 and Core_sub 51-2 are signal processing circuits that process signals supplied from the outside.
[0154] The Core 51-1 includes a signal processing unit 61, a control unit 62, and a state control unit 63. The signal processing unit 61 includes a packing unit 71, a header / footer generation unit 72, and a packet generation unit 73.
[0155] The packing unit 71 of the signal processing unit 61 divides the data constituting the stream supplied from the outside into data of a predetermined bit width, such as 8-bit units or 12-bit units, to generate pixel data of a predetermined bit width (unit data having a predetermined bit width). The packing unit 71 outputs the data of each pixel to the memory 52 for storage.
[0156] The header / footer generation unit 72 references the data stored in the memory 52 and generates separation information according to the storage pattern of the data of each pixel in the payload. The header / footer generation unit 72 generates a header including the separation information and outputs it to the packet generation unit 73, and also outputs a footer including predetermined information to the packet generation unit 73 as appropriate.
[0157] The packet generator 73 generates a payload by reading pixel data stored in the memory 52 and storing the data of each pixel according to a storage pattern. The packet generator 73 generates a packet by adding a header generated by the header / footer generator 72 to the payload, and outputs the packet to the lane distributor 53.
[0158] The control unit 62 controls the overall processing in the signal processing unit 61. For example, the control unit 62 controls the storage pattern of the data of each pixel in the payload generated by the header / footer generating unit 72.
[0159] The state control unit 63 controls the state of the signal processing unit 61. Each process of the signal processing unit 61 is performed according to the state set by the state control unit 63.
[0160] Core_sub51-2 has the same configuration as Core 51-1. Core_sub51-2 performs the same processing as that performed by Core 51-1 on the second stream supplied from the outside.
[0161] The memory 52 is configured by, for example, a static random access memory (SRAM), and functions as a FIFO shared by the Core 51-1 and the Core_sub 51-2. The data of each pixel stored in the memory 52 is read out in the order in which it was stored.
[0162] FIG. 22 is a diagram illustrating an example of data transmission.
[0163] A case will be described where two streams supplied from the information processing unit 21 are transmitted as indicated by arrows A1 and A2 in FIG.
[0164] For example, in a multi-camera system, two streams output from an information processing unit 21 including multiple image sensors are input to a transmission unit 22. As shown in A of Fig. 23, the first stream input to Core 51-1 is 8-bit pixel data. Also, as shown in B of Fig. 23, the second stream input to Core_sub 51-2 is 12-bit pixel data.
[0165] The first stream consisting of 8-bit pixel data is processed in the packing unit 71 of Core 51-1 and stored in memory 52. The second stream consisting of 12-bit pixel data is processed in the packing unit 71 of Core_sub 51-2 and stored in memory 52.
[0166] When two streams are transmitted together as one stream, the data stored in the memory 52 is read out sequentially by the Core 51-1 as shown by the arrow A3 in Fig. 22. The Core 51-1 also generates a packet for a multi-gradation transmission method as shown in B in Fig. 23, in which pixel data of multiple gradations is stored in one payload.
[0167] The payload of the packet shown in FIG. 23B stores 8-bit pixel data and 12-bit pixel data according to the same storage pattern as the storage pattern described with reference to FIG.
[0168] In this way, when two streams are transmitted together as one stream in a multi-camera system, only one of the outputs of Core 51-1 and Core_sub 51-2 is used. The Core 51-1 supplies the lane distributor 53 with packets in which pixel data of multiple gradations is stored in the payload.
[0169] Returning to the explanation of Figure 21, when a packet is supplied from the packet generation unit 73 of the core 51-1, the lane distribution unit 53 distributes the data constituting the packet to multiple lanes and outputs the data of each lane in parallel to the 8B10B symbol encoder 54.
[0170] Similarly, when a packet is supplied from the packet generator 73 of the Core_sub 51-2, the lane distributor 53 distributes the data constituting the packet to a plurality of lanes and outputs the data of each lane in parallel to the 8B10B symbol encoder 54.
[0171] The processing of the physical layer, that is, the 8B10B symbol encoder 54 and the PHY analog processing unit 55, is performed in parallel for each lane.
[0172] The 8B10B symbol encoder 54 performs 8B10B conversion on the data supplied from the lane distributor 53, and outputs the data to the PHY analog processor 55 as data in 10-bit units.
[0173] The synchronization unit 81 of the PHY analog processing unit 55 synchronizes the data of each lane and outputs it to the transmission unit 82.
[0174] The transmitter 82 outputs onto the transmission path the data of each lane supplied from the synchronizer 81. The data output onto the transmission path from the transmitter 82 is received by the receiver 31.
[0175] FIG. 24 is a block diagram showing another example of the configuration of the transmission unit 22. As shown in FIG.
[0176] The configuration of the transmission unit 22 shown in Fig. 24 differs from the configuration in Fig. 21 in that each of Core51-1 and Core_sub51-2 has a FIFO. Among the configurations shown in Fig. 24, the same components as those described above are denoted by the same reference numerals. Duplicate descriptions will be omitted as appropriate.
[0177] The Packing unit 71 of the signal processing unit 61 constituting the Core 51-1 divides the data constituting the stream supplied from the outside into data of a predetermined bit width, thereby generating pixel data of a predetermined bit width. The Packing unit 71 outputs the data of each pixel to the FIFO 74 for storage.
[0178] The header / footer generation unit 72 references the data stored in the FIFO 74 and generates separation information according to the storage pattern of the data of each pixel in the payload. The header / footer generation unit 72 generates a header including the separation information and outputs it to the packet generation unit 73, and also outputs a footer including predetermined information to the packet generation unit 73 as appropriate.
[0179] The packet generator 73 generates a payload by reading pixel data stored in the FIFO 74 and storing the data of each pixel according to a storage pattern. The packet generator 73 generates a packet by adding a header generated by the header / footer generator 72 to the payload, and outputs the packet to the lane distributor 53.
[0180] Core_sub51-2 has the same configuration as Core 51-1. Core_sub51-2 performs the same processing as that performed by Core 51-1 on the second stream supplied from the outside.
[0181] FIG. 25 is a diagram illustrating another example of data transmission.
[0182] 25, a case will be described where one stream supplied from the information processing unit 21 is transmitted. The arrows A11 and A12 indicate that data with different gradations is supplied as one stream.
[0183] For example, in an ROI sensor system, data of pixels constituting the ROI region and data of pixels constituting the non-ROI region are input to the transmitting unit 22 as one stream as shown in A of Fig. 26. The data constituting the stream shown in A of Fig. 26 is one line of data including the pixels constituting the ROI region and the pixels constituting the non-ROI region, as described with reference to Fig. 19.
[0184] A stream including 8-bit pixel data and 12-bit pixel data is stored in a FIFO 74 after being processed in a packing unit 71 of the Core 51-1.
[0185] The data stored in the FIFO 74 is sequentially read out by the packet generator 73 as indicated by an arrow A13. In addition, a packet of a multi-gradation transmission method as shown in B of Fig. 26 is generated, in which pixel data of multiple gradations is stored in one payload.
[0186] The payload of the packet shown in FIG. 26B stores 8-bit pixel data and 12-bit pixel data according to the same storage pattern as the storage pattern described with reference to FIG.
[0187] In this way, in an application that transmits one stream input from the outside, for example, the configuration in Fig. 25 is used. Also, in an application that transmits two streams input from the outside, for example, the configuration in Fig. 21 is used.
[0188] Receiving section configuration FIG. 27 is a block diagram showing an example of the configuration of the receiving unit 31. As shown in FIG.
[0189] 27, the receiving unit 31 includes a PHY analog processing unit 101, a 10B8B symbol decoder 102, a lane integrating unit 103, and a Core 104. Data output from the transmitting unit 22 onto the transmission line is input to the PHY analog processing unit 101.
[0190] The processing of the physical layer by the PHY analog processing unit 101 and the 10B8B symbol decoder 102 is performed in parallel for each lane.
[0191] The receiving section 111 of the PHY analog processing section 101 receives a signal for each lane, which indicates packet data transmitted from the transmitting section 22 via the transmission path, and outputs the signal to the synchronizing section 112 .
[0192] The synchronization unit 112 performs bit synchronization by detecting edges of the signal supplied from the receiving unit 111, and generates a clock signal based on the edge detection period. The synchronization unit 112 also samples the signal received by the receiving unit 111 in accordance with the generated clock signal, and outputs packet data obtained by sampling to the 10B8B symbol decoder 102.
[0193] The 10B8B symbol decoder 102 performs 10B8B conversion on the data supplied from the synchronization unit 112 and outputs the data to the lane integration unit 103 as data in 8-bit units.
[0194] The lane integrating unit 103 integrates the data of each lane supplied from the 10B8B symbol decoder 102 by rearranging the data in the reverse order to the order in which the data was distributed to each lane by the lane distributor 53 (FIG. 21) of the transmitter 22. The lane integrating unit 103 outputs the integrated packet data to the Core 104.
[0195] The Core 104 is made up of a signal processing unit 121, a control unit 122, and a state control unit 123. The signal processing unit 121 is made up of a packet analysis unit 131, a separation unit 132, and output units 133-1 and 133-2.
[0196] The packet analysis unit 131 of the signal processing unit 121 receives packet data supplied from the lane integration unit 103 and analyzes the packet. For example, the packet analysis unit 131 outputs payload data constituting the packet to the separation unit 132 and analyzes the header. The packet analysis unit 131 outputs information indicating the gradation switching position, etc. to the separation unit 132 based on the separation information included in the header.
[0197] The separation unit 132 separates the pixel data of each gradation stored in the payload based on the gradation switching positions represented by the information supplied from the packet analysis unit 131. The separation unit 132 distributes the separated pixel data according to the gradation, for example, outputting 8-bit pixel data to the output unit 133-1 and 12-bit pixel data to the output unit 133-2.
[0198] FIFO 141 of output unit 133-1 stores the data supplied from separation unit 132. The data stored in FIFO 141 is read by pixel data conversion unit 142 in the order in which it was stored.
[0199] The pixel data conversion unit 142 converts the data read from the FIFO 141 into 8-bit gradation pixel data and outputs it.
[0200] The output unit 133-2 has a similar configuration to the output unit 133-1. The output unit 133-2 performs the same processing as that performed in the output unit 133-1 on the data supplied from the separation unit 132. 12-bit pixel data is output from the pixel data conversion unit 142 of the output unit 133-2.
[0201] The control unit 122 controls the overall processing in the Core 104 .
[0202] The state control unit 123 controls the state of the Core 104. Each process of the Core 104 is performed according to the state set by the state control unit 123.
[0203] <Operation of the transmitter and receiver> The operation of the transmitting section 22 and the receiving section 31 having the above configuration will be described.
[0204] Transmitter operation First, the process of the transmission unit 22 that transmits data by the multi-level transmission method will be described with reference to the flowchart of FIG.
[0205] The process of FIG. 28 is started, for example, when the first stream output from the information processing unit 21 is input to Core 51-1 and the second stream is input to Core_sub 51-2.
[0206] In step S1, pixel data of multiple gradations is stored in memory 52. That is, the Packing unit 71 of the signal processing unit 61 constituting Core 51-1 outputs, for example, 8-bit pixel data to the memory 52 for storage. Also, the Packing unit 71 of the signal processing unit 61 constituting Core_sub 51-2 outputs, for example, 12-bit pixel data to the memory 52 for storage.
[0207] In step S2, the header / footer generating unit 72 generates a header including separation information such as Data ID according to the storage pattern of the data of each pixel.
[0208] In step S3, packet generator 73 reads pixel data stored in memory 52 and stores each pixel data according to a storage pattern, thereby generating a payload in which pixel data of multiple gradations is stored.
[0209] In step S4, the packet generator 73 generates a packet by adding the header and the like generated by the header / footer generator 72 to the payload.
[0210] In step S5, the lane distributor 53 distributes the data constituting the packet supplied from the packet generator 73 of the Core 51-1 to a plurality of lanes and outputs the data.
[0211] In step S6, the PHY analog processing unit 55 performs physical layer processing on the data of each lane, and transmits the data of each lane from the transmission unit 82.
[0212] The above process is repeated for each line that constitutes one frame.
[0213] - Operation of the receiver Next, the process of the receiving unit 31 for receiving data transmitted by the multi-gradation transmission method will be described with reference to the flowchart of FIG.
[0214] The process of FIG. 29 starts, for example, when a signal for each lane indicating packet data transmitted from the transmitting unit 22 is supplied.
[0215] In step S11, the PHY analog processing unit 101 receives packet data by, for example, synchronizing the signal received by the receiving unit 111.
[0216] In step S12 , the lane integrating unit 103 integrates the data of each lane supplied from the 10B8B symbol decoder 102 of the PHY analog processing unit 101 .
[0217] In step S13, the packet analysis unit 131 of the signal processing unit 121 receives the packet data supplied from the lane integration unit 103 and analyzes the header. By analyzing the separation information, the gradation switching position and the like are identified.
[0218] In step S14, the separation unit 132 separates the pixel data of each gradation stored in the payload based on the header analysis result by the packet analysis unit 131. For example, 8-bit pixel data is output from the separation unit 132 to the output unit 133-1. Also, for example, 12-bit pixel data is output from the separation unit 132 to the output unit 133-2.
[0219] In step S15, pixel data converter 142 of output unit 133-1 converts the data read from FIFO 141 into 8-bit gradation pixel data and outputs it. Also, pixel data converter 142 of output unit 133-2 converts the data read from FIFO 141 into 12-bit gradation pixel data and outputs it.
[0220] The above process is repeated while packets storing pixel data for each line are being transmitted from the transmitting unit 22.
[0221] <Other application examples> Although the above has been described with reference to the case where pixel data is transmitted, the multi-gradation transmission method can be used to transmit various types of data other than pixel data.
[0222] FIG. 30 is a diagram showing an example of a TOF (Time of Flight) sensor system.
[0223] A TOF sensor system is a system that measures the distance to an object by detecting reflected light emitted from a light source.
[0224] 30, information representing the measurement result is output from the TOF sensor S21 and input to the information processing LSI. The measurement result includes, for example, calibration information representing values used in calibration and histogram information representing the histogram of the target.
[0225] FIG. 31 is a diagram showing an example of a format of output data from the TOF sensor S21.
[0226] As shown in Fig. 31, a predetermined number of pieces of calibration information and histogram information are output as output data from the TOF sensor S21. In the example of Fig. 31, one piece of output data is composed of N+1 pieces of calibration information and histogram information. The bit width of the calibration information is 8 bits, and the bit width of the histogram information is 12 bits.
[0227] That is, the output data of the TOF sensor S21 is composed of a plurality of items of data with different bit widths. Output data having such a predetermined format is output from the TOF sensor S21 every time a measurement is performed.
[0228] In the information processing LSI, a packet is generated in which the entire output data supplied from the TOF sensor S21 is stored in one payload as one line of data, and the packet is transmitted to the host controller.
[0229] FIG. 32 illustrates an example of a packet configuration.
[0230] As shown in FIG. 32, N+1 pieces of calibration information are stored consecutively in the payload of a packet, followed by N+1 pieces of histogram information stored consecutively.
[0231] That is, in the payload of one packet shown in FIG. 32, data of one item indicating a measurement result is treated as unit data, and multiple types of unit data with different bit widths for each data unit are stored.
[0232] Thus, when the data to be transmitted has a predetermined format and a plurality of items with different bit widths are included in the format, the transmission unit 22 can store the entire data of the plurality of items in one payload and transmit it by a multi-tone transmission method.
[0233] When the TOF sensor system is realized in the configuration of the transmission system 1 in FIG. 1, for example, the function of the TOF sensor S21 is realized by the information processing unit 21, the function of the image processing LSI is realized by the transmission unit 22, and the function of the host controller is realized by the reception unit 31 and the information processing unit 32.
[0234] By applying the multi-tone transmission method to the TOF sensor system, it becomes possible to efficiently transmit information of a plurality of items with different bit widths.
[0235] <Regarding the SLVS-EC standard> Here, the SLVS-EC standard will be described.
[0236] FIG. 33 is a diagram showing a detailed configuration example of the transmission unit 22 and the reception unit 31.
[0237] The configuration surrounded by a broken line on the left side of FIG. 33 is the configuration of the transmission unit 22, and the configuration surrounded by a broken line on the right side is the configuration of the reception unit 31. The transmission unit 22 and the reception unit 31 each consist of a link layer configuration and a physical layer configuration. In each layer of the transmission unit 22 and the reception unit 31, various processes other than the above-described processes are actually performed.
[0238] The configuration shown above the solid line L2 is the configuration of the link layer, and the configuration shown below the solid line L2 is the configuration of the physical layer. In the transmission unit 22, the configuration shown above the solid line L2 is the configuration for performing link layer signal processing, and the configuration shown below the solid line L2 is the configuration for performing physical layer signal processing.
[0239] In the receiver 31, the configuration shown below the solid line L2 is a configuration for performing physical layer signal processing, and the configuration shown above the solid line L2 is a configuration for performing link layer signal processing.
[0240] The configuration shown above the solid line L1 is the configuration of the application layer. The system control unit 211, the frame data input unit 212, and the register 213 are realized in the information processing unit 21, for example.
[0241] The system control unit 211 communicates with a LINK-TX protocol management unit 221 of the transmission unit 22, and controls the transmission of image data by providing information regarding the frame format, for example.
[0242] The frame data input unit 212 supplies data of each pixel constituting an image to be transmitted to a pixel to byte conversion unit 222 of the transmission unit 22 .
[0243] The register 213 stores information such as the number of bits for pixel-to-byte conversion, the number of lanes, etc. In accordance with the information stored in the register 213, a transmission process of image data is performed.
[0244] Moreover, among the components of the application layer, a frame data output unit 341 , a register 342 , and a system control unit 343 are realized in the information processing unit 32 .
[0245] The frame data output unit 341 generates and outputs one frame of image based on the pixel data of each line supplied from the receiving unit 31. Various types of processing are performed using the image output from the frame data output unit 341.
[0246] The register 342 stores various setting values related to reception of image data, such as the number of bits for Byte to Pixel conversion, the number of lanes, etc. In accordance with the information stored in the register 342, reception processing of the image data is performed.
[0247] The system control unit 343 communicates with the LINK-RX protocol management unit 321 and controls sequences such as mode changes.
[0248] Link layer configuration of the transmitter 22 First, the configuration of the link layer of the transmitting unit 22 will be described.
[0249] Link layer processing unit 22A of transmitting unit 22 is provided with, as link layer configuration, a LINK-TX protocol management unit 221, a Pixel to Byte conversion unit 222, a payload ECC insertion unit 223, a packet generation unit 224, and a lane distribution unit 225. LINK-TX protocol management unit 221 is composed of a state control unit 231, a header generation unit 232, a data insertion unit 233, and a footer generation unit 234.
[0250] For example, the Pixel to Byte conversion unit 222 corresponds to the Packing unit 71 in Fig. 21. The packet generation unit 224 corresponds to the packet generation unit 73 in Fig. 21. The lane distribution unit 225 corresponds to the Lane distribution unit 53 in Fig. 21. The header generation unit 232 and the footer generation unit 234 correspond to the header / footer generation unit 72 in Fig. 21. In other words, the configuration shown in Fig. 21 etc. is a simplified version of the configuration of the transmission unit 22.
[0251] The state control unit 231 of the LINK-TX protocol management unit 221 manages the state of the link layer of the transmission unit 22 .
[0252] The header generation unit 232 generates a header to be added to a payload in which one line's worth of pixel data is stored, and outputs the header to the packet generation unit 224.
[0253] FIG. 34 is a diagram showing an example of an 8-byte bit array constituting one set of header information and a CRC code.
[0254] The first byte H7 of the eight bytes that make up the header contains, in order from bit 1, one each of Frame Start, Frame End, and Line Valid, as well as bits 1 to 5 of the 13-bit Line Number. Additionally, the second byte H6 contains bits 6 to 13 of the 13-bit Line Number.
[0255] The third byte, H5, through the sixth byte, H2, are reserved. In multi-level transmission systems, this reserved area is used to describe separation information, etc. The seventh byte, H1, and the eighth byte, H0, contain the bits of the CRC code.
[0256] 33, the header generation unit 232 generates header information under the control of the system control unit 211. For example, the system control unit 211 supplies information indicating the line number of the pixel data output by the frame data input unit 212 and information indicating the start and end of the frame.
[0257] Furthermore, the header generating unit 232 applies the header information to a generating polynomial to calculate a CRC code. The generating polynomial of the CRC code added to the header information is expressed by, for example, the following equation (1).
number
[0258] The header generating unit 232 generates a pair of the header information and the CRC code by adding a CRC code to the header information, and generates a header by repeatedly arranging the same pair of the header information and the CRC code three times. The header generating unit 232 outputs the generated header to the packet generating unit 224.
[0259] The data insertion unit 233 generates data used for stuffing, and outputs it to the Pixel to Byte conversion unit 222 and the lane distribution unit 225. The stuffing data supplied to the Pixel to Byte conversion unit 222, which is payload stuffing data, is added to pixel data after Pixel to Byte conversion, and is used to adjust the amount of pixel data stored in the payload. Also, the stuffing data supplied to the lane distribution unit 225, which is lane stuffing data, is added to data after lane allocation, and is used to adjust the amount of data between lanes.
[0260] The footer generating unit 234, under the control of the system control unit 211, appropriately applies the payload data to a generating polynomial to calculate a 32-bit CRC code, and outputs the calculated CRC code as a footer to the packet generating unit 224. The generating polynomial for the CRC code added as the footer is expressed by, for example, the following equation (2).
number
[0261] The pixel to byte conversion unit 222 acquires the pixel data supplied from the frame data input unit 212, and performs pixel to byte conversion to convert the data of each pixel into data in units of one byte. For example, the pixel value (RGB) of each pixel of the image is represented by any one of 8 bits, 10 bits, 12 bits, 14 bits, and 16 bits.
[0262] FIG. 35 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 8 bits.
[0263] Data[0] represents the LSB, and Data[7], the largest number, represents the MSB. As indicated by the white arrow, in this case, the 8 bits of Data[7]~[0] representing the pixel value of pixel N are converted to Byte N consisting of Data[7]~[0]. When the pixel value of each pixel is represented by 8 bits, the number of bytes of data after pixel to byte conversion will be the same as the number of pixels.
[0264] FIG. 36 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 10 bits.
[0265] In this case, the 10 bits of Data[9] to [0] that represent the pixel value of pixel N are converted into Byte 1.25*N consisting of Data[9] to [2].
[0266] Similarly, for pixels N+1 to N+3, the 10 bits Data[9] to [0] representing each pixel value are converted to Bytes 1.25*N+1 to 1.25*N+3 consisting of Data[9] to [2]. Additionally, the lowest bits Data[1] and Data[0] of pixels N to N+3 are collected and converted to Byte 1.25*N+4. When the pixel value of each pixel is represented by 10 bits, the number of bytes of data after Pixel to Byte conversion will be 1.25 times the number of pixels.
[0267] FIG. 37 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 12 bits.
[0268] In this case, the 12 bits of Data
[11] to [0] that represent the pixel value of pixel N are converted into Byte 1.5*N consisting of Data
[11] to [4].
[0269] Similarly, for pixel N+1, the 12 bits Data
[11] to [0] representing the pixel value of pixel N+1 are converted into Byte 1.5*N+1 consisting of Data
[11] to [4]. Additionally, the lowest bits Data[3] to [0] of pixels N and N+1 are collected and converted into Byte 1.5*N+2. When the pixel value of each pixel is represented by 12 bits, the number of data bytes after Pixel to Byte conversion will be 1.5 times the number of pixels.
[0270] FIG. 38 is a diagram showing an example of pixel-to-byte conversion in the case where the pixel value of each pixel is represented by 14 bits.
[0271] In this case, the 14 bits of Data
[13] to [0] that represent the pixel value of pixel N are converted into Byte 1.75*N consisting of Data
[13] to [6].
[0272] Similarly, for pixels N+1 to N+3, the 14 bits Data
[13] to [0] representing the pixel values are converted to Bytes 1.75*N+1 to 1.75*N+3 consisting of Data
[13] to [6]. The remaining bits of pixels N to N+3 are collected in order from the least significant bit, and for example, the bits of pixel N, Data[5] to [0], and the bits of pixel N+1, Data[5], [4], are converted to Byte 1.75*N+4.
[0273] Similarly, Data[3] to [0], which are the bits of pixel N+1, and Data[5] to [2], which are the bits of pixel N+2, are converted to Byte 1.75*N+5, and Data[1], [0], which are the bits of pixel N+2, and Data[5] to [0], which are the bits of pixel N+3, are converted to Byte 1.75*N+6. If the pixel value of each pixel is represented by 14 bits, the number of data bytes after Pixel to Byte conversion will be 1.75 times the number of pixels.
[0274] FIG. 39 is a diagram showing an example of pixel-to-byte conversion when the pixel value of each pixel is represented by 16 bits.
[0275] In this case, the 16 bits of Data
[15] to [0] that represent the pixel value of pixel N are converted to Byte 2*N consisting of Data
[15] to [8] and Byte 2*N+1 consisting of Data[7] to [0]. When the pixel value of each pixel is represented by 16 bits, the number of bytes of data after Pixel to Byte conversion will be twice the number of pixels.
[0276] 33 performs such pixel to byte conversion on each pixel in sequence starting from the pixel at the left end of the line. The pixel to byte conversion unit 222 also generates payload data by adding payload stuffing data supplied from the data insertion unit 233 to the pixel data in byte units obtained by the pixel to byte conversion, and outputs the payload data to the payload ECC insertion unit 223.
[0277] FIG. 40 is a diagram illustrating an example of payload data.
[0278] 40 shows payload data including pixel data obtained by pixel to byte conversion when the pixel value of each pixel is represented by 10 bits. A single uncolored block represents pixel data in units of bytes after pixel to byte conversion. A single colored block represents payload stuffing data generated by the data insertion unit 233. In the multi-gradation transmission method, payload data is composed of pixel data of multiple gradations.
[0279] The pixel data after pixel to byte conversion is grouped into a predetermined number of groups in the order obtained by the conversion. In the example of Fig. 40, the pixel data are grouped into 16 groups, groups 0 to 15, where the pixel data including the MSB of pixel P0 is assigned to group 0, and the pixel data including the MSB of pixel P1 is assigned to group 1. The pixel data including the MSB of pixel P2 is assigned to group 2, the pixel data including the MSB of pixel P3 is assigned to group 3, and the pixel data including the LSBs of pixels P0 to P3 is assigned to group 4.
[0280] The pixel data after the pixel data containing the MSB of pixel P4 is also assigned in order to each group from group 5 onwards. When certain pixel data is assigned to group 15, the subsequent pixel data is assigned in order to each group from group 0 onwards. Of the blocks representing pixel data, a block with three dashed lines inside represents pixel data in bytes that is generated during pixel to byte conversion so as to include the LSBs of pixels N to N+3.
[0281] In the link layer of the transmitter 22, after grouping in this manner, pixel data at the same position in each group is processed in parallel for each period defined by the clock signal. That is, when pixel data is assigned to 16 groups as shown in Figure 40, the pixel data processing proceeds such that the 16 pixel data arranged in each column are processed within the same period.
[0282] As described above, the payload of one packet contains pixel data for one line. The entire pixel data shown in Fig. 40 is pixel data that constitutes one line. Here, the processing of pixel data in the effective pixel area A1 in Fig. 2 is described, but pixel data in other areas such as the margin area A2 is also processed together with the pixel data in the effective pixel area A1.
[0283] After one line of pixel data is grouped, payload stuffing data is added to make the data length of each group the same. The payload stuffing data is 1 byte of data.
[0284] In the example of Fig. 40, no payload stuffing data is added to the pixel data of group 0, and one piece of payload stuffing data is added to the end of each pixel data of groups 1 to 15, as shown by the dashed line. The data length (bytes) of the payload data consisting of pixel data and stuffing data is expressed by the following formula (3).
number
[0285] In equation (3), LineLength represents the number of pixels in a line, BitPix represents the number of bits that represent the pixel value of one pixel, and PayloadStuffing represents the number of payload stuffing data.
[0286] When pixel data is allocated to 16 groups as shown in Fig. 40, the number of payload stuffing data is expressed by the following formula (4): In formula (4), % represents a remainder.
number
[0287] FIG. 41 is a diagram showing another example of the payload data.
[0288] FIG. 41 shows payload data including pixel data obtained by pixel to byte conversion when the pixel value of each pixel is represented by 12 bits.
[0289] 41, pixel data including the MSB of pixel P0 is assigned to group 0, pixel data including the MSB of pixel P1 is assigned to group 1, and pixel data including the LSBs of pixels P0 and P1 is assigned to group 2. The pixel data including the MSB of pixel P2 and subsequent pixel data are also assigned in order to each group from group 3 onwards. Of the blocks representing pixel data, a block with a single dashed line drawn inside represents pixel data in bytes that was generated during Pixel to Byte conversion so as to include the LSBs of pixel N and pixel N+1.
[0290] In the example of FIG. 41, no payload stuffing data is added to the pixel data of groups 0 and 1, and one piece of payload stuffing data is added to the end of each of the pixel data of groups 2 to 15.
[0291] Payload data having such a structure is supplied from the Pixel to Byte conversion unit 222 to the payload ECC insertion unit 223 .
[0292] The payload ECC insertion unit 223 calculates an error correction code used for error correction of the payload data based on the payload data supplied from the Pixel to Byte conversion unit 222, and inserts the parity, which is the error correction code obtained by calculation, into the payload data. For example, a Reed-Solomon code is used as the error correction code. Note that the insertion of the error correction code is optional, and for example, only one of the insertion of the parity by the payload ECC insertion unit 223 and the addition of the footer by the footer generation unit 234 can be performed.
[0293] FIG. 42 is a diagram showing an example of payload data in which parity is inserted.
[0294] The payload data shown in Fig. 42 is payload data including pixel data obtained by pixel to byte conversion in the case where the pixel value of each pixel is represented by 12 bits, as described with reference to Fig. 41. The shaded blocks represent parity.
[0295] 42, 14 pixel data are selected in order from the top of each group from groups 0 to 15, and 2 bytes of parity are calculated based on the selected 224 pixel data (224 bytes). The 2 bytes of parity are inserted as the 15th data of groups 0 and 1 following the 224 pixel data used in the calculation, and the first Basic Block is formed from the 224 pixel data and the 2 bytes of parity.
[0296] In this way, in the payload ECC insertion unit 223, basically, 2 bytes of parity are generated based on 224 pieces of pixel data, and inserted consecutively to the 224 pieces of pixel data.
[0297] 42, 224 pixel data following the first Basic Block are selected in order from each group, and 2 bytes of parity are calculated based on the selected 224 pixel data. The 2 bytes of parity are inserted as the 29th data of groups 2 and 3 following the 224 pixel data used in the calculation, and the second Basic Block is formed from the 224 pixel data and the 2 bytes of parity.
[0298] If the number of pixel data and payload stuffing data following a Basic Block, 16×M, is less than 224, 2 bytes of parity are calculated based on the remaining 16×M blocks (pixel data and payload stuffing data). The calculated 2 bytes of parity are inserted following the payload stuffing data, and an Extra Block is formed from the 16×M blocks and 2 bytes of parity.
[0299] The payload ECC insertion unit 223 outputs the payload data with the parity inserted to the packet generation unit 224. When parity insertion is not performed, the payload data supplied from the Pixel to Byte conversion unit 222 to the payload ECC insertion unit 223 is output to the packet generation unit 224 as is.
[0300] The packet generation unit 224 generates a packet by adding a header generated by the header generation unit 232 to the payload data supplied from the payload ECC insertion unit 223. When a footer is generated by the footer generation unit 234, the packet generation unit 224 also adds the footer to the payload data.
[0301] FIG. 43 is a diagram showing a state in which a header is added to payload data.
[0302] The 24 blocks labeled H7 to H0 represent header data in bytes, which are header information or CRC codes of header information. As described with reference to Fig. 3, the header of one packet includes three sets of header information and CRC codes.
[0303] For example, the header data H7 to H2 are header information (6 bytes), and the header data H1 and H0 are CRC codes (2 bytes).
[0304] In the example of Fig. 43, one header data H7 is added to the payload data of group 0, and one header data H6 is added to the payload data of group 1. One header data H5 is added to the payload data of group 2, and one header data H4 is added to the payload data of group 3. One header data H3 is added to the payload data of group 4, and one header data H2 is added to the payload data of group 5. One header data H1 is added to the payload data of group 6, and one header data H0 is added to the payload data of group 7.
[0305] 43, two pieces of header data H7 are added to the payload data of group 8, and two pieces of header data H6 are added to the payload data of group 9. Two pieces of header data H5 are added to the payload data of group 10, and two pieces of header data H4 are added to the payload data of group 11. Two pieces of header data H3 are added to the payload data of group 12, and two pieces of header data H2 are added to the payload data of group 13. Two pieces of header data H1 are added to the payload data of group 14, and two pieces of header data H0 are added to the payload data of group 15.
[0306] FIG. 44 is a diagram showing a state in which a header and a footer are added to payload data.
[0307] The four blocks labeled F3 to F0 represent footer data, which is a 4-byte CRC code generated as a footer. In the example of Fig. 44, the footer data F3 to F0 are added to the payload data of each of groups 0 to 3.
[0308] FIG. 45 is a diagram showing a state in which a header is added to payload data into which parity has been inserted.
[0309] In the example of FIG. 45, header data H7 to H0 are added to the payload data of FIG. 42 into which parity has been inserted, in the same manner as in the cases of FIG. 43 and FIG.
[0310] The packet generator 224 outputs packet data, which is data constituting one packet generated in this manner, to the lane distributor 225. Packet data consisting of header data and payload data, packet data consisting of header data, payload data and footer data, or packet data consisting of header data and payload data into which parity has been inserted, is supplied to the lane distributor 225. The packet structure in Fig. 3 is a logical one, and in the link layer and physical layer, the data of a packet having the structure in Fig. 3 is processed in units of bytes.
[0311] The lane distributor 225 allocates the packet data supplied from the packet generator 224 to each of the lanes 0 to 7 used for data transmission, in order from the leading data.
[0312] FIG. 46 is a diagram illustrating an example of packet data allocation.
[0313] Here, allocation of packet data (FIG. 44) consisting of header data, payload data, and footer data will be described. An example of packet data allocation when data transmission is performed using eight lanes from Lanes 0 to 7 is shown at the end of the white arrow #1.
[0314] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 7 in order starting from the first header data. When a certain header data is assigned to Lane 7, the subsequent header data is assigned to each lane from Lane 0 onwards in order. The same header data is assigned three times to each of Lanes 0 to 7.
[0315] Furthermore, payload data is allocated in order from the leading payload data to Lanes 0 to 7. When some payload data is allocated to Lane 7, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0316] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 46, the last payload stuffing data constituting the payload data is assigned to Lane 7, and the footer data F3 to F0 are assigned to Lanes 0 to 3 one by one.
[0317] Blocks shown in black represent lane stuffing data generated by the data insertion unit 233. After one packet of packet data is assigned to each lane, the lane stuffing data is assigned to a lane with a smaller amount of data so that the data length assigned to each lane is the same. The lane stuffing data is 1 byte of data. In the example of FIG. 46, one piece of lane stuffing data is assigned to each of Lanes 4 to 7, which are lanes with a smaller amount of data assigned.
[0318] When packet data consists of header data, payload data, and footer data, the number of lane stuffing data is expressed by the following equation (5).
number
[0319] In formula (5), LaneNum represents the number of lanes, PayloadLength represents the payload data length (bytes), and FooterLength represents the footer length (bytes).
[0320] Furthermore, when packet data consists of header data and payload data with parity inserted, the number of lane stuffing data is expressed by the following formula (6): ParityLength in formula (6) represents the total number of bytes of parity included in the payload.
number
[0321] An example of packet data allocation when data transmission is performed using six lanes, Lanes 0 to 5, is shown at the end of the white arrow #2.
[0322] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 5 in order starting from the first header data. When a certain header data is assigned to Lane 5, the subsequent header data is assigned to each of the lanes from Lane 0 onwards in order. Four pieces of header data are assigned to each of Lanes 0 to 5.
[0323] Furthermore, payload data is allocated in order from the leading payload data to Lanes 0 to 5. When some payload data is allocated to Lane 5, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0324] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 46, the last payload stuffing data constituting the payload data is assigned to Lane 1, and the footer data F3 to F0 are assigned one each to Lanes 2 to 5. Since the number of packet data in Lanes 0 to 5 is the same, in this case, the lane stuffing data is not used.
[0325] An example of packet data allocation when data transmission is performed using four lanes, Lanes 0 to 3, is shown at the end of the white arrow #3.
[0326] In this case, each of the header data constituting the three repetitions of header data H7 to H0 is assigned to Lanes 0 to 3 in order starting from the first header data. When a certain header data is assigned to Lane 3, the subsequent header data is assigned to each lane from Lane 0 onwards in order. Six pieces of header data are assigned to each of Lanes 0 to 3.
[0327] Furthermore, the payload data is allocated in order from the leading payload data to Lanes 0 to 3. When some payload data is allocated to Lane 3, the subsequent payload data is allocated in order to each of the lanes from Lane 0 onwards.
[0328] The footer data F3 to F0 are assigned to each lane in order from the first footer data. In the example of Fig. 46, the last payload stuffing data constituting the payload data is assigned to Lane 3, and the footer data F3 to F0 are assigned one each to Lanes 0 to 3. Since the number of packet data in Lanes 0 to 3 is the same, in this case, the lane stuffing data is not used.
[0329] The lane distributor 225 outputs the packet data thus allocated to each lane to the physical layer. The following mainly describes a case where data is transmitted using eight lanes, Lanes 0 to 7, but similar processing is performed even when the number of lanes used for data transmission is other than the above.
[0330] Physical layer configuration of the transmitter 22 Next, the configuration of the physical layer of the transmitting unit 22 will be described.
[0331] The physical layer processing unit 22B of the transmitting unit 22 is provided with a PHY-TX state control unit 241, a clock generating unit 242, and signal processing units 243-0 to 243-N as a physical layer configuration. The signal processing unit 243-0 is composed of a control code inserting unit 251, an 8B10B symbol encoder 252, a synchronizing unit 253, and a transmitting unit 254.
[0332] For example, 8B10B symbol encoder 252 corresponds to 8B10B symbol encoder 54 in Fig. 21. Synchronizing section 253 corresponds to synchronizing section 81 in Fig. 21. Transmitting section 254 corresponds to transmitting section 82 in Fig. 21.
[0333] Packet data assigned to Lane 0 output from the lane distributor 225 is input to a signal processor 243-0, and packet data assigned to Lane 1 is input to a signal processor 243-1. Also, packet data assigned to Lane N is input to a signal processor 243-N.
[0334] In this way, the physical layer of the transmitter 22 is provided with signal processing units 243-0 to 243-N in the same number as the number of lanes, and processing of packet data to be transmitted using each lane is performed in parallel in each of the signal processing units 243-0 to 243-N. The configuration of the signal processing unit 243-0 will be described, but the signal processing units 243-1 to 243-N also have the same configuration.
[0335] The PHY-TX state control unit 241 controls each of the signal processing units 243-0 to 243-N. For example, the PHY-TX state control unit 241 controls the timing of each process performed by the signal processing units 243-0 to 243-N.
[0336] The clock generating unit 242 generates a clock signal and outputs it to the synchronization units 253 of each of the signal processing units 243-0 to 243-N.
[0337] The control code insertion unit 251 of the signal processing unit 243-0 adds a control code to the packet data supplied from the lane distribution unit 225. The control code is a code represented by one symbol selected from a plurality of types of symbols prepared in advance, or a combination of a plurality of types of symbols. Each symbol inserted by the control code insertion unit 251 is 8-bit data. By performing 8B10B conversion in a subsequent circuit, one symbol inserted by the control code insertion unit 251 becomes 10-bit data. On the other hand, in the receiving unit 31, 10B8B conversion is performed on the received data as described later, but each symbol before the 10B8B conversion included in the received data is 10-bit data, and each symbol after the 10B8B conversion becomes 8-bit data.
[0338] FIG. 47 is a diagram showing an example of the control code added by the control code insertion unit 251. As shown in FIG.
[0339] Control codes include Idle Code, Start Code, End Code, Pad Code, Sync Code, Deskew Code, and Standby Code.
[0340] The idle code is a group of symbols that are repeatedly transmitted during periods other than when packet data is being transmitted. The idle code is represented by the D character D00.0 (00000000), which is an 8B10B code.
[0341] The Start Code is a group of symbols that indicates the start of a packet. As mentioned above, the Start Code is added to the beginning of a packet. The Start Code is represented by four symbols, K28.5, K27.7, K28.2, and K27.7, which are combinations of three types of K Characters. The values of each K Character are shown in Figure 48.
[0342] End Code is a group of symbols that indicates the end of a packet. As mentioned above, End Code is added to the end of a packet. End Code is represented by four symbols, K28.5, K29.7, K30.7, and K29.7, which are combinations of three types of K Characters.
[0343] The Pad Code is a group of symbols inserted into the payload data to fill the difference between the pixel data bandwidth and the PHY transmission bandwidth. The pixel data bandwidth is the transmission rate of the pixel data output from the information processing unit 21 and input to the transmission unit 22, and the PHY transmission bandwidth is the transmission rate of the pixel data transmitted from the transmission unit 22 and input to the reception unit 31. The Pad Code is represented by four symbols, K23.7, K28.4, K28.6, and K28.3, which are combinations of four types of K Characters.
[0344] FIG. 49 is a diagram showing an example of inserting a Pad Code.
[0345] The upper part of Fig. 49 shows the payload data assigned to each lane before the Pad Code is inserted, and the lower part shows the payload data after the Pad Code is inserted. In the example of Fig. 49, the Pad Code is inserted between the third and fourth pixel data from the top, between the sixth and seventh pixel data, and between the twelfth and thirteenth pixel data. In this way, the Pad Code is inserted at the same position in the payload data of each lane, Lanes 0 to 7.
[0346] The insertion of Pad Code into the payload data assigned to Lane 0 is performed by the control code insertion unit 251 of the signal processing unit 243-0. Similarly, the insertion of Pad Code into the payload data assigned to the other lanes is performed at the same timing in each of the signal processing units 243-1 to 243-N. The number of Pad Codes is determined based on the difference between the pixel data band and the PHY transmission band, the frequency of the clock signal generated by the clock generation unit 242, etc.
[0347] In this way, when the pixel data band is narrow and the PHY transmission band is wide, the Pad Code is inserted to adjust the difference between the two bands. For example, the Pad Code is inserted to adjust the difference between the pixel data band and the PHY transmission band to fall within a certain range.
[0348] Returning to the explanation of Fig. 47, the Sync Code is a group of symbols used to ensure bit synchronization and symbol synchronization between the transmitter 22 and the receiver 31. The Sync Code is represented by two symbols, K28.5 and Any**. Any** indicates that any type of symbol may be used. The Sync Code is repeatedly transmitted, for example, during a training mode before the start of transmission of packet data between the transmitter 22 and the receiver 31.
[0349] The deskew code is a group of symbols used to correct data skew between lanes, that is, a difference in reception timing of data received at each lane of the receiver 31. The deskew code is represented by two symbols, K28.5 and Any**. The correction of data skew between lanes using the deskew code will be described later.
[0350] The Standby Code is a group of symbols used to notify the receiving unit 31 that the output of the transmitting unit 22 will be in a state such as High-Z (high impedance) and data transmission will no longer be performed. That is, the Standby Code is transmitted to the receiving unit 31 when the transmission of packet data ends and the unit goes into a Standby state. The Standby Code is represented by two symbols, K28.5 and Any**.
[0351] The control code insertion unit 251 outputs the packet data to which such a control code has been added to the 8B10B symbol encoder 252.
[0352] FIG. 50 is a diagram showing an example of packet data after the control code is inserted.
[0353] As shown in Fig. 50, in each of the signal processing units 243-0 to 243-N, a start code is added before the packet data, and a pad code is inserted into the payload data. An end code is added after the packet data, and a deskew code is added after the end code. In the example of Fig. 50, an idle code is added after the deskew code.
[0354] The 8B10B symbol encoder 252 performs 8B10B conversion on the packet data (packet data to which a control code has been added) supplied from the control code insertion unit 251, and outputs the packet data converted into data in 10-bit units to the synchronization unit 253.
[0355] Synchronization unit 253 outputs each bit of the packet data supplied from 8B10B symbol encoder 252 to transmission unit 254 in accordance with the clock signal generated by clock generation unit 242. Note that transmission unit 22 may not be provided with synchronization unit 253. In this case, the packet data output from 8B10B symbol encoder 252 is supplied to transmission unit 254 as is.
[0356] The transmitter 254 transmits the packet data supplied from the synchronizer 253 to the receiver 31 via the transmission path constituting Lane 0. When data transmission is performed using 8 lanes, the packet data is transmitted to the receiver 31 also using the transmission paths constituting Lanes 1 to 7.
[0357] Physical layer configuration of the receiver 31 Next, the configuration of the physical layer of the receiving unit 31 will be described.
[0358] A PHY-RX state control unit 301 and signal processing units 302-0 to 302-N are provided as a physical layer configuration in the physical layer processing unit 31A of the receiving unit 31. The signal processing unit 302-0 is composed of a receiving unit 311, a clock generating unit 312, a synchronizing unit 313, a symbol synchronizing unit 314, a 10B8B symbol decoder 315, a skew correcting unit 316, and a control code removing unit 317.
[0359] For example, the receiving unit 311 corresponds to the receiving unit 111 in Fig. 27. The synchronizing unit 313 corresponds to the synchronizing unit 112 in Fig. 27. The 10B8B symbol decoder 315 corresponds to the 10B8B symbol decoder 102 in Fig. 27. That is, the configuration shown in Fig. 27 is a simplified version of the configuration of the receiving unit 31.
[0360] Packet data transmitted via the transmission path constituting Lane 0 is input to signal processing unit 302-0, and packet data transmitted via the transmission path constituting Lane 1 is input to signal processing unit 302-1. Also, packet data transmitted via the transmission path constituting Lane N is input to signal processing unit 302-N.
[0361] In this way, the physical layer of the receiver 31 is provided with signal processing units 302-0 to 302-N in the same number as the number of lanes, and the packet data transmitted using each lane is processed in parallel in each of the signal processing units 302-0 to 302-N. The configuration of the signal processing unit 302-0 will be described, but the signal processing units 302-1 to 302-N also have the same configuration.
[0362] The receiving unit 311 receives a signal representing packet data transmitted from the transmitting unit 22 via the transmission path that constitutes Lane 0 , and outputs the signal to the clock generating unit 312 .
[0363] The clock generating unit 312 performs bit synchronization by detecting edges of the signal supplied from the receiving unit 311, and generates a clock signal based on the edge detection period. The clock generating unit 312 outputs the signal supplied from the receiving unit 311 to the synchronizing unit 313 together with the clock signal.
[0364] The synchronization unit 313 samples the signal received by the receiving unit 311 in accordance with the clock signal generated by the clock generation unit 312, and outputs packet data obtained by the sampling to the symbol synchronization unit 314. The clock generation unit 312 and the synchronization unit 313 realize a CDR (Clock Data Recovery) function.
[0365] The symbol synchronization unit 314 performs symbol synchronization by detecting a control code included in the packet data or by detecting a part of a symbol included in the control code. For example, the symbol synchronization unit 314 detects a K28.5 symbol included in the start code, end code, and deskew code, and performs symbol synchronization. The symbol synchronization unit 314 outputs packet data in 10-bit units representing each symbol to the 10B8B symbol decoder 315.
[0366] Furthermore, the symbol synchronization unit 314 performs symbol synchronization by detecting the boundaries of symbols contained in the Sync Code repeatedly transmitted from the transmission unit 22 during the training mode before the start of packet data transmission.
[0367] The 10B8B symbol decoder 315 performs 10B8B conversion on the 10-bit packet data supplied from the symbol synchronizer 314 , and outputs the packet data converted into 8-bit data to the skew corrector 316 .
[0368] The skew correction unit 316 detects the deskew code from the packet data supplied from the 10B8B symbol decoder 315. Information on the timing at which the skew code is detected by the skew correction unit 316 is supplied to the PHY-RX state control unit 301.
[0369] The skew correction unit 316 also corrects data skew between lanes by adjusting the timing of the deskew code to the timing represented by the information supplied from the PHY-RX state control unit 301. The PHY-RX state control unit 301 supplies information representing the latest timing of the deskew codes detected in each of the signal processing units 302-0 to 302-N.
[0370] FIG. 51 is a diagram showing an example of correcting data skew between lanes using Deskew Code.
[0371] 51, in each of Lanes 0 to 7, Sync Code, Sync Code, ..., Idle Code, Deskew Code, Idle Code, ..., Idle Code, Deskew Code are transmitted, and each control code is received by the receiver 31. The timing of receiving the same control code differs for each lane, resulting in data skew between the lanes.
[0372] In this case, the skew correction unit 316 detects Deskew Code C1 which is the first Deskew Code, and corrects the timing of the beginning of Deskew Code C1 to coincide with time t1 indicated by the information supplied from the PHY-RX state control unit 301. The PHY-RX state control unit 301 supplies information on time t1 when Deskew Code C1 is detected in Lane 7, which is the latest timing among the timings when Deskew Code C1 is detected in each of Lanes 0 to 7.
[0373] The skew correction unit 316 also detects the second Deskew Code, Deskew Code C2, and corrects the timing of the beginning of Deskew Code C2 to coincide with time t2 indicated by the information supplied from the PHY-RX state control unit 301. The PHY-RX state control unit 301 supplies information on time t2 when Deskew Code C2 was detected in Lane 7, which is the latest timing among the timings when Deskew Code C2 was detected in each of Lanes 0 to 7.
[0374] Similar processing is performed in each of the signal processing units 302-1 to 302-N, whereby data skew between the lanes is corrected as indicated by the tip of the arrow #1 in FIG.
[0375] The skew correction unit 316 outputs the packet data with the data skew corrected to the control code removal unit 317 .
[0376] The control code removal unit 317 removes the control code added to the packet data, and outputs the data between the Start Code and the End Code to the link layer as packet data.
[0377] The PHY-RX state control unit 301 controls each unit of the signal processing units 302-0 to 302-N to correct data skew between lanes, etc. When a transmission error occurs in a specific lane and a control code is lost, the PHY-RX state control unit 301 performs error correction of the control code by adding a control code transmitted in another lane in place of the lost control code.
[0378] Link layer configuration of receiver 31 Next, the configuration of the link layer of the receiving unit 31 will be described.
[0379] The link layer processing unit 31B of the receiving unit 31 is provided with, as link layer configuration, a LINK-RX protocol management unit 321, a lane integration unit 322, a packet separation unit 323, a payload error correction unit 324, and a Byte to Pixel conversion unit 325. The LINK-RX protocol management unit 321 is made up of a state control unit 331, a header error correction unit 332, a data removal unit 333, and a footer error detection unit 334.
[0380] For example, the lane integration unit 322 corresponds to the lane integration unit 103 in Fig. 27. The packet separation unit 323 corresponds to the packet analysis unit 131 and the separation unit 132 in Fig. 27. The byte to pixel conversion unit 325 corresponds to the pixel data conversion unit 142 in Fig. 27.
[0381] The lane integration unit 322 integrates the packet data supplied from the physical layer signal processing units 302-0 to 302-N by rearranging the data in the reverse order to the order in which the data was distributed to the lanes by the lane distribution unit 225 of the transmission unit 22.
[0382] For example, when the lane distribution unit 225 distributes packet data as shown by the tip of the arrow #1 in Fig. 46, the packet data of each lane is integrated to obtain the packet data on the left side of Fig. 46. When the packet data of each lane is integrated, the lane stuffing data is removed by the lane integration unit 322 under the control of the data removal unit 333. The lane integration unit 322 outputs the integrated packet data to the packet separation unit 323.
[0383] The packet separation unit 323 separates one packet's worth of packet data integrated by the lane integration unit 322 into packet data constituting header data and packet data constituting payload data. The packet separation unit 323 outputs the header data to the header error correction unit 332 and outputs the payload data to the payload error correction unit 324.
[0384] Furthermore, when a footer is included in a packet, the packet separation unit 323 separates one packet's worth of data into packet data constituting header data, packet data constituting payload data, and packet data constituting footer data. The packet separation unit 323 outputs the header data to the header error correction unit 332, and outputs the payload data to the payload error correction unit 324. Furthermore, the packet separation unit 323 outputs the footer data to the footer error detection unit 334.
[0385] When parity is inserted in the payload data supplied from the packet separation unit 323, the payload error correction unit 324 detects an error in the payload data by performing an error correction calculation based on the parity and corrects the detected error. For example, when parity is inserted as shown in Fig. 42, the payload error correction unit 324 uses the two parities inserted at the end of the first basic block to perform error correction on the 224 pixel data preceding the parity.
[0386] The payload error correction unit 324 performs error correction on each Basic Block and Extra Block, and outputs the error-corrected pixel data obtained by the error correction to the Byte to Pixel conversion unit 325. If parity is not inserted in the payload data supplied from the packet separation unit 323, the payload data supplied from the packet separation unit 323 is output to the Byte to Pixel conversion unit 325 as is.
[0387] The byte to pixel conversion unit 325 removes the payload stuffing data contained in the payload data supplied from the payload error correction unit 324 under the control of the data removal unit 333 .
[0388] Moreover, the Byte to Pixel conversion unit 325 performs Byte to Pixel conversion to convert the data of each pixel in bytes obtained by removing the payload stuffing data into pixel data in units of 8 bits, 10 bits, 12 bits, 14 bits, or 16 bits. The Byte to Pixel conversion unit 325 performs a conversion that is the reverse of the Pixel to Byte conversion performed by the Pixel to Byte conversion unit 222 of the transmission unit 22 described with reference to Figs. 35 to 39.
[0389] The Byte to Pixel conversion unit 325 outputs pixel data in 8-bit, 10-bit, 12-bit, 14-bit, or 16-bit units obtained by the Byte to Pixel conversion to the frame data output unit 341. In the frame data output unit 341, for example, each line of valid pixels specified by Line Valid in the header information is generated based on the pixel data obtained by the Byte to Pixel conversion unit 325, and one frame of an image is generated by arranging each line according to the Line Number in the header information.
[0390] The state control unit 331 of the LINK-RX protocol management unit 321 manages the state of the link layer of the receiving unit 31 .
[0391] The header error correction unit 332 obtains three pairs of header information and CRC codes based on the header data supplied from the packet separation unit 323. The header error correction unit 332 performs an error detection calculation, which is a calculation for detecting an error in the header information, for each pair of header information and CRC codes, using the CRC code of the same pair as the header information.
[0392] The header error correction unit 332 infers correct header information based on at least one of the error detection result of the header information of each set and the comparison result of the data obtained by the error detection calculation, and outputs the header information inferred to be correct and the decoded result. The data obtained by the error detection calculation is a value obtained by applying a generating polynomial of the CRC to the header information. The decoded result is information indicating whether the decoding is successful or unsuccessful.
[0393] The three sets of header information and CRC codes are set 1, set 2, and set 3. In this case, the header error correction unit 332 performs an error detection calculation on set 1 to determine whether or not there is an error in the header information of set 1 (error detection result) and obtains data 1, which is the data obtained by the error detection calculation. Furthermore, the header error correction unit 332 performs an error detection calculation on set 2 to determine whether or not there is an error in the header information of set 2 and obtains data 2, which is the data obtained by the error detection calculation. The header error correction unit 332 performs an error detection calculation on set 3 to determine whether or not there is an error in the header information of set 3 and obtains data 3, which is the data obtained by the error detection calculation.
[0394] Furthermore, the header error correction unit 332 determines whether or not data 1 and data 2 match, whether or not data 2 and data 3 match, and whether or not data 3 and data 1 match, respectively.
[0395] For example, if no error is detected by any of the error detection calculations for set 1, set 2, and set 3, and all comparison results of the data obtained by the error detection calculations match, the header error correction unit 332 selects information indicating successful decoding as the decoding result. Also, the header error correction unit 332 assumes that all header information is correct, and selects one of the header information of set 1, the header information of set 2, and the header information of set 3 as output information.
[0396] On the other hand, if no error is detected only in the error detection calculation targeted at set 1, the header error correction unit 332 selects information indicating successful decoding as the decoding result, and infers that the header information of set 1 is correct, and selects the header information of set 1 as output information.
[0397] In addition, if no error is detected only in the error detection calculation targeting set 2, the header error correction unit 332 selects information indicating successful decoding as the decoding result, and infers that the header information of set 2 is correct, and selects the header information of set 2 as output information.
[0398] If no error is detected only in the error detection calculation targeting set 3, the header error correction unit 332 selects information indicating successful decoding as the decoding result, and infers that the header information of set 3 is correct, and selects the header information of set 3 as output information.
[0399] The header error correction unit 332 outputs the decoded result and output information selected as described above to and stores them in the register 342. In this manner, the header error correction unit 332 corrects errors in the header information by detecting error-free header information from among a plurality of pieces of header information using a CRC code and outputting the detected header information.
[0400] The data removal unit 333 controls the lane integration unit 322 to remove the lane stuffing data, and controls the Byte to Pixel conversion unit 325 to remove the payload stuffing data.
[0401] The footer error detection unit 334 acquires the CRC code stored in the footer based on the footer data supplied from the packet separation unit 323. The footer error detection unit 334 performs an error detection calculation using the acquired CRC code to detect an error in the payload data. The footer error detection unit 334 outputs the error detection result and stores it in the register 342.
[0402] <Modification> Although the above description concerns the case where the multi-gradation transmission method is adopted in data transmission according to the SLVS-EC standard, it is also possible to apply the multi-gradation transmission method to data transmission according to other standards that define a frame having a specific format and transmit data on a line-by-line basis using a single packet. An example of such a standard is the MIPI standard.
[0403] By adopting the multi-level transmission method in data transmission according to the MIPI standard, efficient data transmission is possible as described above.
[0404] Computer configuration example The above-mentioned series of processes can be executed by hardware or software. When the series of processes is executed by software, the program constituting the software is installed from a program recording medium into a computer incorporated in dedicated hardware, or into a general-purpose personal computer, etc.
[0405] FIG. 52 is a block diagram showing an example of the hardware configuration of a computer that executes the above-mentioned series of processes by a program.
[0406] A CPU (Central Processing Unit) 1001, a ROM (Read Only Memory) 1002, and a RAM (Random Access Memory) 1003 are interconnected by a bus 1004.
[0407] An input / output interface 1005 is further connected to the bus 1004. An input unit 1006 including a keyboard, a mouse, etc., and an output unit 1007 including a display, a speaker, etc. are connected to the input / output interface 1005. In addition, a storage unit 1008 including a hard disk or non-volatile memory, a communication unit 1009 including a network interface, etc., and a drive 1010 that drives a removable medium 1011 are connected to the input / output interface 1005.
[0408] In the computer configured as above, the CPU 1001 loads a program stored in the storage unit 1008, for example, into the RAM 1003 via the input / output interface 1005 and the bus 1004, and executes the program, thereby performing the series of processes described above.
[0409] The programs executed by the CPU 1001 are installed in the storage unit 1008, for example, by being recorded on a removable medium 1011, or provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting.
[0410] In addition, the program executed by the computer may be a program in which processing is performed chronologically in the order described in this specification, or it may be a program in which processing is performed in parallel or at the required timing, such as when called.
[0411] The effects described herein are merely examples and are not limiting, and other effects may also be present.
[0412] The embodiments of the present technology are not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present technology.
[0413] For example, the present technology can be configured as cloud computing, in which a single function is shared and processed collaboratively by multiple devices via a network.
[0414] Furthermore, each step described in the above flow chart can be executed by one device, or can be shared and executed by a plurality of devices.
[0415] Furthermore, when a single step includes multiple processes, the multiple processes included in the single step can be executed by a single device, or can be shared and executed by multiple devices.
[0416] <Examples of configuration combinations> The present technology can also be configured as follows.
[0417] (1) a packet generator that generates packets to be used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format by adding a header including separation information including an identifier indicating that a plurality of types of unit data are stored in a payload, the payload including the plurality of types of unit data, each of which has a different bit width; A transmitter for transmitting the packet; A transmitting device comprising: (2) The packet generator generates the payload in which the bit width of the unit data is periodically switched. The transmitting device according to (1) above. (3) The packet generator generates the payload in which the unit data having the same bit width are successively stored. The transmitting device according to (2) above. (4) The packet generating unit adds the header including, as the separation information, information indicating at least one of an order of the unit data and a period of switching of the bit width, together with mode information indicating that the bit width is switched periodically. A transmitting device as described in (2) or (3). (5) The transmitting device described in any one of (2) to (4), wherein the packet generating unit generates the packet including the payload in which pixels constituting each image captured by a plurality of imaging elements are stored as the unit data. (6) The packet generator generates the payload in which the bit width of the unit data is partially switched. The transmitting device according to (1) above. (7) The packet generating unit adds the header including, as the separation information, information indicating at least one of the number of parts where the bit width of the unit data switches, the start positions of the parts, and the widths of the parts, together with mode information indicating that the bit width switches partially. The transmitting device according to (6) above. (8) The packet generation unit generates the packet including the payload in which pixels constituting a region of interest and pixels constituting a non-region of interest detected by analyzing an image are stored as the unit data having different bit widths. The transmitting device according to (6) or (7). (9) The packet generator stores a part of the separation information that cannot be stored in the header having a data length defined by the predetermined format at the beginning of the payload. A transmitting device according to any one of (1) to (8). (10) The packet generating unit generates the packet including the payload in which information on each item representing a measurement result of a predetermined sensor is stored as the unit data. The transmitting device according to (1) above. (11) The transmitting unit distributes packet data constituting the packet to a plurality of lanes, performs processing including insertion of control information on the packet data of each of the lanes in parallel, and outputs the packet data obtained by performing the processing onto a transmission path between the transmitting unit and a receiving device. A transmitting device according to any one of (1) to (11). (12) The transmitting device, a header including separation information including an identifier indicating that a plurality of types of unit data are stored in the payload to a payload storing the plurality of types of unit data, each of which has a different bit width for each data unit, thereby generating a packet used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format; Send the packet Transmission method. (13) a receiving unit that receives packets used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format, the packets being generated by adding a header including separation information including an identifier indicating that a plurality of types of unit data, each of which has a different bit width, to a payload storing the plurality of types of unit data, each of which has a different bit width for each data unit; a separation unit that separates each of the unit data having different bit widths based on the separation information and outputs the separated data; A receiving device comprising: (14) The separation unit separates the unit data from the payload in which a bit width of the unit data is periodically switched. The receiving device according to (13) above. (15) The separation unit separates the unit data based on the separation information including mode information indicating that the bit width is switched periodically and information indicating at least one of an order of the unit data and a period of switching of the bit width. The receiving device according to (14) above. (16) The separation unit separates the unit data from the payload in which the bit width of the unit data is partially switched. The receiving device according to (13) above. (17) The separation unit separates the unit data based on the separation information including mode information indicating that the bit width is partially switched, and information indicating at least one of the number of parts where the bit width of the unit data is switched, the start positions of the parts, and the widths of the parts. The receiving device according to (16) above. (18) The receiving unit receives packet data output from a transmitting device onto a transmission path in parallel as data of a plurality of lanes, The separation unit separates the unit data from the payload of the packet obtained by integrating the packet data of each of the lanes into one system of data. A receiving device according to any one of (13) to (17). (19) The receiving device: receiving a packet used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format, the packet being generated by adding a header including separation information including an identifier indicating that a plurality of types of unit data are stored in the payload to a payload storing the plurality of types of unit data, each of which has a different bit width for each data unit; The unit data having different bit widths is separated based on the separation information and output. Receiving method. (20) a packet generator that generates packets to be used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format by adding a header including separation information including an identifier indicating that a plurality of types of unit data are stored in a payload, the payload including the plurality of types of unit data, each of which has a different bit width; A transmitter for transmitting the packet; A transmitting device comprising: A receiving unit for receiving the packet; a separation unit that separates each of the unit data having different bit widths based on the separation information and outputs the separated data; A receiving device comprising: A transmitting and receiving device including: [Explanation of symbols]
[0418] 1 Transmission system, 11 Transmitting side LSI, 12 Receiving side LSI, 21 Information processing section, 22 Transmitting section, 31 Receiving section, 32 Information processing section, 51-1 Core, 51-2 Core_sub, 52 Memory, 53 Lane distribution section, 54 8B10B symbol encoder, 55 PHY analog processing section, 61 Signal processing section, 62 Control section, 63 State control section, 71 Packing section, 72 Header / footer generation section, 73 Packet generation section, 101 PHY analog processing section, 102 10B8B symbol decoder, 103 Lane integration section, 104 Core, 121 Signal processing section, 122 Control section, 123 State control section, 131 Packet analysis section, 132 Separation section, 133-1, 133-2 Output section
Claims
1. A packet generation unit which generates payloads storing multiple types of unit data with different bit widths, the payloads storing the unit data constituting one line of an image for each type of bit width, and adds a header including separation information including an identifier indicating that multiple types of unit data are stored in the payload to the payload, thereby generating packets used to transmit data for each line constituting a frame in which data to be transmitted is arranged in a predetermined format; and A transmitter for transmitting the packet; A transmitting device comprising:
2. The packet generator generates the payload in which the bit width of the unit data is periodically switched within the payload. The transmitting device according to claim 1 .
3. The packet generator generates the payload in which the unit data having the same bit width are successively stored. The transmitting device according to claim 2.
4. The packet generating unit adds the header including, as the separation information, information indicating at least one of an order of the unit data and a period of switching of the bit width, together with mode information indicating that the bit width is switched periodically. The transmitting device according to claim 2.
5. The transmitting device according to claim 2 , wherein the packet generating section generates the packet including the payload in which pixels constituting each of the images captured by a plurality of image capturing elements are stored as the unit data.
6. The packet generator generates the payload in which the bit width of the unit data is partially switched within the payload. The transmitting device according to claim 1 .
7. The packet generating unit adds the header including, as the separation information, information indicating at least one of the number of parts where the bit width of the unit data switches, the start positions of the parts, and the widths of the parts, together with mode information indicating that the bit width switches partially. The transmitting device according to claim 6.
8. The packet generation unit generates the packet including the payload in which pixels constituting a region of interest and pixels constituting a non-region of interest detected by analyzing an image are stored as the unit data having different bit widths. The transmitting device according to claim 6.
9. The packet generator stores a part of the separation information that cannot be stored in the header having a data length defined by the predetermined format at the beginning of the payload. The transmitting device according to claim 1 .
10. The packet generating unit generates the packet including the payload in which information on each item representing a measurement result of a predetermined sensor is stored as the unit data. The transmitting device according to claim 1 .
11. The transmitting unit distributes packet data constituting the packet to a plurality of lanes, performs processing including insertion of control information on the packet data of each of the lanes in parallel, and outputs the packet data obtained by performing the processing onto a transmission path between the transmitting unit and a receiving device. The transmitting device according to claim 1 .
12. The transmitting device, A payload is generated in which a plurality of types of unit data with different bit widths are stored, the payload storing the unit data constituting one line of an image for each type of bit width; generating a packet used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format by adding a header including separation information including an identifier indicating that a plurality of types of the unit data are stored in the payload to the payload; Send the packet Transmission method.
13. A receiver for receiving packets used to transmit data for each line constituting a frame in which data to be transmitted is arranged in a predetermined format, the payload storing multiple types of unit data with different bit widths, the payload storing the unit data constituting one line of an image for each type of bit width being generated by adding a header including separation information including an identifier indicating that multiple types of unit data are stored in the payload; a separation unit that separates each of the unit data having different bit widths based on the separation information and outputs the separated data; A receiving device comprising:
14. The separation unit separates the unit data from the payload in which a bit width of the unit data is periodically switched within the payload.
14. A receiving device according to claim 13.
15. The separation unit separates the unit data based on the separation information including mode information indicating that the bit width is switched periodically and information indicating at least one of an order of the unit data and a period of switching of the bit width.
15. A receiving device according to claim 14.
16. The separation unit separates the unit data from the payload in which a bit width of the unit data is partially switched within the payload.
14. A receiving device according to claim 13.
17. The separation unit separates the unit data based on the separation information including mode information indicating that the bit width is partially switched, and information indicating at least one of the number of parts where the bit width of the unit data is switched, the start positions of the parts, and the widths of the parts.
17. A receiving device according to claim 16.
18. The receiving unit receives packet data output from a transmitting device onto a transmission path in parallel as data of a plurality of lanes, The separation unit separates the unit data from the payload of the packet obtained by integrating the packet data of each of the lanes into one system of data.
14. A receiving device according to claim 13.
19. The receiving device: receiving a packet used for transmitting data of each line constituting a frame in which data to be transmitted is arranged in a predetermined format, the packet being generated by adding a header including separation information including an identifier indicating that a plurality of types of unit data are stored in the payload to the payload storing the unit data of a plurality of types of unit data having different bit widths constituting one line of an image for each type of bit width; The unit data having different bit widths is separated based on the separation information and output. Receiving method.
20. A packet generating unit which generates a payload storing multiple types of unit data with different bit widths, the payload storing the unit data constituting one line of an image for each type of bit width, and generates packets used to transmit data for each line constituting a frame in which data to be transmitted is arranged in a predetermined format by adding a header to the payload containing separation information including an identifier indicating that multiple types of unit data are stored in the payload; and A transmitter for transmitting the packet; A transmitting device comprising: A receiving unit for receiving the packet; a separation unit that separates each of the unit data having different bit widths based on the separation information and outputs the separated data; A receiving device comprising: A transmitting and receiving device including:
Citation Information
Patent Citations
Automatic video interpretation system
JP2000030057A
High data rate interface apparatus and method
JP2011019255A
Transmission device, transmission method, reception device, reception method, and program
JP2012120159A
