JP2019086725A - Picture processor - Google Patents

Picture processor Download PDF

Info

Publication number
JP2019086725A
JP2019086725A JP2017216863A JP2017216863A JP2019086725A JP 2019086725 A JP2019086725 A JP 2019086725A JP 2017216863 A JP2017216863 A JP 2017216863A JP 2017216863 A JP2017216863 A JP 2017216863A JP 2019086725 A JP2019086725 A JP 2019086725A
Authority
JP
Japan
Prior art keywords
video
input
display
unit
vsync
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017216863A
Other languages
Japanese (ja)
Inventor
英一 高木
Hidekazu Takagi
英一 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2017216863A priority Critical patent/JP2019086725A/en
Publication of JP2019086725A publication Critical patent/JP2019086725A/en
Pending legal-status Critical Current

Links

Abstract

To prevent generation of a missing display frame when pictures input from a plurality of picture iput interfaces are switched and are displayed.SOLUTION: The present invention includes: picture processing units 601, 603, and 605 for three picture inputs, respectively; interfaces 602, 604, and 606; a picture copying unit 613 for copying and displaying a picture to be input, in a display unit; five frame buffers 607, 608, 609, 610, and 611 for storing picture data of input pictures to use the picture data for display; a picture input Vsync monitoring unit for monitoring a Vsync output from the picture input unit; a display Vsync monitoring unit for monitoring the Vsync output from the display unit 612 for display; an input/output switching unit 614 for receiving the interface specification of an input picture from the picture copying unit 613; and a display picture timing adjusting unit. The frame buffer for picture input is switched when the Vsync for picture input is in a disable state and the Vsync for display is in an enable state.SELECTED DRAWING: Figure 6

Description

本発明は映像処理装置に関する。   The present invention relates to a video processing apparatus.

昨今、スマートフォンやドローンなど映像入力及び出力機能を有する機器・装置が多数提案されてきている。   Recently, a large number of devices and apparatuses having video input and output functions such as smartphones and drone have been proposed.

これらの機器・装置では、使用するアプリケーションプロセッサが有する映像入力と出力の機能を利用し、誰もが接することのできる汎用的な非リアルタイムOS上で動作するソフトウェアで実現している。   These devices / devices are realized by software operating on a general-purpose non-real-time OS that anyone can use, utilizing the video input and output functions of the application processor used.

ソフトウェアで構成する利点は、アプリケーションプロセッサが有する複数の異なるインタフェースに接続可能な映像入力装置が利用できるため、これらのインタフェースを用いた多様な映像入力装置、例えば光学系レンズを用いた映像入力装置と赤外線による映像入力装置やレーザーを用いた距離測定用の映像入力装置を接続し、単一な映像入力装置のみを利用した映像よりも、より多様な映像を入力及び出力することが可能になっている。これらの具体的な構成について説明する。   An advantage of software configuration is that since video input devices connectable to a plurality of different interfaces possessed by the application processor can be used, various video input devices using these interfaces, for example, video input devices using an optical lens and the like By connecting an infrared video input device and a video input device for distance measurement using a laser, it becomes possible to input and output more various video images than a video using only a single video input device. There is. The specific configuration of these will be described.

非リアルタイムOSにおける入力映像の表示の仕組みは、一般的に図1で示すような構成になっている。すなわち撮像部101より入力された画像データは映像処理部102にてコンピュータで処理可能なデータに加工される。加工されたデータを取り込むためにCPU106上で動作する映像複写部105が映像処理部よりデータを受け取り映像複写部が管理するメモリ103上に映像データ104として保存される109。映像複写部は保存した映像データを読み出し、映像表示制御部107へ映像データを受け渡す110。映像表示制御部は受け取った映像データを表示装置108で表示を行う。   The mechanism for displaying the input video in the non-real time OS is generally configured as shown in FIG. That is, the image processing unit 102 processes the image data input from the imaging unit 101 into data that can be processed by a computer. In order to fetch the processed data, the video copying unit 105 operating on the CPU 106 receives the data from the video processing unit, and is stored as video data 104 on the memory 103 managed by the video copying unit. The video copying unit reads the stored video data, and passes 110 the video data to the video display control unit 107. The video display control unit causes the display device 108 to display the received video data.

