JP2018038064A - Still image information processing method - Google Patents

Still image information processing method Download PDF

Info

Publication number
JP2018038064A
JP2018038064A JP2017204536A JP2017204536A JP2018038064A JP 2018038064 A JP2018038064 A JP 2018038064A JP 2017204536 A JP2017204536 A JP 2017204536A JP 2017204536 A JP2017204536 A JP 2017204536A JP 2018038064 A JP2018038064 A JP 2018038064A
Authority
JP
Japan
Prior art keywords
decoder
hardware
still image
moving image
still
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.)
Granted
Application number
JP2017204536A
Other languages
Japanese (ja)
Other versions
JP6424331B2 (en
Inventor
一樹 客野
Kazuki Kakuno
一樹 客野
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.)
Axell Corp
Original Assignee
Axell Corp
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 Axell Corp filed Critical Axell Corp
Publication of JP2018038064A publication Critical patent/JP2018038064A/en
Application granted granted Critical
Publication of JP6424331B2 publication Critical patent/JP6424331B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Display Devices Of Pinball Game Machines (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for performing continuous high-speed switching reproduction of a plurality of still images in a general-purpose information processing device.SOLUTION: A CPU 101 requests a hardware moving image decoder to create a decode instance about a series of still images by issuing an API of Create Decoder S21, reads encoded information as an I frame in order from a still image A from an image information storage part, and issues an API of Submit Frame accompanied the information to the decoder S22. Consequently, the CPU 101 receives an original still image obtained by decoding as RGB data from the decoder S23. Processing of S22 and S23 is repeated about a series of still images to be displayed. When the processing about all of the still images finishes, the CPU 101 issues an API of Destroy Decoder to the decoder and closes a decoding function with a series of I frames as an object S25.SELECTED DRAWING: Figure 2

Description

本発明は、静止画情報処理方法に関し、例えばパーソナルコンピュータ等の汎用情報処理装置における静止画情報処理方法に関する。   The present invention relates to a still image information processing method, for example, a still image information processing method in a general-purpose information processing apparatus such as a personal computer.

画像処理技術においては、一般に、大量の情報を高速に処理することが求められている。例えば、動画においては、符号化して格納しておく段階では、高速性というよりは圧縮技法の工夫に応じた容量の削減の方が重視されるものの、再生の場面では高速に復号化処理を行って処理待ちとならずに動画を再現することが要求される。従って、特に、用途に応じた専用の圧縮符号化処理を行うハードウェアデコーダの開発が盛んに進められている。一方、静止画はというと、動画と比較すると格段に情報量も少ないことから、高速に処理を求められる場面は殆ど見受けられない。   In image processing technology, it is generally required to process a large amount of information at high speed. For example, in the case of a moving image, in the stage where it is encoded and stored, reduction of the capacity according to the ingenuity of the compression technique is more important than high speed, but decoding processing is performed at high speed in the playback scene. Therefore, it is required to reproduce the movie without waiting for processing. Therefore, development of a hardware decoder that performs dedicated compression encoding processing according to the application is being actively promoted. On the other hand, when it comes to still images, the amount of information is much less than that of moving images, so there are almost no scenes that require high-speed processing.

しかしながら、特定の画像処理の分野や用途に応じては、静止画の処理も高速に行えることが望まれる場合もある。例えば、パチンコ機、パチスロ機、ゲーム機等の遊技機の分野においては、何枚もの静止画を高速に切り替えて(重ね合わせることを含む)表示するというような場面があるが、そのとき、切替え速度が速ければ速いほど遊戯としての臨場感や遊興感が高まることとなる。この場合、その切替え速度には、静止画という比較的情報量の少ないものであっても如何に高速に復号化処理が行えるか否かが効いてくる。従って、特にパチンコ機等の遊技機においては、静止画であっても、専用のハードウェア回路で処理されたり、1枚1枚の静止画を動画の1ファイルと見立てて動画として構成し、つまりMPEG(Moving Picture Experts Group)規格におけるIフレーム(Intra-Picture)1枚の1動画ファイルとして構成して動画用のハードウェア回路で処理するようなことが行われている。また、演出上、動画の逆転再生や倍速再生等の柔軟な再生制御を行って遊興感を高めることも行われているが、かかる制御に際しては動画を連続した静止画として符号化することもあり、このような場合にも、処理速度の重要性に関しては同様である。   However, depending on the specific image processing field and application, it may be desired that still images can be processed at high speed. For example, in the field of gaming machines such as pachinko machines, pachislot machines, and game machines, there are scenes in which a number of still images are switched at high speed (including overlapping) and displayed. The faster the speed, the greater the sense of presence and amusement as a game. In this case, the switching speed depends on how fast the decoding process can be performed even if the information amount is a relatively small amount of information such as a still image. Therefore, especially in a gaming machine such as a pachinko machine, even a still image is processed by a dedicated hardware circuit, or each still image is considered as one file of a moving image and is configured as a moving image. A single moving image file of an I frame (Intra-Picture) in the MPEG (Moving Picture Experts Group) standard is processed and processed by a moving image hardware circuit. In addition, for the production, flexible playback control such as reverse playback and double speed playback of moving images is also performed to enhance the feeling of entertainment, but in such control, moving images may be encoded as continuous still images. In such a case, the importance of the processing speed is the same.

特開2005−12270号公報JP 2005-12270 A

ところで、上述のパチンコ機等の遊技機においては、特にその画像表示に係るソフトウェア開発過程において、画像表示を汎用の3Dチップやいわゆるパーソナルコンピュータ等の汎用情報処理装置で随時確認しながら開発を進めたいという要請も多い。しかしながら、以下で詳述するように、パーソナルコンピュータ等の汎用情報処理装置では、そのハードウェア機能上の制約から、そのままでは、実機で実現されるような表示を確認的に再現することは難しい。   By the way, in the above-described game machines such as pachinko machines, especially in the software development process related to the image display, it is desired to proceed with the development while confirming the image display with a general-purpose information processing apparatus such as a general-purpose 3D chip or a so-called personal computer. There are also many requests. However, as will be described in detail below, in a general-purpose information processing apparatus such as a personal computer, it is difficult to confirm and reproduce a display that can be realized in an actual machine as it is because of restrictions on hardware functions.

図8は、パーソナルコンピュータに代表される汎用情報処理装置の構成を示すブロック図である。同図において、当該装置は、装置全体の処理の制御を行うCPU(Central Processing Unit)101と、基本プログラム等の固定データが格納されるROM(Read Only Memory)102と、実行されるプログラムやその処理に係るデータ等が逐次ロードされたり消去されるRAM(Random Access Memory)103と、ハードウェアで構成され、符号化された動画情報に対して復号化処理を行い元の動画を復元するハードウェア動画デコーダ104と、少なくとも処理対象たる画像情報が格納される画像情報格納部105と、動画や静止画等の画像が表示される表示部106とを備えている。画像情報格納部105は、具体的には、HDD(Hard Disk Drive)であったりDVD(Digital Versatile Disk)ドライブであったりするが、それらの外付けのものであってもよい。また、表示部106についても、物理的には、装置と一体で構成されていてもよいし、別の独立した構成であってもよい。なお、パーソナルコンピュータに代表される一般の汎用情報処理装置には、典型的に、キーボードやマウス等が備わっているがここでは省略している。また、インターネット等のネットワークと接続するための機能構成についても省略している。   FIG. 8 is a block diagram showing a configuration of a general-purpose information processing apparatus represented by a personal computer. In the figure, the apparatus includes a CPU (Central Processing Unit) 101 that controls processing of the entire apparatus, a ROM (Read Only Memory) 102 that stores fixed data such as a basic program, a program to be executed, and its program Random Access Memory (RAM) 103 in which data related to processing is sequentially loaded or deleted and hardware, and hardware that performs decoding processing on the encoded video information and restores the original video A moving image decoder 104, an image information storage unit 105 that stores at least image information to be processed, and a display unit 106 that displays images such as moving images and still images are provided. Specifically, the image information storage unit 105 is an HDD (Hard Disk Drive) or a DVD (Digital Versatile Disk) drive, but may be an external one thereof. The display unit 106 may also be physically configured integrally with the apparatus or may be another independent configuration. Note that a general-purpose information processing apparatus typified by a personal computer typically includes a keyboard, a mouse, and the like, which are omitted here. A functional configuration for connecting to a network such as the Internet is also omitted.

まず、図8に示した汎用情報処理装置で一般的な動画が再生される場合の処理について説明する。そこで、画像情報格納部105には、圧縮符号化された動画情報が予め格納されている。圧縮符号化形式としては典型的にはMPEG形式であり、その中でも近時、高機能のものとしてMPEG4 AVC規格が策定されている。なお、ここでは、画像情報格納部105に予め格納しておくとしているが、表示に際してネットワークを介してサーバからダウンロードしてストリーム再生する態様も一般化している。   First, processing when a general moving image is played back by the general-purpose information processing apparatus shown in FIG. 8 will be described. Therefore, the image information storage unit 105 stores in advance compression-coded moving image information. The compression encoding format is typically the MPEG format. Among these, the MPEG4 AVC standard has recently been formulated as a high-performance one. Here, although stored in the image information storage unit 105 in advance, a mode of downloading from a server via a network and playing a stream is also generalized for display.

そこで、当該汎用情報処理装置の操作者により、マウスやキーボード等を介して、画像情報格納部105に格納された任意の動画の再生が装置に対して指示されると、CPU101が、指定された動画を画像情報格納部105から読み出して、順次ハードウェア動画デコーダ104に与え、帰ってきたRGBの復号化データを表示部106の前段の表示制御部(図示せず)に与えることにより動画表示が実現される。このとき、CPU101がハードウェア動画デコーダ104との間のやりとりで使用する指示形式が一般にAPI(Application Programming Interface)と呼ばれているものである。なお、CPU101とハードウェア動画デコーダ104との間のAPIは、個々のハードウェアに応じて個々に規定されている。例えば、フレーム単位でAPIで指示するものもあれば、動画ファイル単位で指示できるものもある。   Therefore, when the operator of the general-purpose information processing apparatus instructs the apparatus to reproduce any moving image stored in the image information storage unit 105 via a mouse, a keyboard, or the like, the CPU 101 is designated. The moving image is read from the image information storage unit 105 and sequentially given to the hardware moving image decoder 104, and the returned RGB decoded data is given to the display control unit (not shown) in the previous stage of the display unit 106, thereby displaying the moving image. Realized. At this time, the instruction format used by the CPU 101 in the exchange with the hardware moving image decoder 104 is generally called an API (Application Programming Interface). The API between the CPU 101 and the hardware moving picture decoder 104 is individually defined according to each hardware. For example, some commands are specified by API in units of frames, while others can be specified in units of moving image files.

一方、静止画情報については、前述のように、通常は、JPEG形式で圧縮符号化された静止画情報に代表されるように、ソフトウェアによる復号化処理を経て表示に供される。   On the other hand, as described above, the still image information is usually provided for display through a decoding process by software, as represented by still image information compressed and encoded in the JPEG format.

このように、汎用情報処理装置であっても、ハードウェア動画デコーダを備えていることが一般的であり、動画に関しては、汎用情報処理装置と前述の遊技機等の特定の専用機との間で、顕著な差異はない。   As described above, even a general-purpose information processing device is generally provided with a hardware moving image decoder. With regard to moving images, a general-purpose information processing device and a specific dedicated machine such as the above-mentioned gaming machine are used. There is no significant difference.

但し、パーソナルコンピュータ等の汎用情報処理装置においては、動画ファイルをハードウェア動画デコーダ104で復号化するため、CPU101からCreate Decoder APIをハードウェア動画デコーダ104に発行すると共に、メモリの確保やドライバの処理等、デコードインスタンスを作成するため、雑多なソフトウェア処理、例えば、OS(Operating System)への問合せ等の処理を行っており、数百ミリ秒の遅延が生じる。家庭用ビデオ映像等のごく普通の動画を再生するにおいては、その程度のソフトウェア処理については、動画の再生開始が数百ミリ秒程度遅れるだけであり再生としては支障がないが、特定の専用機用の動画の再生の現実に関してはその点が効いてくる。
たとえば、複数の動画を連続して再生するような場合、動画ファイル毎に汎用情報処理装置側でデコードインスタンスを作成し、復号処理を実行できる状態としなければならず、デコードインスタンス作成のための数百ミリ秒の処理遅延が再生動画ファイル毎に発生し、遊技機等の開発過程で汎用情報処理装置を利用しても実機で実現される表示を確認できない。
However, in a general-purpose information processing apparatus such as a personal computer, the CPU 101 issues a Create Decoder API to the hardware moving picture decoder 104 in order to decode the moving picture file by the hardware moving picture decoder 104, and also secures memory and processes the driver. In order to create a decode instance, miscellaneous software processing, for example, processing such as an inquiry to an OS (Operating System) is performed, resulting in a delay of several hundred milliseconds. When playing ordinary videos such as home video images, such software processing only delays the start of movie playback by about several hundred milliseconds, and there is no problem with playback. That will be effective with regard to the reality of video playback.
For example, when playing back multiple videos continuously, a general-purpose information processing device must create a decode instance for each video file and make it possible to execute the decoding process. A processing delay of 100 milliseconds occurs for each playback video file, and even if a general-purpose information processing device is used in the development process of a gaming machine or the like, the display realized on the actual machine cannot be confirmed.

一方、静止画に話を転ずると、遊技機等の専用機において、静止画を動画に見立てて高速復号化処理を実現しているように、パーソナルコンピュータ等の汎用情報処理装置においても、備わっているハードウェア動画デコーダを利用して高速処理を図ることが発想できる。しかしながら、上述のように一動画を開く処理において比較的時間を要する汎用情報処理装置においては、1枚1枚の静止画を動画の1ファイルと見立てて処理する構成では、たとえハードウェア動画デコーダを利用するとしても、一動画、すなわち各静止画、ごとにファイルを開いたり閉じたりする処理が行われ、その都度、汎用情報処理装置においてデコードインスタンスが作成されることとなるので、OSへの問い合わせ処理等、処理速度低下をもたらす雑処理が極めて頻繁に行われ、専用機と同様の複数の静止画の連続高速切替え再生は到底実現できない。専用機においては、秒間60フレームの間に複数の静止画を高速に切り替えて再生する処理を実現しており、その場合、一動画、すなわち、各静止画を開くのに許容される時間は数ミリ秒以下であり、汎用情報処理装置の上記数百ミリ秒では到底実現できない。   On the other hand, when turning to a still image, a general-purpose information processing device such as a personal computer is provided, as in a dedicated machine such as a gaming machine, high-speed decoding processing is realized by regarding a still image as a moving image. It is possible to conceive of high-speed processing using a hardware video decoder. However, in the general-purpose information processing apparatus that takes a relatively long time to open one moving image as described above, a hardware moving image decoder is used even in a configuration in which one still image is processed as one moving image file. Even if it is used, a process for opening and closing a file is performed for each moving image, that is, each still image, and a decoding instance is created in the general-purpose information processing device each time. Various processes such as processing, which cause a decrease in processing speed, are performed very frequently, and continuous high-speed switching reproduction of a plurality of still images similar to a dedicated machine cannot be realized at all. The dedicated machine realizes the process of switching and playing back a plurality of still images at a high speed for 60 frames per second. In that case, one movie, that is, the time allowed to open each still image is several. This is less than milliseconds, and cannot be realized in the above-mentioned hundreds of milliseconds of a general-purpose information processing apparatus.

本発明は上述のような事情から為されたものであり、本発明の目的は、汎用情報処理装置において複数の静止画の連続高速切替え再生を可能とした静止画情報処理方法を提供することにある。   The present invention has been made for the above-described circumstances, and an object of the present invention is to provide a still image information processing method that enables continuous high-speed switching reproduction of a plurality of still images in a general-purpose information processing apparatus. is there.

なお、特許文献1においては、静止画ファイルの再生に対応していない再生装置においても、静止画を再生できるようにした録画装置を提供することを目的としており(段落[0012]〜[0014])、その実現手段としては、静止画データをMPEG形式のIフレームとして符号化し、動画ファイル内に埋め込んで記録しておき(段落[0015]〜[0018]、[0030]、[0037]、[0051]、図3及び図4)、それを再生している。これにより、静止画の記録再生に対応していない、すなわち動画のみを対象とした記録再生装置でも静止画を扱えるとしている。   Note that Patent Document 1 aims to provide a recording device that can play back still images even in a playback device that does not support playback of still image files (paragraphs [0012] to [0014]. As an implementation means, still image data is encoded as an I frame in MPEG format, embedded in a moving image file and recorded (paragraphs [0015] to [0018], [0030], [0037], [0037], [0037] 0051], FIG. 3 and FIG. 4), reproducing it. As a result, recording and playback of still images are not supported, that is, a recording and playback device for only moving images can handle still images.

しかしながら、特許文献1においては、複数の静止画を連続高速切替え再生するという概念がない。また、汎用情報処理装置で複数の静止画を連続切替えする際の処理速度の課題の概念がない。従って、符号化静止画情報をハードウェアにより復号化するという概念がない。また、フレームのサイズという概念がない。   However, in Patent Document 1, there is no concept of continuous high-speed switching reproduction of a plurality of still images. In addition, there is no concept of the problem of processing speed when continuously switching a plurality of still images in a general-purpose information processing apparatus. Therefore, there is no concept of decoding encoded still image information by hardware. There is no concept of frame size.

上記目的を達成するため、本発明の静止画情報処理方法は、ハードウェア動画デコーダと、そのハードウェア動画デコーダに対する指令の仕様に基づいて、前記ハードウェア動画デコーダに対してソフトウェアによる指令を与えて符号化済み動画の復号化を依頼し、結果として復号化済み動画をハードウェア動画デコーダから受け取って処理する制御部と、その制御部から前記復号化済み動画を受け取ることにより画像の表示が実現される表示部と、を備えた汎用情報処理装置を利用して静止画を表示処理する静止画情報処理方法であって、連続高速切替え表示がなされる解像度が異なる複数の静止画の解像度をダミーデータの充当処理により単一の解像度とし、該単一の解像度を有する複数の静止画の各々をIフレームとした動画ファイルとして符号化すると共に、該動画ファイルのヘッダ等に各静止画の実サイズの情報を格納しておき、前記制御部は、前記ハードウェア動画デコーダに対して、前記動画ファイルの復号で使用するデコードインスタンス作成のための第1の指令を行い、その後、前記制御部は前記ハードウェアデコーダに対して、動画ファイル単位で復号のための第2の指令を与え、前記制御部は、前記ヘッダ等に格納された情報に基づいてダミーデータの充当処理前の静止画を前記表示部に表示し、前記制御部は、要求した動画ファイルの復号が終了した後、前記デコードインスタンスを破棄する第3の指令を与えることを要旨とする。   In order to achieve the above object, a still picture information processing method according to the present invention provides a hardware moving picture decoder and a software instruction to the hardware moving picture decoder based on a specification of a command for the hardware moving picture decoder. A controller that requests decoding of the encoded video, and as a result, receives the decoded video from the hardware video decoder and processes it, and displays the image by receiving the decoded video from the control unit. A still image information processing method for displaying and processing still images using a general-purpose information processing device including a display unit, and for displaying the resolution of a plurality of still images with different resolutions for which continuous high-speed switching display is performed as dummy data Video file with a single resolution by the allocation process and each of a plurality of still images having the single resolution as an I frame And the actual size information of each still image is stored in the header of the moving image file, and the control unit uses the hardware moving image decoder for decoding the moving image file. A first command for creating a decode instance is issued, and then the control unit gives a second command for decoding in units of moving image files to the hardware decoder. The display unit displays a still image before dummy data allocation processing based on the information stored in the display unit, and the control unit discards the decode instance after decoding of the requested moving image file is completed. The gist is to give a directive.

そのとき、符号化においては、ハードウェア動画デコーダにおける同時動作可能な復号化機能の数と、複数の静止画のそれぞれの解像度に応じて、複数の静止画をグループ分けし、各グループごとに解像度を統一して静止画の各々をIフレームとした動画ファイルとして符号化する方策がある。   At that time, in encoding, a plurality of still images are grouped according to the number of decoding functions that can be simultaneously operated in the hardware moving image decoder and the resolution of each of the plurality of still images, and the resolution for each group. There is a method of encoding as a moving image file in which each of the still images is an I frame.

また、上記静止画情報処理方法において、複数の静止画としては、遊技機において連続高速切替え表示がなされるものが用いられる。   Further, in the still image information processing method, as the plurality of still images, those for which continuous high-speed switching display is performed on a gaming machine are used.

本発明に係る静止画情報処理方法の他の方法は、ハードウェア動画デコーダと、そのハードウェア動画デコーダに対する指令の仕様に基づいて、前記ハードウェア動画デコーダに対してソフトウェアによる指令を与えて符号化済み動画の復号化を依頼し、結果として復号化済み動画をハードウェア動画デコーダから受け取って処理する制御部と、その制御部から前記復号化済み動画を受け取ることにより画像の表示が実現される表示部と、を備えた汎用情報処理装置を利用して静止画を表示処理する静止画情報処理方法であって、前記ハードウェア動画デコーダの解像度を基準として静止画を単一の解像度に分割し、該分割された静止画の各々をIフレームとした動画ファイルとして符号化すると共に、該動画ファイルのヘッダ等に分割に係る情報を格納しておき、前記制御部は、前記ハードウェア動画デコーダに対して、前記動画ファイルの復号で使用するデコードインスタンス作成のための第1の指令を行い、その後、前記制御部は前記ハードウェアデコーダに対して、動画ファイル単位で復号のための第2の指令を与え、前記制御部は、前記ヘッダ等に格納された分割に係る情報に基づいて前記分割された静止画を接合して前記表示部に表示し、前記制御部は、要求した動画ファイルの復号が終了した後、前記デコードインスタンスを破棄する第3の指令を与えることを要旨とする。   Another method of still image information processing method according to the present invention is to encode a hardware video decoder and a software command to the hardware video decoder based on a command specification for the hardware video decoder. A control unit that requests decoding of a completed video and, as a result, receives and processes the decoded video from a hardware video decoder, and a display that realizes display of an image by receiving the decoded video from the control unit A still image information processing method for displaying and processing a still image using a general-purpose information processing apparatus comprising: a hardware image decoder, wherein the still image is divided into a single resolution based on the resolution of the hardware video decoder; Each of the divided still images is encoded as a moving image file having an I frame, and the header of the moving image file is related to the division. The information is stored, and the control unit issues a first instruction for creating a decode instance to be used for decoding the moving image file to the hardware moving image decoder. A second instruction for decoding is given to the wear decoder in units of moving image files, and the control unit joins the divided still images based on the information related to the division stored in the header or the like. It is displayed on the display unit, and the control unit gives a third instruction to discard the decode instance after the requested moving image file has been decoded.

また、前記符号化においては、分割後の端の一致しない部分にダミーデータの充当処理を行うことにより単一の解像度を得るのが良い。   In the encoding, it is preferable to obtain a single resolution by applying dummy data to a portion where the ends after division do not match.

また、前記符号化においては、ハードウェア動画デコーダにおける同時動作可能な復号化機能の数と、復号化機能の解像度に応じて、前記静止画の分割する解像度を決定し、制御部は所望の解像度に対応する復号化機能を確保するためのデコードインスタンス作成のための第1の指令を行う。   In the encoding, the resolution for dividing the still image is determined according to the number of decoding functions that can be simultaneously operated in the hardware moving picture decoder and the resolution of the decoding function, and the control unit determines a desired resolution. A first command for creating a decode instance for ensuring a decryption function corresponding to is performed.

また、上記静止画情報処理方法において、複数の静止画としては、遊技機において連続高速切替え表示がなされるものが用いられる。   Further, in the still image information processing method, as the plurality of still images, those for which continuous high-speed switching display is performed on a gaming machine are used.

本発明の静止画情報処理方法によれば、遊技機等の専用機で実現されているような複数の静止画の連続高速切替え再生が、汎用情報処理装置においても可能となる。   According to the still image information processing method of the present invention, continuous high-speed switching reproduction of a plurality of still images as realized by a dedicated machine such as a gaming machine can be performed in a general-purpose information processing apparatus.

特に、解像度が異なる複数の静止画の各々をダミーデータの充当処理により単一の解像度を有する静止画とし、それをMPEG規格におけるIフレームとした動画ファイルとして符号化すると共に、該動画ファイルのヘッダ等に各静止画の実サイズ情報を格納しておき、制御部は、ハードウェア動画デコーダに対して、動画ファイル単位で、復号化のための指令を与えると共に、ヘッダ等に格納された情報に基づいてダミーデータ充当処理前の静止画を表示するので、例えばフレームデータを与えて復号化するような低位のAPIが提供されていない環境であっても、復号化の際には、中身が静止画情報であることを全く意識することなく処理するようにプログラム可能となる。   In particular, each of a plurality of still images with different resolutions is converted into a still image having a single resolution by dummy data allocation processing, which is encoded as an I-frame moving image file in the MPEG standard, and the header of the moving image file The actual size information of each still image is stored in the control unit, and the control unit gives a decoding instruction in units of moving image files to the hardware moving image decoder, and the information stored in the header or the like. Since the still image before dummy data allocation processing is displayed based on this, even in an environment where a low-level API that provides frame data for decoding and the like is not provided, the content remains stationary during decoding. It can be programmed to process the image information without being conscious of it at all.

CPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、予め各静止画を圧縮符号化しておく際の符号化処理を説明するための図である。Of the processing of an embodiment of the still image information processing method of the present invention when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of frames, when each still image is compression-encoded in advance. It is a figure for demonstrating an encoding process. CPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、復号化処理に際し、CPU101がハードウェア動画デコーダ104に対して行う指示の手順を示す図である。When the CPU 101 can instruct the hardware video decoder 104 to decode in units of frames, the CPU 101 performs the hardware video decoder 104 during the decoding process in the processing of the still image information processing method of the present invention. It is a figure which shows the procedure of the instruction | indication performed with respect to. CPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、予め各静止画を圧縮符号化しておく際の符号化処理を説明するための図である。Of the processing of the embodiment of the still image information processing method of the present invention when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of moving images, each still image is pre-compressed and encoded. It is a figure for demonstrating the encoding process at the time. CPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、復号化処理に際し、CPU101がハードウェア動画デコーダ104に対して行う指示の手順を示す図である。When the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of moving image files, the CPU 101 performs hardware decoding in the decoding processing of the processing of the embodiment of the still image information processing method of the present invention. FIG. 10 is a diagram showing a procedure of instructions given to the decoder 104. 各静止画のサイズを揃えて処理する場合を説明するための図である。It is a figure for demonstrating the case where the size of each still image is equalized and processed. 複数のデコーダ機能を確保できる場合の、異なるサイズの複数の静止画を各デコーダに割り当てる際の割り当ての具体例を説明するための図である。It is a figure for demonstrating the specific example of the allocation at the time of allocating the several still picture of a different size to each decoder, when a some decoder function is securable. 各静止画のサイズを揃えて処理する場合の他の例を説明するための図である。It is a figure for demonstrating the other example in the case of processing by aligning the size of each still image. パーソナルコンピュータに代表される汎用情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the general purpose information processing apparatus represented by the personal computer.

以下、図面を参照して、本発明の実施の形態について詳細に説明する。
ここでは、例として、4枚の静止画(静止画A、B、C、D)をパチンコ機等の遊技機において連続的に高速に切替えて再生する場合について、それをパーソナルコンピュータ等の汎用情報処理装置で再現する場合を説明する。汎用情報処理装置のハードウェア構成としては、図7に示した従来のものと変わりはない。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
Here, as an example, in the case where four still images (still images A, B, C, D) are continuously switched at high speed and played on a gaming machine such as a pachinko machine, the information is general-purpose information such as a personal computer. A case where reproduction is performed by the processing apparatus will be described. The hardware configuration of the general-purpose information processing apparatus is not different from the conventional one shown in FIG.

そこで、操作者から装置に対して任意の動画の表示が指示された際に、CPU101がハードウェア動画デコーダ104に対して発するAPIは、前述のように、ハードウェアの種別に応じて差異はあるものの、大きく分けて、動画一ファイル単位でハードウェア動画デコーダ104に復号化指示を与えるものと、動画内のフレーム単位で復号化指示を与えられるものの2種類がある。以下、それぞれの場合で、本発明の実施形態を説明する。   Therefore, the API that the CPU 101 issues to the hardware moving image decoder 104 when the operator instructs the apparatus to display an arbitrary moving image has a difference depending on the type of hardware as described above. However, there are roughly two types: one that gives a decoding instruction to the hardware moving picture decoder 104 in units of one moving picture file and one that gives a decoding instruction in units of frames in a moving picture. In the following, embodiments of the present invention will be described in each case.

a)CPU101がフレーム単位で復号化指示可能な場合
図1は、CPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、予め各静止画を圧縮符号化しておく際の符号化処理を説明するための図である。
a) When the CPU 101 can Instruct Decoding in Frame Units FIG. 1 shows an embodiment of the still image information processing method of the present invention when the CPU 101 can instruct the hardware video decoder 104 to decode in frame units. It is a figure for demonstrating the encoding process at the time of carrying out the compression encoding of each still image beforehand among processes.

