JP5506250B2 - Stream decoding apparatus and stream decoding method - Google Patents

Stream decoding apparatus and stream decoding method Download PDF

Info

Publication number
JP5506250B2
JP5506250B2 JP2009136524A JP2009136524A JP5506250B2 JP 5506250 B2 JP5506250 B2 JP 5506250B2 JP 2009136524 A JP2009136524 A JP 2009136524A JP 2009136524 A JP2009136524 A JP 2009136524A JP 5506250 B2 JP5506250 B2 JP 5506250B2
Authority
JP
Japan
Prior art keywords
decoding
stream
quality
streams
switching
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.)
Active
Application number
JP2009136524A
Other languages
Japanese (ja)
Other versions
JP2010283683A (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.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2009136524A priority Critical patent/JP5506250B2/en
Publication of JP2010283683A publication Critical patent/JP2010283683A/en
Application granted granted Critical
Publication of JP5506250B2 publication Critical patent/JP5506250B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はストリーム復号装置、ストリーム復号方法、プログラム及び記憶媒体に関し、特に、複数のストリームを時分割して並列に復号するために用いて好適な技術に関する。   The present invention relates to a stream decoding apparatus, a stream decoding method, a program, and a storage medium, and more particularly to a technique suitable for use in time division to decode a plurality of streams in parallel.

近年、放送及び通信のインフラが成熟したことに伴い、エンドユーザは多様な経路から膨大な数の映像・音声ストリームを容易に入手することが可能となっている。また、薄型ディスプレイやプロジェクタに代表されるように、表示装置が大型化することにより、複数のストリームを1つの表示装置上で同時に視聴したいという新たな要求が生じている。   In recent years, as broadcasting and communication infrastructure has matured, end users can easily obtain a huge number of video / audio streams from various routes. In addition, as represented by thin displays and projectors, as the display device becomes larger, a new request for simultaneously viewing a plurality of streams on one display device has arisen.

このような状況の中、近年、家庭用テレビやレコーダでは、複数のストリームを単一のシステムで取り扱うことを可能とする技術が発達している。このシステムの中心となるのは、圧縮されたストリームの復号を行うストリーム復号モジュール(以下、デコーダと称す)である。例えばDSPと称される専用プロセッサでは、複数のストリームを単一のプロセッサで時分割して並列に処理することが可能である。   Under such circumstances, in recent years, technologies for enabling a plurality of streams to be handled by a single system have been developed for home televisions and recorders. The heart of this system is a stream decoding module (hereinafter referred to as a decoder) that decodes a compressed stream. For example, in a dedicated processor called DSP, a plurality of streams can be processed in parallel by time-sharing with a single processor.

また、情報圧縮技術が発達したことにより、映像・音声ストリームのフォーマットが多様化している。このような多様化に対応するため、デコーダでは、単一のモジュールでMPEG2、H.264、JPEGなどといった多様なフォーマットに対応可能になってきている。   In addition, the development of information compression technology has diversified video / audio stream formats. In order to cope with such diversification, the decoder uses a single module for MPEG2, H.264. H.264, JPEG, and other formats are now available.

ここで、例えば動画ストリームには、それぞれの画面間の表示間隔を表すフレームレートが設定されており、表示品質を保つためには一定時間内に一定量の復号処理を行う必要がある。一方、デコーダが提供する復号処理リソースは有限であるため、ストリームの表示品質を保つためには、デコーダが提供する復号処理リソースの範囲内でデコーダに復号処理を依頼しなければならない。特に、複数のストリームを同時に復号処理が可能なデコーダに対して復号処理を依頼する場合には、依頼した復号処理の総和が復号処理リソースの範囲内に収まる必要がある。   Here, for example, a frame rate representing a display interval between the respective screens is set in the moving image stream, and it is necessary to perform a certain amount of decoding processing within a certain time in order to maintain display quality. On the other hand, since the decoding processing resources provided by the decoder are limited, in order to maintain the display quality of the stream, it is necessary to request the decoding processing from the decoder within the range of the decoding processing resources provided by the decoder. In particular, when a decoding process is requested to a decoder that can simultaneously decode a plurality of streams, the sum of the requested decoding processes needs to be within the range of the decoding process resource.

複数のストリームを単一のデコーダで復号処理する際に、デコーダの提供する復号処理リソースの範囲内でデコーダに復号処理を依頼する技術としては、例えば、特許文献1または特許文献2に開示されている。特許文献1に記載のMPEGデコーダでは、フレームレートなどのストリームシーケンスヘッダ情報に応じて予め割り当て量を決定し、デコードエラーの発生を抑制している。また、特許文献2に記載の動画像復号化装置では、必要となる復号処理リソース量の総和をシーケンスヘッダ情報より見積り、デコーダが提供する復号処理リソースと比較する。そして、比較した結果、復号処理リソースの不足が予測される場合には、優先度の低いストリームをダウンコンバートしている。   For example, Patent Document 1 or Patent Document 2 discloses a technique for requesting a decoder to perform decoding processing within a range of decoding processing resources provided by the decoder when a plurality of streams are decoded by a single decoder. Yes. In the MPEG decoder described in Patent Document 1, an allocation amount is determined in advance according to stream sequence header information such as a frame rate, thereby suppressing the occurrence of a decoding error. In the moving picture decoding apparatus described in Patent Document 2, the total amount of necessary decoding processing resources is estimated from the sequence header information, and compared with the decoding processing resources provided by the decoder. As a result of the comparison, if a shortage of decoding processing resources is predicted, a stream with low priority is down-converted.

特開2001−309371号公報JP 2001-309371 A 特開2002−112195号公報JP 2002-112195 A

しかしながら、従来の方法では、表示品質の保証と復号処理リソースの有効利用とが同時に実現されていない。以下、表示品質の保証を優先した場合に、復号処理リソースの有効利用が十分に実現されていない複数の例を挙げる。   However, in the conventional method, guarantee of display quality and effective use of decoding processing resources are not realized at the same time. Hereinafter, a plurality of examples in which effective use of the decoding processing resource is not sufficiently realized when priority is given to the guarantee of display quality will be given.

MPEG2の放送ストリームにはHD(High Definition)モードとSD(Standard Definition)モードとが存在し、同一ストリームであっても放送時間帯によってこれらのモードが変化する。そのため、表示品質を保証するためにはHDモードをある程度余裕をもって復号処理できる復号処理リソースを常に確保しておく必要がある。その結果として、実際の放送ストリームの内容がSDモードであった場合には、確保したデコーダの処理能力に余裕ができ、復号処理リソースを十分に活用できないこととなる。   The MPEG2 broadcast stream has an HD (High Definition) mode and an SD (Standard Definition) mode, and these modes change depending on the broadcast time zone even in the same stream. Therefore, in order to guarantee the display quality, it is necessary to always secure a decoding processing resource capable of performing decoding processing with a certain margin in the HD mode. As a result, when the content of the actual broadcast stream is in the SD mode, the processing capacity of the reserved decoder can be afforded and the decoding processing resources cannot be fully utilized.

また、より細かな具体例としては、MPEG2ビデオストリームは、Iピクチャ、Pピクチャ及びBピクチャで構成されており、通常Pピクチャ及びBピクチャの復号処理はIピクチャの復号処理よりも重い。そこで、Pピクチャ及びBピクチャの復号処理に合わせてデコーダの復号処理リソースを確保すると、Iピクチャの処理時にはデコーダの処理能力に余裕ができ、復号処理リソースを十分に活用できないこととなる。   As a more specific example, an MPEG2 video stream is composed of an I picture, a P picture, and a B picture, and the normal P picture and B picture decoding process is heavier than the I picture decoding process. Therefore, if the decoding processing resources of the decoder are secured in accordance with the decoding process of the P picture and the B picture, the processing capacity of the decoder can be afforded when processing the I picture, and the decoding processing resources cannot be fully utilized.

さらに、フレームレートや処理モードが変化しないストリームにおいても、含まれるコンテンツの内容の変化に応じて、必要となるデコーダの復号処理リソースが大きく変化する。表示品質を保証するためには、最大負荷に合わせてデコーダの復号処理リソースを確保する必要がある。したがって、負荷の低いシーンを復号化する場合には、確保したデコーダの処理能力に余裕ができ、復号処理リソースを十分に活用できないこととなる。   Further, even in a stream in which the frame rate and the processing mode do not change, the necessary decoding processing resources of the decoder greatly change according to the change in the content of the contained content. In order to guarantee the display quality, it is necessary to secure the decoding processing resources of the decoder in accordance with the maximum load. Therefore, when a scene with a low load is decoded, the reserved processing capacity of the decoder can be afforded, and the decoding processing resources cannot be fully utilized.

図11は、表示品質の保証を優先した場合における複数のストリームに対する復号処理リソースの割り当て方法の概略を説明する図である。
図11において、1101〜1104はデコーダに対して復号開始依頼が要求されたストリームである。図11に示す例では、放送受信Aストリーム1101、放送受信Bストリーム1102、放送受信Cストリーム1103、静止画デコードストリーム1104の順に復号開始依頼が要求されたものとする。
FIG. 11 is a diagram illustrating an outline of a method for assigning decoding processing resources to a plurality of streams when priority is given to display quality guarantee.
In FIG. 11, reference numerals 1101 to 1104 denote streams for which a decoding start request is requested from the decoder. In the example illustrated in FIG. 11, it is assumed that a request to start decoding is made in the order of broadcast reception A stream 1101, broadcast reception B stream 1102, broadcast reception C stream 1103, and still image decode stream 1104.

また、1105〜1107は、デコーダが各ストリームに復号処理リソースを割り当てる際の基準時間を表し、例えば放送受信Aストリーム1101のフレームレートを考慮して1/30sなどに設定される。   Reference numerals 1105 to 1107 represent reference times when the decoder allocates decoding processing resources to each stream, and are set to 1/30 s, for example, in consideration of the frame rate of the broadcast reception A stream 1101.

ここで、表示品質を保証するためには、すべての基準時間において復号処理リソースが不足しないことが求められる。図11に示す例では、各ストリームの最大負荷を考慮すると、復号開始依頼を受け付け可能なストリームは、放送受信Aストリーム1101、放送受信Bストリーム1102のみとなる。一方、基準時間t2及び基準時間t3においては、放送受信Aストリーム1101、及び放送受信Bストリーム1102の復号処理が基準時間t1での復号処理に比べ少ない。その結果、復号処理リソースの空き時間1108、1109が生じている。   Here, in order to guarantee the display quality, it is required that the decoding processing resources are not insufficient at all reference times. In the example illustrated in FIG. 11, in consideration of the maximum load of each stream, the broadcast reception A stream 1101 and the broadcast reception B stream 1102 are the only streams that can accept the decoding start request. On the other hand, at the reference time t2 and the reference time t3, the decoding process of the broadcast reception A stream 1101 and the broadcast reception B stream 1102 is less than the decoding process at the reference time t1. As a result, free times 1108 and 1109 of decoding processing resources are generated.

このように、表示品質を保証するために各ストリームの最大負荷をもとに復号開始依頼の受け付け可否を判定すると、必要となる復号処理リソースを最大限に活用することができない。また、復号処理リソースに空き時間が発生した場合においても、他のストリームに復号処理を割り当てることはできない。   As described above, if it is determined whether or not the decoding start request can be accepted based on the maximum load of each stream in order to guarantee the display quality, the necessary decoding processing resources cannot be utilized to the maximum extent. Also, even when a free time occurs in the decoding processing resource, the decoding processing cannot be assigned to another stream.

また、前述したパターンとは逆に、復号処理リソースの有効利用を優先して、表示品質の保証が十分に実現されない場合もある。このようなパターンは、例えば各ストリームに優先度を付加し、全てのストリームを一旦受け付けた後に、優先度に基づいて復号処理リソースを割り当てる方法が相当する。   In contrast to the above-described pattern, priority may be given to effective use of decoding processing resources, and display quality may not be sufficiently guaranteed. Such a pattern corresponds to, for example, a method of assigning a priority to each stream and allocating a decoding processing resource based on the priority after once receiving all the streams.

図12は、優先度を利用して復号処理リソースの有効利用を実現した場合における複数のストリームに対する復号処理リソースの割り当て方法の概略を説明する図である。
図12において、1201〜1204はデコーダに対して復号開始依頼が要求されたストリームである。図12に示す例では、復号処理の優先度順は、放送受信Aストリーム1201、放送受信Bストリーム1202、放送受信Cストリーム1203、静止画デコードストリーム1204の順とする。
FIG. 12 is a diagram for explaining an outline of a method for assigning decoding processing resources to a plurality of streams when effective use of decoding processing resources is realized using priority.
In FIG. 12, reference numerals 1201 to 1204 denote streams for which a decoding start request is requested from the decoder. In the example illustrated in FIG. 12, the decoding processing priority order is broadcast reception A stream 1201, broadcast reception B stream 1202, broadcast reception C stream 1203, and still image decoding stream 1204.

また、1205〜1207は、デコーダが各ストリームに復号処理リソースを割り当てる際の基準時間を表し、例えば放送受信Aストリーム1201のフレームレートを考慮して1/30sなどに設定される。   Reference numerals 1205 to 1207 represent reference times when the decoder allocates decoding processing resources to each stream, and are set to 1/30 s, for example, in consideration of the frame rate of the broadcast reception A stream 1201.

ここで、基準時間t2及び基準時間t3においては、放送受信Aストリーム1201、及び放送受信Bストリーム1202の復号処理が軽いため、次に復号処理優先度の高い放送受信Cストリーム1203に復号処理リソースが割り当てられ、復号処理がなされる。しかしながら、放送受信Cストリーム1203を完全に復号処理するために十分な復号処理リソースは確保されず、その結果として不足時間1208、1209が生じている。ここで、放送受信Cストリーム1203が復号品質を保証すべきストリームであった場合には、不足時間が生じる復号処理は、その要求を満たさないこととなる。   Here, at the reference time t2 and the reference time t3, since the decoding process of the broadcast reception A stream 1201 and the broadcast reception B stream 1202 is light, there is a decoding process resource in the broadcast reception C stream 1203 having the next highest decoding process priority. Assigned and decrypted. However, sufficient decoding processing resources for completely decoding the broadcast reception C stream 1203 are not secured, resulting in insufficient times 1208 and 1209. Here, when the broadcast reception C stream 1203 is a stream whose decoding quality is to be guaranteed, the decoding process in which the shortage time occurs does not satisfy the request.

このように、復号処理リソースの有効利用するために優先度を利用して復号処理リソースを割り当てると、復号品質を保証すべきストリームを部分的にしか復号処理しない可能性があり、表示品質が保証できない。   In this way, when decoding processing resources are allocated using priority in order to effectively use the decoding processing resources, there is a possibility that only a part of the stream for which the decoding quality should be guaranteed is decoded and the display quality is guaranteed. Can not.

本発明は前述の問題点に鑑み、複数のストリームの復号処理を時分割して並列に行う際に、品質の保証を必要とするストリームの表示品質を保証するとともに、復号処理リソースを効率良く利用できるようにすることを目的としている。   In view of the above-described problems, the present invention guarantees the display quality of a stream that requires quality guarantee and efficiently uses decoding processing resources when performing decoding processing of a plurality of streams in a time-sharing manner in parallel. The purpose is to be able to.

本発明のストリーム復号装置は、入力される複数のストリームを並列に復号するストリーム復号装置であって、前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付手段と、前記受付手段によって復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替手段と、前記切替手段によって切り替えられたストリームを復号する復号手段とを有し、前記受付手段は、復号品質の保証を必要とする第1のストリームについては、前記復号手段による処理余裕に基づいて、前記復号品質を保証して前記復号手段による復号が可能な場合に前記復号開始依頼を受け付け、復号品質の保証を必要としない第2のストリームについては、前記復号手段による処理余裕に関わらず、前記復号開始依頼を受け付けて、前記切替手段は、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とする。 The stream decoding apparatus according to the present invention is a stream decoding apparatus that decodes a plurality of input streams in parallel, a receiving unit that receives a decoding start request for each of the plurality of streams in units of streams, and a decoding that is performed by the receiving unit. A switching unit that switches a stream to be decoded from among the streams for which a start request has been received; and a decoding unit that decodes the stream switched by the switching unit, wherein the receiving unit requires a guarantee of decoding quality. For the first stream, the decoding start request is accepted when the decoding quality is guaranteed and decoding by the decoding means is possible based on the processing margin of the decoding means, and the guarantee of the decoding quality is not required For the second stream, the decoding start request regardless of the processing margin by the decoding means Accepted, said switching means, said first stream as a stream of the decoding target, and wherein the priority switching than the second stream.

本発明によれば、複数のストリームの復号処理を時分割して並列に行う場合において、ギャランティ型ストリームの表示品質を保証するとともに、復号処理リソースを有効に利用することができる。   According to the present invention, when decoding processing of a plurality of streams is performed in a time-sharing manner in parallel, the display quality of the guarantee type stream can be ensured and decoding processing resources can be used effectively.

第1の実施形態のストリーム復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the stream decoding apparatus of 1st Embodiment. 受付部に入力されるストリームの詳細情報の一例を示す図である。It is a figure which shows an example of the detailed information of the stream input into a reception part. 第1の実施形態における復号処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the decoding process procedure in 1st Embodiment. 復号開始依頼を受け付ける処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence which receives a decoding start request. 復号終了依頼を受け付ける処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence which receives a decoding completion request. ストリームを選択する処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence which selects a stream. 復号処理リソースの最大必要量の見積もり一覧例を示す図である。It is a figure which shows the example list of estimation of the maximum required amount of a decoding process resource. 受付可否判定結果の一例を示す図である。It is a figure which shows an example of the acceptance determination result. 第2の実施形態のストリーム復号装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the stream decoding apparatus of 2nd Embodiment. 第2の実施形態の復号処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the decoding process procedure of 2nd Embodiment. 復号処理リソースの割り当て方法の概略を説明する図である。It is a figure explaining the outline of the allocation method of a decoding process resource. 復号処理リソースの割り当て方法の概略を説明する図である。It is a figure explaining the outline of the allocation method of a decoding process resource. 図6に示した復号処理を適用したときの処理結果の一例を示す図である。It is a figure which shows an example of the process result when the decoding process shown in FIG. 6 is applied. 復号処理を行った場合の映像の表示画面の一例を示す図である。It is a figure which shows an example of the display screen of an image | video at the time of performing a decoding process. サービス種別と復号品質種別との定義ファイルの一例を示す図である。It is a figure which shows an example of the definition file of a service classification and a decoding quality classification.

(第1の実施形態)
以下、本発明の第1の実施形態について図面を参照しながら説明する。なお、本発明の技術的範囲が本実施形態に限定されるものではない。
図1は、本実施形態におけるストリーム復号装置100の構成例を示すブロック図である。
図1において、受付部101は、複数のストリームと、各ストリームの復号品質情報と、各ストリームに対する復号依頼とを受け取り、復号開始の依頼を選択的に受け付ける。ここで、復号品質情報とは、復号品質の保証を必要とする第1のストリーム(以下、ギャランティ型ストリーム)と、復号品質の保証を必要としない第2のストリーム(以下、ベストエフォート型ストリーム)との種別を表す情報である。この復号品質情報は、例えばストリーム復号装置100に復号依頼を出すモジュールから与えられる。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. The technical scope of the present invention is not limited to this embodiment.
FIG. 1 is a block diagram illustrating a configuration example of a stream decoding device 100 according to the present embodiment.
In FIG. 1, a reception unit 101 receives a plurality of streams, decoding quality information of each stream, and a decoding request for each stream, and selectively receives a request to start decoding. Here, the decoding quality information refers to a first stream that requires a guarantee of decoding quality (hereinafter referred to as a guarantee stream) and a second stream that does not require a guarantee of decoding quality (hereinafter referred to as a best effort stream). It is information indicating the type. The decoding quality information is given from a module that issues a decoding request to the stream decoding apparatus 100, for example.

復号処理が必要なストリームの中には、復号品質を保証すべきギャランティ型ストリームと、復号品質の保証を必要としないベストエフォート型ストリームとが存在する。ベストエフォート型ストリームの例としては、静止画像の復号処理では、フレームレートが存在しないため、復号処理に時間的な制約がない。また、ストリームのフォーマットを特定するようなプレデコード処理は、表示を伴わないため、同様に復号処理に時間的な制約がない。さらには、例えばインターネットを経由して取得するコンテンツの中には、所定のフレームレートに拘らずベストエフォートで表示することが許容されるストリームが存在する。これらのベストエフォート型ストリームは、復号処理リソースが十分に確保できていない状況下においても、部分的に復号処理が可能である。   Among the streams that require decoding processing, there are guarantee type streams that should guarantee decoding quality and best effort type streams that do not require guarantee of decoding quality. As an example of the best effort type stream, in the decoding process of a still image, since there is no frame rate, there is no time restriction on the decoding process. Further, since the pre-decoding process for specifying the stream format does not involve display, there is no time restriction on the decoding process. Furthermore, for example, content acquired via the Internet includes a stream that is allowed to be displayed at best effort regardless of a predetermined frame rate. These best-effort streams can be partially decoded even under circumstances where sufficient decoding processing resources cannot be secured.

切替部102は、受付部101において復号開始依頼を受け付けた複数のストリームに対して復号処理リソースを順次割り当て、その割り当てに従い復号対象のストリームを切り替える。デコード部103は、切替部102において復号対象としたストリームの復号処理を行う。制御部104は、ストリーム復号装置100全体の制御を行う。   The switching unit 102 sequentially allocates the decoding processing resources to the plurality of streams for which the reception unit 101 has received the decoding start request, and switches the streams to be decoded according to the allocation. The decoding unit 103 performs a decoding process on the stream to be decoded by the switching unit 102. The control unit 104 controls the entire stream decoding device 100.

また、受付部101において受け付ける復号依頼は、例えばテレビのスイッチON・OFFやチャンネル変更などのユーザによる操作をトリガとし、復号開始依頼や復号終了依頼として与えられるものである。これらのユーザによる操作の入力を行う入力手段としては、例えばリモコン、キーボード、マウス、ディジタイザ、タッチパネル、ジョイスティックなどの多様な操作機器が想定されるが、本実施形態では、入力手段は何でもよい。   The decryption request accepted by the accepting unit 101 is given as a decryption start request or a decryption end request triggered by an operation by a user, such as a TV switch ON / OFF or a channel change. Various input devices such as a remote controller, a keyboard, a mouse, a digitizer, a touch panel, and a joystick are assumed as input means for inputting operations by these users. In this embodiment, any input means may be used.

さらに、デコード部103の復号結果である出力ストリームを出力する出力手段としては、例えば映像出力手段としてモニタ、音声出力手段としてスピーカ、ヘッドホンなどの多様な出力機器が想定される。本実施形態では、入力手段と同様に、出力手段は何でもよい。   Further, as output means for outputting an output stream that is a decoding result of the decoding unit 103, for example, various output devices such as a monitor as a video output means and a speaker and headphones as an audio output means are assumed. In the present embodiment, any output means may be used as with the input means.

図2は、本実施形態において受付部101に入力されるストリームの詳細情報の一例を示す図である。
図2において、201〜204はそれぞれ受付部101に入力される入力ストリームであり、図2では復号開始依頼を受け付けた順に並べられている。
FIG. 2 is a diagram illustrating an example of detailed information of a stream input to the reception unit 101 in the present embodiment.
In FIG. 2, reference numerals 201 to 204 denote input streams input to the receiving unit 101, and are arranged in the order in which the decoding start requests are received in FIG.

205はストリームIDであり、例えば受付部101によってストリームごとに一意のストリームIDが割り当てられている。図2に示す例では、復号開始依頼を受け付けた順に「0001」から「0004」までのストリームIDを割り当てている。206は復号品質種別であり、ストリームごとにギャランティ型、またはベストエフォート型の種別が与えられている。   Reference numeral 205 denotes a stream ID. For example, a unique stream ID is assigned to each stream by the receiving unit 101. In the example shown in FIG. 2, stream IDs “0001” to “0004” are assigned in the order in which the decryption start requests are received. Reference numeral 206 denotes a decoding quality type, and a guarantee type or a best effort type is assigned to each stream.

207はサービス種別であり、各ストリームが所属するサービスの種別が与えられている。208はストリームタイプであり、例えば各ストリームの圧縮フォーマットが与えられている。また、209は対象ストリームのフレームレートであり、210、211はそれぞれ、対象ストリームの横サイズ、縦サイズである。   Reference numeral 207 denotes a service type, which is given the type of service to which each stream belongs. Reference numeral 208 denotes a stream type. For example, a compression format of each stream is given. Reference numeral 209 denotes the frame rate of the target stream, and reference numerals 210 and 211 denote the horizontal size and vertical size of the target stream, respectively.

ここで、サービス種別207の情報はストリーム復号装置100に復号処理を依頼するモジュールより取得されるものである。また、ストリームタイプ208の情報はストリーム復号装置100の前段で多重化された信号を複数のストリームに分割するDemuxの処理結果より取得されるものである。さらに、フレームレート209、横サイズ210、及び縦サイズ211の情報は、受付部101に入力される入力ストリームの属性情報のシーケンスヘッダ情報からそれぞれ取得されるものである。   Here, the information of the service type 207 is acquired from a module that requests the stream decoding apparatus 100 to perform a decoding process. Further, the information of the stream type 208 is acquired from the processing result of Demux that divides the signal multiplexed in the previous stage of the stream decoding apparatus 100 into a plurality of streams. Further, the information of the frame rate 209, the horizontal size 210, and the vertical size 211 are respectively acquired from the sequence header information of the attribute information of the input stream input to the receiving unit 101.

図3は、本実施形態における復号処理手順の一例を示すフローチャートである。以下、フローチャートに沿って、図2の具体例を参照しながら本実施形態の処理について説明する。   FIG. 3 is a flowchart showing an example of the decoding processing procedure in the present embodiment. Hereinafter, the processing of the present embodiment will be described with reference to a specific example of FIG. 2 along a flowchart.

図3において、ストリーム復号装置100の電源が投入されることにより処理を開始する。そして、ステップS301において、制御部104は、システムの初期化を行う。この初期化処理には、ストリーム復号装置100の電源が入った場合の種々の制御が含まれている。例えば、デコード部103の復号処理に必要となるレジスタ値の設定や、ストリーム復号装置100全体のメモリリソース、ハードウェアリソースの状態確認などが初期化処理に含まれている。   In FIG. 3, the processing is started when the power of the stream decoding apparatus 100 is turned on. In step S301, the control unit 104 initializes the system. This initialization process includes various controls when the stream decoding apparatus 100 is turned on. For example, the initialization process includes setting of register values necessary for the decoding process of the decoding unit 103 and checking the state of memory resources and hardware resources of the entire stream decoding apparatus 100.

次に、ステップS302において、受付部101は、デコード部103が保持する最大で利用可能な復号処理リソース量Xの情報を取得する。本実施形態では、単位時間あたりに最大で利用可能な復号処理リソース量Xが400Mcycle/secであるものとして、以降において説明する。   Next, in step S <b> 302, the reception unit 101 acquires information on the maximum available decoding processing resource amount X held by the decoding unit 103. In the present embodiment, the following description will be made assuming that the maximum available decoding processing resource amount X per unit time is 400 Mcycle / sec.

次に、ステップS303において、受付部101は、現在すでに割り当てられている復号処理リソース量xcの初期値として0を設定する。そして、ステップS304において、受付部101は、新たな処理依頼を受け付けているか否かを判定する。この判定の結果、新たな処理依頼を受け付けている場合は、ステップS305に進む。一方、ステップS304の判定の結果、新たな処理依頼を受け付けていない場合は、ステップS309に進む。本実施形態では、図2に示すように、最初にストリーム201の復号開始依頼を受け付け、その後順次ストリーム202〜ストリーム204の復号開始依頼を受け付けたものとして、以降において説明する。   Next, in step S303, the reception unit 101 sets 0 as the initial value of the decoding processing resource amount xc that has already been allocated. In step S304, the receiving unit 101 determines whether a new processing request has been received. If the result of this determination is that a new processing request has been accepted, processing proceeds to step S305. On the other hand, if the result of determination in step S304 is that a new processing request has not been received, processing proceeds to step S309. In the present embodiment, as shown in FIG. 2, the following description will be made assuming that the decoding start request for the stream 201 is first received and then the decoding start requests for the stream 202 to the stream 204 are sequentially received.

次に、ステップS305において、ステップS304において受け付けていると判定した新たな処理依頼の種類を判定する。この判定の結果、新たな処理依頼が復号開始依頼である場合は、ステップS306に進み、新たな処理依頼が復号終了依頼である場合はステップS307に進む。また、新たな処理依頼がその他の依頼である場合はステップS308に進む。図2に示した具体例では、ストリーム201〜ストリーム204について復号開始依頼を受け付けるため、順次ステップS306の処理に進むこととなる。   Next, in step S305, the type of the new processing request determined to be accepted in step S304 is determined. As a result of the determination, if the new processing request is a decryption start request, the process proceeds to step S306, and if the new processing request is a decryption end request, the process proceeds to step S307. If the new processing request is another request, the process proceeds to step S308. In the specific example shown in FIG. 2, since the decoding start request is accepted for the stream 201 to the stream 204, the process proceeds to step S306 sequentially.

次に、ステップS306において、ステップS305で判定した復号開始依頼に基づき、受付部101は復号開始依頼を選択的に受け付ける。この処理の詳細な内容については、図4のフローチャートの説明において詳述する。   Next, in step S306, the accepting unit 101 selectively accepts the decryption start request based on the decryption start request determined in step S305. Detailed contents of this processing will be described in detail in the description of the flowchart of FIG.

一方、ステップS307においては、ステップS305で判定した復号終了依頼に基づき、受付部101は復号終了依頼を受け付ける。この処理の詳細な内容については、図5のフローチャートの説明において詳述する。さらに、ステップS308においては、ステップS305で判定したその他の要求に基づき、種々の処理を行う。ステップS308において実施される処理としては、例えば、復号パラメータの設定などが挙げられる。   On the other hand, in step S307, the accepting unit 101 accepts the decryption end request based on the decryption end request determined in step S305. The detailed contents of this processing will be described in detail in the description of the flowchart of FIG. Further, in step S308, various processes are performed based on the other requests determined in step S305. Examples of the processing performed in step S308 include setting of decoding parameters.

次に、ステップS309において、切替部102は、これまでに受付部101によって復号開始依頼を受け付けたストリームの中から、復号処理を行うストリームを選択する。この処理の詳細な内容については、図6のフローチャートの説明において詳述する。そして、ステップS310において、デコード部103は、ステップS309において選択されたストリームの復号処理を行う。   Next, in step S <b> 309, the switching unit 102 selects a stream on which decoding processing is to be performed from the streams that have been received by the receiving unit 101 so far. The detailed contents of this processing will be described in detail in the description of the flowchart of FIG. In step S310, the decoding unit 103 performs a decoding process on the stream selected in step S309.

次に、ステップS311において、復号処理を終了するか否かを判定する。この判定の結果、復号処理を終了しない場合は、ステップS304に戻る。一方、ステップS311の判定の結果、復号処理を終了する場合は、ステップS312に進む。そして、ステップS312において、制御部104は、システムの終了処理を行い、処理を終了する。この終了処理には、ストリーム復号装置100の電源OFFに先立つ種々の制御が含まれており、例えば、メモリリソース、ハードウェアリソースの終了処理を順次行う。   Next, in step S311, it is determined whether or not to end the decoding process. If the result of this determination is that the decoding process is not terminated, processing returns to step S304. On the other hand, if the result of determination in step S311 is that the decoding process is to end, processing proceeds to step S312. In step S312, the control unit 104 performs a system end process and ends the process. This termination processing includes various controls prior to turning off the power of the stream decoding apparatus 100. For example, termination processing of memory resources and hardware resources is sequentially performed.

図4は、図3のステップS306における受付部101による復号開始依頼を選択的に受け付ける処理手順の一例を示すフローチャートである。
図4において、まず、ステップS401において、復号開始依頼が対象とするストリームがギャランティ型ストリームであるか否かを判定する。この判定の結果、ギャランティ型ストリームである場合はステップS402に進む。一方、ステップS401の判定の結果、ベストエフォート型ストリームである場合はステップS405に進む。図2に示した具体例では、ストリーム201からストリーム203の何れかの復号開始依頼を受け付けた場合には、対象とするストリームがギャランティ型ストリームであるため、ステップS402に進む。一方、ストリーム204の復号開始依頼を受け付けた場合には、ステップS405に進む。
FIG. 4 is a flowchart illustrating an example of a processing procedure for selectively receiving a decryption start request by the receiving unit 101 in step S306 of FIG.
In FIG. 4, first, in step S401, it is determined whether or not the stream targeted by the decoding start request is a guarantee type stream. If the result of this determination is a guarantee type stream, the process proceeds to step S402. On the other hand, if the result of determination in step S401 is a best effort stream, the process proceeds to step S405. In the specific example illustrated in FIG. 2, when any decoding start request of the stream 203 is received from the stream 201, the process proceeds to step S <b> 402 because the target stream is a guarantee type stream. On the other hand, if a request to start decoding the stream 204 is received, the process proceeds to step S405.

次に、ステップS402において、ストリームの属性情報を基に、対象とするギャランティ型ストリームが必要とする最大復号処理リソース量xaの情報を取得する。このとき、最大復号処理リソース量xaは、例えば図7に示すような復号処理リソースの最大必要量の見積もり一覧を利用する。ここで、図7に示す復号処理リソースの最大必要量701は、デコード部103の復号処理能力を加味して予め算出され、システム初期化時に受付部101に保持される。   Next, in step S402, information on the maximum amount of decoding processing resource xa required by the target guarantee type stream is acquired based on the attribute information of the stream. At this time, the maximum decoding processing resource amount xa uses, for example, an estimation list of the maximum required amount of decoding processing resources as shown in FIG. Here, the maximum required amount 701 of the decoding processing resource shown in FIG. 7 is calculated in advance in consideration of the decoding processing capability of the decoding unit 103, and is held in the receiving unit 101 at the time of system initialization.

また、サービス種別によっては、同一ストリームであるにも関らず時間経過によってフレームレートやサイズが変更する場合がある。図7に示す復号処理リソースの最大必要量の見積もり一覧は、フレームレートやサイズが可変のストリームにも対応し、この可変を考慮した値を復号処理リソースの最大必要量として保持する。図2に示したストリーム201〜ストリーム203の場合は、行702及び行703を参照し、最大復号処理リソース量が200Mcycle/secと算出される。   Also, depending on the service type, the frame rate and size may change over time despite the same stream. The estimation list of the maximum required amount of the decoding processing resource shown in FIG. 7 also corresponds to a stream with a variable frame rate and size, and holds a value considering this variable as the maximum required amount of the decoding processing resource. In the case of the stream 201 to the stream 203 illustrated in FIG. 2, the maximum decoding processing resource amount is calculated as 200 Mcycle / sec with reference to the row 702 and the row 703.

次に、ステップS403において、ステップS402で算出した最大復号処理リソース量xaと現在割り当てられている復号処理リソース量xcとを加算し、加算結果と最大で利用可能な復号処理リソース量Xとを比較する。この比較の結果、最大で利用可能な復号処理リソース量Xの方が大きい場合は、ステップS404に進む。一方、ステップS403の判定の結果、加算結果の方が大きい場合は、ステップS406に進む。   Next, in step S403, the maximum decoding processing resource amount xa calculated in step S402 and the currently assigned decoding processing resource amount xc are added, and the addition result is compared with the maximum available decoding processing resource amount X. To do. As a result of the comparison, if the maximum available decoding processing resource amount X is larger, the process proceeds to step S404. On the other hand, if the result of determination in step S403 is greater, the process proceeds to step S406.

図2に示した具体例の場合は、ストリーム201及びストリーム202の処理までは最大で利用可能な復号処理リソース量Xの方が大きいと判定されるため、ステップS404に進む。ところが、ストリーム203の処理時には、最大で利用可能な復号処理リソース量X=400Mcycle/secに対して加算結果が600Mcycle/secとなり、加算結果の方が大きいため、ステップS406に進むこととなる。   In the case of the specific example shown in FIG. 2, since it is determined that the maximum available decoding processing resource amount X is larger until the processing of the stream 201 and the stream 202, the process proceeds to step S404. However, when the stream 203 is processed, the addition result is 600 Mcycle / sec with respect to the maximum available decoding processing resource amount X = 400 Mcycle / sec. Since the addition result is larger, the process proceeds to step S406.

次に、ステップS404において、現在割り当てられている復号処理リソース量xcと、ステップS402で算出した最大復号処理リソース量xaとの和を、現在割り当てられている復号処理リソース量xcとする。   Next, in step S404, the sum of the currently allocated decoding processing resource amount xc and the maximum decoding processing resource amount xa calculated in step S402 is set as the currently allocated decoding processing resource amount xc.

そして、ステップS405において、対象としているストリームの復号開始依頼を受け付け、復号処理に必要な前処理を行い、処理を終了する。この前処理には、例えば対象のストリームをストリーム復号装置100内で一時的に蓄積する処理や、出力するストリームを蓄積するためにメモリを確保する処理、デコード部103が復号処理を行うために必要なレジスタの設定などが含まれる。一方、ステップS406においては、対象としているギャランティ型ストリームの復号開始依頼を拒否する。   In step S405, a request to start decoding the target stream is received, pre-processing necessary for the decoding process is performed, and the process ends. For this preprocessing, for example, processing for temporarily accumulating the target stream in the stream decoding device 100, processing for securing memory for accumulating the output stream, and necessary for the decoding unit 103 to perform decoding processing Such as register settings. On the other hand, in step S406, the decoding start request for the target guarantee type stream is rejected.

以上の処理ステップを経ることによって、本実施形態のストリーム復号装置100の受付部101は、ギャランティ型ストリームとベストエフォート型ストリームとで復号開始依頼の受け付け処理を変更する。この結果、ギャランティ型ストリームについては復号処理リソースを十分に割り当て可能な場合に限り復号開始依頼を受け付け、ベストエフォート型ストリームについては復号処理リソースの割り当て状態に関わらず復号開始依頼を受け付けることができる。図2に示した具体例の場合は、図4に示す処理ステップを、図3に示す処理により繰り返すことによって、図8に示すような受付可否判定結果801を得る。   Through the above processing steps, the receiving unit 101 of the stream decoding device 100 according to the present embodiment changes the decoding start request receiving process between the guarantee type stream and the best effort type stream. As a result, a decoding start request can be accepted for a guarantee type stream only when a decoding processing resource can be sufficiently allocated, and a decoding start request can be accepted for a best effort type stream regardless of the allocation state of the decoding processing resource. In the case of the specific example shown in FIG. 2, the acceptance / non-permission determination result 801 as shown in FIG. 8 is obtained by repeating the processing steps shown in FIG. 4 by the processing shown in FIG.

図5は、図3のステップS307における受付部101による復号終了依頼を受け付ける処理手順の一例を示すフローチャートである。
図5において、まず、ステップS501において、復号終了依頼が対象とするストリームがギャランティ型ストリームであるか否かを判定する。この判定の結果、ギャランティ型ストリームである場合は、ステップS502に進む。一方、ステップS501の判定の結果、ベストエフォート型ストリームである場合は、ステップS503に進む。
FIG. 5 is a flowchart showing an example of a processing procedure for accepting a decryption end request by the accepting unit 101 in step S307 of FIG.
In FIG. 5, first, in step S501, it is determined whether or not the stream targeted by the decoding end request is a guarantee type stream. As a result of the determination, if the stream is a guarantee type stream, the process proceeds to step S502. On the other hand, if the result of determination in step S501 is a best effort stream, the process proceeds to step S503.

次に、ステップS502において、ストリームの属性情報を基に、対象とするギャランティ型ストリームの最大復号処理リソース量xaの情報を取得し、現在割り当てられている復号処理リソース量xcより復号処理リソース量xaを減算する。そして、減算結果を現在割り当てられている復号処理リソース量xcと設定する。   Next, in step S502, information on the maximum decoding processing resource amount xa of the target guarantee type stream is acquired based on the stream attribute information, and the decoding processing resource amount xa is obtained from the currently allocated decoding processing resource amount xc. Is subtracted. Then, the subtraction result is set as the currently assigned decoding processing resource amount xc.

次に、ステップS503において、復号処理における後処理を行い、処理を終了する。この後処理には、例えば対象とするストリームに対して確保していたメモリの開放や、デコード部103が復号処理を中止するために必要なレジスタの設定などが含まれる。   Next, in step S503, post-processing in the decoding process is performed, and the process ends. This post-processing includes, for example, releasing the memory reserved for the target stream and setting a register necessary for the decoding unit 103 to stop the decoding process.

図6は、図3のステップS309における切替部102による、復号処理を行うストリームを選択する処理手順の一例を示すフローチャートである。
図6において、まず、ステップS601において、既に図3のステップS306で復号開始依頼を受け付けているギャランティ型ストリームの中から、新たに1つを選択し、これを復号対象ストリームとする。図2に示す具体例の場合では、ストリーム201が選択されたものとして、以降の処理を説明する。
FIG. 6 is a flowchart illustrating an example of a processing procedure for selecting a stream to be decoded by the switching unit 102 in step S309 in FIG.
In FIG. 6, first, in step S601, a new one is selected from the guarantee type streams that have already received the decoding start request in step S306 in FIG. 3, and this is set as a decoding target stream. In the case of the specific example shown in FIG. 2, the subsequent processing will be described assuming that the stream 201 has been selected.

次に、ステップS602において、現在復号対象ストリームが復号可能であるか否かを判定する。この判定の結果、復号可能である場合は、ステップS608に進む。一方、ステップS602の判定の結果、現在復号が不可能である場合はステップS603に進む。ここで、現在復号可能であるか否かの判定には、例えば、切替部102におけるストリームを蓄積するメモリに、閾値以上のストリームが蓄積されているか否かなどの情報を用いる。図2に示した具体例の場合では、ストリーム201が復号可能であると判定されたものとして、以降において説明する。   Next, in step S602, it is determined whether or not the current decoding target stream can be decoded. If the result of this determination is that decoding is possible, processing proceeds to step S608. On the other hand, if the result of determination in step S602 is that decoding is not currently possible, processing proceeds to step S603. Here, for determining whether or not decoding is currently possible, for example, information such as whether or not a stream equal to or greater than a threshold is stored in a memory for storing streams in the switching unit 102 is used. In the case of the specific example shown in FIG. 2, the following description will be made assuming that the stream 201 is determined to be decodable.

次に、ステップS603において、復号開始依頼を受け付けた全てのギャランティ型ストリームについて復号可能か否かの判定を行ったか否かを判定する。この判定の結果、また、復号可能か否かの判定を行っていないギャランティ型ストリームがある場合は、ステップS601に戻る。一方、ステップS603の判定の結果、全てのギャランティ型ストリームについて復号可能か否かの判定を行った場合は、ステップS604に進む。   Next, in step S603, it is determined whether or not it has been determined whether or not decoding can be performed for all guarantee type streams for which a decoding start request has been received. As a result of this determination, if there is a guarantee type stream for which it is not determined whether or not decoding is possible, the process returns to step S601. On the other hand, as a result of the determination in step S603, if it is determined whether or not all guarantee type streams can be decoded, the process proceeds to step S604.

次に、ステップS604において、既に復号開始依頼を受け付けているベストエフォート型ストリームの中から、新たに1つを選択し、これを復号対象ストリームとする。そして、ステップS605において、現在復号対象ストリームが復号可能であるか否かを判定する。   Next, in step S604, a new one is selected from the best-effort streams that have already received a decoding start request, and this is set as a decoding target stream. In step S605, it is determined whether or not the current decoding target stream can be decoded.

この判定の結果、復号可能である場合は、ステップS608に進む。一方、ステップS605の判定の結果、現在復号が不可能である場合は、ステップS606に進む。現在復号が可能であるか否かの判定には、ステップS603と同様に、例えば、切替部102におけるストリームを蓄積するメモリに、閾値以上のストリームが蓄積されているか否かなどの情報を用いる。   If the result of this determination is that decoding is possible, processing proceeds to step S608. On the other hand, if the result of determination in step S605 is that decoding is currently impossible, processing proceeds to step S606. As in step S603, for example, information such as whether or not a stream equal to or greater than the threshold is accumulated in the memory that accumulates the stream in the switching unit 102 is used to determine whether or not decoding is currently possible.

次に、ステップS606において、復号開始依頼を受け付けた全てのベストエフォート型ストリームについて復号可能か否かの判定を行ったか否かを判定する。この判定の結果、また、復号可能か否かの判定を行っていないベストエフォート型ストリームがある場合は、ステップS604に戻る。一方、ステップS606の判定の結果、全てのベストエフォート型ストリームについて復号可能か否かの判定を行った場合は、ステップS607に進む。そして、ステップS607において、復号処理が実施可能なストリームが存在しなかったため、復号処理を実施するストリームをなしとする。   Next, in step S606, it is determined whether or not it has been determined whether or not decoding is possible for all the best effort streams that have received the decoding start request. As a result of the determination, if there is a best effort type stream for which it is not determined whether or not decoding is possible, the process returns to step S604. On the other hand, as a result of the determination in step S606, if it is determined whether all the best effort streams can be decoded, the process proceeds to step S607. In step S607, since there is no stream that can be decoded, there is no stream for which the decoding process is performed.

一方、ステップS608においては、復号対象ストリームを、復号処理を実施するストリームとして選択する。図2に示した具体例では、ストリーム201が復号処理を実施するストリームとして選択されることとなる。   On the other hand, in step S608, the decoding target stream is selected as a stream to be subjected to decoding processing. In the specific example illustrated in FIG. 2, the stream 201 is selected as a stream for performing the decoding process.

以上の処理ステップを経ることによって、ストリーム復号装置100の切替部102は、ギャランティ型ストリームを優先的に復号対象のストリームに選択する。そして、ギャランティ型ストリームの復号処理が不可能な場合のみベストエフォート型ストリームを復号対象のストリームに選択するようにしている。   Through the above processing steps, the switching unit 102 of the stream decoding device 100 preferentially selects a guarantee type stream as a decoding target stream. The best effort stream is selected as a decoding target stream only when the guarantee stream cannot be decoded.

図13は、図2に示した具体例に対し、図6に示した復号処理を適用したときの処理結果の一例を示す図である。
図13において、1301〜1304はストリーム復号装置100に対して復号依頼がなされたストリームである。図13に示す例では、放送受信Aストリーム1301、放送受信Bストリーム1302、放送受信Cストリーム1303、及び静止画デコードストリーム1304はそれぞれ、図2に示したストリーム201からストリーム204に対応している。
FIG. 13 is a diagram illustrating an example of a processing result when the decoding process illustrated in FIG. 6 is applied to the specific example illustrated in FIG.
In FIG. 13, reference numerals 1301 to 1304 denote streams for which a decoding request has been made to the stream decoding apparatus 100. In the example illustrated in FIG. 13, the broadcast reception A stream 1301, the broadcast reception B stream 1302, the broadcast reception C stream 1303, and the still image decoding stream 1304 correspond to the stream 201 to the stream 204 illustrated in FIG.

また、1305〜1307は、デコード部103が各ストリームに復号処理リソースを割り当てる際の基準時間を表し、例えば、放送受信Aストリーム1301のフレームレートを考慮して1/30sなどに設定される。   Reference numerals 1305 to 1307 denote reference times when the decoding unit 103 allocates decoding processing resources to each stream, and are set to 1/30 s, for example, in consideration of the frame rate of the broadcast reception A stream 1301.

ここで、基準時間t2及び基準時間t3においては、放送受信Aストリーム1301、及び放送受信Bストリーム1302の復号処理が基準時間t1の時と比べて軽い。そこで、ベストエフォート型ストリームとして復号開始依頼を受け付けていた静止画デコードストリーム1304に復号処理リソースを割り当て、復号処理を行う。その結果として、例えば、図14に示すように、画面1401上に放送受信Aストリーム1301の復号結果1402、放送受信Bストリーム1302の復号結果1403、及び静止画デコードストリーム1304の復号結果1404を出力することが可能となる。   Here, at the reference time t2 and the reference time t3, the decoding processing of the broadcast reception A stream 1301 and the broadcast reception B stream 1302 is lighter than that at the reference time t1. Therefore, a decoding processing resource is allocated to the still image decoding stream 1304 which has received a decoding start request as a best effort type stream, and decoding processing is performed. As a result, for example, as shown in FIG. 14, the decoding result 1402 of the broadcast reception A stream 1301, the decoding result 1403 of the broadcast reception B stream 1302, and the decoding result 1404 of the still image decoding stream 1304 are output on the screen 1401. It becomes possible.

ここで、静止画デコードストリーム1304については、十分な復号処理リソースが割り当てられていないものの、ストリーム204は復号品質の保証を必要としないベストエフォート型ストリームである。このため、静止画デコードストリーム1304の復号結果1404はユーザにとって有効な表示になり得るものである。   Here, the still image decoding stream 1304 is a best-effort stream that does not require a decoding quality guarantee, although sufficient decoding processing resources are not allocated. For this reason, the decoding result 1404 of the still image decoding stream 1304 can be an effective display for the user.

また、図14に示した例は、映像ストリームの復号処理における具体例であるが、例えば音声ストリーム復号処理などのその他の処理に対しても同様の効果が得られることは言うまでもない。さらに、本実施形態の範囲には、同一装置内の複数の処理に本発明を適用した場合も含まれることは言うまでもない。   The example shown in FIG. 14 is a specific example in the video stream decoding process, but it goes without saying that the same effect can be obtained for other processes such as an audio stream decoding process. Furthermore, it goes without saying that the scope of the present embodiment includes the case where the present invention is applied to a plurality of processes in the same apparatus.

以上のように本実施形態におけるストリーム復号装置100によれば、ベストエフォート型ストリームについては復号処理リソースに余裕がない場合でも復号依頼を受け付けておく。そして、ギャランティ型ストリームを優先的にデコードしつつ、復号処理リソースに余裕がない時にベストエフォート型ストリームをデコードするようにした。これにより、複数のストリームの復号処理を時分割して並列に行う場合において、ギャランティ型ストリームの表示品質を保証するとともに、復号処理リソースを有効に利用することができる。   As described above, according to the stream decoding apparatus 100 in the present embodiment, a decoding request is received for a best-effort stream even when there is no room for decoding processing resources. Then, the guarantee type stream is preferentially decoded, and the best effort type stream is decoded when there is no room for decoding processing resources. As a result, when decoding processing of a plurality of streams is performed in a time-sharing manner in parallel, the display quality of the guarantee type stream can be ensured and decoding processing resources can be used effectively.

なお、本実施形態においては、ギャランティ型ストリームを優先的にデコードし、復号処理リソースに余裕がない場合にベストエフォート型ストリームをデコードしたが、この時、復号対象となるベストエフォート型ストリームが複数存在する場合もある。そこで、受付部101は、ベストエフォート型ストリームに対しては、復号処理の優先度を示す復号処理優先度を付与する。そして、復号対象となるベストエフォート型ストリームが複数存在する場合に、切替部102は、この復号処理優先度に基づいて復号対象のデコードを選択するようにしてもよい。なお、復号処理優先度は、復号開始依頼を受け付けた順に優先度を付与するなど、どのような優先順位に設定してもよい。   In this embodiment, the guarantee type stream is preferentially decoded, and the best effort type stream is decoded when there is no room for decoding processing resources. At this time, there are a plurality of best effort type streams to be decoded. There is also a case. Therefore, the reception unit 101 assigns a decoding process priority indicating the priority of the decoding process to the best effort type stream. Then, when there are a plurality of best-effort streams to be decoded, the switching unit 102 may select a decoding to be decoded based on this decoding processing priority. Note that the decoding process priority may be set to any priority order, such as giving priority in the order in which the decoding start request is received.

(第2の実施形態)
以下、本発明の第2の実施形態について、第1の実施形態との差異を中心に図10のフローチャートを参照しながら説明する。なお、本発明の技術的範囲が本実施形態に限定されるものではない。
図9は、本実施形態におけるストリーム復号装置900の構成例を示すブロック図である。
図9において、品質決定部904は、入力されるストリームの属性情報を基に、ギャランティ型ストリームであるかベストエフォート型ストリームであるかの種別をストリーム単位で決定し、復号品質情報として受付部901に通知する。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to a flowchart of FIG. 10 focusing on differences from the first embodiment. The technical scope of the present invention is not limited to this embodiment.
FIG. 9 is a block diagram illustrating a configuration example of the stream decoding apparatus 900 according to the present embodiment.
In FIG. 9, a quality determination unit 904 determines the type of a guarantee type stream or a best effort type stream for each stream based on attribute information of an input stream, and receives a reception unit 901 as decoding quality information. Notify

受付部901は、複数のストリームと、各ストリームの復号品質情報と、各ストリームに対する復号依頼とを受け取り、復号開始の依頼を選択的に受け付ける。切替部902は、受付部901において復号開始依頼を受け付けた複数のストリームに対して復号処理リソースを順次割り当て、その割り当てに従い復号対象のストリームを切り替える。デコード部903は、切替部902において復号対象としたストリームの復号処理を行う。制御部905は、ストリーム復号装置900全体の制御を行う。   The receiving unit 901 receives a plurality of streams, decoding quality information of each stream, and a decoding request for each stream, and selectively receives a request to start decoding. The switching unit 902 sequentially allocates decoding processing resources to a plurality of streams for which the reception unit 901 has received a decoding start request, and switches the streams to be decoded according to the allocation. The decoding unit 903 performs a decoding process on the stream to be decoded by the switching unit 902. The control unit 905 controls the entire stream decoding apparatus 900.

また、受付部901において受け付ける復号依頼は、例えばテレビのスイッチON・OFFやチャンネル変更などのユーザ操作入力をトリガとし、復号開始依頼や復号終了依頼として与えられるものである。これらのユーザによる操作の入力を行う入力手段としては、例えばリモコン、キーボード、マウス、ディジタイザ、タッチパネル、ジョイスティックなどの多様な操作機器が想定されるが、本実施形態では、入力手段は何でもよい。   The decryption request accepted by the accepting unit 901 is given as a decryption start request or a decryption end request triggered by, for example, a user operation input such as TV switch ON / OFF or channel change. Various input devices such as a remote controller, a keyboard, a mouse, a digitizer, a touch panel, and a joystick are assumed as input means for inputting operations by these users. In this embodiment, any input means may be used.

さらに、デコード部903の復号結果であるストリームを出力する出力手段としては、例えば映像出力手段としてモニタ、音声出力手段としてスピーカ、ヘッドホンなどの多様な出力機器が想定される。本実施形態では、入力手段と同様に、出力手段は何でもよい。   Further, as output means for outputting a stream as a decoding result of the decoding unit 903, for example, various output devices such as a monitor as a video output means and a speaker and headphones as an audio output means are assumed. In the present embodiment, any output means may be used as with the input means.

図10は、本実施形態における復号処理手順の一例を示すフローチャートである。以下、フローチャートに沿って本実施形態の処理について説明する。
図10において、ストリーム復号装置900の電源が投入されることにより処理を開始する。そして、ステップS1001において、制御部905は、システムの初期化を行う。この初期化処理には、ストリーム復号装置900の電源が入った場合の種々の制御が含まれている。例えば、デコード部903の復号処理に必要となるレジスタ値の設定や、ストリーム復号装置全体のメモリリソース、ハードウェアリソースの状態確認などが初期化処理に含まれている。
FIG. 10 is a flowchart illustrating an example of a decoding processing procedure in the present embodiment. Hereinafter, the processing of the present embodiment will be described along a flowchart.
In FIG. 10, the processing is started when the power of the stream decoding apparatus 900 is turned on. In step S1001, the control unit 905 initializes the system. This initialization processing includes various controls when the stream decoding apparatus 900 is turned on. For example, the initialization process includes setting of register values necessary for the decoding process of the decoding unit 903, confirmation of the state of memory resources and hardware resources of the entire stream decoding apparatus, and the like.

次に、ステップS1002において、受付部901は、デコード部903が保持する復号処理リソース量Xの情報を取得する。そして、ステップS1003では、受付部901は、現在割り当てられている復号処理リソース量xcの初期値として0を設定する。   Next, in step S <b> 1002, the reception unit 901 acquires information on the decoding processing resource amount X held by the decoding unit 903. In step S1003, the reception unit 901 sets 0 as the initial value of the currently allocated decoding processing resource amount xc.

次に、ステップS1004において、受付部901は、新たな処理依頼を受け付けているか否かを判定する。この判定の結果、新たな処理依頼を受け付けている場合は、ステップS1005に進む。一方、ステップS1004の判定の結果、新たな処理依頼を受け付けていない場合は、ステップS1010に進む。   Next, in step S1004, the reception unit 901 determines whether a new processing request has been received. If it is determined that a new processing request has been received, the process advances to step S1005. On the other hand, if the result of determination in step S1004 is that a new processing request has not been received, processing proceeds to step S1010.

次に、ステップS1005において、品質決定部904は、ステップS1004において受け付けていると判定した新たな処理依頼が対象とするストリームの属性情報に基づいて復号品質種別を決定する。この復号品質種別の決定は、例えばストリームのサービス種別と復号品質種別とを対応付けた定義ファイルを利用する。   Next, in step S1005, the quality determination unit 904 determines the decoding quality type based on the attribute information of the stream targeted by the new processing request determined to be received in step S1004. The determination of the decoding quality type uses, for example, a definition file in which the service type of the stream is associated with the decoding quality type.

図15は、ストリームのサービス種別と復号品質種別とを対応付けた定義ファイルの一例を示す図である。
図15に示す具体例では、例えば行1501においては、動画ストリームである放送受信サービスがギャランティ型ストリームに対応付けられている。一方、行1502においては、静止画ストリームである静止画デコードサービスがベストエフォート型ストリームに対応付けられる。
FIG. 15 is a diagram illustrating an example of a definition file in which a service type of a stream and a decoding quality type are associated with each other.
In the specific example illustrated in FIG. 15, for example, in a row 1501, a broadcast reception service that is a moving image stream is associated with a guarantee type stream. On the other hand, in row 1502, a still image decoding service that is a still image stream is associated with a best effort stream.

また、図15に示すように、ネットワークの帯域が保証されているネットワークコンテンツはギャランティ型ストリームに対応付けられ、ネットワークの帯域が保証されていないネットワークコンテンツはベストエフォート型ストリームに対応付けられている。   Also, as shown in FIG. 15, network content for which the network bandwidth is guaranteed is associated with a guarantee stream, and network content for which the network bandwidth is not guaranteed is associated with a best effort stream.

一方、ディスプレイにストリームを表示する以外に、ディスプレイに表示するのではなく、ストリームのフォーマットを特定するようなプレデコード処理等を行うために復号が必要な場合もある。属性情報にディスプレイ表示の有無の情報がある場合は、ディスプレイ表示を行うものがギャランティ型ストリームに対応付けられ、ディスプレイ表示を行わないものがベストエフォート型ストリームに対応付けられる。   On the other hand, in addition to displaying the stream on the display, decoding may be necessary to perform predecoding processing or the like for specifying the stream format instead of displaying on the display. When the attribute information includes information indicating whether or not display is displayed, a display display is associated with a guarantee stream, and a display display is not associated with a best effort stream.

次に、ステップS1006において、ステップS1004において受け付けていると判定した新たな処理依頼の種類を判定する。この判定の結果、新たな処理依頼が復号開始依頼である場合は、ステップS1007に進み、新たな処理依頼が復号終了依頼である場合は、ステップS1009に進む。また、新たな処理依頼がその他の依頼である場合は、ステップS1009に進む。   Next, in step S1006, the type of a new processing request determined to be accepted in step S1004 is determined. As a result of the determination, if the new processing request is a decryption start request, the process proceeds to step S1007. If the new processing request is a decryption end request, the process proceeds to step S1009. If the new processing request is another request, the process advances to step S1009.

次に、ステップS1007において、ステップS1006で判定した復号開始依頼に基づき、受付部901は復号開始依頼を選択的に受け付ける。この処理の内容については、第1の実施形態において説明した図4のフローチャートと同様の手順であるため、説明は省略する。   Next, in step S1007, the accepting unit 901 selectively accepts a decryption start request based on the decryption start request determined in step S1006. The contents of this process are the same as those in the flowchart of FIG. 4 described in the first embodiment, and a description thereof will be omitted.

一方、ステップS1008においては、ステップS1006で判定した復号終了依頼に基づき、受付部901は復号終了依頼を受け付ける。この処理の内容についても、第1の実施形態において説明した図5のフローチャートと同様の手順であるため、説明は省略する。   On the other hand, in step S1008, the accepting unit 901 accepts the decryption end request based on the decryption end request determined in step S1006. The contents of this process are the same as those in the flowchart of FIG. 5 described in the first embodiment, and a description thereof will be omitted.

さらに、ステップS1009においては、ステップS1006で判定したその他の要求に基づき、種々の処理を行う。ステップS1009において実施される処理としては、例えば、復号パラメータの設定などが挙げられる。   Further, in step S1009, various processes are performed based on the other requests determined in step S1006. Examples of the processing performed in step S1009 include setting of decoding parameters.

次に、ステップS1010において、切替部902は、これまでに受付部901によって復号開始依頼を受け付けたストリームの中から、復号処理を行うストリームを選択する。この処理の内容については、第1の実施形態において説明した図6のフローチャートと同様の手順であるため、説明は省略する。そして、ステップS1011において、デコード部903は、ステップS1010において選択されたストリームの復号処理を行う。   Next, in step S1010, the switching unit 902 selects a stream on which decoding processing is to be performed from among the streams that have been received by the receiving unit 901 so far. The contents of this process are the same as those in the flowchart of FIG. 6 described in the first embodiment, and a description thereof will be omitted. In step S1011, the decoding unit 903 performs a decoding process on the stream selected in step S1010.

次に、ステップS1012において、復号処理を終了するか否かを判定する。この判定の結果、復号処理を終了しない場合は、ステップS1004に戻る。一方、ステップS1012の判定の結果、復号処理を終了する場合は、ステップS1013に進む。そして、ステップS1013において、制御部905は、システムの終了処理を行い、処理を終了する。この終了処理には、ストリーム復号装置900の電源断に先立つ種々の制御が含まれており、例えば、メモリリソース、ハードウェアリソースの終了処理を順次行う。   Next, in step S1012, it is determined whether or not to end the decoding process. If the result of this determination is that the decoding process is not terminated, processing returns to step S1004. On the other hand, if the result of determination in step S1012 is to end decoding processing, processing proceeds to step S1013. In step S1013, the control unit 905 performs a system termination process and terminates the process. This termination process includes various controls prior to the power-off of the stream decoding apparatus 900. For example, the termination process of memory resources and hardware resources is sequentially performed.

以上のように本実施形態におけるストリーム復号装置900によれば、ストリームのサービス種別より復号品質種別を決定し、ベストエフォート型ストリームについては復号処理リソースに余裕がない場合でも復号依頼を受け付けておく。そして、ギャランティ型ストリームを優先的にデコードしつつ、復号処理リソースに余裕がない時にベストエフォート型ストリームをデコードするようにした。これにより、複数のストリームの復号処理を時分割して並列に行う場合において、ギャランティ型ストリームの表示品質を保証するとともに、復号処理リソースを有効に利用することができる。   As described above, according to the stream decoding apparatus 900 of the present embodiment, the decoding quality type is determined from the service type of the stream, and the decoding request is received even when there is no room for decoding resources for the best effort type stream. Then, the guarantee type stream is preferentially decoded, and the best effort type stream is decoded when there is no room for decoding processing resources. As a result, when decoding processing of a plurality of streams is performed in a time-sharing manner in parallel, the display quality of the guarantee type stream can be ensured and decoding processing resources can be used effectively.

また、第1の実施形態と同様に、復号対象となるベストエフォート型ストリームが複数存在する場合には、復号処理優先度を付与して、復号処理優先度に基づいて復号対象のデコードを選択するようにしてもよい。さらに、第1の実施形態1及び第2の実施形態に示した処理手順を同一装置内で実現し、例えば動作モードを切り替えるなどして動作させるようにしてもよい。   Similarly to the first embodiment, when there are a plurality of best-effort streams to be decoded, a decoding process priority is assigned and a decoding to be decoded is selected based on the decoding process priority. You may do it. Furthermore, the processing procedures shown in the first embodiment and the second embodiment may be realized in the same apparatus, and may be operated by switching the operation mode, for example.

(本発明に係る他の実施形態)
本発明の目的は、以下のように場合においても達成される。まず、前述した第1及び第2の実施形態の機能を実現するソフトウェアのプログラムコードを記憶した記憶媒体を、システムあるいは装置に供給する。そして、そのシステムあるいは装置のコンピュータ(またはCPUまたはMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することとなり、そのプログラムコードを記憶したコンピュータ読み取り可能な記憶媒体は本発明を構成することになる。
(Other embodiments according to the present invention)
The object of the present invention is also achieved in the following cases. First, a storage medium storing software program codes for realizing the functions of the first and second embodiments described above is supplied to a system or apparatus. Needless to say, this can also be achieved by the computer (or CPU or MPU) of the system or apparatus reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the computer-readable storage medium storing the program code constitutes the present invention.

100 ストリーム復号装置、101 受付部、102 切替部、103 デコード部、104 制御部 100 stream decoding device, 101 receiving unit, 102 switching unit, 103 decoding unit, 104 control unit

Claims (11)

入力される複数のストリームを並列に復号するストリーム復号装置であって、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付手段と、
前記受付手段によって復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替手段と、
前記切替手段によって切り替えられたストリームを復号する復号手段とを有し、
前記受付手段は、復号品質の保証を必要とする第1のストリームについては、前記復号手段による処理余裕に基づいて、前記復号品質を保証して前記復号手段による復号が可能な場合に前記復号開始依頼を受け付け、復号品質の保証を必要としない第2のストリームについては、前記復号手段による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替手段は、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするストリーム復号装置。
A stream decoding device that decodes a plurality of input streams in parallel,
Accepting means for accepting a decoding start request in units of streams for the plurality of streams;
Switching means for switching the stream to be decoded from among the streams whose decoding start request has been received by the receiving means;
Decoding means for decoding the stream switched by the switching means,
The accepting unit starts the decoding of the first stream that requires a guarantee of the decoding quality when the decoding unit can guarantee the decoding quality based on the processing margin of the decoding unit and can be decoded by the decoding unit. For the second stream that accepts the request and does not require the guarantee of the decoding quality, the decoding start request is accepted regardless of the processing margin by the decoding means,
It said switching means, as the first stream of the decoding target stream, stream decoding apparatus according to claim preferentially switched than the second stream.
入力される複数のストリームを並列に復号するストリーム復号装置であって、
前記ストリームの属性情報に基づいて、復号品質の保証の有無を決定する品質決定手段と、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付手段と、
前記受付手段によって復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替手段と、
前記切替手段によって切り替えられたストリームを復号する復号手段とを有し、
前記受付手段は、前記品質決定手段によって復号品質の保証を必要とすると決定された第1のストリームについては、前記復号手段による処理余裕に基づいて、前記復号品質を保証して前記復号手段による復号が可能な場合に前記復号開始依頼を受け付け、前記品質決定手段によって復号品質の保証を必要としないと決定された第2のストリームについては、前記復号手段による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替手段は、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするストリーム復号装置。
A stream decoding device that decodes a plurality of input streams in parallel,
Quality determining means for determining whether or not decoding quality is guaranteed based on the attribute information of the stream;
Accepting means for accepting a decoding start request in units of streams for the plurality of streams;
Switching means for switching the stream to be decoded from among the streams whose decoding start request has been received by the receiving means;
Decoding means for decoding the stream switched by the switching means,
The accepting means guarantees the decoding quality based on the processing margin of the decoding means for the first stream determined to require the decoding quality guarantee by the quality determining means and decodes by the decoding means If the second stream is determined not to require decoding quality guarantee by the quality determination means , the decoding start request is received regardless of the processing margin of the decoding means. Accept
It said switching means, as the first stream of the decoding target stream, stream decoding apparatus according to claim preferentially switched than the second stream.
前記品質決定手段は、表示を行うストリームについては、前記第1のストリームと決定し、表示を行われないストリームについては、前記第2のストリームと決定することを特徴とする請求項2に記載のストリーム復号装置。   The said quality determination means determines the said stream as a said 1st stream about the stream which displays, The said 2nd stream is determined about the stream which is not displayed. Stream decoding device. 前記品質決定手段は、動画ストリームについては、前記第1のストリームと決定し、静止画ストリームについては、前記第2のストリームと決定することを特徴とする請求項2又は3に記載のストリーム復号装置。   4. The stream decoding apparatus according to claim 2, wherein the quality determination unit determines the moving image stream as the first stream, and determines the still image stream as the second stream. . 前記品質決定手段は、ネットワークの帯域が保証されているストリームについては、前記第1のストリームと決定し、ネットワークの帯域が保証されていないストリームについては、前記第2のストリームと決定することを特徴とする請求項2〜4の何れか1項に記載のストリーム復号装置。   The quality determination means determines the stream for which the network bandwidth is guaranteed as the first stream, and determines the stream for which the network bandwidth is not guaranteed as the second stream. The stream decoding apparatus according to any one of claims 2 to 4. 前記受付手段は、前記第2のストリームに対して復号処理優先度を付与し、
前記切替手段は、前記第1のストリームを復号対象のストリームとして優先的に切り替えた後、前記第2のストリームに対しては、前記復号処理優先度に従って復号対象のストリームを切り替えることを特徴とする請求項1〜5の何れか1項に記載のストリーム復号装置。
The accepting unit gives a decoding processing priority to the second stream,
The switching means switches the decoding target stream according to the decoding processing priority for the second stream after switching the first stream preferentially as a decoding target stream. The stream decoding apparatus according to any one of claims 1 to 5.
入力される複数のストリームを並列に復号するストリーム復号装置におけるストリーム復号方法であって、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付工程と、
前記受付工程において復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替工程と、
前記切替工程において切り替えられたストリームを復号する復号工程とを有し、
前記受付工程においては、復号品質の保証を必要とする第1のストリームについては、前記復号工程による処理余裕に基づいて、前記復号品質を保証して前記復号工程における復号が可能な場合に前記復号開始依頼を受け付け、復号品質の保証を必要としない第2のストリームについては、前記復号工程による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替工程においては、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするストリーム復号方法。
A stream decoding method in a stream decoding device for decoding a plurality of input streams in parallel,
Accepting a decoding start request in units of streams for the plurality of streams;
A switching step of switching the decoding target stream from the streams for which the decoding start request has been received in the receiving step;
A decoding step of decoding the stream switched in the switching step,
In the receiving step, for the first stream that requires a guarantee of decoding quality, the decoding is performed when the decoding quality is guaranteed and decoding in the decoding step is possible based on the processing margin of the decoding step. For the second stream that accepts the start request and does not require the guarantee of the decoding quality , the decoding start request is accepted regardless of the processing margin of the decoding step,
Wherein in the switching step, the first stream as a stream of the decoding target, stream decoding method comprising preferentially switched than the second stream.
入力される複数のストリームを並列に復号するストリーム復号装置におけるストリーム復号方法であって、
前記ストリームの属性情報に基づいて、復号品質の保証の有無を決定する品質決定工程と、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付工程と、
前記受付工程において復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替工程と、
前記切替工程において切り替えられたストリームを復号する復号工程とを有し、
前記受付工程においては、前記品質決定工程において復号品質の保証を必要とすると決定された第1のストリームについては、前記復号工程による処理余裕に基づいて、前記復号品質を保証して前記復号工程における復号が可能な場合に前記復号開始依頼を受け付け、前記品質決定工程において復号品質の保証を必要としないと決定された第2のストリームについては、前記復号工程による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替工程においては、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするストリーム復号方法。
A stream decoding method in a stream decoding device for decoding a plurality of input streams in parallel,
A quality determining step for determining whether or not decoding quality is guaranteed based on the attribute information of the stream;
Accepting a decoding start request in units of streams for the plurality of streams;
A switching step of switching the decoding target stream from the streams for which the decoding start request has been received in the receiving step;
A decoding step of decoding the stream switched in the switching step,
In the reception step, for the first stream determined to require decoding quality guarantee in the quality determination step, the decoding quality is guaranteed based on the processing margin of the decoding step and the decoding step The decoding start request is accepted when decoding is possible, and the decoding start is performed for the second stream determined not to require the decoding quality guarantee in the quality determination step regardless of the processing margin of the decoding step. Accept the request
Wherein in the switching step, the first stream as a stream of the decoding target, stream decoding method comprising preferentially switched than the second stream.
入力される複数のストリームを並列に復号するようコンピュータに実行させるプログラムであって、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付工程と、
前記受付工程において復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替工程と、
前記切替工程において切り替えられたストリームを復号する復号工程とをコンピュータに実行させ、
前記受付工程においては、復号品質の保証を必要とする第1のストリームについては、前記復号工程による処理余裕に基づいて、前記復号品質を保証して前記復号工程における復号が可能な場合に前記復号開始依頼を受け付け、復号品質の保証を必要としない第2のストリームについては、前記復号工程による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替工程においては、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするプログラム。
A program for causing a computer to execute parallel decoding of a plurality of input streams,
Accepting a decoding start request in units of streams for the plurality of streams;
A switching step of switching the decoding target stream from the streams for which the decoding start request has been received in the receiving step;
And causing the computer to execute a decoding step of decoding the stream switched in the switching step,
In the receiving step, for the first stream that requires a guarantee of decoding quality, the decoding is performed when the decoding quality is guaranteed and decoding in the decoding step is possible based on the processing margin of the decoding step. For the second stream that accepts the start request and does not require the guarantee of the decoding quality , the decoding start request is accepted regardless of the processing margin of the decoding step,
Wherein in the switching step, the first stream as a stream of the decoding target, the program to the second characteristic preferentially a switching Turkey than stream.
入力される複数のストリームを並列に復号するようコンピュータに実行させるプログラムであって、
前記ストリームの属性情報に基づいて、復号品質の保証の有無を決定する品質決定工程と、
前記複数のストリームに対し、復号開始依頼をストリーム単位で受け付ける受付工程と、
前記受付工程において復号開始依頼が受け付けられたストリームの中から復号対象のストリームを切り替える切替工程と、
前記切替工程において切り替えられたストリームを復号する復号工程とをコンピュータに実行させ、
前記受付工程においては、前記品質決定工程において復号品質の保証を必要とすると決定された第1のストリームについては、前記復号工程による処理余裕に基づいて、前記復号品質を保証して前記復号工程における復号が可能な場合に前記復号開始依頼を受け付け、前記品質決定工程において復号品質の保証を必要としないと決定された第2のストリームについては、前記復号工程による処理余裕に関わらず、前記復号開始依頼を受け付けて、
前記切替工程においては、前記第1のストリームを前記復号対象のストリームとして、前記第2のストリームよりも優先的に切り替えることを特徴とするプログラム。
A program for causing a computer to execute parallel decoding of a plurality of input streams,
A quality determining step for determining whether or not decoding quality is guaranteed based on the attribute information of the stream;
Accepting a decoding start request in units of streams for the plurality of streams;
A switching step of switching the decoding target stream from the streams for which the decoding start request has been received in the receiving step;
And causing the computer to execute a decoding step of decoding the stream switched in the switching step,
In the reception step, for the first stream determined to require decoding quality guarantee in the quality determination step, the decoding quality is guaranteed based on the processing margin of the decoding step and the decoding step The decoding start request is accepted when decoding is possible, and the decoding start is performed for the second stream determined not to require the decoding quality guarantee in the quality determination step regardless of the processing margin of the decoding step. Accept the request
Wherein in the switching step, the first stream as a stream of the decoding target, the program to the second characteristic preferentially a switching Turkey than stream.
請求項9又は10に記載のプログラムを記憶したことを特徴とするコンピュータ読み取り可能な記憶媒体。   A computer-readable storage medium storing the program according to claim 9 or 10.
JP2009136524A 2009-06-05 2009-06-05 Stream decoding apparatus and stream decoding method Active JP5506250B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009136524A JP5506250B2 (en) 2009-06-05 2009-06-05 Stream decoding apparatus and stream decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009136524A JP5506250B2 (en) 2009-06-05 2009-06-05 Stream decoding apparatus and stream decoding method

Publications (2)

Publication Number Publication Date
JP2010283683A JP2010283683A (en) 2010-12-16
JP5506250B2 true JP5506250B2 (en) 2014-05-28

Family

ID=43540023

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009136524A Active JP5506250B2 (en) 2009-06-05 2009-06-05 Stream decoding apparatus and stream decoding method

Country Status (1)

Country Link
JP (1) JP5506250B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5802014B2 (en) * 2011-01-14 2015-10-28 アイキューブド研究所株式会社 Signal processing apparatus and signal processing method
JP5958291B2 (en) * 2012-11-08 2016-07-27 オンキヨー株式会社 Content relay device
KR102268597B1 (en) * 2013-11-18 2021-06-23 한화테크윈 주식회사 Appratus and method for processing image

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4208116B2 (en) * 2001-08-06 2009-01-14 パナソニック株式会社 Decoding device, decoding method, decoding program, and decoding program recording medium
JP2009071365A (en) * 2007-09-10 2009-04-02 Victor Co Of Japan Ltd Moving picture decoder and decoding method
JP2009100206A (en) * 2007-10-16 2009-05-07 Panasonic Corp Image coding and data-decoding device

Also Published As

Publication number Publication date
JP2010283683A (en) 2010-12-16

Similar Documents

Publication Publication Date Title
US6384846B1 (en) Methods and apparatus for rendering multiple images using a limited rendering resource
JP4519082B2 (en) Information processing method, moving image thumbnail display method, decoding device, and information processing device
US20080205389A1 (en) Selection of transrate and transcode processes by host computer
JP5300438B2 (en) Image processing apparatus, image processing method, and program
EP2046039A2 (en) Information processing apparatus, information processing system, and controlling method of information processing apparatus
JP2012518328A (en) Resource management method for media content display
JP5506250B2 (en) Stream decoding apparatus and stream decoding method
TWI242371B (en) Decoder and decoding method
EP3334168A1 (en) System for providing hybrid user interfaces and method thereof
JP2002351438A (en) Image monitor system
US8914607B2 (en) Broadcast receiving apparatus and memory managing method thereof
CN109922366A (en) A kind of device parameter method of adjustment, device, equipment and medium
KR20200089507A (en) Display apparatus and control method thereof
JP2011192229A (en) Server device and information processing method
JP2008154045A (en) Decoder, method and program of controlling the same, and storage medium
JP2007206255A (en) Display control device and load distribution method
CN100556106C (en) The scan method of video signal source
US20100150247A1 (en) Video processing apparatus for processing plurality of multimedia, video processing method applied to the same, recording medium, and display apparatus
JP2010081129A (en) Device and method of reproducing content
EP1986437B1 (en) Apparatus and method for upconverting content data
CN113365116B (en) Audio and video resource management method and device
JP5744605B2 (en) Information processing apparatus and information processing method
JP2005347807A (en) Electronic apparatus and data processing method executed by the electronic apparatus
JP2006246452A (en) Broadcast receiving terminal apparatus
JP2006060270A (en) Receiver, receiving method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130716

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140318

R151 Written notification of patent or utility model registration

Ref document number: 5506250

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151