このような構成に対して、カメラのようなリアルタイムOSを利用した撮像専用機では、図2の構成をとるのが一般的である。すなわち、撮像部201より入力された映像データは映像処理部202にてコンピュータで処理可能なデータに加工される。CPU206上で動作する映像複写部205は映像処理部に対して映像出力指示209を発行し、映像処理部はメモリ203に映像データ204を直接書き込む。映像複写部では、出力を指示するとともに、映像表示制御部207に映像処理部が出力した映像データを読みだすように映像入力指示210を発行する。映像入力指示を受け取った映像表示制御部は、メモリにある映像データを読み出して、表示部208に映像を表示する。   In contrast to such a configuration, it is general to adopt the configuration shown in FIG. 2 in a dedicated imaging device using a real time OS such as a camera. That is, video data input from the imaging unit 201 is processed by the video processing unit 202 into data that can be processed by a computer. The video copying unit 205 operating on the CPU 206 issues a video output instruction 209 to the video processing unit, and the video processing unit directly writes the video data 204 in the memory 203. The image copying unit issues an image input instruction 210 so as to read the image data output from the image processing unit to the image display control unit 207 while instructing the output. The video display control unit having received the video input instruction reads the video data in the memory and displays the video on the display unit 208.

このようにカメラのような撮像専用機では入力映像を出力するまでを最短化するための構成となっている。リアルタイムOSで構成する方法は、単一の映像入力装置に対して有効だが、入力を複数にする場合は、それぞれの映像入力装置に対して同じ構成を複数持つ必要がある。一方、非リアルタイムOSは、映像入力と映像出力を映像複写部が仲介する構成となるため、容易に複数の映像入力部を設けることができる。図3にその構成を示す。   As described above, a dedicated imaging device such as a camera is configured to minimize the time until the input image is output. The method of configuring with a real-time OS is effective for a single video input device, but in the case of multiple inputs, it is necessary to have the same configuration for each video input device. On the other hand, the non-real-time OS has a configuration in which the video copying unit mediates video input and video output, so that a plurality of video input units can be easily provided. The configuration is shown in FIG.

すなわち、映像入力1の映像は映像処理部301によってコンピュータで処理可能なデータに加工され、映像入力2の映像は映像処理部303によってコンピュータで処理可能なデータに加工され、映像入力3の映像は映像処理部305によってコンピュータで処理可能なデータに加工される。CPU310上で動作する映像複写部309は映像入力1の映像データを映像入力1のインタフェース302を経由して受け取り映像複写部が確保・管理するメモリ308に映像データ307を保存する。   That is, the video of the video input 1 is processed by the video processing unit 301 into data processable by the computer, the video of the video input 2 is processed by the video processing unit 303 into data processable by the computer, and the video of the video input 3 is The video processing unit 305 processes the data into computer-processable data. A video copying unit 309 operating on the CPU 310 receives the video data of the video input 1 via the interface 302 of the video input 1 and stores the video data 307 in a memory 308 secured and managed by the video copying unit.

同様に映像入力2の映像データを映像入力2のインタフェース304を経由して受け取り映像複写部が確保・管理するメモリに映像データを保存し、映像入力3の映像データを映像入力3のインタフェース306を経由して受け取り映像複写部が確保・管理するメモリに映像データを保存する。   Similarly, the video data of the video input 2 is received via the interface 304 of the video input 2 and the video data is stored in a memory secured and managed by the video copying unit, and the video data of the video input 3 is The video data is stored in a memory which is received via the network and secured and managed by the video copying unit.

映像を表示するために、映像複写部は表示しようとする映像データ314を映像表示制御部311へ受け渡す。映像表示制御部311は受け取った映像を表示装置312へ表示する。このように非リアルタイムOSでは異なるインタフェースを経由して異なる映像入力を受け取る表示するに当たり、インタフェースの数や種類に寄らず、映像データ313を受け取りメモリに保存する313までを同一の経路としていることで、多様な映像入力の受け取りを容易にしている。   In order to display a video, the video copying unit passes video data 314 to be displayed to the video display control unit 311. The video display control unit 311 displays the received video on the display device 312. As described above, the non-real-time OS receives the different video inputs via different interfaces and displays them, regardless of the number and types of the interfaces, by using the same path from receiving the video data 313 to storing it in the memory 313. Makes it easy to receive various video inputs.

