Semiconductor device and image processing system

The semiconductor device optimizes memory usage by sharing capture circuits among channels and writing data to continuous addresses, addressing inefficiencies in handling multiple channels of image data, thus enhancing system performance.

JP2024151637AInactive Publication Date: 2024-10-25RENESAS ELECTRONICS CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023065148
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing semiconductor devices face inefficiencies in memory usage when handling multiple channels of image data with different formats and exposures, requiring an effective mechanism to store and process diverse types of image data efficiently.

Method used

A semiconductor device with an interface circuit and channel composite circuit that inputs and outputs packets of image data across multiple channels, writing line data to continuous memory addresses, sharing capture circuits among channels to optimize memory usage.

Benefits of technology

Enhances memory usage efficiency, reduces circuit area, and minimizes dead space, particularly in systems with numerous channels, thereby improving overall system performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151637000001_ABST
    Figure 2024151637000001_ABST
Patent Text Reader

Abstract

To provide a semiconductor device and an image processing system, in which the usage efficiency of memories can be increased.SOLUTION: An interface circuit outputs a first packet PKT including line data of a k-th line included in image data ING of a first channel, and then outputs a second packet PKT including line data of the k-th line included in image data IMG of a second channel. A channel combination circuit 21a writes, to a memory MEM, the line data of the k-th line included in the image data IMG of the first channel to a first address area, and then writes the line data of the k-th line included in the image data IMG of the second channel to a second address area that is consecutive to the first address area.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a semiconductor device and an image processing system. [Background technology]

[0002] Patent Document 1 shows a microcomputer capable of taking in data of different areas in parallel and transferring it to a storage circuit. The microcomputer includes a direct RAM interface (DRI) that takes in image data of a predetermined area from image data from a camera and transfers it to a memory block, and a CPU that controls the DRI so as to transfer image data of different areas from the image data from the camera to the memory block. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2010-86401 A Summary of the Invention [Problem to be solved by the invention]

[0004] For example, an interface circuit based on the MIPI (Mobile Industry Processor Interface) CSI-2 (Camera Serial Interface 2) standard or the like loads image data such as RAW data generated by an image sensor, i.e., a camera, and metadata into a packet and outputs the packet. The image data and metadata loaded into the packet are stored in a memory and also processed by an ISP (Image Signal Processor) or the like. The ISP converts the RAW data into an RGB format or a YUV format or the like by demosaic processing, and then writes the converted image data into a memory. Processing such as image recognition is performed, for example, using the converted image data.

[0005] On the other hand, in recent years, the MIPI CSI-2 standard has been designed to support 16 virtual channels (VCs), i.e., 16 cameras and 2 16 There are two types of image formats: 16 Each camera can output up to four different types of images with different exposures, i.e., it can support four exposure channels (EC). Based on this, the types of image data output from the interface circuit can be up to<VC x EC x DT> = <16 x 4 x 65535> types. For this reason, it is necessary to use memory efficiently. In addition, an efficient system is required to classify such many types of image data by type and store them in memory.

[0006] The embodiments described below have been made in consideration of the above, and other problems and novel features will become apparent from the description of this specification and the accompanying drawings. [Means for solving the problem]

[0007] A semiconductor device according to an embodiment includes an interface circuit and a channel composite circuit. The interface circuit inputs image data of a plurality of channels including a first channel and a second channel, and outputs a plurality of packets carrying the image data of the plurality of channels. The channel composite circuit inputs a plurality of packets, and writes the image data of the plurality of channels carried in the plurality of packets to a memory. Here, each of the image data of the plurality of channels includes a plurality of lines of line data. The interface circuit loads line data of the kth line included in the image data of the first channel into a first packet and outputs the first packet, and then loads line data of the kth line included in the image data of the second channel into a second packet and outputs the second packet. The channel composite circuit writes the line data of the kth line included in the image data of the first channel into a first address range, and then writes the line data of the kth line included in the image data of the second channel into a second address range that is continuous with the first address range, in the memory. Effect of the Invention

[0008] By using the semiconductor device of one embodiment, memory usage efficiency can be improved. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a schematic diagram showing an example of the configuration of an image processing system according to the first embodiment. [Diagram 2] FIG. 2 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in FIG. [Diagram 3] FIG. 3 is a schematic diagram showing an example of a format of a packet output by the interface circuit in FIG. [Figure 4] FIG. 4 is a timing chart showing a schematic representation of the input timing of packets to the channel composite circuit shown in FIG. [Figure 5A] 16 is a schematic diagram for comparing specific examples of memory maps formed by the channel composite circuit shown in FIG. 2 and the channel composite circuit shown in FIG. 15. [Figure 5B] 16 is a schematic diagram for comparing specific examples of memory maps formed by the channel composite circuit shown in FIG. 2 and the channel composite circuit shown in FIG. 15. [Figure 6A] FIG. 6A is a circuit block diagram showing a detailed configuration example of the channel composite circuit shown in FIG. [Figure 6B] FIG. 6B is a circuit block diagram showing a detailed configuration example of the address generator in FIG. 6A. [Figure 7] FIG. 7 is a diagram showing the results of a comparison of various performances between the channel combination circuit shown in FIG. 2 and the channel combination circuit shown in FIG. [Figure 8] FIG. 8 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in FIG. 1 in the image processing system according to the second embodiment. [Figure 9] FIG. 9 is a timing chart showing a schematic representation of the input timing of packets to the channel composite circuit shown in FIG. [Figure 10] FIG. 10 is a schematic diagram showing an example of the configuration of the start address data generated by the channel composite circuit shown in FIG. [Figure 11A] FIG. 11A is a circuit block diagram showing a detailed configuration example of the channel composite circuit shown in FIG. [Figure 11B] FIG. 11B is a diagram showing an example of the configuration of offset address data set in the setting register in FIG. 11A. [Figure 12] FIG. 12 is a diagram showing the results of a comparison of various performances between the channel combination circuit shown in FIG. 8 and the channel combination circuit shown in FIG. [Figure 13] FIG. 13 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in FIG. 1 in the image processing system according to the third embodiment. [Figure 14] FIG. 14 is a schematic diagram showing an example of the configuration of map data generated by the channel combining circuit shown in FIG. [Figure 15]FIG. 15 is a schematic diagram showing a schematic configuration example and an operation example of a channel composite circuit serving as a comparative example to FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] In the following embodiments, when necessary for convenience, the description will be divided into a plurality of sections or embodiments, but unless otherwise specified, they are not unrelated to each other, and one is a partial or complete modification, detail, supplementary explanation, etc. of the other. In addition, in the following embodiments, when the number of elements (including the number, numerical value, amount, range, etc.) is mentioned, it is not limited to the specific number, except when specifically specified or when it is clearly limited to a specific number in principle, and it may be more than or less than the specific number. Furthermore, in the following embodiments, it goes without saying that the components (including element steps, etc.) are not necessarily essential, except when specifically specified or when it is clearly considered to be essential in principle. Similarly, in the following embodiments, when the shape, positional relationship, etc. of the components, etc. are mentioned, it includes those that are substantially similar to or similar to the shape, etc., except when specifically specified or when it is clearly considered not to be essential in principle. This also applies to the above numerical values ​​and ranges.

