JP5045495B2 - Video decoding device - Google Patents

Video decoding device Download PDF

Info

Publication number
JP5045495B2
JP5045495B2 JP2008048735A JP2008048735A JP5045495B2 JP 5045495 B2 JP5045495 B2 JP 5045495B2 JP 2008048735 A JP2008048735 A JP 2008048735A JP 2008048735 A JP2008048735 A JP 2008048735A JP 5045495 B2 JP5045495 B2 JP 5045495B2
Authority
JP
Japan
Prior art keywords
channel
decoding
priority
time
encoded data
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.)
Expired - Fee Related
Application number
JP2008048735A
Other languages
Japanese (ja)
Other versions
JP2009207002A (en
Inventor
真 廣井
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2008048735A priority Critical patent/JP5045495B2/en
Publication of JP2009207002A publication Critical patent/JP2009207002A/en
Application granted granted Critical
Publication of JP5045495B2 publication Critical patent/JP5045495B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本発明は、動画像の再生に好適な動画像復号化装置に関する。   The present invention relates to a moving picture decoding apparatus suitable for moving picture reproduction.

マルチチャネルデコーダを備えた動画像再生装置が各種提供されている。ここで、マルチチャネルデコーダは、複数種類の動画の圧縮符号化データの復号化処理を並列に実行するデコーダである。図3(A)は、この種のデコーダの動作例を示すタイムチャートである。図示の例のように、従来のマルチチャネルデコーダは、まず、チャネル1に割り当てられた動画の圧縮符号化データの復号化処理を実行し、フレーム一枚分の復号結果が得られると、チャネル2に割り当てられた動画の圧縮符号化データの復号化処理を実行する、という具合に各チャネルの復号化処理を順次実行する構成となっていた。動画像再生装置では、このマルチチャネルデコーダの復号結果である画像データが動画の種類毎に分けて復号画像メモリに蓄積される。そして、この復号画像メモリに蓄積された各動画の画像データを表示装置の表示画像に反映させる描画処理が表示装置の垂直走査周期Tに同期して実行される。
特開2006−127206号公報
Various types of moving image playback devices including a multi-channel decoder are provided. Here, the multi-channel decoder is a decoder that executes a decoding process on a plurality of types of moving image compression-encoded data in parallel. FIG. 3A is a time chart showing an operation example of this type of decoder. As in the example shown in the figure, the conventional multi-channel decoder first executes the decoding process of the compression-encoded data of the moving image assigned to the channel 1, and when the decoding result for one frame is obtained, the channel 2 In other words, the decoding process of each channel is sequentially executed in such a manner that the decoding process of the compression-encoded data of the moving image assigned to is performed. In the moving picture reproducing apparatus, the image data which is the decoding result of the multi-channel decoder is stored for each type of moving picture in the decoded picture memory. Then, drawing processing for reflecting the image data of each moving image stored in the decoded image memory on the display image of the display device is executed in synchronization with the vertical scanning period T of the display device.
JP 2006-127206 A

複数種類の動画像の合成画像をリアルタイムに再生するためには、描画対象である各チャネルの復号結果がそれらの復号結果を利用した描画処理の開始タイミングよりも前に復号画像メモリに蓄積される必要がある。しかし、図3(B)に示すように、全チャネルの復号化処理に要する時間が垂直走査周期Tよりも長くなると、実行順序が後のチャネルの復号結果の復号画像メモリへの格納がその復号結果を利用した描画処理に間に合わなくなる場合がある。この場合、動画像再生装置では、復号化を終えた一部のチャネルの復号結果、たとえば、図3(B)で示すチャネル1とチャネル2の復号結果だけが表示画像に反映され、チャネル3の復号結果が表示画像に反映されない。このため、チャネル3の復号結果が重要なものである場合に問題が生じる。
本発明は、このような背景の下に案出されたものであり、複数種類の動画像の圧縮符号化データの復号化処理を並列に実行する場合において重要な動画像についての復号化処理の遅延を防止することができる動画像復号化装置を提供することを目的とする。
In order to reproduce a composite image of a plurality of types of moving images in real time, the decoding result of each channel to be drawn is accumulated in the decoded image memory before the start timing of the drawing process using the decoding result. There is a need. However, as shown in FIG. 3B, when the time required for the decoding process of all the channels becomes longer than the vertical scanning period T, the decoding result of the channel whose execution order is later is stored in the decoded image memory. In some cases, the drawing process using the result may not be in time. In this case, in the moving image reproduction apparatus, only the decoding results of some of the channels after decoding, for example, the decoding results of channel 1 and channel 2 shown in FIG. The decoding result is not reflected in the display image. This causes a problem when the decoding result of channel 3 is important.
The present invention has been devised under such a background, and in the case where decoding processing of compression encoded data of a plurality of types of moving images is performed in parallel, decoding processing for important moving images is performed. An object of the present invention is to provide a moving picture decoding apparatus capable of preventing a delay.

本発明の好適な態様である動画像復号化装置は、動画の圧縮符号化データの復号化処理を実行する復号化手段と、時間を複数のタイムスロットに分割し、タイムスロットが切り換わる度に実行対象を切り換えて、複数チャネルの動画の圧縮符号化データの復号化処理の各々を前記復号化手段に順次かつ巡回的に実行させる手段であって、各チャネルの復号化処理を実行させるタイムスロットの長さをチャネル毎に指定された優先度に応じて制御する並列処理制御手段とを備える。
この態様によると、並列処理制御手段は、復号化手段に実行させる各チャネルの復号化処理のタイムスロットの長さを、それらのチャネル毎に指定された優先度に応じて制御する。よって、復号化処理を実行させる各チャネルの優先度に各々の重要度に応じた差をつけることにより、優先度を高くしたチャネルの復号化処理をその復号結果を利用した描画処理に遅れることなく実行させることができる。
A moving picture decoding apparatus according to a preferred aspect of the present invention includes a decoding unit that executes a decoding process of compression-encoded data of a moving image, and a time divided into a plurality of time slots, and each time slot is switched. A time slot for switching the execution target and causing the decoding means to sequentially and cyclically execute each of the decoding processing of the compression encoded data of the moving images of the plurality of channels, and to execute the decoding processing of each channel Parallel processing control means for controlling the length of each of them according to the priority specified for each channel.
According to this aspect, the parallel processing control unit controls the length of the time slot of the decoding process of each channel to be executed by the decoding unit according to the priority designated for each channel. Therefore, by adding a difference according to each importance level to the priority of each channel for executing the decoding process, the decoding process for the channel with the higher priority is not delayed from the drawing process using the decoding result. Can be executed.

本発明の別の好適な態様である動画像復号化装置は、動画の圧縮符号化データの復号化処理を実行する復号化手段と、時間を複数のタイムスロットに分割し、タイムスロットが切り換わる度に実行対象を切り換えて、複数チャネルの動画の圧縮符号化データの復号化処理の各々を前記復号化手段に順次かつ巡回的に実行させる手段であって、各チャネルの復号化処理の実行順序をチャネル毎に指定された優先度に応じて制御する並列処理制御手段とを備えることを特徴とする。
この態様によると、並列処理制御手段は、各チャネルの復号化処理の実行順序を、それらのチャネル毎に指定された優先度に応じて制御する。よって、復号化処理を実行させる各チャネルの優先度に各々の重要度に応じた差をつけることにより、優先度を高くしたチャネルの復号化処理をその復号結果を利用した描画処理に遅れることなく実行させることができる。
Another preferred embodiment of the present invention is a moving picture decoding apparatus, a decoding means for executing a decoding process of compression-encoded data of a moving image, and a time is divided into a plurality of time slots, and the time slots are switched. Means for switching the execution target each time, and causing the decoding means to sequentially and cyclically execute each of the decoding processing of the compression encoded data of the moving images of the plurality of channels, the order of executing the decoding processing of each channel And parallel processing control means for controlling according to the priority specified for each channel.
According to this aspect, the parallel processing control means controls the execution order of the decoding processing of each channel according to the priority designated for each channel. Therefore, by adding a difference according to each importance level to the priority of each channel for executing the decoding process, the decoding process for the channel with the higher priority is not delayed from the drawing process using the decoding result. Can be executed.

なお、音声データの復号化処理に関するものではあるが、複数種類の圧縮符号化データの復号化処理を実行する装置に関する文献として特許文献1がある。しかし、この特許文献1に開示された装置は、複数チャネルの圧縮符号化データの復号化処理を時分割制御により実行し、かつ、各チャネルの復号化処理を実行するタイムスロットの長さや各チャネルの復号化処理の実行順序を各チャネルの優先度に応じて実行するものでなく、本発明とは異なったものである。   In addition, although it is related with the decoding process of audio | voice data, there exists patent document 1 as literature regarding the apparatus which performs the decoding process of multiple types of compression coding data. However, the apparatus disclosed in Patent Document 1 performs the decoding process of compression-encoded data of a plurality of channels by time division control, and the length of the time slot for executing the decoding process of each channel and each channel The decoding processing execution order is not executed according to the priority of each channel, and is different from the present invention.

以下、図面を参照し、この発明の実施形態を説明する。
図1は、本発明の一実施形態にかかる動画像復号化装置10を含む動画像再生装置50の構成を示すブロック図である。この動画像再生装置50は、ホストCPU11、パターンROM12、復号画像メモリ13、動画像復号化装置10、フレームメモリ16、表示制御部17、描画処理部18、表示装置19を有する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a moving image playback device 50 including a moving image decoding device 10 according to an embodiment of the present invention. The moving image reproduction device 50 includes a host CPU 11, a pattern ROM 12, a decoded image memory 13, a moving image decoding device 10, a frame memory 16, a display control unit 17, a drawing processing unit 18, and a display device 19.

ホストCPU11は、この動画像再生装置50の制御中枢である。
パターンROM12は、背景やキャラクタなどの複数種類の動画の圧縮符号化データを記憶した読み出し専用メモリである。
復号画像メモリ13は、復号結果である画像データを一時記憶するためのメモリであり、例えばRAMにより構成されている。
The host CPU 11 is a control center of the moving image playback device 50.
The pattern ROM 12 is a read-only memory that stores compression-coded data of a plurality of types of moving images such as backgrounds and characters.
The decoded image memory 13 is a memory for temporarily storing image data as a decoding result, and is configured by, for example, a RAM.

動画像復号化装置10は、復号化部14と並列処理制御部15とによって構成されている。ここで、復号化部14は、並列処理制御部15による制御の下、複数チャネルの復号化処理を実行する装置である。各チャネルの復号化処理では、1種類の動画の圧縮符号化データをパターンROM12から読み出して復号化し、フレーム1枚分の復号結果である復号化済み画像データが得られるたびに、復号画像メモリ13内の各チャネルに対応付けられたエリアをリングバッファとして使用し、得られた復号化済み画像データをその通番と対応付けて記憶させる。
並列処理制御部15は、復号化部14による復号化処理を制御する役割を果たす。さらに詳述すると、本実施形態では、複数種類の動画を表示装置19に表示させるに当たり、ホストCPU11と並列処理制御部15との間でネゴシエーションが行われ、並列処理制御部15は、このネゴシエーションによりホストCPU11から次の情報を取得する。
a.パターンROM12における各動画の圧縮符号化データの各々の先頭の記憶アドレス
b.各動画の圧縮符号化データの復号化処理を実行させるチャネルのチャネル番号
c.復号画像メモリ13における各チャネルの復号結果の書き込み先となるリングバッファの先頭と終端の記憶アドレス
d.各チャネルの優先度
The moving picture decoding apparatus 10 includes a decoding unit 14 and a parallel processing control unit 15. Here, the decoding unit 14 is a device that executes a decoding process for a plurality of channels under the control of the parallel processing control unit 15. In the decoding process for each channel, one type of compressed encoded data of a moving image is read from the pattern ROM 12 and decoded. The area associated with each of the channels is used as a ring buffer, and the obtained decoded image data is associated with the serial number and stored.
The parallel processing control unit 15 serves to control the decoding process performed by the decoding unit 14. More specifically, in the present embodiment, when displaying a plurality of types of moving images on the display device 19, negotiation is performed between the host CPU 11 and the parallel processing control unit 15, and the parallel processing control unit 15 performs the negotiation. The following information is acquired from the host CPU 11.
a. Storage address at the head of each compression encoded data of each moving picture in pattern ROM 12 b. Channel number of the channel for executing the decoding process of the compression encoded data of each moving picture c. Storage addresses at the beginning and end of the ring buffer to which the decoding result of each channel is written in the decoded image memory 13 d. The priority of each channel

そして、並列処理制御部15は、時間を複数のタイムスロットに分割し、タイムスロットが切り換わる度に実行対象であるチャネルを切り換えて、複数チャネルの動画の圧縮符号化データの復号化処理の各々を復号化部14に順次かつ巡回的に実行させる。その際、並列処理制御部15は、各チャネルの復号化処理を実行させるタイムスロットの長さをチャネル毎に指定された優先度に応じて決定する。また、並列処理制御部15は、各チャネルの復号化処理の実行順序をチャネル毎に指定された優先度に応じて決定する。さらに詳述すると、並列処理制御部15は、優先度の高い順となるように各チャネルの復号化処理の実行順序を決定する。本実施形態において、優先度はレベル1〜レベル16までの16段階がある。ここで、レベル16が最も優先度の高いレベルであり、レベル1が最も優先度の低いレベルである。同じ優先度のレベルが指定された複数のチャネルがある場合、並列処理制御部15は、それらのチャネルの実行順序をチャネル番号の若い順にする。また、各チャネルの復号化処理を継続するタイムスロットは、各チャネルの優先度のレベルを十分に短い単位割当時間tに掛けることにより求める。
並列処理制御部15は、各チャネルの復号化処理を順次かつ巡回的に実行させるため、実行対象であるチャネルのチャネル番号を復号化部14に通知し、そのチャネルに対応したタイムスロットが経過したときに次のチャネルのチャネル番号を復号化部14に通知する、という処理をサイクリックに繰り返す。
一方、復号化部14は、並列処理制御部15から新たなチャネル番号が通知されるたびに、それまで実行していたチャネルの復号化処理を中断してその新たなチャネル番号と対応するチャネルの復号化処理に移る、というサイクルを繰り返す。各チャネルの復号化処理を中断する際、復号化部14は、次のサイクルにおけるその中断チャネルの復号化処理の再開に必要な情報を内蔵のメモリに退避する。
Then, the parallel processing control unit 15 divides the time into a plurality of time slots, switches the execution target channel every time the time slot is switched, and performs each of the decoding processing of the compression encoded data of the moving images of the plurality of channels. Are sequentially and cyclically executed by the decoding unit 14. At that time, the parallel processing control unit 15 determines the length of the time slot for executing the decoding processing of each channel according to the priority designated for each channel. In addition, the parallel processing control unit 15 determines the execution order of the decoding processing of each channel according to the priority designated for each channel. More specifically, the parallel processing control unit 15 determines the execution order of the decoding processing of each channel so that the order of priority is high. In this embodiment, the priority has 16 levels from level 1 to level 16. Here, level 16 is the highest priority level, and level 1 is the lowest priority level. When there are a plurality of channels designated with the same priority level, the parallel processing control unit 15 sets the execution order of these channels in ascending order of channel numbers. The time slot for continuing the decoding process for each channel is obtained by multiplying the priority level of each channel by a sufficiently short unit allocation time t.
The parallel processing control unit 15 notifies the decoding unit 14 of the channel number of the channel to be executed in order to sequentially and cyclically execute the decoding processing of each channel, and the time slot corresponding to the channel has elapsed. Sometimes the process of notifying the decoding unit 14 of the channel number of the next channel is cyclically repeated.
On the other hand, each time a new channel number is notified from the parallel processing control unit 15, the decoding unit 14 interrupts the decoding process of the channel that has been executed so far, and determines the channel corresponding to the new channel number. The cycle of moving to the decryption process is repeated. When the decoding process of each channel is interrupted, the decoding unit 14 saves information necessary for resuming the decoding process of the interrupted channel in the next cycle in the built-in memory.

フレームメモリ16は、表示装置19の表示対象となる画像データを記憶するメモリである。表示制御部17は、一定時間長の垂直走査周期Tが切り換わるたびに、フレームメモリ16の画像データをラスタスキャン順に読み出して表示装置19に表示させる表示処理を行う。
描画処理部18は、フレームメモリ16における各チャネルの復号結果の描画位置を示す描画指令をホストCPU11から取得し、その描画指令に従って描画処理を実行する。この描画処理は、各チャネルの復号化済み画像データを復号画像メモリ13から読み出してフレームメモリ16内の画像データに反映させる処理である。描画処理部18は、垂直走査周期Tが切り換わるたびにこの描画処理を実行する。すなわち、描画処理部18は、自らに内蔵されたカウンタにより垂直走査周期Tの切り換わりの数をカウントし、そのカウンタがカウントアップするたびに、カウントアップ後のカウント数と同じ通番に対応付けられた各チャネルの復号化済み画像データを復号画像メモリ13の各バッファから探索し、それらの復号化済み画像データを描画指令が示すフレームメモリ16の描画位置へ描画するのである。ここで、復号化部14による復号化処理の進捗の如何によっては、描画処理部18による探索までにその探索対象となる復号化済み画像データのすべてを復号画像メモリ13に記憶できない場合も生じ得る。この場合、描画処理部18は、復号画像メモリ13から探索できた一部のチャネルの復号化済み画像データのみをフレームメモリ16の画像データに反映させる。
The frame memory 16 is a memory that stores image data to be displayed on the display device 19. The display control unit 17 performs display processing for reading the image data in the frame memory 16 in the order of raster scan and displaying the image data on the display device 19 every time the vertical scanning period T having a certain length of time is switched.
The drawing processing unit 18 acquires a drawing command indicating the drawing position of the decoding result of each channel in the frame memory 16 from the host CPU 11, and executes the drawing processing according to the drawing command. This drawing process is a process of reading the decoded image data of each channel from the decoded image memory 13 and reflecting it in the image data in the frame memory 16. The drawing processing unit 18 executes this drawing processing every time the vertical scanning period T is switched. That is, the drawing processing unit 18 counts the number of switching of the vertical scanning period T by a counter built in itself, and each time the counter counts up, the drawing processing unit 18 is associated with the same serial number as the counted number after counting up. The decoded image data of each channel is searched from each buffer of the decoded image memory 13, and the decoded image data is drawn at the drawing position of the frame memory 16 indicated by the drawing command. Here, depending on the progress of the decoding process by the decoding unit 14, there may be a case where all of the decoded image data to be searched cannot be stored in the decoded image memory 13 by the search by the drawing processing unit 18. . In this case, the drawing processing unit 18 reflects only the decoded image data of a part of the channels that can be searched from the decoded image memory 13 in the image data of the frame memory 16.

以上の構成によれば、本実施形態にかかる動画像復号化装置10の復号化部14は、パターンROM12の複数の圧縮符号化データの各々を各チャネルの処理対象として復号化処理を実行する。そして、並列処理制御部15は、各チャネルのタイムスロットの長さを、各チャネルの優先度に応じて制御する。よって、各チャネルの優先度に差をつけることにより、優先度の高いチャネルの復号結果が欠損し、表示内容へ影響を与えるのを防止することができる。   According to the above configuration, the decoding unit 14 of the video decoding device 10 according to the present embodiment executes a decoding process using each of a plurality of pieces of compressed encoded data in the pattern ROM 12 as a processing target of each channel. Then, the parallel processing control unit 15 controls the length of the time slot of each channel according to the priority of each channel. Therefore, by making a difference between the priorities of the respective channels, it is possible to prevent the decoding result of the channel having a higher priority from being lost and affecting the display contents.

この作用について、図2(A)および図2(B)を参照してさらに具体的に説明する。図2(A)および図2(B)は、垂直走査周期Tの3周期分に相当する間の動画像復号化装置10による復号化処理と描画処理部18による描画処理の様子を示すタイムチャートである。図2(A)および図2(B)の例において、復号化部14による復号化処理のチャネルは、チャネル1からチャネル3までの3つである。そして、各チャネルの時間軸の経過をそれぞれ示す実線上に離散的に並ぶ矩形の横幅は、それらのチャネルにおける復号化処理の実行時間の長さを示し、鎖線は、垂直走査周期Tが切り換わるごとに描画処理部18が実行する描画処理の実行タイミングを示す。また、各矩形の上の数は、各チャネルの復号結果を基に描画されるフレームのフレーム番号を示す。以降は、n番目のフレームの圧縮符号化データを圧縮符号化データ(n)と記す。   This action will be described more specifically with reference to FIGS. 2 (A) and 2 (B). 2A and 2B are time charts showing a state of decoding processing by the moving image decoding apparatus 10 and drawing processing by the drawing processing unit 18 during the period corresponding to three vertical scanning periods T. FIG. It is. In the example of FIGS. 2A and 2B, there are three channels from channel 1 to channel 3 for decoding processing by the decoding unit 14. The horizontal width of the rectangles discretely arranged on the solid line indicating the passage of the time axis of each channel indicates the length of execution time of the decoding process in those channels, and the vertical scanning period T is switched in the chain line. The drawing processing execution timing executed by the drawing processing unit 18 is shown. The number above each rectangle indicates the frame number of the frame drawn based on the decoding result of each channel. Hereinafter, the compression encoded data of the nth frame is referred to as compression encoded data (n).

ここで、3つのチャネルの優先度をすべてレベル1にしている図2(A)の例の場合、復号化部14は、それらのチャネルを、チャネル1、チャネル2、チャネル3の順で切り換え、各々のチャネルのタイムスロットの長さを同じにする。この場合、チャネル1の圧縮符号化データ(1)の復号結果を1番目のフレームの描画までに得ることはできるものの、チャネル2とチャネル3の圧縮符号化データ(1)の復号結果をそれまでに得ることはできない。
一方、3つのチャネルのうちチャネル3の優先度をレベル2にし、チャネル1および2の優先度をレベル1にした図2(B)の例の場合、復号化部14は、それらのチャネルを、チャネル3、チャネル1、チャネル2の順で切り換え、チャネル3のタイムスロットの長さをチャネル1および2の各タイムスロットのものよりも長くする。この場合、チャネル2の圧縮符号化データ(1)の復号結果を得る時刻は図2(A)の例より遅れるものの、チャネル1の圧縮符号化データ(1)の復号結果とチャネル3の圧縮符号化データ(1)の復号結果を1番目のフレームの描画までに得ることができる。
Here, in the case of the example of FIG. 2A in which the priorities of all three channels are set to level 1, the decoding unit 14 switches those channels in the order of channel 1, channel 2, and channel 3, The time slot length of each channel is made the same. In this case, the decoding result of the compressed encoded data (1) of the channel 1 can be obtained before the first frame is drawn, but the decoding result of the compressed encoded data (1) of the channel 2 and the channel 3 is obtained up to that time. Can't get to.
On the other hand, in the example of FIG. 2B in which the priority of channel 3 among the three channels is set to level 2 and the priority of channels 1 and 2 is set to level 1, the decoding unit 14 determines those channels as Channel 3, channel 1, and channel 2 are switched in this order so that the time slot length of channel 3 is longer than that of each time slot of channels 1 and 2. In this case, although the time to obtain the decoding result of the compressed encoded data (1) of channel 2 is delayed from the example of FIG. 2A, the decoded result of the compressed encoded data (1) of channel 1 and the compressed code of channel 3 The decoding result of the digitized data (1) can be obtained before the first frame is drawn.

この例に示すように、本実施形態にかかる動画像復号化装置10によると、優先度の低いチャネルの復号結果が得られる時刻よりも、優先度の高いチャネルの復号結果が得られる時刻を早め、優先度の高いチャネルの復号結果を描画に間に合わせる、といった復号化部14の制御が可能になる。各フレームに登場するパターンの中には、連続するフレーム間の変化が非常に大きいものもあれば、その変化が非常に小さいものもある。そして、前者のパターンの方が看者の注意を惹く。本実施形態によれば、連続するフレーム間の変化が小さいパターンの圧縮符号化データを復号化するチャネルの優先度を低くし、変化が大きいパターンの圧縮符号化データを復号化するチャネルの優先度を高くすることにより、看者の注意を惹く変化の大きいパターンの復号結果の欠損を防止することができる。   As shown in this example, according to the video decoding device 10 according to the present embodiment, the time at which the decoding result of the channel with the higher priority is obtained is earlier than the time at which the decoding result of the channel with the lower priority is obtained. Thus, it is possible to control the decoding unit 14 such that the decoding result of a channel with a high priority is made in time for drawing. Some patterns appearing in each frame have a very large change between successive frames, while others have a very small change. The former pattern attracts the attention of the viewer. According to the present embodiment, the priority of the channel for decoding the compression-encoded data of the pattern with a small change between successive frames is lowered, and the priority of the channel for decoding the compression-encoded data of the pattern with a large change By increasing the value, it is possible to prevent the decoding result of a pattern having a large change that attracts the viewer's attention from being lost.

以上、この発明の一実施形態について説明したが、この発明には他にも実施形態があり得る。例えば、以下の通りである。
(1)上記実施形態では、復号化部14における各チャネルの復号化処理を実行させるタイムスロットの長さおよび各チャネルの復号化処理の実行順序を、各々の優先度に応じて変えた。しかし、各チャネルのタイムスロットの長さだけを各々の優先度に応じて変えてもよいし、各チャネルの復号化処理の実行順序を各々の優先度に応じて変えてもよい。
(2)上記実施形態において、操作部の操作を通じて指定できる優先度のレベルを16段階より多くしてもよいし、少なくしてもよい。たとえば、「高」、「中」、「低」の3段階にしてもよい。
(3)上記実施形態において、各チャネルの優先度は、動画の開始から終了まで固定されたものであった。しかし、動画の種類によっては、全般的な優先度はそれ程高くする必要はないが、特定の区間には重要な画像があり、その区間の画像は確実に表示装置19に表示させたい、というものもある。そこで、チャネル毎に時間経過に伴って変化する優先度を取り扱えるように構成してもよい。時間経過に伴って変化する優先度を並列処理制御部15に与えるための手段としては、各種のものが考えられるが、動画像の圧縮符号化データ自体に時間経過に伴って変化する優先度を示す時系列情報を含める態様が考えられる。この態様では、パターンROM12の圧縮符号化データは、そのパターンROM12と復号化部14の間に挿入されたFIFO(First-In First-Out)型のバッファを介して復号化部14へ供給されるようにする。その上で、並列処理制御部15は、バッファに記憶される各チャネルの復号化処理待ちの圧縮符号化データの優先度を監視する。そして、並列処理制御部15は、監視の結果、あるチャネルの優先度が高くなったことを検知すると、そのチャネルの優先度の高い区間の圧縮符号化データの復号化処理が開始されるよりも、ある程度の時間だけ前に、そのチャネルの復号化処理に利用するタイムスロットを長くする。また、このようにタイムスロットを長くした後、当該チャネルの優先度が元の低い値に戻ったことを検知すると、そのチャネルのタイムスロットの長さを元に戻す。この態様によれば、重要な区間のみに限定して、復号結果の欠損を生じさせない優先的な取り扱いをすることができる。優先度の高くなったチャネルのタイムスロットを長くする代わりに、そのチャネルの実行順序を前に移動してもよい。あるいはタイムスロットを長くし、さらに実行順序を前に移動してもよい。
(4)上記実施形態において、不定期に再生されたり、再生時期までの時間的な余裕があるパターンの圧縮符号化データであって復号化の所要時間が長いものの復号化処理を、優先度を低くしたチャネルによりバックグラウンド処理で実行させてもよい。
Although one embodiment of the present invention has been described above, the present invention may have other embodiments. For example, it is as follows.
(1) In the above embodiment, the length of the time slot for executing the decoding process for each channel in the decoding unit 14 and the execution order of the decoding process for each channel are changed in accordance with each priority. However, only the length of the time slot of each channel may be changed according to each priority, or the decoding processing execution order of each channel may be changed according to each priority.
(2) In the above embodiment, the priority level that can be specified through the operation of the operation unit may be increased or decreased from 16 levels. For example, three stages of “high”, “medium”, and “low” may be used.
(3) In the above embodiment, the priority of each channel is fixed from the start to the end of the moving image. However, depending on the type of video, the general priority need not be so high, but there is an important image in a specific section, and the image in that section is to be displayed on the display device 19 reliably. There is also. Therefore, it may be configured to be able to handle the priority that changes with time for each channel. Various means can be considered as a means for giving the parallel processing control unit 15 the priority that changes with the passage of time. However, the priority that changes with the passage of time is given to the compressed encoded data of the moving image itself. A mode in which the time series information shown is included is conceivable. In this aspect, the compression encoded data of the pattern ROM 12 is supplied to the decoding unit 14 via a FIFO (First-In First-Out) type buffer inserted between the pattern ROM 12 and the decoding unit 14. Like that. After that, the parallel processing control unit 15 monitors the priority of the compression encoded data waiting for decoding processing of each channel stored in the buffer. When the parallel processing control unit 15 detects that the priority of a certain channel is high as a result of monitoring, the parallel processing control unit 15 starts decoding the compressed encoded data in the section having the high priority of the channel. The time slot used for the decoding process of the channel is lengthened before a certain time. In addition, when it is detected that the priority of the channel has returned to the original low value after the time slot has been lengthened in this way, the length of the time slot of the channel is restored. According to this aspect, it is possible to preferentially handle only important sections without causing a loss of decoding results. Instead of increasing the time slot of a channel with higher priority, the execution order of the channel may be moved forward. Alternatively, the time slot may be lengthened and the execution order may be moved forward.
(4) In the above-described embodiment, the priority is given to the decoding process of the compression encoded data of the pattern that is reproduced irregularly or has a time allowance until the reproduction time and has a long decoding time. It may be executed in the background processing by the lowered channel.

本発明の一実施形態にかかる動画像復号化装置を含む動画像再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image reproduction apparatus containing the moving image decoding apparatus concerning one Embodiment of this invention. 同実施形態にかかる動画像復号化装置の復号化部による復号化処理と描画処理部による描画処理の様子を示すタイムチャートである。It is a time chart which shows the mode of the decoding process by the decoding part of the moving image decoding apparatus concerning the embodiment, and the drawing process by a drawing process part. 従来のデコーダによる復号化処理の様子を示すタイムチャートである。It is a time chart which shows the mode of the decoding process by the conventional decoder.

符号の説明Explanation of symbols

10…動画像復号化装置、11…ホストCPU、12…パターンROM、13…復号画像メモリ、14…復号化部、15…並列処理制御部、16…フレームメモリ、17…表示制御部、18…描画処理部、19…表示装置、50…動画像再生装置。

DESCRIPTION OF SYMBOLS 10 ... Moving picture decoding apparatus, 11 ... Host CPU, 12 ... Pattern ROM, 13 ... Decoded image memory, 14 ... Decoding part, 15 ... Parallel processing control part, 16 ... Frame memory, 17 ... Display control part, 18 ... Drawing processing unit, 19... Display device, 50.

Claims (4)

動画の圧縮符号化データの復号化処理を実行し、復号結果である復号化済み画像データを復号画像メモリに記憶させる復号化手段と、
時間を複数のタイムスロットに分割し、タイムスロットが切り換わる度に実行対象を切り換えて、複数チャネルの動画の圧縮符号化データの復号化処理の各々を前記復号化手段に順次かつ巡回的に実行させる手段であって、各チャネルの復号化処理を実行させるタイムスロットの長さおよび各チャネルの復号化処理の実行順序をチャネル毎に指定された優先度に応じて制御する並列処理制御手段とを備え
前記復号化手段は、垂直走査周期が切り換わる毎に、前記復号画像メモリに記憶された新たなフレームに対応した1または複数チャネルの復号化済み画像データを用いた描画処理を実行する描画処理手段のために、1または複数チャネルの復号化済み画像データを生成して前記復号画像メモリに記憶させるものであり、そのために1または複数の動画の圧縮符号化データの復号化処理を実行し、チャネル毎に1フレーム分の復号結果である復号化済み画像データが得られるたびに、前記復号画像メモリに当該復号化済み画像データを記憶させるものであり、
前記並列処理制御手段は、1つのチャネルの動画の圧縮符号化データの1フレーム分の復号化処理を前記復号化手段が実行した場合に、当該チャネルのためのタイムスロットを利用して前記垂直走査周期の切り換わりを待つことなく当該チャネルの後続のフレームの復号化処理を前記復号化手段に続けて実行させることを特徴とする動画像復号化装置。
Decoding means for executing decoding processing of compression-encoded data of a moving image and storing decoded image data as a decoding result in a decoded image memory ;
The time is divided into a plurality of time slots, the execution target is switched each time the time slot is switched, and each of the decoding processing of the compressed encoded data of the moving images of the plurality of channels is sequentially and cyclically executed by the decoding means. Parallel processing control means for controlling the length of the time slot for executing the decoding process of each channel and the execution order of the decoding process of each channel according to the priority designated for each channel; Prepared ,
The decoding means executes a drawing process using one or a plurality of channels of decoded image data corresponding to a new frame stored in the decoded image memory every time the vertical scanning cycle is switched. Therefore, one or a plurality of channels of decoded image data is generated and stored in the decoded image memory. For this purpose, a decoding process of one or a plurality of moving image compression-encoded data is executed, Each time decoded image data that is a decoding result for one frame is obtained, the decoded image data is stored in the decoded image memory.
The parallel processing control means uses the time slot for the channel to perform the vertical scanning when the decoding means executes decoding processing for one frame of compressed encoded data of moving image of one channel. A moving picture decoding apparatus characterized by causing the decoding means to continuously execute a decoding process of a subsequent frame of the channel without waiting for a cycle change .
前記並列処理制御手段は、The parallel processing control means includes:
各チャネルの優先度を示す情報として、時間経過に伴って変化する優先度を示す情報を受け取り、前記各チャネルの優先度を示す情報に従い、前記各チャネルの復号化処理を実行するタイムスロットの長さおよび前記各チャネルの復号化処理の実行順序を、時間経過に伴って変化させるInformation indicating the priority of each channel as information indicating the priority of each channel, and the length of the time slot for performing the decoding process of each channel according to the information indicating the priority of each channel according to the information indicating the priority of each channel And the execution order of the decoding process of each channel is changed with time
ことを特徴とする請求項1に記載の動画像復号化装置。The moving picture decoding apparatus according to claim 1.
前記動画の圧縮符号化データが時間経過に伴って変化する優先度を示す時系列情報を含み、前記並列処理制御手段は、各チャネルの動画の圧縮符号化データに含まれる優先度を示す時系列情報に従い、前記各チャネルの復号化処理を実行するタイムスロットの長さおよび前記各チャネルの復号化処理の実行順序を、時間経過に伴って変化させるThe moving image compression-coded data includes time-series information indicating a priority level that changes with time, and the parallel processing control unit includes a time-series indicating a priority level included in the compression-coded data of the moving image of each channel. According to the information, the length of the time slot for executing the decoding process of each channel and the execution order of the decoding process of each channel are changed over time.
ことを特徴とする請求項2に記載の動画像復号化装置。  The moving picture decoding apparatus according to claim 2, wherein:
前記動画の圧縮符号化データは、バッファを介して前記復号化手段へ供給されるものであり、前記並列処理制御手段は、バッファに記憶される各チャネルの復号化処理待ちの圧縮符号化データの優先度を監視し、監視の結果、あるチャネルの優先度が高くなったことを検知すると、そのチャネルの優先度の高い区間の圧縮符号化データの復号化処理が開始されるよりも前に、そのチャネルの復号化処理に利用するタイムスロットを長くし、その後、当該チャネルの優先度が元の低い値に戻ったことを検知すると、そのチャネルのタイムスロットの長さを元に戻すことを特徴とする請求項2または3に記載の動画像復号化装置。The compressed encoded data of the moving image is supplied to the decoding unit via a buffer, and the parallel processing control unit stores the compressed encoded data waiting for decoding processing of each channel stored in the buffer. When the priority is monitored and it is detected that the priority of a certain channel is high as a result of the monitoring, before the decoding process of the compressed encoded data of the section with the high priority of the channel is started, The time slot used for the decoding process of the channel is lengthened, and after that, when it is detected that the priority of the channel returns to the original low value, the length of the time slot of the channel is restored. The moving picture decoding apparatus according to claim 2 or 3.
JP2008048735A 2008-02-28 2008-02-28 Video decoding device Expired - Fee Related JP5045495B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008048735A JP5045495B2 (en) 2008-02-28 2008-02-28 Video decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008048735A JP5045495B2 (en) 2008-02-28 2008-02-28 Video decoding device

Publications (2)

Publication Number Publication Date
JP2009207002A JP2009207002A (en) 2009-09-10
JP5045495B2 true JP5045495B2 (en) 2012-10-10

Family

ID=41148803

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008048735A Expired - Fee Related JP5045495B2 (en) 2008-02-28 2008-02-28 Video decoding device

Country Status (1)

Country Link
JP (1) JP5045495B2 (en)

Also Published As

Publication number Publication date
JP2009207002A (en) 2009-09-10

Similar Documents

Publication Publication Date Title
JP4519082B2 (en) Information processing method, moving image thumbnail display method, decoding device, and information processing device
JP4476261B2 (en) Decoding device and decoding method
US20100166081A1 (en) Video stream processing apparatus and control method, program and recording medium for the same
JP2007189473A (en) Moving picture reproducing device
JP2009111932A (en) Moving image decoding device
US20080075175A1 (en) Information processing apparatus and method
JP5045495B2 (en) Video decoding device
EP1701545A1 (en) Image reproducing device, method, and program
US7974523B2 (en) Optimal buffering and scheduling strategy for smooth reverse in a DVD player or the like
JP2000101969A (en) Device and method of reproduction
US6999090B2 (en) Data processing apparatus, data processing method, information storing medium, and computer program
JP2006325086A (en) Apparatus with animation data reproduction function and animation data reproducing method
JP4591549B2 (en) Reproduction processing apparatus, reproduction processing method, and program
US6278835B1 (en) Method of controlling repetitive reading of group of pictures (GOP) data from a storage medium, and an apparatus therefor
KR101263056B1 (en) Apparatus and method for reproducing image
JP4264582B2 (en) Information processing apparatus, information processing method, program, and recording medium
JP2001285877A (en) Device and method for decoding compression encoding data
KR101570907B1 (en) Moving image processing apparatus and moving image processing method
JP2009111531A (en) High-speed playback device
EP1748433A2 (en) Information playback method using information recording medium
JP4350585B2 (en) Playback device
JP2001103426A (en) Image-decoding device and method
JP2009100206A (en) Image coding and data-decoding device
JP2008096906A (en) Audio signal decoding device and resource access control method
JP4991143B2 (en) Video processing apparatus and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111101

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111108

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120106

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: 20120619

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120702

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150727

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5045495

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees