JP2007110376A - Moving image recoding unit, moving image coding method, and moving image recoding program - Google Patents

Moving image recoding unit, moving image coding method, and moving image recoding program Download PDF

Info

Publication number
JP2007110376A
JP2007110376A JP2005298556A JP2005298556A JP2007110376A JP 2007110376 A JP2007110376 A JP 2007110376A JP 2005298556 A JP2005298556 A JP 2005298556A JP 2005298556 A JP2005298556 A JP 2005298556A JP 2007110376 A JP2007110376 A JP 2007110376A
Authority
JP
Japan
Prior art keywords
encoding
deblocking filter
unit
decoded image
encoding method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005298556A
Other languages
Japanese (ja)
Inventor
Shigeru Fukushima
茂 福島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP2005298556A priority Critical patent/JP2007110376A/en
Publication of JP2007110376A publication Critical patent/JP2007110376A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent deterioration of image quality and to reduce processing time, when recoding a coded data in which deblock filtering is performed. <P>SOLUTION: A decoder 100 decodes the coded data in which deblock filtering is performed, and outputs a pre-deblock filtered decoded image and a post-deblock filtered decoded image to a decoded image switch 200. In case of deciding to perform deblock filtering at the time of recoding based on a recoding system signal, a docoded image switch 200 outputs the pre-deblock filtered decoded image to a recoder 300, while in case of not performing the deblock filtering at the time of recoding, the docoded image switch 200 outputs the post-deblock filtered decoded image to the recoder 300. The recoder 300 performs recoding after deblocking only when the pre-deblock filtered decoded image is input. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、デジタル動画像の再符号化に係り、特に再符号化の際に画質劣化を抑制する動画像再符号化装置、動画像符号化方法および動画像再符号化プログラムに関する。   The present invention relates to re-encoding of digital moving images, and more particularly to a moving image re-encoding device, a moving image encoding method, and a moving image re-encoding program that suppress image quality degradation during re-encoding.