[0011] Hereinafter, the embodiments will be described in detail with reference to the drawings. In all the drawings for explaining the embodiments, the same reference numerals are used for the members having the same functions, and the repeated explanations are omitted. In the following embodiments, the explanations of the same or similar parts will not be repeated as a rule unless it is particularly necessary.

[0012] (First embodiment) <Image processing system overview> 1 is a schematic diagram showing a configuration example of an image processing system according to a first embodiment. The image processing system is, for example, an in-vehicle system such as an ADAS (Advanced Driver Assistance System). The image processing system includes an image sensor 11, a semiconductor device 10, a RAM (Random Access Memory) 12 which is an external memory, and a display 13. The image sensor 11 includes CMOS (Complementary Metal Oxide Semiconductor) type or CCD (Charge Coupled Device) type imaging elements, in other words, pixels, arranged in a matrix. The image sensor 11 captures an image of an object and generates, for example, image data IMG of a plurality of channels.

[0013] The RAM 12 is, for example, a DRAM (Dynamic RAM) or the like. The display 13 is, for example, a liquid crystal display or an organic EL (Electro Luminescence) display or the like. The semiconductor device 10 is, for example, an in-vehicle LSI (Large Scale Integration), an SoC (System on a Chip) or a microcontroller constituted by a single semiconductor chip, or the like. Note that a plurality of image sensors 11 may be provided.

[0014] The semiconductor device 10 performs image processing and image recognition processing on image data IMG from an image sensor 11. The semiconductor device 10 also displays an image on a display 13 as necessary. The semiconductor device 10 includes an interface circuit 20, a channel composite circuit 21, an ISP 22, a scaler 23, an image processor 24, a main processor 25, a RAM 26 which is an internal memory, a memory controller 27, and a system bus 28.

[0015] Here, the system bus 28 interconnects the channel composite circuit 21, the ISP 22, the scaler 23, the image processor 24, the main processor 25, the RAM 26, and the memory controller 27. The RAM 26 is, for example, a combination of DRAM and SRAM (Static RAM). The memory controller 27 controls access to the RAM 12, which is an external memory. The difference between the RAM 12 and the RAM 26 is that the RAM 12 is an external memory and the RAM 26 is an internal memory. In the specification, the RAMs 12 and 26 are collectively referred to as memory MEM unless there is a need to distinguish between them. Although not shown in the drawings, the semiconductor device 10 also includes a non-volatile memory in which programs and the like are stored.

[0016] The interface circuit 20 is a circuit having various functions based on, for example, the MIPI CSI-2 standard. The interface circuit 20 inputs data transmitted from the image sensor 11. The data transmitted from the image sensor 11 includes image data IMG of multiple channels. The image data IMG is, for example, RAW data including pixel values ​​of each pixel based on a Bayer array.

[0017] The data transmitted from the image sensor 11 also includes metadata. The metadata describes various product-specific information, such as the setting values ​​of the image sensor 11. The interface circuit 20 then loads the image data IMG and metadata of the multiple channels into packets PKT as appropriate, and outputs multiple packets PKT loaded with the image data IMG or metadata. The multiple packets PKT have a format based on the MIPI CSI-2 standard.

[0018] The channel composite circuit 21, which will be described in detail later, inputs a plurality of packets PKT from the interface circuit 20 and writes image data IMG and metadata of a plurality of channels contained in the plurality of packets PKT into the memory MEM. At this time, the channel composite circuit 21 identifies the image data IMG and metadata, and further identifies the channel to which each data belongs, before writing each data into the memory MEM. In addition, the channel composite circuit 21 transfers image data IMG based on predetermined settings, such as image data IMG of a specific channel, to the ISP 22 as necessary.

[0019] The ISP 22 performs processes such as demosaic processing, which will be described later, HDR image generation processing in which images having multiple exposures are synthesized to generate a HDR (High-Dynamic-Range) image, tone mapping processing for HDR images, black level correction processing, and color space conversion processing on the image data IMG of multiple channels stored in the memory MEM or the image data IMG transferred from the channel composite circuit 21. That is, these processes are correction and format conversion processing in a preliminary stage for performing image recognition processing on the captured RAW image data in the scaler 23, the image processor 24, etc. For example, in demosaic processing, the ISP 22 performs a process of interpolating pixel values ​​of missing colors on the target image data IMG, for example, RAW data based on a Bayer array. This generates image data having an RGB format or a YUV format, etc. Then, the ISP 22 writes the image data after image processing into the memory MEM.

[0020] The scaler 23 generates an entire reduced image or the like by changing the image scale of the image data after image processing stored in the memory MEM. The image processor 24 is a processing circuit for image recognition such as a GPU (Graphics Processing Unit) or an accelerator. The image processor 24 executes image recognition processing on the image data after image processing written in the memory MEM by the ISP 22, or the image data IMG of multiple channels written in the memory MEM by the channel composite circuit 21. The image recognition processing is, for example, object detection processing using a neural network.

[0021] The main processor 25 is configured, for example, by a CPU (Central Processing Unit) or a combination of a CPU and a DSP (Digital Signal Processor). The main processor 25 executes programs stored in the RAM 26 or the like to control the overall processing sequence of the semiconductor device 10, including image processing and image recognition processing. In other words, the main processor 25 controls the overall processing sequence of the semiconductor device 10 while appropriately coordinating with various internal circuits included in the semiconductor device 10.

[0022] <Outline of the channel composite circuit> Fig. 2 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in Fig. 1. Fig. 3 is a schematic diagram showing an example of a format of a packet output by the interface circuit in Fig. 1. Fig. 4 is a timing chart showing a schematic input timing of a packet to the channel composite circuit shown in Fig. 2.

