JP2016122964A - Electronic apparatus and control method - Google Patents
Electronic apparatus and control method Download PDFInfo
- Publication number
- JP2016122964A JP2016122964A JP2014261577A JP2014261577A JP2016122964A JP 2016122964 A JP2016122964 A JP 2016122964A JP 2014261577 A JP2014261577 A JP 2014261577A JP 2014261577 A JP2014261577 A JP 2014261577A JP 2016122964 A JP2016122964 A JP 2016122964A
- Authority
- JP
- Japan
- Prior art keywords
- slice
- image data
- area
- region
- unit
- 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
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Description
本発明は、表示装置に表示させる映像を処理する電子機器及び制御方法に関する。 The present invention relates to an electronic apparatus and a control method for processing an image displayed on a display device.
特許文献1には、映像データをMPEG方式で圧縮符号化してから送信する方法が記載されている。 Patent Document 1 describes a method of transmitting video data after compression-encoding it using the MPEG method.
パーソナルコンピュータ等の電子機器から表示装置に映像データを伝送する場合、伝送路において映像データにデータ誤りが発生し、表示装置が受信した映像データの復号中に復号不能となり、復号化エラーが発生する場合がある。例えば、表示装置は、映像データの復号中に復号化エラーが発生した場合は、電子機器に対して1フレーム分の画像データの再送を要求する。この場合、表示装置は、電子機器から再送された1フレーム分の画像データから映像データの表示を再開することにより、復号化エラーが生じた映像データの表示を再開することができる。 When video data is transmitted from an electronic device such as a personal computer to the display device, a data error occurs in the video data on the transmission path, and decoding becomes impossible during decoding of the video data received by the display device, resulting in a decoding error. There is a case. For example, when a decoding error occurs during decoding of video data, the display device requests the electronic device to retransmit image data for one frame. In this case, the display device can restart the display of the video data in which the decoding error has occurred by restarting the display of the video data from the image data for one frame retransmitted from the electronic device.
しかしながら、この場合、表示装置は、電子機器から再送された1フレーム分の画像データを受信するまでの間、表示中の映像データを静止させ、電子機器から再送された1フレーム分の画像データを受信してから映像データの表示を再開することになる。そのため、表示装置が映像データの表示を再開するタイミングが遅延するという問題があった。映像データの表示を再開するタイミングが遅延した場合、ユーザは、表示画像の変化が遅いと感じてしまう。そのため、電子機器から表示装置に送信された映像データの復号中に復号化エラーが発生した場合は、できるだけ早くエラー状態から復帰できるようにすることが求められる。 However, in this case, until the display device receives the image data for one frame retransmitted from the electronic device, the display device stops the video data being displayed, and the image data for one frame retransmitted from the electronic device is displayed. The video data display is resumed after reception. Therefore, there is a problem that the timing at which the display device resumes displaying the video data is delayed. When the timing for resuming the display of the video data is delayed, the user feels that the display image changes slowly. Therefore, when a decoding error occurs during decoding of the video data transmitted from the electronic device to the display device, it is required to be able to recover from the error state as soon as possible.
そこで、本発明は、電子機器から表示装置に送信した画像データの復号中に復号化エラーが発生した場合に、エラー状態から復帰できるようにすることを目的とする。 Therefore, an object of the present invention is to enable recovery from an error state when a decoding error occurs during decoding of image data transmitted from an electronic device to a display device.
上記の課題を解決するために、本発明に係る電子機器は、複数のフレームの画像データの差分に基づいて決定された第1のスライス領域内の画像データであるスライス画像データを生成する生成手段と、前記スライス画像データを圧縮符号化する符号化手段と、前記圧縮符号化されたスライス画像データを表示装置に送信する送信手段と、前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信手段と、前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御手段とを有することを特徴とする。
本発明に係るプログラムは、コンピュータを、複数のフレームの画像データの差分に基づいて決定された第1のスライス領域内の画像データであるスライス画像データを生成する生成手段と、前記スライス画像データを圧縮符号化する符号化手段と、前記圧縮符号化されたスライス画像データを表示装置に送信する送信手段と、前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信手段と、前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御手段として機能させるためのプログラムである。
本発明に係る制御方法は、複数のフレームの画像データの差分に基づいて決定された第1のスライス領域内の画像データであるスライス画像データを生成する生成ステップと、前記スライス画像データを圧縮符号化する符号化ステップと、前記圧縮符号化されたスライス画像データを表示装置に送信する送信ステップと、前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信ステップと、前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御ステップとを有することを特徴とする。
In order to solve the above-described problem, an electronic apparatus according to the present invention generates generation unit that generates slice image data that is image data in a first slice region determined based on differences between image data of a plurality of frames. Encoding means for compressing and encoding the slice image data, transmitting means for transmitting the compression encoded slice image data to a display device, and when a decoding error occurs in the slice image data, Receiving means for receiving a retransmission request including information indicating a first slice area from the display device; and, when the retransmission request is received, a second after a first frame corresponding to the first slice area Control for controlling image data in a second slice area including an area corresponding to the first slice area in two frames to be transmitted to the display device And having a stage.
The program according to the present invention includes a generating unit that generates slice image data that is image data in a first slice region determined based on a difference between image data of a plurality of frames, and the slice image data. An encoding means for compressing and encoding, a transmitting means for transmitting the compression-encoded slice image data to a display device, and the first slice area when a decoding error occurs in the slice image data Receiving means for receiving a retransmission request including information from the display device; and, if the retransmission request is received, the first in a second frame after the first frame corresponding to the first slice region Control means for controlling image data in a second slice area including an area corresponding to the slice area to be transmitted to the display device Is a program for causing the performance.
The control method according to the present invention includes a generation step of generating slice image data that is image data in a first slice area determined based on differences between image data of a plurality of frames, and compression encoding the slice image data An encoding step to be converted, a transmission step to transmit the compression-encoded slice image data to a display device, and information indicating the first slice area when a decoding error occurs in the slice image data A reception step for receiving a retransmission request including from the display device; and, if the retransmission request is received, the first slice in a second frame after the first frame corresponding to the first slice region A control step for controlling image data in a second slice area including an area corresponding to the area to be transmitted to the display device; Characterized in that it.
本発明によれば、電子機器から表示装置に送信した画像データの復号中に復号化エラーが発生した場合に、エラー状態から復帰することができる。 ADVANTAGE OF THE INVENTION According to this invention, when a decoding error generate | occur | produces during decoding of the image data transmitted to the display apparatus from the electronic device, it can reset from an error state.
[実施形態1]
図1(a)は、実施形態1における表示システム1の構成を説明するための図である。表示システム1は、電子機器100及び表示装置200を有する。電子機器100と表示装置200とは、例えば、DisplayPort規格に対応したケーブル150を介して接続される。ケーブル150は、電子機器100から表示装置200に送信される映像データの解像度に応じた本数の信号線を含む。
[Embodiment 1]
FIG. 1A is a diagram for explaining the configuration of the display system 1 according to the first embodiment. The display system 1 includes an electronic device 100 and a display device 200. The electronic device 100 and the display device 200 are connected via, for example, a cable 150 corresponding to the DisplayPort standard. The cable 150 includes a number of signal lines corresponding to the resolution of video data transmitted from the electronic device 100 to the display device 200.
電子機器100は、例えば、パーソナルコンピュータ、携帯電話或いは撮像装置であり、表示装置200に表示させる映像データを表示装置200に送信する。電子機器100は、例えば、解像度が4096×2160(4K2K)の映像データ、解像度が8192×4320(8K4K)の映像データを表示装置200に送信することができる。 The electronic device 100 is, for example, a personal computer, a mobile phone, or an imaging device, and transmits video data to be displayed on the display device 200 to the display device 200. For example, the electronic device 100 can transmit video data having a resolution of 4096 × 2160 (4K2K) and video data having a resolution of 8192 × 4320 (8K4K) to the display device 200.
以下の実施形態1〜6では、電子機器100が、DSC(Display Stream Compression)方式を用いて、映像データを圧縮符号化して転送する場合を説明する。DSC方式は、VESA(Video Electronics Standards Association)で規定された方式である。以下の実施形態1〜6において、電子機器100は、映像データの最初のフレームの全ての領域をスライス領域とし、当該スライス領域内の画像データであるスライス画像データを生成する。そして、電子機器100は、当該スライス画像データを所定の圧縮符号化方式(可逆圧縮符号化方式又は非可逆圧縮符号化方式)に従って圧縮符号化し、圧縮符号化されたスライス画像データを表示装置200にケーブル150を介して送信する。その後、電子機器100は、新たなフレームの画像データと1つ前のフレームの画像データとの間で差分が生じた領域を含むスライス領域を当該新たなフレームから取り出し、当該スライス領域内の画像データであるスライス画像データを生成する。そして、電子機器100は、スライス画像データを所定の圧縮符号化方式(可逆圧縮符号化方式又は非可逆圧縮符号化方式)で圧縮符号化し、圧縮符号化されたスライス画像データを表示装置200にケーブル150を介して送信する。以下、スライス領域内の画像データをスライス画像データと呼び、スライス画像データの送信をスライス転送と呼ぶ。 In the following first to sixth embodiments, a case will be described in which the electronic device 100 compresses and transfers video data using a DSC (Display Stream Compression) method. The DSC system is a system defined by VESA (Video Electronics Standards Association). In the following first to sixth embodiments, the electronic apparatus 100 generates all the areas of the first frame of video data as slice areas, and generates slice image data that is image data in the slice areas. Then, the electronic device 100 compresses and encodes the slice image data according to a predetermined compression encoding method (lossless compression encoding method or lossy compression encoding method), and the compression-encoded slice image data is displayed on the display device 200. Transmit via cable 150. Thereafter, the electronic device 100 extracts a slice area including an area where a difference has occurred between the image data of the new frame and the image data of the previous frame from the new frame, and the image data in the slice area Is generated. The electronic device 100 compresses and encodes the slice image data with a predetermined compression encoding method (lossless compression encoding method or lossy compression encoding method), and cable the compression encoded slice image data to the display device 200. 150 to transmit. Hereinafter, the image data in the slice area is referred to as slice image data, and the transmission of the slice image data is referred to as slice transfer.
1フレームの一部の領域内の画像データがスライス転送される場合、電子機器100は、1フレームの全ての領域内の画像データが転送される場合に比べて、転送される画像データの量を低減することができる。したがって、1フレームの一部の領域内の画像データがスライス転送される場合、1フレームの全ての領域内の画像データが転送される場合よりも圧縮率を下げることができる。その結果、1フレームの一部の領域内の画像データについてのスライス転送が実行されることにより、表示装置200に表示する画像の画質を向上させることができる。 When image data in a partial area of one frame is slice-transferred, the electronic device 100 reduces the amount of image data to be transferred as compared to a case where image data in the entire area of one frame is transferred. Can be reduced. Therefore, when image data in a partial area of one frame is slice-transferred, the compression rate can be lowered as compared with a case where image data in all areas of one frame is transferred. As a result, the image quality of the image displayed on the display device 200 can be improved by executing the slice transfer for the image data in a partial area of one frame.
ここで、電子機器100から表示装置200へのスライス画像データの伝送中にデータ誤りが生じると、表示装置200では、復号不能による復号化エラーが発生し、圧縮符号化されたスライス画像データを正しく復号化することができないことがある。このような復号化エラーが発生した場合に、表示装置200は、復号化エラーが発生したスライス画像データを再送する要求を電子機器100に送信する。電子機器100は、表示装置200から再送要求を受信した場合は、復号化エラーが発生したスライス画像データに対応するスライス領域であるエラースライス領域を特定する。その後、電子機器100は、新たなフレームの画像データから、少なくともエラースライス領域を含む領域内の画像データであるスライス画像データを生成する。電子機器100は、生成されたスライス画像データを圧縮符号化して表示装置200に送信する。 Here, if a data error occurs during transmission of slice image data from the electronic device 100 to the display device 200, the display device 200 generates a decoding error due to the inability to decode, and correctly converts the compression-encoded slice image data. It may not be possible to decrypt. When such a decoding error occurs, the display apparatus 200 transmits a request for resending the slice image data in which the decoding error has occurred to the electronic device 100. When receiving a retransmission request from the display apparatus 200, the electronic device 100 specifies an error slice area that is a slice area corresponding to slice image data in which a decoding error has occurred. Thereafter, the electronic device 100 generates slice image data that is image data in a region including at least the error slice region from the image data of the new frame. The electronic device 100 compresses and encodes the generated slice image data and transmits it to the display device 200.
図1(b)は、復号化エラーが発生した場合の動作の概要を説明するための図である。電子機器100は、映像データから所定の間隔でフレームF1、F2、F3、F4を順次生成する。フレームF1、F2、F3、F4には、移動する物体aの画像が含まれている。電子機器100は、隣接する第1及び第2のフレームの画像データ間に差分が生じている領域を含む矩形領域を、スライス領域として第2のフレームから切り出すことにより、当該スライス領域内の画像データであるスライス画像データを生成する。 FIG. 1B is a diagram for explaining the outline of the operation when a decoding error occurs. The electronic device 100 sequentially generates frames F1, F2, F3, and F4 at predetermined intervals from the video data. Frames F1, F2, F3, and F4 include images of the moving object a. The electronic device 100 cuts out a rectangular area including an area in which a difference is generated between the image data of the adjacent first and second frames from the second frame as a slice area, so that the image data in the slice area Is generated.
電子機器100は、フレームF1において、物体aの画像領域を含むスライス領域A1のスライス画像データV1を表示装置200に送信する。表示装置200は、スライス画像データV1を受信した場合に表示されていたフレームにおけるスライス領域A1にスライス画像データV1を入れた画像E1を表示する。 The electronic device 100 transmits slice image data V1 of the slice area A1 including the image area of the object a to the display device 200 in the frame F1. The display device 200 displays an image E1 in which the slice image data V1 is inserted in the slice area A1 in the frame that was displayed when the slice image data V1 was received.
電子機器100は、フレームF2において、フレームF1との差分領域をスライス領域A2として取り出す。図1(b)に示す例において、スライス領域A2は、スライス領域A1と物体aが含まれている領域とを合わせた領域である。電子機器100は、フレームF2からスライス領域A2を取り出し、当該スライス領域A2内の画像データであるスライス画像データV2を生成し、生成されたスライス画像データV2を表示装置200に送信する。 The electronic device 100 extracts a difference area from the frame F1 as a slice area A2 in the frame F2. In the example illustrated in FIG. 1B, the slice area A2 is an area obtained by combining the slice area A1 and the area including the object a. The electronic device 100 extracts the slice area A2 from the frame F2, generates slice image data V2 that is image data in the slice area A2, and transmits the generated slice image data V2 to the display device 200.
スライス画像データV2の伝送中にデータ誤りが生じて、表示装置200における復号化中に復号化エラーが生じた場合、表示装置200は、スライス画像データV2に基づく画像を表示することができず、例えば、画像E1と同じ状態の画像E2を表示する。そして、表示装置200は、復号化エラーが発生したスライス画像データV2の再送要求を電子機器100に送信する。 If a data error occurs during transmission of the slice image data V2 and a decoding error occurs during decoding in the display device 200, the display device 200 cannot display an image based on the slice image data V2, For example, the image E2 in the same state as the image E1 is displayed. Then, the display device 200 transmits a retransmission request to the electronic device 100 for the slice image data V2 in which the decoding error has occurred.
図1(b)に示す例において、電子機器100は、フレームF3を送信した後に再送要求を受信している。そこで、電子機器100は、再送要求に対する処理の画像データであるスライス画像データV3を送信する。表示装置200は、スライス画像データV3を受信した場合は、画像E2におけるスライス領域A3をスライス画像データV3に入れ替えた画像E3を表示する。スライス領域A3は、スライス領域A1の一部の領域を含んでいないので、図1(b)に示す例における画像E3には、スライス領域A1の一部が更新されないまま残っている。 In the example illustrated in FIG. 1B, the electronic device 100 receives the retransmission request after transmitting the frame F3. Therefore, the electronic device 100 transmits slice image data V3 that is image data for processing in response to the retransmission request. When receiving the slice image data V3, the display device 200 displays an image E3 in which the slice area A3 in the image E2 is replaced with the slice image data V3. Since the slice area A3 does not include a part of the slice area A1, a part of the slice area A1 remains unupdated in the image E3 in the example illustrated in FIG.
続いて、電子機器100は、再送要求を受信した後のフレームF4において、エラースライス領域に対応するスライス領域A2と、フレームF3とフレームF4との差分領域に対応するスライス領域A4とを含む合成スライス領域を生成する。電子機器100は、フレームF4から合成スライス領域を取り出し、当該合成スライス領域内の画像データであるスライス画像データV4を生成し、生成されたスライス画像データV4を表示装置200に送信する。 Subsequently, the electronic device 100, in the frame F4 after receiving the retransmission request, includes a slice area A2 corresponding to the error slice area and a slice area A4 corresponding to the difference area between the frames F3 and F4. Create a region. The electronic device 100 extracts a composite slice area from the frame F4, generates slice image data V4 that is image data in the composite slice area, and transmits the generated slice image data V4 to the display device 200.
表示装置200は、スライス画像データV4を受信した場合は、画像E3における合成スライス領域をスライス画像データV4に入れ替えた画像E4を表示する。画像E4においては、復号化エラーが生じていたスライス画像データV2に含まれていたスライス領域A2に、新たなフレームF4から取り出されたスライス画像データV4が反映される。合成スライス領域には、スライス領域A1も含まれているので、画像E3に残っていたスライス領域A1の一部の画像も更新されている。 When the display device 200 receives the slice image data V4, the display device 200 displays the image E4 in which the combined slice area in the image E3 is replaced with the slice image data V4. In the image E4, the slice image data V4 extracted from the new frame F4 is reflected in the slice area A2 included in the slice image data V2 in which the decoding error has occurred. Since the synthesized slice area also includes the slice area A1, the partial image of the slice area A1 remaining in the image E3 is also updated.
このように、表示システム1は、電子機器100から表示装置200に転送するデータの量を小さくすることにより、転送するスライス画像データの圧縮率を高くする必要がないので、高画質の画像を表示させることができる。そして、表示システム1は、伝送したスライス画像データにデータ誤りが生じて表示装置200における復号化中に復号化エラーが発生した場合であっても、短時間で復号化エラーから復帰することができる。
以下、電子機器100及び表示装置200の構成及び動作の詳細を説明する。
As described above, the display system 1 does not need to increase the compression rate of the slice image data to be transferred by reducing the amount of data transferred from the electronic device 100 to the display device 200, and thus displays a high-quality image. Can be made. The display system 1 can recover from the decoding error in a short time even when a data error occurs in the transmitted slice image data and a decoding error occurs during decoding in the display device 200. .
Hereinafter, the configuration and operation of the electronic device 100 and the display device 200 will be described in detail.
図2は、電子機器100の構成を説明するための図である。電子機器100は、それぞれ内部バスに接続された記憶装置101と、差分抽出部102と、領域決定部103と、スライス画像データ生成部104と、符号化部105と、送信部106と、受信部107と、操作部108と、制御部109とを有する。 FIG. 2 is a diagram for explaining the configuration of the electronic device 100. The electronic device 100 includes a storage device 101, a difference extraction unit 102, a region determination unit 103, a slice image data generation unit 104, an encoding unit 105, a transmission unit 106, and a reception unit, each connected to an internal bus. 107, an operation unit 108, and a control unit 109.
記憶装置101は、電子機器100が表示装置200に送信する映像データを記憶する。記憶装置101は、例えば、ハードディスク装置、半導体メモリ等である。記憶装置101は、電子機器100と着脱可能な形態の記憶媒体により構成されてもよい。なお、電子機器100は、記憶装置101を内蔵することなく、ネットワークに接続された記憶装置を記憶装置101としてもよい。 The storage device 101 stores video data that the electronic device 100 transmits to the display device 200. The storage device 101 is, for example, a hard disk device or a semiconductor memory. The storage device 101 may be configured by a storage medium that is detachable from the electronic device 100. Note that the electronic device 100 may use a storage device connected to a network as the storage device 101 without incorporating the storage device 101.
差分抽出部102は、記憶装置101からフレーム単位で画像データを読み出し、隣接する複数のフレームの画像データの差分を抽出し、差分が生じている画素を全て含む矩形領域である差分領域を示す差分情報を生成する。差分抽出部102は、隣接する複数のフレームの画像データを比較するために、2つ以上のフレームの画像データを記憶できるバッファを有する。 The difference extraction unit 102 reads out image data in units of frames from the storage device 101, extracts differences between image data of a plurality of adjacent frames, and indicates a difference area that is a rectangular area that includes all the pixels in which the differences occur. Generate information. The difference extraction unit 102 has a buffer capable of storing image data of two or more frames in order to compare image data of a plurality of adjacent frames.
図3は、差分領域の例を説明するための図である。1フレーム分の画像データの水平方向をx軸、垂直方向をy軸、左上の位置を原点(0、0)とした場合に、差分情報は、差分領域の1つの頂点の座標(x1、y1)、差分領域のx軸方向の長さw、y軸方向の長さhにより構成される。 FIG. 3 is a diagram for explaining an example of the difference area. When the horizontal direction of the image data for one frame is the x axis, the vertical direction is the y axis, and the upper left position is the origin (0, 0), the difference information is the coordinates of one vertex of the difference area (x1, y1). ), The length w of the difference region in the x-axis direction and the length h in the y-axis direction.
差分抽出部102は、生成した差分情報を領域決定部103に出力する。また、差分抽出部102は、記憶装置101から読み出したフレームの画像データをスライス画像データ生成部104に順次出力する。なお、差分抽出部102は、記憶装置101から読み出したフレームの解像度と、表示装置200が表示可能な画像の解像度とが異なる場合、記憶装置101から読み出したフレームの解像度を変換する。このようにして、差分抽出部102は、表示装置200が表示可能な画像の解像度と等しい解像度に対応する映像データに変換し、変換後の映像データをバッファに格納する。 The difference extraction unit 102 outputs the generated difference information to the region determination unit 103. Further, the difference extraction unit 102 sequentially outputs the image data of the frames read from the storage device 101 to the slice image data generation unit 104. The difference extraction unit 102 converts the resolution of the frame read from the storage device 101 when the resolution of the frame read from the storage device 101 and the resolution of the image that can be displayed by the display device 200 are different. In this way, the difference extraction unit 102 converts the video data corresponding to the resolution equal to the resolution of the image that can be displayed by the display device 200, and stores the converted video data in the buffer.
領域決定部103は、差分抽出部102から入力された差分情報と、受信部107を介して表示装置200から受信した再送要求に含まれるエラースライス領域を示す情報とに基づいて、新たなフレームから切り出す合成スライス領域を決定する。領域決定部103は、合成スライス領域を示す情報をスライス画像データ生成部104に出力する。なお、電子機器100が表示装置200から再送要求を受信していない場合、合成スライス領域は、差分領域と等しい。映像データの最初のフレームを表示装置200に送信する場合、領域決定部103は、映像データの最初のフレームの全て領域を合成スライス領域に決定する。 Based on the difference information input from the difference extraction unit 102 and the information indicating the error slice region included in the retransmission request received from the display device 200 via the reception unit 107, the region determination unit 103 starts from a new frame. The composite slice area to be cut out is determined. The area determination unit 103 outputs information indicating the combined slice area to the slice image data generation unit 104. Note that when the electronic device 100 has not received a retransmission request from the display device 200, the combined slice area is equal to the difference area. When transmitting the first frame of the video data to the display device 200, the region determining unit 103 determines all the regions of the first frame of the video data as the composite slice region.
スライス画像データ生成部104は、領域決定部103から入力された合成スライス領域を示す情報に基づいて、差分抽出部102から入力された新たなフレームの画像データから、合成スライス領域内の画像データであるスライス画像データを生成する。表示装置200において復号化エラーが発生していない場合、合成スライス領域は差分領域と等しいので、スライス画像データ生成部104は、複数のフレームの画像データの差分に基づいて決定されたスライス領域内の画像データであるスライス画像データを生成する。映像データの最初のフレームを表示装置200に送信する場合、スライス画像データ生成部104は、映像データの最初のフレームの全ての領域内の画像データをスライス画像データとする。スライス画像データ生成部104は、生成したスライス画像データを符号化部105に出力する。 Based on the information indicating the composite slice area input from the area determination unit 103, the slice image data generation unit 104 uses the image data in the composite slice area from the image data of the new frame input from the difference extraction unit 102. Some slice image data is generated. When no decoding error has occurred in the display device 200, the synthesized slice area is equal to the difference area, and therefore the slice image data generation unit 104 includes a slice area determined based on the difference between the image data of a plurality of frames. Slice image data that is image data is generated. When transmitting the first frame of the video data to the display device 200, the slice image data generation unit 104 sets the image data in all areas of the first frame of the video data as slice image data. The slice image data generation unit 104 outputs the generated slice image data to the encoding unit 105.
符号化部105は、スライス画像データ生成部104から入力されたスライス画像データを符号化する。例えば、符号化部105は、所定の圧縮符号化方式(可逆圧縮符号化方式又は非可逆圧縮符号化方式)に従ってスライス画像データを符号化することにより、スライス画像データを圧縮符号化する。符号化部105は、圧縮符号化後のスライス画像データを送信部106に出力する。 The encoding unit 105 encodes the slice image data input from the slice image data generation unit 104. For example, the encoding unit 105 compresses and encodes the slice image data by encoding the slice image data according to a predetermined compression encoding method (lossless compression encoding method or lossy compression encoding method). The encoding unit 105 outputs the slice image data after compression encoding to the transmission unit 106.
送信部106は、符号化部105から入力されたスライス画像データを、ケーブル150を介して表示装置200に送信する。例えば、送信部106は、ケーブル150内のメインデータチャネル線を介して、スライス画像データを送信する。送信部106は、スライス画像データとともに、スライス領域を特定するための座標データを含む特定情報を送信する。 The transmission unit 106 transmits the slice image data input from the encoding unit 105 to the display device 200 via the cable 150. For example, the transmission unit 106 transmits slice image data via the main data channel line in the cable 150. The transmission unit 106 transmits specifying information including coordinate data for specifying a slice region together with slice image data.
送信部106は、複数のフレームの画像データの差分に基づいて決定されたスライス領域内の画像データであるスライス画像データを送信する。送信部106は、受信部107が表示装置200から再送要求を受信した場合は、復号化エラーが発生したスライス画像データに対応するフレームよりも後のフレームにおけるエラースライス領域を含むスライス画像データを送信する。 The transmission unit 106 transmits slice image data that is image data in the slice area determined based on the difference between the image data of a plurality of frames. When the reception unit 107 receives a retransmission request from the display device 200, the transmission unit 106 transmits slice image data including an error slice area in a frame after the frame corresponding to the slice image data in which a decoding error has occurred. To do.
受信部107は、ケーブル150内のAUXチャネル線(補助チャネル線)を介して、表示装置200が送信する再送要求を受信する。再送要求には、復号化エラーが発生したスライス画像データにおけるエラースライス領域を特定するための特定情報が含まれている。なお、エラースライス領域を特定するための情報とは、例えば、送信部106がスライス画像データとともに表示装置200に送信した、スライス画像データの領域を示す情報である。 The receiving unit 107 receives a retransmission request transmitted from the display device 200 via an AUX channel line (auxiliary channel line) in the cable 150. The retransmission request includes identification information for identifying an error slice area in slice image data in which a decoding error has occurred. Note that the information for specifying the error slice area is, for example, information indicating the area of the slice image data transmitted from the transmission unit 106 to the display device 200 together with the slice image data.
操作部108は、例えばキーボード及びマウスであり、ユーザからの指示を受け付ける。操作部108は、例えば、映像データの再生指示、スライス転送の実行の可否に関する指示、出力設定に関する指示を受け付ける。出力設定に関する指示は、例えば、表示装置200に表示する画像の解像度及びフレームレートの設定に関する指示である。 The operation unit 108 is, for example, a keyboard and a mouse, and receives an instruction from the user. The operation unit 108 receives, for example, a video data playback instruction, an instruction regarding whether or not to execute slice transfer, and an instruction regarding output setting. The instruction relating to the output setting is, for example, an instruction relating to setting of the resolution and frame rate of the image displayed on the display device 200.
制御部109は、例えばCPU(Central Processing Unit)であり、記憶媒体(ハードディスク装置、半導体メモリ等)に格納されたプログラムを実行することにより、電子機器100の各構成要素を制御する。制御部109は、操作部108を介して入力されたユーザの指示に応じて、電子機器100の各部を制御する。 The control unit 109 is a CPU (Central Processing Unit), for example, and controls each component of the electronic device 100 by executing a program stored in a storage medium (hard disk device, semiconductor memory, etc.). The control unit 109 controls each unit of the electronic device 100 according to a user instruction input via the operation unit 108.
例えば、制御部109は、操作部108を介して映像データの再生指示を受けると、差分抽出部102に対して、再生指示により指定された映像データの読み出しの開始を指示する。また、制御部109は、スライス転送の実行の可否に関する指示を受けると、差分抽出部102に対して、差分抽出を行うか、差分抽出を行わないスルー処理を行うかを指示する。また、制御部109は、スライス画像データ生成部104に対して、スライス領域の切り出しを行うか、切り出しを行わないでスルー処理を行うかを指示する。さらに、制御部109は、符号化部105に対して、符号化処理を行うか、符号化処理を行わないでスルー処理を行うかを指示する。 For example, when receiving a video data playback instruction via the operation unit 108, the control unit 109 instructs the difference extraction unit 102 to start reading video data specified by the playback instruction. Further, when the control unit 109 receives an instruction regarding whether or not to execute slice transfer, the control unit 109 instructs the difference extraction unit 102 to perform difference extraction or to perform through processing without performing difference extraction. In addition, the control unit 109 instructs the slice image data generation unit 104 to cut out the slice area or perform the through process without cutting out. Further, the control unit 109 instructs the encoding unit 105 to perform the encoding process or to perform the through process without performing the encoding process.
また、制御部109は、表示装置200から取得したデバイス情報と、操作部108を介してユーザから受けた出力設定に関する指示とに基づいて、表示装置200に送信すべき映像データの解像度及びフレームレートを決定する。表示装置200のデバイス情報は、例えば、表示装置200が有するEDID(Extended Display Identification Data)から取得することができる。表示装置200が有するEDIDは、例えば、表示装置200が対応している解像度に関する情報を含む。決定された解像度及びフレームレートは、スライス画像データ生成部104及び送信部106に通知される。 The control unit 109 also determines the resolution and frame rate of the video data to be transmitted to the display device 200 based on the device information acquired from the display device 200 and the instruction regarding the output setting received from the user via the operation unit 108. To decide. The device information of the display apparatus 200 can be acquired from, for example, EDID (Extended Display Identification Data) included in the display apparatus 200. The EDID included in the display device 200 includes, for example, information regarding the resolution supported by the display device 200. The determined resolution and frame rate are notified to the slice image data generation unit 104 and the transmission unit 106.
続いて、表示装置200の構成について説明する。
図4は、表示装置200の構成を説明するための図である。表示装置200は、それぞれ内部バスにより接続された受信部201と、復号化部202と、画像合成部203と、表示部204と、送信部205と、操作部206と、制御部207とを有する。
Next, the configuration of the display device 200 will be described.
FIG. 4 is a diagram for explaining the configuration of the display device 200. The display device 200 includes a receiving unit 201, a decoding unit 202, an image composition unit 203, a display unit 204, a transmission unit 205, an operation unit 206, and a control unit 207, which are connected via an internal bus. .
受信部201は、電子機器100が送信したスライス画像データを、ケーブル150内のメインデータチャネル線を介して受信する。受信部201は、受信したスライス画像データを、フレーム単位で復号化部202に出力する。 The receiving unit 201 receives the slice image data transmitted from the electronic device 100 via the main data channel line in the cable 150. The receiving unit 201 outputs the received slice image data to the decoding unit 202 in units of frames.
復号化部202は、受信部201から入力されたスライス画像データを復号化する。復号化部202は、復号化した後のスライス画像データを画像合成部203に出力する。復号化部202は、復号化中に復号不能による復号化エラーが発生し、復号化処理を継続することができなくなった場合、復号化エラーが発生したスライス画像データを破棄するとともに、復号化エラーの発生を示す情報を送信部205に通知する。 The decoding unit 202 decodes the slice image data input from the receiving unit 201. The decoding unit 202 outputs the decoded slice image data to the image composition unit 203. The decoding unit 202 discards the slice image data in which the decoding error has occurred and decodes the decoding error when a decoding error due to inability to decode occurs during decoding and the decoding process cannot be continued. Is notified to the transmission unit 205.
復号化部202は、復号化したスライス画像データに付随している、スライス領域を特定するための特定情報を、画像合成部203に出力する。また、復号化部202は、復号化中に復号化エラーが発生した場合、復号化エラーが発生したスライス画像データを含むフレームに付随している特定情報を、送信部205に出力する。 The decoding unit 202 outputs, to the image synthesis unit 203, identification information for identifying a slice region that is attached to the decoded slice image data. Also, when a decoding error occurs during decoding, the decoding unit 202 outputs, to the transmission unit 205, specific information associated with a frame including slice image data in which the decoding error has occurred.
画像合成部203は、復号化部202から入力されたスライス画像データと、復号化部202から当該スライス画像データの入力を受けた際に表示していた表示画像データとの合成を行う。画像合成部203は、スライス画像データと表示画像データとを合成するためのバッファを有する。 The image synthesis unit 203 synthesizes the slice image data input from the decoding unit 202 and the display image data displayed when the slice image data is input from the decoding unit 202. The image synthesis unit 203 has a buffer for synthesizing slice image data and display image data.
例えば、画像合成部203は、復号化部202から入力された特定情報に基づいて、表示画像の領域におけるスライス領域を特定する。画像合成部203は、表示画像におけるスライス領域のみを更新することで合成を行う。なお、画像合成部203は、合成後の画像データに対して、輝度、コントラスト、階調、及び色度の調整による画像処理を行う。画像合成部203は、合成後の画像データ又は画像処理後の画像データに基づく画像を表示部204に出力する。 For example, the image composition unit 203 identifies a slice region in the display image region based on the identification information input from the decoding unit 202. The image composition unit 203 performs composition by updating only the slice area in the display image. Note that the image composition unit 203 performs image processing by adjusting brightness, contrast, gradation, and chromaticity on the combined image data. The image composition unit 203 outputs an image based on the image data after composition or the image data after image processing to the display unit 204.
表示部204は、フレームバッファ及び表示パネルを有し、画像合成部203から入力された画像データをフレームバッファに格納する。そして、所定のリフレッシュレートで画像データを読み出して表示パネルに表示する。表示パネルは、例えば、液晶パネル、有機ELパネル等を有する。 The display unit 204 includes a frame buffer and a display panel, and stores the image data input from the image composition unit 203 in the frame buffer. Then, the image data is read out at a predetermined refresh rate and displayed on the display panel. The display panel includes, for example, a liquid crystal panel, an organic EL panel, and the like.
送信部205は、復号化部202における復号化処理において復号化エラーが発生した場合に、ケーブル150内のAUXチャネル線を介して、電子機器100に、復号化エラーを起こしたスライス画像データの再送要求を出力する。送信部205は、復号化部202から入力された特定情報を含む再送要求を出力する。 When a decoding error occurs in the decoding process in the decoding unit 202, the transmission unit 205 retransmits the slice image data in which the decoding error has occurred to the electronic device 100 via the AUX channel line in the cable 150. Output the request. The transmission unit 205 outputs a retransmission request including specific information input from the decoding unit 202.
操作部206は、ユーザからの操作を受けるスイッチである。
制御部207は、操作部206が受けたユーザ指示に応じて、表示装置200の各構成要素を制御する。ユーザ指示は、例えば画像処理に関する指示である。制御部207は、画像処理に関する指示を受けると、画像合成部203に対して、合成した画像に対する画像処理を指示する。
The operation unit 206 is a switch that receives an operation from the user.
The control unit 207 controls each component of the display device 200 according to a user instruction received by the operation unit 206. The user instruction is, for example, an instruction related to image processing. Upon receiving an instruction regarding image processing, the control unit 207 instructs the image composition unit 203 to perform image processing on the synthesized image.
図5から図8を参照して、電子機器100から表示装置200に送信されるスライス画像データの構成について説明する。図5は、1フレームの全ての領域内の画像データを含むスライス画像データAの構成を説明するための図である。図6は、スライス画像データAと表示画面との関係を説明するための図である。図7は、1フレームの一部の領域内の画像データを含むスライス画像データBの構成を説明するための図である。図8は、スライス画像データBと表示画面との関係を説明するための図である。 With reference to FIGS. 5 to 8, the configuration of slice image data transmitted from the electronic device 100 to the display device 200 will be described. FIG. 5 is a diagram for explaining a configuration of slice image data A including image data in all areas of one frame. FIG. 6 is a diagram for explaining the relationship between the slice image data A and the display screen. FIG. 7 is a diagram for explaining the configuration of slice image data B including image data in a partial area of one frame. FIG. 8 is a diagram for explaining the relationship between the slice image data B and the display screen.
図5〜図8におけるVFPは、垂直フレーム期間である。VBPは、垂直ブランキング期間である。ALPは、アクティブライン期間である。HLPは、水平ライン期間である。HBPは、水平ブランキング期間である。APPは、アクティブピクセル期間である。 VFP in FIGS. 5 to 8 is a vertical frame period. VBP is a vertical blanking period. ALP is an active line period. HLP is a horizontal line period. HBP is a horizontal blanking period. APP is an active pixel period.
図5に示すように、スライス画像データAは、ブランキング期間の開始を示すBS信号560、ブランキング期間の終了を示すBE信号570、画像データ580及び特定情報590から構成されている。特定情報590は、画像データ580の解像度、開始ライン番号、終了ライン番号、開始ピクセル番号、終了ピクセル番号、DSC符号化の有無、スライス転送の有無を示す情報を少なくとも含んでいる。 As shown in FIG. 5, the slice image data A includes a BS signal 560 indicating the start of a blanking period, a BE signal 570 indicating the end of the blanking period, image data 580, and specific information 590. The identification information 590 includes at least information indicating the resolution of the image data 580, the start line number, the end line number, the start pixel number, the end pixel number, the presence / absence of DSC encoding, and the presence / absence of slice transfer.
画像データ580が4K2Kの映像データに対応している場合、解像度は4096×2160である。また、図6に示すように、画像データ580が表示装置200の表示画面の全領域に対応する場合、特定情報590に含まれる画像データ580の開始ライン番号は「0」、画像データ580の終了ライン番号は「2159」である。同様に、開始ピクセル番号は「0」、終了ピクセル番号は「4095」、DSC符号化は「無」、スライス転送は「無」である。 When the image data 580 corresponds to 4K2K video data, the resolution is 4096 × 2160. As shown in FIG. 6, when the image data 580 corresponds to the entire area of the display screen of the display device 200, the start line number of the image data 580 included in the specific information 590 is “0”, and the end of the image data 580 The line number is “2159”. Similarly, the start pixel number is “0”, the end pixel number is “4095”, the DSC encoding is “none”, and the slice transfer is “none”.
図7に示すスライス画像データBも、図5に示したスライス画像データAと同様に、ブランキング期間の開始を示すBS信号561、ブランキング期間の終了を示すBE信号571、画像データ581及び特定情報591から構成されている。特定情報591は、画像データ581の解像度、開始ライン番号、終了ライン番号、開始ピクセル番号、終了ピクセル番号、DSC符号化の有無、スライス転送の有無を示す情報を少なくとも含んでいる。特定情報591は、スライス画像データBに対応するスライス領域を特定するための特定情報として用いられる。 Similarly to the slice image data A shown in FIG. 5, the slice image data B shown in FIG. 7 also includes a BS signal 561 indicating the start of the blanking period, a BE signal 571 indicating the end of the blanking period, the image data 581, and the identification. It consists of information 591. The identification information 591 includes at least information indicating the resolution of the image data 581, the start line number, the end line number, the start pixel number, the end pixel number, the presence / absence of DSC encoding, and the presence / absence of slice transfer. The specific information 591 is used as specific information for specifying a slice region corresponding to the slice image data B.
図7に示したスライス画像データBにおける画像データ581の位置は、図5に示したスライス画像データAにおける画像データ580の位置と異なっている。例えば、画像データ580が、BE信号570とBS信号560との間の期間を占めていたのに対して、画像データ581は、BE信号571とBS信号561との間の期間の一部の期間にのみ含まれている。 The position of the image data 581 in the slice image data B shown in FIG. 7 is different from the position of the image data 580 in the slice image data A shown in FIG. For example, the image data 580 occupied a period between the BE signal 570 and the BS signal 560, whereas the image data 581 is a partial period between the BE signal 571 and the BS signal 561. Only included.
図8には、スライス画像データAにおける画像データ580の領域(破線で囲まれた領域)と、スライス画像データBにおける画像データ581の領域とを示している。画像データ581が、表示装置200の表示画面の一部の領域に対応していることがわかる。 FIG. 8 shows an area of the image data 580 in the slice image data A (area surrounded by a broken line) and an area of the image data 581 in the slice image data B. It can be seen that the image data 581 corresponds to a partial area of the display screen of the display device 200.
画像データ581が4K2Kの映像データに対応している場合、解像度は4096×2160である。また、画像データ581が、図8に示すように表示画面の一部の領域に対応する場合、例えば、特定情報591に含まれる画像データ581の開始ライン番号は「400」、 画像データ581の終了ライン番号は「1479」である。同様に、開始ピクセル番号は「2048」、終了ピクセル番号は「3967」、DSC符号化は「有」、スライス転送は「有」である。 When the image data 581 corresponds to 4K2K video data, the resolution is 4096 × 2160. When the image data 581 corresponds to a partial area of the display screen as shown in FIG. 8, for example, the start line number of the image data 581 included in the specific information 591 is “400”, and the end of the image data 581 The line number is “1479”. Similarly, the start pixel number is “2048”, the end pixel number is “3967”, the DSC encoding is “Yes”, and the slice transfer is “Yes”.
続いて、実施形態1における復号化エラー復帰処理について説明する。
図9は、スライス画像データの復号化中に復号化エラーが発生した場合に電子機器100及び表示装置200で行われる処理を説明するためのフローチャートである。
Next, the decoding error return process in the first embodiment will be described.
FIG. 9 is a flowchart for explaining processing performed in the electronic device 100 and the display device 200 when a decoding error occurs during the decoding of slice image data.
表示装置200の復号化部202は、受信部201から入力されたスライス画像データの復号化中に復号不能による復号化エラーが発生したことを検知した場合は、復号化中のスライス画像データを破棄する(S100)。その後、復号化部202は、特定情報591に含まれる情報に基づいて、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含むかどうかを判定する(S101)。ここで、復号化部202は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含む場合(S101でYes)、送信部205を介して、1フレーム分の画像データの再送を要求する。復号化部202は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含まない場合(S101でNo)、特定情報591と復号化エラーの発生を検知したことを示す情報とを送信部205に通知する。 When the decoding unit 202 of the display device 200 detects that a decoding error has occurred due to inability to decode during decoding of the slice image data input from the receiving unit 201, the decoding unit 202 discards the slice image data being decoded. (S100). Thereafter, the decoding unit 202 determines whether or not the slice image data in which the decoding error has occurred includes image data for one frame, based on the information included in the specific information 591 (S101). Here, when the slice image data in which the decoding error has occurred includes image data for one frame (Yes in S101), the decoding unit 202 retransmits the image data for one frame via the transmission unit 205. Request. When the slice image data in which the decoding error has occurred does not include image data for one frame (No in S101), the decoding unit 202 receives the identification information 591 and information indicating that the decoding error has been detected. Notify the transmission unit 205.
送信部205は、特定情報591と復号化エラーの発生を検知したことを示す情報とを受け取った場合、電子機器100に対して、復号化エラーが発生したスライス画像データのスライス領域を特定するための特定情報を含んだ再送要求を送信する(S102)。送信部205は、例えば、特定情報として特定情報591を含む再送要求を送信する。 When the transmission unit 205 receives the identification information 591 and information indicating that a decoding error has been detected, the transmission unit 205 specifies the slice area of the slice image data in which the decoding error has occurred, to the electronic device 100. The retransmission request including the specific information is transmitted (S102). For example, the transmission unit 205 transmits a retransmission request including the specific information 591 as the specific information.
電子機器100の受信部107は、送信部205から再送要求を受信した場合は、特定情報により特定されたスライス領域を示すエラースライス領域情報を、領域決定部103に入力する(S103)。その後、領域決定部103は、差分抽出部102から、次に転送するフレームの差分情報を取得する(S104)。領域決定部103は、S103において取得したエラースライス領域情報が示すエラースライス領域と、S104で取得した差分情報が示す差分領域との両方の領域を包含する領域を、新たなフレームから切り出す合成スライス領域に決定する(S105)。 When receiving the retransmission request from the transmission unit 205, the reception unit 107 of the electronic device 100 inputs error slice region information indicating the slice region specified by the specific information to the region determination unit 103 (S103). Thereafter, the area determination unit 103 acquires difference information of the next frame to be transferred from the difference extraction unit 102 (S104). The area determination unit 103 extracts a region including both the error slice area indicated by the error slice area information acquired in S103 and the difference area indicated by the difference information acquired in S104 from a new frame. (S105).
スライス画像データ生成部104は、領域決定部103から入力された合成スライス領域を示す情報に基づいて、差分抽出部102から入力されたフレームの画像データから、合成スライス領域内の画像データであるスライス画像データを生成する。スライス画像データ生成部104が生成したスライス画像データは、符号化部105で符号化され、送信部106を介して表示装置200へと送信される(S106)。領域決定部103は、S103において、再送要求に伴うエラースライス領域情報を取得しない場合、S104で取得した差分情報に基づく差分領域を合成スライス領域として、スライス画像データを生成する。なお、隣接するフレーム間に差分がない場合、合成スライス領域には、エラースライス領域のみが含まれる。 The slice image data generation unit 104, based on the information indicating the composite slice region input from the region determination unit 103, from the image data of the frame input from the difference extraction unit 102, slices that are image data in the composite slice region Generate image data. The slice image data generated by the slice image data generation unit 104 is encoded by the encoding unit 105 and transmitted to the display device 200 via the transmission unit 106 (S106). If the error slicing area information associated with the retransmission request is not acquired in S103, the area determining unit 103 generates slice image data using the difference area based on the difference information acquired in S104 as a combined slice area. Note that when there is no difference between adjacent frames, only the error slice area is included in the combined slice area.
続いて、表示装置200の受信部201は、送信部106が送信したスライス画像データを受信する(S107)。表示装置200は、受信したスライス画像データを復号化して表示部204に表示することで、エラースライス領域の画像を新たなフレームにおける画像に更新することができる。 Subsequently, the reception unit 201 of the display device 200 receives the slice image data transmitted by the transmission unit 106 (S107). The display device 200 can update the image in the error slice area to an image in a new frame by decoding the received slice image data and displaying it on the display unit 204.
図10は、表示装置200における表示画像の遷移の例を説明するための図である。図10(a)は、復号化エラーが発生していない場合の表示画像の遷移の例を示しており、図10(b)は、復号化エラーが発生した場合の表示画像の遷移の例を示している。 FIG. 10 is a diagram for explaining an example of display image transition in the display device 200. FIG. 10A shows an example of display image transition when no decoding error occurs, and FIG. 10B shows an example of display image transition when a decoding error occurs. Show.
図10(a)は、表示画像がT100からT103まで遷移する間に、自動車の画像が右向きに移動している様子を示している。これに対して、図10(b)においては、T111で表示させるスライス画像データV101の復号化中に復号化エラーが発生したことにより、表示画像T111には、表示画像T110と同じスライス画像データV100が表示されている。 FIG. 10A shows a state where the image of the automobile is moving rightward while the display image transitions from T100 to T103. On the other hand, in FIG. 10B, a decoding error has occurred during decoding of the slice image data V101 to be displayed at T111, so that the display image T111 has the same slice image data V100 as the display image T110. Is displayed.
続いて、表示画像T112においては、表示装置200が新たに受信したスライス画像データV102が表示されている。スライス画像データV102は、図10(a)における表示画像T111と表示画像T112との間で差分がない領域を含まない。したがって、表示画像T112の左端には、スライス画像データV101の一部が消えないで残留したまま表示されている。 Subsequently, in the display image T112, the slice image data V102 newly received by the display device 200 is displayed. The slice image data V102 does not include an area where there is no difference between the display image T111 and the display image T112 in FIG. Therefore, a part of the slice image data V101 is displayed on the left end of the display image T112 without being erased.
その後、表示装置200が、エラースライス領域と差分領域とが合成された領域を含むスライス画像データV104を受信した場合は、表示画像T113に示すように、表示画像T112に残留していたスライス画像データV101の一部が上書きされる。その結果、図10(b)における表示画像T113には、図10(a)における表示画像T103と同じ画像が表示される。 After that, when the display device 200 receives the slice image data V104 including the region where the error slice region and the difference region are combined, as shown in the display image T113, the slice image data remaining in the display image T112. A part of V101 is overwritten. As a result, the same image as the display image T103 in FIG. 10A is displayed on the display image T113 in FIG.
以上説明したように、実施形態1における電子機器100は、隣接するフレーム間の差分に基づいて決定されたスライス領域に対応するスライス画像データを圧縮符号化して、表示装置200にスライス転送する。そして、圧縮符号化されたスライス画像データの復号化中に復号化エラーが発生しても、電子機器100が、復号化エラーが発生したスライス画像データに対応するスライス領域を含む新たなスライス画像データを転送することができる。これにより、復号化エラー発生時の表示遅延を短時間で解消して復帰することができる。このように、実施形態1における表示システム1は、高画質の画像を表示させるとともに、復号化エラー発生時の表示遅延を抑制することができる。 As described above, the electronic device 100 according to the first embodiment compresses and encodes the slice image data corresponding to the slice area determined based on the difference between adjacent frames, and transfers the slice image data to the display device 200. Then, even if a decoding error occurs during decoding of the compression-encoded slice image data, the electronic device 100 can generate new slice image data including a slice area corresponding to the slice image data in which the decoding error has occurred. Can be transferred. As a result, the display delay when the decoding error occurs can be eliminated and restored in a short time. As described above, the display system 1 according to the first embodiment can display a high-quality image and suppress a display delay when a decoding error occurs.
[実施形態2]
実施形態1においては、表示装置200が受信したスライス画像データの復号化中に復号化エラーが発生した場合、電子機器100は、合成スライス領域に対応するスライス画像データを表示装置200に対して送信した。ここで、合成スライス領域は、新たなフレームと直前のフレームとの間の差分領域と、エラースライス領域とを含む。しかしながら、合成スライス領域が大き過ぎると、圧縮率を高くする必要があるので、画質の劣化が許容範囲を超えてしまう場合がある。そこで、実施形態2においては、電子機器100が、合成スライス領域のサイズに基づいて異なる処理を行う点で実施形態1と異なる。ここで、実施形態2における「スライス領域のサイズ」として、例えば「スライス領域に含まれる画素数」を用いることができる。
[Embodiment 2]
In the first embodiment, when a decoding error occurs during the decoding of the slice image data received by the display device 200, the electronic device 100 transmits slice image data corresponding to the combined slice region to the display device 200. did. Here, the composite slice area includes a difference area between the new frame and the previous frame, and an error slice area. However, if the combined slice area is too large, it is necessary to increase the compression rate, so that the image quality degradation may exceed the allowable range. Therefore, the second embodiment is different from the first embodiment in that the electronic device 100 performs different processing based on the size of the combined slice area. Here, as the “size of the slice area” in the second embodiment, for example, “the number of pixels included in the slice area” can be used.
例えば、合成スライス領域のサイズが、画質の劣化が許容される所定のサイズ以下である場合、領域決定部103は、合成スライス領域を、新たなフレームから切り出す領域に決定する。スライス画像データ生成部104は、合成スライス領域内の画像データであるスライス画像データを生成する。他方で、合成スライス領域が、画質の劣化が許容される所定のサイズよりも大きい場合、領域決定部103は、合成スライス領域のうち、エラースライス領域の少なくとも一部を含む所定のサイズの領域を、新たなフレームから切り出す領域に決定する。スライス画像データ生成部104は、レームの画像データから、所定のサイズの領域内の画像データであるスライス画像データを生成する。 For example, when the size of the synthesized slice area is equal to or smaller than a predetermined size that allows image quality degradation, the area determining unit 103 determines the synthesized slice area as an area to be cut out from a new frame. The slice image data generation unit 104 generates slice image data that is image data in the combined slice region. On the other hand, when the synthesized slice area is larger than a predetermined size that allows image quality degradation, the area determination unit 103 selects an area of a predetermined size that includes at least a part of the error slice area from among the synthesized slice areas. The region to be cut out from the new frame is determined. The slice image data generation unit 104 generates slice image data, which is image data within an area of a predetermined size, from the frame image data.
領域決定部103は、所定のサイズの領域を、新たなフレームから切り出す領域に決定した場合、合成スライス領域のうち、所定のサイズの領域に含まれなかった領域(以下、残スライス領域という)を求める。そして、領域決定部103は、残スライス領域に含まれる差分領域を包含する矩形領域を、新たな合成スライス領域に決定する。領域決定部103は、新たな合成スライス領域が所定のサイズ以下になるまでこの処理を繰り返すことにより、復号化エラー復帰時の処理において再送するエラースライス領域を含むスライス画像データの画質の劣化を抑制することができる。 When the area determining unit 103 determines an area of a predetermined size as an area to be cut out from a new frame, an area that is not included in the area of the predetermined size among the synthesized slice areas (hereinafter referred to as a remaining slice area). Ask. Then, the region determination unit 103 determines a rectangular region including the difference region included in the remaining slice region as a new combined slice region. The area determination unit 103 repeats this process until the new combined slice area is equal to or smaller than a predetermined size, thereby suppressing deterioration in the image quality of the slice image data including the error slice area to be retransmitted in the decoding error recovery process. can do.
図11は、実施形態2における電子機器100及び表示装置200で行われる処理を説明するためのフローチャートである。図11におけるS200〜S204は、図9におけるS100〜S104と同様の処理である。そこで、ここではS205以降の処理を説明する。 FIG. 11 is a flowchart for explaining processing performed by the electronic device 100 and the display device 200 according to the second embodiment. S200 to S204 in FIG. 11 are the same processes as S100 to S104 in FIG. Therefore, here, the processing after S205 will be described.
S205において、領域決定部103は、S203で取得したエラースライス領域と、S204で取得した差分領域とを包含する領域を、新たな合成スライス領域として仮に決定する。また、後述のS211の処理が実行されている場合、領域決定部103は、S211で求めた残スライス領域と、S204で取得した差分領域とを包含する領域を、新たな合成スライス領域として仮に決定する(S205)。 In S205, the region determination unit 103 temporarily determines a region including the error slice region acquired in S203 and the difference region acquired in S204 as a new combined slice region. In addition, when the processing of S211 described later is performed, the region determination unit 103 temporarily determines a region including the remaining slice region obtained in S211 and the difference region acquired in S204 as a new composite slice region. (S205).
続いて、領域決定部103は、S205で求めた仮の合成スライス領域と、所定のサイズとの比較を行う(S206)。所定のサイズは、出力解像度及び出力フレームレート毎に予め設定されており、圧縮符号化による画質劣化が許容できるサイズである。 Subsequently, the region determination unit 103 compares the provisional composite slice region obtained in S205 with a predetermined size (S206). The predetermined size is set in advance for each output resolution and output frame rate, and is a size that can allow image quality deterioration due to compression coding.
図12は、出力解像度及び出力フレームレートと所定のサイズとの関係を説明するための表である。解像度が8K4Kであり、フレームレートが60Hzである場合、所定のサイズがD1である。解像度が8K4Kであり、フレームレートが50Hzである場合、所定のサイズがD2である。解像度が4K2Kであり、フレームレートが60Hzである場合、所定のサイズがD3である。 FIG. 12 is a table for explaining the relationship between the output resolution and output frame rate and a predetermined size. When the resolution is 8K4K and the frame rate is 60 Hz, the predetermined size is D1. When the resolution is 8K4K and the frame rate is 50 Hz, the predetermined size is D2. When the resolution is 4K2K and the frame rate is 60 Hz, the predetermined size is D3.
所定のサイズは、出力解像度及び出力フレームレートに加えて、信号フォーマット(RGBもしくはYUV)やサンプリングレート(4:4:4もしくは4:2:2)等の組合せによって、さらに細分化してもよい。また、所定のサイズは、操作部108からのユーザ指示を受けて、変更可能にしてもよい。 The predetermined size may be further subdivided by a combination of a signal format (RGB or YUV), a sampling rate (4: 4: 4 or 4: 2: 2) in addition to the output resolution and the output frame rate. Further, the predetermined size may be changed in response to a user instruction from the operation unit 108.
図11に戻り、S206において、合成スライス領域が所定のサイズ以下の場合(S206でYes)、領域決定部103は、S205で仮決定した合成スライス領域を、新たなフレームから切り出す領域に決定する。そして、領域決定部103は、当該合成スライス領域を特定するための合成領域情報をスライス画像データ生成部104に通知する(S207)。スライス画像データ生成部104は、領域決定部103から入力された合成領域情報に基づいて、差分抽出部102から入力されたフレームの画像データから、合成スライス領域内の画像データであるスライス画像データを生成する。生成されたスライス画像データは、符号化部105で符号化され、送信部106を介して表示装置200へと送信される(S208)。 Returning to FIG. 11, in S206, when the synthesized slice area is equal to or smaller than the predetermined size (Yes in S206), the area determining unit 103 determines the synthesized slice area temporarily determined in S205 as an area to be cut out from a new frame. Then, the region determination unit 103 notifies the slice image data generation unit 104 of composite region information for specifying the composite slice region (S207). The slice image data generation unit 104 generates slice image data that is image data in the combined slice region from the image data of the frame input from the difference extraction unit 102 based on the combined region information input from the region determination unit 103. Generate. The generated slice image data is encoded by the encoding unit 105 and transmitted to the display device 200 via the transmission unit 106 (S208).
S206において、仮のスライス領域が所定のサイズよりも大きい場合(S206でNo)、領域決定部103は、仮の合成スライス領域のうち、エラースライス領域を含む所定のサイズの領域を新たな合成スライス領域に決定する。領域決定部103は、決定した領域を特定するための情報をスライス画像データ生成部104に通知する(S209)。 In S206, when the temporary slice area is larger than the predetermined size (No in S206), the area determination unit 103 sets a predetermined size area including the error slice area as a new composite slice from the temporary composite slice area. Decide on an area. The region determination unit 103 notifies the slice image data generation unit 104 of information for specifying the determined region (S209).
スライス画像データ生成部104は、領域決定部103から入力された合成スライス領域情報に基づいて、差分抽出部102から入力されたフレームの画像データから、所定のサイズの領域内の画像データであるスライス画像データを生成する。生成されたスライス画像データは、符号化部105で符号化され、送信部106を介して表示装置200に送信される(S210)。 The slice image data generation unit 104 is a slice that is image data in an area of a predetermined size from the image data of the frame input from the difference extraction unit 102 based on the combined slice area information input from the area determination unit 103. Generate image data. The generated slice image data is encoded by the encoding unit 105 and transmitted to the display device 200 via the transmission unit 106 (S210).
その後、領域決定部103は、仮のスライス領域から所定のサイズを差し引いた残スライス領域を求める(S211)。領域決定部103が残スライス領域を求めると、S204に戻って、S204以降の処理を継続する。 Thereafter, the area determination unit 103 obtains a remaining slice area obtained by subtracting a predetermined size from the temporary slice area (S211). When the area determination unit 103 obtains the remaining slice area, the process returns to S204, and the processes after S204 are continued.
図13は、表示装置200における表示画像の遷移の例を説明するための図である。図13(a)は、合成スライス領域のサイズが所定のサイズ以下である場合の表示画像の遷移を示している。図13(b)は、合成スライス領域のサイズが所定のサイズより大きい場合の表示画像の遷移を示している。 FIG. 13 is a diagram for explaining an example of display image transition in the display device 200. FIG. 13A shows the transition of the display image when the size of the combined slice area is equal to or smaller than a predetermined size. FIG. 13B shows the transition of the display image when the size of the composite slice area is larger than a predetermined size.
図13(a)及び図13(b)における表示画像T200には、復号化後のスライス画像データV200が表示されている。その後、表示画像T201に表示されるべきスライス画像データV201を復号化中に復号化エラーが発生したとする。この場合、スライス画像データV201は破棄され、表示画像T201にはスライス画像データV201が表示されず、表示画像T200と同じくスライス画像データV200が表示される。 In the display image T200 in FIGS. 13A and 13B, the slice image data V200 after decoding is displayed. Thereafter, it is assumed that a decoding error has occurred during decoding of the slice image data V201 to be displayed on the display image T201. In this case, the slice image data V201 is discarded, the slice image data V201 is not displayed on the display image T201, and the slice image data V200 is displayed in the same manner as the display image T200.
スライス画像データV201の復号化中に復号化エラーが発生した後の処理は、後続のフレームにおける差分領域の大きさによって異なってくる。図13(a)に示すように、画像の動きが小さく、仮の合成スライス領域が所定のサイズより小さい場合、実施形態1と同様に、電子機器100は、合成スライス領域に対応するスライス画像データV202を表示装置200に送信する。表示装置200は、表示画像T202に示すように、スライス画像データV202を表示することにより、スライス画像データV200の残像が消える。 Processing after a decoding error occurs during decoding of the slice image data V201 differs depending on the size of the difference area in the subsequent frame. As illustrated in FIG. 13A, when the motion of the image is small and the temporary combined slice area is smaller than the predetermined size, the electronic device 100 uses the slice image data corresponding to the combined slice area as in the first embodiment. V202 is transmitted to the display device 200. As shown in the display image T202, the display device 200 displays the slice image data V202, whereby the afterimage of the slice image data V200 disappears.
他方、図13(b)においては、表示画像T212に示すように、図13(a)に比べて画像の動きが大きく、仮の合成スライス領域に対応するスライス画像データV212のサイズが、所定のサイズよりも大きい。このような場合、電子機器100は、表示画像T213に示すように、エラースライス領域を含む所定のサイズの領域を合成スライス領域として、所定のサイズの合成スライス領域を含むスライス画像データV213を表示装置200に送信する。 On the other hand, in FIG. 13B, as shown in the display image T212, the movement of the image is larger than that in FIG. 13A, and the size of the slice image data V212 corresponding to the temporary composite slice region is a predetermined value. Greater than size. In such a case, as shown in the display image T213, the electronic device 100 uses the area having a predetermined size including the error slice area as a composite slice area, and displays the slice image data V213 including the composite slice area having the predetermined size as a display device. 200.
その後、電子機器100は、スライス画像データV212からスライス画像データV213を取り除いた後の逆L字型の残スライス領域に含まれる、直前のフレームとの間で差分が生じていた差分領域を包含する矩形領域を特定する。電子機器100は、特定した矩形領域を、最新画像に復帰するために必要な合成スライス領域に決定し、当該合成スライス領域のサイズを所定のサイズと比較する。合成スライス領域が所定のサイズ以下である場合、電子機器100は、当該合成スライス領域に基づいてスライス画像データV214を生成する。表示装置200は、表示画像T213及び表示画像T214に示すように、スライス画像データV213を表示した後にスライス画像データV214を表示することにより、画像の表示遅延が解消される。 Thereafter, electronic device 100 includes a difference area in which a difference has occurred with the immediately preceding frame, which is included in the remaining inverted L-shaped slice area after removing slice image data V213 from slice image data V212. Specify a rectangular area. The electronic device 100 determines the identified rectangular area as a composite slice area necessary for returning to the latest image, and compares the size of the composite slice area with a predetermined size. When the synthesized slice area is equal to or smaller than the predetermined size, the electronic device 100 generates slice image data V214 based on the synthesized slice area. As shown in the display image T213 and the display image T214, the display device 200 displays the slice image data V214 after displaying the slice image data V213, thereby eliminating the image display delay.
以上説明したように、実施形態2における表示システム1は、復号化エラー復帰のためのスライス画像データを電子機器100から表示装置200に送信する際に、スライス画像データのサイズを所定のサイズ以下に制限する。したがって、表示システム1は、動きが速い画像を表示する場合であっても、圧縮符号化に伴う画質の劣化を低減することができる。 As described above, when the display system 1 according to the second embodiment transmits slice image data for recovery from a decoding error from the electronic device 100 to the display device 200, the size of the slice image data is set to a predetermined size or less. Restrict. Therefore, the display system 1 can reduce image quality deterioration due to compression encoding even when displaying a fast moving image.
[実施形態3]
図14は、実施形態3における電子機器300の構成を説明するための図である。実施形態1における電子機器100は、スライス画像データの復号化中に復号化エラーが発生した場合に、エラースライス領域を含むスライス画像データを送信した。これに対して、電子機器300は、復号化エラー発生後に再生する予定の所定数のフレームにおいてエラースライス領域が全て更新される場合に、復号化エラー復帰のための再送要求に対する処理を実施しないという点で、電子機器100と異なる。以下、実施形態1と相違する点について説明する。
[Embodiment 3]
FIG. 14 is a diagram for explaining the configuration of the electronic apparatus 300 according to the third embodiment. The electronic device 100 according to the first embodiment transmits slice image data including an error slice area when a decoding error occurs during decoding of slice image data. On the other hand, the electronic device 300 does not perform the process for the retransmission request for recovery from the decoding error when all the error slice areas are updated in a predetermined number of frames to be reproduced after the decoding error occurs. This is different from the electronic device 100 in that respect. Hereinafter, differences from the first embodiment will be described.
電子機器300は、電子機器100の構成に加え、新たに映像データを一時的に記憶する第1のメモリ310、及び差分情報を一時的に記憶する第2のメモリ311を有する。記憶装置301、符号化部305、送信部306、受信部307、操作部308及び制御部309は、それぞれ記憶装置101、符号化部105、送信部106、受信部107、操作部108及び制御部109と同等の機能を有する。 In addition to the configuration of the electronic device 100, the electronic device 300 includes a first memory 310 that temporarily stores video data and a second memory 311 that temporarily stores difference information. The storage device 301, the encoding unit 305, the transmission unit 306, the reception unit 307, the operation unit 308, and the control unit 309 are the storage device 101, the encoding unit 105, the transmission unit 106, the reception unit 107, the operation unit 108, and the control unit, respectively. 109 has the same function.
差分抽出部302は、差分抽出部102と同様に、記憶装置301からフレーム単位で映像データを読み出し、隣接するフレーム間の差分を抽出する。差分抽出部302は、記憶装置301から読み出したフレームを、第1のメモリ310に順次出力する。また、差分抽出部302は、出力する予定のフレームの直後の所定数のフレームを先読みして、所定数のフレームに対応する差分情報を予め抽出して、第2のメモリ311に出力する。 Similar to the difference extraction unit 102, the difference extraction unit 302 reads out video data in units of frames from the storage device 301 and extracts differences between adjacent frames. The difference extraction unit 302 sequentially outputs the frames read from the storage device 301 to the first memory 310. Further, the difference extraction unit 302 pre-reads a predetermined number of frames immediately after a frame to be output, extracts in advance difference information corresponding to the predetermined number of frames, and outputs the difference information to the second memory 311.
第1のメモリ310は、差分抽出部302が出力した所定数以上のフレームの画像データを記憶する。第1のメモリ310は、記憶装置301と同様に、ハードディスク装置、半導体メモリ等である。
第2のメモリ311は、差分抽出部302が出力した所定数のフレームに対応する差分情報を記憶する。第2のメモリ311は、記憶装置301と同様に、ハードディスク装置、半導体メモリ等である。
The first memory 310 stores image data of a predetermined number or more frames output from the difference extraction unit 302. Similar to the storage device 301, the first memory 310 is a hard disk device, a semiconductor memory, or the like.
The second memory 311 stores difference information corresponding to a predetermined number of frames output from the difference extraction unit 302. Similar to the storage device 301, the second memory 311 is a hard disk device, a semiconductor memory, or the like.
領域決定部303は、第2のメモリ311に記憶されている所定数のフレームに対応する差分情報と、受信部307から取得した再送要求内の特定情報に含まれるエラースライス領域を示す情報とに基づいて、最終的なスライス領域を決定する。例えば、領域決定部303は、受信部307が再送要求を受信した後に送信部306から送信される予定の所定数のフレームに対応する複数のスライス領域を合わせた領域に、エラースライス領域の全てが含まれるか否かを判定する。領域決定部303は、決定したスライス領域を特定するためのスライス領域情報をスライス画像データ生成部304に通知する。 The area determination unit 303 converts the difference information corresponding to the predetermined number of frames stored in the second memory 311 and information indicating the error slice area included in the specific information in the retransmission request acquired from the reception unit 307. Based on this, the final slice area is determined. For example, the region determination unit 303 includes all error slice regions in a region in which a plurality of slice regions corresponding to a predetermined number of frames scheduled to be transmitted from the transmission unit 306 are received after the reception unit 307 receives a retransmission request. It is determined whether or not it is included. The region determination unit 303 notifies the slice image data generation unit 304 of slice region information for specifying the determined slice region.
領域決定部303が領域決定部103と異なる点は、エラースライス領域の全てが、複数のフレームの画像データに対応する複数の差分領域を合成した領域(以下、合成差分領域という)の中に包含されるかどうかを判定する点である。ここで、合成差分領域は、複数の差分領域のいずれかに含まれている全ての画素を含む領域である。合成差分領域は、例えば、複数の差分領域のいずれかに含まれている全ての画素を含む矩形の領域である。 The difference between the area determination unit 303 and the area determination unit 103 is that all error slice areas are included in an area obtained by combining a plurality of difference areas corresponding to image data of a plurality of frames (hereinafter referred to as a combined difference area). It is a point to determine whether or not. Here, the composite difference area is an area including all the pixels included in any of the plurality of difference areas. The combined difference area is, for example, a rectangular area that includes all pixels included in any of the plurality of difference areas.
領域決定部303は、エラースライス領域の少なくとも一部が、合成差分領域に含まれない場合、エラースライス領域と差分領域とを含む合成スライス領域を、フレームから切り出すスライス領域に決定する。領域決定部303は、エラースライス領域の全てが合成差分領域に含まれる場合、合成スライス領域を、フレームから切り出すスライス領域に決定しない。なお、映像データの最初のフレームを表示装置200に送信する場合、領域決定部303は、映像データの最初のフレームの全て領域をスライス領域に決定する。 When at least a part of the error slice region is not included in the composite difference region, the region determination unit 303 determines a composite slice region including the error slice region and the difference region as a slice region cut out from the frame. If all error slice areas are included in the combined difference area, the area determining unit 303 does not determine the combined slice area as a slice area cut out from the frame. When transmitting the first frame of the video data to the display device 200, the region determining unit 303 determines all the regions of the first frame of the video data as slice regions.
スライス画像データ生成部304は、領域決定部303から入力されたスライス領域情報に基づいて、第1のメモリ310から入力されたフレームの画像データから、スライス領域内の画像データを生成する。 The slice image data generation unit 304 generates image data in the slice region from the image data of the frame input from the first memory 310 based on the slice region information input from the region determination unit 303.
図15は、出力する予定のフレームの直後の所定数のフレームに基づいて合成差分領域を特定する処理を説明するためのフローチャートである。差分抽出部302は、送信部306から出力する予定のフレームの直後の所定数のフレームを、事前に記憶装置301から読み出して、各々隣接するフレーム間の差分に基づいて決定された差分領域を抽出する(S300)。そして、差分抽出部302は、抽出した差分領域を特定するための差分情報を第2のメモリ311に出力する。 FIG. 15 is a flowchart for explaining processing for specifying a composite difference area based on a predetermined number of frames immediately after a frame to be output. The difference extraction unit 302 reads a predetermined number of frames immediately after the frame scheduled to be output from the transmission unit 306 from the storage device 301 in advance, and extracts a difference region determined based on the difference between adjacent frames. (S300). Then, the difference extraction unit 302 outputs difference information for specifying the extracted difference area to the second memory 311.
また、差分抽出部302は、差分を抽出したフレームを、第1のメモリ310に出力する(S301)。その後、差分抽出部302は、送信部306からフレームが出力されるまで待機し(S302)、S302においてフレームが出力された後、再びS300に戻って処理を継続する。差分抽出部302が、上記のS300からS302までの動作を実行することにより、スライス画像データを出力したフレームの直後の所定数のフレーム間の差分情報が、第2のメモリ311に記憶される。 Further, the difference extraction unit 302 outputs the frame from which the difference is extracted to the first memory 310 (S301). Thereafter, the difference extraction unit 302 waits until a frame is output from the transmission unit 306 (S302). After the frame is output in S302, the process returns to S300 and continues the process. When the difference extraction unit 302 executes the operations from S300 to S302, difference information between a predetermined number of frames immediately after the frame from which the slice image data is output is stored in the second memory 311.
図16は、実施形態3における復号化エラー復帰処理を説明するためのフローチャートである。図16におけるS400〜S403は、図9におけるS100〜S103と同様の処理である。また、S407及びS408は、図9におけるS105及びS106と同様の処理である。ここではS404以降の処理を説明する。 FIG. 16 is a flowchart for explaining a decoding error return process in the third embodiment. S400 to S403 in FIG. 16 are the same processes as S100 to S103 in FIG. S407 and S408 are the same processes as S105 and S106 in FIG. Here, the processing after S404 will be described.
領域決定部303は、第2のメモリ311から、次に転送するフレームから所定数のフレームに対応する差分情報を取得する(S404)。その後、領域決定部303は、S404で取得した所定数のフレーム間の差分領域を合成した領域が、S403で取得した再送要求に含まれている特定情報が示すエラースライス領域を全て包含しているかどうかを比較する(S405)。領域決定部303は、比較した結果に基づいて、エラースライス領域が、後続の所定数のフレームにより更新されるか否かを判定する(S406)。 The area determining unit 303 acquires difference information corresponding to a predetermined number of frames from the next frame to be transferred from the second memory 311 (S404). After that, the area determination unit 303 combines all the error slice areas indicated by the specific information included in the retransmission request acquired in S403, by combining the difference areas between the predetermined number of frames acquired in S404. Compare whether or not (S405). Based on the comparison result, the region determination unit 303 determines whether or not the error slice region is updated by a predetermined number of subsequent frames (S406).
ここで、エラースライス領域の全てが、所定数の差分領域を合成した領域に包含されていない場合、領域決定部303は、図9のS105と同様の処理を行う(S407)。他方、エラースライス領域の全てが、所定数の差分領域を合成した領域に包含されている場合、領域決定部303は、次に転送するフレームの差分領域を、そのまま合成スライス領域として決定する(S409)。 Here, when all of the error slice areas are not included in the area obtained by combining the predetermined number of difference areas, the area determining unit 303 performs the same processing as S105 of FIG. 9 (S407). On the other hand, when all of the error slice areas are included in the area obtained by combining the predetermined number of difference areas, the area determining unit 303 determines the difference area of the next frame to be transferred as a combined slice area as it is (S409). ).
以上説明したように、実施形態3における表示システム1は、スライス画像データの復号化中に復号化エラーが発生した場合、復号化エラー発生後に再生する予定の所定数のフレームにより、エラースライス領域が更新されるか否かを判定する。そして、電子機器100は、エラースライス領域が、所定数のフレームにより更新される場合は、復号化エラー復帰のための再送要求に対する処理を実施しないようにする。また、電子機器100は、エラースライス領域が、所定数のフレームにより更新されない場合は、実施形態1と同様の処理を実施する。したがって、実施形態1に比べて、復号化エラー復帰の際の画質劣化を軽減することができる。なお、実施形態3は、既に録画されている映像データを再生する場合に有効である。 As described above, in the display system 1 according to the third embodiment, when a decoding error occurs during decoding of slice image data, the error slice region is determined by a predetermined number of frames to be reproduced after the decoding error occurs. It is determined whether or not it is updated. Then, when the error slice area is updated with a predetermined number of frames, electronic device 100 does not perform a process for a retransmission request for decoding error recovery. In addition, when the error slice area is not updated with a predetermined number of frames, the electronic device 100 performs the same processing as in the first embodiment. Therefore, compared with the first embodiment, it is possible to reduce image quality deterioration when decoding error is restored. The third embodiment is effective when playing back video data that has already been recorded.
[実施形態4]
図17は、実施形態4における表示装置400の構成を説明するための図である。実施形態1における表示装置200は、スライス画像データの復号化中に復号化エラーが発生した場合に、電子機器100に対して再送要求を送信した。これに対して、表示装置400は、復号化エラー発生後に再生する予定の所定数のフレームにおいてエラースライス領域が全て更新される場合に、再送要求を電子機器100に送信しないという点で、表示装置200と異なる。以下、実施形態1と相違する点について説明する。
[Embodiment 4]
FIG. 17 is a diagram for explaining the configuration of the display device 400 according to the fourth embodiment. The display device 200 according to the first embodiment transmits a retransmission request to the electronic device 100 when a decoding error occurs during decoding of slice image data. On the other hand, the display device 400 does not transmit a retransmission request to the electronic device 100 when all error slice areas are updated in a predetermined number of frames to be reproduced after a decoding error occurs. Different from 200. Hereinafter, differences from the first embodiment will be described.
表示装置400は、表示装置200の構成に加え、エラー領域監視部408を有する。受信部401、画像合成部403、表示部404、操作部406及び制御部407は、それぞれ受信部201、画像合成部203、表示部204、操作部206及び制御部207と同等の機能を有する。 The display device 400 includes an error area monitoring unit 408 in addition to the configuration of the display device 200. The reception unit 401, the image composition unit 403, the display unit 404, the operation unit 406, and the control unit 407 have functions equivalent to the reception unit 201, the image composition unit 203, the display unit 204, the operation unit 206, and the control unit 207, respectively.
復号化部402は、受信部401から入力されたスライス画像データが圧縮符号化されている場合、圧縮符号化されたスライス画像データの復号化を行う。復号化部402は、復号化したスライス画像データを画像合成部403に出力する。また、復号化部402は、復号化したスライス画像データのスライス領域を示す情報を、エラー領域監視部408に通知する。復号化部402は、復号化中に復号不能による復号化エラーが発生し、復号化処理を継続することができなくなった場合、復号化エラーが発生したスライス画像データを破棄するとともに、復号化エラーの発生を示す情報を、エラー領域監視部408に通知する。 When the slice image data input from the reception unit 401 is compression-encoded, the decoding unit 402 decodes the compression-encoded slice image data. The decoding unit 402 outputs the decoded slice image data to the image composition unit 403. Further, the decoding unit 402 notifies the error region monitoring unit 408 of information indicating the slice region of the decoded slice image data. The decoding unit 402 discards the slice image data in which the decoding error has occurred and decodes the decoding error when a decoding error due to inability to decode occurs during decoding and the decoding process cannot be continued. The error area monitoring unit 408 is notified of information indicating the occurrence of the error.
エラー領域監視部408は、スライス画像データに付随して送信された特定情報に基づいて、復号化部402が復号化したスライス画像データのスライス領域を示すスライス領域情報を取得する。エラー領域監視部408は、復号化部402における復号化中に復号化エラーが発生した場合、復号化エラーの発生を示す情報を受け取る。エラー領域監視部408は、復号化エラーの発生を示す情報を受け取った後、所定数のフレームのスライス領域情報を監視する。 The error region monitoring unit 408 acquires slice region information indicating the slice region of the slice image data decoded by the decoding unit 402 based on the specific information transmitted along with the slice image data. When a decoding error occurs during decoding in the decoding unit 402, the error area monitoring unit 408 receives information indicating that a decoding error has occurred. After receiving the information indicating the occurrence of the decoding error, the error area monitoring unit 408 monitors the slice area information of a predetermined number of frames.
例えば、エラー領域監視部408は、所定数のフレームに対応する複数のスライス領域を合成した領域の中に、復号化エラーが発生したスライス画像データのスライス領域であるエラースライス領域が包含されるかを判定する。エラー領域監視部408は、エラースライス領域が、所定数のフレームに対応する複数のスライス領域を合成した領域に包含されない場合に、復号化エラーの発生を示す情報を送信部405に通知する。 For example, the error region monitoring unit 408 includes an error slice region that is a slice region of slice image data in which a decoding error has occurred in a region obtained by combining a plurality of slice regions corresponding to a predetermined number of frames. Determine. The error region monitoring unit 408 notifies the transmission unit 405 of information indicating the occurrence of a decoding error when the error slice region is not included in a region obtained by combining a plurality of slice regions corresponding to a predetermined number of frames.
送信部405は、復号化エラーの発生を示す情報をエラー領域監視部408から受けると、ケーブル150内のAUXチャネル線を介して、復号化エラーが発生したスライス画像データの再送要求を電子機器100へと出力する。例えば、送信部405は、復号化エラーが発生したスライス画像データの後に伝送された所定数のスライス画像データに対応する複数のスライス領域にエラースライス領域の全てが含まれない場合に、再送要求を送信する。送信部405は、上記の複数のスライス領域にエラースライス領域の全てが含まれる場合に、再送要求を送信しない。 When the transmission unit 405 receives information indicating the occurrence of a decoding error from the error region monitoring unit 408, the transmission unit 405 sends a retransmission request for the slice image data in which the decoding error has occurred via the AUX channel line in the cable 150 to the electronic device 100. To output. For example, the transmission unit 405 issues a retransmission request when all of the error slice areas are not included in the plurality of slice areas corresponding to the predetermined number of slice image data transmitted after the slice image data in which the decoding error has occurred. Send. The transmission unit 405 does not transmit a retransmission request when all of the error slice areas are included in the plurality of slice areas.
図18は、表示装置400における復号化エラー復帰処理を説明するためのフローチャートである。
表示装置400の復号化部402は、復号化中に復号不能による復号化エラーが発生したことを検知した場合は、復号化中のスライス画像データを破棄する(S500)。その後、復号化部402は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含むか否かを判定する(S501)。
FIG. 18 is a flowchart for explaining decoding error recovery processing in the display device 400.
When the decoding unit 402 of the display device 400 detects that a decoding error has occurred due to inability to decode during decoding, the decoding unit 402 discards the slice image data being decoded (S500). Thereafter, the decoding unit 402 determines whether the slice image data in which the decoding error has occurred includes image data for one frame (S501).
復号化部402は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含む場合(S501でYes)、送信部405を介して、1フレーム分の画像データの再送を要求する。復号化部402は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含まない場合(S501でNo)、特定情報591と復号化エラーの発生を検知したことを示す情報とをエラー領域監視部408に通知する。この場合、復号化部402は、復号化エラーが発生したスライス画像データの特定情報に含まれているスライス領域情報もエラー領域監視部408に通知する。その後、復号化部402は、後続のフレームのスライス画像データを受信して、復号化を継続する(S502)。 When the slice image data in which the decoding error has occurred includes image data for one frame (Yes in S501), the decoding unit 402 requests retransmission of the image data for one frame via the transmission unit 405. When the slice image data in which the decoding error has occurred does not include image data for one frame (No in S501), the decoding unit 402 receives the specific information 591 and information indicating that the decoding error has been detected. The error area monitoring unit 408 is notified. In this case, the decoding unit 402 notifies the error region monitoring unit 408 of slice region information included in the specific information of the slice image data in which a decoding error has occurred. Thereafter, the decoding unit 402 receives the slice image data of the subsequent frame and continues decoding (S502).
エラー領域監視部408は、復号化エラーの発生を検知したことを示す情報を復号化部402から受け取った場合、それ以後、復号化部402が復号化した後続のフレームのスライス領域情報を受け取る。エラー領域監視部408は、復号化エラーが発生したフレームの特定情報に含まれているスライス領域情報に基づいて、エラースライス領域を特定する。エラー領域監視部408は、特定したエラースライス領域と、後続の所定数のフレームの複数のスライス領域とを比較する(S503)。 When the error region monitoring unit 408 receives information indicating that a decoding error has been detected from the decoding unit 402, the error region monitoring unit 408 thereafter receives slice region information of the subsequent frame decoded by the decoding unit 402. The error area monitoring unit 408 identifies an error slice area based on the slice area information included in the identification information of the frame in which the decoding error has occurred. The error area monitoring unit 408 compares the identified error slice area with a plurality of slice areas of a predetermined number of subsequent frames (S503).
後続の所定数のフレームの複数のスライス領域を合成した合成領域の中に、復号化エラーが発生したスライス画像データのエラースライス領域が全て包含されている場合(S504でYes)、エラー領域監視部408は、何もしないで処理を終了する。この場合、送信部405は、再送要求を電子機器100に送信しない。 When all of the error slice areas of the slice image data in which the decoding error has occurred are included in the combined area obtained by combining the plurality of slice areas of the subsequent predetermined number of frames (Yes in S504), the error area monitoring unit In step 408, the processing ends without doing anything. In this case, the transmission unit 405 does not transmit a retransmission request to the electronic device 100.
S504でNoの場合、エラー領域監視部408は、復号化エラー発生後に、復号化部402から所定数のフレームのスライス領域情報を受け取ったか否かを判定する(S505)。エラー領域監視部408は、所定数のフレームのスライス領域情報を受け取っていない場合は、S502に戻って処理を行う。 In the case of No in S504, the error region monitoring unit 408 determines whether slice region information of a predetermined number of frames has been received from the decoding unit 402 after the decoding error has occurred (S505). If the error area monitoring unit 408 has not received slice area information of a predetermined number of frames, the process returns to S502 and performs processing.
エラー領域監視部408は、所定数のフレームのスライス領域情報を受け取った場合、送信部405に、復号化エラーの発生を示す情報を送信部205に通知するとともに、復号化エラーが発生したフレームの特定情報を通知する。送信部205は、復号化エラーの発生を示す情報と特定情報とを受け取ると、電子機器100に対して、復号化エラーを起こしたスライス画像データのスライス領域の情報を含んだ再送要求を送信する(S506)。以後、電子機器100側の処理は、実施形態1における図9のS103〜S106と同様であるため、説明を割愛する。 When the error region monitoring unit 408 receives the slice region information of a predetermined number of frames, the error region monitoring unit 408 notifies the transmission unit 405 of information indicating the occurrence of the decoding error to the transmission unit 205 and the frame of the frame where the decoding error has occurred. Notify specific information. When receiving the information indicating the occurrence of the decoding error and the specific information, the transmission unit 205 transmits a retransmission request including information on the slice area of the slice image data in which the decoding error has occurred to the electronic device 100. (S506). Thereafter, the processing on the electronic device 100 side is the same as S103 to S106 in FIG.
図19は、表示装置400における表示画像の遷移の例を説明するための図である。表示画像T401に表示されるべきスライス画像データV401の復号化中に復号化エラーが発生したとする。後続の表示画像T402に表示されるスライスデータV402には、スライス画像データV401のスライス領域が含まれていない。しかし、その後、図19(a)に示す表示画像T403aにおいては、新たな物体が現れたことにより、スライス画像データV403aのスライス領域が、スライス画像データV401のスライス領域を包含している。 FIG. 19 is a diagram for explaining an example of display image transition in the display device 400. It is assumed that a decoding error has occurred during decoding of the slice image data V401 to be displayed on the display image T401. The slice data V402 displayed on the subsequent display image T402 does not include the slice area of the slice image data V401. However, after that, in the display image T403a shown in FIG. 19A, the slice area of the slice image data V403a includes the slice area of the slice image data V401 due to the appearance of a new object.
このように、図19(a)においては、復号化エラーが発生したスライス画像データV401のスライス領域が、後続の所定数のフレーム内のスライス画像データV403aに包含されるので、表示装置400は、再送要求を電子機器100に送信しない。他方、図19(b)の表示画像T403bに示すスライス画像データV403bのスライス領域においては、後続の所定数のフレーム内のスライス画像データのスライス領域を合成した領域に、スライス画像データV401のスライス領域が包含されない。したがって、表示装置400は、再送要求を電子機器100に送信する。 As described above, in FIG. 19A, the slice area of the slice image data V401 in which the decoding error has occurred is included in the slice image data V403a in the predetermined number of subsequent frames. The retransmission request is not transmitted to the electronic device 100. On the other hand, in the slice area of the slice image data V403b shown in the display image T403b of FIG. 19B, the slice area of the slice image data V401 is combined with the area obtained by combining the slice areas of the slice image data in the predetermined number of subsequent frames. Is not included. Therefore, the display device 400 transmits a retransmission request to the electronic device 100.
以上説明したように、実施形態4における表示装置400は、スライス画像データを復号化中に復号化エラーが発生した場合、その後に受信して復号化した所定数のフレームを監視する。表示装置400は、復号化エラーが発生したスライス画像データのスライス領域が、所定数のフレームにより更新される場合は、復号化エラー復帰のための再送要求を電子機器100に送信しない。また、表示装置400は、復号化エラーが発生したスライス画像データのスライス領域の少なくとも一部が更新されない場合に、実施形態1と同様に再送要求を電子機器100に送信する。したがって、表示装置400は、実施形態3と同様に、復号化エラー復帰の際の画質劣化を軽減することができる。 As described above, when a decoding error occurs during decoding of slice image data, the display device 400 according to the fourth embodiment monitors a predetermined number of frames received and decoded thereafter. When the slice area of the slice image data in which the decoding error has occurred is updated with a predetermined number of frames, the display device 400 does not transmit a retransmission request for returning the decoding error to the electronic device 100. Further, the display device 400 transmits a retransmission request to the electronic apparatus 100 as in the first embodiment when at least a part of the slice area of the slice image data in which the decoding error has occurred is not updated. Therefore, the display device 400 can reduce image quality degradation when decoding error is restored, as in the third embodiment.
[実施形態5]
実施形態1においては、復号化中に復号化エラーが発生したことが検知された場合は、電子機器100が、再送要求に含まれる情報に基づいてエラースライス領域を特定し、エラースライス領域を含むスライス画像データを表示装置200に送信した。これに対して、実施形態5における電子機器は、電子機器300と同等の構成を有し、電子機器300がエラースライス領域を特定することができない場合に、復号化エラーが発生したフレームの全領域を再送する点で異なる。
[Embodiment 5]
In the first embodiment, when it is detected that a decoding error has occurred during decoding, the electronic device 100 specifies an error slice area based on information included in the retransmission request, and includes the error slice area The slice image data was transmitted to the display device 200. On the other hand, the electronic device in the fifth embodiment has the same configuration as the electronic device 300, and when the electronic device 300 cannot specify the error slice region, the entire region of the frame in which the decoding error has occurred. Is different in that it is retransmitted.
例えば、領域決定部303は、復号化エラーが発生したフレームの全領域を、新たなフレームから切り出すスライス領域に決定する。実施形態5における電子機器300は、1フレームを分割して分割領域を生成し、複数の分割領域のうち、それまでに送信した所定数のフレームのスライス領域を含む分割領域を優先的に表示装置200に送信する。電子機器300は、出力する予定のフレームの直前の所定数のフレームに対応する複数の差分領域に基づいて、優先的に送信する分割領域を決定する。複数の差分領域を特定する処理は、実施形態3において図15に基づいて説明した処理と同様である。 For example, the region determination unit 303 determines all regions of a frame in which a decoding error has occurred as slice regions to be cut out from a new frame. The electronic device 300 according to the fifth embodiment generates a divided region by dividing one frame, and among the plurality of divided regions, displays a divided region including slice regions of a predetermined number of frames transmitted so far, with priority. 200. Electronic device 300 determines a divided area to be preferentially transmitted based on a plurality of difference areas corresponding to a predetermined number of frames immediately before a frame to be output. The process of specifying a plurality of difference areas is the same as the process described with reference to FIG. 15 in the third embodiment.
図20は、実施形態5における復号化エラー復帰処理を説明するためのフローチャートである。
まず、表示装置200の動作(S600〜S604)を説明する。表示装置200の復号化部202は、スライス画像データの復号化中に復号不能による復号化エラーが発生したことを検知した場合は、復号化中のスライス画像データを破棄する(S600)。その後、復号化部202は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含むかどうかを判定する(S601)。
FIG. 20 is a flowchart for explaining a decoding error return process in the fifth embodiment.
First, the operation (S600 to S604) of the display device 200 will be described. When the decoding unit 202 of the display device 200 detects that a decoding error due to the inability to decode occurs during decoding of the slice image data, the decoding unit 202 discards the slice image data being decoded (S600). Thereafter, the decoding unit 202 determines whether the slice image data in which the decoding error has occurred includes image data for one frame (S601).
復号化部202は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含む場合(S601でYes)、送信部205を介して、1フレーム分の画像データの再送を要求する。復号化部202は、復号化エラーが発生したスライス画像データが1フレーム分の画像データを含まない場合(S601でNo)、当該スライス画像データのスライス領域の特定が可能か否かを判定する(S602)。復号化部202は、図7及び図8で示した特定情報591を取得することができない場合に、スライス領域を特定できないと判定する。復号化部202は、S602において、特定情報591を取得できた場合は、スライス領域を特定できると判定する。 When the slice image data in which a decoding error has occurred includes image data for one frame (Yes in S601), the decoding unit 202 requests retransmission of the image data for one frame via the transmission unit 205. When the slice image data in which a decoding error has occurred does not include image data for one frame (No in S601), the decoding unit 202 determines whether or not the slice area of the slice image data can be specified ( S602). The decoding unit 202 determines that the slice area cannot be specified when the specifying information 591 shown in FIGS. 7 and 8 cannot be acquired. In S602, the decoding unit 202 determines that the slice area can be specified when the specifying information 591 can be acquired.
復号化部202は、S602において、スライス領域を特定できると判定した場合は、送信部205に対して、復号化エラーの発生を示す情報を通知するとともに、該当するフレームの特定情報591を通知する。送信部205は、復号化エラーの発生を示す情報と特定情報591とを受け取ると、電子機器100に対して、復号化エラーを起こしたスライス画像データのスライス領域を特定するための特定情報591を含んだ再送要求を送信する(S603)。 If the decoding unit 202 determines in S602 that the slice area can be specified, the decoding unit 202 notifies the transmission unit 205 of information indicating the occurrence of a decoding error and also notifies the corresponding frame specifying information 591. . When receiving the information indicating the occurrence of the decoding error and the specific information 591, the transmitting unit 205 sends the specific information 591 for specifying the slice area of the slice image data in which the decoding error has occurred to the electronic device 100. The included retransmission request is transmitted (S603).
復号化部202は、S602において、スライス領域を特定できないと判定した場合は、送信部205に対して、復号化エラーの発生を示す情報を通知するとともに、該当するフレームの特定情報591が「不明」又は「無い」と通知する。送信部205は、復号化エラーの発生を示す情報と特定情報591とを受け取ると、電子機器100に対して、復号化エラーが発生したスライス画像データにおけるスライス領域を特定するための特定情報591を含まない再送要求を送信する(S604)。 If the decoding unit 202 determines in S602 that the slice area cannot be specified, the decoding unit 202 notifies the transmission unit 205 of information indicating the occurrence of a decoding error, and the identification information 591 of the corresponding frame is “unknown”. ”Or“ None ”. When receiving the information indicating the occurrence of the decoding error and the specifying information 591, the transmitting unit 205 sends the specifying information 591 for specifying the slice area in the slice image data in which the decoding error has occurred to the electronic device 100. A retransmission request not included is transmitted (S604).
続いて、電子機器300の動作(S605〜S612)を説明する。電子機器300の受信部307は、送信部205から再送要求を受信した場合は、再送要求にエラースライス領域を特定するための特定情報591が含まれるか否かを確認し、その結果を領域決定部303に出力する(S606)。ここで、再送要求に特定情報591が含まれている場合、領域決定部303は、差分抽出部302から、次に転送するフレームの差分情報を取得する(S607)。領域決定部303は、S606で取得した特定情報591により特定されるエラースライス領域と、S607で取得した差分情報に対応する差分領域とを包含する領域を、新たな合成スライス領域として決定する(S608)。 Next, the operation (S605 to S612) of the electronic device 300 will be described. When receiving a retransmission request from the transmission unit 205, the reception unit 307 of the electronic device 300 confirms whether or not the retransmission request includes specific information 591 for specifying an error slice region, and determines the result as a region determination. The data is output to the unit 303 (S606). If the retransmission request includes the specific information 591, the area determination unit 303 acquires the difference information of the next frame to be transferred from the difference extraction unit 302 (S 607). The region determination unit 303 determines a region including the error slice region specified by the specification information 591 acquired in S606 and the difference region corresponding to the difference information acquired in S607 as a new composite slice region (S608). ).
スライス画像データ生成部304は、領域決定部303から入力された合成スライス領域情報に基づいて、差分抽出部302から入力したフレームの画像データから、合成スライス領域内の画像データを生成する。生成されたスライス画像データは、符号化部305において符号化され、送信部306を介して表示装置200へと送信される(S609)。 The slice image data generation unit 304 generates image data in the composite slice region from the image data of the frame input from the difference extraction unit 302 based on the composite slice region information input from the region determination unit 303. The generated slice image data is encoded by the encoding unit 305 and transmitted to the display device 200 via the transmission unit 306 (S609).
S606において、再送要求に特定情報591が含まれておらず、領域決定部303がエラースライス領域を特定することができない場合、領域決定部303は、差分抽出部302から、既に送信済みのフレームの差分情報を所定数取得する(S610)。ここで、所定数とは、復号化エラーが発生したスライス画像データに対応するスライス領域を概略的に特定するために必要な数である。例えば、所定数は、電子機器300がスライス画像データを送信してから、当該スライス画像データに対する再送要求を受信するまでに要する期間内に、電子機器300から出力されるスライス画像データの数である。 In S606, when the retransmission request does not include the specific information 591 and the area determination unit 303 cannot specify the error slice area, the area determination unit 303 receives the frame of the already transmitted frame from the difference extraction unit 302. A predetermined number of difference information is acquired (S610). Here, the predetermined number is a number necessary for roughly specifying a slice region corresponding to slice image data in which a decoding error has occurred. For example, the predetermined number is the number of slice image data output from the electronic device 300 within a period required from when the electronic device 300 transmits slice image data to when a retransmission request for the slice image data is received. .
領域決定部303は、差分抽出部302から取得した複数の差分情報に基づいて、受信部307が再送要求を受信した時点よりも前の所定数のフレームに対応する差分領域を特定する。領域決定部303は、フレームを予め決められた分割領域に分け、それぞれの分割領域において、特定した差分領域が占める割合が大きい順に、複数の分割領域の優先度を決定する(S611)。 Based on the plurality of pieces of difference information acquired from the difference extraction unit 302, the region determination unit 303 specifies a difference region corresponding to a predetermined number of frames before the reception unit 307 receives the retransmission request. The area determining unit 303 divides the frame into predetermined divided areas, and determines the priority of the plurality of divided areas in descending order of the proportion occupied by the identified difference areas (S611).
図21は、分割領域の例を説明するための図である。図21は、フレームをY軸方向に4つの領域に分けた例を示している。領域決定部303は、例えば、分割領域R1、R2、R3、R4の順に、差分領域が占める割合が大きい場合、分割領域R1、R2、R3、R4の順に優先度が高いとする。その後、スライス画像データ生成部304は、差分抽出部302から入力されたフレームと、領域決定部303から入力された分割領域に関する情報とに基づいて、入力されたフレームを分割する。分割されたフレームは、優先度の順に符号化部305において符号化され、送信部306を介して表示装置200へと順次送信される(S612)。 FIG. 21 is a diagram for explaining an example of divided areas. FIG. 21 shows an example in which the frame is divided into four regions in the Y-axis direction. For example, when the ratio of the difference areas is large in the order of the divided areas R1, R2, R3, and R4, the area determining unit 303 assumes that the priority is higher in the order of the divided areas R1, R2, R3, and R4. Thereafter, the slice image data generation unit 304 divides the input frame based on the frame input from the difference extraction unit 302 and the information related to the divided region input from the region determination unit 303. The divided frames are encoded by the encoding unit 305 in order of priority, and are sequentially transmitted to the display device 200 via the transmission unit 306 (S612).
図22は、実施形態5における表示画像の遷移の例を説明するための図である。表示画像T501に表示されるべきスライス画像データV501の復号化中に復号化エラーが発生したとする。その後、電子機器300が再送要求を受信するまでの間に、表示画像T502の実線に示す領域Pに含まれるスライス画像データが送信されたものとする。 FIG. 22 is a diagram for explaining an example of transition of a display image in the fifth embodiment. It is assumed that a decoding error has occurred during decoding of the slice image data V501 to be displayed on the display image T501. Thereafter, it is assumed that the slice image data included in the region P indicated by the solid line of the display image T502 is transmitted before the electronic device 300 receives the retransmission request.
表示画像T503から表示画像T506には、それぞれ分割領域R1、R2、R3及びR4が示されている。領域Pを含む面積が比較的大きい分割領域R1、R2は、領域Pを含む面積が比較的小さい分割領域R3よりも優先度が高い。領域Pを含まない分割領域R4は、最も優先度が低い。したがって、電子機器300は、再送要求を受信した場合は、まず、分割領域R1をスライス領域とするスライス画像データを表示装置200に送信する。続いて、電子機器300は、分割領域R2、R3、R4に対応するスライス画像データを、順次表示装置200に送信する。 From display image T503 to display image T506, divided regions R1, R2, R3, and R4 are shown, respectively. The divided regions R1 and R2 having a relatively large area including the region P have higher priority than the divided region R3 having a relatively small area including the region P. The divided region R4 that does not include the region P has the lowest priority. Therefore, when receiving a retransmission request, electronic device 300 first transmits slice image data in which divided region R1 is a slice region to display device 200. Subsequently, the electronic device 300 sequentially transmits slice image data corresponding to the divided regions R2, R3, and R4 to the display device 200.
以上説明したように、実施形態5によれば、電子機器300は、スライス画像データを復号化中に復号化エラーが発生したスライス領域を特定することができない場合であっても、複数の領域に分割されたフレームを所定の順序で送信することができる。このようにすることで、圧縮率を高くすることなく画質劣化を低減した状態で、復号化エラーが発生した領域の画像データを更新することができる。また、電子機器300は、分割領域に優先度を付けることで、復号化エラーが生じた箇所をより早く復帰させることもできる。 As described above, according to the fifth embodiment, even when the electronic apparatus 300 cannot identify a slice area where a decoding error has occurred during decoding of slice image data, The divided frames can be transmitted in a predetermined order. By doing so, it is possible to update the image data of the area where the decoding error has occurred in a state where the deterioration of the image quality is reduced without increasing the compression rate. In addition, the electronic device 300 can restore the part where the decoding error has occurred earlier by giving priority to the divided areas.
[実施形態6]
実施形態1〜5で説明した様々な機能、処理及び方法は、パーソナルコンピュータ、マイクロコンピュータ、CPUなどがプログラムを用いて実現することもできる。以下、実施形態6では、パーソナルコンピュータ、マイクロコンピュータ、CPUなどを「コンピュータX」と呼ぶ。また、実施形態6では、コンピュータXを制御するためのプログラムであって、実施形態1〜5で説明した様々な機能、処理及び方法を実現するためのプログラムを「プログラムY」と呼ぶ。
実施形態1〜5で説明した様々な機能、処理及び方法は、コンピュータXがプログラムYを実行することによって実現される。この場合において、プログラムYは、コンピュータ読み取り可能な記憶媒体を介してコンピュータXに供給される。実施形態6におけるコンピュータ読み取り可能な記憶媒体は、ハードディスク装置、磁気記憶装置、光記憶装置、光磁気記憶装置、メモリカード、ROM、RAMなどの少なくとも一つを含む。実施形態6におけるコンピュータ読み取り可能な記憶媒体は、non−transitory(非一時的)な記憶媒体である。
[Embodiment 6]
The various functions, processes, and methods described in the first to fifth embodiments can be realized by a personal computer, a microcomputer, a CPU, or the like using a program. Hereinafter, in the sixth embodiment, a personal computer, a microcomputer, a CPU, and the like are referred to as “computer X”. In the sixth embodiment, a program for controlling the computer X and for realizing the various functions, processes, and methods described in the first to fifth embodiments is referred to as “program Y”.
The various functions, processes, and methods described in the first to fifth embodiments are realized by the computer X executing the program Y. In this case, the program Y is supplied to the computer X via a computer-readable storage medium. The computer-readable storage medium according to the sixth embodiment includes at least one of a hard disk device, a magnetic storage device, an optical storage device, a magneto-optical storage device, a memory card, a ROM, and a RAM. The computer-readable storage medium in the sixth embodiment is a non-transitory storage medium.
100 電子機器
102 差分抽出部
104 スライス画像データ生成部
106 送信部
107 受信部
DESCRIPTION OF SYMBOLS 100 Electronic device 102 Difference extraction part 104 Slice image data generation part 106 Transmission part 107 Reception part
Claims (7)
前記スライス画像データを圧縮符号化する符号化手段と、
前記圧縮符号化されたスライス画像データを表示装置に送信する送信手段と、
前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信手段と、
前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御手段と
を有することを特徴とする電子機器。 Generating means for generating slice image data that is image data in the first slice region determined based on the difference between the image data of a plurality of frames;
Encoding means for compressing and encoding the slice image data;
Transmitting means for transmitting the compression-encoded slice image data to a display device;
Receiving means for receiving, from the display device, a retransmission request including information indicating the first slice area when a decoding error occurs in the slice image data;
When the retransmission request is received, a second slice area including a region corresponding to the first slice region in a second frame after the first frame corresponding to the first slice region An electronic apparatus comprising: control means for controlling image data to be transmitted to the display device.
前記差分領域と前記第1のスライス領域とを含む領域が前記所定のサイズよりも大きい場合、前記領域決定手段は、前記第1のスライス領域を含む前記所定のサイズの領域を前記第2のスライス領域に決定することを特徴とする請求項2に記載の電子機器。 When the area including the difference area and the first slice area is not larger than a predetermined size, the area determination unit determines that the area including the difference area and the first slice area is the second slice. Decide on the area,
When the area including the difference area and the first slice area is larger than the predetermined size, the area determining unit determines the area of the predetermined size including the first slice area as the second slice. The electronic device according to claim 2, wherein the electronic device is determined as a region.
複数のフレームの画像データの差分に基づいて決定された第1のスライス領域内の画像データであるスライス画像データを生成する生成手段と、
前記スライス画像データを圧縮符号化する符号化手段と、
前記圧縮符号化されたスライス画像データを表示装置に送信する送信手段と、
前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信手段と、
前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御手段
として機能させるためのプログラム。 Computer
Generating means for generating slice image data that is image data in the first slice region determined based on the difference between the image data of a plurality of frames;
Encoding means for compressing and encoding the slice image data;
Transmitting means for transmitting the compression-encoded slice image data to a display device;
Receiving means for receiving, from the display device, a retransmission request including information indicating the first slice area when a decoding error occurs in the slice image data;
When the retransmission request is received, a second slice area including a region corresponding to the first slice region in a second frame after the first frame corresponding to the first slice region A program for functioning as control means for controlling image data to be transmitted to the display device.
前記スライス画像データを圧縮符号化する符号化ステップと、
前記圧縮符号化されたスライス画像データを表示装置に送信する送信ステップと、
前記スライス画像データに復号化エラーが発生した場合に、前記第1のスライス領域を示す情報を含む再送要求を前記表示装置から受信する受信ステップと、
前記再送要求が受信された場合は、前記第1のスライス領域に対応する第1のフレームの後の第2のフレームにおける前記第1のスライス領域に対応する領域を含む第2のスライス領域内の画像データが前記表示装置に送信されるように制御する制御ステップと
を有することを特徴とする制御方法。
A generation step of generating slice image data that is image data in the first slice region determined based on the difference between the image data of a plurality of frames;
An encoding step of compressing and encoding the slice image data;
A transmission step of transmitting the compression-encoded slice image data to a display device;
A reception step of receiving, from the display device, a retransmission request including information indicating the first slice area when a decoding error occurs in the slice image data;
When the retransmission request is received, a second slice area including a region corresponding to the first slice region in a second frame after the first frame corresponding to the first slice region And a control step of controlling the image data to be transmitted to the display device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014261577A JP2016122964A (en) | 2014-12-25 | 2014-12-25 | Electronic apparatus and control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014261577A JP2016122964A (en) | 2014-12-25 | 2014-12-25 | Electronic apparatus and control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2016122964A true JP2016122964A (en) | 2016-07-07 |
Family
ID=56327617
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2014261577A Pending JP2016122964A (en) | 2014-12-25 | 2014-12-25 | Electronic apparatus and control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2016122964A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023010356A1 (en) * | 2021-08-04 | 2023-02-09 | 深圳市大疆创新科技有限公司 | Video transmission method and apparatus, and system, terminal device, movable platform and storage medium |
-
2014
- 2014-12-25 JP JP2014261577A patent/JP2016122964A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023010356A1 (en) * | 2021-08-04 | 2023-02-09 | 深圳市大疆创新科技有限公司 | Video transmission method and apparatus, and system, terminal device, movable platform and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102656551B (en) | Streaming techniques for video display systems | |
| WO2014199618A1 (en) | Electronic device and method for video decoding | |
| US11985386B2 (en) | Remote user interface | |
| US9973795B2 (en) | Method for video synchronization in video distribution systems | |
| US20130163812A1 (en) | Information processor, information processing method, and recording medium | |
| KR20150040125A (en) | Master device, client device, and method for screen mirroring thereof | |
| US10389908B2 (en) | Image processing device, image processing method, and program with reduction and enlargement scaling of image data | |
| JP4427599B1 (en) | Image processing apparatus, receiving apparatus, and display apparatus | |
| US9226003B2 (en) | Method for transmitting video signals from an application on a server over an IP network to a client device | |
| US20160078664A1 (en) | Image synthesizing apparatus and method | |
| CN110187858B (en) | Image display method and system | |
| US12046218B2 (en) | Image processing apparatus and image processing method | |
| JP2016122964A (en) | Electronic apparatus and control method | |
| CN104980798A (en) | Remote video display method and device | |
| CN106919376B (en) | Dynamic picture transmission method, server device and user device | |
| CN105993176A (en) | Image processing apparatus using monitoring of video memory | |
| RU2662648C1 (en) | Method and device for data processing | |
| JPWO2017061103A1 (en) | Program dividing apparatus and program dividing method | |
| JP5171655B2 (en) | Image transmitting apparatus, method, and storage medium | |
| US10484714B2 (en) | Codec for multi-camera compression | |
| US8279207B2 (en) | Information processing apparatus, information processing method, and program | |
| JPWO2016009507A1 (en) | Video transmission / reception device and video display device | |
| JP2014146936A (en) | Electronic apparatus, difference data output apparatus, control method of electronic apparatus, control method of difference data output apparatus, control program of electronic apparatus, and control program of difference data output apparatus | |
| KR20190104330A (en) | Video processing apparatus, video processing method and program | |
| US10976985B2 (en) | Recording medium recording data display program, data display method, and electronic apparatus for displaying received data by delaying an adjustment time |