デジタル動画像符号化では、画像をブロックに分割して符号化を行なうため、ビットレートが低くなると、ブロック境界に不連続が生じ、ブロックノイズが発生する。そこで、MPEG-4/AVCに代表される符号化では、動き補償の予測ループ内にブロックノイズを除去するデブロックフィルタ(デブロッキング・フィルタともいう。以下、デブロックフィルタの語を統一して使用する。)を搭載することで、動き補償の予測効率と主観画質とを向上させている。   In digital moving image encoding, an image is divided into blocks and encoded. Therefore, when the bit rate is lowered, discontinuity occurs at the block boundary and block noise occurs. Therefore, in coding represented by MPEG-4 / AVC, a deblocking filter that removes block noise in the motion compensation prediction loop (also called a deblocking filter. To improve the motion compensation prediction efficiency and subjective image quality.

しかし、ブロックノイズを除去するデブロックフィルタには、画像のエッジ成分などを除去してしまうことや、画像の解像感が低下してしまう問題がある。そのため、デブロックフィルタは、符号化でブロックノイズが発生した場合にのみかけるのが望ましい。   However, the deblocking filter that removes block noise has a problem that an edge component of an image is removed and a resolution of the image is lowered. Therefore, it is desirable to apply the deblocking filter only when block noise occurs in the encoding.

一方、さまざまな高圧縮符号化方式が登場するにつれ、動画像符号化データを同一符号化方式で符号量をさらに圧縮することや、他の符号化方式に変換するという動画像再符号化が注目されている。   On the other hand, as various high-compression encoding systems appear, video re-encoding that further compresses the amount of encoded video data using the same encoding system or converts it to another encoding system is attracting attention. Has been.

一般に、動画像再符号化とは、符号化データを一度復号化し、再度符号化するものである。従来の動画像再符号化装置では、再符号化対象画像として、復号化された画像を用いていた(例えば、特許文献1参照)。
特開2002−344971号公報
In general, moving image re-encoding is to decode encoded data once and re-encode it. In a conventional moving image re-encoding device, a decoded image is used as a re-encoding target image (see, for example, Patent Document 1).
JP 2002-344971 A

しかし、上述の従来の動画像再符号化装置では、デブロックフィルタを搭載したMPEG-4/AVC符号化方式における再符号化については何ら触れられてなく、復号および再符号化の際の双方に2回デブロックフィルタを施してしまうと、再符号化前に画像エッジ成分などが除去されてしまい、画像の解像感が低下し、再符号化で画像エッジ成分や画像の解像感を再現できず、結果として再符号化の際に画質が劣化する、という問題があった。   However, in the above-described conventional moving image re-encoding device, there is no mention of re-encoding in the MPEG-4 / AVC encoding system equipped with a deblocking filter, and both in decoding and re-encoding. If the deblocking filter is applied twice, the image edge components and the like are removed before re-encoding, and the resolution of the image is reduced. Re-encoding reproduces the image edge components and the image resolution. As a result, there is a problem that the image quality deteriorates during re-encoding.

また、デブロックフィルタの処理量は膨大で、デブロックフィルタ2回を施すことになると、非常に処理時間がかかる、という問題もある。   Further, the processing amount of the deblocking filter is enormous, and there is a problem that it takes a very long processing time if the deblocking filter is performed twice.

そこで、本発明は、デブロックフィルタを施された符号化データを再符号化する際、画質の劣化を防止すると共に処理時間を短縮することができる、動画像再符号化装置、動画像符号化方法および動画像再符号化プログラムを提供することを目的とする。   Accordingly, the present invention provides a moving image re-encoding device, a moving image encoding, which can prevent degradation of image quality and reduce processing time when re-encoding encoded data subjected to a deblocking filter. It is an object to provide a method and a moving image re-encoding program.

上記課題を解決するため、本発明では、符号化データを復号した復号画像を再符号化する際、デブロックフィルタを施す再符号化方式の場合には、デブロックフィルタが施される前の復号画像を再符号化する一方、デブロックフィルタを施さない再符号化方式の場合には、デブロックフィルタが施された復号画像を再符号化する、ものである。   In order to solve the above-described problem, in the present invention, in the case of a re-encoding method that applies a deblocking filter when re-encoding a decoded image obtained by decoding encoded data, decoding before the deblocking filter is applied. In the case of a re-encoding method in which an image is re-encoded and no de-blocking filter is applied, a decoded image subjected to the de-blocking filter is re-encoded.

本発明によれは、符号化データを復号した復号画像を再符号化する際、デブロックフィルタを施す再符号化方式の場合には、デブロックフィルタが施される前の復号画像を再符号化する一方、デブロックフィルタを施さない再符号化方式の場合には、デブロックフィルタが施された復号画像を再符号化するようにしたので、符号化データを復号して再符号化する際、デブロックフィルタを施す回数を1回にすることができ、画質の劣化を防止することができると共に、処理時間を短縮することができる。   According to the present invention, when a decoded image obtained by decoding encoded data is re-encoded, in the case of a re-encoding method in which a deblocking filter is applied, the decoded image before the deblocking filter is re-encoded. On the other hand, in the case of a re-encoding method that does not perform the deblocking filter, the decoded image that has been subjected to the deblocking filter is re-encoded, so when decoding and re-encoding the encoded data, The number of times that the deblocking filter is applied can be reduced to one, so that deterioration of image quality can be prevented and the processing time can be shortened.

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

図1は、本発明に係る動画像再符号化装置の実施の形態1の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a first embodiment of a moving image re-encoding device according to the present invention.

本実施の形態1の動画像再符号化装置は、図1に示すように、復号部100と、復号画像切り替え部200と、再符号化部300と、から構成されている。なお、この構成例は、一例で、その他、復号画像切り替え部200が復号部100の中に設けられていたり、あるいは再符号化部300の中に設けられていたり、さらには、復号部100と復号画像切り替え部200と再符号化部300とが一つにまとめて構成されていても勿論よい。   As shown in FIG. 1, the moving image re-encoding apparatus according to the first embodiment includes a decoding unit 100, a decoded image switching unit 200, and a re-encoding unit 300. Note that this configuration example is an example, and in addition, the decoded image switching unit 200 is provided in the decoding unit 100, the re-encoding unit 300, or the decoding unit 100. Of course, the decoded image switching unit 200 and the re-encoding unit 300 may be configured as a single unit.

復号部100は、エントロピー復号化手段101と、逆量子化・逆直交変換手段102と、デブロックフィルタ手段103と、画像メモリ104と、動き補償手段105と、加算器106と、を有している。   The decoding unit 100 includes an entropy decoding unit 101, an inverse quantization / inverse orthogonal transform unit 102, a deblock filter unit 103, an image memory 104, a motion compensation unit 105, and an adder 106. Yes.

再符号化部300は、再符号化対象画像をMPEG-4/AVC符号化方式等によりデブロックフィルタを施して再符号化を行うデブロックフィルタ搭載再符号化部310と、MPEG-4やMPEG-2等のデブロックフィルタを施さない再符号化を行うデブロックフィルタ非搭載再符号化部320とを有している。   The re-encoding unit 300 includes a de-blocking filter-equipped re-encoding unit 310 that performs re-encoding by subjecting the re-encoding target image to a de-blocking filter by the MPEG-4 / AVC encoding method or the like, and MPEG-4 or MPEG And a non-deblocking filter-mounted re-encoding unit 320 that performs re-encoding without applying a deblocking filter such as −2.

次に、フローチャートを参照して動作を説明する。   Next, the operation will be described with reference to a flowchart.

図2は、図1は、本発明に係る動画像再符号化装置の動作を示すフローチャートである。   FIG. 2 is a flowchart showing the operation of the moving picture re-encoding device according to the present invention.

まず、エントロピー復号化手段101では、MPEG-4/AVC符号化方式によりデブロックフィルタを施して符号化された動画像の符号化データが入力されると、エントロピー復号化手段101がその符号化データや動きベクトル信号等の符号化パラメータをエントロピー復号化して(ステップS10)、エントロピー復号化された画像信号を逆量子化・逆直交変換手段102に供給する一方、エントロピー復号化された動きベクトル信号を動き補償手段105に供給する。   First, in the entropy decoding unit 101, when encoded data of a moving image encoded by applying a deblocking filter by the MPEG-4 / AVC encoding method is input, the entropy decoding unit 101 outputs the encoded data. And encoding parameters such as motion vector signals are entropy-decoded (step S10), and the entropy-decoded image signal is supplied to the inverse quantization / inverse orthogonal transform means 102, while the entropy-decoded motion vector signal is supplied. This is supplied to the motion compensation means 105.

逆量子化・逆直交変換手段102は、入力された画像信号を逆量子化・逆直交変換して、加算器106へ出力する(ステップS20)。   The inverse quantization / inverse orthogonal transform means 102 performs inverse quantization / inverse orthogonal transform on the input image signal and outputs the result to the adder 106 (step S20).

動き補償手段105は、エントロピー復号化手段101から入力された動きベクトル信号に基づき画像メモリ104に保存された参照画像を用いて動き補償を行い動き補償画像を求め、加算器106へ出力する。   The motion compensation unit 105 performs motion compensation using the reference image stored in the image memory 104 based on the motion vector signal input from the entropy decoding unit 101, obtains a motion compensated image, and outputs the motion compensated image to the adder 106.

加算器106では、逆量子化・逆直交変換手段102からの逆量子化・逆直交変換された画像信号が予測符号化されたものであれば、動き補償手段105からの動き補償画像と加算し復号画像として、あるいは逆量子化・逆直交変換された画像信号が予測符号化されたものでなければ、そのまま復号画像としてデブロックフィルタ手段103へ出力すると共に、デブロックフィルタ手段103を経由せず、直接、復号画像切り替え部200へ出力する。   The adder 106 adds the motion compensated image from the motion compensation unit 105 if the image signal subjected to the inverse quantization / inverse orthogonal transform from the inverse quantization / inverse orthogonal transform unit 102 is predictively encoded. If the decoded image or the image signal that has been subjected to inverse quantization / inverse orthogonal transform has not been subjected to predictive coding, the decoded image is output as it is to the deblocking filter means 103 and without passing through the deblocking filter means 103. The decoded image is directly output to the decoded image switching unit 200.

デブロックフィルタ手段103では、加算器106を介した復号画像に対して、デブロックフィルタを施して、デブロックフィルタを施した復号画像を画像メモリ104および復号画像切り替え部200へ出力する(ステップS30)。   The deblocking filter means 103 applies a deblocking filter to the decoded image via the adder 106, and outputs the decoded image subjected to the deblocking filter to the image memory 104 and the decoded image switching unit 200 (step S30). ).