特開2012-89158号公報JP 2012-89158 A 特開2004-253922号公報JP 2004-253922 A

しかしながら、非リアルタイムOS上のソフトウェアから異なるインタフェースからの入力映像を個々に切り替えながら表示しようとする際に、同一の経路を利用した入力映像に対して欠落フレームのない映像出力を行うのは困難であった。   However, when trying to display input images from different interfaces individually from software on a non-real-time OS, it is difficult to output an image without missing frames to the input image using the same path. there were.

図4に非リアルタイムOSにおける一般的な映像入出力処理のメモリ伝送と図5にそれぞれの映像入力と映像表示のVsyncのタイミングチャートを示す。図4に於いて、映像複写部417が映像入力1の映像処理部401によってコンピュータで処理可能なデータに加工された映像データを表示しようとするとき、映像複写部は映像入力1の表示開始505を発行し、インタフェース1のドライバ403にから映像データを受け取る。映像入力1から出力される映像は映像入力1のVsync501によって連続的に出力される。そのため、映像複写部は受け取った入力映像をメモリ416中に確保した映像入力1のフレームバッファ404に受け取るごとに保存していく必要がある。   FIG. 4 shows a memory transmission of general video input / output processing in the non-real time OS, and FIG. 5 shows a timing chart of Vsync of each video input and video display. In FIG. 4, when the video copying unit 417 tries to display video data processed into data that can be processed by a computer by the video processing unit 401 of the video input 1, the video copying unit starts displaying the video input 1 505. To receive the video data from the driver 403 of the interface 1. The video output from the video input 1 is continuously output by the Vsync 501 of the video input 1. Therefore, the video copying unit needs to store the received input video in the frame buffer 404 of the video input 1 secured in the memory 416 every time it is received.

映像複写部は映像入力1を保存しつつ、表示用ドライバ413が表示制御及び表示部415に映像を表示できるように、メモリ上にある表示部用のフレームバッファ414に映像入力1のフレームバッファに保存した映像データを複写して行く。複写された映像データは表示用ドライバによって、表示Vsync504のタイミングで表示できるように読みだされ、表示制御及び表示部に渡される。このような複写動作を連続的に行うことで、映像入力1の映像が表示装置で表示されることになる。この時に表示Vsyncは映像入力1Vsyncの映像データを複写した後のタイミングに合わせるようにイネーブルにすることで入力と出力の相互のタイミング関係を保つ。   The video copy unit stores the video input 1 and allows the display driver 413 to display video on the display control and display unit 415, so that the frame buffer 414 for the display unit on the memory can be used as the video input 1 frame buffer. Copy the saved video data. The copied video data is read by the display driver so that it can be displayed at the timing of the display Vsync 504, and passed to the display control and display unit. By continuously performing such copying operation, the video of the video input 1 is displayed on the display device. At this time, the display Vsync is enabled to match the timing after copying the video data of the video input 1 Vsync, thereby maintaining the mutual timing relationship between the input and the output.

映像入力2および映像入力3の映像が、映像入力1の表示開始と同時に動作すると、各映像入力は、映像入力2のVsync502、映像入力3のVsync503のタイミングで出力される。この時、各々の入力装置のVsyncは映像入力毎に異なることになる。映像入力1を表示しているときに、映像入力2に切り替える為、映像入力2の表示切替506を発行する。発行した後に表示部用のフレームバッファへの書き込みを実施しなければならない為、表示部用フレームバッファ利用中に映像データを書き換えないようにするタイミングが必要となるため表示Vsyncがディセーブルの時に発行する。   When the video of the video input 2 and the video input 3 operates simultaneously with the start of the display of the video input 1, each video input is output at the timing of the Vsync 502 of the video input 2 and the Vsync 503 of the video input 3. At this time, Vsync of each input device will be different for each video input. In order to switch to the video input 2 when the video input 1 is displayed, the display switch 506 of the video input 2 is issued. Since it is necessary to perform writing to the display frame buffer after issuance, a timing is required not to rewrite the video data while the display frame buffer is being used. This is issued when the display Vsync is disabled. Do.

