JP6825699B2 - Moving image processing device, moving image processing method, and moving image processing program - Google Patents

Moving image processing device, moving image processing method, and moving image processing program Download PDF

Info

Publication number
JP6825699B2
JP6825699B2 JP2019512481A JP2019512481A JP6825699B2 JP 6825699 B2 JP6825699 B2 JP 6825699B2 JP 2019512481 A JP2019512481 A JP 2019512481A JP 2019512481 A JP2019512481 A JP 2019512481A JP 6825699 B2 JP6825699 B2 JP 6825699B2
Authority
JP
Japan
Prior art keywords
pixel block
image processing
processing
block
prediction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019512481A
Other languages
Japanese (ja)
Other versions
JPWO2018190242A1 (en
Inventor
芙美代 鷹野
芙美代 鷹野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Publication of JPWO2018190242A1 publication Critical patent/JPWO2018190242A1/en
Application granted granted Critical
Publication of JP6825699B2 publication Critical patent/JP6825699B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/46Embedding additional information in the video signal during the compression process

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

本願発明は、画像を複数の画素ブロックに分割し、分割した画素ブロックごとに符号化処理あるいは復号処理を行う技術に関する。 The present invention relates to a technique of dividing an image into a plurality of pixel blocks and performing coding processing or decoding processing for each divided pixel block.

H.264/MPEG(Moving Picture Experts Group) -4 AVC(Advanced Video Coding)(以降「H.264」と称する)やH.265/HEVC(High Efficiency Video Coding)(以降「H.265」と称する)といった動画像の符号化に関する標準規格では、画像を多数の画素ブロック(例えば16x16画素ブロックや4x4画素ブロック等)に分割し、画素ブロックごとに符号化および復号を行う。 H.264 / MPEG (Moving Picture Experts Group) -4 AVC (Advanced Video Coding) (hereinafter referred to as "H.264") and H.265 / HEVC (High Efficiency Video Coding) (hereinafter referred to as "H.265") ), The image is divided into a large number of pixel blocks (for example, 16x16 pixel block, 4x4 pixel block, etc.), and each pixel block is encoded and decoded.

H.264などの動画像の符号化では、時間的あるいは空間的な相関性に基づいて予測画像を生成し、入力画像と予測画像との差分を示す情報のみを符号化することによって、情報を圧縮する。このような情報の圧縮処理を行うエンコーダは、予測画像の生成方法を指定する符号化タイプを、インター予測とイントラ予測のいずれかから選択できる。インター予測は、時間的な相関性に基づいて、近傍フレームを構成する画素を基に予測画像を作成する方法である。これに対してイントラ予測は、空間的な相関性に基づいて同一フレームを構成する近傍画素を基に予測画像を生成する方法である。例えばH.264に準拠するイントラ予測では、フレームの左上に位置する画素ブロックからラスタスキャン順に処理を行う。すなわちH.264に準拠するイントラ予測では、ある対象画素ブロックの画素値を予測する場合に、例えば当該対象画素ブロックの左、左上、上、及び右上に位置する、符号化あるいは復号済みである画素ブロックの画素値に基づいて処理する。これらの画素ブロックは、符号化(あるいは復号)が未だ行なわれていない対象画素ブロックが符号化(あるいは復号)される際に参照されるべき、当該対象画素ブロックに隣接する画素ブロックである。本願では、これらの画素ブロックを、以降、「参照隣接ブロック」と称することとする。 In the coding of moving images such as H.264, the predicted image is generated based on the temporal or spatial correlation, and the information is encoded by encoding only the information indicating the difference between the input image and the predicted image. Compress. The encoder that performs such information compression processing can select the coding type that specifies the method of generating the predicted image from either inter-prediction or intra-prediction. Inter-prediction is a method of creating a prediction image based on pixels constituting neighboring frames based on temporal correlation. On the other hand, intra prediction is a method of generating a prediction image based on neighboring pixels constituting the same frame based on spatial correlation. For example, in intra-prediction based on H.264, processing is performed in raster scan order from the pixel block located at the upper left of the frame. That is, in the intra-prediction based on H.264, when predicting the pixel value of a target pixel block, for example, the encoded or decoded pixels located on the left, upper left, upper, and upper right of the target pixel block. Process based on the pixel value of the block. These pixel blocks are pixel blocks adjacent to the target pixel block that should be referred to when the target pixel block that has not yet been encoded (or decoded) is encoded (or decoded). In the present application, these pixel blocks will be hereinafter referred to as "reference adjacent blocks".

図17はH.264規格に準拠した一般的な動画像復号装置40の構成を概念的に示すブロック図である。動画像復号装置40は、可変長復号部410、逆変換逆量子化部411、ループフィルタ412、フレームバッファ413、インター予測部414、及び、イントラ予測部415を備えている。 FIG. 17 is a block diagram conceptually showing the configuration of a general moving image decoding device 40 conforming to the H.264 standard. The moving image decoding device 40 includes a variable length decoding unit 410, an inverse transformation inverse quantization unit 411, a loop filter 412, a frame buffer 413, an inter prediction unit 414, and an intra prediction unit 415.

可変長復号部410は、入力された動画像のビットストリームを復号する。逆変換逆量子化部411は、可変長復号部410によって復号された信号に対して、逆量子化したのち逆変換を行う。動画像復号装置40は、逆変換逆量子化部411が出力した信号と後述する予測画像とを加算することにより復元画像を生成する。ループフィルタ412は生成された復元画像におけるブロック歪を除去した結果である復号画像を出力する。フレームバッファ413は、ループフィルタ412から出力された復号画像を保持する。 The variable-length decoding unit 410 decodes the bit stream of the input moving image. Inverse conversion The inverse quantization unit 411 reverse-quantizes the signal decoded by the variable-length decoding unit 410 and then performs inverse conversion. The moving image decoding device 40 generates a restored image by adding the signal output by the inverse transformation inverse quantization unit 411 and the predicted image described later. The loop filter 412 outputs a decoded image which is the result of removing the block distortion in the generated restored image. The frame buffer 413 holds the decoded image output from the loop filter 412.

上述した予測画像は、インター予測部414もしくはイントラ予測部415によって生成される。インター予測部414は、フレームバッファ413に保持された復号画像の画素を用いることにより予測画像を生成する。インター予測部414は、処理対象とする画素ブロック(インター予測ブロック)に対する処理を行う際に、同一フレーム内の画素を参照しないので、同一フレームのインター予測ブロック間に処理順序に関する依存関係は存在しない。したがって、インター予測部414は、複数のインター予測ブロックに対する処理を、それらの処理状況に関係なく(依存することなく)、高並列に処理することができる。 The above-mentioned prediction image is generated by the inter prediction unit 414 or the intra prediction unit 415. The inter-prediction unit 414 generates a prediction image by using the pixels of the decoded image held in the frame buffer 413. Since the inter-prediction unit 414 does not refer to the pixels in the same frame when processing the pixel block (inter-prediction block) to be processed, there is no dependency on the processing order between the inter-prediction blocks of the same frame. .. Therefore, the inter-prediction unit 414 can process the processing for the plurality of inter-prediction blocks in high parallel regardless of their processing status (independently).

一方、イントラ予測部415は、参照隣接ブロックに含まれる復元画像の画素を用いて処理対象とする画素ブロック(イントラ予測ブロック)に関する予測画像を生成する。即ち、参照隣接ブロックに対する処理が完了するまで、イントラ予測部415によるイントラ予測ブロックに対する処理を行うことができないという、処理順序に関する依存関係が存在する。したがって、このような依存関係が存在する場合においても、動画像に対する符号化処理あるいは復号処理を高速化する技術への期待が高まってきている。 On the other hand, the intra prediction unit 415 generates a prediction image regarding a pixel block (intra prediction block) to be processed by using the pixels of the restored image included in the reference adjacent block. That is, there is a dependency related to the processing order that the intra prediction unit 415 cannot perform the processing on the intra prediction block until the processing on the reference adjacent block is completed. Therefore, even when such a dependency exists, there are increasing expectations for a technique for speeding up the coding process or the decoding process for a moving image.

このような技術に関連する技術として、特許文献1には、分割された画素ブロック単位で、符号化処理あるいは復号処理を並列に行う装置が開示されている。この装置は、フレーム内の左上端の画素ブロックから処理を開始し、各画素ブロックに対する処理が完了したか否かを管理する。この装置は、ある画素ブロックに対する処理を完了したときに、左と右上に位置する画素ブロックの処理が完了している画素ブロックを、次に処理する画素ブロックとして検索し、検索された画素ブロックに対して処理を行うことを繰り返し行なう。この装置は、左端の画素ブロックから右方向へ処理を進めるので、右上に位置する画素ブロックの処理が完了していることを確認できれば、左上と上に位置する画素ブロックに対する処理が完了しているという関係を保証することができる。 As a technique related to such a technique, Patent Document 1 discloses an apparatus that performs coding processing or decoding processing in parallel in units of divided pixel blocks. This device starts processing from the pixel block at the upper left end in the frame, and manages whether or not the processing for each pixel block is completed. When the processing for a certain pixel block is completed, this device searches for the pixel block for which the processing of the pixel blocks located on the left and upper right has been completed as the pixel block to be processed next, and uses the searched pixel block as the searched pixel block. On the other hand, the processing is repeated. Since this device proceeds from the leftmost pixel block to the right, if it can be confirmed that the processing of the pixel block located in the upper right is completed, the processing of the pixel blocks located in the upper left and above is completed. The relationship can be guaranteed.

図18は、上述した関係が保証されることを前提として、例えば特許文献1が示す技術を使用した一般的な動画像復号装置40が、画素ブロック(図18が示す個々の四角形)に対する予測処理を並列に実行する順番の一例を示す図である。図18における画素ブロックの位置は、2次元空間における(x,y)座標値により表すことができる。図18において各画素ブロックに付与された数字は、画素ブロックごとの処理順を表し、同一の数字が付与された画素ブロックは並列に処理可能であることを示している。 In FIG. 18, on the premise that the above-mentioned relationship is guaranteed, for example, a general moving image decoding device 40 using the technique shown in Patent Document 1 performs prediction processing on a pixel block (individual quadrangle shown in FIG. 18). It is a figure which shows an example of the order of executing in parallel. The position of the pixel block in FIG. 18 can be represented by the (x, y) coordinate values in the two-dimensional space. In FIG. 18, the number assigned to each pixel block indicates the processing order for each pixel block, and indicates that the pixel blocks to which the same number is assigned can be processed in parallel.