[0023] As shown in Fig. 3, the MIPI CSI-2 standard specifies a short packet PKT_S and a long packet PKT_L. The short packet PKT_S is a packet for notifying, for example, FS (Frame Start) / FE (Frame End) indicating the start / end of image data IMG, and LS (Line Start) / LE (Line End) indicating the start / end of each of H lines L[0]-L[H-1] constituting the image data IMG.

[0024] The short packet PKT_S includes a virtual channel (VC) value and a data type (DT) value. The virtual channel (VC) value and the data type (DT) value are set based on information added to the data transmitted from the image sensor 11. For example, a value for identifying each image sensor 11, i.e., each camera, is set in the virtual channel (VC). For example, a value for identifying the type of data, such as image data, metadata, or black level correction data, or the type of image format, is set in the data type (DT). In addition, the short packet PKT_S includes<Data Field> Including.<Data Field> For example, a value representing FS (Frame Start) / FE (Frame End) or LS (Line Start) / LE (Line End) is set in the .

[0025] On the other hand, the long packet PKT_L is a packet for transmitting the line data DAT of each of the H lines L[0]-L[H-1] included in the image data IMG. The long packet PKT_L includes header information PH in addition to the line data DAT. The header information PH includes a virtual channel (VC) value and a data type (DT) value similar to those of the short packet PKT_S, as well as a word count (WC) value.

[0026] The word count (WC) value indicates the size of the line data DAT carried in the packet. For example, when one line data DAT is transmitted in one long packet PKT_L, the word count (WC) value becomes the line size W of the image data IMG. Note that metadata is also transmitted in the long packet PKT_L in the same manner as the line data DAT.

[0027] In the example of FIG. 2, the channel composite circuit 21a inputs three packets PKT, specifically three long packets PKT_L, each carrying image data IMG1-IMG3 of three channels, via an interface circuit 20 (not shown). The channel composite circuit 21a recognizes the three channels based on a combination of a virtual channel (VC) value and a data type (DT) value included in the header information PH. The image data IMG1-IMG3 of the three channels have line sizes W1-W3 and line numbers H1-H3, respectively. In this example, the relationships are {W1>W2>W3} and {H1>H3>H2}.

[0028] Assuming that such three-channel image data IMG1-IMG3 are used, the interface circuit 20 outputs packets PKT at the timing shown in Fig. 4. That is, in Fig. 4, the interface circuit 20 outputs a plurality of packets PKT, each of which contains line data included in the three-channel image data IMG1-IMG3, line by line in a fixed channel order.

[0029] Specifically, the interface circuit 20 first outputs the line data DAT[0] of the line L[0] included in each of the image data IMG1-IMG3 of the three channels, more specifically, three long packets PKT_L carrying the line data DAT[0], in the order of channels 1, 2, and 3. At this time, the interface circuit 20 outputs the line data DAT[0] of a certain channel during an active period Tact, and then outputs the line data DAT[0] of the next channel after a predetermined blank period Tblnk.

[0030] Next, the interface circuit 20 outputs the line data DAT[1] of the next line L[1] included in the image data IMG1-IMG3 of the three channels, more specifically, the three long packets PKT_L carrying the line data DAT[1], in the order of channels 1, 2, and 3. The same output is performed thereafter. Note that since line L[H2-1] is the last line of image data IMG2, no output of image data IMG2 is performed from the next line L[H2] onwards. Similarly, since line L[H3-1] is the last line of image data IMG3, no output of image data IMG3 is performed from the next line L[H3] onwards.

[0031] In Fig. 2, the channel composite circuit 21a includes a capture circuit 35a, a setting register 36a, and an address generator 37. The channel composite circuit 21a generally operates as follows. First, as shown in Fig. 4, the interface circuit 20 loads the image data of the first channel, for example, line data of the kth line included in IMG1, for example, DAT[k], into a first packet PKT and outputs it. After that, the interface circuit 20 loads the line data of the kth line included in image data IMG2 of the second channel into a second packet PKT and outputs it.

[0032] On the other hand, when the channel composite circuit 21a receives a first packet PKT, it writes the line data DAT[k] of the kth line included in the image data IMG1 of the first channel to the first address range in the memory MEM. After that, when the channel composite circuit 21a receives a second packet PKT, it writes the line data DAT[k] of the kth line included in the image data IMG2 of the second channel to the second address range contiguous to the first address range in the memory MEM.

[0033] In detail, the setting register 36a includes, for example, a channel setting register and a line stride register. In the channel setting register, a virtual channel (VC) value and a data type (DT) value for each channel identifier IMG_ID are set. That is, each channel is distinguished by a combination of a virtual channel (VC) value and a data type (DT) value. In the line stride register, a line stride STRD is set.

[0034] The line stride STRD is set to a value larger than the total value of the line sizes W in the image data IMG of multiple channels. Under this condition, the line stride STRD is preferably set to a value i times BW, where i is an integer equal to or greater than 1 and BW is the bus width of the memory MEM, such that i is the smallest.

[0035] In the example of FIG. 2, the line stride STRD is the sum of the line sizes in the image data IMG1 to IMG3 as shown in the memory map 30a.<W1+W2+W3> However, if the total line size is<W1+W2+W3> If is equal to the i-th value of BW, the line stride STRD is the total line size<W1+W2+W3> With such a setting, for example, when the bus width BW of the memory MEM is 32 bytes, the value of the line stride STRD and the total value of the line size<W1+W2+W3> The difference between them will be a value less than 32 bytes.

[0036] The capture circuit 35a identifies the channels to which the input packets PKT belong based on the contents of the channel setting register in the setting register 36a, i.e., the virtual channel (VC) value and the data type (DT) value. The capture circuit 35a then extracts the line data DAT contained in the packet PKT as the line data DAT of the identified channel. This extracted line data DAT is written to the memory MEM. The address generator 37 generates a memory address MADR for writing the extracted line data DAT to the memory MEM. More specifically, the address generator 37 generates the memory address MADR based on equation (1).

[0037] MADR = STRD x LCUNT + SADR + WCUNT …(1)

[0038] In formula (1), LCUNT is the line count number. For example, the capture circuit 35a increments the line count number LCUNT when it writes the line data of all channels, three channels in the example of FIG. 2, into the memory MEM for each line. As a result,<STRD x LCUNT> represents the line start address for each line.

[0039] SADR is a relative address from the line start address for each line, and indicates the start address for each channel of the line data DAT. In the example of FIG. 2, as shown in FIG. 4, the channel order of the input line data DAT is fixed, so the start address SADR is also fixedly determined. In the example of FIG. 2, the start addresses SADR are 0, W1, W2, W3 for the image data IMG1, IMG2, and IMG3, respectively.<W1+W2> The line sizes W1-W3 are known values ​​and are set in advance in, for example, the setting register 36a.

