JP2010154075A - Transcode display device and method - Google Patents

Transcode display device and method Download PDF

Info

Publication number
JP2010154075A
JP2010154075A JP2008328187A JP2008328187A JP2010154075A JP 2010154075 A JP2010154075 A JP 2010154075A JP 2008328187 A JP2008328187 A JP 2008328187A JP 2008328187 A JP2008328187 A JP 2008328187A JP 2010154075 A JP2010154075 A JP 2010154075A
Authority
JP
Japan
Prior art keywords
display
decoding
frame
frame data
decoded frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008328187A
Other languages
Japanese (ja)
Inventor
Kumiko Morita
久美子 森田
Takayuki Mori
貴幸 森
Takao Yamakoshi
隆央 山越
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2008328187A priority Critical patent/JP2010154075A/en
Publication of JP2010154075A publication Critical patent/JP2010154075A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a transcode display device and method for correctly displaying a progress situation of conversion. <P>SOLUTION: The transcode display device controls display of a progress situation of transcode processing in a transcoder which has a decoder, a memory, and an encoder, and is provided with: a display circuit for selecting decode frame data from each memory display frame selection range of the prescribed number of frames, reading the selected decode frame data, and using them for display; and a display circuit control unit for controlling a display circuit so as to select either decode frame data based on first encoding data obtained by bidirectional prediction coding or data code frame data based on the first coding obtained by in-picture prediction coding or unidirectional prediction coding for every display frame selection range. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、トランスコードの進捗状況を表示するトランスコード表示装置及び方法に関する。   The present invention relates to a transcode display apparatus and method for displaying the progress of transcoding.

近年、画像処理のディジタル化が普及している。ディジタル化された画像データは、符号量を削減するために、MPEG2やH.264、AVC規格等の動画像符号化方式(エンコード方式)を採用して符号化後に伝送や記録が行われることが多い。各エンコード方式間の変換は、トランスコーダによって行われる。   In recent years, digitization of image processing has become widespread. In order to reduce the amount of codes, digitized image data is encoded with MPEG2 or H.264. In many cases, transmission and recording are performed after encoding using a moving image encoding method (encoding method) such as H.264, AVC standard. Conversion between the encoding methods is performed by a transcoder.

例えば、H.264はMPEG2よりも圧縮率が高い。そこで、放送メディアにおいて採用されているMPEG2の符号化画像をH.264の符号化画像に変換するトランスコーダが用いられることがある。   For example, H.M. H.264 has a higher compression rate than MPEG2. Therefore, an MPEG2 encoded image employed in broadcast media is converted to H.264. A transcoder that converts to an H.264 encoded image may be used.

従来のトランスコーダは、第1のエンコード方式の符号化データをデコードし、デコード結果に対して第2のエンコード方式によってエンコードを行うことで変換処理を実現する。このような変換処理の進捗状況を確認するために、デコードした変換処理中の動画を表示する機能を備えたものがある。   The conventional transcoder realizes the conversion process by decoding the encoded data of the first encoding method and encoding the decoded result by the second encoding method. In order to check the progress status of such conversion processing, there is one having a function of displaying a decoded moving image during conversion processing.

ところが、トランスコーダの変換処理が動画のフレームレートよりも高いレートで実行されることがある。この場合には、変換する画像の一部のフレームの画像を取捨選択して表示させる必要がある。また、デコードするフレームの順番と表示するフレームの順番とは異なることがある。従って、トランスコード中の画像を表示する場合には、デコードした動画を表示順に出力する機能を備える必要がある。   However, the transcoder conversion process may be executed at a rate higher than the frame rate of the moving image. In this case, it is necessary to select and display images of some frames of the image to be converted. The order of frames to be decoded may be different from the order of frames to be displayed. Therefore, when displaying the image in the transcode, it is necessary to have a function of outputting the decoded moving image in the display order.

特許文献1においては、これらの問題を解決する技術が提案されている。特許文献1においては、トランスコード中の動画像のうち、Iピクチャの画像のみを選択して表示するようになっている。これにより、特許文献1の提案においては、表示可能なフレームレートよりも高速の変換処理に対応し、適切な表示順序で画像を表示することが可能である。   In Patent Document 1, a technique for solving these problems is proposed. In Patent Document 1, only an I picture image is selected and displayed from among moving images in transcoding. Thereby, in the proposal of patent document 1, it is possible to display an image in an appropriate display order corresponding to a conversion process faster than a displayable frame rate.

しかしながら、Iピクチャの挿入レートは固定されたものではなく、トランスコードする動画にIピクチャが多く含まれる場合や逆に少なく含まれる場合がある。トランスコードする動画がIピクチャを多く含む場合には、特許文献1の提案においてIピクチャのみを選択しても、表示する画像が表示可能レートを超えてしまう可能性がある。   However, the insertion rate of I pictures is not fixed, and there are cases where many I pictures are included in the moving picture to be transcoded, or on the contrary. If the moving picture to be transcoded includes many I pictures, even if only the I pictures are selected in the proposal of Patent Document 1, the displayed image may exceed the displayable rate.

また、逆にIピクチャが少なく含まれる動画については、特許文献1の提案では表示フレームが比較的長時間更新されずに、トランスコード中のフレームと表示されるフレームとの間隔が大きくなり、変換の進捗状況を正しく表示することができないことがある。つまり、デコードするデータによって、表示のフレームレートがばらついてしまい、表示のフレームレートが保証されない。
特開2005−51287号公報
On the other hand, for a moving image including a small number of I-pictures, the proposal in Patent Document 1 does not update the display frame for a relatively long time, and the interval between the frame being transcoded and the frame to be displayed is increased. May not be displayed correctly. That is, the display frame rate varies depending on the data to be decoded, and the display frame rate is not guaranteed.
JP 2005-51287 A

本発明は、変換の進捗状況を正しく表示することができるトランスコード表示装置及び方法を提供することを目的とする。   An object of the present invention is to provide a transcode display apparatus and method that can correctly display the progress of conversion.

本発明の一態様に係るトランスコード表示装置は、第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示装置であって、所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択し、選択した前記デコードフレームデータを読出して表示用に用いる表示回路と、前記表示フレーム選択範囲毎に、両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化による前記デコードフレームデータ又は画面内予測符号化若しくは片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化若しくは片方向予測復号化による前記デコードフレームデータを選択するように前記表示回路を制御する表示回路制御部とを具備したことを特徴とする。   A transcode display device according to an aspect of the present invention decodes first encoded data of a first encoding method and outputs decoded frame data, and stores the decoded frame data in the decoding order of the decoder Transcoding processing in a transcoder having a memory and an encoder that reads out the decoded frame data stored in the memory and encodes the decoded frame data into second encoded data of a second encoding scheme different from the first encoding scheme A transcode display device for controlling display of the progress status of the selected frame, wherein the decode frame data is selected from the memory for each display frame selection range of a predetermined number of frames, and the selected decode frame data is read out for display. A display circuit to be used and the display frame selection range; Every time, the first encoded data obtained by intra-frame predictive encoding or unidirectional predictive encoding by the decoded frame data by bi-directional predictive decoding with respect to the first encoded data obtained by bi-directional predictive encoding And a display circuit control unit for controlling the display circuit so as to select the decoded frame data by intra-screen predictive decoding or unidirectional predictive decoding for data.

本発明の一態様に係るトランスコード表示方法は、第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示方法であって、所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択する処理であって、前記表示フレーム選択範囲内に両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化による前記デコードフレームデータが存在する場合には、前記表示フレーム選択範囲内の最後の前記両方向予測復号化によって得られた前記デコードフレームデータを選択し、前記表示フレーム選択範囲内に前記両方向予測復号化による前記デコードフレームデータが存在しない場合には、画面内予測符号化又は片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化又は片方向予測復号化による前記デコードフレームデータのうち、前記表示フレーム選択範囲内の最後から2番目の前記復号化によって得られた前記デコードフレームデータを選択する処理を行い、選択した前記デコードフレームデータを読出して表示用に出力することを特徴とする。   A transcode display method according to an aspect of the present invention includes a decoder that decodes first encoded data of a first encoding method and outputs decoded frame data, and stores the decoded frame data in the decoding order of the decoder Transcoding processing in a transcoder having a memory and an encoder that reads out the decoded frame data stored in the memory and encodes the decoded frame data into second encoded data of a second encoding scheme different from the first encoding scheme A transcode display method for controlling the display of the progress status of the display, wherein the decoding frame data is selected from the memory for each display frame selection range of a predetermined number of frames, and both directions are included in the display frame selection range. The first encoded data obtained by predictive encoding. When the decoded frame data by bidirectional predictive decoding for is present, the decoded frame data obtained by the bidirectional predictive decoding in the display frame selection range is selected, and the display frame selection range is selected. When the decoded frame data by the bidirectional prediction decoding does not exist, the intra prediction decoding or the unidirectional prediction decoding for the first encoded data obtained by the intra prediction encoding or the unidirectional predictive encoding. A process of selecting the decoded frame data obtained by the second decoding from the last in the display frame selection range from the decoded frame data by the conversion, and reading the selected decoded frame data for display It is characterized by being output to.