図18に示す例では、最初に、フレームの左上を表す座標値(1,1)に位置する画素ブロック(本願では、以降画素ブロック(1,1)と称し、他の画素ブロックについても同様に称することとする)に対する処理が行われる。次(2番目)に、画素ブロック(1,1)の右隣に位置する画素ブロック(2,1)に対する処理が行われる。画素ブロック(2,1)に対する処理が完了した時点で、画素ブロック(2,1)の右隣に位置する画素ブロック(3,1)と、画素ブロック(1,1)及び(2,1)を参照隣接ブロックとする画素ブロック(1,2)とに対する処理を実行することが可能となる。これにより、画素ブロック(3,1)及び(1,2)に対する処理が、3番目の処理として並列に行われる。図18に示す例では、以降、同様に、画素ブロック(m,n)(mは3以上の任意の整数、nは1以上の任意の整数)と、画素ブロック(m−2,n+1)とが並列処理される。但し、「−」は減算を表す演算子であり、「+」は加算を表す演算子である。 In the example shown in FIG. 18, first, the pixel block located at the coordinate value (1,1) representing the upper left of the frame (hereinafter referred to as the pixel block (1,1) in the present application, and the other pixel blocks are similarly referred to. The process for (referred to as) is performed. Next (second), processing is performed on the pixel block (2, 1) located to the right of the pixel block (1, 1). When the processing for the pixel block (2,1) is completed, the pixel block (3,1) located to the right of the pixel block (2,1), and the pixel blocks (1,1) and (2,1). It is possible to execute the processing for the pixel blocks (1, 2) having the reference adjacent block. As a result, the processing for the pixel blocks (3, 1) and (1, 2) is performed in parallel as the third processing. In the example shown in FIG. 18, similarly, the pixel block (m, n) (m is an arbitrary integer of 3 or more, n is an arbitrary integer of 1 or more) and the pixel block (m-2, n + 1) Is processed in parallel. However, "-" is an operator representing subtraction, and "+" is an operator representing addition.

また、特許文献2には、 各画像をマトリックス状に分割して生成されるn×n画素(nは任意の自然数)のマクロブロック(画素ブロック)単位に符号化された動画像ストリームを復号する装置が開示されている。この装置は、入力された動画像ストリームに含まれる、1以上のマクロブロックにより構成されるスライスを表す情報を解析することによって、当該スライス内のインターマクロブロック(インター予測ブロック)を検出する。この装置は、マクロブロックを単位としたデコード処理を実行する2つ以上のデコード処理手段を備えている。そして、この装置は、検出した当該スライス内のインターマクロブロックに対するデコード処理を、当該2つ以上のデコード処理手段により並列実行させた後、当該スライス内のイントラマクロブロック(イントラ予測ブロック)に対するデコード処理を、当該デコード処理手段が実行するように制御する。 Further, in Patent Document 2, a moving image stream encoded in macroblocks (pixel blocks) of n × n pixels (n is an arbitrary natural number) generated by dividing each image into a matrix is decoded. The device is disclosed. This device detects an inter-macro block (inter-prediction block) in the slice by analyzing information representing a slice composed of one or more macro blocks included in the input moving image stream. This device includes two or more decoding processing means for executing decoding processing in units of macroblocks. Then, this device executes the decoding process for the detected intermacroblock in the slice in parallel by the two or more decoding processing means, and then decodes the intramacroblock (intra prediction block) in the slice. Is controlled to be executed by the decoding processing means.

特開2006-129284号公報Japanese Unexamined Patent Publication No. 2006-129284 特開2009-038501号公報Japanese Patent Application Laid-Open No. 2009-038501

"情報源符号化部 H.264 | MPEG-4 AVC 規格の概要"、[Online]、[2017年3月29日検索]、インターネット<URL: http://www.soumu.go.jp/main_sosiki/joho_tsusin/policyreports/joho_tsusin/bunkakai/pdf/060720_3_1-2_sa2.pdf>"Information Source Coding Department H.264 | Overview of MPEG-4 AVC Standard", [Online], [Searched on March 29, 2017], Internet <URL: http://www.soumu.go.jp/main_sosiki /joho_tsusin/policyreports/joho_tsusin/bunkakai/pdf/060720_3_1-2_sa2.pdf>

上述した一般的な動画像復号処理、あるいは動画像符号化処理では、例えば図18に例示するように、処理対象とする画素ブロック(イントラ予測ブロック)をフレームにおける所定の位置(例えば左上)から順番に検索する。そして、検索したイントラ予測ブロックに関する参照隣接ブロック(例えば、当該イントラ予測ブロックの左、左上、上、及び右上に位置する画素ブロック)に対する処理が全て完了している場合に、当該イントラ予測ブロックに対する処理を開始する。 In the above-mentioned general moving image decoding processing or moving image coding processing, for example, as illustrated in FIG. 18, the pixel blocks (intra-prediction blocks) to be processed are ordered from a predetermined position (for example, upper left) in the frame. Search for. Then, when all the processing for the reference adjacent block related to the searched intra prediction block (for example, the pixel blocks located on the left, upper left, upper, and upper right of the intra prediction block) is completed, the processing for the intra prediction block is completed. To start.

このような処理を行う場合において、例えば、あるイントラ予測ブロックに関する参照隣接ブロックが全てインター予測ブロックであるような場合を考える。インター予測ブロックに対する処理は、上述した通り、それらの処理状況に関係なく(依存することなく)、並列に処理することができるので、高並列に処理されることによって、短時間に完了することができる。そして、当該イントラ予測ブロックが、例えばフレームの右下付近に位置する場合、当該イントラ予測ブロックが検索対象となるのは、検索順番において最後に近くなる。この場合、当該イントラ予測ブロックは、早いタイミングに処理可能となるにもかかわらず、実際に処理が開始されるタイミングは遅くなる。すなわち、一般的な動画像復号処理、あるいは動画像符号化処理では、早いタイミングに処理可能となるイントラ予測ブロックに対する処理の開始が遅れるケースが存在するので、処理の高速化が十分であるとは言えない。特許文献1及び2は、この問題について特に言及していない。本願発明の主たる目的は、このような問題を解決する動画像処理装置等を提供することである。 In the case of performing such processing, for example, consider a case where all the reference adjacent blocks related to a certain intra prediction block are inter prediction blocks. As described above, the processing for the inter-prediction block can be processed in parallel regardless of their processing status (independently), so that the processing can be completed in a short time by being processed in high parallel. it can. Then, when the intra prediction block is located near the lower right of the frame, for example, the intra prediction block is searched for near the end in the search order. In this case, although the intra prediction block can be processed at an early timing, the timing at which the processing is actually started is delayed. That is, in general moving image decoding processing or moving image coding processing, there are cases where the start of processing for the intra prediction block that can be processed at an early timing is delayed, so that the processing speed is sufficient. I can not say. Patent Documents 1 and 2 do not specifically mention this problem. A main object of the present invention is to provide a moving image processing device or the like that solves such a problem.

本願発明の一態様に係る動画像処理装置は、画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶する記憶手段と、前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定する判定手段と、前記判定手段によって、前記画像処理が実行可能と判定された複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する実行手段と、を備える。 The moving image processing apparatus according to one aspect of the present invention is a case where an image is divided into a plurality of pixel blocks and image processing is performed on each of the pixel blocks to perform coding processing or decoding processing on the image. A storage means for storing the execution state of the image processing for each pixel block, and a second pixel block stored in the storage means for which the image processing for the first pixel block has a dependency relationship with respect to the processing order. A determination means for determining whether or not the image processing for the first pixel block can be executed based on the execution state of the image processing, and a plurality of said firsts for which the determination means has determined that the image processing can be executed. The image processing for one pixel block is executed in parallel or pseudo-parallel, and the execution means for updating the execution state of the image processing for the first pixel block stored in the storage means is provided.

上記目的を達成する他の見地において、本願発明の一態様に係る動画像処理方法は、情報処理装置によって、画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶手段に記憶し、前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定し、前記画像処理が実行可能と判定した複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する。 From another viewpoint of achieving the above object, the moving image processing method according to one aspect of the present invention is performed by dividing an image into a plurality of pixel blocks by an information processing apparatus and performing image processing on each of the pixel blocks. When the encoding process or the decoding process for the image is performed, the execution state of the image processing is stored in the storage means for each pixel block, and the image processing for the first pixel block stored in the storage means. Determines whether or not the image processing for the first pixel block can be executed based on the execution state of the image processing for the second pixel block having a dependency relationship with respect to the processing order, and the image processing can be executed. The image processing for the plurality of determined first pixel blocks is executed in parallel or pseudo-parallel, and the execution state of the image processing for the first pixel block stored in the storage means is updated.

また、上記目的を達成する更なる見地において、本願発明の一態様に係る動画像処理プログラムは、画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶手段に記憶する記憶制御処理と、前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定する判定処理と、前記判定処理によって、前記画像処理が実行可能と判定された複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する実行処理と、をコンピュータに実行させるためのプログラムである。 Further, from the further viewpoint of achieving the above object, the moving image processing program according to one aspect of the present invention divides an image into a plurality of pixel blocks and performs image processing on each of the pixel blocks to perform the image processing. A storage control process for storing the execution state of the image processing in the storage means for each pixel block and an image for the first pixel block stored in the storage means when the coding process or the decoding process for the first pixel block is performed. A determination process for determining whether or not image processing for the first pixel block can be executed based on an execution state of image processing for the second pixel block whose processing has a dependency relationship with respect to the processing order, and the determination process. The image processing for the plurality of first pixel blocks determined to be feasible is executed in parallel or pseudo-parallel, and the image processing for the first pixel block stored in the storage means is performed. It is a program for causing a computer to execute an execution process that updates the execution status.

更に、本願発明は、係る動画像処理プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記録媒体によっても実現可能である。 Further, the present invention can also be realized by a computer-readable, non-volatile recording medium in which the moving image processing program (computer program) is stored.

本願発明は、動画像に対する符号化処理あるいは復号処理を高速化することを可能とする。 The present invention makes it possible to speed up the coding process or the decoding process for a moving image.

本願発明の第1の実施形態に係る動画像復号装置10の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image decoding apparatus 10 which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動画像復号装置10の動作全体を示すフローチャートである。It is a flowchart which shows the whole operation of the moving image decoding apparatus 10 which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係る動画像復号装置10が画素ブロックに対してインター予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation which the moving image decoding apparatus 10 which concerns on 1st Embodiment of this invention performs the prediction processing using the inter prediction method for a pixel block. 本願発明の第1の実施形態に係る動画像復号装置10が画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation which the moving image decoding apparatus 10 which concerns on 1st Embodiment of this invention performs the prediction processing using the intra prediction method for a pixel block. 本願発明の第1の実施形態に係る動画像復号装置10、及び、一般的な動画像復号装置が、画素ブロックに対する予測処理を並列に実行する順番の比較例を示す図である。It is a figure which shows the comparative example of the order in which the moving image decoding apparatus 10 which concerns on 1st Embodiment of this invention, and the general moving image decoding apparatus execute the prediction processing with respect to a pixel block in parallel. 本願発明の第2の実施形態に係る動画像復号装置10Aが参照する各イントラ予測モードの内容を例示する図である。It is a figure which illustrates the content of each intra prediction mode referred to by the moving image decoding apparatus 10A which concerns on the 2nd Embodiment of this invention. 本願発明の第2の実施形態に係る動画像復号装置10Aが、画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation which the moving image decoding apparatus 10A which concerns on 2nd Embodiment of this invention performs the prediction processing using the intra prediction method for a pixel block. 本願発明の第2の実施形態に係る動画像復号装置10A、及び、一般的な動画像復号装置が、画素ブロックに対する予測処理を並列に実行する順番の比較例を示す図である。It is a figure which shows the comparative example of the order in which the moving image decoding apparatus 10A which concerns on the 2nd Embodiment of this invention, and the general moving image decoding apparatus execute the prediction processing with respect to a pixel block in parallel. 本願発明の第3の実施形態に係る動画像復号装置10Bにより更新される画素ブロックに関する依存指標を例示する図である。It is a figure which illustrates the dependency index about the pixel block updated by the moving image decoding apparatus 10B which concerns on 3rd Embodiment of this invention. 本願発明の第3の実施形態に係る動画像復号装置10Bが、画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation which the moving image decoding apparatus 10B which concerns on 3rd Embodiment of this invention performs the prediction processing using the intra prediction method for a pixel block. 本願発明の第4の実施形態に係る動画像符号化装置20の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image coding apparatus 20 which concerns on 4th Embodiment of this invention. 本願発明の第4の実施形態に係る動画像符号化装置20の動作全体を示すフローチャートである。It is a flowchart which shows the whole operation of the moving image coding apparatus 20 which concerns on 4th Embodiment of this invention. 本願発明の第4の実施形態に係る動画像符号化装置20が、画素ブロックに対してインター予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。It is a flowchart which shows the detail of the operation which the moving image coding apparatus 20 which concerns on 4th Embodiment of this invention performs the prediction processing using the inter prediction method for a pixel block. 本願発明の第4の実施形態に係る動画像符号化装置20が、画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートA flowchart showing the details of the operation of the moving image coding device 20 according to the fourth embodiment of the present invention to perform a prediction process using an intra prediction method on a pixel block. 本願発明の第5の実施形態に係る動画像処理装置30の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image processing apparatus 30 which concerns on 5th Embodiment of this invention. 本願発明の各実施形態に係る動画像復号装置10(10A、10B)、動画像符号化装置20、及び、動画像処理装置30を実行可能な情報処理装置900の構成を示すブロック図である。It is a block diagram which shows the structure of the moving image decoding apparatus 10 (10A, 10B) which concerns on each embodiment of this invention, the moving image coding apparatus 20, and the information processing apparatus 900 which can execute the moving image processing apparatus 30. 一般的な動画像復号装置40の構成を示すブロック図である。It is a block diagram which shows the structure of the general moving image decoding apparatus 40. 一般的な動画像復号装置40が画素ブロックに対する予測処理を並列に実行する順番の一例を示す図である。It is a figure which shows an example of the order in which a general moving image decoding apparatus 40 executes a prediction process for a pixel block in parallel.

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

<第1の実施形態>
図1は、本願発明の第1の実施の形態に係る動画像復号装置10の構成を概念的に示すブロック図である。尚、図1は、後述する第2の実施形態に係る動画像復号装置10A、及び、第3の実施形態に係る動画像復号装置10Bに関する説明においても、参照することとする。
<First Embodiment>
FIG. 1 is a block diagram conceptually showing the configuration of the moving image decoding device 10 according to the first embodiment of the present invention. Note that FIG. 1 will also be referred to in the description of the moving image decoding device 10A according to the second embodiment and the moving image decoding device 10B according to the third embodiment, which will be described later.

本実施形態に係る動画像復号装置10は、図示しない動画像符号化装置によって符号化された動画像を表す入力ビットストリームに対して、例えばH.264あるいはH.265等の標準規格に準拠した復号処理を行い、その復号処理の結果として復号画像を出力する装置である。動画像復号装置10は、動画像を構成するフレームに含まれる画素ブロック(例えば16x16画素ブロックや4x4画素ブロック等)ごとに復号処理を並列または擬似並列に行う。但し、擬似並列は、例えば時分割等による並列処理のことである。本願では以降、「擬似並列」も含めて、「並列」と称することとする。 The moving image decoding device 10 according to the present embodiment conforms to a standard such as H.264 or H.265 for an input bit stream representing a moving image encoded by a moving image coding device (not shown). It is a device that performs a decoding process and outputs a decoded image as a result of the decoding process. The moving image decoding device 10 performs decoding processing in parallel or pseudo-parallel for each pixel block (for example, 16x16 pixel block, 4x4 pixel block, etc.) included in the frame constituting the moving image. However, pseudo-parallel is parallel processing by, for example, time division. Hereinafter, in the present application, it will be referred to as "parallel" including "pseudo-parallel".

動画像復号装置10が復号処理を行う入力ビットストリームは、時間的あるいは空間的な相関性に基づいて生成された予測画像と入力画像(元画像)との差分を示す情報のみを符号化することによって圧縮が行なわれた情報である。そして、入力ビットストリームに含まれる個々の画素ブロックに関する予測画像は、インター予測(方法)あるいはイントラ予測(方法)によって生成されている。インター予測は、時間的な相関性に基づいて、近傍フレームに含まれる画素を用いて予測画像を生成する方法である。イントラ予測は、空間的な相関性に基づいて同一フレームに含まれる近傍画素を用いて予測画像を生成する方法である。 The input bitstream to be decoded by the moving image decoding device 10 encodes only information indicating the difference between the predicted image and the input image (original image) generated based on the temporal or spatial correlation. This is the information compressed by. Then, the prediction image regarding each pixel block included in the input bit stream is generated by inter-prediction (method) or intra-prediction (method). Inter-prediction is a method of generating a predicted image using pixels included in neighboring frames based on temporal correlation. Intra-prediction is a method of generating a predicted image using neighboring pixels included in the same frame based on spatial correlation.

本実施形態に係る動画像復号装置10は、大別して、実行部11、記憶部12、及び、判定部13を備えている。 The moving image decoding device 10 according to the present embodiment is roughly classified into an execution unit 11, a storage unit 12, and a determination unit 13.

記憶部12は、電子メモリあるいは磁気ディスク等の記憶デバイスである。記憶部12は、後述するインター予測部114によるインター予測処理(画像処理)及びイントラ予測部115によるイントラ予測処理(画像処理)の実行状態を、画素ブロック毎に記憶している。これらの実行状態は、インター予測部114あるいはイントラ予測部115により更新される。記憶部12は、また、後述する可変長復号部110によって出力された符号化タイプ(情報)を画素ブロックと関連付けて記憶している。符号化タイプについては後述する。 The storage unit 12 is a storage device such as an electronic memory or a magnetic disk. The storage unit 12 stores the execution state of the inter-prediction processing (image processing) by the inter-prediction unit 114 and the intra-prediction processing (image processing) by the intra-prediction unit 115 for each pixel block. These execution states are updated by the inter-prediction unit 114 or the intra-prediction unit 115. The storage unit 12 also stores the coding type (information) output by the variable length decoding unit 110, which will be described later, in association with the pixel block. The coding type will be described later.

判定部13は、後述するイントラ予測部115が、ある未処理の画素ブロック(第一の画素ブロック)をイントラ予測処理対象として選択した場合に、当該画素ブロックに対するイントラ予測処理の実行が可能であるか否かを判定する。判定部13は、より具体的には、当該画素ブロックに対して、例えば、左、左上、上、右上に位置する画素ブロック(第二の画素ブロック)を、参照隣接ブロックとして順番に設定し、その実行状態を、記憶部12を参照することによって確認する。尚、判定部13により参照隣接ブロックとして設定される画素ブロックは、当該画素ブロックに対して、左、左上、上、右上以外の位置に位置する画素ブロックであってもよい。判定部13は、参照隣接ブロックに対する予測処理が全て完了している(即ち、選択した画素ブロックから参照隣接ブロックに対する、処理順序に関する依存関係が解消している)場合に、イントラ予測部115によるイントラ予測処理の実行が可能であると判定し、その判定結果をイントラ予測部115へ通知する。 When the intra-prediction unit 115, which will be described later, selects a certain unprocessed pixel block (first pixel block) as the intra-prediction processing target, the determination unit 13 can execute the intra-prediction processing for the pixel block. Judge whether or not. More specifically, the determination unit 13 sequentially sets pixel blocks (second pixel blocks) located on the left, upper left, upper, and upper right of the pixel block as reference adjacent blocks. The execution state is confirmed by referring to the storage unit 12. The pixel block set as the reference adjacent block by the determination unit 13 may be a pixel block located at a position other than the left, upper left, upper, and upper right with respect to the pixel block. When the determination unit 13 has completed all the prediction processing for the reference adjacent block (that is, the dependency on the processing order from the selected pixel block to the reference adjacent block has been eliminated), the intra prediction unit 115 makes an intra. It is determined that the prediction process can be executed, and the determination result is notified to the intra prediction unit 115.

実行部11は、可変長復号部110、逆変換逆量子化部111、ループフィルタ112、フレームバッファ113、インター予測部114、イントラ予測部115、及び、スイッチ116及び117を含んでいる。 The execution unit 11 includes a variable length decoding unit 110, an inverse transformation inverse quantization unit 111, a loop filter 112, a frame buffer 113, an inter prediction unit 114, an intra prediction unit 115, and switches 116 and 117.

可変長復号部110は、入力ビットストリームに対する復号処理を行うことによって、量子化後変換係数、及び、符号化タイプを含む情報を出力する。量子化後変換係数については、本願発明の技術領域においては周知の技術を採用することができるので、その詳細な説明を省略する。符号化タイプは、画素ブロック毎に、インター予測により符号化されたのかイントラ予測により符号化されたのかを識別する情報である。可変長復号部110は、符号化タイプを画素ブロックと関連付けて記憶部12へ格納する。 The variable-length decoding unit 110 outputs information including the post-quantization conversion coefficient and the coding type by performing decoding processing on the input bit stream. As for the post-quantization conversion coefficient, a well-known technique can be adopted in the technical field of the present invention, and a detailed description thereof will be omitted. The coding type is information that identifies for each pixel block whether it is encoded by inter-prediction or intra-prediction. The variable-length decoding unit 110 stores the coding type in the storage unit 12 in association with the pixel block.

逆変換逆量子化部111は、可変長復号部110から出力された量子化後変換係数を逆量子化した後、逆変換することによって残差信号を出力する。逆変換逆量子化部111により行なわれる処理は、本願発明の技術領域においては周知の技術を採用することができるので、その詳細な説明を省略する。 Inverse conversion The inverse quantization unit 111 outputs a residual signal by inversely converting the post-quantization conversion coefficient output from the variable length decoding unit 110 after inverse quantization. Since a well-known technique can be adopted in the technical area of the present invention for the process performed by the inverse transform inverse quantization unit 111, detailed description thereof will be omitted.

インター予測部114は、記憶部12に記憶された各画素ブロックに関する符号化タイプと予測処理の実行状態を参照する。インター予測部114は、符号化タイプが「インター予測」を示す画素ブロック(インター予測ブロック)のうち、予測処理が未処理であるインター予測ブロックを選択し、選択したインター予測ブロックに対してインター予測処理を行う。インター予測部114は、より具体的には、後述するフレームバッファ113に記憶された復号済みのフレーム(画像)を参照することによってインター予測処理を行った結果を表す予測画像を生成する。実行部11は、生成した予測画像と、逆変換逆量子化部111から出力された残差信号とを加算することによって、復元画像を生成する。インター予測部114は、予測処理を完了したインター予測ブロックに関して、記憶部12に記憶された実行状態を「完了」に更新する。 The inter-prediction unit 114 refers to the coding type and the execution state of the prediction process for each pixel block stored in the storage unit 12. The inter-prediction unit 114 selects an inter-prediction block for which prediction processing has not been processed from among pixel blocks (inter-prediction blocks) whose coding type indicates "inter-prediction", and inter-predicts the selected inter-prediction block. Perform processing. More specifically, the inter-prediction unit 114 generates a prediction image representing the result of the inter-prediction processing by referring to the decoded frame (image) stored in the frame buffer 113 described later. The execution unit 11 generates a restored image by adding the generated predicted image and the residual signal output from the inverse transformation inverse quantization unit 111. The inter-prediction unit 114 updates the execution state stored in the storage unit 12 to "completed" with respect to the inter-prediction block that has completed the prediction process.

イントラ予測部115は、記憶部12に記憶された各画素ブロックに関する符号化タイプと予測処理の実行状態を参照する。イントラ予測部115は、符号化タイプが「イントラ予測」を示す画素ブロック(イントラ予測ブロック)のうち、予測処理が未処理であるイントラ予測ブロックを選択する。 The intra prediction unit 115 refers to the coding type and the execution state of the prediction process for each pixel block stored in the storage unit 12. The intra prediction unit 115 selects an intra prediction block whose prediction process has not been processed from among the pixel blocks (intra prediction blocks) whose coding type indicates “intra prediction”.

イントラ予測部115は、判定部13から、選択したイントラ予測ブロックに対するイントラ予測処理の実行が可能であることを通知された場合、当該イントラ予測ブロックに対するイントラ予測処理を開始する。イントラ予測部115は、より具体的には、隣接参照ブロックに関する復元画像を参照することによってイントラ予測処理を行った結果を表す予測画像を生成する。但し、隣接参照ブロックに関する復元画像は、イントラ予測部115によって、例えば記憶部12に格納されていることとする。実行部11は、生成した予測画像と、逆変換逆量子化部111から出力された残差信号とを加算することによって、復元画像を生成する。イントラ予測部115は、予測処理を完了したイントラ予測ブロックに関して、記憶部12に記憶された実行状態を「完了」に更新する。 When the determination unit 13 notifies that the intra prediction process can be executed for the selected intra prediction block, the intra prediction unit 115 starts the intra prediction process for the intra prediction block. More specifically, the intra prediction unit 115 generates a prediction image representing the result of performing the intra prediction processing by referring to the restored image relating to the adjacent reference block. However, it is assumed that the restored image relating to the adjacent reference block is stored by the intra prediction unit 115, for example, in the storage unit 12. The execution unit 11 generates a restored image by adding the generated predicted image and the residual signal output from the inverse transformation inverse quantization unit 111. The intra prediction unit 115 updates the execution state stored in the storage unit 12 to "completed" with respect to the intra prediction block that has completed the prediction process.

実行部11は、処理対象とする画素ブロックの符号化タイプに応じて、インター予測部114及びイントラ予測部115に関する入出力を切り換えるスイッチ116及び117を切り換えることによって、上述したインター予測処理及びイントラ予測処理を適宜切り換えることができることとする。この切り換えについては、本願発明の技術領域においては周知の技術を採用することができるので、その詳細な説明を省略する。ループフィルタ112は、実行部11によって生成された復元画像からブロック歪を除去した復号画像を生成して、生成した復号画像を外部へ出力する。ループフィルタ112は、生成した復号画像を、フレームバッファ113に格納する。 The execution unit 11 switches the above-mentioned inter-prediction processing and intra-prediction by switching the switches 116 and 117 for switching the input / output of the inter-prediction unit 114 and the intra-prediction unit 115 according to the coding type of the pixel block to be processed. It is assumed that the processing can be switched as appropriate. As for this switching, a well-known technique can be adopted in the technical field of the present invention, and a detailed description thereof will be omitted. The loop filter 112 generates a decoded image in which block distortion is removed from the restored image generated by the execution unit 11, and outputs the generated decoded image to the outside. The loop filter 112 stores the generated decoded image in the frame buffer 113.

次に図2乃至図4のフローチャートを参照して、本実施形態に係る動画像復号装置10の動作(処理)について詳細に説明する。 Next, the operation (processing) of the moving image decoding device 10 according to the present embodiment will be described in detail with reference to the flowcharts of FIGS. 2 to 4.

図2は、動画像復号装置10の動作全体を示すフローチャートである。 FIG. 2 is a flowchart showing the entire operation of the moving image decoding device 10.

実行部11における可変長復号部110は、入力ビットストリームに対する復号処理を行うことによって、量子化後変換係数、及び、符号化タイプを含む情報を出力する(ステップS101)。実行部11における逆変換逆量子化部111は、可変長復号部110から出力された量子化後変換係数を逆量子化した後、逆変換することによって残差信号を出力する(ステップS102)。 The variable-length decoding unit 110 in the execution unit 11 outputs information including the post-quantization conversion coefficient and the coding type by performing decoding processing on the input bit stream (step S101). The inverse conversion inverse quantization unit 111 in the execution unit 11 outputs a residual signal by inversely converting the post-quantization conversion coefficient output from the variable length decoding unit 110 after inverse quantization (step S102).

実行部11は、符号化タイプがインター予測である画素ブロック(インター予測ブロック)に対して、インター予測処理を行なうことにより、復元画像を生成する(ステップS103)。実行部11は、符号化タイプがイントラ予測である画素ブロック(イントラ予測ブロック)に対して、イントラ予測処理を行なうことにより、復元画像を生成する(ステップS104)。実行部11におけるループフィルタ112は、生成された復元画像からブロック歪を除去した復号画像を生成し、生成した復号画像を、外部へ出力するとともにフレームバッファ113に格納し(ステップS105)、全体の処理は終了する。 The execution unit 11 generates a restored image by performing inter-prediction processing on a pixel block (inter-prediction block) whose coding type is inter-prediction (step S103). The execution unit 11 generates a restored image by performing an intra prediction process on a pixel block (intra prediction block) whose coding type is intra prediction (step S104). The loop filter 112 in the execution unit 11 generates a decoded image in which the block distortion is removed from the generated restored image, outputs the generated decoded image to the outside, and stores it in the frame buffer 113 (step S105). The process ends.

図3は、動画像復号装置10が画素ブロックに対してインター予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。即ち、図3は、図2に示すフローチャートにおけるステップS103の詳細を示すフローチャートである。 FIG. 3 is a flowchart showing the details of the operation of the moving image decoding device 10 for performing the prediction processing using the inter-prediction method on the pixel block. That is, FIG. 3 is a flowchart showing the details of step S103 in the flowchart shown in FIG.

実行部11におけるインター予測部114は、記憶部12に記憶された画素ブロック毎の予測処理の実行状態を参照することによって、未処理のインター予測ブロックを選択する(ステップS201)。インター予測部114は、選択したインター予測ブロックに対して、インター予測処理を行なう(ステップS202)。 The inter-prediction unit 114 in the execution unit 11 selects an unprocessed inter-prediction block by referring to the execution state of the prediction process for each pixel block stored in the storage unit 12 (step S201). The inter-prediction unit 114 performs inter-prediction processing on the selected inter-prediction block (step S202).

インター予測部114は、予測処理を完了したインター予測ブロックに関して、記憶部12に記憶された実行状態を「完了」に更新する(ステップS203)。インター予測部114は、記憶部12を参照することによって、未処理のインター予測ブロックがあるか否かを確認する(ステップS204)。 The inter-prediction unit 114 updates the execution state stored in the storage unit 12 to "completed" with respect to the inter-prediction block that has completed the prediction process (step S203). The inter-prediction unit 114 confirms whether or not there is an unprocessed inter-prediction block by referring to the storage unit 12 (step S204).

未処理のインター予測ブロックが存在する場合(ステップS205でYes)、処理はステップS201へ戻る。未処理のインター予測ブロックが存在しない場合(ステップS205でNo)、ステップS103の処理は終了する。 If there is an unprocessed inter-prediction block (Yes in step S205), the process returns to step S201. If there is no unprocessed inter-prediction block (No in step S205), the processing in step S103 ends.

図4は、動画像復号装置10が画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。即ち、図4は、図2に示すフローチャートにおけるステップS104の詳細を示すフローチャートである。 FIG. 4 is a flowchart showing the details of the operation of the moving image decoding device 10 for performing the prediction processing using the intra prediction method on the pixel block. That is, FIG. 4 is a flowchart showing the details of step S104 in the flowchart shown in FIG.

実行部11におけるイントラ予測部115は、記憶部12に記憶された画素ブロック毎の予測処理の実行状態を参照することによって、未処理のイントラ予測ブロックを選択する(ステップS301)。判定部13は、イントラ予測部115が選択したイントラ予測ブロックに対して、左、左上、上、右上に位置する画素ブロックを、参照隣接ブロックとして順番に設定し、記憶部12を参照することによって、当該参照隣接ブロックに対する予測処理が完了しているか否かを確認する(ステップS302)。 The intra prediction unit 115 in the execution unit 11 selects an unprocessed intra prediction block by referring to the execution state of the prediction processing for each pixel block stored in the storage unit 12 (step S301). The determination unit 13 sequentially sets pixel blocks located on the left, upper left, upper, and upper right of the intra prediction block selected by the intra prediction unit 115 as reference adjacent blocks, and refers to the storage unit 12. , It is confirmed whether or not the prediction process for the reference adjacent block is completed (step S302).

当該参照隣接ブロックに対する予測処理が完了していない場合(ステップS303でNo)、処理はステップS301へ戻る。当該参照隣接ブロックに対する予測処理が完了している場合(ステップS303でYes)、判定部13は、次の参照隣接ブロックについてステップS302からのループ処理を行い、全ての参照隣接ブロックに対する処理が完了した場合、処理はステップS305へ進む(ステップS304)。 If the prediction process for the reference adjacent block is not completed (No in step S303), the process returns to step S301. When the prediction process for the reference adjacent block is completed (Yes in step S303), the determination unit 13 performs the loop process from step S302 for the next reference adjacent block, and the process for all the reference adjacent blocks is completed. If so, the process proceeds to step S305 (step S304).

判定部13は、イントラ予測部115が選択したイントラ予測ブロックに対するイントラ予測処理が実行可能と判定し、その判定結果をイントラ予測部115へ通知する(ステップS306)。イントラ予測部115は、選択したイントラ予測ブロックに対して、イントラ予測処理を行なう(ステップS306)。 The determination unit 13 determines that the intra prediction process for the intra prediction block selected by the intra prediction unit 115 can be executed, and notifies the intra prediction unit 115 of the determination result (step S306). The intra prediction unit 115 performs an intra prediction process on the selected intra prediction block (step S306).

イントラ予測部115は、予測処理を完了したイントラ予測ブロックに関して、記憶部12に記憶された実行状態を「完了」に更新する(ステップS307)。イントラ予測部115は、記憶部12を参照することによって、未処理のイントラ予測ブロックがあるか否かを確認する(ステップS308)。 The intra-prediction unit 115 updates the execution state stored in the storage unit 12 to "completed" with respect to the intra-prediction block for which the prediction process has been completed (step S307). The intra prediction unit 115 confirms whether or not there is an unprocessed intra prediction block by referring to the storage unit 12 (step S308).

未処理のイントラ予測ブロックが存在する場合(ステップS309でYes)、処理はステップS301へ戻る。未処理のイントラ予測ブロックが存在しない場合(ステップS309でNo)、ステップS104の処理は終了する。 If there is an unprocessed intra prediction block (Yes in step S309), the process returns to step S301. If there is no unprocessed intra prediction block (No in step S309), the processing in step S104 ends.

本実施形態に係る動画像復号装置10は、動画像に対する復号処理を高速化することができる。その理由は、動画像復号装置10は、予測処理に関して第一の画素ブロックが第二の画素ブロックに対して処理順序に関する依存関係がある場合、画素ブロックごとに予測処理(画像処理)の実行状態を管理することによって、当該依存関係が解消したことを早いタイミングに検出し、その結果として、第一の画素ブロックに対する予測処理の開始を早めることができるからである。 The moving image decoding device 10 according to the present embodiment can speed up the decoding process for moving images. The reason is that the moving image decoding device 10 executes the prediction process (image processing) for each pixel block when the first pixel block has a processing order dependency on the second pixel block. This is because it is possible to detect that the dependency has been resolved at an early timing by managing the above, and as a result, it is possible to accelerate the start of the prediction process for the first pixel block.

以下に、本実施形態に係る動画像復号装置10によって実現される効果について、詳細に説明する。 The effects realized by the moving image decoding apparatus 10 according to the present embodiment will be described in detail below.

一般的な動画像復号処理では(動画像符号化処理でも同様)、処理対象とするイントラ予測ブロックを、フレームにおける例えば左上から順番に検索する。そして、検索したイントラ予測ブロックに関する参照隣接ブロックに対する処理が全て完了している場合に、当該イントラ予測ブロックに対する処理を開始する。このような処理を行う場合において、例えば、あるイントラ予測ブロックに関する参照隣接ブロックが全てインター予測ブロックであり、かつ、フレームの右下付近に位置する場合、当該イントラ予測ブロックは、早いタイミングに処理可能となるにもかかわらず、実際に処理が開始されるタイミングは遅くなる。すなわち、一般的な動画像復号処理、あるいは動画像符号化処理では、早いタイミングに処理可能となるイントラ予測ブロックに対する処理の開始が遅れるケースが存在するので、処理の高速化が十分でないという問題がある。 In the general moving image decoding process (the same applies to the moving image coding process), the intra prediction blocks to be processed are searched in order from, for example, the upper left of the frame. Then, when all the processing for the reference adjacent block related to the searched intra prediction block is completed, the processing for the intra prediction block is started. In the case of performing such processing, for example, when all the reference adjacent blocks related to a certain intra prediction block are inter prediction blocks and are located near the lower right of the frame, the intra prediction block can be processed at an early timing. Nevertheless, the timing at which the processing is actually started is delayed. That is, in general moving image decoding processing or moving image coding processing, there is a case where the start of processing for the intra prediction block that can be processed at an early timing is delayed, so that there is a problem that the speed of processing is not sufficient. is there.

このような問題に対して、本実施形態に係る動画像復号装置10は、実行部11、記憶部12、及び、判定部13を備え、例えば、図2乃至図4を参照して上述する通り動作する。即ち、記憶部12は、画像を複数の画素ブロックに分割し、個々の画素ブロックに対する画像処理を行うことによって、画像に対する復号処理を行う場合に、画素ブロック毎に画像処理の実行状態を記憶する。判定部13は、記憶部12に記憶された、第一の画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の画素ブロックに対する画像処理の実行状態に基づいて、第一の画素ブロックに対する画像処理が実行可能か否かを判定する。実行部11は、判定部13によって、画像処理が実行可能と判定された複数の第一の画素ブロックに対する画像処理を並列に実行するとともに、記憶部12に記憶された第一の画素ブロックに対する画像処理の実行状態を更新する。 To deal with such a problem, the moving image decoding device 10 according to the present embodiment includes an execution unit 11, a storage unit 12, and a determination unit 13, for example, as described above with reference to FIGS. 2 to 4. Operate. That is, when the storage unit 12 divides the image into a plurality of pixel blocks and performs image processing on each pixel block to perform decoding processing on the image, the storage unit 12 stores the execution state of the image processing for each pixel block. .. The determination unit 13 refers to the first pixel block based on the execution state of the image processing for the second pixel block in which the image processing for the first pixel block has a dependency relationship with respect to the processing order, which is stored in the storage unit 12. Determine if image processing is feasible. The execution unit 11 executes image processing for a plurality of first pixel blocks determined by the determination unit 13 in parallel, and an image for the first pixel block stored in the storage unit 12. Update the execution status of the process.

図5は、本実施形態に係る動画像復号装置10、及び、一般的な動画像復号装置が、画素ブロックに対する予測処理(画像処理)を並列に実行する順番の比較例を示す図である。図5において、白の四角形はインター予測ブロックを表し、グレーの四角形はイントラ予測ブロックを表している。図5において、イントラ予測ブロックに付与された数字は、イントラ予測ブロックごとの処理順を表し、同一の数字が付与されたイントラ予測ブロックは並列に処理可能であることを示している。また、各イントラ予測ブロックに関する参照隣接ブロックは、当該イントラ予測ブロックの左、左上、上、及び右上に位置する画素ブロックであることとする。 FIG. 5 is a diagram showing a comparative example of the order in which the moving image decoding device 10 according to the present embodiment and the general moving image decoding device execute prediction processing (image processing) for pixel blocks in parallel. In FIG. 5, the white square represents the inter-prediction block and the gray square represents the intra-prediction block. In FIG. 5, the numbers assigned to the intra prediction blocks represent the processing order for each intra prediction block, and the intra prediction blocks to which the same numbers are assigned can be processed in parallel. Further, the reference adjacent block for each intra prediction block is a pixel block located on the left, upper left, upper, and upper right of the intra prediction block.

図5に示す例では、各イントラ予測ブロックに関する参照隣接ブロックは、全てインター予測ブロックであることとする。本実施形態に係る動画像復号装置10は、画素ブロック(第一の画素ブロック)ごとに参照隣接ブロック(第二の画素ブロック)に対する予測処理の実行状態を管理する。このため、動画像復号装置10は、図5(a)に示す通り、6つのイントラ予測ブロックに対する予測処理を並列に実行することができる。即ちこの場合、処理の最大並列度は「6」であり、処理のステップ数は「1」である。 In the example shown in FIG. 5, it is assumed that the reference adjacent blocks for each intra prediction block are all inter prediction blocks. The moving image decoding device 10 according to the present embodiment manages the execution state of the prediction process for the reference adjacent block (second pixel block) for each pixel block (first pixel block). Therefore, as shown in FIG. 5A, the moving image decoding device 10 can execute the prediction processing for the six intra prediction blocks in parallel. That is, in this case, the maximum degree of parallelism of processing is "6", and the number of processing steps is "1".

これに対して、一般的な動画像復号装置は、処理対象とするイントラ予測ブロックを、フレームにおける左上から順番に検索する。したがって、一般的な動画像復号装置がイントラ予測ブロック(m,n)に対する予測処理を開始できるのは、座標値(1,n)乃至座標値(m−1,n)の範囲(即ち、イントラ予測ブロック(m,n)とy座標が等しい列における左側)に位置するイントラ予測ブロックに対する予測処理が完了した後となる。このため、一般的な動画像復号装置は、図5(b)に示す通り、6つのイントラ予測ブロックに対する予測処理を順番に並列に実行する。即ちこの場合、処理の最大並列度は「3」であり、処理のステップ数は「3」である。 On the other hand, a general moving image decoding device searches for the intra prediction block to be processed in order from the upper left of the frame. Therefore, a general moving image decoding device can start the prediction process for the intra prediction block (m, n) in the range of the coordinate values (1, n) to the coordinate values (m-1, n) (that is, the intra). This is after the prediction process for the intra prediction block located on the left side of the column where the y coordinate is the same as the prediction block (m, n) is completed. Therefore, as shown in FIG. 5B, a general moving image decoding device executes prediction processing for six intra prediction blocks in order in parallel. That is, in this case, the maximum degree of parallelism of processing is "3", and the number of processing steps is "3".

上述した通り、本実施形態に係る動画像復号装置10は、一般的な動画像復号装置と比較して、画素ブロックに対する予測処理の並列度を高めることによって、予測処理のステップ数を削減するので、動画像に対する復号処理を高速化することができる。近年、多数の演算器を備えることによって多数の処理を並列に実行可能であるGPU(Graphics Processing Unit)などのデバイスが実現されている。本実施形態に係る動画像復号装置10は、このようなデバイスが備える機能を有効活用することによって、動画像に対する復号処理を高速化することができる。 As described above, the moving image decoding device 10 according to the present embodiment reduces the number of steps of the prediction processing by increasing the degree of parallelism of the prediction processing with respect to the pixel block as compared with the general moving image decoding device. , The decoding process for moving images can be speeded up. In recent years, devices such as GPUs (Graphics Processing Units) that can execute a large number of processes in parallel by providing a large number of arithmetic units have been realized. The moving image decoding device 10 according to the present embodiment can speed up the decoding process for moving images by effectively utilizing the functions provided by such a device.

<第2の実施形態>
本願発明の第2の実施形態に係る動画像復号装置10Aの構成を、図1を参照して説明する。本実施形態において、上述した第1の実施形態と同様の機能を有する構成に関しては、第1の実施形態と同一の番号を付与することにより、その詳細な説明を省略する。
<Second embodiment>
The configuration of the moving image decoding device 10A according to the second embodiment of the present invention will be described with reference to FIG. In the present embodiment, the same number as that of the first embodiment is assigned to the configuration having the same function as that of the first embodiment described above, and detailed description thereof will be omitted.

本実施形態に係る動画像復号装置10Aは、イントラ予測ブロックに対する予測処理を行う際に、イントラ予測ブロック毎に設定されたイントラ予測モードを参照する点において、第1の実施形態に係る動画像復号装置10と異なる。第1の実施形態に係る参照隣接ブロックは、イントラ予測ブロックの、例えば、左、左上、上、及び右上に位置する画素ブロックに固定されている。即ち、第1の実施形態では、イントラ予測ブロックとその参照隣接ブロックとの位置関係は、イントラ予測ブロック同士で共通である。これに対し、本実施形態では、イントラ予測ブロックとその参照隣接ブロックとの位置関係が、イントラ予測ブロック毎に異なってもよい。イントラ予測モードは、あるイントラ予測ブロックに関する参照隣接ブロックを特定可能な情報である。 The moving image decoding device 10A according to the first embodiment refers to the intra prediction mode set for each intra prediction block when performing the prediction processing for the intra prediction block. Different from device 10. The reference adjacent blocks according to the first embodiment are fixed to pixel blocks located on, for example, left, upper left, upper, and upper right of the intra prediction block. That is, in the first embodiment, the positional relationship between the intra prediction block and the reference adjacent block thereof is common to the intra prediction blocks. On the other hand, in the present embodiment, the positional relationship between the intra prediction block and the reference adjacent block thereof may be different for each intra prediction block. The intra prediction mode is information that can identify a reference adjacent block related to a certain intra prediction block.

図6は本実施形態に係る動画像復号装置10Aが参照するイントラ予測モードの内容を例示する図である。図6に示す内容は、非特許文献1に記載されている。図6に示す例では、例えばモード0は、イントラ予測ブロックの上側に位置する画素ブロックを参照隣接ブロックとすることを示している。同様に、例えばモード1は、イントラ予測ブロックの左側に位置する画素ブロックを参照隣接ブロックとすることを示している。即ち、予測処理において、イントラ予測モードが「0」に設定されたイントラ予測ブロックは、上側に位置する画素ブロックに対する依存関係を有し、イントラ予測モードが「1」に設定されたイントラ予測ブロックは、左側に位置する画素ブロックに対する依存関係を有する。 FIG. 6 is a diagram illustrating the contents of the intra prediction mode referred to by the moving image decoding apparatus 10A according to the present embodiment. The content shown in FIG. 6 is described in Non-Patent Document 1. In the example shown in FIG. 6, for example, mode 0 indicates that the pixel block located above the intra prediction block is set as the reference adjacent block. Similarly, for example, mode 1 indicates that the pixel block located on the left side of the intra prediction block is set as the reference adjacent block. That is, in the prediction process, the intra prediction block in which the intra prediction mode is set to "0" has a dependency relationship with the pixel block located on the upper side, and the intra prediction block in which the intra prediction mode is set to "1" has a dependency relationship. , Has a dependency on the pixel block located on the left side.

図1に示す通り、本実施形態に係る動画像復号装置10Aは、実行部11、記憶部12A、及び、判定部13Aを備えている。 As shown in FIG. 1, the moving image decoding device 10A according to the present embodiment includes an execution unit 11, a storage unit 12A, and a determination unit 13A.

記憶部12Aは、画素ブロック毎に、イントラ予測モードを示す値を記憶している。 The storage unit 12A stores a value indicating the intra prediction mode for each pixel block.

判定部13Aは、イントラ予測部115が処理対象として選択したイントラ予測ブロックに対して、記憶部12Aに記憶されたイントラ予測モードにより特定される位置に位置する画素ブロックを、参照隣接ブロックとして順番に設定する。そして、判定部13Aは、それら参照隣接ブロックに対する予測処理の実行状態を、記憶部12を参照することによって確認する。判定部13Aは、参照隣接ブロックに対する予測処理が全て完了している場合に、イントラ予測部115によるイントラ予測処理の実行が可能であると判定し、その判定結果をイントラ予測部115へ通知する。 The determination unit 13A sequentially uses pixel blocks stored in the storage unit 12A at positions specified by the intra prediction mode as reference adjacent blocks with respect to the intra prediction block selected by the intra prediction unit 115 as the processing target. Set. Then, the determination unit 13A confirms the execution state of the prediction process for the reference adjacent blocks by referring to the storage unit 12. When all the prediction processes for the reference adjacent blocks are completed, the determination unit 13A determines that the intra prediction process can be executed by the intra prediction unit 115, and notifies the intra prediction unit 115 of the determination result.

本実施形態に係る動画像復号装置10Aの動作は、図2に示すフローチャートの通りであり、図2に示すフローチャートにおけるステップS104の詳細が、第1の実施形態に係る動画像復号装置10と異なる。 The operation of the moving image decoding device 10A according to the present embodiment is as shown in the flowchart shown in FIG. 2, and the details of step S104 in the flowchart shown in FIG. 2 are different from those of the moving image decoding device 10 according to the first embodiment. ..

図7は、本実施形態に係る動画像復号装置10Aが、ステップS104の処理、即ち、画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。 FIG. 7 is a flowchart showing the details of the operation of the moving image decoding apparatus 10A according to the present embodiment, that is, the processing of step S104, that is, the prediction processing using the intra prediction method for the pixel block.

実行部11におけるイントラ予測部115は、図4に示すステップS301と同様の処理を行う(ステップS401)。判定部13Aは、イントラ予測部115が選択したイントラ予測ブロックに対して、イントラ予測モードにより特定される位置に位置する画素ブロックを、参照隣接ブロックとして順番に設定し、当該参照隣接ブロックに対する予測処理の実行状態を確認する(ステップS402)。 The intra prediction unit 115 in the execution unit 11 performs the same processing as in step S301 shown in FIG. 4 (step S401). The determination unit 13A sequentially sets pixel blocks located at positions specified by the intra prediction mode with respect to the intra prediction block selected by the intra prediction unit 115 as reference adjacent blocks, and predicts the reference adjacent blocks. Check the execution status of (step S402).

当該参照隣接ブロックに対する予測処理が完了していない場合(ステップS403でNo)、処理はステップS401へ戻る。当該参照隣接ブロックに対する予測処理が完了している場合(ステップS403でYes)、判定部13Aは、次の参照隣接ブロックについてステップS402からのループ処理を行い、全ての参照隣接ブロックに対する処理が完了した場合、処理はステップS405へ進む(ステップS404)。動画像復号装置10Aは、図4に示すステップS305乃至S309と同様の処理を行い(ステップS405)、ステップS104の処理は終了する。 If the prediction process for the reference adjacent block is not completed (No in step S403), the process returns to step S401. When the prediction processing for the reference adjacent block is completed (Yes in step S403), the determination unit 13A performs the loop processing from step S402 for the next reference adjacent block, and the processing for all the reference adjacent blocks is completed. If so, the process proceeds to step S405 (step S404). The moving image decoding device 10A performs the same processing as in steps S305 to S309 shown in FIG. 4 (step S405), and the processing in step S104 ends.

本実施形態に係る動画像復号装置10Aは、動画像に対する復号処理を高速化することができる。その理由は、第1の実施形態に関して説明した通りである。 The moving image decoding device 10A according to the present embodiment can speed up the decoding process for moving images. The reason is as described with respect to the first embodiment.

また、本実施形態に係る動画像復号装置10Aは、イントラ予測ブロックに対する予測処理において、依存関係が解消されたか否かを確認する対象を、イントラ予測モードによって特定される参照隣接ブロックに絞り込むので、動画像に対する復号処理をさらに高速化することができる。 Further, the moving image decoding device 10A according to the present embodiment narrows down the target for confirming whether or not the dependency has been resolved in the prediction process for the intra prediction block to the reference adjacent block specified by the intra prediction mode. The decoding process for moving images can be further speeded up.

図8は、本実施形態に係る動画像復号装置10A、及び、第1の実施形態に係る動画像復号装置10が、画素ブロックに対する予測処理を並列に実行する順番の比較例を示す図である。図8において、白及びグレーの四角形、及び、画素ブロックに付与された数字は、図5について説明した通りである。 FIG. 8 is a diagram showing a comparative example of the order in which the moving image decoding device 10A according to the present embodiment and the moving image decoding device 10 according to the first embodiment execute the prediction processing for the pixel block in parallel. .. In FIG. 8, the white and gray quadrangles and the numbers assigned to the pixel blocks are as described in FIG.

図8(a)は、画素ブロック(イントラ予測ブロック)毎のイントラ予測モードを例示している。図8(a)において、例えば、画素ブロック(2,2)に対しては、イントラ予測モードとして、図6に例示するモード2が設定されている。図8(a)において、例えば、画素ブロック(5,1)に対しては、イントラ予測モードとして、図6に例示するモード1が設定されている。 FIG. 8A illustrates an intra prediction mode for each pixel block (intra prediction block). In FIG. 8A, for example, for the pixel blocks (2, 2), the mode 2 illustrated in FIG. 6 is set as the intra prediction mode. In FIG. 8A, for example, for the pixel blocks (5, 1), the mode 1 illustrated in FIG. 6 is set as the intra prediction mode.

画素ブロック毎のイントラ予測モードが図8(a)に例示する通りに設定されている場合において、本実施形態に係る動画像復号装置10Aが行なうイントラ予測ブロックに対する予測処理の実行順番は、図8(b)に例示する通りとなる。即ち、図8(b)において、実行順番が「1」を示すイントラ予測ブロックは、図8(a)に例示する通り、その参照隣接ブロックが全てインター予測ブロックであるので、動画像復号装置10Aは、1ステップ目に、これらのイントラ予測ブロックに対する予測処理を並列に行うことが可能である。図8(b)において、実行順番が「2」を示すイントラ予測ブロックは、図8(a)に例示する通り、その参照隣接ブロックが1ステップ目に予測処理が行われるイントラ予測ブロックである。即ちこの場合、処理の最大並列度は「6」であり、処理のステップ数は「2」である。 When the intra prediction mode for each pixel block is set as illustrated in FIG. 8A, the execution order of the prediction processing for the intra prediction block performed by the moving image decoding apparatus 10A according to the present embodiment is shown in FIG. It is as illustrated in (b). That is, in FIG. 8B, the intra-prediction block whose execution order is “1” is an inter-prediction block as illustrated in FIG. 8A, and therefore the reference adjacent blocks are all inter-prediction blocks. Can perform prediction processing for these intra prediction blocks in parallel in the first step. In FIG. 8B, the intra-prediction block whose execution order is “2” is an intra-prediction block in which the reference adjacent block is predicted in the first step as illustrated in FIG. 8 (a). That is, in this case, the maximum degree of parallelism of processing is "6", and the number of processing steps is "2".

一方、画素ブロック毎のイントラ予測モードが図8(a)に例示する通りに設定されている場合において、第1の実施形態に係る動画像復号装置10が行なうイントラ予測ブロックに対する予測処理の実行順番は、図8(c)に例示する通りとなる。動画像復号装置10は、イントラ予測ブロック毎に設定されたイントラ予測モードを参照しないので、あるイントラ予測ブロックに対する予測処理は、その参照隣接ブロック(即ち、左、左上、上、右上に位置する画素ブロック)に対する予測処理が完了した後に実行する。したがってこの場合、処理の最大並列度は「2」であり、処理のステップ数は「6」である。 On the other hand, when the intra prediction mode for each pixel block is set as illustrated in FIG. 8A, the execution order of the prediction processing for the intra prediction block performed by the moving image decoding apparatus 10 according to the first embodiment. Is as illustrated in FIG. 8 (c). Since the moving image decoding device 10 does not refer to the intra prediction mode set for each intra prediction block, the prediction processing for a certain intra prediction block is performed by the reference adjacent blocks (that is, the pixels located at the left, upper left, upper, and upper right). Execute after the prediction process for block) is completed. Therefore, in this case, the maximum degree of parallelism of the process is "2", and the number of steps of the process is "6".

