This application claims priority under 35 USC 119 from Japanese Patent Application No. 2022-156297 filed on Sep. 29, 2022, the disclosure of which is incorporated by reference here.
The disclosure relates to a video processing device for processing video signals, and more particularly, to a video signal combining device for combining video signals.
In recent years, car applications have seen a continuous increase in various input video sources, such as car navigation systems and back cameras. For instance, to compensate for dead angles of the vehicle, technologies have been developed to equip cameras on the front, back, left, and right sides of the vehicle and provide the driver with the captured videos on the driver's display. As an example, an image combining circuit (see Patent Document 1 (Japanese Patent Application Laid-Open (JP-A) No. 2012-138875), paragraph 0057) is known as an image processing device that is an integrated circuit such as ASIC which processes images, for combining four captured images to generate one combined image containing the content of all four captured images.
In the video processing LSI (large scale integrated circuit) of the video processing device, it is possible to consider a technique that combines multiple inputs into one output to reduce the number of camera ports. However, the simultaneous arrival of multiple input data in the LSI leads to the presence of input data queues, which require a large amount of memory to store the input data. Generally, the video combining output is enabled by equipping memory capable of storing a large amount of input data. However, this approach leads to an increase in the memory circuit area and a higher manufacturing cost.
Thus, in the video processing device that generates one combined image containing the content of all captured images, there is a problem related to the increase in memory circuit area when using a large amount of memory to combine multiple input video signals and generate video combining data, thereby increasing the manufacturing cost of the LSI.
The disclosure provides a video processing device and a video signal combining device that are capable of reducing the memory circuit area when generating video combining data by combining multiple input video signals using the memory.
A video signal combining device according to the disclosure includes: a plurality of memory parts, each having a plurality of line memories, and respectively acquiring line data of video signals respectively input from a plurality of input terminals and sequentially writing and storing the acquired line data into the line memories; a reading control part, sequentially reading the line data from any one of the line memories in a first-in-first-out manner; and a data output part, outputting video combining data in which the line data read by the reading control part is connected. The reading control part reads the line data from determined one of the line memories based on a storage state of the line data in the line memories.
A video processing device according to the disclosure includes: a plurality of memory parts, each having a plurality of line memories, and respectively acquiring line data of video signals respectively input from a plurality of input terminals and sequentially writing and storing the acquired line data into the line memories; a reading control part, sequentially reading the line data from any one of the line memories in a first-in-first-out manner and reading the line data from determined one of the line memories based on a storage state of the line data in the line memories; a data output part, outputting video combining data in which the line data read by the reading control part is connected; and a video processing part, processing the output video combining data.
Hereinafter, the embodiment of the video signal combining device of the disclosure is described in detail with reference to the drawings. In addition, in the embodiment, constituent elements having substantially the same function and configuration are given the same reference numerals to omit redundant description.
The video processing device such as the video signal combining device of the disclosure is capable of effectively saving the memory capacity and reducing the circuit area when combining the videos.
The cameras CM1 to CMn are connected to multiple input terminals IN of the video signal combining device 20. An output terminal OUT of the video signal combining device 20 is connected to an input terminal (not shown) of the video processing device 10.
The cameras CM1 to CMn generate video data (or video signals) V1 to Vn, respectively, and supply the same to the video signal combining device 20 by serial transmission.
The video signal combining device 20 combines multiple video data V1 to Vn from the cameras to generate the stream of one combined video data V1Vn (or combined video signal) containing the content of all of the video data. The video signal combining device 20 transmits the combined video signal V1Vn to the video processing device 10.
The video processing device 10 generates a combined video or the like to be displayed based on the video data V1Vn and, for example, outputs the generated video to a display (not shown).
The memory parts MM respectively include the writing control circuits 21_1, 21_2, . . . 21_n and the corresponding line memories 22_1, 22_2, . . . 22_n respectively connected thereto. The writing control circuits 21_1, 21_2, . . . 21_n respectively acquire the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax of the video signals V1 to Vn respectively input from the input terminals IN. The line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax respectively input from the input terminals IN are respectively the output (video signals V1 to Vn) of the cameras CM1 to CMn.
In addition, the writing control circuits 21_1, 21_2, . . . 21_n sequentially write the acquired line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax into the line memories 22_1, 22_2, . . . 22_n.
Moreover, each of the line memories 22_1, 22_2, . . . 22_n included in the memory parts MM to store the line data has three storage parts m1, m2, m3 of the same capacity that are to be sequentially written.
Further, the writing control circuits 21_1, 21_2, . . . 21_n output the writing completion signals WD1, WD2, . . . WDn to the reading request selection circuit 25 (which is described later) of the reading control part RC when the line data is written and filled in every of the storage parts m1, m2, m3 of each of the line memories.
As shown in
Here,
As shown in
The line number generation circuit 21a of the writing control circuit 21_1 generates line numbers L1 to L720 (corresponding to scanning lines L1 to L720 that increment by one for each line from the top to the bottom of the one frame video area of the capturing element in the camera CM1 in
Similarly, as shown in
The line number generation circuit 21a of the writing control circuit 21_2 generates line numbers L1 to L1080 (corresponding to scanning lines L1 to L1080 that increment by one for each line from the top to the bottom of the one frame video area of the capturing element in the camera CM2 in
Thus, according to the video signal combining device 20 in the embodiment, the writing control circuits 21_1, 21_2, . . . 21_n respectively include line numbers L1 to Lmax and L1 to Lmax of the video data as well as the identifiers V1 to Vn (video signal identifiers) for the cameras CM1 to CMn in the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax. As a result, the decoding from the combined video data V1Vn (combined video signal) to be output becomes reliable. Furthermore, the above-mentioned line number assignment is just one example, and it is also possible to transmit control data different from the video data at the beginning and the end of a frame to determine the line numbers.
As shown in
Furthermore, the reading control part RC shown in
The reading control part RC includes reading control circuits 23_1, 23_2, . . . 23_n, memory storage state monitoring circuits 26_1, 26_2, . . . 26_n, a priority output determination circuit 27, and the reading request selection circuit 25.
The reading control circuits 23_1, 23_2, . . . 23_n respectively connect to the line memories 22_1, 22_2, . . . 22_n, read the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax respectively from the corresponding line memories (storage parts m1, m2, m3), and output the line data to the data output part DO.
The memory storage state monitoring circuits 26_1, 26_2, . . . 26_n monitor the writing of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax of each of the writing control circuits 21_1, 21_2, . . . 21_n, which are respectively connected to the memory storage state monitoring circuits 26_1, 26_2, . . . 26_n, into the corresponding line memories 22_1, 22_2, . . . 22_n, respectively, and also monitor the reading of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax performed by the corresponding reading control circuits therefrom, thereby monitoring the storage state of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax in the corresponding line memories (storage parts m1, m2, m3), respectively. As the storage state, the memory storage state monitoring circuits 26_1, 26_2, . . . 26_n calculate, as the data storage rate, a value obtained by dividing a writing data quantity when the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax is written into all of the line memories 22_1, 22_2, . . . 22_n by a data quantity of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax that is storable in the corresponding line memories 22_1, 22_2, . . . 22_n for each of the line memories 22_1, 22_2, . . . 22_n, and output the data storage rates R1, R2, . . . Rn to the priority output determination circuit 27. For example, a control value determined from the divided value is used as the data storage rate.
Here, the priority output determination circuit 27 performs monitoring and priority reading according to the following rules:
In this way, the priority output determination circuit 27 determines, based on the storage state (data storage rates R1, R2, . . . Rn), a memory from which the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax are to be read among the line memories 22_1, 22_2, . . . 22_n and outputs a reading instruction (reading request signals RQ1, RQ2, . . . RQn) to the reading control circuits provided in the determined memory through the reading request selection circuit 25.
In this way, the reading request selection circuit 25 monitors the writing of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax of the writing control circuits 21_1, 21_2, . . . 21_n, in particular, the completion of the writing (writing completion signals WD1, WD2, . . . WDn), and outputs reading request signals RQ1, RQ2, . . . RQn based on the reading instruction IST from the priority output determination circuit 27 to the reading control circuits 23_1, 23_2, . . . 23n.
In this way, the reading control part RC calculates the data storage rates R1, R2, . . . Rn based on the monitoring results of writing of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax into each of the line memories 22_1, 22_2, . . . 22_n and reading of the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax from each of the line memories 22_1, 22_2, . . . 22_n.
The priority output determination circuit 27 compares the data storage rate of each set (i.e., a set of three storage parts) of the same number of storage parts m1, m2, m3 and selects the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax of the line memory of the set with the smallest data storage rate according to the above rule (2). In other words, as the storage state, the reading control part RC calculates the data storage rate for each of the line memories 22_1, 22_2, . . . 22_n and reads the line data from the line memory with the smallest data storage rate.
The data output part DO includes a multiplexer 24, which receives outputs from the reading control circuits 23_1, 23_2, . . . 23_n and selects and outputs the outputs from the reading control circuits provided in the memory determined by the priority output determination circuit 27, so as to output the video combining data. In other words, the data output part DO outputs the combined video data V1Vn (combined video signal) in which the line data V1L1 to V1Lmax, V2L1 to V2Lmax, . . . VnL1 to VnLmax read by the reading control circuits 23_1, 23_2, . . . 23_n is connected.
The video signal combining device 20 shown in
As shown in
As time elapses, as shown in
As time elapses, as shown in
As time elapses, as shown in
In order to verify the effects of this embodiment, a video signal combining device 20B of the comparative example with a configuration similar to the video signal combining device 20 of this embodiment, except for the absence of the memory storage state monitoring circuit and the priority output determination circuit shown in
As shown in
From the above comparison results, it has been confirmed that in the video signal combining device 20 of this embodiment, which includes the memory storage state monitoring circuit and the priority output determination circuit, the overwriting of line data in the line memory during the signal combining operation is avoided, ensuring reliable execution of decoding from the output combined video data (combined video signal).
By monitoring the memory storage amount for the input video signals and then determining which input video is to be output, the video signal combining device of this embodiment achieves advantageous effects of saving memory during the operation and further reducing the circuit area in the device.
Furthermore, although this embodiment has described the video signal combining device 20, as shown in
Number | Date | Country | Kind |
---|---|---|---|
2022-156297 | Sep 2022 | JP | national |