また、本発明の他の態様に係るトランスコード表示方法は、第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示方法であって、所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択する処理であって、前記表示フレーム選択範囲内の選択判定位置の前記デコードフレームデータが両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化によって得られたものである場合には、前記選択判定位置の前記デコードフレームデータを選択し、前記選択判定位置の前記デコードフレームデータが画面内予測符号化又は片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化又は片方向予測復号化によって得られたものである場合には、前記選択判定位置における前記復号化の1つ前の前記画面内予測復号化又は前記片方向予測復号化によって得られた前記デコードフレームデータを選択する処理を行い、選択した前記デコードフレームデータを読出して表示用に出力することを特徴とする。   The transcode display method according to another aspect of the present invention includes a decoder that decodes first encoded data of a first encoding method and outputs decoded frame data, and the decoded frame data in the decoding order of the decoder. In a transcoder comprising: a memory for storing the decoded frame data; and an encoder for reading the decoded frame data stored in the memory and encoding the second encoded data in a second encoding scheme different from the first encoding scheme A transcode display method for controlling display of a progress status of transcode processing, wherein the decode frame data is selected from the memory for each display frame selection range of a predetermined number of frames, and the display frame selection range The decoded frame data at the selection determination position in If it is obtained by bi-directional predictive decoding on the first encoded data obtained by directional prediction encoding, the decoded frame data at the selection determination position is selected, and the selection determination position at the selection determination position When the decoded frame data is obtained by intra-frame predictive decoding or unidirectional predictive decoding with respect to the first encoded data obtained by intra-frame predictive encoding or unidirectional predictive encoding, A process of selecting the decoded frame data obtained by the intra prediction decoding or the unidirectional predictive decoding immediately before the decoding at the selection determination position is performed, and the selected decoded frame data is read and displayed. It is output for use.

本発明によれば、変換の進捗状況を正しく表示することができるという効果を有する。   According to the present invention, the progress of conversion can be displayed correctly.

以下、図面を参照して本発明の実施の形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(第1の実施の形態)
図1は本発明の実施の形態に係るトランスコード表示装置が組み込まれたトランスコーダを示すブロック図である。また、図2は図1中の表示回路制御部15の具体的な構成を示すブロック図である。
(First embodiment)
FIG. 1 is a block diagram showing a transcoder incorporating a transcode display device according to an embodiment of the present invention. FIG. 2 is a block diagram showing a specific configuration of the display circuit control unit 15 in FIG.

先ず、図3及び図4を参照して本実施の形態において採用されるトランスコード表示方法について説明する。   First, the transcode display method employed in the present embodiment will be described with reference to FIGS.

MPEG規格の画像データは、画面内のデータのみを用いた符号化によるIピクチャ、画面内のデータと直前の1画面のデータとの予測誤差に対する予測符号化によるPピクチャ、画面内のデータと直前直後の2画面のデータとの予測誤差に対する予測符号化によるBピクチャによって構成される。Pピクチャの作成には、Iピクチャ又は他のPピクチャを参照する必要があり、Bピクチャの作成には、I又はPピクチャを参照する必要がある。なお、Bピクチャは参照されることはない。   MPEG standard image data includes an I picture obtained by encoding using only the data in the screen, a P picture obtained by predictive encoding for the prediction error between the data in the screen and the data of the immediately preceding one screen, and the data in the screen. It consists of a B picture by predictive coding for the prediction error with the data of the next two screens. To create a P picture, it is necessary to refer to an I picture or another P picture, and to create a B picture, it is necessary to refer to an I or P picture. Note that the B picture is never referenced.

符号化後のデジタル画像データ(以下、ストリームという)は、I,P,Bピクチャを適宜配列して構成される。ストリームの先頭には通常Iピクチャが配置される。Bピクチャの復号には、対象Bピクチャが参照するPピクチャの復号データを、対象Bピクチャの復号の前に得る必要がある。このため、各ピクチャは、ストリーム中においてデコード順を考慮して配置されている。即ち、Bピクチャを含むストリームにおいては、実際の画像順(表示順)とストリーム内の各ピクチャの順序とは異なる。   Encoded digital image data (hereinafter referred to as a stream) is configured by appropriately arranging I, P, and B pictures. A normal I picture is arranged at the head of the stream. To decode a B picture, it is necessary to obtain decoded data of a P picture referred to by the target B picture before decoding the target B picture. For this reason, each picture is arranged in consideration of the decoding order in the stream. That is, in a stream including a B picture, the actual image order (display order) is different from the order of each picture in the stream.

図3は画像に対する符号化のピクチャタイプを示す説明図であり、図4はストリームを構成する各ピクチャの配置及びトランスコード途中における表示を説明するための説明図である。   FIG. 3 is an explanatory diagram showing picture types for encoding an image, and FIG. 4 is an explanatory diagram for explaining the arrangement of pictures constituting a stream and display during transcoding.

図3において各枠は1枚のフレーム画像を示し、枠内のI,P,Bは符号化のピクチャタイプが夫々I,P,Bピクチャであることを示し、数字は表示順を示している。なお、表示順は、各フレームの表示の順番のことである。   In FIG. 3, each frame indicates one frame image, I, P, and B in the frame indicate that the encoding picture type is I, P, and B picture, respectively, and the numbers indicate the display order. . The display order is the display order of each frame.

ピクチャI0,I1,I5,I6,I8は夫々第0,第1,第5,第6,第8フレームの画像を用いて生成されたものである。また、ピクチャP4,P7,P11は、夫々第1,第6,第8フレームを参照画像として生成されたものである。また、ピクチャB2,B3は、第1,第4,フレームを参照画像として生成され、ピクチャB8,B9は、第8,第10フレームを参照画像として生成されたものである。   Pictures I0, I1, I5, I6, and I8 are generated using the images of the 0th, 1st, 5th, 6th, and 8th frames, respectively. Pictures P4, P7, and P11 are generated using the first, sixth, and eighth frames, respectively, as reference images. Pictures B2 and B3 are generated using the first, fourth and fourth frames as reference images, and pictures B8 and B9 are generated using the eighth and tenth frames as reference images.

デコード時には参照画像を先にデコードする必要があるので、参照画像となるピクチャについては参照画像を利用するピクチャの前に伝送する。図3の例では各ピクチャのストリーム中における伝送順は図4の上段に示すものとなる。例えば、B2,B3ピクチャの復号に際して、参照画像となったI1,P4ピクチャの復号が先に行われている必要があり、これらのピクチャが伝送順では先となる。デコード時には、伝送された順にデコードを行う。即ち、デコード順は伝送順に一致する。   Since it is necessary to decode the reference image first at the time of decoding, the picture that becomes the reference image is transmitted before the picture that uses the reference image. In the example of FIG. 3, the transmission order in the stream of each picture is as shown in the upper part of FIG. For example, when decoding the B2 and B3 pictures, the I1 and P4 pictures that have become reference images must be decoded first, and these pictures are first in the transmission order. At the time of decoding, decoding is performed in the order of transmission. That is, the decoding order matches the transmission order.

本実施の形態においては、トランスコードの進捗状況を示すために、デコードされたフレームのうちの所定のフレームを選択して表示する。このようなトランスコードの進捗表示を行う場合において、トランスコードの変換速度が表示レートに比べて高速であることを考慮して、所定のフレーム数(以下、表示フレーム選択範囲という)毎に1枚のフレームを選択して表示するようになっている。表示フレーム選択範囲のフレーム数を一定とすることにより、定レートでの表示が可能である。   In the present embodiment, in order to indicate the progress of transcoding, a predetermined frame is selected from the decoded frames and displayed. In such a transcode progress display, one frame is displayed for each predetermined number of frames (hereinafter referred to as a display frame selection range) in consideration of the fact that the transcode conversion speed is higher than the display rate. The frame is selected and displayed. By making the number of frames in the display frame selection range constant, display at a constant rate is possible.

また、トランスコードの進捗表示における各フレームは、実際の画像の表示順に応じた順番(以下、正順という)で表示する必要がある。本実施の形態においては、表示フレーム選択範囲中から選択するフレームを以下の2つの基準(1),(2)に従って選択して、選択した順に表示することにより、トランスコードの進捗表示における各フレームの表示の順番が正順となるようにする。   In addition, each frame in the transcode progress display needs to be displayed in an order corresponding to the actual image display order (hereinafter referred to as a normal order). In the present embodiment, frames to be selected from the display frame selection range are selected according to the following two criteria (1) and (2), and displayed in the order of selection, whereby each frame in the transcode progress display is displayed. The order of display is in the normal order.

(1)表示フレーム選択範囲内で最後にデコードされた、最新のBピクチャを選択する。 (1) The latest B picture decoded last within the display frame selection range is selected.

Bピクチャだけでみれば、デコード順は正順であり、デコード順に従ってBピクチャを選択すれば、トランスコードの進捗表示における各フレームの表示の順番は正順となる。そこで、表示フレーム選択範囲内にBピクチャが存在する場合には、表示フレーム選択範囲内で最後にデコードされたBピクチャを常に選択し、選択したBピクチャをその順で表示する。これにより、Bピクチャについては、トランスコードの進捗表示は正順となる。   If only B pictures are viewed, the decoding order is the normal order. If B pictures are selected according to the decoding order, the display order of the frames in the transcode progress display is the normal order. Therefore, when there is a B picture within the display frame selection range, the last decoded B picture within the display frame selection range is always selected, and the selected B pictures are displayed in that order. As a result, for the B picture, the transcode progress display is in the normal order.

(2)表示フレーム選択範囲内にBピクチャが存在しない場合には、表示フレーム選択範囲内の最後から2番目にデコードされたI,Pピクチャを選択する。 (2) When there is no B picture in the display frame selection range, the I and P pictures decoded second from the end in the display frame selection range are selected.