同図に示すように、この場合、予め各静止画を圧縮符号化しておく際の符号化処理については、この場合、所定のソフトウェアツールを利用して静止画1枚1枚をMPEGで規定されるIフレームとして符号化し、個別に画像情報格納部105に格納しておく(ステップS11)。または、前述のように、ネットワーク上のサーバに格納しておくようにしてもよい。つまり、図1に示すように、静止画1枚1枚をMPEGで規定されるIフレーム相当に符号化するが、それらを纏めて一動画ファイルとすることはなく、それぞれを別個のファイルとしておく。   As shown in the figure, in this case, with respect to the encoding process when each still image is compressed and encoded in advance, in this case, each still image is defined by MPEG using a predetermined software tool. And is stored individually in the image information storage unit 105 (step S11). Alternatively, as described above, it may be stored in a server on the network. In other words, as shown in FIG. 1, each still image is encoded corresponding to an I frame defined by MPEG, but they are not combined into one moving image file, but are stored as separate files. .

図2は、CPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、復号化処理に際し、CPU101がハードウェア動画デコーダ104に対して行う指示の手順を示す図である。基本的には、CPU101は、ハードウェア動画デコーダ104に対して必要なAPIを発行しつつ制御することにより、必要な復号化画像情報を得ている。ここで、特に、このCPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合においては、フレーム単位での復号化指令のAPIをCPU101からハードウェア動画デコーダ104に発行することにより、動画一ファイルの復号化処理においてIフレームをシークしていく処理をエミュレートできる構成となっている。   FIG. 2 shows a case where the CPU 101 performs hardware decoding in the processing of one embodiment of the still image information processing method of the present invention when the CPU 101 can instruct the hardware video decoder 104 to perform decoding on a frame basis. It is a figure which shows the procedure of the instruction | indication given with respect to the wear video decoder. Basically, the CPU 101 obtains necessary decoded image information by controlling the hardware moving image decoder 104 while issuing necessary APIs. Here, in particular, when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of frames, by issuing an API for decoding instructions in units of frames from the CPU 101 to the hardware moving image decoder 104. In the decoding process of one moving image file, the process of seeking an I frame can be emulated.

