Video processing apparatus and method for controlling video processing apparatus
10212439 ยท 2019-02-19
Assignee
Inventors
- Kentaro Kojima (Kanagawa, JP)
- Nobuhiro Chiba (Kanagawa, JP)
- Hiroaki Seto (Kanagawa, JP)
- Shusuke Ozawa (Kanagawa, JP)
- Junya Sato (Kanagawa, JP)
- Kyohei Koyabu (Kanagawa, JP)
Cpc classification
H04N19/90
ELECTRICITY
H04N5/073
ELECTRICITY
International classification
H04N5/073
ELECTRICITY
Abstract
To achieve a reduction in circuit size without causing output leakage from a frame memory. A frame memory temporarily stores a plurality of input video signals. A plurality of encoders perform compression coding on the video signals read from the frame memory. A control unit controls the operations of writing into and reading from the frame memory. The video signals are written into the frame memory at respective frame frequencies. The video signals are read from the frame memory at a common output frame frequency. The output frame frequency is assumed to be the highest frame frequency or more of the video signals.
Claims
1. A video processing apparatus comprising: a frame memory configured to temporarily store a plurality of input video signals; a control unit configured to: write the plurality of input video signals into the frame memory at respective frame frequencies of the plurality of input video signals; and read the plurality of input video signals from the frame memory at a common output frame frequency, wherein the common output frame frequency is greater than or equal to a highest frame frequency of the plurality of input video signals; and a plurality of encoders configured to execute, based on a reference signal at the common output frame frequency, a compression coding operation on the plurality of input video signals that are read from the frame memory.
2. The video processing apparatus according to claim 1, further comprising: a sync status unit configured to monitor at least one frame position and at least one line position of the plurality of input video signals, wherein the control unit is further configured to: write the plurality of input video signals into the frame memory based on the monitoring by the sync status unit; and read the plurality of input video signals from the frame memory based on the monitoring of the sync status unit.
3. The video processing apparatus according to claim 2, wherein the control unit is further configured to: issue a write instruction, within a first frame, for a second frame at a timing of the common output frame frequency; and issue a single write instruction in the first frame for a respective video signal of the plurality of input video signals.
4. The video processing apparatus according to claim 2, wherein the control unit is further configured to: issue a read instruction at a timing of the common output frame frequency; and prevent issue of the read instruction based on a determination that reading exceeds writing for a respective video signal of the plurality of input video signals.
5. The video processing apparatus according to claim 1, wherein the plurality of encoders are further configured to stop the compression coding operation in an output frame period in which a video signal of the plurality of input video signals is not read from the frame memory.
6. The video processing apparatus according to claim 5, wherein the plurality of encoders are further configured to stop the compression coding operation in the output frame period based on a disable signal.
7. The video processing apparatus according to claim 6, further comprising a timing generator configured to generate the disable signal.
8. The video processing apparatus according to claim 5, wherein the plurality of encoders are further configured to stop the compression coding operation in the output frame period based on a stop of a supply of the reference signal.
9. The video processing apparatus according to claim 1, further comprising: an oscillator configured to generate the reference signal at the common output frame frequency.
10. The video processing apparatus according to claim 1, further comprising: a port configured to input the reference signal at the common output frame frequency.
11. The video processing apparatus according to claim 1, wherein the control unit comprises: a first que to save write instructions to write the plurality of input video signals into the frame memory; and a second que to save read instructions to read the plurality of input video signals from the frame memory.
12. The video processing apparatus according to claim 1, further comprising a selection unit configured to transmit the plurality of input video signals subjected to the compression coding operation to a storage device in a time division manner.
13. A method for controlling a video processing apparatus comprising: temporarily storing a plurality of input video signals in a frame memory; writing the plurality of input video signals into the frame memory at respective frame frequencies; reading the plurality of input video signals from the frame memory at a common output frame frequency, wherein the common output frame frequency is greater than or equal to a highest frame frequency of the plurality of input video signals; and executing, based on a reference signal at the common output frame frequency, a compression coding process on the plurality of input video signals that are read from the frame memory.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
MODE FOR CARRYING OUT THE INVENTION
(7) Modes for carrying out the invention (which will be denoted as embodiments below) will be described below. Note that the description will be made in the following order. 1. First Embodiment 2. Second Embodiment 3. Variant
1. First Embodiment
(8) [Configuration of Video Processing Apparatus]
(9)
(10) The frame memory 101 temporarily stores the input video signals V1 to V4. The input video signals V1 to V4 are of shooting output of a camera, reproduction output of a video cassette recorder, or the like. The Write/Read control unit 102 controls writing into and reading from the frame memory 101. The timing generator 104 generates and supplies a reference signal (synchronization signal) to the Write/Read control unit 102 and the encoders 105-1 to 105-4.
(11) The sync status unit 103 monitors the frame positions and the line positions of the respective input video signals V1 to V4, and supplies the monitoring information to the Write/Read control unit 102. The Write/Read control unit 102 controls writing into and reading from the frame memory 101 on the basis of the reference signal or the monitoring information.
(12) The input video signals V1 to V4 are written into the frame memory 101 at respective frame frequencies. Further, the input video signals V1 to v4 are read from the frame memory 101 at a common output frame frequency. Herein, the output frame frequency is assumed to be the highest frame frequency or more of the input video signals V1 to V4. For example, when 50 Hz and 60 Hz are present together as the frame frequencies of the input video signals V1 to V4, the output frame frequency is assumed to be 60 Hz or more.
(13) The Write/Read control unit 102 issues an instruction to write a next frame within a current frame being written at a timing of the output frame frequency for the input video signals V1 to V4. Further, the Write/Read control unit 102 issues a write instruction in the same frame only once, or does not issue a write instruction several times in the same frame. The Write/Read control unit 102 can determine whether a write instruction is in the same frame on the basis of the monitoring information from the sync status unit 103.
(14)
(15) A write operation for the input video signal VA will be first described. The Write/Read control unit 102 issues a write instruction Write 1 to the frame memory 101 at timing t1 of the output frame frequency before being input with a frame 1. The frame 1 is written into the frame memory 101 in response to the write instruction Write 1 at its top of frame timing and at a frame frequency of the input video signal VA.
(16) The Write/Read control unit 102 issues a write instruction Write 2 for a next frame 2 to the frame memory 101 at timing t2 of the next output frame frequency. Timing t2 is within the period of the frame 1. When the frame 1 is completely written, the frame 2 is written into the frame memory 101 in response to the write instruction Write 2 at its top of frame timing and at the frame frequency of the input video signal VA. A similar operation will be performed below.
(17) A write operation for the input video signal VB will be described below. The Write/Read control unit 102 issues a write instruction Write 1 to the frame memory 101 at timing t1 of the output frame frequency immediately before being input with a frame 1. The frame 1 is written into the frame memory 101 in response to the write instruction Write 1 at its top of frame timing and at a frame frequency of the input video signal VB.
(18) The Write/Read control unit 102 issues a write instruction Write 2 for a next frame 2 to the frame memory 101 at timing t2 of the next output frame frequency. Timing t2 is within the period of the frame 1. Further, the Write/Read control unit 102 does not issue a write instruction for the next frame 2 to the frame memory 101 at timing t3 of the next output frame frequency. When the frame 1 is completely written, the frame 2 is written into the frame memory 101 in response to the write instruction Write 2 at its top of frame timing and at the frame frequency of the input video signal VA. A similar operation will be performed below.
(19) Returning to
(20)
(21) A read operation for the input video signal VA will be first described. The Write/Read control unit 102 issues a read instruction Read 1 to the frame memory 101 at timing t2 of the output frame frequency after the frame 1 starts being written. The frame 1 is read from the frame memory 101 in response to the read instruction Read 1 at the output frame frequency. The Write/Read control unit 102 issues a read instruction Read 2 to the frame memory 101 at timing t3 of the next output frame frequency. The frame 2 is read from the frame memory 101 in response to the read instruction Read 2 at the output frame frequency.
(22) The Write/Read control unit 102 does not issue a read instruction to the frame memory 101 at timing t4 of the next output frame frequency. This is because when the frame 3 starts being read at timing t4, reading exceeds writing. The Write/Read control unit 102 issues a read instruction Read 3 to the frame memory 101 at timing t5 of the next output frame frequency. The frame 3 is read from the frame memory 101 in response to the read instruction Read 3 at the output frame frequency. A similar operation will be performed below.
(23) A read operation for the input video signal VB will be described below. The Write/Read control unit 102 does not issue a read instruction to the frame memory 101 at timing t2 of the output frame frequency after the frame 1 starts being written. This is because when the frame 1 starts being read at timing t2, reading exceeds writing. The Write/Read control unit 102 issues a read instruction Read 1 to the frame memory 101 at timing t3 of the next output frame frequency. The frame 1 is read from the frame memory 101 in response to the read instruction Read 1 at the output frame frequency.
(24) A read instruction is not issued to the frame memory 101 at timing t4 of the next output frame frequency. This is because when the frame 2 starts being read at timing t2, reading exceeds writing. The Write/Read control unit 102 issues a read instruction Read 2 to the frame memory 101 at timing t5 of the next output frame frequency. The frame 2 is read from the frame memory 101 in response to the read instructionRead 2 at the output frame frequency. A similar operation will be performed below.
(25) Returning to
(26) For example, the encoders 105-1 to 105-4 are prepared with a mechanism for receiving an enable/disable signal. In a frame period in which a video signal is not read from the frame memory 101, a disable signal is supplied from the timing generator 104 to stop the compression coding operation, for example.
(27) The selection unit 106 sends the input video signals V1 to V4 subjected to compression coding in the encoders 105-1 to 105-4 to the storage device 107 in a time division manner to be stored in the storage device 107. The recording device 107 is HDD or semiconductor memory, for example.
(28) The operations of the video processing apparatus 100 illustrated in
(29) The operations of writing into and reading from the frame memory 101 are controlled by the Write/Read control unit 102 in response to the reference signal supplied from the timing generator 104 or the monitoring information supplied from the sync status unit 103. The input video signals V1 to V4 are written into the frame memory 101 at the respective frame frequencies. Further, the input video signals V1 to V4 are read from the frame memory 101 at the common output frame frequency. It is assumed herein that the output frame frequency is the highest frame frequency or more of the input video signals V1 to V4.
(30) The input video signals V1 to V4 read from the frame memory 101 are supplied to the encoders 105-1 to 105-4 to be subjected to compression coding, respectively. The encoders 105-1 to 105-4 are supplied with a disable signal from the timing generator 104, for example, and stop the compression coding operation in a frame period in which the input video signals V1 to V4 are not read from the frame memory 101. The input video signals V1 to V4 subjected to compression coding in the encoders 105-1 to 105-4 are supplied to the selection unit 106. The compression-coded input video signals V1 to V4 are sent to and stored in the storage device 107 by the selection unit 106 in a time division manner.
(31) As described above, in the video processing apparatus 100 illustrated in
(32) Further, in the video processing apparatus 100 illustrated in
2. Second Embodiment
(33) [Configuration of Video Processing Apparatus]
(34)
(35) The video processing apparatus 100A has the frame memory 101, a Write/Read control unit 102A, the timing generator 104, the encoders 105-1 to 105-4, the selection unit 106, and the storage device 107. The frame memory 101 temporarily stores the input video signals V1 to V4. The input video signals V1 to V4 are of shooting output of a camera, reproduction output of a video cassette recorder, or the like, for example. The Write/Read control unit 102A controls writing into and reading from the frame memory 101.
(36) The timing generator 104 generates and supplies a reference signal (synchronization signal) to the Write/Read control unit 102 and the encoders 105-1 to 105-4. The Write/Read control unit 102 controls writing into and reading from the frame memory 101 on the basis of the reference signal. The Write/Read control unit 102A has a Write Que 121w for saving write instructions to be thrown to the frame memory 101 and a Read Que 121r for saving read instructions to be thrown to the frame memory 101 for the respective input video signals V1 to V4.
(37) The input video signals V1 to V4 are written into the frame memory 101 at respective frame frequencies. Further, the input video signals V1 to V4 are read from the frame memory 101 at a common output frame frequency. Herein, the output frame frequency is assumed to be the highest frame frequency or more of the input video signals V1 to V4. For example, when 50 Hz and 60 Hz are present together as the frame frequencies of the input video signals V1 to V4, the output frame frequency is assumed to be 60 Hz or more.
(38) The Write/Read control unit 102A saves a predetermined number of write instructions in the Write Que 121w for the respective input video signals V1 to V4, and throws the write instructions saved in the Write Que 121w to the frame memory 101. When writing in response to a write instruction is terminated, the Write/Read control unit 102A subtracts one write instruction from the Write Que 121w and throws a next write instruction to the frame memory 101. Further, the Write/Read control unit 102A restocks the Write Que 121w with write instructions at an appropriate frequency.
(39)
(40) A write operation for the input video signal VA will be first described. The Write/Read control unit 102A saves a predetermined number of, or four write instructions Write 1, Write 2, Write 3, and Write 4 in the Write Que at timing t1 of the output frame frequency before being input with a frame 1. Thereafter, the head write instruction Write 1 in the Write Que 121w is thrown to the frame memory 101. The frame 1 is written into the frame memory 101 in response to the write instruction Write 1 at its top of frame timing and at a frame frequency of the input video signal VA.
(41) The write instruction Write 1 is removed from the Write Que 121w at timing ta1 when the frame 1 is completely written, and the next write instruction Write 2 is thrown to the frame memory 101. A frame 2 is written into the frame memory 101 in response to the write instruction Write 2 at its top of frame timing and at the frame frequency of the input video signal VA. Thereafter, a write instruction Write 5 is restocked in the Write Que 121w at timing t3 of the output frame frequency. A similar operation will be performed below.
(42) A read operation for the input video signal VB will be described below. The Write/Read control unit 102A saves a predetermined number of, or four write instructions Write 1, Write 2, Write 3, and Write 4 in the Write Que at timing t1 of the output frame frequency before being input with a frame 1. Thereafter, the head write instruction Write 1 in the Write Que 121w is thrown to the frame memory 101. The frame 1 is written into the frame memory 101 in response to the write instruction Write 1 at its top of frame timing and at a frame frequency of the input video signal VB.
(43) The write instruction Write 1 is removed from the Write Que 121w at timing tb1 when the frame 1 is completely written, and the next write instruction Write 2 is thrown to the frame memory 101. A frame 2 is written into the frame memory 101 in response to the write instruction Write 2 at its top of frame timing and at the frame frequency of the input video signal VB. Thereafter, a write instruction Write 5 is restocked in the Write Que 121w at timing t5 of the output frame frequency. A similar operation will be performed below.
(44) Returning to
(45)
(46) A read operation for the input video signal VA will be first described. The Write/Read control unit 102A saves a predetermined number of, or one read instruction Read 1 in the Read Que 121r at timing t3 of the output frame frequency while the frame 2 is being written. Thereafter, the head write instruction Read 1 in the Read Que 121r is thrown to the frame memory 101. The frame 1 is read from the frame memory 101 in response to the read instruction Read 1 at the output frame frequency. The read instruction Read 1 is removed from the Read Que 121r at timing t4 when the frame 1 is completely read.
(47) Thereafter, the Write/Read control unit 102A saves a predetermined number of, or two read instructions Read 2 and Read 3 in the Read Que 121r at timing t5 of the output frame frequency after the frame 3 is completely written. Thereafter, the head read instruction Read 2 in the Read Que 121r is thrown to the frame memory 101. The frame 2 is read from the frame memory 101 in response to the read instruction Read 2 at the output frame frequency.
(48) The read instruction Read 2 is removed from the Read Que 121r at timing t6 when the frame 2 is completely read. Thereafter, the head read instruction Read 3 in the Read Que 121r is thrown to the frame memory 101. The frame 3 is read from the frame memory 101 in response to the read instruction Read 3 at the output frame frequency. A similar operation will be performed below.
(49) A read operation for the input video signal VB will be described below. The Write/Read control unit 102A saves a predetermined number of, or one read instruction Read 1 in the Read Que 121r at timing t5 of the output frame frequency while the frame 2 is being written. Thereafter, the head write instruction Read 1 in the Read Que 121r is thrown to the frame memory 101. The frame 1 is read from the frame memory 101 in response to the read instruction Read 1 at the output frame frequency. The read instruction Read 1 is removed from the Read Que 121r at timing t6 when the frame 1 is completely read.
(50) Thereafter, the Write/Read control unit 102A saves a predetermined number of, or one read instruction Read 2 in the Read Que 121r at timing t7 of the output frame frequency while the frame 3 is being written. Thereafter, the head read instruction Read 2 in the Read Que 121r is thrown to the frame memory 101. The frame 2 is read from the frame memory 101 in response to the read instruction Read 2 at the output frame frequency. A similar operation will be performed below.
(51) Returning to
(52) For example, the encoders 105-1 to 105-4 are prepared with a mechanism for receiving an enable/disable signal. In a frame period in which a video signal is not read from the frame memory, a disable signal is supplied from the timing generator 104 to stop the compression coding operation, for example.
(53) The selection unit 106 sends the input video signals V1 to V4 subjected to compression coding in the encoders 105-1 to 105-4 to the storage device 107 in a time division manner to be stored in the storage device 107. The recording device 107 is HDD or semiconductor memory, for example.
(54) The operations of the video processing apparatus 100A illustrated in
(55) The operations of writing into and reading from the frame memory 101 are controlled by the Write/Read control unit 102A in response to the reference signal supplied from the timing generator 104. The input video signals V1 to V4 are written into the frame memory 101 at the respective frame frequencies. Further, the input video signals V1 to V4 are read from the frame memory 101 at the common output frame frequency. It is assumed herein that the output frame frequency is the highest frame frequency or more of the input video signals V1 to V4.
(56) The input video signals V1 to V4 read from the frame memory 101 are supplied to the encoders 105-1 to 105-4 to be subjected to compression coding, respectively. The encoders 105-1 to 105-4 are supplied with a disable signal from the timing generator 104, for example, and stop the compression coding operation in a frame period in which the input video signals V1 to V4 are not read from the frame memory 101. The input video signals V1 to V4 subjected to compression coding in the encoders 105-1 to 105-4 are supplied to the selection unit 106. The compression-coded input video signals V1 to V4 are sent to and stored in the storage device 107 in a time division manner by the selection unit 106.
(57) As described above, in the video processing apparatus 100A illustrated in
(58) Further, in the video processing apparatus 100A illustrated in
3. Variant
(59) Note that, according to the above embodiments, the encoders 105-1 to 105-4 are prepared with a mechanism for receiving an enable/disable signal. In a frame period in which a video signal is not read from the frame memory 101, a disable signal is supplied from the timing generator 104 to stop the compression coding operation, for example. Apart from this, it may be assumed that a reference signal (synchronization signal) stops being supplied from the timing generator 104 to the encoders 105-1 to 105-4 to stop the compression coding operation, for example, in a frame period in which a video signal is not read from the frame memory 101.
(60) Further, the examples using four input video signals have been described above according to the embodiments, but the present technology is not limited thereto and can be similarly applied to any number of input video signals.
(61) The above embodiments have described the examples in which a signal at an output frame frequency is generated by the timing generator 104, but a configuration in which the output frame frequency is given from outside may be assumed. In this case, the video processing apparatuses 100 and 100A include a port for inputting a signal at the output frame frequency.
(62) Further, the present technology may employ the following configurations.
(63) (1) A video processing apparatus including: a frame memory for temporarily storing a plurality of input video signals; a plurality of encoders for performing compression coding on the video signals read from the frame memory; and a control unit for controlling operations of writing into and reading from the frame memory, wherein the input video signals are written into the frame memory at respective frame frequencies, the input video signals are read from the frame memory at a common output frame frequency, and the output frame frequency is assumed to be the highest frame frequency or more of the input video signals.
(64) (2) The video processing apparatus according to (1), further including: a sync status unit for monitoring frame positions and line positions of the input video signals, respectively, wherein the control unit controls writing into and reading from the frame memory on the basis of monitoring information of the sync status unit.
(65) (3) The video processing apparatus according to (2), wherein the control unit issues a write instruction for a next frame within a frame being written at a timing of the output frame frequency and does not issue a write instruction several times in the same frame for the respective input video signals.
(66) (4) The video processing apparatus according to (2) or (3), wherein the control unit issues a read instruction at a timing of the output frame frequency and does not issue a read instruction when reading exceeds writing for the respective input video signals.
(67) (5) The video processing apparatus according to any of (1) to (4), wherein the encoders stop the compression coding operation in an output frame period in which a video signal is not read from the frame memory.
(68) (6) The video processing apparatus according to (5), wherein the encoders are supplied with a disable signal to stop the compression coding operation in the output frame period in which the compression coding operation is stopped.
(69) (7) The video processing apparatus according to (5), wherein the encoders stop being supplied with a reference signal to stop the compression coding operation in the output frame period in which the compression coding operation is stopped.
(70) (8) The video processing apparatus according to any of (1) to (7), further including: an oscillator for generating a signal at the output frame frequency.
(71) (9) The video processing apparatus according to any of (1) to (7), further including: a port for inputting a signal at the output frame frequency.
(72) (10) The video processing apparatus according to (1), wherein the control unit has, for the respective input video signals: a first que for saving write instructions to be thrown to the frame memory; and a second que for saving read instructions to be thrown to the frame memory.
(73) (11) A method for controlling a video processing apparatus including a frame memory for temporarily storing a plurality of input video signals, and a plurality of encoders for performing compression coding on the video signals read from the frame memory, the method including the steps of: writing the input video signals into the frame memory at respective frame frequencies; reading the input video signals from the frame memory at a common output frame frequency; and assuming the output frame frequency to be the highest frame frequency or more of the input video signals.
REFERENCE SIGNS LIST
(74) 100, 100A Video processing apparatus 101 Frame memory 102, 102A Write/Read control unit 103 Sync status unit 104 Timing generator 105-1 to 105-4 Encoder 106 Selection unit 107 Storage device