このように、本実施形態に係る動画像復号装置10Aは、第1の実施形態に係る動画像復号装置10よりもさらに、動画像に対する復号処理を高速化することができる。 As described above, the moving image decoding device 10A according to the present embodiment can further speed up the decoding process for the moving image as compared with the moving image decoding device 10 according to the first embodiment.

<第3の実施形態>
本願発明の第3の実施形態に係る動画像復号装置10Bの構成を、図1を参照して説明する。本実施形態において、上述した第1の実施形態と同様の機能を有する構成に関しては、第1の実施形態と同一の番号を付与することにより、その詳細な説明を省略する。
<Third embodiment>
The configuration of the moving image decoding device 10B according to the third embodiment of the present invention will be described with reference to FIG. In the present embodiment, the same number as that of the first embodiment is assigned to the configuration having the same function as that of the first embodiment described above, and detailed description thereof will be omitted.

本実施形態に係る動画像復号装置10Bは、イントラ予測ブロックに対する予測処理に関する依存関係を事前に解析することによって得られた、イントラ予測ブロックに関する処理順序の依存関係を表す値(以下、「依存指標」と称する)を算出する。そして動画像復号装置10Bは、その依存指標を使用することにより、イントラ予測ブロックに対する予測処理を並列に実行することを制御する点において、第1の実施形態に係る動画像復号装置10、及び、第2の実施形態に係る動画像復号装置10Aと異なる。但し、依存指標は、予測処理において、イントラ予測ブロックが依存する参照隣接ブロックの数を表す情報であり、ある参照隣接ブロックに対する予測処理が完了することに伴い、その値が更新される。尚、インター予測ブロックに対する予測処理は、高並列に短時間で処理されることから、本実施形態に係る依存指標は、イントラ予測ブロックのみを対象として算出した値であってもよい。 The moving image decoding device 10B according to the present embodiment is a value representing the dependency relationship of the processing order related to the intra prediction block obtained by analyzing the dependency relationship regarding the prediction processing for the intra prediction block in advance (hereinafter, “dependency index”). ”) Is calculated. The moving image decoding device 10 and the moving image decoding device 10 according to the first embodiment are used in that the moving image decoding device 10B controls to execute the prediction processing for the intra prediction block in parallel by using the dependency index. It is different from the moving image decoding device 10A according to the second embodiment. However, the dependency index is information representing the number of reference-adjacent blocks on which the intra-prediction block depends in the prediction process, and its value is updated when the prediction process for a certain reference-adjacent block is completed. Since the prediction process for the inter-prediction block is processed in high parallel in a short time, the dependency index according to the present embodiment may be a value calculated only for the intra-prediction block.