画像メモリ104では、デブロックフィルタ手段103によるデブロックフィルタが施されたデブロックフィルタ後復号画像を、動き補償手段105による動き補償のために参照画像として記憶する(ステップS40)。   In the image memory 104, the decoded image after the deblocking filter subjected to the deblocking filter by the deblocking filter unit 103 is stored as a reference image for motion compensation by the motion compensation unit 105 (step S40).

よって、復号部100から復号画像切り替え部200へは、デブロックフィルタが施されたデブロックフィルタ後復号画像と、デブロックフィルタが施されないデブロックフィルタ前復号画像とが出力されることになる。   Therefore, from the decoding unit 100 to the decoded image switching unit 200, the decoded image after the deblocking filter subjected to the deblocking filter and the decoded image before the deblocking filter not subjected to the deblocking filter are output.

復号画像切り替え部200では、再符号化部300にて再符号化をする際、デブロックフィルタを施すか否かを判断する(ステップS50)。   When the re-encoding unit 300 performs re-encoding, the decoded image switching unit 200 determines whether or not to apply a deblocking filter (step S50).

ここで、本実施の形態1の場合、復号画像切り替え部200は、再符号化の際デブロックフィルタを施すか否かを、ユーザの操作や他の外部装置から送信され、外部から入力する再符号化方式信号に基づいて判断する。   Here, in the case of the first embodiment, the decoded image switching unit 200 determines whether or not to apply the deblocking filter at the time of re-encoding and is transmitted from the user's operation or other external device and is input from the outside. Judgment is made based on the encoding method signal.

そして、外部から入力する再符号化方式信号に基づいて再符号化の際にデブロックフィルタを施すと判断した場合(ステップS50“YES”)、復号画像切り替え部200は、デブロックフィルタ前復号画像を再符号化部300へ出力する一方(ステップS60)、再符号化の際にデブロックフィルタを施さないと判断した場合には(ステップS50“NO”)、デブロックフィルタ後復号画像を再符号化部300へ出力する(ステップS70)。   Then, when it is determined that the deblocking filter is to be applied at the time of reencoding based on the reencoding method signal input from the outside (step S50 “YES”), the decoded image switching unit 200 determines the decoded image before the deblocking filter. Is output to the re-encoding unit 300 (step S60), and when it is determined that the deblocking filter is not applied during the re-encoding (step S50 “NO”), the decoded image after the deblocking filter is re-encoded. The data is output to the conversion unit 300 (step S70).

つまり、本実施の形態1の復号画像切り替え部200では、外部から入力する再符号化方式信号に基づいて、デブロックフィルタ搭載再符号化部310へはデブロックフィルタ前復号画像を出力されるように接続を切り替える一方、デブロックフィルタ非搭載再符号化部320へはデブロックフィルタ後復号画像が出力されるように復号画像の出力を切り替える。   That is, the decoded image switching unit 200 of the first embodiment is configured to output the deblocked filter pre-decoded image to the deblocking filter-mounted recoding unit 310 based on the recoding method signal input from the outside. On the other hand, the output of the decoded image is switched so that the decoded image after the deblocking filter is output to the recoding unit 320 without the deblocking filter.