表示部用のフレームバッファを映像入力2の映像データに書き換えるために、表示用Vsyncは書き換えが終わるまでディセーブルになり書き換えが完了し、映像入力2のVsyncと合わせるように表示用Vsyncを動作させると、映像入力2の映像を表示できる。この時に、映像入力1及び映像入力2のScene3の映像データは表示することができなくなり、連続した映像表示にはならず欠落した映像となる。   In order to rewrite the frame buffer for the display unit to the video data of the video input 2, the display Vsync is disabled until the rewriting is completed, the rewriting is completed, and the display Vsync is operated to match the video input 2 Vsync. And the video of the video input 2 can be displayed. At this time, the video data of Scene 3 of the video input 1 and the video input 2 can not be displayed, and a continuous video display is not made, resulting in a missing video.

複数の映像入力部と、表示部と、CPUと、入力装置を接続する複数のインタフェースと、入力する映像を表示部に複写して表示する映像複写部と、入力映像の映像データを保存し、表示用に利用するフレームバッファを少なくとも4つ以上確保することができるメモリと、映像入力部が出力するVsyncを監視する映像入力Vsync監視部と、表示部が表示用に出力するVsyncを監視する表示用Vsync監視部と、前記映像複写部から入力映像のインタフェース指定を受け付ける入力要求受付部を含む入出力切り替え部と、表示映像タイミング調停部と、切り替えて表示する入力映像Vsyncがディセーブルで、表示用Vsyncがイネーブルの時に、入力映像の保存する前記フレームバッファを変更する入出力切り替え部とを備える。   A plurality of video input units, a display unit, a CPU, a plurality of interfaces for connecting the input device, a video copying unit for copying and displaying input video on the display unit, and video data of the input video, A memory capable of securing at least four or more frame buffers used for display, a video input Vsync monitor for monitoring Vsync output by the video input unit, and a display for monitoring Vsync output by the display for display Vsync monitoring unit, an input / output switching unit including an input request receiving unit that receives an interface specification of an input video from the video copying unit, a display video timing arbitration unit, and an input video Vsync to be switched and displayed is displayed without being displayed. And an input / output switching unit that changes the frame buffer for storing input video when Vsync is enabled. Provided.

異なるインタフェースを用いても、フレームバッファの共用によりリソース低減が可能になる。映像入力から出力までにおいて、ソフトウェアの動作を最小化できるため、入力に対する出力遅延を最小限に抑えることが可能になる。入力のフレームバッファと表示用フレームバッファを共用し切り替えて利用することで、非リアルタイムOSを利用してもリアルタイムOSと同程度の入力から出力までの遅延を最小化することが可能になる。   Even though different interfaces are used, sharing of frame buffers enables resource reduction. Since the operation of software can be minimized from the video input to the output, the output delay to the input can be minimized. By sharing, switching and using the input frame buffer and the display frame buffer, it is possible to minimize the delay from input to output similar to that of the real-time OS even when using a non-real-time OS.

非リアルタイムOSにおける映像表示。Video display on non-real time OS. リアルタイムOSを使用した専用撮像機の映像表示。Video display of a dedicated imaging device using a real-time OS. 非リアルタイムOSにおける複数の映像入力による映像表示。Video display by multiple video input in non real time OS. 非リアルタイムOSにおける映像表示の映像伝送。Video transmission of video display in non real time OS. 映像入力と表示のタイミングチャート。Video input and display timing chart. 映像表示の映像伝送。Video transmission of video display. 入出力映像切り替え制御部の構成。Configuration of input / output video switching control unit. Vsyncのタイミングチャート。Vsync timing chart.

図6に本発明を適用した映像処理装置を示す。図7に入出力映像切り替え制御部を示す。図8に本発明による映像入力及び表示用Vsyncのタイミングチャートを示す。図6から図8に従って本発明を説明する。   FIG. 6 shows a video processing apparatus to which the present invention is applied. FIG. 7 shows an input / output video switching control unit. FIG. 8 shows a timing chart of video input and display Vsync according to the present invention. The invention will be described according to FIGS.