図1に示す通り、本実施形態に係る動画像復号装置10Bは、実行部11B、記憶部12B、及び、判定部13Bを備えている。 As shown in FIG. 1, the moving image decoding device 10B according to the present embodiment includes an execution unit 11B, a storage unit 12B, and a determination unit 13B.

実行部11Bは、動画像復号装置10Bによって動画像に対する復号処理が開始される前に、記憶部12Bに記憶されている、イントラ予測ブロックごとに参照隣接ブロックを特定可能な情報(例えば、第1の実施形態に係る符号化タイプ、及び、第2の実施形態に係るイントラ予測モードなど)に基づいて、各イントラ予測ブロックに関する依存指標を算出する。実行部11Bは、算出した各イントラ予測ブロックに関する依存指標を、記憶部12Bに格納する。 The execution unit 11B is stored in the storage unit 12B before the decoding process for the moving image is started by the moving image decoding device 10B, and the information that can identify the reference adjacent block for each intra prediction block (for example, the first The dependency index for each intra prediction block is calculated based on the coding type according to the embodiment and the intra prediction mode according to the second embodiment. The execution unit 11B stores the calculated dependency index for each intra prediction block in the storage unit 12B.

実行部11Bは、いずれかのイントラ予測ブロックに対する予測処理を完了する度に、当該イントラ予測ブロックを参照隣接ブロックとするイントラ予測ブロックに関する依存指標を「1」減算した値に更新(カウントダウン)する。 Each time the execution unit 11B completes the prediction process for any of the intra prediction blocks, the execution unit 11B updates (counts down) the dependency index related to the intra prediction block having the intra prediction block as the reference adjacent block by subtracting “1”.

判定部13Bは、あるイントラ予測ブロックに関する依存指標が、予測処理が完了していない参照隣接ブロックが存在しない(例えば、依存指標が「0」である)ことを示す場合、イントラ予測ブロックに対する予測処理が実行可能と判定する。 When the dependency index for a certain intra prediction block indicates that there is no reference adjacent block for which the prediction process has not been completed (for example, the dependency index is "0"), the determination unit 13B predicts the intra prediction block. Judges as feasible.

図9は、本実施形態に係る動画像復号装置10Bにより更新される画素ブロック(イントラ予測ブロック)に関する依存指標を例示する図である。図9において、白及びグレーの四角形は、図5について説明した通りである。 FIG. 9 is a diagram illustrating a dependency index regarding a pixel block (intra-prediction block) updated by the moving image decoding device 10B according to the present embodiment. In FIG. 9, the white and gray rectangles are as described for FIG.

図9(a)は、イントラ予測ブロック毎のイントラ予測モードを例示している。本実施形態に係るイントラ予測ブロック毎のイントラ予測モードは、図8(a)に例示する第2の実施形態に係るイントラ予測ブロック毎のイントラ予測モードと同等であることとする。 FIG. 9A illustrates an intra prediction mode for each intra prediction block. It is assumed that the intra prediction mode for each intra prediction block according to the present embodiment is equivalent to the intra prediction mode for each intra prediction block according to the second embodiment illustrated in FIG. 8A.

イントラ予測ブロック毎のイントラ予測モードが図9(a)に例示する通りに設定されている場合において、本実施形態に係る動画像復号装置10Bにより更新されるイントラ予測ブロックに関する依存指標は図9(b)に例示する通りとなる。但し、図9(b)において、イントラ予測ブロックに付与された数字は、当該イントラ予測ブロックに関する依存指標を表す。 When the intra prediction mode for each intra prediction block is set as illustrated in FIG. 9A, the dependency index for the intra prediction block updated by the moving image decoding device 10B according to the present embodiment is shown in FIG. 9 (a). It is as illustrated in b). However, in FIG. 9B, the number assigned to the intra-prediction block represents the dependence index for the intra-prediction block.