I,Pピクチャのフレーム画像がBピクチャの参照画像となる場合には、これらのI,Pピクチャは当該Bピクチャの先に伝送されてデコードされる。つまり、所定のBピクチャよりも先にデコードされた2つのI,Pピクチャのうち、デコード順で先のピクチャは当該Bピクチャの表示順で先のピクチャであり、デコード順で後のピクチャは当該Bピクチャの表示順で後のピクチャである。   When the frame images of I and P pictures become reference images of B pictures, these I and P pictures are transmitted ahead of the B pictures and decoded. That is, out of two I and P pictures decoded before a predetermined B picture, the picture preceding in the decoding order is the picture preceding the display order of the B picture, and the picture subsequent in the decoding order is the picture It is a picture that is later in the display order of the B picture.

従って、Bピクチャが表示フレーム選択範囲内に存在しない場合には、表示フレーム選択範囲内のデコード順で最後から2番目のピクチャを選択しておけば、この選択したI,Pピクチャは、必ず、次の表示フレーム選択範囲内のBピクチャよりも表示順で先のピクチャであることが保証される。   Therefore, when the B picture does not exist in the display frame selection range, if the second picture from the end in the decoding order within the display frame selection range is selected, the selected I and P pictures are always It is guaranteed that the picture is earlier in the display order than the B picture in the next display frame selection range.

図4の例では破線によって表示フレーム選択範囲を示している。即ち、表示フレーム選択範囲のフレーム数が3の例である。最初の表示フレーム選択範囲内のピクチャI0,I1,P4にはBピクチャは含まれていない。従って、この表示フレーム選択範囲内には上記(2)を適用して、ピクチャI1のデコードで結果である第1フレームの画像(I1)が選択される。次の表示フレーム選択範囲内のピクチャB2,B3,I5にはBピクチャは含まれている。従って、この表示フレーム選択範囲内には上記(1)を適用して、最後のピクチャB3のデコード結果である第3フレームの画像(B3)が選択される。同様にして、次の表示フレーム選択範囲内からは、ピクチャP7のデコードで結果である第7フレームの画像(P7)が選択され、最後の表示フレーム選択範囲内からは、ピクチャB10のデコードで結果である第10フレームの画像(B10)が選択される。   In the example of FIG. 4, the display frame selection range is indicated by a broken line. That is, the number of frames in the display frame selection range is three. The pictures I0, I1, and P4 in the first display frame selection range do not include a B picture. Therefore, the image (I1) of the first frame, which is the result of decoding of the picture I1, is selected by applying the above (2) within the display frame selection range. B pictures are included in pictures B2, B3, and I5 in the next display frame selection range. Therefore, the image (B3) of the third frame, which is the decoding result of the last picture B3, is selected by applying the above (1) within this display frame selection range. Similarly, from the next display frame selection range, the seventh frame image (P7) as a result of decoding of the picture P7 is selected, and from the last display frame selection range, the result of decoding of the picture B10 is selected. The tenth frame image (B10) is selected.

即ち、上記(1),(2)の基準を適用することにより、第1,第3,第7,第10フレームの画像がトランスコードの進捗表示として表示されることになり、定レートで且つ表示順を正順とした表示を行うことができる。   That is, by applying the above criteria (1) and (2), the images of the first, third, seventh and tenth frames are displayed as the progress display of transcoding, and at a constant rate. It is possible to perform display with the display order as normal.

図1において、記憶部2には第1のエンコード方式によってエンコードされた動画像の符号化データが格納されている。トランスコーダ1は記憶部2から符号化データを読み出し、第2のエンコード方式の符号化データに変換して記憶部3に出力する。記憶部3はトランスコーダ1からの符号化データを記憶する。   In FIG. 1, the storage unit 2 stores encoded data of moving images encoded by the first encoding method. The transcoder 1 reads the encoded data from the storage unit 2, converts it into encoded data of the second encoding method, and outputs it to the storage unit 3. The storage unit 3 stores encoded data from the transcoder 1.

本実施の形態におけるトランスコーダ1は、入力された符号化データのデコードを行うデコーダ11と、デコーダ11によるデコード結果のフレーム画像を記憶するフレームメモリ12と、新たなエンコード方式でエンコードを行うエンコーダ13とを有する。   The transcoder 1 according to the present embodiment includes a decoder 11 that decodes input encoded data, a frame memory 12 that stores a frame image of a decoding result by the decoder 11, and an encoder 13 that performs encoding using a new encoding method. And have.

制御部14は、デコーダ11及びエンコーダ13を制御すると共に、フレームメモリ12の書込み及び読出しを制御する。デコーダ11は、制御部14に制御されて、入力された符号化データをデコードして、デコード結果のフレーム画像のデータ(以下、デコードフレームデータという)をフレームメモリ12に与えて順次記憶させる。エンコーダ13は、制御部14に制御されて、フレームメモリ12に記憶されたデコードフレームデータを読み出して第2のエンコード方式でエンコードする。この場合には、エンコーダ13は、デコード処理によって得られたデコードフレームデータを、デコード順に読出して、第2のエンコード方式でエンコードすることができるようになっている。   The control unit 14 controls the decoder 11 and the encoder 13 and controls writing and reading of the frame memory 12. The decoder 11 is controlled by the control unit 14 to decode the input encoded data, and provides frame image data (hereinafter referred to as decoded frame data) as a decoding result to the frame memory 12 for sequential storage. The encoder 13 is controlled by the control unit 14 and reads the decoded frame data stored in the frame memory 12 and encodes it by the second encoding method. In this case, the encoder 13 can read the decoded frame data obtained by the decoding process in the order of decoding and can encode it by the second encoding method.

制御部14は表示回路制御部15を有している。表示回路制御部15は、デコードされてフレームメモリ12に格納されたデコードフレームデータを、表示フレーム選択範囲毎に1フレームずつ選択して、選択したデコードフレームデータをフレームメモリ12からデコード順に読出す制御を行う。この場合には、表示回路制御部15は、上記(1),(2)の基準に従ったフレームの選択を行う。   The control unit 14 has a display circuit control unit 15. The display circuit control unit 15 selects the decoded frame data decoded and stored in the frame memory 12 for each display frame selection range, and reads the selected decoded frame data from the frame memory 12 in the decoding order. I do. In this case, the display circuit control unit 15 selects a frame in accordance with the criteria (1) and (2).

制御部14はデコーダ11を制御しており、デコーダ11においてデコードしたピクチャのピクチャタイプの情報及び各ピクチャのデコードが終了したことの情報(デコード終了通知)を取得している。また、制御部14はデコーダ11からのデコードフレームデータが記憶されるフレームメモリ12のアドレスの情報(デコードフレームアドレス)も取得している。   The control unit 14 controls the decoder 11 and obtains information on the picture type of the picture decoded in the decoder 11 and information on the end of decoding of each picture (decoding end notification). The control unit 14 also obtains address information (decoded frame address) of the frame memory 12 in which the decoded frame data from the decoder 11 is stored.

図2において、表示回路制御部15には、制御部14の他の部分から、デコードピクチャタイプ、デコードフレームアドレス及びデコード終了通知が入力される。   In FIG. 2, the decoded picture type, the decoded frame address, and the decoding end notification are input to the display circuit control unit 15 from other parts of the control unit 14.

表示回路制御部15のフレームカウンタ21には、デコード終了通知が入力される。フレームカウンタ21はデコード終了通知をカウントすることで、各ピクチャのデコード毎にカウントアップし、カウント値をフレームカウンタ判定部22に出力する。フレームカウンタ判定部22には、表示フレーム選択範囲のフレーム数Nの情報が設定されている。フレームカウンタ判定部22は、フレームカウンタ21のカウント値を判定すると共に、表示フレーム選択範囲のフレーム数毎にカウント値をリセットする。これにより、フレームカウンタ判定部22は、デコードされたフレームが表示フレーム選択範囲内のいずれの位置のフレームであるかを示す表示フレーム選択範囲内の位置判定結果を得てフレーム選択部23に出力する。   A decoding end notification is input to the frame counter 21 of the display circuit control unit 15. The frame counter 21 counts up the decoding completion notification to count up each picture and outputs the count value to the frame counter determination unit 22. In the frame counter determination unit 22, information on the number of frames N in the display frame selection range is set. The frame counter determination unit 22 determines the count value of the frame counter 21 and resets the count value for each number of frames in the display frame selection range. As a result, the frame counter determination unit 22 obtains a position determination result within the display frame selection range indicating which position within the display frame selection range the decoded frame is, and outputs the result to the frame selection unit 23. .

なお、本実施の形態においては、フレームカウンタ判定部22は、表示フレーム選択範囲の最後のNフレームであることを示す位置判定結果及び最後の1つ前の(N−1)フレームであることを示す位置判定結果のみを出力すればよい。   In the present embodiment, the frame counter determination unit 22 determines that it is the position determination result indicating that it is the last N frames of the display frame selection range and the last (N−1) frame immediately before. It is only necessary to output the position determination result shown.

フレーム選択部23にはデコードピクチャタイプが入力される。フレーム選択部23は、表示フレーム選択範囲内にBピクチャが含まれていたか否かを記憶する図示しないメモリを有し、デコードピクチャタイプ及び表示フレーム選択範囲内の位置判定結果に基づいて、トランスコードの進捗表示に用いるフレームを選択するための書込み制御信号を出力する。フレーム選択部23は、書込み制御信号を次表示フレームアドレスレジスタ24に出力する。次表示フレームアドレスレジスタ24は、デコードフレームアドレスが与えられており、書込み制御信号に従って、デコードフレームアドレスを記憶すると共に、表示フレームアドレスレジスタ25に出力する。   The decoded picture type is input to the frame selection unit 23. The frame selection unit 23 has a memory (not shown) that stores whether or not the B picture is included in the display frame selection range, and transcodes based on the decoded picture type and the position determination result in the display frame selection range. A write control signal for selecting a frame to be used for the progress display is output. The frame selection unit 23 outputs a write control signal to the next display frame address register 24. The next display frame address register 24 is given a decode frame address, and stores the decode frame address and outputs it to the display frame address register 25 in accordance with the write control signal.