図6において、601は映像入力1の映像処理部、602は映像入力1のインフェース1、603は映像入力2の映像処理部、604は映像入力2のインフェース2、605は映像入力3の映像処理部、606は映像入力3のインフェース3、607は映像入出力兼用フレームバッファ1、608は映像入出力兼用フレームバッファ2、609は映像入出力兼用フレームバッファ3、610は映像入出力兼用フレームバッファ4、611は映像入出力兼用フレームバッファ5、612は出力制御及び表示部、613は映像複写部、614は入出力切り替え部、615は映像入力指示、616はフレームバッファ指定指示、617は映像入力Vsync監視、618は表示用Vsync監視、619は入力切り替え指示である。   In FIG. 6, 601 is a video processing unit for video input 1, 602 is an interface 1 for video input 1, 603 is a video processing unit for video input 2, 604 is an interface 2 for video input 2, 605 is a video input 3 Video processing unit 606: interface 3 of video input 3 607: video input / output combined frame buffer 1 608: video input / output combined frame buffer 2 609: video input / output combined frame buffer 3 610: video input / output combined The frame buffer 4 611 is a video input / output combined frame buffer 5 612 is an output control and display unit, 613 is a video copy unit, 614 is an input / output switching unit, 615 is a video input instruction, 616 is a frame buffer specification instruction, 617 is Video input Vsync monitoring, 618 is a display Vsync monitoring, and 619 is an input switching instruction.

図7において、701は入力要求受付部、702は出力先設定部、703は映像入力Vsync監視部、704は表示用フレームバッファ設定部、705は表示用Vsync監視部、706は表示映像タイミング調停部である。図8において、801は映像入力1のVsync、802は映像入力2のVsync、803は映像入力3のVsync、804は表示用Vsync、805は映像入力1の切り替え指示、806は映像入力2の切り替え指示、807は映像入力3の切り替え指示である。   In FIG. 7, 701 is an input request reception unit, 702 is an output destination setting unit, 703 is a video input Vsync monitoring unit, 704 is a display frame buffer setting unit, 705 is a display Vsync monitoring unit, and 706 is a display video timing arbitration unit. It is. In FIG. 8, 801 is Vsync for video input 1, 802 is Vsync for video input 2, 803 is Vsync for video input 3, 804 is Vsync for display, 805 is a switching instruction for video input 1, and 806 is switching for video input 2. An instruction 807 is an instruction to switch the video input 3.

映像複写部613は表示する映像入力のインタフェースを選択するときに該当するインタフェースからの入力に切り替えるよう入出力切り替え部614へ入力切替指示619及び805を発行する。表示がされていないときは、表示用Vsync804は常にディセーブルの為、映像入力1のVsync801と両方がディセーブルの時に指示を出すことになる。   The video copying unit 613 issues input switching instructions 619 and 805 to the input / output switching unit 614 so as to switch to the input from the corresponding interface when selecting the interface of the video input to be displayed. When the display is not displayed, the display Vsync 804 is always disabled, and therefore, an instruction is issued when both of the video input 1 Vsync 801 and the video input 1 are disabled.

指示を受けた入出力切り替え部614では、入力要求受付部701で指示を受け取り、出力先設定部702によって映像入力1、映像入力2及び映像入力3に対して映像入力指示615を発行する。指示を受けた映像入力1、映像入力2及び映像入力3は各々の映像処理部から出力される映像データを入出力切り替え部へ出力する。映像切り替え部では、受け取った映像を、出力に応じたフレームバッファへ保存する。   In the input / output switching unit 614 that has received the instruction, the input request receiving unit 701 receives the instruction, and the output destination setting unit 702 issues a video input instruction 615 to the video input 1, the video input 2 and the video input 3. The instructed video input 1, video input 2 and video input 3 output the video data output from each video processing unit to the input / output switching unit. The video switching unit stores the received video in a frame buffer according to the output.

映像入力1を表示するため、映像入力1の映像データは、Scene1の映像データを映像入出力兼用フレームバッファ609、及びScene2を映像入出力兼用フレームバッファ610、Scene3を映像入出力兼用フレームバッファ611へ保存するように入力される映像データの保存を制御する。   In order to display the video input 1, the video data of the video input 1 includes the video data of Scene 1 as a video input / output combined frame buffer 609, Scene 2 as a video input combined use frame buffer 610, and Scene 3 as a video input / output combined frame buffer 611 Control storage of video data input to be stored.