図9(b)に例示する通り、フレームに含まれる9個のイントラ予測ブロックのうちの6個は、その依存指標が0に初期設定され、9個のイントラ予測ブロックのうちの3個は、その依存指標が1に初期設定されていることとする。図9(b)において依存指標が0に初期設定された6個のイントラ予測ブロックは、図8(b)において、予測処理の実行順番が「1」である画素ブロックと等しい。図9(b)において依存指標が1に初期設定された3個のイントラ予測ブロックは、図8(b)において、予測処理の実行順番が「2」である画素ブロックと等しい。 As illustrated in FIG. 9B, 6 of the 9 intra-prediction blocks included in the frame have their dependency index initially set to 0, and 3 of the 9 intra-prediction blocks have It is assumed that the dependency index is initially set to 1. The six intra prediction blocks whose dependency index is initially set to 0 in FIG. 9B are equal to the pixel blocks in which the execution order of the prediction processing is “1” in FIG. 8B. The three intra-prediction blocks whose dependency index is initially set to 1 in FIG. 9 (b) are equal to the pixel blocks in which the execution order of the prediction process is “2” in FIG. 8 (b).

動画像復号装置10Bは、依存指標が0に初期設定された6個のイントラ予測ブロックに対する予測処理を、1ステップ目に並列に実行する。動画像復号装置10Bは、1ステップ目の予測処理を完了したのち、予測処理が実行されたイントラ予測ブロックに依存する、依存指標が1に初期設定された3個のイントラ予測ブロックに関する依存指標を、「1」から「0」に更新する。この後、動画像復号装置10Bは、当該3個のイントラ予測ブロックに対する予測処理を、2ステップ目に並列に実行する。即ちこの場合、処理の最大並列度は「6」であり、処理のステップ数は「2」である。 The moving image decoding device 10B executes the prediction processing for the six intra prediction blocks whose dependency index is initially set to 0 in parallel in the first step. After completing the prediction process of the first step, the moving image decoding device 10B determines the dependency index for the three intra prediction blocks whose dependency index is initially set to 1, which depends on the intra prediction block in which the prediction process is executed. , Update from "1" to "0". After that, the moving image decoding device 10B executes the prediction processing for the three intra prediction blocks in parallel in the second step. That is, in this case, the maximum degree of parallelism of processing is "6", and the number of processing steps is "2".

本実施形態に係る動画像復号装置10Bの動作は、図2に示すフローチャートの通りであり、図2に示すフローチャートにおけるステップS104の詳細が、第1の実施形態に係る動画像復号装置10と異なる。 The operation of the moving image decoding device 10B according to the present embodiment is as shown in the flowchart shown in FIG. 2, and the details of step S104 in the flowchart shown in FIG. 2 are different from those of the moving image decoding device 10 according to the first embodiment. ..

図10は、本実施形態に係る動画像復号装置10Bが、ステップS104の処理、即ち、画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。 FIG. 10 is a flowchart showing the details of the operation of the moving image decoding apparatus 10B according to the present embodiment, that is, the processing of step S104, that is, the prediction processing using the intra prediction method for the pixel block.

実行部11Bは、動画像復号装置10Bによって動画像に対する復号処理が開始される前に、記憶部12Bに記憶されている情報に基づいて、イントラ予測ブロックを順番に選択する(ステップS501)。実行部11Bは、記憶部12Bに記憶されている情報に基づいて、選択したイントラ予測ブロックに関する依存指標を算出し、算出した依存指標を、記憶部12Bに格納する(ステップS502)。実行部11Bは、全てのイントラ予測ブロックに対する処理を完了するまで、ステップS501乃至S503のループ処理を繰り返し行う(ステップS103)。 The execution unit 11B sequentially selects the intra prediction blocks based on the information stored in the storage unit 12B before the moving image decoding device 10B starts the decoding process for the moving image (step S501). The execution unit 11B calculates a dependency index for the selected intra prediction block based on the information stored in the storage unit 12B, and stores the calculated dependency index in the storage unit 12B (step S502). The execution unit 11B repeats the loop processing of steps S501 to S503 until the processing for all the intra prediction blocks is completed (step S103).

実行部11Bにおけるイントラ予測部115は、図4に示すステップS301と同様の処理を行う(ステップS504)。判定部13Bは、記憶部12Bを参照することによって、イントラ予測部115が選択したイントラ予測ブロックに関する依存指標を確認する(ステップS505)。依存指標が「0」でない場合(ステップS506でNo)、処理はステップS504へ戻る。依存指標が「0」である場合(ステップS506でYes)、動画像復号装置10Bは、図4に示すステップS305乃至S307と同様の処理を行う(ステップS507)。 The intra prediction unit 115 in the execution unit 11B performs the same processing as in step S301 shown in FIG. 4 (step S504). The determination unit 13B confirms the dependency index regarding the intra prediction block selected by the intra prediction unit 115 by referring to the storage unit 12B (step S505). If the dependency index is not "0" (No in step S506), the process returns to step S504. When the dependency index is "0" (Yes in step S506), the moving image decoding apparatus 10B performs the same processing as in steps S305 to S307 shown in FIG. 4 (step S507).

実行部11Bは、選択したイントラ予測ブロックに関する依存指標を「1」減算する(ステップS508)。イントラ予測部115は、図4に示すステップS308と同様の処理を行う(ステップS509)。未処理のイントラ予測ブロックが存在する場合(ステップS510でYes)、処理はステップS504へ戻る。未処理のイントラ予測ブロックが存在しない場合(ステップS510でNo)、ステップS104の処理は終了する。 The execution unit 11B subtracts “1” from the dependency index related to the selected intra prediction block (step S508). The intra prediction unit 115 performs the same processing as in step S308 shown in FIG. 4 (step S509). If there is an unprocessed intra prediction block (Yes in step S510), the process returns to step S504. If there is no unprocessed intra prediction block (No in step S510), the processing in step S104 ends.

本実施形態に係る動画像復号装置10Bは、動画像に対する復号処理を高速化することができる。その理由は、第1の実施形態に関して説明した通りである。 The moving image decoding device 10B according to the present embodiment can speed up the decoding process for moving images. The reason is as described with respect to the first embodiment.

また、本実施形態に係る動画像復号装置10Bは、イントラ予測ブロックに対する予測処理において、依存関係が解消されたか否かに関する判定を、当該イントラ予測ブロックに関する依存指標が例えば「0」であるか否かを確認するという簡易な処理により行なうことができるので、動画像に対する復号処理を高速化することができる。 Further, the moving image decoding device 10B according to the present embodiment determines whether or not the dependency relationship has been resolved in the prediction process for the intra prediction block, and whether or not the dependency index for the intra prediction block is, for example, "0". Since it can be performed by a simple process of confirming whether or not, the decoding process for the moving image can be speeded up.