具体的には、マウスやキーボード等を介して操作者により静止画の連続高速切替え再生が指示された場合、又は静止画の連続高速切替え再生を実現するプログラムが起動された場合、まず、CPU101は、最初の一連の静止画(同図に示す場合、静止画A,B,C,D)について、ハードウェア動画デコーダ104に対してCreate DecoderのAPIを発行することにより、デコードインスタンスの作成を依頼する(ステップS21)。   Specifically, when the operator instructs the continuous high-speed switching reproduction of a still image via a mouse, a keyboard, or the like, or when a program for realizing continuous high-speed switching reproduction of a still image is started, first, the CPU 101 Request the creation of a decode instance for the first series of still images (still images A, B, C, and D in the case shown in the figure) by issuing a Create Decoder API to the hardware video decoder 104 (Step S21).

次に、CPU101は、静止画Aから順に、そのIフレームとしての符号化情報を画像情報格納部105から読み出して、当該情報を伴ったSubmit FrameのAPIをハードウェア動画デコーダ104に対して発行する(ステップS22)。その結果、CPU101は、ハードウェア動画デコーダ104から、復号化により得られた元の静止画像をRGBのデータとして受け取る(ステップS23)。そして、得られたデータを、随時、表示部106の前段に設けられた表示制御部に送ることにより当該静止画の表示が実現される。そして、ステップS22及びS23の処理を、表示する一連の静止画すべて、この場合には静止画A,B,C,Dのすべて、について繰り返し行う(ステップS24)。   Next, in order from the still image A, the CPU 101 reads out the encoded information as the I frame from the image information storage unit 105 and issues an API of Submit Frame with the information to the hardware moving image decoder 104. (Step S22). As a result, the CPU 101 receives the original still image obtained by decoding from the hardware moving image decoder 104 as RGB data (step S23). And the display of the said still image is implement | achieved by sending the obtained data to the display control part provided in the front | former stage of the display part 106 at any time. Then, the processes in steps S22 and S23 are repeated for all of the series of still images to be displayed, in this case, all of the still images A, B, C, and D (step S24).