[0040] WCUNT indicates a relative address from the start address SADR, and is a line count value that determines the byte position within the line size W. The line count value WCUNT is updated sequentially based on the size of data that has been written to the memory MEM.

[0041] With such a configuration and operation, a memory map 30a as shown in Fig. 2 is formed in the memory MEM. That is, the channel composite circuit 21a writes the line data DAT of the kth line included in the image data IMG1-IMG3 of all channels into the memory MEM successively from a line start address based on LCUNT times the line stride STRD, with the line count number LCUNT being an integer. Furthermore, the channel composite circuit 21a writes the line data DAT of the kth line included in the image data IMG1-IMG3 of all channels into the memory MEM successively from a line start address based on LCUNT times the line stride STRD.<k+1> Line data DAT of line th is line stride STRD<LCUNT+1> Write consecutively from the line start address based on the double.

[0042] When the memory map 30a as shown in Fig. 2 is formed in the memory MEM, the start address SADR of each channel of the line data is required when reading out the image data IMG of the required channel from the memory MEM. Therefore, the channel composite circuit 21a stores the start address SADR of each channel of the line data as start address data SADR_DT1 in a predetermined storage area such as a register or memory. The start address SADR of each channel indicates a relative address from the line start address.

[0043] For example, when the ISP 22 or the image processor 24 processes image data IMG of a plurality of channels stored in the memory MEM, the ISP 22 or the image processor 24 refers to the start address data SADR_DT1 stored in a predetermined storage area. Based on the start address data SADR_DT1, the ISP 22 or the image processor 24 recognizes the memory address MADR where the image data IMG of the required channel is stored, and reads the image data IMG from the memory MEM. For this reason, the predetermined storage area is provided in a location that can be referenced by the ISP 22 or the image processor 24, etc.

[0044] <Comparative Examples> Fig. 15 is a schematic diagram showing a schematic configuration example and an operation example of a channel composite circuit as a comparative example to Fig. 2. The channel composite circuit shown in Fig. 15 includes a capture circuit for each channel, and here includes three capture circuits 45[1]-45[3] corresponding to three channels. Each of the capture circuits 45[1]-45[3] inputs only packets PKT having a virtual channel (VC) value and a data type (DT) value assigned to it.

[0045] Also, the address generator 47 generates a memory address MADR based on equation (2). BADR is a base address where the start address for each channel is set. STRD, LCUNT, and WCUNT are the line stride, line count number, and in-line count value, respectively, as in the case of equation (1). However, unlike the case of FIG. 2, the line stride STRD is determined based on the maximum line size, W1 here, among the line sizes W1-W3 of the image data IMG1-IMG3 of the three channels.

[0046] MADR = BADR + STRD x LCUNT + WCUNT …(2)

[0047] With such a configuration and operation, the channel composite circuit of the comparative example forms a memory map 50 in the memory MEM as shown in Fig. 15. That is, the channel composite circuit writes image data IMG1 in the area from base address BADR1 to base address BADR2, writes image data IMG2 in the area from base address BADR2 to base address BADR3, and writes image data IMG3 in the area after base address BADR3. In addition, the channel composite circuit updates the address in units of line stride STRD after writing one line data DAT in each channel.

[0048] Thus, in the channel composite circuit of the comparative example, the number of capture circuits increases as the number of channels increases. For example, in a surround view system equipped with 16 cameras, each with 4 exposure channels, image data DAT of 64 (=16 x 4) channels is input. In this case, 64 capture circuits are required. For this reason, particularly in systems that handle a large number of channels such as surround view systems, there is a demand for reducing the circuit area, in other words, making the circuits more efficient.

[0049] Furthermore, in order to efficiently access the memory MEM, the line stride STRD is set to an integer multiple of the bus width BW, as in the case of FIG. 2. As a result, dead space may occur for each line data DAT in one channel. This dead space accumulates as the number of channels increases. For this reason, it is necessary to improve the efficiency of use of the memory MEM.

[0050] On the other hand, in the channel composite circuit 21a according to the first embodiment shown in FIG. 2, the capture circuit 35a is shared by multiple channels. Therefore, particularly in a system that handles a large number of channels, the circuit area can be reduced, in other words, the circuit can be made more efficient. Furthermore, in the channel composite circuit 21a, dead space may occur for multiple line data DATs in multiple channels, for every three line data DATs in the example of FIG. 2. Therefore, the dead space does not particularly accumulate even if the number of channels increases. As a result, the usage efficiency of the memory MEM can be improved.

[0051] <Details of the channel composite circuit> 5A and 5B are schematic diagrams comparing specific examples of memory maps formed by the channel composite circuit shown in FIG. 2 and the channel composite circuit shown in FIG. 15. FIG. 5A shows image data IMG1-IMG3 of three channels that are input to the channel composite circuit. For the sake of simplicity, the number of lines H1, H2, and H3 of the image data IMG1-IMG3 are 4, 2, and 4, respectively. The line sizes W1, W2, and W3 of the image data IMG1-IMG3 are 80 bytes, 64 bytes, and 48 bytes, respectively. As shown in FIG. 5B, the bus width BW of the memory MEM is 32 bytes.

[0052] In this case, as shown in the memory map of the comparative example in Fig. 5B, in the channel composite circuit shown in Fig. 15, the base address BADR is set to the 0th byte address for image data IMG1, the 384th byte address for image data IMG2, and the 576th byte address for image data IMG3. Also, the line stride STRD is set to 96 (= BW x 3) bytes based on the maximum line size W1. With these settings, the image data IMG1-IMG3 are written to the memory MEM, forming the memory map of the comparative example.

[0053] On the other hand, as shown in the memory map according to the embodiment in FIG. 5B, in the channel composite circuit 21a shown in FIG. 2, the line start address is set for every 192 (= BW x 6) bytes based on the total value of the line sizes W1-W3 as the line stride STRD. With such settings, image data IMG1-IMG3 are written to the memory MEM, forming the memory map according to the embodiment. As can be seen from the comparison of the two memory maps, by using the channel composite circuit 21a shown in FIG. 2, the occurrence of dead space can be suppressed, and the usage efficiency of the memory MEM can be improved.