再符号化部300では、復号画像切り替え部200からデブロックフィルタが施されないデブロックフィルタ前復号画像が入力された場合には、デブロックフィルタ搭載再符号化部310は、そのデブロックフィルタ前復号画像を、デブロックフィルタを施す再符号化方式により再符号化し、再符号化データとして外部へ出力する(ステップS80)。ここで、デブロックフィルタを施す再符号化方式とは、例えば、MPEG-4/AVCなどの符号化方式である。   In the re-encoding unit 300, when the decoded image before the deblocking filter that is not subjected to the deblocking filter is input from the decoded image switching unit 200, the re-encoding unit with the deblocking filter 310 performs the decoding before the deblocking filter. The image is re-encoded by a re-encoding method that applies a deblocking filter, and is output to the outside as re-encoded data (step S80). Here, the re-encoding method for applying the deblocking filter is, for example, an encoding method such as MPEG-4 / AVC.

その一方、復号画像切り替え部200からデブロックフィルタが施されたデブロックフィルタ後復号画像が入力された場合には、デブロックフィルタ非搭載再符号化部320が、そのデブロックフィルタ後復号画像を、デブロックフィルタを施さない再符号化方式により再符号化し、再符号化データとして外部に出力する(ステップS80)。ここで、デブロックフィルタを施さない再符号化方式とは、例えば、MPEG−2や、MPEG−4Main Profileなどの符号化方式である。   On the other hand, when the decoded image after the deblocking filter subjected to the deblocking filter is input from the decoded image switching unit 200, the non-deblocking filter re-encoding unit 320 outputs the decoded image after the deblocking filter. Then, re-encoding is performed by a re-encoding method without applying a deblocking filter, and the re-encoded data is output to the outside (step S80). Here, the re-encoding method without applying the deblocking filter is, for example, an encoding method such as MPEG-2 or MPEG-4 Main Profile.

従って、本実施の形態1の動画像再符号化装置によれば、デブロックフィルタが施された符号化データを復号して再符号化する際、再符号化方式としてデブロックフィルタを施す再符号化方式あるいは施さない再符号化方式を採用するに関わらず、デブロックフィルタを施す回数を1度にしたので、再符号化の際の画質劣化を抑制することができると共に、処理時間を短縮化することができる。   Therefore, according to the moving picture re-encoding device of the first embodiment, when decoding and re-encoding the encoded data subjected to the deblocking filter, the re-encoding applying the deblocking filter as the re-encoding method Regardless of whether the encoding method or non-encoding re-encoding method is adopted, the number of times that the deblocking filter is applied is set to one, so that image quality deterioration during re-encoding can be suppressed and the processing time is shortened. can do.

特に、デブロックフィルタ前復号画像は、デブロックフィルタ後復号画像よりも早く生成できるため、再符号化部300に画像を入力するタイミングを早くすることができ、復号部100におけるデブロックフィルタ手段103でのデブロックフィルタをかける処理と、再符号化部300のデブロックフィルタ搭載再符号化部310におけるデブロックフィルタ前復号画像を再符号化する処理とを同時に行なうことも可能となる。
実施の形態2.
実施の形態1では、図1に示すように、再符号化部300に、デブロックフィルタ搭載再符号化部310と、デブロックフィルタ非搭載再符号化部320との両方が搭載されている例を説明したが、本実施の形態2では、再符号化部300には、デブロックフィルタ搭載再符号化部310、またはデブロックフィルタ非搭載再符号化部320の一方を搭載している。
In particular, since the decoded image before the deblocking filter can be generated earlier than the decoded image after the deblocking filter, the timing of inputting the image to the re-encoding unit 300 can be advanced, and the deblocking filter means 103 in the decoding unit 100 It is also possible to simultaneously perform the process of applying the deblocking filter in FIG. 4 and the process of re-encoding the pre-deblock filter decoded image in the re-encoding unit 310 with the deblocking filter of the re-encoding unit 300.
Embodiment 2. FIG.
In Embodiment 1, as shown in FIG. 1, an example in which both a deblocking filter-mounted recoding unit 310 and a deblocking filter-unmounted recoding unit 320 are mounted in the recoding unit 300. However, in the second embodiment, the re-encoding unit 300 includes one of the de-block filter-mounted re-encoding unit 310 or the de-block filter non-de-installing re-encoding unit 320.

図3は、本発明に係る動画像再符号化装置の実施の形態2の構成を示すブロック図で、再符号化部300にデブロックフィルタ搭載再符号化部310のみが搭載されている構成例を示している。   FIG. 3 is a block diagram showing the configuration of the second embodiment of the moving image re-encoding device according to the present invention, in which only the de-block filter-equipped re-encoding unit 310 is mounted on the re-encoding unit 300. Is shown.

図3に示す場合、実施の形態1のように、外部から復号画像切り替え部200に再符号化方式信号が入力されるようにしても勿論良いが、ここでは、デブロックフィルタ搭載再符号化部310から復号画像切り替え部200に対し、その符号化方式、すなわちデブロックフィルタを施す再符号化方式を示す信号が入力されるようにしている。   In the case shown in FIG. 3, it is of course possible to input a re-encoding method signal to the decoded image switching unit 200 from the outside as in the first embodiment, but here, a de-blocking filter-equipped re-encoding unit A signal indicating the encoding method, that is, a re-encoding method for applying a deblocking filter, is input from 310 to the decoded image switching unit 200.