ステップS24において、一連のすべての静止画について処理が終了すると(肯定判定)、CPU101は、ハードウェア動画デコーダ104に対してDestroy DecoderのAPIを発行して一連のIフレームを対象とした復号化機能を閉じる又は破棄する(ステップS25)。次に、他の一連の連続表示すべき静止画が控えているのであれば(ステップS26において肯定判定)、ステップS21に戻り、同様の処理を繰り返す。   In step S24, when the processing is completed for all the series of still images (affirmative determination), the CPU 101 issues a Destroy Decoder API to the hardware moving image decoder 104 to perform a decoding function for a series of I frames. Is closed or discarded (step S25). Next, if there are other series of still images to be continuously displayed (Yes in step S26), the process returns to step S21 and the same processing is repeated.

以上のように、静止画毎にデコードインスタンスの作成の処理は行われず、表示する一連の静止画単位でデコードインスタンスの作成を行っているので、汎用情報処理装置であっても、複数の静止画の連続高速切替え再生が可能となる。また、特に、このCPU101がハードウェア動画デコーダ104に対してフレーム単位で復号化指示可能な場合においては、各静止画を個別に格納管理しているので、静止画の差し替え等の編集が容易であるという利点がある。
すなわち、静止画を動画のIフレームとして復号化すると共に、複数の静止画を複数のIフレームからなる動画と見立てて復号することで、動画ファイル毎(静止画A~静止画DのIフレームとしてのファイル)にデコードインスタンスを作成せず、汎用情報処理装置であっても、複数の静止画の連続高速切替え再生が可能となる。
As described above, the decoding instance creation process is not performed for each still image, and the decoding instance is created for each series of still images to be displayed. Continuous high-speed switching reproduction is possible. In particular, when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of frames, each still image is individually stored and managed, so that editing such as replacement of still images is easy. There is an advantage of being.
That is, by decoding a still image as an I frame of a moving image and decoding a plurality of still images as a moving image including a plurality of I frames, each moving image file (as an I frame of a still image A to a still image D) Even if it is a general-purpose information processing apparatus without creating a decode instance in the above file), a plurality of still images can be continuously switched at high speed.