映像入力2の映像データは、Sceneに関わらず映像入出力兼用フレームバッファ608へ保存し、映像入力3の映像データは、Sceneに関わらず映像入出力兼用フレームバッファ608へ保存する。映像入力1の映像データの保存が完了した後、入出力切り替え部の表示用フレームバッファ設定部704は出力制御および表示部612に、入出力兼用フレームバッファ609、入出力兼用フレームバッファ610、入出力兼用フレームバッファ611を順次サイクリックに読みだして表示するようにフレームバッファ指定指示616を発行する。   The video data of the video input 2 is stored in the video input / output combined frame buffer 608 regardless of the scene, and the video data of the video input 3 is saved in the video input / output combined frame buffer 608 regardless of the scene. After the storage of the video data of the video input 1 is completed, the display frame buffer setting unit 704 of the input / output switching unit causes the output control / display unit 612 to perform the input / output combined frame buffer 609, the input / output combined frame buffer 610, and the input / output. A frame buffer designation instruction 616 is issued to sequentially read and display the dual purpose frame buffer 611 cyclically.

指示を受け付けた出力制御および表示部は、表示用Vsync804に従って入出力兼用フレームバッファ609、入出力兼用フレームバッファ610、入出力兼用フレームバッファ611を順次読みだして表示する。   The output control and display unit having received the instruction sequentially reads out and displays the input / output combined frame buffer 609, the input / output combined frame buffer 610, and the input / output combined frame buffer 611 according to the display Vsync 804.

次に、映像入力2を表示するよう、映像複写部が入出力切り替え部へ映像入力2の切り替え指示806を発行する。指示を受けた入出力切り替え部では、映像入力2のVsync802と表示用Vsyncを入出力切り替え部の映像入力Vsync監視部と表示用Vsync監視部が監視し、表示映像タイミング調停部706が、映像入力2のVsyncがディセーブルになり、表示用Vsyncがイネーブルになっているときに、映像入力1の映像データを映像入出力兼用フレームバッファ607へ保存し、映像入力2の映像データをScene4の映像データを映像入出力兼用フレームバッファ609、及びScene5を映像入出力兼用フレームバッファ610、Scene6を映像入出力兼用フレームバッファ611へ保存するように入力される映像データの保存を制御する。   Next, the video copy unit issues a switching instruction 806 of the video input 2 to the input / output switching unit so as to display the video input 2. In the input / output switching unit that has received the instruction, the video input Vsync 802 of the video input 2 and the display Vsync are monitored by the video input Vsync monitoring unit of the input / output switching unit and the display Vsync monitoring unit. When Vsync 2 is disabled and Vsync for display is enabled, the video data of video input 1 is stored in the video input / output combined frame buffer 607, and the video data of video input 2 is video data of Scene 4 The storage of video data input is controlled so as to store the video input / output combined frame buffer 609, the Scene 5 as the video input / output combined frame buffer 610, and the scene 6 into the video input / output combined frame buffer 611.

この時の表示はScene3を映像入出力兼用フレームバッファ611から読み出しているときであり、映像入力2のScene4を映像入出力兼用フレームバッファ609に保存しても表示には影響しない。表示用Vsyncが次にディセーブルからイネーブルに移行し、映像入出力兼用フレームバッファ609を読み出すときには映像入力1から映像入力2に映像データが変更されているため、表示はフレームの欠落なく映像入力2の映像データを表示する。   The display at this time is when Scene 3 is read out from the video input / output combined frame buffer 611. Even if Scene 4 of the video input 2 is stored in the video input / output combined frame buffer 609, the display is not affected. Next, when the display Vsync changes from disable to enable, and the video data is changed from the video input 1 to the video input 2 when the video input / output combined frame buffer 609 is read out, the display does not lose any frames. Display the video data of