これにより、本実施の形態2の復号画像切り替え部200では、外部から入力される再符号化方式信号がなくても、再符号化部300が接続された際等に再符号化部300のデブロックフィルタ搭載再符号化部310から入力される再符号化方式信号に基づいてデブロックフィルタ前復号画像を再符号化部300のデブロックフィルタ搭載再符号化部310へ出力することになる。   As a result, in the decoded image switching unit 200 according to the second embodiment, even when there is no re-encoding method signal input from the outside, the decoding of the re-encoding unit 300 is performed when the re-encoding unit 300 is connected. Based on the re-encoding method signal input from the block filter-mounted re-encoding unit 310, the pre-deblock filter decoded image is output to the de-block filter-mounted re-encoding unit 310 of the re-encoding unit 300.

図4は、本発明に係る動画像再符号化装置の実施の形態2の他の構成例を示すブロック図で、再符号化部300にデブロックフィルタ非搭載再符号化部320のみが搭載されている構成例を示している。   FIG. 4 is a block diagram showing another configuration example of the moving image re-encoding device according to the second embodiment of the present invention. In the re-encoding unit 300, only the non-deblocking filter re-encoding unit 320 is mounted. An example configuration is shown.

図4に示す場合も、実施の形態1のように、ユーザの入力等により外部から復号画像切り替え部200に再符号化方式信号が入力されるようにしても勿論良いが、ここでは、デブロックフィルタ非搭載再符号化部320から復号画像切り替え部200に対し、その符号化方式、すなわちデブロックフィルタを施さない再符号化方式を示す信号が入力されるようにしている。   Also in the case shown in FIG. 4, as in the first embodiment, the re-encoding method signal may be input from the outside to the decoded image switching unit 200 by the user's input or the like. A signal indicating the encoding method, that is, the re-encoding method without applying the deblocking filter, is input from the non-filter-mounted re-encoding unit 320 to the decoded image switching unit 200.

これにより、本実施の形態2の復号画像切り替え部200では、外部から入力される再符号化方式信号がなくても、再符号化部300が接続された際等に再符号化部300のデブロックフィルタ非搭載再符号化部320から入力される、再符号化方式信号に基づいてデブロックフィルタ後復号画像を再符号化部300のデブロックフィルタ非搭載再符号化部320へ出力することになる。   As a result, in the decoded image switching unit 200 according to the second embodiment, even when there is no re-encoding method signal input from the outside, the decoding of the re-encoding unit 300 is performed when the re-encoding unit 300 is connected. Based on the re-encoding method signal input from the non-block filter re-encoding unit 320, the decoded image after deblock filter is output to the re-encoding unit 320 without the de-block filter of the re-encoding unit 300. Become.

従って、本実施の形態2によれば、上記実施の形態1と同様の効果が得られると共に、再符号化部300が接続された際等に再符号化部300のデブロックフィルタ搭載再符号化部310あるいはデブロックフィルタ非搭載再符号化部320から入力される、再符号化方式信号に基づいてデブロックフィルタ前復号画像あるいはデブロックフィルタ後復号画像を再符号化部300へ出力するので、外部から入力される再符号化方式信号がなくても、再符号化部300として接続されるデブロックフィルタ搭載再符号化部310あるいはデブロックフィルタ非搭載再符号化部320に応じて自動的に復号画像切り替え部200からの復号画像の出力を切り替えることができる。
実施の形態3.
実施の形態1では、図1に示すように、外部から復号画像切り替え部200にのみ再符号化方式信号が入力されて、復号画像切り替え部200から再符号化部300へのデブロックフィルタ前復号画像と、デブロックフィルタ後復号画像との出力の切り替えを行うように説明したが、本実施の形態3は、その再符号化方式信号が再符号化部400へも入力されるようにしたものである。
Therefore, according to the second embodiment, the same effects as those of the first embodiment can be obtained, and when the re-encoding unit 300 is connected, the re-encoding unit 300 re-encoding is performed. Since the pre-deblock filter decoded image or the deblock filter post-decoded image is output to the re-encoding unit 300 based on the re-encoding method signal input from the unit 310 or the non-deblock filter re-encoding unit 320. Even if there is no re-encoding method signal input from the outside, automatically depending on the re-encoding unit 310 with or without the deblocking filter connected as the re-encoding unit 300 The output of the decoded image from the decoded image switching unit 200 can be switched.
Embodiment 3 FIG.
In the first embodiment, as shown in FIG. 1, a re-encoding method signal is input only from the outside to the decoded image switching unit 200, and the pre-deblock filter decoding from the decoded image switching unit 200 to the re-encoding unit 300 is performed. Although it has been described that the output is switched between the image and the decoded image after the deblocking filter, the third embodiment is such that the re-encoding method signal is also input to the re-encoding unit 400. It is.

図5は、本発明に係る動画像再符号化装置の実施の形態3の構成を示すブロック図である。   FIG. 5 is a block diagram showing the configuration of the third embodiment of the video re-encoding device according to the present invention.