b)CPU101が動画一ファイル単位で復号化指示可能な場合
図3は、CPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、予め各静止画を圧縮符号化しておく際の符号化処理を説明するための図である。
b) When the CPU 101 is capable of instructing decoding in units of moving image files FIG. 3 shows the still image information processing method of the present invention when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of moving image files. It is a figure for demonstrating the encoding process at the time of carrying out the compression encoding of each still image among the processes of one Embodiment.

同図に示すように、この場合、予め各静止画を圧縮符号化しておく際の符号化処理については、所定のソフトウェアツールを利用して各静止画をIフレームとして符号化すると共に、一つのIフレームからなる画像データをGOP(Group of Picture)データとし、複数のGOPデータからなる1つの動画ファイルとして画像情報格納部105に格納しておく(ステップS31)。または、前述のように、ネットワーク上のサーバに格納しておくようにしてもよい。   As shown in the figure, in this case, for encoding processing when each still image is compressed and encoded in advance, each still image is encoded as an I frame using a predetermined software tool, and The image data composed of the I frame is set as GOP (Group of Picture) data, and is stored in the image information storage unit 105 as one moving image file composed of a plurality of GOP data (step S31). Alternatively, as described above, it may be stored in a server on the network.

図4は、CPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合における本発明の静止画情報処理方法の一実施形態の処理のうちの、復号化処理に際し、CPU101がハードウェア動画デコーダ104に対して行う指示の手順を示す図である。基本的には、図2の場合と同様、CPU101は、ハードウェア動画デコーダ104に対して必要なAPIを発行しつつ制御することにより、必要な復号化画像情報を得ている。ここで、特に、このCPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合においては、一連の静止画を動画一ファイルとして扱い、CPU101が、動画一ファイル単位で復号化を依頼するAPIをハードウェア動画デコーダ104に発行することにより処理が行われる。   FIG. 4 shows the CPU 101 in the decoding process in the processing of the embodiment of the still image information processing method of the present invention when the CPU 101 can instruct the hardware moving picture decoder 104 to decode in units of moving picture files. FIG. 10 is a diagram showing a procedure of instructions given to the hardware moving image decoder 104. Basically, as in the case of FIG. 2, the CPU 101 obtains necessary decoded image information by controlling the hardware moving image decoder 104 while issuing necessary APIs. Here, in particular, when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of moving images, a series of still images is handled as a moving image, and the CPU 101 decodes in units of moving images. Processing is performed by issuing an API requesting conversion to the hardware video decoder 104.

具体的には、マウスやキーボード等を介して操作者により静止画の連続高速切替え再生が指示された場合、又は静止画の連続高速切替え再生を実現するプログラムが起動された場合、まず、CPU101は、一連の静止画(静止画A,B,C,D)が纏められた動画ファイルについて、ハードウェア動画デコーダ104に対してCreate DecoderのAPIを発行することにより、デコードインスタンスの作成を依頼する(ステップS41)。   Specifically, when the operator instructs the continuous high-speed switching reproduction of a still image via a mouse, a keyboard, or the like, or when a program for realizing continuous high-speed switching reproduction of a still image is started, first, the CPU 101 For a moving image file in which a series of still images (still images A, B, C, and D) are collected, the hardware moving image decoder 104 is requested to create a decode instance by issuing an API of Create Decoder ( Step S41).