[0054] In the memory map according to the embodiment, for example, in the memory area MA from the 64th byte to the 95th byte, the first half of the bus width BW of the memory MEM contains the line data DAT of the image data IMG1, and the second half contains the line data DAT of the image data IMG2. For example, when the line data DAT of the image data IMG1 and the image data IMG2 are written in this order, the channel composite circuit 21a may apply a data mask signal to the first half when writing the line data DAT of the image data IMG2 to the memory area MA.

[0055] Alternatively, the channel composite circuit 21a may temporarily hold the line data DAT of the image data IMG1, and generate data to be written to the memory area MA at the stage of extracting the line data DAT of the image data IMG2. When reading the line data DAT from the memory area MA, the first half can be recognized as the line data DAT of the image data IMG1 and the second half as the line data DAT of the image data IMG2 by using the start address data SADR_DT1 shown in FIG.

[0056] Fig. 6A is a circuit block showing a detailed configuration example of the channel composite circuit shown in Fig. 2, and Fig. 6B is a circuit block showing a detailed configuration example of the address generator in Fig. 6A. The channel composite circuit 21a shown in Fig. 6A includes a packet identification circuit 40a and a data extraction circuit 41 as the capture circuit 35a shown in Fig. 2.

[0057] The setting register 36a also includes a start address register in addition to the channel setting register and line stride register described in Fig. 2. The start address data SADR_DT1 shown in Fig. 2 is set in the start address register. The virtual channel (VC) value and data type (DT) value for each channel identifier IMG_ID are set in the channel setting register, and the line stride STRD is set in the line stride register.

[0058] The packet identification circuit 40a generally identifies the input long packet PKT_L and short packet PKT_S. As described in Fig. 2, the packet identification circuit 40a also stores the start address data SADR_DT1 in a storage area 38 which is a register or memory in order to allow the ISP 22 or the image processor 24 to perform a normal read operation. The storage area 38 may be the setting register 36a or the memory MEM.

[0059] In detail, the packet identification circuit 40a identifies the channel to which each of the input packets PKT, for example, the long packet PKT_L, belongs based on the header information PH of each packet PKT. That is, the packet identification circuit 40a identifies the channel by referring to the channel setting register using the virtual channel (VC) value and the data type (DT) value included in the header information PH.

[0060] In addition, the packet identification circuit 40a outputs the start address SADR of the target channel to the address generator 37 based on the start address register every time it detects a channel change in each line. Furthermore, the packet identification circuit 40a increments the line count number LCUNT after inputting the line data DAT of all channels for each line. The packet identification circuit 40a outputs the incremented line count number LCUNT to the address generator 37.

[0061] Here, for each line, the determination as to whether the line data DAT of all channels has been input may be made based on, for example, LE (Line End) included in the short packet PKT_S. Also, the number of channels per line changes according to the number of lines H of each image data IMG. The packet identification circuit 40a can recognize the change in the number of channels per line based on, for example, FE (Frame End) included in the short packet PKT_S.

[0062] The data extraction circuit 41 extracts line data DAT contained in each packet PKT, specifically, the long packet PKT_L, based on the control signal CTL from the packet identification circuit 40a. The data extraction circuit 41 then divides the extracted line data DAT based on the bus width BW of the memory MEM, and sequentially outputs the divided line data DAT to the memory MEM. At this time, the data extraction circuit 41 also executes the processing required in the memory area MA, as described in FIG. 5B.

[0063] 6B, the address generator 37 includes a multiplier 370, two adders 371 and 372, and an in-line counter 373. The multiplier 370 multiplies the line count number LCUNT from the packet identification circuit 40a by the line stride STRD from the setting register 36a. The adder 371 adds the multiplication result from the multiplier 370 to the start address SADR from the packet identification circuit 40a.

[0064] The in-line counter 373 outputs an in-line count value WCUNT by sequentially counting, for example, in units of the bus width BW of the memory MEM. Also, when the packet identification circuit 40a outputs a new start address SADR, the in-line counter 373 resets the count value using a reset signal RST. The adder 372 generates a memory address MADR by adding the in-line count value WCUNT to the addition result from the adder 371. This generates the memory address MADR shown in equation (1).

[0065] Fig. 7 is a diagram showing the results of comparing various performances between the channel composite circuit shown in Fig. 2 and the channel composite circuit shown in Fig. 15. Here, the two are compared in terms of circuit efficiency, bandwidth, standby power, and memory capacity. Circuit efficiency, bandwidth, and standby power are expressed as a ratio when the system of the comparative example shown in Fig. 15 is set to 1. The effect of reducing memory capacity is expressed as the memory capacity that can be reduced by the system of the embodiment.

[0066] [Circuit efficiency] By using the method of the embodiment, the number of channels that can be captured can be increased with the same circuit area compared to the method of the comparative example. Therefore, when one capture circuit 35a captures image data IMG of M channels, the circuit can be made M times more efficient. In other words, the circuit area can be reduced to <1 / M>.