図1に示す実施の形態1の動画像再符号化装置と異なる点は、復号画像切り替え部200へ入力されている再符号化方式信号が再符号化部300へも入力されるようにした点と、再符号化部300が、その再符号化方式信号に基づいて、適応的にデブロックフィルタを施した再符号化と、デブロックフィルタを施さない再符号化とを切り替えるようにした点である。   The difference from the moving image re-encoding apparatus of Embodiment 1 shown in FIG. 1 is that the re-encoding method signal input to the decoded image switching unit 200 is also input to the re-encoding unit 300. And the re-encoding unit 300 switches between re-encoding with adaptive deblocking filter and re-encoding without deblocking filter based on the re-encoding method signal. is there.

なお、この場合、本実施の形態3の再符号化部300は、図1に示す実施の形態1の再符号化部300のように、デブロックフィルタ搭載再符号化部310とデブロックフィルタ搭載再符号化部320とを搭載していて再符号化方式信号に基づいて一方をオン等して適応的に切り替えるようにしても良いし、あるいはデブロックフィルタを施さないMPEG-4Main Profile等の再符号化と、デブロックフィルタを施すMPEG-4/AVCの再符号化との両符号化を切り替えて実行可能なデブロックフィルタ搭載再符号化部を1台設け、その1台のデブロックフィルタ搭載再符号化部310が再符号化方式信号に基づいて復号画像信号に対するデブロックフィルタのオン/オフを切り替えて両符号化方式により再符号化するようにしても勿論良い。   In this case, the re-encoding unit 300 according to the third embodiment is similar to the re-encoding unit 300 according to the first embodiment shown in FIG. It may be equipped with a re-encoding unit 320 and may be switched adaptively by turning on one or the like based on the re-encoding scheme signal, or re-encoding such as MPEG-4 Main Profile without a deblocking filter. A single deblock filter-equipped re-encoding unit that can be executed by switching between encoding and MPEG-4 / AVC re-encoding with deblock filter is installed. Of course, the re-encoding unit 310 may switch on / off of the deblocking filter for the decoded image signal based on the re-encoding method signal, and re-encode with both encoding methods.

このようにすれば、本実施の形態3の再符号化部300では、復号画像切り替え部200にも入力されている再符号化方式信号を入力し、その再符号化方式信号に基づいて、再符号化方式信号が再符号化の際にデブロックフィルタを施すことを示している場合には、実施の形態1の場合と同様に、デブロックフィルタ前復号画像に対しデブロックフィルタを施して再符号化する一方、その再符号化方式信号が再符号化の際にデブロックフィルタを施さないことを示している場合には、デブロックフィルタ後復号画像に対しデブロックフィルタを施さずに再符号化することになる。   In this way, the re-encoding unit 300 according to the third embodiment inputs the re-encoding method signal that is also input to the decoded image switching unit 200, and re-encodes based on the re-encoding method signal. When the encoding scheme signal indicates that a deblocking filter is to be applied at the time of re-encoding, as in the case of the first embodiment, the decoding block pre-deblocking filter is subjected to a deblocking filter and re-encoded. On the other hand, if the re-encoding method signal indicates that the de-blocking filter is not applied at the time of re-encoding, the decoded image after the de-blocking filter is re-encoded without performing the de-blocking filter. It will become.

従って、本実施の形態3の動画像再符号化装置によれば、上記実施の形態1と同様の効果が得られると共に、再符号化方式信号が再符号化部400へも入力されるので、再符号化部400は、その再符号化方式信号に基づいてデブロックフィルタを施す再符号化方式と施さない再符号化方式とを切り替えあるいは選択して適用することが可能となる。   Therefore, according to the moving image re-encoding device of the third embodiment, the same effect as in the first embodiment can be obtained, and the re-encoding method signal is also input to the re-encoding unit 400. Based on the re-encoding method signal, the re-encoding unit 400 can switch or select and apply the re-encoding method that performs the deblocking filter and the re-encoding method that does not.

なお、本実施の形態1〜3では、図1、図3〜図5に示すようにハードウエア的に構成して説明したが、本発明では、これに限定されるものではなく、上記動画像再符号化装置の機能をコンピュータに実現させるための動画像符号化プログラムを、記録媒体から読み取ったり、インターネット等の通信ネットワークを介してダウンロードして、メモリやHDD等に格納し、CPUがそのプログラムを実行して、上記動画像符号化装置および動画像復号装置の機能を達成するようにしても勿論よい。   In the first to third embodiments, the hardware configuration is described as shown in FIGS. 1 and 3 to 5. However, the present invention is not limited to this, and the moving image is not limited thereto. A moving image encoding program for causing a computer to realize the function of the re-encoding device is read from a recording medium or downloaded via a communication network such as the Internet, and stored in a memory, an HDD or the like, and the CPU stores the program. Of course, it is possible to achieve the functions of the moving picture coding apparatus and the moving picture decoding apparatus.