<第4の実施形態>
図11は、本願発明の第4の実施の形態に係る動画像符号化装置20の構成を概念的に示すブロック図である。本実施形態に係る動画像符号化装置20は、入力画像に対して、例えばH.264あるいはH.265等に準拠した符号化処理を行い、その符号化処理の結果として、出力ビットストリームを、図示しない動画像復号装置(例えば第1の実施形態に係る動画像復号装置10等)に出力する装置である。そして、本実施形態に係る動画像符号化装置20は、第1の実施形態に係る動画像復号装置10が備える構成(技術)が適用された装置である。
<Fourth Embodiment>
FIG. 11 is a block diagram conceptually showing the configuration of the moving image coding device 20 according to the fourth embodiment of the present invention. The moving image coding device 20 according to the present embodiment performs coding processing based on, for example, H.264 or H.265 on the input image, and as a result of the coding processing, outputs a bit stream. This is a device that outputs to a moving image decoding device (for example, the moving image decoding device 10 according to the first embodiment) (not shown). The moving image coding device 20 according to the present embodiment is a device to which the configuration (technology) provided in the moving image decoding device 10 according to the first embodiment is applied.

本実施形態に係る動画像符号化装置20は、大別して、実行部21、記憶部22、判定部23、第1コスト算出部24、第2コスト算出部25、及び、生成部26を備えている。 The moving image coding device 20 according to the present embodiment is roughly classified into an execution unit 21, a storage unit 22, a determination unit 23, a first cost calculation unit 24, a second cost calculation unit 25, and a generation unit 26. There is.

第1コスト算出部24は、画素ブロックに対する予測処理(画像処理)として、インター予測方法を用いた場合の符号化コストを、画素ブロック毎に算出する。但し、符号化コストは、画像に対する符号化及び復号を実行するのに必要な情報処理量を示す指標である。第1コスト算出部24は、インター予測方法を用いた場合の符号化コストを算出するための算出基準を有していることとする。また、第1コスト算出部24は、この際、インター予測における動きベクトル(予測ベクトル)も併せて生成する。 The first cost calculation unit 24 calculates the coding cost when the inter-prediction method is used as the prediction processing (image processing) for the pixel blocks for each pixel block. However, the coding cost is an index indicating the amount of information processing required to perform coding and decoding of the image. It is assumed that the first cost calculation unit 24 has a calculation standard for calculating the coding cost when the inter-prediction method is used. At this time, the first cost calculation unit 24 also generates a motion vector (prediction vector) in the inter-prediction.

第2コスト算出部25は、画素ブロックに対する予測処理(画像処理)として、イントラ予測方法を用いた場合の符号化コストを、画素ブロック毎に算出する。但し、第2コスト算出部25は、イントラ予測方法を用いた場合の符号化コストを算出するための算出基準を有していることとする。 The second cost calculation unit 25 calculates the coding cost for each pixel block when the intra prediction method is used as the prediction process (image processing) for the pixel block. However, it is assumed that the second cost calculation unit 25 has a calculation standard for calculating the coding cost when the intra prediction method is used.

生成部26は、第1コスト算出部24及び第2コスト算出部25による、符号化コストに関する算出結果に基づいて、画素ブロック毎に符号化タイプ情報(即ち、符号化をインター予測により行なうのかイントラ予測により行なうのかを識別する情報)を生成する。生成部26は、例えばある画素ブロックに関して、インター予測の方が符号化コストが小さい場合は、当該画素ブロックに関する符号化タイプをインター予測に設定し、イントラ予測の方が符号化コストが小さい場合は、当該画素ブロックに関する符号化タイプをイントラ予測に設定する。生成部26は、生成した符号化タイプ情報を、記憶部22に格納する。 The generation unit 26 uses the coding type information (that is, whether the coding is performed by inter-prediction or not) for each pixel block based on the calculation result regarding the coding cost by the first cost calculation unit 24 and the second cost calculation unit 25. Information that identifies whether to do it by prediction) is generated. For example, when the inter-prediction has a lower coding cost for a certain pixel block, the generation unit 26 sets the coding type for the pixel block to inter-prediction, and when the intra-prediction has a lower coding cost, the generation unit 26 sets the coding type to the inter-prediction. , Set the encoding type for the pixel block to intra prediction. The generation unit 26 stores the generated coding type information in the storage unit 22.

記憶部22は、電子メモリあるいは磁気ディスク等の記憶デバイスである。記憶部22は、後述するインター予測部215によるインター予測処理(画像処理)及びイントラ予測部216によるイントラ予測処理(画像処理)の実行状態を、画素ブロック毎に記憶している。これらの実行状態は、インター予測部215あるいはイントラ予測部216により更新される。記憶部22は、また、生成部によって入力された符号化タイプ情報を記憶している。 The storage unit 22 is a storage device such as an electronic memory or a magnetic disk. The storage unit 22 stores the execution state of the inter-prediction processing (image processing) by the inter-prediction unit 215 and the intra-prediction processing (image processing) by the intra-prediction unit 216, which will be described later, for each pixel block. These execution states are updated by the inter-prediction unit 215 or the intra-prediction unit 216. The storage unit 22 also stores the coding type information input by the generation unit.

判定部23は、イントラ予測部216が、ある未処理の画素ブロック(第一の画素ブロック)をイントラ予測処理対象として選択した場合に、当該画素ブロックに対するイントラ予測処理の実行が可能であるか否かを判定する。判定部23は、その際、第1の実施形態に係る判定部13と同様な処理を行う。判定部23は、その判定結果をイントラ予測部216へ通知する。 When the intra-prediction unit 216 selects an unprocessed pixel block (first pixel block) as the intra-prediction processing target, the determination unit 23 determines whether or not the intra-prediction processing can be executed for the pixel block. Is determined. At that time, the determination unit 23 performs the same processing as the determination unit 13 according to the first embodiment. The determination unit 23 notifies the intra prediction unit 216 of the determination result.

実行部21は、可変長符号化部210、逆変換逆量子化部211、変換量子化部212、ループフィルタ213、フレームバッファ214、インター予測部215、イントラ予測部216、及び、スイッチ217を含んでいる。 The execution unit 21 includes a variable length coding unit 210, an inverse conversion inverse quantization unit 211, a conversion quantization unit 212, a loop filter 213, a frame buffer 214, an inter prediction unit 215, an intra prediction unit 216, and a switch 217. I'm out.

インター予測部215は、第1の実施形態に係るインター予測部114と同様に、選択したインター予測ブロックに対してインター予測処理を行う。インター予測部215は、より具体的には、後述するフレームバッファ214に記憶された符号化済みのフレーム(画像)と、第1コスト算出部24により生成された動きベクトルとに基づいて、インター予測処理を行った結果を表す予測画像を生成する。インター予測部215は、予測処理を完了したインター予測ブロックに関して、記憶部22に記憶された実行状態を「完了」に更新する。実行部21は、インター予測部215により生成された予測画像と入力画像との差分を残差信号として生成する。 The inter-prediction unit 215 performs inter-prediction processing on the selected inter-prediction block in the same manner as the inter-prediction unit 114 according to the first embodiment. More specifically, the inter-prediction unit 215 inter-predicts based on the encoded frame (image) stored in the frame buffer 214 described later and the motion vector generated by the first cost calculation unit 24. A predicted image showing the result of the processing is generated. The inter-prediction unit 215 updates the execution state stored in the storage unit 22 to "completed" with respect to the inter-prediction block that has completed the prediction process. The execution unit 21 generates a difference between the prediction image generated by the inter-prediction unit 215 and the input image as a residual signal.

イントラ予測部216は、第1の実施形態に係るイントラ予測部115と同様に、選択したイントラ予測ブロックに対してイントラ予測処理を行う。イントラ予測部216は、より具体的には、隣接参照ブロックに関する再構築画像(後述)を参照することによってイントラ予測処理を行った結果を表す予測画像を生成する。イントラ予測部216は、予測処理を完了したイントラ予測ブロックに関して、記憶部22に記憶された実行状態を「完了」に更新する。実行部21は、イントラ予測部216により生成された予測画像と入力画像との差分を残差信号として生成する。 The intra prediction unit 216 performs the intra prediction processing on the selected intra prediction block in the same manner as the intra prediction unit 115 according to the first embodiment. More specifically, the intra prediction unit 216 generates a prediction image representing the result of performing the intra prediction processing by referring to the reconstructed image (described later) relating to the adjacent reference block. The intra prediction unit 216 updates the execution state stored in the storage unit 22 to "completed" with respect to the intra prediction block that has completed the prediction process. The execution unit 21 generates a difference between the prediction image generated by the intra prediction unit 216 and the input image as a residual signal.

実行部21は、処理対象とする画素ブロックの符号化タイプに応じて、インター予測部215及びイントラ予測部216に関する出力を切り換えるスイッチ217を切り換えることによって、上述したインター予測処理及びイントラ予測処理を適宜切り換えることができることとする。 The execution unit 21 appropriately performs the above-mentioned inter-prediction processing and intra-prediction processing by switching the switch 217 that switches the output of the inter-prediction unit 215 and the intra-prediction unit 216 according to the coding type of the pixel block to be processed. It shall be possible to switch.

変換量子化部212は、実行部21により生成された残差信号を直交変換することによって、変換係数を量子化する。逆変換逆量子化部211は、量子化された変換係数を逆量子化したのち、逆直交変換を行なう。実行部21は、その逆直交変換の結果と、インター予測部215あるいはイントラ予測部216により生成された予測画像とを加算することによって、再構築画像を生成する。 The conversion quantization unit 212 quantizes the conversion coefficient by orthogonally converting the residual signal generated by the execution unit 21. Inverse transformation The inverse quantization unit 211 performs inverse orthogonal transformation after inverse quantizing the quantized conversion coefficient. The execution unit 21 generates a reconstructed image by adding the result of the inverse orthogonal conversion to the prediction image generated by the inter prediction unit 215 or the intra prediction unit 216.

可変長符号化部210は、変換量子化部212により量子化された変換係数を符号化することにより生成したビットストリームを出力する。ループフィルタ213は、実行部21により生成された再構築画像のブロック歪を除去することによって生成したフレーム(画像)をフレームバッファ214に格納する。 The variable length coding unit 210 outputs a bit stream generated by encoding the conversion coefficient quantized by the conversion quantization unit 212. The loop filter 213 stores the frame (image) generated by removing the block distortion of the reconstructed image generated by the execution unit 21 in the frame buffer 214.

次に図12乃至図14のフローチャートを参照して、本実施形態に係る動画像符号化装置20の動作(処理)について詳細に説明する。 Next, the operation (processing) of the moving image coding device 20 according to the present embodiment will be described in detail with reference to the flowcharts of FIGS. 12 to 14.

図12は、動画像符号化装置20の動作全体を示すフローチャートである。 FIG. 12 is a flowchart showing the entire operation of the moving image coding device 20.

第1コスト算出部24は、インター予測方法を用いた場合の符号化コストを算出する(ステップS601)。第2コスト算出部25は、イントラ予測方法を用いた場合の符号化コストを算出する(ステップS602)。生成部26は、第1コスト算出部24及び第2コスト算出部25による算出結果に基づいて決定した符号化タイプを含む符号化タイプ情報を生成し、符号化タイプ情報を記憶部22へ格納する(ステップS603)。 The first cost calculation unit 24 calculates the coding cost when the inter-prediction method is used (step S601). The second cost calculation unit 25 calculates the coding cost when the intra prediction method is used (step S602). The generation unit 26 generates the coding type information including the coding type determined based on the calculation result by the first cost calculation unit 24 and the second cost calculation unit 25, and stores the coding type information in the storage unit 22. (Step S603).

実行部21は、符号化タイプがインター予測である画素ブロック(インター予測ブロック)に対して、インター予測処理、変換量子化処理、及び、逆変換逆量子化処理を行うことにより、再構築画像を生成する(ステップS604)。実行部21は、符号化タイプがイントラ予測である画素ブロック(イントラ予測ブロック)に対して、イントラ予測処理、変換量子化処理、及び、逆変換逆量子化処理を行うことにより、再構築画像を生成する(ステップS605)。 The execution unit 21 performs inter-prediction processing, conversion quantization processing, and inverse conversion inverse quantization processing on a pixel block (inter-prediction block) whose coding type is inter-prediction to produce a reconstructed image. Generate (step S604). The execution unit 21 performs an intra-prediction process, a conversion quantization process, and an inverse conversion inverse quantization process on a pixel block (intra-prediction block) whose coding type is intra-prediction to produce a reconstructed image. Generate (step S605).

実行部21における可変長符号化部210は、変換量子化部212により量子化された変換係数を符号化することによって、出力ビットストリームを生成する(ステップS606)。実行部21におけるループフィルタ213は、実行部21により生成された再構築画像のブロック歪を除去した結果をフレームバッファ214に格納し(ステップS607)、全体の処理は終了する。 The variable-length coding unit 210 in the execution unit 21 generates an output bit stream by encoding the conversion coefficient quantized by the conversion quantization unit 212 (step S606). The loop filter 213 in the execution unit 21 stores the result of removing the block distortion of the reconstructed image generated by the execution unit 21 in the frame buffer 214 (step S607), and the entire process ends.

図13は、動画像符号化装置20が画素ブロックに対してインター予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。即ち、図13は、図12に示すフローチャートにおけるステップS604の詳細を示すフローチャートである。 FIG. 13 is a flowchart showing the details of the operation in which the moving image coding device 20 performs the prediction processing using the inter-prediction method on the pixel block. That is, FIG. 13 is a flowchart showing the details of step S604 in the flowchart shown in FIG.

実行部21におけるインター予測部215は、記憶部22に記憶された画素ブロック毎の予測処理の実行状態を参照することによって、未処理のインター予測ブロックを選択する(ステップS701)。実行部21は、選択したインター予測ブロックに対して、インター予測処理、ブロック変換量子化処理、及び、ブロック逆変換逆量子化処理を行うことにより、再構築画像を生成する(ステップS702)。 The inter-prediction unit 215 in the execution unit 21 selects an unprocessed inter-prediction block by referring to the execution state of the prediction process for each pixel block stored in the storage unit 22 (step S701). The execution unit 21 generates a reconstructed image by performing inter-prediction processing, block conversion quantization processing, and block inverse conversion inverse quantization processing on the selected inter-prediction block (step S702).

実行部21におけるインター予測部215は、予測処理を完了したインター予測ブロックに関して、記憶部22に記憶された実行状態を「完了」に更新する(ステップS703)。インター予測部215は、記憶部22を参照することによって、未処理のインター予測ブロックがあるか否かを確認する(ステップS704)。 The inter-prediction unit 215 in the execution unit 21 updates the execution state stored in the storage unit 22 to "completed" with respect to the inter-prediction block that has completed the prediction process (step S703). The inter-prediction unit 215 confirms whether or not there is an unprocessed inter-prediction block by referring to the storage unit 22 (step S704).

未処理のインター予測ブロックが存在する場合(ステップS705でYes)、処理はステップS701へ戻る。未処理のインター予測ブロックが存在しない場合(ステップS705でNo)、ステップS604の処理は終了する。 If there is an unprocessed inter-prediction block (Yes in step S705), processing returns to step S701. If there is no unprocessed inter-prediction block (No in step S705), the processing in step S604 ends.

図14は、動画像符号化装置20が画素ブロックに対してイントラ予測方法を用いた予測処理を行う動作の詳細を示すフローチャートである。即ち、図14は、図12に示すフローチャートにおけるステップS605の詳細を示すフローチャートである。 FIG. 14 is a flowchart showing the details of the operation in which the moving image coding device 20 performs the prediction processing using the intra prediction method on the pixel block. That is, FIG. 14 is a flowchart showing the details of step S605 in the flowchart shown in FIG.