次に、最初の一連の静止画(同図に示す場合、静止画A,B,C,D)からなる符号化された動画ファイルを画像情報格納部105から読み出し、当該動画ファイルを指定しつつ一動画ファイル単位で復号化を依頼するAPIをハードウェア動画デコーダ104に対して発行する(ステップS42)。その結果、CPU101は、ハードウェア動画デコーダ104から、復号化により得られた動画データ(複数の静止画A、B、C、D)のRGBデータを取得する(ステップS43)。そして、得られたデータを、随時、表示部106の前段に設けられた表示制御部に送ることにより当該静止画の表示が実現される。   Next, an encoded moving image file composed of the first series of still images (still images A, B, C, and D in the case shown in the figure) is read from the image information storage unit 105, and the moving image file is designated. An API requesting decoding in units of one moving image file is issued to the hardware moving image decoder 104 (step S42). As a result, the CPU 101 acquires RGB data of moving image data (a plurality of still images A, B, C, and D) obtained by decoding from the hardware moving image decoder 104 (step S43). And the display of the said still image is implement | achieved by sending the obtained data to the display control part provided in the front | former stage of the display part 106 at any time.

一つの動画ファイルの復号処理が終了すると、CPU101は、ハードウェア動画デコーダ104に対してDestroy DecoderのAPIを発行して復号化機能を閉じる又は破棄する(ステップS44)。   When the decoding process of one moving image file is completed, the CPU 101 issues an API of Destroy Decoder to the hardware moving image decoder 104 to close or discard the decoding function (step S44).

その後、表示すべき他の動画ファイルがあれば(ステップS45で肯定判定)、再びステップS41に戻り、表示すべき他の動画ファイルがなければ(ステップS45で否定判定)、終了する。   Thereafter, if there is another moving image file to be displayed (affirmative determination in step S45), the process returns to step S41 again, and if there is no other moving image file to be displayed (determination is negative in step S45), the process is ended.

上記のようにハードウェア動画デコーダ104は、連なった各Iフレームを順に復号化する処理を行うこととなるが、これは一般の早送り表示処理におけるIフレームのみの順次シークと同様の処理となる。   As described above, the hardware moving picture decoder 104 performs a process of sequentially decoding each successive I frame, which is the same process as a sequential seek of only an I frame in a general fast-forward display process.

以上のように、複数の静止を一つの動画ファイルとして復号するので、汎用情報処理装置においけるデコードインスタンスの作成は動画ファイル単位で行われ、静止画毎の処理ではデコードインスタンスの作成は行われない。すなわち、表示する一連の静止画を一動画ファイルとみたてて、その一動画ファイル単位でデコードインスタンスの作成を行っているので、汎用情報処理装置であっても、複数の静止画の連続高速切替え再生が可能となる。また、特に、このCPU101がハードウェア動画デコーダ104に対して動画一ファイル単位で復号化指示可能な場合においては、符号化の際に、完全に見かけ上動画としての構成としているので、復号化の際には、中身が静止画情報であることを全く意識することなく処理が可能であり、又はプログラム可能である。   As described above, since a plurality of still images are decoded as a single moving image file, a decoding instance is created in a general-purpose information processing device for each moving image file, and a decoding instance is created in processing for each still image. Absent. In other words, since a series of still images to be displayed is regarded as one moving image file and a decode instance is created for each moving image file, even a general-purpose information processing device can switch multiple still images continuously at high speed. Playback is possible. In particular, when the CPU 101 can instruct the hardware moving image decoder 104 to decode in units of moving images, the encoding is completely configured as a moving image at the time of encoding. In this case, the processing can be performed without any consciousness that the contents are still image information, or can be programmed.

ところで、上記実施の形態においては、汎用情報処理装置のCPU101がハードウェアデコーダ104に対してフレーム単位で復号化指示する場合や、動画ファイル単位で復号化指示する場合のいずれにおいても汎用情報処理装置におけるデコードインスタンスの作成を少なくすることで復号処理の遅延を低減し、専用機と同等に複数の静止画を連続して高速切り替え再生しているが、デコードインスタンスの作成が、動画とみなした複数の静止画で共通しているので、各静止画のサイズが同一であることが求められる。すなわち、各静止画A,B,C,Dのすべてが同一サイズであることを前提に、メモリ領域の確保や各ドライバの処理を行うデコードインスタンスが作成され、そのインスタンス上で復号化の処理が行われる。したがって、各静止画A,B,C,Dのサイズが異なる場合には各静止画を動画とみなして再生しても、所望の表示結果を得ることができない。特に、パチンコ機等の遊技機において表示される複数の静止画については、各々が全く異なるサイズ(解像度)で構成されていることも多く、一方、ハードウェア動画デコーダについては、フレーム毎に動画のサイズが異なるということは通常あり得ず、単一のデコードインスタンス上で復号処理が行われるので、各フレームについて同一のサイズでしか復号化処理を行えない。かかる場合、符号化の段階で事前にサイズを揃えておく必要がある。以下、各静止画のサイズを揃えて処理する手法について説明する。   By the way, in the above-described embodiment, the CPU 101 of the general-purpose information processing apparatus is a general-purpose information processing apparatus regardless of whether the CPU 101 instructs the hardware decoder 104 to decode in units of frames or in units of video files. By reducing the number of decode instances created in, the delay in the decoding process is reduced, and multiple still images are played back at high speed continuously in the same way as a dedicated machine. Therefore, the size of each still image is required to be the same. That is, on the assumption that all the still images A, B, C, and D have the same size, a decode instance for securing a memory area and processing for each driver is created, and the decoding process is performed on the instance. Done. Therefore, if the still images A, B, C, and D have different sizes, a desired display result cannot be obtained even if each still image is regarded as a moving image and reproduced. In particular, a plurality of still images displayed on a gaming machine such as a pachinko machine are often configured with completely different sizes (resolutions). On the other hand, with a hardware video decoder, Since the sizes are not usually different and the decoding process is performed on a single decoding instance, the decoding process can be performed only with the same size for each frame. In such a case, it is necessary to arrange the sizes in advance at the encoding stage. Hereinafter, a method for processing each still image with the same size will be described.

図5は、各静止画のサイズを揃えて処理する場合を説明するための図である。同図に示すようなサイズがまちまちの静止画E,F,G,Hがあった場合、それらすべてをカバーするような最少容量のデコーダは512×512画素の容量のデコーダであるが、このとき各静止画E,F,G,Hのサイズを512×512に揃えるに際しては、それぞれ足りない部分にダミーデータの充当(パディング)処理を行う。そして、かかる充当処理を行った後に符号化処理を行う。このようにすれば単一のデコードインスタンスの作成による環境下で所望のサイズの画像データを復号化することができる。なお、実サイズの情報は、例えばヘッダに格納しておくようにすれば、復号化後の表示の際に確実に元の静止画を再現できることとなる。   FIG. 5 is a diagram for explaining a case where processing is performed with the still images having the same size. When there are still images E, F, G, and H of various sizes as shown in the figure, the minimum capacity decoder that covers all of them is a 512 × 512 pixel capacity decoder. When aligning the size of each of the still images E, F, G, and H to 512 × 512, dummy data is applied (padded) to the missing portions. Then, after performing such allocation processing, encoding processing is performed. In this way, image data of a desired size can be decoded in an environment where a single decode instance is created. If the actual size information is stored in the header, for example, the original still image can be reliably reproduced at the time of display after decoding.