映像入力3に切り替える際も同様な制御を行う。映像複写部が入出力切り替え部へ映像入力3の切り替え指示807を発行する。指示を受けた入出力切り替え部では、映像入力3のVsync803と表示用Vsyncを入出力切り替え部の映像入力Vsync監視部と表示用Vsync監視部が監視し、表示映像タイミング調停部が、映像入力3のVsyncがディセーブルになり、表示用Vsyncがイネーブルになっているときに、映像入力2の映像データを映像入出力兼用フレームバッファ608へ保存し、映像入力3の映像データをScene6の映像データを映像入出力兼用フレームバッファ611、及びScene7を映像入出力兼用フレームバッファ609、Scene8を映像入出力兼用フレームバッファ610へ保存するように入力される映像データの保存を制御する。   The same control is performed when switching to the video input 3. The video copying unit issues a switching instruction 807 of the video input 3 to the input / output switching unit. In the input / output switching unit that has received the instruction, the video input Vsync 803 of the video input 3 and the display Vsync are monitored by the video input Vsync monitoring unit and the display Vsync monitoring unit of the input / output switching unit. When Vsync is disabled and Vsync for display is enabled, the video data of video input 2 is stored in the video input / output combined frame buffer 608, and the video data of video input 3 is video data of Scene 6 The storage of video data input is controlled so that the video input / output combined frame buffer 611 and the Scene 7 are saved to the video input / output combined frame buffer 609 and the scene 8 to the video input / output combined frame buffer 610.

この時の表示はScene5を映像入出力兼用フレームバッファ610から読み出しているときであり、映像入力3のScene6を映像入出力兼用フレームバッファ611に保存しても表示には影響しない。表示用Vsyncが次にディセーブルからイネーブルに移行し、映像入出力兼用フレームバッファ610を読み出すときには映像入力2から映像入力3に映像データが変更されているため、表示はフレームの欠落なく映像入力3の映像データを表示する。   The display at this time is when Scene 5 is read out from the video input / output combined frame buffer 610. Even if the scene 6 of the video input 3 is stored in the video input / output combined frame buffer 611, the display is not affected. Next, when the display Vsync changes from disable to enable, and the video data is changed from the video input 2 to the video input 3 when the video input / output combined frame buffer 610 is read out, the display is displayed without video loss 3 Display the video data of

以上説明したように、非リアルタイムOSの映像の入出力の仕組みを利用した複数の映像入力を表示するに当たり、入力映像のVsyncがディセーブルで表示用Vsyncがイネーブルの時に、入力映像を保存するフレームバッファを切り替えることで、表示しているフレームを欠落なく切り替えて表示することが可能になる。   As described above, when displaying a plurality of video inputs using the video input / output mechanism of the non-real-time OS, a frame for saving the input video when the Vsync of the input video is disabled and the Vsync for display is enabled. By switching the buffer, it is possible to switch and display the displayed frame without omission.

なお、このような映像入力を行うインタフェースについては、非リアルタイムOSの標準仕様に基づいた本実施例に於いては、特別なものは必要ではない為、USB、PCIe、MIPIなどの標準的なインタフェースを利用することができる。   It should be noted that, in this embodiment based on the standard specification of the non-real-time OS, no special interface is necessary for the interface for performing such video input, so standard interfaces such as USB, PCIe, MIPI, etc. Can be used.

101 撮像部 102映像処理部 103 メモリ 101 imaging unit 102 video processing unit 103 memory

Claims (9)