実行部21におけるイントラ予測部216は、記憶部22に記憶された画素ブロック毎の予測処理の実行状態を参照することによって、未処理のイントラ予測ブロックを選択する(ステップS801)。判定部23は、イントラ予測部216が選択したイントラ予測ブロックに対して、左、左上、上、及び右上に位置する画素ブロックを、参照隣接ブロックとして順番に設定し、その実行状態を確認する(ステップS802)。 The intra prediction unit 216 in the execution unit 21 selects an unprocessed intra prediction block by referring to the execution state of the prediction process for each pixel block stored in the storage unit 22 (step S801). The determination unit 23 sequentially sets the pixel blocks located on the left, upper left, upper, and upper right of the intra prediction block selected by the intra prediction unit 216 as reference adjacent blocks, and confirms the execution state (the execution state). Step S802).

当該参照隣接ブロックに対する予測処理が完了していない場合(ステップS803でNo)、処理はステップS801へ戻る。当該参照隣接ブロックに対する予測処理が完了している場合(ステップS803でYes)、判定部23は、次の参照隣接ブロックについてステップS802からのループ処理を行い、全ての参照隣接ブロックに対する処理が完了した場合、処理はステップS805へ進む(ステップS804)。 If the prediction process for the reference adjacent block is not completed (No in step S803), the process returns to step S801. When the prediction processing for the reference adjacent block is completed (Yes in step S803), the determination unit 23 performs the loop processing from step S802 for the next reference adjacent block, and the processing for all the reference adjacent blocks is completed. If so, the process proceeds to step S805 (step S804).

実行部21は、選択したイントラ予測ブロックに対して、イントラ予測処理、ブロック変換量子化処理、及び、ブロック逆変換逆量子化処理を行うことにより、再構築画像を生成する(ステップS805)。イントラ予測部216は、予測処理を完了したイントラ予測ブロックに関して、記憶部22に記憶された実行状態を「完了」に更新する(ステップS806)。 The execution unit 21 generates a reconstructed image by performing the intra prediction process, the block conversion quantization process, and the block inverse conversion inverse quantization process on the selected intra prediction block (step S805). The intra-prediction unit 216 updates the execution state stored in the storage unit 22 to "completed" with respect to the intra-prediction block for which the prediction process has been completed (step S806).

イントラ予測部216は、記憶部22を参照することによって、未処理のイントラ予測ブロックがあるか否かを確認する(ステップS807)。未処理のイントラ予測ブロックが存在する場合(ステップS808でYes)、処理はステップS801へ戻る。未処理のインター予測ブロックが存在しない場合(ステップS808でNo)、ステップS605の処理は終了する。 The intra prediction unit 216 confirms whether or not there is an unprocessed intra prediction block by referring to the storage unit 22 (step S807). If there is an unprocessed intra prediction block (Yes in step S808), the process returns to step S801. If there is no unprocessed inter-prediction block (No in step S808), the processing in step S605 ends.

本実施形態に係る動画像符号化装置20は、動画像に対する符号化処理を高速化することができる。その理由は、第1の実施形態に関して説明した通りである。 The moving image coding device 20 according to the present embodiment can speed up the coding process for the moving image. The reason is as described with respect to the first embodiment.

また、本実施形態に係る動画像符号化装置20は、第2の実施形態に係る動画像復号装置10A、あるいは、第3の実施形態に係る動画像復号装置10Bが備える構成(技術)が適用された装置であってもよい。 Further, as the moving image coding device 20 according to the present embodiment, the configuration (technology) provided in the moving image decoding device 10A according to the second embodiment or the moving image decoding device 10B according to the third embodiment is applied. It may be a device that has been installed.

<第5の実施形態>
図15は、本願発明の第5の実施形態に係る動画像処理装置30の構成を概念的に示すブロック図である。
<Fifth Embodiment>
FIG. 15 is a block diagram conceptually showing the configuration of the moving image processing device 30 according to the fifth embodiment of the present invention.

本実施形態に係る動画像処理装置30は、実行部31、記憶部32、及び、判定部33を備えている。 The moving image processing device 30 according to the present embodiment includes an execution unit 31, a storage unit 32, and a determination unit 33.

記憶部32は、画像を複数の画素ブロックに分割し、個々の画素ブロックに対する画像処理を行うことによって、画像に対する符号化処理あるいは復号処理を行う場合に、当該画素ブロック毎に画像処理の実行状態を記憶する。 When the storage unit 32 divides an image into a plurality of pixel blocks and performs image processing on each pixel block to perform coding processing or decoding processing on the image, the storage unit 32 is in an execution state of image processing for each pixel block. Remember.

判定部33は、記憶部32に記憶された、第一の画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の画素ブロックに対する画像処理の実行状態に基づいて、第一の画素ブロックに対する画像処理が実行可能か否かを判定する。 The determination unit 33 refers to the first pixel block based on the execution state of the image processing for the second pixel block in which the image processing for the first pixel block has a dependency relationship with respect to the processing order, which is stored in the storage unit 32. Determine if image processing is feasible.

実行部31は、判定部33によって、画像処理が実行可能と判定された複数の第一の画素ブロックに対する画像処理を並列または擬似並列に実行する。実行部31は、また、記憶部32に記憶された第一の画素ブロックに対する画像処理の実行状態を更新する。 The execution unit 31 executes image processing on a plurality of first pixel blocks determined by the determination unit 33 to be executable in parallel or pseudo-parallel. The execution unit 31 also updates the execution state of image processing for the first pixel block stored in the storage unit 32.

本実施形態に係る動画像処理装置30は、動画像に対する画像処理を高速化することができる。その理由は、動画像処理装置30は、画像処理に関して第一の画素ブロックが第二の画素ブロックに対して処理順序に関する依存関係がある場合、画素ブロックごとに画像処理の実行状態を管理することによって、当該依存関係が解消したことを早いタイミングに検出し、その結果として、第一の画素ブロックに対する画像処理の開始を早めることができるからである。 The moving image processing device 30 according to the present embodiment can speed up image processing for moving images. The reason is that the moving image processing device 30 manages the execution state of image processing for each pixel block when the first pixel block has a dependency relationship with respect to the second pixel block regarding the image processing. This is because it is possible to detect that the dependency has been resolved at an early timing, and as a result, accelerate the start of image processing for the first pixel block.

<ハードウェア構成例>
上述した各実施形態において、図1に示した動画像復号装置10(10A、10B)、図11に示した動画像符号化装置20、及び、図15に示した動画像処理装置30における各部は、専用のHW(HardWare)(電子回路)によって実現することができる。また、図1、図11、及び、図15において、少なくとも、下記構成は、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。
・実行部11(11B)、21、及び31、
・記憶部12(12A、12B)、22、及び32における記憶制御機能、
・判定部13(13A、13B)、23、及び33、
・第1コスト算出部24、
・第2コスト算出部25、
・生成部26。
<Hardware configuration example>
In each of the above-described embodiments, each part of the moving image decoding device 10 (10A, 10B) shown in FIG. 1, the moving image coding device 20 shown in FIG. 11, and the moving image processing device 30 shown in FIG. 15 is , Can be realized by a dedicated HW (HardWare) (electronic circuit). Further, in FIGS. 1, 11, and 15, at least the following configuration can be regarded as a function (processing) unit (software module) of the software program.
-Executive units 11 (11B), 21, and 31,
Memory control functions in the storage units 12 (12A, 12B), 22, and 32,
Judgment units 13 (13A, 13B), 23, and 33,
・ First cost calculation unit 24,
・ Second cost calculation unit 25,
-Generation unit 26.

但し、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。この場合のハードウェア環境の一例を、図16を参照して説明する。 However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed at the time of mounting. An example of the hardware environment in this case will be described with reference to FIG.

図16は、本願発明の各実施形態に係る動画像復号装置10(10A、10B)、動画像符号化装置20、及び、動画像処理装置30を実行可能な情報処理装置900(コンピュータ)の構成を例示的に説明する図である。即ち、図16は、図1、図11、及び、図15に示した動画像復号装置10(10A、10B)、動画像符号化装置20、及び、動画像処理装置30、或いはその一部を実現可能なコンピュータ(情報処理装置)の構成であって、上述した実施形態における各機能を実現可能なハードウェア環境を表す。図16に示した情報処理装置900は、構成要素として下記を備えている。
・CPU(Central_Processing_Unit)901、
・ROM(Read_Only_Memory)902、
・RAM(Random_Access_Memory)903、
・ハードディスク(記憶装置)904、
・外部装置との通信インタフェース905、
・バス906(通信線)、
・CD−ROM(Compact_Disc_Read_Only_Memory)等の記録媒体907に格納されたデータを読み書き可能なリーダライタ908、
・入出力インタフェース909。
FIG. 16 shows a configuration of an information processing device 900 (computer) capable of executing a moving image decoding device 10 (10A, 10B), a moving image coding device 20, and a moving image processing device 30 according to each embodiment of the present invention. It is a figure for exemplifying. That is, FIG. 16 shows the moving image decoding device 10 (10A, 10B), the moving image coding device 20, the moving image processing device 30, or a part thereof shown in FIGS. 1, 11 and 15. It is a feasible computer (information processing device) configuration, and represents a hardware environment in which each function in the above-described embodiment can be realized. The information processing apparatus 900 shown in FIG. 16 includes the following as components.
-CPU (Central_Processing_Unit) 901,
-ROM (Read_Only_Memory) 902,
・ RAM (Random_Access_Memory) 903,
-Hard disk (storage device) 904,
-Communication interface 905 with an external device,
・ Bus 906 (communication line),
A reader / writer 908 that can read and write data stored in a recording medium 907 such as a CD-ROM (Compact_Disc_Read_Only_Memory),
-Input / output interface 909.

即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。情報処理装置900は、あるいは、複数の処理を並列に実行できるように、メインとなる汎用CPUと特定の演算処理に特化されたハードウェアアクセラレータとが協業する構成を備えてもよい。 That is, the information processing device 900 including the above components is a general computer in which these components are connected via the bus 906. The information processing device 900 may include a plurality of CPUs 901, or may include a CPU 901 configured by a multi-core processor. The information processing apparatus 900 may also have a configuration in which a main general-purpose CPU and a hardware accelerator specialized for specific arithmetic processing cooperate with each other so that a plurality of processes can be executed in parallel.

そして、上述した実施形態を例に説明した本願発明は、図16に示した情報処理装置900に対して、次の機能を実現可能なコンピュータプログラムを供給する。その機能とは、その実施形態の説明において参照したブロック構成図(図1、図11、及び図15)における上述した構成、或いはフローチャート(図2乃至4、図7、図10、及び、図12乃至14)の機能である。本願発明は、その後、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行することによって達成される。また、当該装置内に供給されたコンピュータプログラムは、読み書き可能な揮発性のメモリ(RAM903)、または、ROM902やハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。 Then, the present invention described by taking the above-described embodiment as an example supplies the computer program capable of realizing the following functions to the information processing apparatus 900 shown in FIG. The function is the above-described configuration in the block configuration diagram (FIGS. 1, 11, and 15) referred to in the description of the embodiment, or the flowchart (FIGS. 2 to 4, FIG. 7, FIG. 10, and FIG. 12). It is a function of to 14). The present invention is then achieved by reading, interpreting, and executing the computer program in the CPU 901 of the hardware. Further, the computer program supplied in the device may be stored in a readable / writable volatile memory (RAM 903) or a non-volatile storage device such as a ROM 902 or a hard disk 904.

また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、CD−ROM等の各種記録媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等がある。そして、このような場合において、本願発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記録媒体907によって構成されると捉えることができる。 Further, in the above case, as a method of supplying the computer program into the hardware, a general procedure can be adopted at present. As the procedure, for example, there are a method of installing in the device via various recording media 907 such as a CD-ROM, a method of downloading from the outside via a communication line such as the Internet, and the like. In such a case, the present invention can be regarded as being composed of a code constituting the computer program or a recording medium 907 in which the code is stored.

以上、上述した実施形態を模範的な例として本願発明を説明した。しかしながら、本願発明は、上述した実施形態には限定されない。即ち、本願発明は、本願発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 The invention of the present application has been described above using the above-described embodiment as a model example. However, the present invention is not limited to the above-described embodiments. That is, the present invention can apply various aspects that can be understood by those skilled in the art within the scope of the present invention.

この出願は、2017年4月10日に出願された日本出願特願2017−077532を基礎とする優先権を主張し、その開示の全てをここに取り込む。 This application claims priority on the basis of Japanese application Japanese Patent Application No. 2017-077532 filed on April 10, 2017, the entire disclosure of which is incorporated herein by reference.

10 動画像復号装置
11 実行部
110 可変長復号部
111 逆変換逆量子化部
112 ループフィルタ
113 フレームバッファ
114 インター予測部
115 イントラ予測部
116及び117 スイッチ
12 記憶部
13 判定部
20 動画像符号化装置
21 実行部
210 可変長符号化部
211 逆変換逆量子化部
212 変換量子化部
213 ループフィルタ
214 フレームバッファ
215 インター予測部
216 イントラ予測部
217 スイッチ
22 記憶部
23 判定部
24 第1コスト算出部
25 第2コスト算出部
30 動画像処理装置
31 実行部
32 記憶部
33 判定部
40 動画像復号装置
410 可変長復号部
411 逆変換逆量子化部
412 ループフィルタ
413 フレームバッファ
414 インター予測部
415 イントラ予測部
900 情報処理装置
901 CPU
902 ROM
903 RAM
904 ハードディスク(記憶装置)
905 通信インタフェース
906 バス
907 記録媒体
908 リーダライタ
909 入出力インタフェース
10 Video decoding device 11 Execution unit 110 Variable length decoding unit 111 Inverse conversion inverse quantization unit 112 Loop filter 113 Frame buffer 114 Inter prediction unit 115 Intra prediction unit 116 and 117 Switch 12 Storage unit 13 Judgment unit 20 Video encoding device 21 Execution unit 210 Variable length coding unit 211 Inverse conversion inverse quantization unit 212 Conversion quantization unit 213 Loop filter 214 Frame buffer 215 Inter prediction unit 216 Intra prediction unit 217 Switch 22 Storage unit 23 Judgment unit 24 First cost calculation unit 25 2nd cost calculation unit 30 Video processing device 31 Execution unit 32 Storage unit 33 Judgment unit 40 Video decoding device 410 Variable length decoding unit 411 Inverse conversion inverse quantization unit 412 Loop filter 413 Frame buffer 414 Inter prediction unit 415 Intra prediction unit 900 Information processing device 901 CPU
902 ROM
903 RAM
904 hard disk (storage device)
905 Communication interface 906 Bus 907 Recording medium 908 Reader / writer 909 Input / output interface

Claims (7)