即ち、フレーム選択部23は、上記(1)の基準に従い、デコードピクチャタイプによってデコードされたフレームのピクチャタイプがBピクチャであることが示された場合には、次表示フレームアドレスレジスタ24に書込み制御信号を与えて、常に、デコードフレームアドレスを記憶させる。即ち、Bピクチャについては、次表示フレームアドレスレジスタ24には、常に、最後にデコードされたフレームのデコードフレームアドレスが記憶されることになる。   That is, the frame selection unit 23 performs write control to the next display frame address register 24 when it is indicated that the picture type of the frame decoded by the decoded picture type is B picture according to the criterion (1). A signal is given to always store the decode frame address. That is, for the B picture, the next display frame address register 24 always stores the decoded frame address of the last decoded frame.

また、フレーム選択部23は、上記(2)の基準に従い、所定の表示フレーム選択範囲内の最後から2番目までのフレームにBピクチャが含まれていない場合には、最後から2番目のI,Pピクチャのデコードフレームアドレスを次表示フレームアドレスレジスタ24に記憶させる。そして、この場合には、フレーム選択部23は、所定の表示フレーム選択範囲内の最後のフレームがBピクチャでない場合には、次表示フレームアドレスレジスタ24に記憶されているI,Pピクチャのデコードフレームアドレスをそのまま表示フレームアドレスレジスタ25に出力させて記憶させる。   Further, according to the criterion (2), the frame selection unit 23, when the B frame is not included in the second to last frames within the predetermined display frame selection range, The decoded frame address of the P picture is stored in the next display frame address register 24. In this case, when the last frame within the predetermined display frame selection range is not a B picture, the frame selection unit 23 decodes the I and P picture decoded frames stored in the next display frame address register 24. The address is directly output to the display frame address register 25 and stored.

フレーム選択部23は、表示フレーム選択範囲の最後のフレームのデコードフレームアドレスの書込みを制御した後、次表示フレームアドレスレジスタ24に記憶されているデコードフレームアドレスを表示フレームアドレスレジスタ25に出力させて記憶させる。表示フレームアドレスレジスタ25は、フレーム選択部23に制御されて、記憶したデコードフレームアドレスを表示フレームアドレスとして表示回路4に出力する。こうして、表示フレームアドレスは、上記(1),(2)の基準に従うものとなる。   The frame selector 23 controls the writing of the decoded frame address of the last frame in the display frame selection range, and then outputs the decoded frame address stored in the next display frame address register 24 to the display frame address register 25 for storage. Let The display frame address register 25 is controlled by the frame selector 23 and outputs the stored decoded frame address to the display circuit 4 as a display frame address. Thus, the display frame address conforms to the above criteria (1) and (2).

表示回路4は、表示フレームアドレスに従って、フレームメモリ12に記憶されているデコードフレームデータを読出して、図示しないディスプレイに表示させるようになっている。   The display circuit 4 reads out the decoded frame data stored in the frame memory 12 in accordance with the display frame address and displays it on a display (not shown).

次に、このように構成された実施の形態の動作について図5のフローチャートを参照して説明する。   Next, the operation of the embodiment configured as described above will be described with reference to the flowchart of FIG.

記憶部2から読出された第1のエンコード方式の符号化データは、デコーダ11に供給される。デコーダ11は、制御部14に制御されて、符号化データを順次デコードし、デコードフレームデータをフレームメモリ12に記憶させる。エンコーダ13は、フレームメモリ12に記憶されたデコードフレームデータを順次読出して、第2のエンコード方式の符号化データを生成して記憶部3に出力する。   The encoded data of the first encoding method read from the storage unit 2 is supplied to the decoder 11. The decoder 11 is controlled by the control unit 14 to sequentially decode the encoded data and store the decoded frame data in the frame memory 12. The encoder 13 sequentially reads the decoded frame data stored in the frame memory 12, generates encoded data of the second encoding method, and outputs the encoded data to the storage unit 3.

デコーダ11及びエンコーダ13によるトランスコードの進捗状況を表示するために、デコーダ11がデコードしたフレームのピクチャタイプ、フレームメモリ12に記憶されたデコードフレームのアドレス(デコードフレームアドレス)及び各ピクチャのデコード終了通知が制御部14内の表示回路制御部15に与えられる。   In order to display the progress of transcoding by the decoder 11 and the encoder 13, the picture type of the frame decoded by the decoder 11, the address of the decoded frame (decoded frame address) stored in the frame memory 12, and the decoding end notification of each picture Is supplied to the display circuit control unit 15 in the control unit 14.

表示回路制御部15のフレーム選択部23は、図5のステップS1において、デコードしたフレームのピクチャタイプがBピクチャであるか否かを判定する。Bピクチャである場合には、ステップS2において、フレーム選択部23は次表示フレームアドレスレジスタ24に記憶されているデコードフレームアドレスを更新する。これにより、次表示フレームアドレスレジスタ24には、最後にデコードされたBピクチャのデコードフレームアドレスが必ず書き込まれることになる。   The frame selection unit 23 of the display circuit control unit 15 determines whether or not the picture type of the decoded frame is a B picture in step S1 of FIG. If it is a B picture, the frame selector 23 updates the decoded frame address stored in the next display frame address register 24 in step S2. As a result, the decoded frame address of the B picture decoded last is always written in the next display frame address register 24.

フレーム選択部23は、ステップS3において、フレームカウンタ判定部22のカウント値が(N−1)に到達した、即ち、表示フレーム選択範囲内の最後から2番目のフレームであることが示された場合には、それまでの表示フレーム選択範囲内にBピクチャが含まれていたか否かを判定する。Bピクチャが含まれていない場合には、フレーム選択部23は、ステップS4において、次表示フレームアドレスレジスタ24に記憶されているデコードフレームアドレスを更新する。これにより、次表示フレームアドレスレジスタ24には、表示フレーム選択範囲内の最後から2番目のI,Pピクチャのデコードフレームアドレスが書き込まれることになる。   When the frame selection unit 23 indicates in step S3 that the count value of the frame counter determination unit 22 has reached (N−1), that is, the second frame from the end in the display frame selection range. Determines whether or not the B picture has been included in the display frame selection range up to that point. If the B picture is not included, the frame selection unit 23 updates the decoded frame address stored in the next display frame address register 24 in step S4. As a result, the decoded frame address of the second I and P picture from the last in the display frame selection range is written in the next display frame address register 24.

表示フレーム選択範囲の先頭から(N−2)フレームまでは、ステップS2において次表示フレームアドレスレジスタ24が更新され、ステップS5,S7の判定によって処理がステップS1に戻される。表示フレーム選択範囲の最後から2番目の(N−1)フレームでは、ステップS4において、次表示フレームアドレスレジスタ24が更新され、ステップS7の判定によって処理がステップS1に戻される。表示フレーム選択範囲の最後のフレームがデコードされると、最後のフレームがBピクチャの場合にのみ、次表示フレームアドレスレジスタ24に記憶されているデコードフレームアドレスが更新される(ステップS2)。   From the head of the display frame selection range to the (N-2) th frame, the next display frame address register 24 is updated in step S2, and the processing returns to step S1 by the determinations in steps S5 and S7. In the second (N−1) frame from the end of the display frame selection range, the next display frame address register 24 is updated in step S4, and the process returns to step S1 by the determination in step S7. When the last frame in the display frame selection range is decoded, the decoded frame address stored in the next display frame address register 24 is updated only when the last frame is a B picture (step S2).

即ち、次表示フレームアドレスレジスタ24には、表示フレーム選択範囲内にBピクチャが存在しない場合には最後から2番目にデコードされたI,Pピクチャのデコードフレームアドレスが記憶され、Bピクチャが存在する場合には最後にデコードされたBピクチャのデコードフレームアドレスが記憶されることになる。   That is, in the next display frame address register 24, when there is no B picture within the display frame selection range, the decoded frame addresses of the I and P pictures decoded second from the last are stored, and the B picture exists. In this case, the decoded frame address of the last decoded B picture is stored.

次のステップS5において、フレーム選択部23はカウンタ数がN、即ち、表示フレーム選択範囲の最後のフレームであることが示されると、ステップS6において、次表示フレームアドレスレジスタ24に記憶されているデコードフレームアドレスを表示フレームアドレスレジスタ25に与えて記憶させ、カウンタ21をリセットする。   In the next step S5, when the frame selection unit 23 indicates that the counter number is N, that is, the last frame in the display frame selection range, the decoding stored in the next display frame address register 24 is performed in step S6. The frame address is given to and stored in the display frame address register 25, and the counter 21 is reset.

表示回路制御部15の表示フレームアドレスレジスタ25に記憶されたデコードフレームアドレスは表示回路4に供給される。表示回路4は、トランスコードの進行に応じて入力されるデコードフレームアドレスをフレームメモリ12に指定して、デコードフレームデータの読出しを行う。こうして上記(1),(2)の基準によるデコードフレームデータの選択が行われる。表示回路4は読出したデコードフレームデータを図示しないディスプレイに与えて、トランスコードの進捗状況を表示させる。   The decoded frame address stored in the display frame address register 25 of the display circuit control unit 15 is supplied to the display circuit 4. The display circuit 4 reads the decoded frame data by designating the decoded frame address input to the frame memory 12 in accordance with the progress of transcoding. In this way, the decoding frame data is selected based on the above criteria (1) and (2). The display circuit 4 gives the read decoded frame data to a display (not shown) to display the progress of transcoding.