本発明の動画像再符号化装置の実施の形態1の構成を示すブロック図である。It is a block diagram which shows the structure of Embodiment 1 of the moving image re-encoding apparatus of this invention. 本発明の動画像再符号化装置の実施の形態1の動作を示すフローチャートである。It is a flowchart which shows operation | movement of Embodiment 1 of the moving image re-encoding apparatus of this invention. 本発明に係る動画像再符号化装置の実施の形態2の構成を示すブロック図で、再符号化部にデブロックフィルタ搭載再符号化部のみが搭載されている構成例を示す図である。It is a block diagram which shows the structure of Embodiment 2 of the moving image re-encoding apparatus which concerns on this invention, and is a figure which shows the structural example by which only a deblocking filter mounting re-encoding part is mounted in the re-encoding part. 本発明に係る動画像再符号化装置の実施の形態2の他の構成例を示すブロック図で、再符号化部にデブロックフィルタ非搭載再符号化部のみが搭載されている構成例を示す図である。It is a block diagram which shows the other structural example of Embodiment 2 of the moving image re-encoding apparatus based on this invention, and shows the structural example by which only a deblocking filter non-mounting re-encoding part is mounted in the re-encoding part. FIG. 本発明の動画像再符号化装置の実施の形態3の構成を示すブロック図である。It is a block diagram which shows the structure of Embodiment 3 of the moving image re-encoding apparatus of this invention.

符号の説明Explanation of symbols

100 復号部
101 エントロピー復号化手段
102 逆量子化・逆直交変換手段
103 デブロックフィルタ手段
104 画像メモリ
105 動き補償手段
106 加算器
200 復号画像切り替え部
300 再符号化部
310 デブロックフィルタ搭載再符号化部
320 デブロックフィルタ非搭載再符号化部
DESCRIPTION OF SYMBOLS 100 Decoding part 101 Entropy decoding means 102 Dequantization / inverse orthogonal transformation means 103 Deblock filter means 104 Image memory 105 Motion compensation means 106 Adder 200 Decoded image switching part 300 Re-encoding part 310 Deblock filter mounted re-encoding 320 Re-encoding unit without deblock filter

Claims (5)

デブロックフィルタが施された符号化データを復号し、その符号化データと同一符号化方式または他の符号化方式で再符号化する動画像再符号化装置であって、
デブロックフィルタ手段を有し、前記符号化データの復号の際、前記デブロックフィルタによってデブロックフィルタが施された復号画像、および前記デブロックフィルタ手段によって前記デブロックフィルタが施される前の復号画像を出力する復号部と、
前記復号部の後段に接続され、前記復号部から出力された復号データを、前記符号化データと同一符号化方式または他の符号化方式で再符号化する再符号化する再符号化部と、
前記復号部と前記再符号化部との間に設けられ、前記再符号化方式がデブロックフィルタを施す再符号化方式の場合には、前記復号部から前記デブロックフィルタ手段によって前記デブロックフィルタが施される前の復号画像を前記再符号化部へ出力する一方、前記再符号化方式がデブロックフィルタを施さない再符号化方式の場合には、前記復号部から前記デブロックフィルタ手段によって前記デブロックフィルタが施された復号画像を前記再符号化部へ出力する復号画像切り替え部と、
を有することを特徴とする動画像再符号化装置。
A video re-encoding device that decodes encoded data that has been subjected to deblocking filtering and re-encodes the encoded data using the same encoding method or another encoding method.
A decoding image having a deblocking filter means, and when the encoded data is decoded, a decoded image subjected to the deblocking filter by the deblocking filter, and a decoding before the deblocking filter is applied by the deblocking filter means A decoding unit for outputting an image;
A re-encoding unit that is connected to a subsequent stage of the decoding unit and re-encodes the decoded data output from the decoding unit using the same encoding method as the encoded data or another encoding method;
Provided between the decoding unit and the re-encoding unit, and when the re-encoding method is a re-encoding method in which a deblocking filter is applied, the deblocking filter means sends the deblocking filter to the deblocking filter unit. Is output to the re-encoding unit, while the re-encoding method is a re-encoding method that does not perform a de-blocking filter, the de-blocking filter means from the decoding unit A decoded image switching unit that outputs the decoded image subjected to the deblocking filter to the re-encoding unit;
A moving picture re-encoding device comprising:
請求項1記載の動画像再符号化装置において、
前記再符号化部における再符号化方式は、
外部から入力される再符号化方式信号に基づいて、前記復号部から前記デブロックフィルタが施される前あるいは前記デブロックフィルタが施された後の復号画像を前記再符号化部へ出力する、
ことを特徴とする動画像再符号化装置。
The moving image re-encoding device according to claim 1,
The re-encoding method in the re-encoding unit is:
Based on a re-encoding method signal input from the outside, the decoded image is output to the re-encoding unit before being subjected to the deblocking filter or after being subjected to the deblocking filter from the decoding unit.
A moving image re-encoding device characterized by the above.
請求項1記載の動画像再符号化装置において、
前記復号画像切り替え部は、
前記再符号化部から入力される当該再符号化部の符号化方式に基づいて前記復号部から前記デブロックフィルタが施される前あるいは前記デブロックフィルタが施された後の復号画像を前記再符号化部へ出力する、
ことを特徴とする動画像再符号化装置。
The moving image re-encoding device according to claim 1,
The decoded image switching unit
Based on the encoding method of the re-encoding unit input from the re-encoding unit, the decoded image from the decoding unit before being subjected to the deblocking filter or after being subjected to the deblocking filter is subjected to the re-encoding. Output to the encoding unit,
A moving image re-encoding device characterized by the above.
デブロックフィルタが施された符号化データを復号し、その符号化データと同一符号化方式または他の符号化方式で再符号化する動画像再符号化方法であって、
前記符号化データの復号の際、デブロックフィルタが施された復号画像、およびデブロックフィルタが施される前の復号画像を生成し、
前記復号画像を再符号化する際、デブロックフィルタを施す再符号化方式の場合には、前記デブロックフィルタが施される前の復号画像を再符号化する一方、デブロックフィルタを施さない再符号化方式の場合には、前記デブロックフィルタが施された復号画像を再符号化する、
ことを特徴とする動画像再符号化方法。
A video re-encoding method that decodes encoded data that has been subjected to deblocking filter, and re-encodes the encoded data using the same encoding method or another encoding method.
When decoding the encoded data, generate a decoded image subjected to the deblocking filter and a decoded image before being subjected to the deblocking filter,
When re-encoding the decoded image, in the case of a re-encoding method in which a deblocking filter is applied, the decoded image before being subjected to the deblocking filter is re-encoded while the re-encoding without the deblocking filter is performed. In the case of an encoding method, re-encode the decoded image subjected to the deblocking filter,
A moving image re-encoding method characterized by the above.
コンピュータに、デブロックフィルタが施された符号化データを復号し、その符号化データと同一符号化方式または他の符号化方式で再符号化することを実行させるための動画像再符号化用プログラムであって、
コンピュータに、
前記符号化データの復号の際、デブロックフィルタが施された復号画像、およびデブロックフィルタが施される前の復号画像を生成し、
前記復号画像を再符号化する際、デブロックフィルタを施す再符号化方式の場合には、前記デブロックフィルタが施される前の復号画像を再符号化する一方、デブロックフィルタを施さない再符号化方式の場合には、前記デブロックフィルタが施された復号画像を再符号化する、
ことを実行させることを特徴とする動画像再符号化用プログラム。
A moving picture re-encoding program for causing a computer to decode encoded data to which a deblocking filter has been applied and to re-encode the encoded data using the same encoding method or another encoding method. Because
On the computer,
When decoding the encoded data, generate a decoded image subjected to the deblocking filter and a decoded image before being subjected to the deblocking filter,
When re-encoding the decoded image, in the case of a re-encoding method in which a deblocking filter is applied, the decoded image before being subjected to the deblocking filter is re-encoded while the re-encoding without the deblocking filter is performed. In the case of an encoding method, re-encode the decoded image subjected to the deblocking filter,
A moving image re-encoding program characterized by causing the above to be executed.
JP2005298556A 2005-10-13 2005-10-13 Moving image recoding unit, moving image coding method, and moving image recoding program Pending JP2007110376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005298556A JP2007110376A (en) 2005-10-13 2005-10-13 Moving image recoding unit, moving image coding method, and moving image recoding program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005298556A JP2007110376A (en) 2005-10-13 2005-10-13 Moving image recoding unit, moving image coding method, and moving image recoding program