これに関連して、通常は、上述のCPUが有するハードウェア動画復号化機能を複数の復号化機能に分割して、複数のデコーダを確保して同時動作できるようになっているのが一般的である。例えば、設計上10個のデコーダを確保して同時再生するとして、そのうち、7個を通常の動画を復号化するためのものとし、残りの3つを上述のような動画に見立てた静止画を復号化するためのものとするがごとくである。このとき、当該3つのデコーダについては、想定される各静止画のサイズのバリエーションや散らばりに応じて3種類の解像度のデコーダを、CPU101の指令により構成してやればよいことになる。図6は、その概念を説明するための図である。同図に示すように、静止画P〜Uが想定される場合、256×256、512×512、1024×1024画素の各デコーダを構成するとして、各静止画を、その容量を含むことができる最少解像度のデコーダに割り当てるようにすれば、効率の良い割り当てとなる。   In this connection, the hardware video decoding function of the above-mentioned CPU is usually divided into a plurality of decoding functions so that a plurality of decoders can be secured and operated simultaneously. It is. For example, if 10 decoders are secured by design and played back simultaneously, 7 of them will be used for decoding a normal video, and the remaining 3 will be still images that look like the above video. It is for decoding. At this time, with regard to the three decoders, decoders of three types of resolutions may be configured according to instructions from the CPU 101 in accordance with the assumed size variation and dispersion of each still image. FIG. 6 is a diagram for explaining the concept. As shown in the figure, when still images P to U are assumed, it is possible to include the capacity of each still image, assuming that each decoder of 256 × 256, 512 × 512, 1024 × 1024 pixels is configured. If the allocation is made to the decoder with the minimum resolution, the allocation becomes efficient.

図5及び図6に基づく上述の説明においては、サイズを揃える指標として、複数の静止画に対して、それらすべてをカバーするような最少解像度のデコーダを用意するという観点でサイズを揃えているが、更に概念を広げて、逆に、各静止画を、それらよりも小さい解像度のデコーダで分割することにより、サイズを揃える、ということも可能である。図7は、その場合を説明するための図である。同図においては、静止画Vが、512×512画素のデコーダ12個分相当で分割されており、この場合も、端の一致しない部分、すなわちこの場合6個のデータ分、については、充当処理が行われて、符号化が行われる。この場合、分割に係る情報を先のヘッダ情報に格納しておけばよい。そして、復号化の際には、順にデコーダに供給してそれぞれ復号化した後、当該分割情報に基づいて接合して、元の静止画を再現すればよいことになる。   In the above description based on FIG. 5 and FIG. 6, as an index for aligning the sizes, the sizes are aligned in terms of preparing a minimum resolution decoder that covers all of the still images. It is also possible to expand the concept further, and conversely, each still image is divided by a decoder having a resolution smaller than those to make the sizes uniform. FIG. 7 is a diagram for explaining such a case. In the figure, the still image V is divided by 12 decoders each having 512 × 512 pixels, and in this case as well, the allocation process is performed for a portion where the ends do not coincide, that is, in this case, 6 data. Is performed and encoding is performed. In this case, information related to the division may be stored in the previous header information. In decoding, the original still image may be reproduced by sequentially supplying the data to the decoder and decoding them, and then joining them based on the division information.

以上から、例えば、ハードウェア動画デコーダの機能の制約や、デコードインスタンスの作成を一度のみ行うことで、一種類の解像度のデコーダしか確保できないときには、それに収容できるもの及び収容できないものの各種のサイズの静止画が存在しても、対処できることになる。   From the above, for example, when only one type of resolution decoder can be secured by restricting the function of the hardware video decoder and creating a decode instance only once, still images of various sizes that can be accommodated and cannot be accommodated. Even if an image exists, it can be dealt with.

以上のように、本発明の静止画情報処理方法における一実施形態によれば、パーソナルコンピュータに代表される汎用情報処理装置においても、パチンコ機等の遊技機で実現されているような複数の静止画の連続高速切替え再生を実現できる。   As described above, according to one embodiment of the still image information processing method of the present invention, even in a general-purpose information processing apparatus represented by a personal computer, a plurality of still images such as those realized by a gaming machine such as a pachinko machine are used. Continuous high-speed switching playback of images can be realized.

本発明の静止画情報処理方法は、例えば、パチンコ機等の遊技機において実現されている表示処理を、その開発過程においてパーソナルコンピュータ等の汎用情報処理装置で予め再現するような場合に利用できる。   The still image information processing method of the present invention can be used when, for example, display processing realized in a gaming machine such as a pachinko machine is reproduced in advance by a general-purpose information processing device such as a personal computer in the development process.

101 CPU
102 ROM
103 RAM
104 ハードウェア動画デコーダ
105 画像情報格納部
106 表示部

101 CPU
102 ROM
103 RAM
104 Hardware video decoder 105 Image information storage unit 106 Display unit

Claims (7)