このように本実施の形態においては、所定のフレーム数の表示フレーム選択範囲毎に、デコードされた1フレームの画像データを選択することにより、トランスコードの進捗状況を定レートで表示することを可能にする。そして、表示フレーム選択範囲にBピクチャが存在する場合には最新のBピクチャのデコードフレームデータを選択し、Bピクチャが存在しない場合には表示フレーム選択範囲の最後から2番目のI,Pピクチャを選択する。これにより、選択したデコードフレームデータは表示順と同じ正順で選択されて表示されることになり、デコード順と表示順が異なるストリームについても、トランスコードの進捗状況を正しく表示することが可能である。   As described above, in this embodiment, it is possible to display the progress of transcoding at a constant rate by selecting one frame of decoded image data for each display frame selection range of a predetermined number of frames. To. If the B picture exists in the display frame selection range, the latest decoded frame data of the B picture is selected. If the B picture does not exist, the second I and P pictures from the end of the display frame selection range are selected. select. As a result, the selected decode frame data is selected and displayed in the same normal order as the display order, and it is possible to correctly display the transcoding progress status for streams having a different decode order and display order. is there.

(第2の実施の形態)
図6は本発明の第2の実施の形態を示すブロック図である。図6において図1と同一の構成要素には同一符号を付して説明を省略する。
(Second Embodiment)
FIG. 6 is a block diagram showing a second embodiment of the present invention. In FIG. 6, the same components as those in FIG.

本実施の形態は入力I/F部31を備えた点が第1の実施の形態と異なる。入力I/F部31は、ユーザの入力操作に従って、表示フレーム選択範囲のフレーム数Nを表示回路制御部15’に設定することができるようになっている。表示回路制御部15’は、ユーザ操作によって表示フレーム選択範囲が設定される点のみが表示回路制御部15と異なる。   This embodiment is different from the first embodiment in that an input I / F unit 31 is provided. The input I / F unit 31 can set the number of frames N in the display frame selection range in the display circuit control unit 15 ′ in accordance with a user input operation. The display circuit control unit 15 ′ is different from the display circuit control unit 15 only in that a display frame selection range is set by a user operation.

このように構成された実施の形態においては、ユーザが表示フレーム選択範囲のフレーム数Nを設定することができる。これにより、ユーザの好みに合わせたフレームレートでトランスコードの進捗を示す動画を表示させることができる。   In the embodiment configured as described above, the user can set the number of frames N in the display frame selection range. As a result, a moving image showing the progress of transcoding can be displayed at a frame rate that matches the user's preference.

(第3の実施の形態)
図7は本発明の第3の実施の形態において採用される表示制御回路を示すブロック図である。
(Third embodiment)
FIG. 7 is a block diagram showing a display control circuit employed in the third embodiment of the present invention.

第1の実施の形態においては、表示フレーム選択範囲毎に1つのデコードフレームデータを選択することで、定レートでの表示を可能にした。しかしながら、図3及び図4に示した再生動画シーケンスと表示フレームとの比較から明らかなように、選択したフレーム同士の間隔は一定ではなく、短い期間においては定レートの表示が行われていない。そこで、本実施の形態においては、一定の時間間隔でフレームを選択することにより、完全に定レートの表示を可能にする。本実施の形態においても、所定フレーム数の表示フレーム選択範囲を設定し、表示フレーム選択範囲毎に選択するフレームを決定する。なお、本実施の形態においては、表示するフレームの決定は表示フレーム選択範囲毎に行うが、選択されるフレームは表示フレーム選択範囲内に限らない。   In the first embodiment, display at a constant rate is enabled by selecting one decode frame data for each display frame selection range. However, as is apparent from the comparison between the reproduced moving image sequence and the display frame shown in FIGS. 3 and 4, the interval between the selected frames is not constant, and the constant rate display is not performed in a short period. Therefore, in the present embodiment, display at a constant rate is made possible by selecting frames at regular time intervals. Also in the present embodiment, a display frame selection range of a predetermined number of frames is set, and a frame to be selected is determined for each display frame selection range. In the present embodiment, the frame to be displayed is determined for each display frame selection range, but the selected frame is not limited to be within the display frame selection range.

図8は本実施の形態における表示フレームの選択方法を説明するための説明図である。図8の1段目においては、各枠は1枚のフレーム画像を示し、枠内のI,P,Bは符号化のピクチャタイプが夫々I,P,Bピクチャであることを示し、数字は画像順を示しており、図3と同一の符号化を採用した例を示している。図8の2段目は1段目の符号化を採用して生成されたストリームを構成する各ピクチャの配置を示しており、図4と同様のストリーム順(デコード順)を示している。図8の3段目は、2段目のストリームをデコードして表示順に並べ替えた再生動画シーケンスを示し、図8の4段目は本実施の形態において選択される表示フレームを示している。なお、図3の3段目の丸印は選択される表示フレームを示している。   FIG. 8 is an explanatory diagram for explaining a method of selecting a display frame in the present embodiment. In the first row of FIG. 8, each frame indicates one frame image, I, P, and B in the frame indicate that the picture type of encoding is I, P, and B picture, respectively. The image order is shown, and an example in which the same encoding as that in FIG. 3 is adopted is shown. The second row in FIG. 8 shows the arrangement of each picture constituting the stream generated by adopting the first-stage coding, and shows the same stream order (decoding order) as in FIG. The third row in FIG. 8 shows a playback moving image sequence obtained by decoding the second row stream and rearranging in the display order, and the fourth row in FIG. 8 shows a display frame selected in the present embodiment. Note that the third circle in FIG. 3 indicates the display frame to be selected.

図8の第1及び第2段目に示すように、ストリーム上では、Bピクチャの前に、その前方参照画像であるI,Pピクチャと後方参照画像であるI,Pピクチャが配置される。従って、デコードしたフレームを通常表示する場合には、先にデコードされた後方参照画像については、後にデコードされたBピクチャの画像の表示後に表示させる必要がある。   As shown in the first and second tiers of FIG. 8, on the stream, an I and P picture that is a forward reference picture and an I and P picture that is a backward reference picture are arranged before a B picture. Therefore, when the decoded frame is normally displayed, it is necessary to display the previously decoded backward reference image after displaying the later decoded B picture image.

図8の3段目はこのようなデコード順を通常表示順に変換するアルゴリズムを示している。即ち、I,Pピクチャのデコードフレームデータについては、メモリに保持し、次のI,Pピクチャのデコード後に表示用として出力する。Bピクチャのデコードフレームデータについてはそのまま表示用として出力する。従って、Bピクチャの後にデコードされたI,Pピクチャについては、そのデコード出力前に、当該Bピクチャの前にデコードされたI,Pピクチャのデコードフレームデータが表示用として出力される。こうして、デコード順が表示順に変換される。   The third row in FIG. 8 shows an algorithm for converting such decoding order into normal display order. That is, the decoded frame data of the I and P pictures is held in the memory, and is output for display after the decoding of the next I and P pictures. The decoded frame data of the B picture is output as it is for display. Therefore, for the I and P pictures decoded after the B picture, the decoded frame data of the I and P pictures decoded before the B picture are output for display before the decoding output. Thus, the decoding order is converted to the display order.

本実施の形態においては、一定の時間間隔で、このような表示順の変換アルゴリズムを利用することで、定レートの表示フレームを得るようになっている。即ち、図8の4段目に示すように、所定のフレーム数の表示フレーム選択範囲を設定し(図8では表示フレーム選択範囲は3フレーム)、表示フレーム選択範囲にて規定された一定周期で表示フレームを選択する。例えば、表示フレーム選択範囲内の所定のフレーム位置を選択判定位置(図8では最後のフレーム)とし、選択判定位置がBピクチャの場合にはそのBピクチャを選択し、I,Pピクチャの場合には当該選択判定位置のI,Pピクチャの1つ前にデコードされたI,Pピクチャを選択する。これにより、表示フレーム選択範囲にて規定された一定周期で、表示順が正順の表示フレームが得られる。   In the present embodiment, a display frame at a constant rate is obtained by using such a display order conversion algorithm at regular time intervals. That is, as shown in the fourth row of FIG. 8, a display frame selection range of a predetermined number of frames is set (in FIG. 8, the display frame selection range is 3 frames), and at a constant cycle defined by the display frame selection range. Select a display frame. For example, a predetermined frame position within the display frame selection range is set as a selection determination position (the last frame in FIG. 8), and when the selection determination position is a B picture, the B picture is selected, and when the selection determination position is an I or P picture Selects an I or P picture decoded immediately before the I or P picture at the selection determination position. As a result, a display frame in which the display order is the normal order is obtained at a constant period defined by the display frame selection range.

図7において、表示回路制御部35のフレームカウンタ36には、デコード終了通知が入力される。フレームカウンタ36はデコード終了通知をカウントすることで、各ピクチャのデコード毎にカウントアップし、カウント値をフレーム選択部37に出力する。フレーム選択部37には、表示フレーム選択範囲のフレーム数Nの情報が設定されている。フレーム選択部37は、フレームカウンタ36のカウント値を判定すると共に、表示フレーム選択範囲のフレーム数毎にフレームカウンタ36のカウント値をリセットする。これにより、フレーム選択部37は、デコードされたフレームが表示フレーム選択範囲内のいずれの位置のフレームであるかを示す位置判定結果を得る。   In FIG. 7, the decoding end notification is input to the frame counter 36 of the display circuit control unit 35. The frame counter 36 counts up the decoding end notification, counts up for each picture decoding, and outputs the count value to the frame selection unit 37. In the frame selection unit 37, information on the number of frames N in the display frame selection range is set. The frame selection unit 37 determines the count value of the frame counter 36 and resets the count value of the frame counter 36 for each number of frames in the display frame selection range. Accordingly, the frame selection unit 37 obtains a position determination result indicating which position of the decoded frame is within the display frame selection range.