Publications (1)

Publication Number Publication Date
JP2007110376A true JP2007110376A (en) 2007-04-26

Family

ID=38035875

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005298556A Pending JP2007110376A (en) 2005-10-13 2005-10-13 Moving image recoding unit, moving image coding method, and moving image recoding program

Country Status (1)

Country Link
JP (1) JP2007110376A (en)

Similar Documents

Publication Publication Date Title
JP6111295B2 (en) Apparatus for encoding and decoding
JP4908180B2 (en) Video encoding device
JP5330647B2 (en) Adaptive reference image generation
US20170272758A1 (en) Video encoding method and apparatus using independent partition coding and associated video decoding method and apparatus
TWI543629B (en) Intra pulse code modulation (ipcm) and lossless coding mode deblocking for video coding
US7885341B2 (en) Spatial filtering for improving compression efficiency of motion compensated interframe coding
US20110150080A1 (en) Moving-picture encoding/decoding method and apparatus
US8971416B2 (en) Video decoder with vector processor and methods for use therewith
JP2008283303A (en) Image encoding device, and image encoding method
JP2008500760A (en) Method and apparatus for encoding digital video data
KR20190119173A (en) Methods and apparatus for collaborative partition coding for region based filters
US9088800B2 (en) General video decoding device for decoding multilayer video and methods for use therewith
US20120224643A1 (en) Video decoder with pipeline processing and methods for use therewith
US9025660B2 (en) Video decoder with general video decoding device and methods for use therewith
JP2006295569A (en) Moving picture decoder
JP2003304538A (en) Image encoder, image decoder, and method for them
JP4643437B2 (en) Information processing device
KR20160070822A (en) Systems and methods for separately defining dependencies for sub-layer based inter-layer prediction
JP2006279272A (en) Moving picture coder and coding control method thereof
US9369713B2 (en) Multi-format video decoder with vector processing instructions and methods for use therewith
JP2007110376A (en) Moving image recoding unit, moving image coding method, and moving image recoding program
CN114430904A (en) Video compression using intra-loop image-level controllable noise generation
EP2498496A1 (en) Multi-format video decoder and methods for use therewith
JP5990133B2 (en) Video encoding apparatus and video encoding method
JP2004350030A (en) Telop superimposing device, telop superimposing method, and telop superimposing program