複数の映像入力部と、
表示部と、
CPUと、
入力装置を接続する複数のインタフェースと、
入力する映像を表示部に複写して表示する映像複写部と、
入力映像の映像データを保存し、表示用に利用するフレームバッファを少なくとも4つ以上確保することができるメモリと、
映像入力部が出力するVsyncを監視する映像入力Vsync監視部と、
表示部が表示用に出力するVsyncを監視する表示用Vsync監視部と、
前記映像複写部から入力映像のインタフェース指定を受け付ける入力要求受付部を含む入出力切り替え部と、
表示映像タイミング調停部と、
切り替えて表示する入力映像Vsyncがディセーブルで、表示用Vsyncがイネーブルの時に、入力映像の保存する前記フレームバッファを変更する入出力切り替え部とを備える映像処理装置。
Multiple video input units,
A display unit,
CPU and
Multiple interfaces connecting input devices,
A video copying unit for copying and displaying an input video on a display unit;
A memory capable of securing at least four or more frame buffers used to store video data of input video and to use for display;
A video input Vsync monitoring unit that monitors Vsync output from the video input unit;
A display Vsync monitoring unit that monitors Vsync output by the display unit for display;
An input / output switching unit including an input request receiving unit for receiving an interface specification of an input video from the video copying unit;
Display video timing arbitration unit,
An input / output switching unit which changes the frame buffer for storing the input video when the input video Vsync to be switched and displayed is disabled and the display Vsync is enabled.
表示用に利用する前記フレームバッファの3つを順次読みだすことを特徴とする請求項1に記載の映像処理装置。   The video processing apparatus according to claim 1, wherein three of the frame buffers used for display are sequentially read out. 表示用に利用する入力映像の映像データが前記フレームバッファの3つを順次上書き保存していくことを特徴とする請求項1に記載の映像処理装置。   2. The video processing apparatus according to claim 1, wherein video data of an input video used for display sequentially overwrites and stores three of the frame buffers. 表示用に利用しない入力映像の映像データを前記フレームバッファの表示用に利用しないフレームバッファに保存することを特徴とする請求項1に記載の映像処理装置。   2. The video processing apparatus according to claim 1, wherein video data of an input video not used for display is stored in a frame buffer not used for display of the frame buffer. 映像入力がなされる前に入力映像Vsyncがディセーブル状態であることを特徴とする請求項1に記載の映像処理装置。   The video processing apparatus according to claim 1, wherein the input video Vsync is in a disabled state before the video input is performed. 映像入力がなされる前の入力映像Vsyncがディセーブル状態である時には出力用Vsyncがディセーブルであっても入出力切り替え部がフレームバッファの設定行うことを特徴とする請求項1に記載の映像処理装置。   The image processing according to claim 1, wherein when the input video Vsync before the video input is made is in the disable state, the input / output switching unit performs the setting of the frame buffer even if the output Vsync is disabled. apparatus. インタフェースのうち少なくとも一つがUSBであることを特徴とする請求項1に記載の映像処理装置。   The image processing apparatus according to claim 1, wherein at least one of the interfaces is a USB. インタフェースのうち少なくとも一つがPCIeであることを特徴とする請求項1に記載の映像処理装置。   The image processing apparatus according to claim 1, wherein at least one of the interfaces is PCIe. インタフェースのうち少なくとも一つがMIPIであることを特徴とする請求項1に記載の映像処理装置。   The image processing apparatus according to claim 1, wherein at least one of the interfaces is MIPI.
JP2017216863A 2017-11-10 2017-11-10 Picture processor Pending JP2019086725A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017216863A JP2019086725A (en) 2017-11-10 2017-11-10 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017216863A JP2019086725A (en) 2017-11-10 2017-11-10 Picture processor

Publications (1)

Publication Number Publication Date
JP2019086725A true JP2019086725A (en) 2019-06-06

Family

ID=66763090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017216863A Pending JP2019086725A (en) 2017-11-10 2017-11-10 Picture processor

Country Status (1)

Country Link
JP (1) JP2019086725A (en)

Similar Documents

Publication Publication Date Title
TWI242139B (en) Apparatus, method and system for rendering multiple images
US9596408B2 (en) Image capturing apparatus
TWI812604B (en) Image sensor and control system
CN104902193A (en) Method for performing segmentation processing and display for image data based on FPGA
US11573758B2 (en) Display device and multi-display system
TWI631504B (en) Multi architecture manager
US20200068097A1 (en) Frame Synchronization Method For Image Data, Image Signal Processing Apparatus, And Terminal
US20140253598A1 (en) Generating scaled images simultaneously using an original image
JP2007052190A (en) Image display system, image display method, image display device, image data processor, program, recording medium, image processing program distribution server
CN110622209A (en) System and method for seamless transition of surround view to 3D view
US10162647B2 (en) Information apparatus
JP4011082B2 (en) Information processing apparatus, graphic processor, control processor, and information processing method
JP2019086725A (en) Picture processor
US9910698B2 (en) Information processing apparatus, information processing method, and program
JP6833145B1 (en) Numerical control device and numerical control system
JP2004032278A (en) Imaging device
JP2018107617A5 (en) Image reading system, image reading apparatus, and control method of image reading system
JP2011024044A (en) Captured image display apparatus and method thereof
JP2008225175A (en) Projector, program, and information storage medium
JP2018196743A5 (en)
JP2005122119A (en) Video interface device in system constituted of mpu and video codec
JP2012109853A (en) Data processing device
US11513346B2 (en) Method and apparatus for controlling virtual reality display device
JP6413385B2 (en) Image processing apparatus, imaging apparatus, and image data output method
JP2018118477A5 (en)

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125