表示回路制御部35に供給されるデコードフレームアドレスは、次表示フレームアドレスレジスタ38及び表示フレームアドレスレジスタ39に与えられる。次表示フレームアドレスレジスタ38及び表示フレームアドレスレジスタ39はフレーム選択部37からの書込み制御信号によって書き込み及び読み出しが制御されてデコードフレームアドレスを記憶する。   The decoded frame address supplied to the display circuit control unit 35 is supplied to the next display frame address register 38 and the display frame address register 39. The next display frame address register 38 and the display frame address register 39 are controlled to be written and read by a write control signal from the frame selector 37 and store the decoded frame address.

フレーム選択部37にはデコードピクチャタイプが入力される。フレーム選択部37は、表示フレーム選択範囲内の所定位置(選択判定位置)、例えば最後のフレームのピクチャタイプに応じて、次表示フレームアドレスレジスタ38及び表示フレームアドレスレジスタ39の書き込み及び読出しを制御する。   The decoded picture type is input to the frame selection unit 37. The frame selection unit 37 controls writing and reading of the next display frame address register 38 and the display frame address register 39 according to a predetermined position (selection determination position) within the display frame selection range, for example, the picture type of the last frame. .

即ち、フレーム選択部37は、選択判定位置のフレームがBピクチャである場合には、デコードフレームアドレスを表示フレームアドレスレジスタ39に記憶させ、I,Pピクチャである場合には、デコードフレームアドレスを次表示フレームアドレスレジスタ38に記憶させる。そして、フレーム選択部37は、選択判定位置のフレームがI,Pピクチャである場合には、次表示フレームアドレスレジスタ38に格納されているデコードフレームアドレスを表示フレームアドレスレジスタ39に出力させて記憶させる。   That is, when the frame at the selection determination position is a B picture, the frame selection unit 37 stores the decoded frame address in the display frame address register 39, and when the frame is an I or P picture, the frame selection unit 37 sets the decoded frame address to the next. The data is stored in the display frame address register 38. Then, when the frame at the selection determination position is an I or P picture, the frame selection unit 37 outputs the decoded frame address stored in the next display frame address register 38 to the display frame address register 39 for storage. .

フレーム選択部37は、表示フレームアドレスレジスタ39に保持されたデコードフレームアドレスを表示フレームアドレスとして表示回路4に出力させる。即ち、フレーム選択部37は、選択判定位置のBピクチャについてはそのデコードフレームアドレスをそのまま出力させ、選択判定位置のI,Pピクチャについては直前のI,Pピクチャのデコードフレームアドレスを出力させる。   The frame selection unit 37 causes the display circuit 4 to output the decoded frame address held in the display frame address register 39 as a display frame address. That is, the frame selection unit 37 outputs the decoded frame address as it is for the B picture at the selection determination position, and outputs the decoding frame address of the immediately preceding I and P pictures for the I and P pictures at the selection determination position.

次に、このように構成された実施の形態の動作について図9のフローチャートを参照して説明する。   Next, the operation of the embodiment configured as described above will be described with reference to the flowchart of FIG.

本実施の形態においては表示回路制御部35によるフレームの選択方法が第1の実施の形態と異なる。表示回路制御部35のフレームカウンタ36は、表示フレーム選択範囲内の位置を示すカウント値をフレーム選択部37に出力する。フレーム選択部37は、図9のステップS11において、デコードしたフレームのピクチャタイプがBピクチャであるか否かを判定する。I,Pピクチャである場合には、ステップS12において、フレーム選択部37は次表示フレームアドレスレジスタ38に記憶されているデコードフレームアドレスを更新する。また、Bピクチャである場合には、ステップS13において、フレーム選択部37は表示フレームアドレスレジスタ39に記憶されているデコードフレームアドレスを更新する。   In the present embodiment, the frame selection method by the display circuit control unit 35 is different from that of the first embodiment. The frame counter 36 of the display circuit control unit 35 outputs a count value indicating a position within the display frame selection range to the frame selection unit 37. In step S11 in FIG. 9, the frame selection unit 37 determines whether the picture type of the decoded frame is a B picture. If it is an I or P picture, the frame selector 37 updates the decoded frame address stored in the next display frame address register 38 in step S12. If it is a B picture, the frame selection unit 37 updates the decoded frame address stored in the display frame address register 39 in step S13.

フレーム選択部37は、ステップS14において、フレームカウンタ36のカウント値がNに到達した、即ち、表示フレーム選択範囲内の最後のフレームであることが示された場合には、当該フレームのピクチャタイプがBピクチャであるか否かを判定する(ステップS15)。最後のフレームがI,Pピクチャである場合には、フレーム選択部37は、ステップS16において、次表示フレームアドレスレジスタ38に記憶されている直前にデコードされたI,Pピクチャのデコードフレームアドレスを表示フレームアドレスレジスタ39に転送して記憶させる。そして、フレーム選択部37は、ステップS17において、表示フレームアドレスレジスタ39に記憶されているデコードフレームアドレスを表示フレームアドレスとして出力する。   If the count value of the frame counter 36 reaches N in step S14, that is, if it is indicated that it is the last frame in the display frame selection range, the frame selection unit 37 determines that the picture type of the frame is It is determined whether or not the picture is a B picture (step S15). If the last frame is an I or P picture, the frame selector 37 displays the decoded frame address of the I or P picture decoded immediately before stored in the next display frame address register 38 in step S16. It is transferred to the frame address register 39 and stored. In step S17, the frame selection unit 37 outputs the decoded frame address stored in the display frame address register 39 as a display frame address.

また、最後のフレームがBピクチャである場合には、フレーム選択部37は、ステップS13において表示フレームアドレスレジスタ39に記憶されているBピクチャのデコードフレームアドレスを表示フレームアドレスとして出力する。こうして、図8に示す表示フレームが得られる。   If the last frame is a B picture, the frame selector 37 outputs the decoded frame address of the B picture stored in the display frame address register 39 as a display frame address in step S13. In this way, the display frame shown in FIG. 8 is obtained.

このように本実施の形態においては、所定のフレーム数の表示フレーム選択範囲毎に、表示順の変換アルゴリズムを利用して表示フレームを決定することで、定レートで表示フレームを選択して、正順でのトランスコードの進捗状況の表示が可能である。   As described above, in the present embodiment, for each display frame selection range of a predetermined number of frames, a display frame is determined by using a display order conversion algorithm, so that a display frame is selected at a constant rate. It is possible to display the progress of transcoding in order.

(第4の実施の形態)
図10は本発明の第4の実施の形態を示すブロック図である。図10において図7と同一の構成要素には同一符号を付して説明を省略する。
(Fourth embodiment)
FIG. 10 is a block diagram showing a fourth embodiment of the present invention. In FIG. 10, the same components as those in FIG.

本実施の形態は入力I/F部31を備えた点が第3の実施の形態と異なる。入力I/F部31は、ユーザの入力操作に従って、表示フレーム選択範囲のフレーム数Nを表示回路制御部35’に設定することができるようになっている。表示回路制御部35’は、ユーザ操作によって表示フレーム選択範囲が設定される点のみが表示回路制御部35と異なる。   This embodiment is different from the third embodiment in that an input I / F unit 31 is provided. The input I / F unit 31 can set the number of frames N in the display frame selection range in the display circuit control unit 35 ′ in accordance with a user input operation. The display circuit control unit 35 ′ is different from the display circuit control unit 35 only in that a display frame selection range is set by a user operation.

このように構成された実施の形態においては、ユーザが表示フレーム選択範囲のフレーム数Nを設定することができる。これにより、ユーザの好みに合わせたフレームレートでトランスコードの進捗を示す動画を表示させることができる。   In the embodiment configured as described above, the user can set the number of frames N in the display frame selection range. As a result, a moving image showing the progress of transcoding can be displayed at a frame rate that matches the user's preference.

(第5の実施の形態)
図11は本発明の第5の実施の形態を示すブロック図である。第2及び第4の実施の形態においては、表示フレーム選択範囲のフレーム数Nをユーザが設定した。本実施の形態は、表示フレーム選択範囲のフレーム数Nを自動設定するものである。
(Fifth embodiment)
FIG. 11 is a block diagram showing a fifth embodiment of the present invention. In the second and fourth embodiments, the user sets the number of frames N in the display frame selection range. In the present embodiment, the number N of frames in the display frame selection range is automatically set.

図11において、表示フレーム選択範囲決定部41はデコードカウンタ42、タイマ43、積算器44及びレジスタ45によって構成される。なお、積算器44は後述するように省略可能である。レジスタ45には表示フレーム選択範囲のフレーム数Nが格納される。レジスタ45のフレーム数Nの情報が、表示フレーム選択範囲のフレーム数として、図2のフレームカウンタ判定部22及び図7のフレーム選択部37に設定されるようになっている。   In FIG. 11, the display frame selection range determination unit 41 includes a decode counter 42, a timer 43, an integrator 44 and a register 45. The integrator 44 can be omitted as will be described later. The register 45 stores the number N of frames in the display frame selection range. Information on the number N of frames in the register 45 is set in the frame counter determination unit 22 in FIG. 2 and the frame selection unit 37 in FIG. 7 as the number of frames in the display frame selection range.