[0067] [Bandwidth] In the method of the embodiment, compared to the method of the comparative example, overhead occurs due to the notification of the start address data SADR_DT1. When the start address SADR is 32 bits (= 4 bytes) and the number of channels is M, the size of the start address data SADR_DT1 is<M x 4> The size of the output data from the image sensor 11 is, for example, <1920 x 1080> bytes per camera for full HD size image data, with one pixel being 1 byte, and <1920 x 2> bytes for metadata. In surround view systems and the like, the value of M is usually 100 or less. Therefore, the size of the start address data SADR_DT1 is sufficiently smaller than the data size to be captured, and the bandwidth overhead (a') is also small enough to be negligible.

[0068] [Standby power] In the method of the embodiment, the number of capture circuits can be reduced to <1 / M> compared to the method of the comparative example, assuming that the number of channels is M. Therefore, the standby power of one capture circuit in the method of the embodiment is <1 / M> the standby power of M capture circuits in the method of the comparative example, for example, the standby power associated with clock supply.

[0069] [Memory capacity] For example, assuming that the bus width BW of the memory MEM is 32 bytes, in the comparative example, a dead space of less than 32 bytes occurs for each of the line data DAT of M channels. If the size of the dead space is determined randomly, the average value of the size of the dead space is 16 bytes for one line data DAT. In this case, the size of the dead space occurring for the line data DAT of M channels is<M x 16> On the other hand, in the method of the embodiment, dead space occurs for the line data DAT of M channels, so the size of the dead space can be compressed to <1 / M>.

[0070] <About modified examples> Here, one capture circuit 35a corresponds to M channels. However, if the number of channels increases, for example, the value of the line stride STRD increases, and it is necessary to increase the bit width of each circuit included in the address generator 37. For this reason, for example, if a limit is placed on the bit width, multiple capture circuits 35a corresponding to channels up to the upper limit based on the bit width may be provided.

[0071] Moreover, the M channels corresponding to one capture circuit 35a may be multiple channels that are highly related in processing by the image processor 24. For example, when multiple image sensors each transfer multiple exposures and metadata, capture data that are highly related in processing by the image processor 24 may be collectively processed by one capture circuit 35a and stored in memory. As a result, efficient processing by the image processor 24 is possible. Therefore, multiple capture circuits that process multiple channels that are highly related in processing by the ISP 22 or the image processor 24 may be provided. Furthermore, when it is desired to separate memory areas for image data and metadata, a capture circuit that processes metadata of multiple channels and a capture circuit that processes image data may be provided separately. In this way, the allocation of channels that are corresponding to one capture circuit 35a may be appropriately changed depending on the system.

[0072] <Main Effects of the First Embodiment> As described above, in the first embodiment, a channel composite circuit is provided that writes the line data of each channel to a continuous address range for each line. This improves memory usage efficiency. Furthermore, the circuit can be made more efficient. These effects become more pronounced as the number of channels increases.

[0073] (Second embodiment) <Outline of the channel composite circuit> FIG. 8 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in FIG. 1 in the image processing system according to the second embodiment. FIG. 9 is a timing chart showing the input timing of packets to the channel composite circuit shown in FIG. 8. The channel composite circuit 21b shown in FIG. 8 is slightly different from the case of FIG. 2 in the configuration of the setting register 36b and the configuration and operation of the capture circuit 35b. In the second embodiment, the interface circuit 20 in FIG. 1 outputs a plurality of packets PKT each carrying line data DAT included in the image data IMG of a plurality of channels for each line L[0]-L[7] in a variable channel order as shown in FIG. 9.

[0074] In Fig. 9, for example, in line L[0], the line data DAT[0] of image data IMG1, the line data DAT[0] of image data IMG2, and the line data DAT[0] of image data IMG3 are output in this order, as in Fig. 4. Meanwhile, in the next line L[1], unlike Fig. 4, the line data DAT[1] of image data IMG3, the line data DAT[1] of image data IMG1, and the line data DAT[1] of image data IMG2 are output in this order. Furthermore, in the next line L[2], unlike Fig. 4, the line data DAT[2] of image data IMG1, the line data DAT[2] of image data IMG3, and the line data DAT[2] of image data IMG2 are output in this order.

[0075] Accordingly, the channel composite circuit 21b shown in Fig. 8 recognizes the channel order for each line, unlike the case of Fig. 2. Each channel is recognized based on the header information PH of the packet PKT, as in the case of Fig. 2. Also, the channel composite circuit 21b writes the line data DAT for each line in the input channel order to a continuous address range in the memory MEM, as in the case of Fig. 2. However, in Fig. 8, the channel order to be written differs for each line, as shown in the memory map 30b.

[0076] Therefore, the channel composite circuit 21b, here the capture circuit 35b, generates start address data SADR_DT2 different from that in FIG. 2 and stores it in a predetermined storage area, which is a register or memory. FIG. 10 is a schematic diagram showing an example of the configuration of start address data generated by the channel composite circuit shown in FIG. 8. The start address data SADR_DT1 shown in FIG. 2 has a start address SADR for each channel of the line data DAT. In other words, the start address data SADR_DT1 represents a start address SADR used in common for all lines. On the other hand, the start address data SADR_DT2 shown in FIG. 10 represents a start address SADR for each line of the channel of the line data DAT.

[0077] As a specific example, the operation of the capture circuit 35b when receiving the line data DAT[1] of the line L[1] will be described. The capture circuit 35b receives the line data DAT[1] of the line L[1] in the order of image data IMG3, image data IMG1, and image data IMG2. For example, when the capture circuit 35b receives the line data DAT[1] of the image data IMG3 first on the line L[1], it stores 0 as the start address SADR (address relative to the line start address) in the area of ​​the start address data SADR_DT2 corresponding to the line L[1] and image data IMG3 in FIG. 10.

[0078] Next, when the capture circuit 35b receives the line data DAT[1] of the image data IMG1 as the second data of the line L[1], it stores W3 as the start address SADR in the area of ​​the start address data SADR_DT2 corresponding to the line L[1] and the image data IMG1 in Fig. 10. W3 is the line size of the image data IMG3 written first.

[0079] Next, when the capture circuit 35b receives the line data DAT[1] of the image data IMG2 as the third data of the line L[1], it writes the start address SADR_DT2 to the area representing the line L[1] and the image data IMG2 in FIG. 10 as the start address SADR.<W3 + W1> W1 is the line size of the second written image data IMG1,<W3 + W1> is the sum of the line sizes written first and second.

[0080] Here, the values ​​of each line size W1-W3 are preset in the setting register 36b. The capture circuit 35b generates start address data SADR_DT2 based on the recognized variable channel order and the value of the setting register 36b. The capture circuit 35b also determines each start address SADR in the start address data SADR_DT2, and outputs the determined start address SADR to the address generator 37. This enables the address generator 37 to generate a memory address MADR based on equation (1).

[0081] The line data DAT of each channel input to the capture circuit 35b is written into the memory MEM based on the memory address MADR generated by the address generator 37. As in the first embodiment, the start address data SADR_DT2 is referenced by the ISP 22 or the image processor 24 to generate a memory address MADR for reading out the image data IMG of the channel required for processing from the memory MEM.

[0082] In the start address data SADR_DT2 shown in Fig. 10, unnecessary information <-> is stored in an area where the start address SADR does not exist. For example, the capture circuit 35b identifies FE (Frame End) of the image data IMG2 included in the short packet PKT_S input after line L[4]. Based on this, the capture circuit 35b stores unnecessary information <-> in the start address SADR of the image data IMG2 from line L[5] onwards.

[0083] <Details of the channel composite circuit> Fig. 11A is a circuit block showing a detailed configuration example of the channel composite circuit shown in Fig. 8, and Fig. 11B is a diagram showing a configuration example of offset address data set in the setting register in Fig. 11A. In the channel composite circuit 21b shown in Fig. 11A, unlike the case of Fig. 6A, the setting register 36b further includes an offset address register. In the offset address register, as shown in Fig. 11B, the line sizes W1-W3 of the image data IMG1-IMG3 of the three channels are set as offset address data OADR_DT.

[0084] The capture circuit 35b includes a packet identification circuit 40b and a data extraction circuit 41. The data extraction circuit 41 is the same as in FIG. 6A. Unlike the case of FIG. 6A, the packet identification circuit 40b generates a start address SADR and start address data SADR_DT2 based on the input channel order and offset address data OADR_DT. The start address SADR is output to an address generator 37, as in the case of FIG. 6A. The start address data SADR_DT2 is stored in a storage area 38, which is a register or a memory. However, since the size of the start address data SADR_DT2 can be large, it is preferable that the storage area 38 is a memory.

[0085] FIG. 12 is a diagram showing the results of comparing various performances between the channel composite circuit shown in FIG. 8 and the channel composite circuit shown in FIG. 15. Here, as in the case of FIG. 7, the two are compared in terms of circuit efficiency, bandwidth, standby power, and memory capacity. In FIG. 12, the content of the bandwidth is different from that in FIG. 7. That is, in the method of the second embodiment, the overhead associated with the notification of the start address data SADR_DT2 is larger than in the method of the first embodiment.

[0086] Specifically, when the start address SADR is 32 bits (= 4 bytes), the number of channels is M, and the number of lines in each channel is H, the size of the start address data SADR_DT2 is as follows:<M x H x 4> On the other hand, the size of the output data from the image sensor 11, for example, image data, is, for example, <1920 x 1080> bytes per camera, as described in FIG. 7, and in the case of M channels,<M x 1920 x 1080> Therefore, the size of the start address data SADR_DT2 is much smaller than the size of the data to be captured, and the bandwidth overhead (a") is also small enough to be negligible. However, the overhead (a") shown in FIG. 12 is larger than the overhead (a') shown in FIG. 7.

[0087] <Main Effects of the Second Embodiment> As described above, by using the method of the second embodiment, even if a variable channel order is used for each line, the same effects as those described in the first embodiment can be obtained. Furthermore, since the variable channel order can be handled in this way, a mechanism for fixing the channel order is not required in the front stage of the channel composite circuit, for example, in the interface circuit 20 or the image sensor 11. As a result, the cost of the entire image processing system can be reduced.

[0088] (Third embodiment) <Outline of the channel composite circuit> Fig. 13 is a schematic diagram showing a schematic configuration example and an operation example of the channel composite circuit in Fig. 1 in the image processing system according to the third embodiment. Fig. 14 is a schematic diagram showing a configuration example of map data generated by the channel composite circuit shown in Fig. 13. The channel composite circuit 21c shown in Fig. 13 includes a capture circuit 35c, a setting register 36c, and an address generator 37c, similar to the case of Fig. 8 etc. However, the configuration and operation of each of these parts are slightly different from the case of Fig. 8.

[0089] Specifically, the channel composite circuit 21c is configured to be able to handle the case where the lines of the three channels of image data IMG1-IMG3 are not synchronized in all channels and the line data DAT is input irregularly, unlike the case of Fig. 8. For example, as shown in the memory map 30c in Fig. 13, the line data DAT is input in an irregular order, such as line L[0] of image data IMG1, line L[0] of image data IMG2, line L[1] of image data IMG1, line L[2] of image data IMG1, ...

[0090] The channel composite circuit 21c writes the input line data DAT to the memory MEM in the order of input. At this time, the channel composite circuit 21c, more specifically the capture circuit 35c, increments the Y count number YCUNT when three line data are input, and updates the address based on YCUNT times the line stride STRD. For this reason, the line stride STRD is set to a value, for example, three times or more the maximum line size W1.

[0091] In response to the input of such irregular line data DAT, the capture circuit 35c generates map data MAP_DT as shown in Fig. 14. The map data MAP_DT indicates the offset at which the line data DAT of each line L[0]-L[8] in the three image data IMG1-IMG3 is stored, with the Y line starting address being the Y line starting address of the Y line Y[0]-Y[7] in the memory MEM.

[0092] For example, the capture circuit 35c stores the Y line Y[0] and the offset value 0 in the corresponding area of ​​the map data MAP_DT in order to write the line data DAT of the line L[0] of the image data IMG1 in the memory MEM as the first data. Then, the capture circuit 35c stores the Y line Y[0] and the offset value W1, i.e., the line size written in the first data, in the corresponding area of ​​the map data MAP_DT in order to write the line data DAT of the line L[0] of the image data IMG2 in the memory MEM as the second data.

[0093] Next, the capture circuit 35c writes the line data DAT of the line L[1] of the image data IMG1 to the memory MEM as the third line data, and writes the Y line Y[0] and the offset value Y[1] of the corresponding map data MAP_DT to the memory MEM.<W1 + W2> That is, the total value of the line sizes written in the first and second steps is stored. Next, in order to write the line data DAT of the line L[2] of the image data IMG1 into the memory MEM as the fourth step, the capture circuit 35c stores the Y line Y[1] resulting from the update of the Y count number YCUNT and an offset value of 0 in the corresponding area of ​​the map data MAP_DT.

[0094] The address generator 37c refers to the data stored in the map data MAP_DT and generates a memory address MADR for writing the line data DAT input to the capture circuit 35c to the memory MEM. The line data input to the capture circuit 35c is written to the memory MEM based on the memory address thus generated. Also, as in the first and second embodiments, the ISP 22 or the image processor 24 can refer to the data stored in the map data MAP_DT and specify the memory address where the image data IMG of the channel to be processed is stored.

[0095] <Main Effects of the Third Embodiment> As described above, by using the method of the third embodiment, even if the line data is input irregularly, the same effects as those described in the first embodiment can be obtained. Furthermore, since the line data may be input irregularly in this way, a mechanism for synchronizing lines in all channels is not required in the front stage of the channel composite circuit, for example, in the interface circuit 20 or the image sensor 11. As a result, the cost of the entire image processing system can be reduced.

[0096] The invention made by the inventor has been specifically described above based on an embodiment, but it goes without saying that the present invention is not limited to the above embodiment and can be modified in various ways without departing from the gist of the invention. [Explanation of symbols]

[0097] 10 Semiconductor device 11 Image Sensor 20 Interface circuit 21 channel composite circuit 22 ISP 24 Image Processor 35a-35c Capture circuit 36a-36c Configuration Registers 37 Address Generator 38 Storage area 40a-40b Packet identification circuit 41 Data Extraction Circuit DAT Line Data IMG Image data MEM Memory PH header information PKT Packet SADR_DT1,SADR_DT2 Start address data SADR start address STRD Line Stride

Claims

1. an interface circuit that receives image data from a plurality of channels including a first channel and a second channel, and outputs a plurality of packets carrying the image data from the plurality of channels; a channel composite circuit that inputs the plurality of packets and writes the image data of the plurality of channels carried in the plurality of packets into a memory; Equipped with Each of the plurality of channels of image data includes a plurality of lines of line data, the interface circuit loads line data of a kth line included in the image data of the first channel into a first packet and outputs the first packet, and then loads line data of a kth line included in the image data of the second channel into a second packet and outputs the second packet; the channel composite circuit writes line data of a k-th line included in the image data of the first channel into a first address range in the memory, and then writes line data of a k-th line included in the image data of the second channel into a second address range contiguous to the first address range; Semiconductor device.

2. 2. The semiconductor device according to claim 1, The plurality of packets have a format based on the MIPI (Mobile Industry Processor Interface) CSI-2 (Camera Serial Interface 2) standard. Semiconductor device.

3. 2. The semiconductor device according to claim 1, The channel composite circuit includes: a line stride register in which a line stride is set that is greater than a total value of line sizes in the image data of the plurality of channels and has a value that is i times BW, where i is an integer equal to or greater than 1 and BW is a bus width of the memory, and i is the smallest; LCUNT is an integer, and line data of the kth line included in the image data of all channels is written to the memory consecutively from a line start address based on an LCUNT multiple of the line stride.<k+1> The line data of the line stride is<LCUNT+1> Write sequentially from the line start address based on the double, Semiconductor device.

4. 4. The semiconductor device according to claim 3, the interface circuit outputs the plurality of packets, each carrying line data included in the image data of the plurality of channels, for each line in a fixed channel order; the channel composite circuit stores in a storage area, which is a register or a memory, a start address for each channel of the line data, the start address being a relative address from the line start address for each line and determined based on the fixed channel order; Semiconductor device.

5. 4. The semiconductor device according to claim 3, the interface circuit outputs the plurality of packets, each carrying line data included in the image data of the plurality of channels, for each line in a variable channel order; the channel composite circuit stores in a storage area, which is a register or a memory, a start address for each line and each channel of the line data, the start address being a relative address from the line start address for each line and determined by recognizing the variable channel order for each line; Semiconductor device.

6. 3. The semiconductor device according to claim 2, The channel composite circuit includes: a packet identification circuit provided in common for the image data of the plurality of channels and identifying a channel to which each of the plurality of packets belongs based on header information of each packet; a data extraction circuit provided in common for the image data of the plurality of channels and configured to extract line data included in each packet; Equipped with Semiconductor device.

7. 7. The semiconductor device according to claim 6, the packet identification circuit identifies a channel to which each of the plurality of packets belongs based on a combination of a value in a virtual channel area and a value in a data type area included in the header information. Semiconductor device.

8. an image sensor that captures an image of an object and creates image data of a plurality of channels including a first channel and a second channel; A memory in which image data of the plurality of channels is stored; an interface circuit that receives image data from the plurality of channels and outputs a plurality of packets carrying the image data from the plurality of channels; a channel composite circuit that inputs the plurality of packets and writes the image data of the plurality of channels carried in the plurality of packets into the memory; an ISP (Image Signal Processor) that performs image processing including demosaic processing on the image data of the plurality of channels stored in the memory or the image data transferred from the channel composite circuit, and writes the image data after the image processing into the memory; Equipped with Each of the plurality of channels of image data includes a plurality of lines of line data, the interface circuit loads line data of a kth line included in the image data of the first channel into a first packet and outputs the first packet, and then loads line data of a kth line included in the image data of the second channel into a second packet and outputs the second packet; the channel composite circuit writes line data of a k-th line included in the image data of the first channel into a first address range in the memory, and then writes line data of a k-th line included in the image data of the second channel into a second address range contiguous to the first address range; Image processing system.

9. 9. The image processing system according to claim 8, further comprising an image processor that performs image recognition processing on the image data after the image processing written to the memory by the ISP or the image data of the plurality of channels written to the memory by the channel composite circuit. Image processing system.

10. 9. The image processing system according to claim 8, The plurality of packets have a format based on the MIPI (Mobile Industry Processor Interface) CSI-2 (Camera Serial Interface 2) standard. Image processing system.

11. 10. The image processing system according to claim 9, The channel composite circuit includes: a line stride register in which a line stride is set that is greater than a total value of line sizes in the image data of the plurality of channels and has a value that is i times BW, where i is an integer equal to or greater than 1 and BW is a bus width of the memory, and i is the smallest; LCUNT is an integer, and line data of the kth line included in the image data of all channels is written to the memory consecutively from a line start address based on an LCUNT multiple of the line stride.<k+1> The line data of the line stride is<LCUNT+1> Write sequentially from the line start address based on the double, Image processing system.

12. 12. The image processing system according to claim 11, the interface circuit outputs the plurality of packets, each carrying line data included in the image data of the plurality of channels, for each line in a fixed channel order; the channel composite circuit stores in a storage area, which is a register or a memory, a start address for each channel of line data, the start address being a relative address from the line start address for each line and determined based on the fixed channel order; When the ISP or the image processor executes processing on the image data of the plurality of channels stored in the memory, the ISP or the image processor reads out the image data of the plurality of channels from the memory by referring to a start address for each channel of the line data stored in the memory area. Image processing system.

13. 12. The image processing system according to claim 11, the interface circuit outputs the plurality of packets, each carrying line data included in the image data of the plurality of channels, for each line in a variable channel order; The channel composite circuit stores a start address for each line and each channel of the line data, the start address being a relative address from the line start address for each line and determined by recognizing the variable channel order for each line, in a storage area that is a register or a memory; When the ISP or the image processor executes processing on the image data of the plurality of channels stored in the memory, the ISP or the image processor reads out the image data of the plurality of channels from the memory by referring to a start address for each line and each channel of the line data stored in the memory area. Image processing system.

14. 11. The image processing system according to claim 10, The channel composite circuit includes: a packet identification circuit provided in common for the image data of the plurality of channels and identifying a channel to which each of the plurality of packets belongs based on header information of each packet; a data extraction circuit provided in common for the image data of the plurality of channels and configured to extract line data included in each packet; Equipped with Image processing system.

15. 15. The image processing system according to claim 14, the packet identification circuit identifies a channel to which each of the plurality of packets belongs based on a combination of a value in a virtual channel area and a value in a data type area included in the header information. Image processing system.

Citation Information

Patent Citations

  • Microcomputer, system including same, and data transfer device

    JP2010086401A