画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶する記憶手段と、
前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定する判定手段と、
前記判定手段によって、前記画像処理が実行可能と判定された複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する実行手段と、
を備え、
前記実行手段は、前記第一の画素ブロックに隣接する前記第二の画素ブロックを表す情報を用いて、前記第一の画素ブロックに関する予測画像を生成し、
前記記憶手段は、前記画素ブロックに対する画像処理として、時間的な相関性に基づいて前記予測画像を生成するインター予測方法と、空間的な相関性に基づいて前記予測画像を生成するイントラ予測方法とのいずれかを使用するかを示す符号化タイプ情報を、前記画素ブロック毎に記憶するとともに、前記イントラ予測方法において、前記復号処理を行う場合に、前記第一の画素ブロックに隣接する前記第二の画素ブロックを特定するイントラ予測モードを示す値を、前記画素ブロック毎に記憶し、
前記判定手段は、前記符号化タイプ情報が前記イントラ予測方法を使用することを示す場合において、前記復号処理を行う場合に、前記イントラ予測モードを示す値によって特定される前記第二の画素ブロックに対する画像処理の実行状態を参照し、前記画像処理の実行状態が未完了であることを示す前記第二の画素ブロックが存在しなくなったときに、前記第一の画素ブロックに対する画像処理が実行可能と判定する、
動画像処理装置。
When an image is divided into a plurality of pixel blocks and image processing is performed on each of the pixel blocks to perform coding processing or decoding processing on the image, the execution state of the image processing is stored for each pixel block. Memories to do and
Image processing for the first pixel block based on the execution state of image processing for the second pixel block in which the image processing for the first pixel block stored in the storage means has a dependency relationship with respect to the processing order. As a means of determining whether or not is feasible,
The determination means executes image processing for a plurality of the first pixel blocks determined to be feasible in parallel or pseudo-parallel, and for the first pixel block stored in the storage means. Execution means to update the execution status of image processing and
With
The executing means generates a predicted image regarding the first pixel block by using information representing the second pixel block adjacent to the first pixel block.
The storage means includes an inter-prediction method that generates the predicted image based on temporal correlation and an intra-prediction method that generates the predicted image based on spatial correlation as image processing for the pixel block. Encoding type information indicating which of the above is used is stored for each pixel block, and when the decoding process is performed in the intra prediction method, the second pixel block adjacent to the first pixel block is stored. A value indicating an intra-prediction mode for specifying a pixel block of the above is stored for each pixel block.
The determination unit is In no event where the encoding type information indicating that the use of the intra-prediction method, when performing the decryption process, the second pixels specified by the value indicating the intra prediction mode The image processing for the first pixel block is executed when the second pixel block indicating that the execution state of the image processing is incomplete does not exist by referring to the execution state of the image processing for the block. Judge as possible,
Moving image processing device.
前記符号化処理における前記画素ブロックに対する画像処理として、前記インター予測方法を用いた場合の符号化コストを算出する第一のコスト算出手段と、
前記符号化処理における前記画素ブロックに対する画像処理として、前記イントラ予測方法を用いた場合の符号化コストを算出する第二のコスト算出手段と、
前記第一及び第二のコスト算出手段による算出結果に基づいて、前記画素ブロック毎に前記符号化タイプ情報を生成し、生成した前記符号化タイプ情報を、前記記憶手段に格納する生成手段と、
をさらに備える請求項1に記載の動画像処理装置。
A first cost calculation means for calculating the coding cost when the inter-prediction method is used as the image processing for the pixel block in the coding process.
A second cost calculation means for calculating the coding cost when the intra prediction method is used as the image processing for the pixel block in the coding process.
Based on the calculation results by the first and second cost calculation means, the coding type information is generated for each pixel block, and the generated coding type information is stored in the storage means.
The moving image processing apparatus according to claim 1.
前記記憶手段は、前記画像に対する符号化処理あるいは復号処理が開始される前に、前記イントラ予測方法を使用した前記第一の画素ブロックと前記第二の画素ブロックとに関する前記依存関係を表す値を、前記画素ブロック毎に記憶し、
前記実行手段は、いずれかの前記第二の画素ブロックに対する画像処理を完了する度に、前記第一の画素ブロックに関する前記依存関係を表す値を更新し、
前記判定手段は、前記第一の画素ブロックに関する前記依存関係を表す値が、前記画像処理が完了していない前記第二の画素ブロックが存在しないことを示す場合に、前記第一の画素ブロックに対する画像処理が実行可能と判定する、
請求項1または2に記載の動画像処理装置。
Before the coding process or the decoding process for the image is started, the storage means sets a value representing the dependency relationship between the first pixel block and the second pixel block using the intra prediction method. , Stored for each pixel block,
Each time the executing means completes image processing for any of the second pixel blocks, the executing means updates a value representing the dependency with respect to the first pixel block.
The determination means refers to the first pixel block when the value representing the dependency relationship with respect to the first pixel block indicates that the second pixel block for which the image processing has not been completed does not exist. Judge that image processing is feasible,
The moving image processing apparatus according to claim 1 or 2.
前記実行手段は、前記画像に対する符号化処理あるいは復号処理が開始される前に、前記イントラ予測方法を使用した前記画像処理が行われる前記画素ブロックに関する前記依存関係を表す値を算出し、算出した前記依存関係を表す値を前記記憶手段に格納する、
請求項3に記載の動画像処理装置。
The executing means calculates and calculates a value representing the dependency relationship with respect to the pixel block in which the image processing using the intra prediction method is performed before the coding process or the decoding process for the image is started. A value representing the dependency is stored in the storage means.
The moving image processing apparatus according to claim 3.
前記実行手段は、H.264及びH.265を含む動画像の符号化に関する標準規格のいずれかに準じた前記画像処理を実行する、
請求項1乃至4のいずれか一項に記載の動画像処理装置。
The execution means is H.I. 264 and H. Perform the image processing according to any of the standards for encoding moving images, including 265.
The moving image processing apparatus according to any one of claims 1 to 4.
情報処理装置によって、
画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶手段に記憶し、
前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定し、
前記画像処理が実行可能と判定した複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する方法であって、
前記第一の画素ブロックに隣接する前記第二の画素ブロックを表す情報を用いて、前記第一の画素ブロックに関する予測画像を生成し、
前記画素ブロックに対する画像処理として、時間的な相関性に基づいて前記予測画像を生成するインター予測方法と、空間的な相関性に基づいて前記予測画像を生成するイントラ予測方法とのいずれかを使用するかを示す符号化タイプ情報を、前記画素ブロック毎に前記記憶手段に記憶するとともに、前記イントラ予測方法において、前記復号処理を行う場合に、前記第一の画素ブロックに隣接する前記第二の画素ブロックを特定するイントラ予測モードを示す値を、前記画素ブロック毎に前記記憶手段に記憶し、
前記符号化タイプ情報が前記イントラ予測方法を使用することを示す場合において、前記復号処理を行う場合に、前記イントラ予測モードを示す値によって特定される前記第二の画素ブロックに対する画像処理の実行状態を参照し、前記画像処理の実行状態が未完了であることを示す前記第二の画素ブロックが存在しなくなったときに、前記第一の画素ブロックに対する画像処理が実行可能と判定する、
動画像処理方法。
Depending on the information processing device
When an image is divided into a plurality of pixel blocks and image processing is performed on each of the pixel blocks to perform coding processing or decoding processing on the image, the execution state of the image processing is stored for each pixel block. Remember in the means,
Image processing for the first pixel block based on the execution state of image processing for the second pixel block in which the image processing for the first pixel block stored in the storage means has a dependency relationship with respect to the processing order. Determines if is feasible and
The image processing for the plurality of first pixel blocks determined to be feasible is executed in parallel or pseudo-parallel, and the execution state of the image processing for the first pixel block stored in the storage means is set. How to update
Using the information representing the second pixel block adjacent to the first pixel block, a predicted image relating to the first pixel block is generated.
As image processing for the pixel block, either an inter-prediction method that generates the predicted image based on temporal correlation or an intra-prediction method that generates the predicted image based on spatial correlation is used. When the coding type information indicating whether or not to be performed is stored in the storage means for each pixel block and the decoding process is performed in the intra prediction method, the second pixel block adjacent to the first pixel block is stored. A value indicating an intra prediction mode for identifying a pixel block is stored in the storage means for each pixel block.
In no event indicating that the encoding type information using said intra prediction method, when performing the decoding processing, the image processing for the second pixel block identified by the value indicating the intra prediction mode When the second pixel block indicating that the execution state of the image processing is incomplete disappears by referring to the execution state, it is determined that the image processing for the first pixel block can be executed.
Moving image processing method.
画像を複数の画素ブロックに分割し、個々の前記画素ブロックに対する画像処理を行うことによって、前記画像に対する符号化処理あるいは復号処理を行う場合に、前記画素ブロック毎に前記画像処理の実行状態を記憶手段に記憶する記憶制御処理と、
前記記憶手段に記憶された、第一の前記画素ブロックに対する画像処理が処理順序に関して依存関係を有する第二の前記画素ブロックに対する画像処理の実行状態に基づいて、前記第一の画素ブロックに対する画像処理が実行可能か否かを判定する判定処理と、
前記判定処理によって、前記画像処理が実行可能と判定された複数の前記第一の画素ブロックに対する画像処理を並列または擬似並列に実行するとともに、前記記憶手段に記憶された前記第一の画素ブロックに対する画像処理の実行状態を更新する実行処理と、
をコンピュータに実行させるためのプログラムであって、
前記実行処理は、前記第一の画素ブロックに隣接する前記第二の画素ブロックを表す情報を用いて、前記第一の画素ブロックに関する予測画像を生成し、
前記記憶制御処理は、前記画素ブロックに対する画像処理として、時間的な相関性に基づいて前記予測画像を生成するインター予測方法と、空間的な相関性に基づいて前記予測画像を生成するイントラ予測方法とのいずれかを使用するかを示す符号化タイプ情報を、前記画素ブロック毎に前記記憶手段に記憶するとともに、前記イントラ予測方法において、前記復号処理を行う場合に、前記第一の画素ブロックに隣接する前記第二の画素ブロックを特定するイントラ予測モードを示す値を、前記画素ブロック毎に前記記憶手段に記憶し、
前記判定処理は、前記符号化タイプ情報が前記イントラ予測方法を使用することを示す場合において、前記復号処理を行う場合に、前記イントラ予測モードを示す値によって特定される前記第二の画素ブロックに対する画像処理の実行状態を参照し、前記画像処理の実行状態が未完了であることを示す前記第二の画素ブロックが存在しなくなったときに、前記第一の画素ブロックに対する画像処理が実行可能と判定する、
動画像処理プログラム。
When an image is divided into a plurality of pixel blocks and image processing is performed on each of the pixel blocks to perform coding processing or decoding processing on the image, the execution state of the image processing is stored for each pixel block. Memory control processing to be stored in the means and
Image processing for the first pixel block based on the execution state of image processing for the second pixel block in which the image processing for the first pixel block stored in the storage means has a dependency relationship with respect to the processing order. Judgment processing to determine whether or not is feasible,
By the determination process, the image processing for the plurality of the first pixel blocks determined to be executable is executed in parallel or pseudo-parallel, and the first pixel block stored in the storage means is subjected to the image processing. Execution processing that updates the execution status of image processing and
Is a program that allows a computer to execute
The execution process generates a predicted image of the first pixel block by using the information representing the second pixel block adjacent to the first pixel block.
The memory control process is an inter-prediction method that generates the predicted image based on temporal correlation and an intra-prediction method that generates the predicted image based on spatial correlation as image processing for the pixel block. Coding type information indicating which of the above is used is stored in the storage means for each pixel block, and when the decoding process is performed in the intra prediction method, the first pixel block is stored. A value indicating an intra prediction mode that identifies an adjacent second pixel block is stored in the storage means for each pixel block.
The determination processing In no event where the encoding type information indicating that the use of the intra-prediction method, when performing the decryption process, the second pixels specified by the value indicating the intra prediction mode The image processing for the first pixel block is executed when the second pixel block indicating that the execution state of the image processing is incomplete does not exist by referring to the execution state of the image processing for the block. Judge as possible,
Video processing program.
JP2019512481A 2017-04-10 2018-04-05 Moving image processing device, moving image processing method, and moving image processing program Active JP6825699B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2017077532 2017-04-10
JP2017077532 2017-04-10
PCT/JP2018/014591 WO2018190242A1 (en) 2017-04-10 2018-04-05 Moving image processing device, moving image processing method, and recording medium having moving image processing program stored thereon

Publications (2)

Publication Number Publication Date
JPWO2018190242A1 JPWO2018190242A1 (en) 2020-01-23
JP6825699B2 true JP6825699B2 (en) 2021-02-03

Family

ID=63793457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019512481A Active JP6825699B2 (en) 2017-04-10 2018-04-05 Moving image processing device, moving image processing method, and moving image processing program

Country Status (3)

Country Link
US (1) US10904546B2 (en)
JP (1) JP6825699B2 (en)
WO (1) WO2018190242A1 (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4453518B2 (en) 2004-10-29 2010-04-21 ソニー株式会社 Encoding and decoding apparatus and encoding and decoding method
JP4807320B2 (en) * 2007-05-14 2011-11-02 ソニー株式会社 Decoding device, encoding device, decoding method, encoding method, and program for decoding and encoding video
JP2009038501A (en) 2007-07-31 2009-02-19 Toshiba Corp Decoding device and decoding method
US8565315B2 (en) 2007-11-16 2013-10-22 Panasonic Corporation Image decoding device and image decoding method
JP5100561B2 (en) * 2008-07-31 2012-12-19 キヤノン株式会社 Image processing apparatus and image processing method
WO2013152452A1 (en) * 2012-04-09 2013-10-17 Intel Corporation Parallel processing image data having top-left dependent pixels
WO2014161052A1 (en) * 2013-04-05 2014-10-09 Arion Tecnologia Brasil - Gestão De Ativos S/A Electric energy generation equipment and method
US9224187B2 (en) * 2013-09-27 2015-12-29 Apple Inc. Wavefront order to scan order synchronization
JP6384484B2 (en) 2013-09-30 2018-09-05 日本電気株式会社 PROCESS CONTROL DEVICE, PROCESS CONTROL METHOD, AND PROCESS CONTROL PROGRAM
US10554977B2 (en) * 2017-02-10 2020-02-04 Intel Corporation Method and system of high throughput arithmetic entropy coding for video coding

Also Published As

Publication number Publication date
JPWO2018190242A1 (en) 2020-01-23
US20200120352A1 (en) 2020-04-16
WO2018190242A1 (en) 2018-10-18
US10904546B2 (en) 2021-01-26

Similar Documents

Publication Publication Date Title
KR101684038B1 (en) Video decoder, video encoder, video decoding method, and video encoding method
KR101004157B1 (en) Efficient encoding/decoding of a sequence of data frames
WO2015052273A1 (en) Method and apparatus for displacement vector component prediction in video coding and decoding
JP5216710B2 (en) Decryption processing method
JP2017034531A (en) Moving image encoder and moving image encoding method
TWI511531B (en) Video coding apparatus, video coding method, and video coding program
JP6962193B2 (en) A recording medium that stores a moving image coding device, a moving image coding method, and a moving image coding program.
KR20200128577A (en) Intra prediction device, image coding device, image decoding device and program
CN107071406B (en) Moving picture decoding method and encoding method
JP2015211386A (en) Dynamic image encoding device, dynamic image encoding method, and computer program for dynamic image encoding
KR102465773B1 (en) Moving image encoding device, moving image encoding method, and moving image encoding computer program
JP6825699B2 (en) Moving image processing device, moving image processing method, and moving image processing program
JP6992815B2 (en) Video coding device, video coding method and video coding program
JP5281597B2 (en) Motion vector prediction method, motion vector prediction apparatus, and motion vector prediction program
JP5281596B2 (en) Motion vector prediction method, motion vector prediction apparatus, and motion vector prediction program
CN114079769A (en) Video encoding method, apparatus, device and computer readable storage medium
JP4865767B2 (en) Scalable video encoding method, scalable video encoding device, scalable video encoding program, and computer-readable recording medium recording the program
JP2016134852A (en) Encoding apparatus, encoding method and program
JP6317720B2 (en) Moving picture coding apparatus, moving picture coding method, and moving picture coding program
JP6080077B2 (en) Image encoding method and image encoding apparatus
JP7310919B2 (en) Filter generation method, filter generation device and program
JP2007208802A (en) Image encoding apparatus and image encoding method
JP6311821B2 (en) Moving image processing apparatus and moving image processing method
KR20160067580A (en) A method of encoding image data, an encoder using the method, and an application processor including the encoder
JP5957513B2 (en) Video decoding method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190917

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190917

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200811

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200923

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201013

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20201215

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201228

R150 Certificate of patent or registration of utility model

Ref document number: 6825699

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150