ハードウェア動画デコーダと、
そのハードウェア動画デコーダに対する指令の仕様に基づいて、前記ハードウェア動画デコーダに対してソフトウェアによる指令を与えて符号化済み動画の復号化を依頼し、結果として復号化済み動画をハードウェア動画デコーダから受け取って処理する制御部と、
その制御部から前記復号化済み動画を受け取ることにより画像の表示が実現される表示部と、
を備えた汎用情報処理装置を利用して静止画を表示処理する静止画情報処理方法であって、
連続高速切替え表示がなされる解像度が異なる複数の静止画の解像度をダミーデータの充当処理により単一の解像度とし、該単一の解像度を有する複数の静止画の各々をIフレームとした動画ファイルとして符号化すると共に、該動画ファイルのヘッダ等に各静止画の実サイズの情報を格納しておき、
前記制御部は、前記ハードウェア動画デコーダに対して、前記動画ファイルの復号で使用するデコードインスタンス作成のための第1の指令を行い、その後、前記制御部は前記ハードウェアデコーダに対して、動画ファイル単位で復号のための第2の指令を与え、
前記制御部は、前記ヘッダ等に格納された情報に基づいてダミーデータの充当処理前の静止画を前記表示部に表示し、
前記制御部は、要求した動画ファイルの復号が終了した後、前記デコードインスタンスを破棄する第3の指令を与えることを特徴とする静止画情報処理方法。
A hardware video decoder;
Based on the specifications of the instruction for the hardware video decoder, the software instruction is given to the hardware video decoder to request decoding of the encoded video, and as a result, the decoded video is transmitted from the hardware video decoder. A control unit for receiving and processing;
A display unit capable of displaying an image by receiving the decoded video from the control unit;
A still image information processing method for displaying a still image using a general-purpose information processing apparatus equipped with
As a moving image file in which the resolution of a plurality of still images with different resolutions for continuous high-speed switching display is made a single resolution by the dummy data allocation process , and each of the plurality of still images having the single resolution is an I frame. Encode and store the actual size information of each still image in the header of the video file
The control unit issues a first instruction for creating a decode instance used for decoding the moving image file to the hardware moving image decoder , and then the control unit transfers a moving image to the hardware decoder. Give a second command for decryption on a file basis,
The control unit displays a still image before the dummy data allocation process on the display unit based on the information stored in the header or the like,
The control unit gives a third instruction to discard the decoded instance after the requested video file has been decoded .
前記符号化においては、前記ハードウェア動画デコーダにおける同時動作可能な復号化機能の数と、前記複数の静止画のそれぞれの解像度に応じて、前記複数の静止画をグループ分けし、各グループごとに解像度を統一して静止画の各々をIフレームとした動画ファイルとして符号化したことを特徴とする請求項1記載の静止画情報処理方法。 In the encoding, the plurality of still images are grouped according to the number of decoding functions that can be operated simultaneously in the hardware video decoder and the resolution of each of the plurality of still images. 2. The still image information processing method according to claim 1, wherein the resolution is unified and the still image is encoded as a moving image file having an I frame . 前記複数の静止画は、遊技機において、前記連続高速切替え表示がなされることを特徴とする請求項1または2記載の静止画情報処理方法。   The still image information processing method according to claim 1 or 2, wherein the plurality of still images are displayed on the game machine by the continuous high-speed switching display. ハードウェア動画デコーダと、
そのハードウェア動画デコーダに対する指令の仕様に基づいて、前記ハードウェア動画デコーダに対してソフトウェアによる指令を与えて符号化済み動画の復号化を依頼し、結果として復号化済み動画をハードウェア動画デコーダから受け取って処理する制御部と、
その制御部から前記復号化済み動画を受け取ることにより画像の表示が実現される表示部と、
を備えた汎用情報処理装置を利用して静止画を表示処理する静止画情報処理方法であって、
前記ハードウェア動画デコーダの解像度を基準として静止画を単一の解像度に分割し、該分割された静止画の各々をIフレームとした動画ファイルとして符号化すると共に、該動画ファイルのヘッダ等に分割に係る情報を格納しておき、
前記制御部は、前記ハードウェア動画デコーダに対して、前記動画ファイルの復号で使用するデコードインスタンス作成のための第1の指令を行い、その後、前記制御部は前記ハードウェアデコーダに対して、動画ファイル単位で復号のための第2の指令を与え、
前記制御部は、前記ヘッダ等に格納された分割に係る情報に基づいて前記分割された静止画を接合して前記表示部に表示し、
前記制御部は、要求した動画ファイルの復号が終了した後、前記デコードインスタンスを破棄する第3の指令を与えることを特徴とする静止画情報処理方法。
A hardware video decoder;
Based on the specifications of the instruction for the hardware video decoder, the software instruction is given to the hardware video decoder to request decoding of the encoded video, and as a result, the decoded video is transmitted from the hardware video decoder. A control unit for receiving and processing;
A display unit capable of displaying an image by receiving the decoded video from the control unit;
A still image information processing method for displaying a still image using a general-purpose information processing apparatus equipped with
The still image is divided into a single resolution based on the resolution of the hardware moving image decoder, and each of the divided still images is encoded as a moving image file including I frames, and is divided into a header of the moving image file, etc. Store information related to
The control unit issues a first instruction for creating a decode instance used for decoding the moving image file to the hardware moving image decoder, and then the control unit transfers a moving image to the hardware decoder. Give a second command for decryption on a file basis,
The control unit joins the divided still images based on the information related to the division stored in the header or the like and displays them on the display unit,
The control unit gives a third instruction to discard the decoded instance after the requested video file has been decoded .
前記符号化においては、前記分割後の端の一致しない部分にダミーデータの充当処理を行うことにより単一の解像度を得たことを特徴とする請求項4記載の静止画情報処理方法。   5. The still image information processing method according to claim 4, wherein, in the encoding, a single resolution is obtained by applying dummy data to a portion where the ends after the division do not match. 前記符号化においては、前記ハードウェア動画デコーダにおける同時動作可能な復号化機能の数と、復号化機能の解像度に応じて、前記静止画の分割する解像度を決定し、前記制御部は所望の解像度に対応する復号化機能を確保するためのデコードインスタンス作成のための第1の指令を行うことを特徴とする請求項4または5記載の静止画情報処理方法。 In the encoding, the resolution for dividing the still image is determined according to the number of decoding functions that can be simultaneously operated in the hardware video decoder and the resolution of the decoding function, and the control unit determines a desired resolution. 6. The still image information processing method according to claim 4 or 5, wherein a first command for creating a decode instance for ensuring a decoding function corresponding to is performed. 前記静止画は、遊技機において、連続高速切替え表示がなされることを特徴とする請求項4乃至6のいずれかに記載の静止画情報処理方法。

The still image information processing method according to any one of claims 4 to 6, wherein the still image is displayed in a continuous high-speed switching display on a gaming machine.

JP2017204536A 2015-05-20 2017-10-23 Still image information processing method Active JP6424331B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015103138 2015-05-20
JP2015103138 2015-05-20

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016100983A Division JP6248298B2 (en) 2015-05-20 2016-05-20 Still image information processing method

Publications (2)

Publication Number Publication Date
JP2018038064A true JP2018038064A (en) 2018-03-08
JP6424331B2 JP6424331B2 (en) 2018-11-21

Family

ID=57581902

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2016100983A Active JP6248298B2 (en) 2015-05-20 2016-05-20 Still image information processing method
JP2017204536A Active JP6424331B2 (en) 2015-05-20 2017-10-23 Still image information processing method

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2016100983A Active JP6248298B2 (en) 2015-05-20 2016-05-20 Still image information processing method

Country Status (1)

Country Link
JP (2) JP6248298B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210048528A (en) 2018-08-29 2021-05-03 코우리츠다이가쿠호우징 효고켄리츠다이가쿠 Surface shape measurement device and surface shape measurement method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6248298B2 (en) * 2015-05-20 2017-12-20 株式会社アクセル Still image information processing method
CN106796535B (en) * 2016-12-27 2021-03-30 深圳前海达闼云端智能科技有限公司 Video display method, video display device, electronic equipment and computer program product
CN114302172B (en) * 2021-12-28 2023-08-18 威创集团股份有限公司 Seamless switching method, distributed splicing system, storage medium and computer equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6248298B2 (en) * 2015-05-20 2017-12-20 株式会社アクセル Still image information processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6445738B1 (en) * 1996-04-25 2002-09-03 Opentv, Inc. System and method for creating trick play video streams from a compressed normal play video bitstream
JPH11306340A (en) * 1998-04-27 1999-11-05 Hitachi Ltd Image pickup display device
JP2005012270A (en) * 2003-06-16 2005-01-13 Sharp Corp Video recorder

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6248298B2 (en) * 2015-05-20 2017-12-20 株式会社アクセル Still image information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210048528A (en) 2018-08-29 2021-05-03 코우리츠다이가쿠호우징 효고켄리츠다이가쿠 Surface shape measurement device and surface shape measurement method

Also Published As

Publication number Publication date
JP6248298B2 (en) 2017-12-20
JP2016220208A (en) 2016-12-22
JP6424331B2 (en) 2018-11-21

Similar Documents

Publication Publication Date Title
JP2018038064A (en) Still image information processing method
US20100260468A1 (en) Multi-user remote video editing
JP4476261B2 (en) Decoding device and decoding method
US20130147787A1 (en) Systems and Methods for Transmitting Visual Content
US9055272B2 (en) Moving image reproduction apparatus, information processing apparatus, and moving image reproduction method
JP4362510B2 (en) Recording / playback editing device
US20190327425A1 (en) Image processing device, method and program
JP2006303652A (en) Information recording and reproducing system, apparatus, and method
JP6307716B2 (en) Image information processing method
JP2009111881A (en) Video reproducing apparatus, video reproducing method, and video reproduction-processing program
JP6269734B2 (en) Movie data editing device, movie data editing method, playback device, and program
JP2004140575A (en) Data processing apparatus, data processing method and information storage medium, and computer program
JP4682267B1 (en) Progressive download playback method and playback program
JP5703532B2 (en) Transcoding device
CN102467748A (en) Method for realizing animation texture in three-dimensional scene
JP2007074544A (en) Picture decoding and reproducing device
JP2016082266A (en) Recording/reproducing apparatus
JP2004135241A (en) Data processing apparatus, data processing method, and program
EP3300383A1 (en) Method for converting a slideshow into a video
JP2006270829A (en) Motion picture reproducing device
JP2009212678A (en) Display control device and method, and program
JP2007515739A (en) Circuit and method for retrieving data
JPH1118055A (en) Device and method for reproducing data
JP2016082268A (en) Recording/reproducing apparatus
JP2009218675A (en) Reproduction apparatus and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180809

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180814

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180822

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180921

R150 Certificate of patent or registration of utility model

Ref document number: 6424331

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250