先ず、説明を簡単にするために、積算器44を省略し、デコードカウンタ42の出力を直接レジスタ45に与えるものとして説明する。いま、表示回路4による表示可能な最大フレームレートがβ(fps(フレーム/秒))であるものとする。この場合には、1フレームの表示に必要な最小の時間は1/βであるので、トランスコードした表示フレームを確実に表示するためには、表示フレーム選択範囲のフレーム数Nに相当する時間tは、1/β以上である必要がある。この時間tの情報をタイマ43内のレジスタ43Rに設定するようになっている。タイマ43はレジスタ43Rに設定された時間t毎にリセット信号をデコードカウンタ42に出力すると共に、レジスタ45への書込みを行うための書込み制御信号を出力する。   First, in order to simplify the description, it is assumed that the integrator 44 is omitted and the output of the decode counter 42 is directly supplied to the register 45. It is assumed that the maximum frame rate that can be displayed by the display circuit 4 is β (fps (frame / second)). In this case, since the minimum time required for displaying one frame is 1 / β, in order to display the transcoded display frame reliably, the time t corresponding to the number N of frames in the display frame selection range is used. Needs to be 1 / β or more. This time t information is set in the register 43R in the timer 43. The timer 43 outputs a reset signal to the decode counter 42 at every time t set in the register 43R and also outputs a write control signal for writing to the register 45.

デコードカウンタ42は、デコード終了通知をカウントし、カウント値cをレジスタ42Rに保持すると共に出力する。デコードカウンタ42は、タイマ43からのリセット信号によってリセットされて、各ピクチャのデコード毎にカウントアップする。従って、デコードカウンタ42のカウント値cは、時間tにおいてデコードされるフレーム数を示している。   The decode counter 42 counts the decode end notification, holds the count value c in the register 42R, and outputs it. The decode counter 42 is reset by a reset signal from the timer 43, and counts up for each decoding of each picture. Therefore, the count value c of the decode counter 42 indicates the number of frames decoded at time t.

時間tは表示回路4によって1フレームの表示に必要な最小の時間以上に設定されているので、カウント値cによって与えられるフレーム数は、このフレーム数につき1枚のデコードフレームを表示回路4によって確実に表示可能であることを保証するものとなる。タイマ43からの時間t毎の書込み制御信号によって、デコードカウンタ42のカウント値cをレジスタ45に格納することで、レジスタ45には、デコードフレームを確実に表示させるために必要な表示フレーム選択範囲のフレーム数Nとしてカウント値cが保持されることになる。レジスタ45は保持した情報N(=c)を出力する。   Since the time t is set to be longer than the minimum time necessary for displaying one frame by the display circuit 4, the number of frames given by the count value c is reliably determined by the display circuit 4 for one decoded frame. It is guaranteed that it can be displayed. By storing the count value c of the decode counter 42 in the register 45 by the write control signal for each time t from the timer 43, the register 45 displays the display frame selection range necessary for reliably displaying the decoded frame. The count value c is held as the number of frames N. The register 45 outputs the stored information N (= c).

以上の説明は、積算器44を省略した場合、即ち、積算器44の係数mを1とした場合のものである。この場合には、時間tと表示回路4による表示可能な最大フレームレートβとの関係は、
t≧(1/β)(秒)
となる。例えば、β=30(fps)では、t≧1/30(秒)となり、フレーム数Nを決定するために少なくとも1/30(秒)の時間が必要となる。この時間を短縮するために積算器44が設けられる。
The above description is for the case where the integrator 44 is omitted, that is, when the coefficient m of the integrator 44 is 1. In this case, the relationship between the time t and the maximum frame rate β that can be displayed by the display circuit 4 is:
t ≧ (1 / β) (seconds)
It becomes. For example, when β = 30 (fps), t ≧ 1/30 (second), and at least 1/30 (second) is required to determine the number N of frames. An integrator 44 is provided to shorten this time.

即ち、積算器44は、デコードカウンタ42からのカウント値cをm倍してレジスタ45に出力する。従って、レジスタ45にカウント値cが保持されるのに必要な時間t’は、t’=t/mとなる。t≧1/βから、mt’β≧1である。つまり、タイマ43のレジスタ43Rには、表示フレーム選択範囲のフレーム数Nに相当する時間tの1/mの時間t’を設定すればよい。従って、m>1ならば、積算器44を省略した場合よりもフレーム数Nの決定に要する時間t’を短縮することができる。   That is, the integrator 44 multiplies the count value c from the decode counter 42 by m and outputs the result to the register 45. Accordingly, the time t ′ required for the count value c to be held in the register 45 is t ′ = t / m. From t ≧ 1 / β, mt′β ≧ 1. That is, a time t ′ that is 1 / m of a time t corresponding to the number N of frames in the display frame selection range may be set in the register 43R of the timer 43. Therefore, if m> 1, the time t ′ required to determine the number N of frames can be shortened as compared with the case where the accumulator 44 is omitted.

なお、t’の単位がミリ秒ならば、mt’β≧1000であり、t’の単位がクロック周期ならば、mt’β≧クロック周波数である。   Note that if the unit of t ′ is milliseconds, mt′β ≧ 1000, and if the unit of t ′ is a clock cycle, mt′β ≧ clock frequency.

このように構成された実施の形態においては、表示回路の表示可能なフレームレートに応じて、自動的に表示フレーム選択範囲のフレーム数Nを設定することができる。これにより、デコードするデータに拘わらず、表示のフレームレートを保証し、トランスコードの進捗を示す動画を確実に表示させることができる。   In the embodiment configured as described above, the number of frames N in the display frame selection range can be automatically set according to the frame rate that can be displayed by the display circuit. As a result, regardless of the data to be decoded, it is possible to guarantee the display frame rate and to reliably display a moving image indicating the progress of transcoding.

また、時間t(又はt’)として1/β(又は1/mβ)に近い値を設定することで、トランスコードの進捗表示と実際のトランスコードの進捗状況との差を小さくすることができる。   Also, by setting a value close to 1 / β (or 1 / mβ) as time t (or t ′), the difference between the transcode progress display and the actual transcode progress can be reduced. .

なお、上記各実施の形態においては、コンピュータに図5又は図9のフローを実現するソフトウェアを実行させることで、表示回路制御部15,35と同様の動作をソフトウェア処理によって実現可能である。   In each of the above embodiments, the same operation as that of the display circuit control units 15 and 35 can be realized by software processing by causing a computer to execute software for realizing the flow of FIG. 5 or FIG.

本発明の実施の形態に係るトランスコード表示装置が組み込まれたトランスコーダを示すブロック図。1 is a block diagram showing a transcoder incorporating a transcode display device according to an embodiment of the present invention. 図1中の表示回路制御部15の具体的な構成を示すブロック図。The block diagram which shows the specific structure of the display circuit control part 15 in FIG. 画像に対する符号化のピクチャタイプを示す説明図。Explanatory drawing which shows the picture type of the encoding with respect to an image. ストリームを構成する各ピクチャの配置及びトランスコード途中における表示を説明するための説明図。Explanatory drawing for demonstrating arrangement | positioning of each picture which comprises a stream, and the display in the middle of transcoding. 第1の実施の形態の動作を説明するためのフローチャート。The flowchart for demonstrating operation | movement of 1st Embodiment. 本発明の第2の実施の形態を示すブロック図。The block diagram which shows the 2nd Embodiment of this invention. 本発明の第3の実施の形態において採用される表示制御回路を示すブロック図。The block diagram which shows the display control circuit employ | adopted in the 3rd Embodiment of this invention. 第3の実施の形態における表示フレームの選択方法を説明するための説明図。Explanatory drawing for demonstrating the selection method of the display frame in 3rd Embodiment. 第3の実施の形態の動作を説明するためのフローチャート。The flowchart for demonstrating operation | movement of 3rd Embodiment. 本発明の第4の実施の形態を示すブロック図。The block diagram which shows the 4th Embodiment of this invention. 本発明の第5の実施の形態を示すブロック図。The block diagram which shows the 5th Embodiment of this invention.

符号の説明Explanation of symbols

1…トランスコーダ、4…表示回路、11…デコーダ、12…フレームメモリ、13…エンコーダ、14…制御部、15…表示回路制御部。     DESCRIPTION OF SYMBOLS 1 ... Transcoder, 4 ... Display circuit, 11 ... Decoder, 12 ... Frame memory, 13 ... Encoder, 14 ... Control part, 15 ... Display circuit control part.

Claims (5)

第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示装置であって、
所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択し、選択した前記デコードフレームデータを読出して表示用に用いる表示回路と、
前記表示フレーム選択範囲毎に、両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化による前記デコードフレームデータ又は画面内予測符号化若しくは片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化若しくは片方向予測復号化による前記デコードフレームデータを選択するように前記表示回路を制御する表示回路制御部と
を具備したことを特徴とするトランスコード表示装置。
A decoder for decoding first encoded data of the first encoding method and outputting decoded frame data; a memory for storing the decoded frame data in the decoding order of the decoder; and the decoded frame data stored in the memory A transcode display device for controlling the display of the progress status of transcoding processing in a transcoder having an encoder that reads out and encodes into second encoded data of a second encoding scheme different from the first encoding scheme There,
A display circuit that selects the decode frame data from the memory for each display frame selection range of a predetermined number of frames, reads the selected decode frame data, and uses it for display;
For each display frame selection range, the decoded frame data obtained by bidirectional predictive decoding with respect to the first encoded data obtained by bidirectional predictive encoding, or obtained by intra prediction encoding or unidirectional predictive encoding. A transcode display, comprising: a display circuit control unit that controls the display circuit so as to select the decoded frame data by intra prediction decoding or unidirectional predictive decoding with respect to the first encoded data. apparatus.
前記表示回路制御部は、前記表示フレーム選択範囲内に前記両方向予測復号化による前記デコードフレームデータが存在する場合には、前記表示フレーム選択範囲内の最後の前記両方向予測復号化によって得られた前記デコードフレームデータを選択し、前記表示フレーム選択範囲内に前記両方向予測復号化による前記デコードフレームデータが存在しない場合には、前記画面内予測復号化又は前記片方向予測復号化による前記デコードフレームデータのうち、前記表示フレーム選択範囲内の最後から2番目の前記復号化によって得られた前記デコードフレームデータを選択するように前記表示回路を制御する
ことを特徴とする請求項1に記載のトランスコード表示装置。
The display circuit control unit, when the decoded frame data by the bidirectional predictive decoding is present in the display frame selection range, is obtained by the last bidirectional predictive decoding in the display frame selection range. When decoding frame data is selected and the decoded frame data by the bidirectional predictive decoding does not exist within the display frame selection range, the decoded frame data by the intra prediction decoding or the unidirectional predictive decoding 2. The transcode display according to claim 1, wherein the display circuit is controlled so as to select the decoded frame data obtained by the second decoding from the last in the display frame selection range. apparatus.
前記表示回路制御部は、前記表示フレーム選択範囲内の選択判定位置の前記デコードフレームデータが前記両方向予測復号化によって得られたものである場合には、前記選択判定位置の前記デコードフレームデータを選択し、前記選択判定位置の前記デコードフレームデータが前記画面内予測復号化又は前記片方向予測復号化によって得られたものである場合には、前記選択判定位置における前記復号化の1つ前の前記画面内予測復号化又は前記片方向予測復号化によって得られた前記デコードフレームデータを選択するように前記表示回路を制御する
ことを特徴とする請求項1に記載のトランスコード表示装置。
The display circuit control unit selects the decoded frame data at the selection determination position when the decoded frame data at the selection determination position within the display frame selection range is obtained by the bidirectional predictive decoding. When the decoded frame data at the selection determination position is obtained by the intra prediction decoding or the unidirectional prediction decoding, the decoding unit immediately before the decoding at the selection determination position The transcode display device according to claim 1, wherein the display circuit is controlled so as to select the decoded frame data obtained by intra prediction decoding or the unidirectional predictive decoding.
第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示方法であって、
所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択する処理であって、前記表示フレーム選択範囲内に両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化による前記デコードフレームデータが存在する場合には、前記表示フレーム選択範囲内の最後の前記両方向予測復号化によって得られた前記デコードフレームデータを選択し、前記表示フレーム選択範囲内に前記両方向予測復号化による前記デコードフレームデータが存在しない場合には、画面内予測符号化又は片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化又は片方向予測復号化による前記デコードフレームデータのうち、前記表示フレーム選択範囲内の最後から2番目の前記復号化によって得られた前記デコードフレームデータを選択する処理を行い、
選択した前記デコードフレームデータを読出して表示用に出力する
ことを特徴とするトランスコード表示方法。
A decoder for decoding first encoded data of the first encoding method and outputting decoded frame data; a memory for storing the decoded frame data in the decoding order of the decoder; and the decoded frame data stored in the memory A transcode display method for controlling the display of the progress status of transcode processing in a transcoder having an encoder that reads out and encodes into second encoded data of a second encoding scheme different from the first encoding scheme There,
A process of selecting the decoded frame data from the memory for each display frame selection range of a predetermined number of frames, the bidirectional direction for the first encoded data obtained by bidirectional predictive encoding within the display frame selection range When the decoded frame data by predictive decoding is present, the decoded frame data obtained by the bi-directional predictive decoding at the end of the display frame selection range is selected, and the bidirectional direction is within the display frame selection range. When the decoded frame data by predictive decoding does not exist, by intra prediction decoding or unidirectional predictive decoding for the first encoded data obtained by intra prediction encoding or unidirectional predictive encoding Among the decoded frame data, the second from the end in the display frame selection range It performs a process of selecting the decoding frame data obtained by the decoding of
A transcode display method, wherein the selected decoded frame data is read and output for display.
第1のエンコード方式の第1の符号化データをデコードしてデコードフレームデータを出力するデコーダと、前記デコーダのデコード順に前記デコードフレームデータを記憶するメモリと、前記メモリに記憶された前記デコードフレームデータを読出して前記第1のエンコード方式とは異なる第2のエンコード方式の第2の符号化データにエンコードするエンコーダとを有するトランスコーダにおけるトランスコード処理の進捗状況の表示を制御するトランスコード表示方法であって、
所定のフレーム数の表示フレーム選択範囲毎に前記メモリから前記デコードフレームデータを選択する処理であって、前記表示フレーム選択範囲内の選択判定位置の前記デコードフレームデータが両方向予測符号化により得られた前記第1の符号化データに対する両方向予測復号化によって得られたものである場合には、前記選択判定位置の前記デコードフレームデータを選択し、前記選択判定位置の前記デコードフレームデータが画面内予測符号化又は片方向予測符号化により得られた前記第1の符号化データに対する画面内予測復号化又は片方向予測復号化によって得られたものである場合には、前記選択判定位置における前記復号化の1つ前の前記画面内予測復号化又は前記片方向予測復号化によって得られた前記デコードフレームデータを選択する処理を行い、
選択した前記デコードフレームデータを読出して表示用に出力する
ことを特徴とするトランスコード表示方法。
A decoder for decoding first encoded data of the first encoding method and outputting decoded frame data; a memory for storing the decoded frame data in the decoding order of the decoder; and the decoded frame data stored in the memory A transcode display method for controlling the display of the progress status of transcode processing in a transcoder having an encoder that reads out and encodes into second encoded data of a second encoding scheme different from the first encoding scheme There,
A process of selecting the decoded frame data from the memory for each display frame selection range of a predetermined number of frames, wherein the decoded frame data at a selection determination position within the display frame selection range is obtained by bidirectional predictive encoding When it is obtained by bidirectional predictive decoding for the first encoded data, the decoded frame data at the selection determination position is selected, and the decoded frame data at the selection determination position is selected as an intra-frame prediction code. If the first encoded data obtained by encoding or unidirectional predictive encoding is obtained by intra-screen predictive decoding or unidirectional predictive decoding, the decoding at the selection determination position is performed. The decoded frame data obtained by the previous intra-screen predictive decoding or the one-way predictive decoding. It performs a process of selecting the data,
A transcode display method, wherein the selected decoded frame data is read and output for display.
JP2008328187A 2008-12-24 2008-12-24 Transcode display device and method Pending JP2010154075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008328187A JP2010154075A (en) 2008-12-24 2008-12-24 Transcode display device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008328187A JP2010154075A (en) 2008-12-24 2008-12-24 Transcode display device and method

Publications (1)

Publication Number Publication Date
JP2010154075A true JP2010154075A (en) 2010-07-08

Family

ID=42572673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008328187A Pending JP2010154075A (en) 2008-12-24 2008-12-24 Transcode display device and method

Country Status (1)

Country Link
JP (1) JP2010154075A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141415A (en) * 2015-01-06 2020-09-03 ディビックス, エルエルシー Systems and methods for encoding and sharing content between devices

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020141415A (en) * 2015-01-06 2020-09-03 ディビックス, エルエルシー Systems and methods for encoding and sharing content between devices
JP7278238B2 (en) 2015-01-06 2023-05-19 ディビックス, エルエルシー Systems and methods for encoding content and sharing content between devices
JP7427725B2 (en) 2015-01-06 2024-02-05 ディビックス, エルエルシー Systems and methods for encoding content and sharing content between devices

Similar Documents

Publication Publication Date Title
CN1575552B (en) Method and system for generating a dummy bidirectional predictive field picture
US8275247B2 (en) Method and apparatus for normal reverse playback
JP6225446B2 (en) Moving image data distribution apparatus, method, program, and system
CN100508585C (en) Apparatus and method for controlling reverse-play for digital video bit stream
WO2007048347A1 (en) A video apparatus, a video processing system and a method thereof
KR20020026250A (en) Video signal encoding and buffer management
JP4583738B2 (en) Decoding device, decoding control method, information processing device, information processing method, recording medium, and program
US20080253449A1 (en) Information apparatus and method
US7433288B2 (en) Recording device and method, recording medium and program
JP5493362B2 (en) Movie playback apparatus and program
WO2006016418A1 (en) Encoded stream recording medium, image encoding apparatus, and image decoding apparatus
JP2010154075A (en) Transcode display device and method
US6873786B2 (en) Reverse trick modes on non-progressive video using special groups of pictures
JP2002218472A (en) Device and method for decoding variable image rate
US8649617B2 (en) Image decoding apparatus and non-transitory computer readable medium
JP2008187694A (en) Image encoder and method thereof
JP2010056600A (en) Device for encoding video signal and device for decoding video signal
US20040223735A1 (en) Forward trick modes on non-progressive video using special groups of pictures
JP2006319645A (en) Picture reproducer, method, program, and storage medium
JP2006311587A (en) Image decoding device
JP2009124521A (en) Video reproducing apparatus
JP2007129489A (en) Picture reproducer and picture reproduction method
JPWO2008129648A1 (en) Frame rate conversion apparatus, frame rate conversion method, and moving picture encoding apparatus
US8149679B2 (en) Recording/reproducing device and method, recording medium, and program
JP2010206463A (en) Method, device and program for encoding moving image