JPWO2015045272A1 - Intra prediction circuit - Google Patents

Intra prediction circuit Download PDF

Info

Publication number
JPWO2015045272A1
JPWO2015045272A1 JP2015538861A JP2015538861A JPWO2015045272A1 JP WO2015045272 A1 JPWO2015045272 A1 JP WO2015045272A1 JP 2015538861 A JP2015538861 A JP 2015538861A JP 2015538861 A JP2015538861 A JP 2015538861A JP WO2015045272 A1 JPWO2015045272 A1 JP WO2015045272A1
Authority
JP
Japan
Prior art keywords
prediction
pixel
circuit
core
cores
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.)
Granted
Application number
JP2015538861A
Other languages
Japanese (ja)
Other versions
JP6323459B2 (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 JPWO2015045272A1 publication Critical patent/JPWO2015045272A1/en
Application granted granted Critical
Publication of JP6323459B2 publication Critical patent/JP6323459B2/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/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques

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)

Abstract

イントラ予測回路には、第1予測画素計算部12Aと、第1予測誤差計算部13Aと、第1予測画素計算部12Aが使用する参照画素を隣接する他の予測コアに供給する第1参照画素伝搬部14Aとを含む第1予測コア10A1〜10Anが複数設けられ、第2予測画素計算部12Bと、第2予測誤差計算部13Bと、第2予測画素計算部12Bが使用する参照画素を隣接する他の予測コアに供給する第2参照画素伝搬部14Bとを含む第2予測コア10B1〜10Bnが、複数の第1予測コア10A1〜10Anのうちの所定個数の第1予測コアに対応して設けられている。The intra prediction circuit includes a first prediction pixel calculation unit 12A, a first prediction error calculation unit 13A, and a first reference pixel that supplies reference pixels used by the first prediction pixel calculation unit 12A to another adjacent prediction core. A plurality of first prediction cores 10A1 to 10An including a propagation unit 14A are provided, and reference pixels used by the second prediction pixel calculation unit 12B, the second prediction error calculation unit 13B, and the second prediction pixel calculation unit 12B are adjacent to each other. Second prediction cores 10B1 to 10Bn including the second reference pixel propagation unit 14B supplied to the other prediction cores corresponding to the predetermined number of first prediction cores among the plurality of first prediction cores 10A1 to 10An. Is provided.

Description

本発明は、回路規模を増大させずにイントラ予測を行うイントラ予測回路に関する。   The present invention relates to an intra prediction circuit that performs intra prediction without increasing the circuit scale.

非特許文献1には、ITU-T 勧告H.265 規格にもとづく映像符号化方式であるHEVC(High Efficiency Video Coding)が記載されている。   Non-Patent Document 1 describes HEVC (High Efficiency Video Coding), which is a video encoding system based on the ITU-T recommendation H.265 standard.

HEVCでは、ディジタル化された映像の各フレームは符号化ツリーユニット(CTU:Coding Tree Unit)に分割され、ラスタスキャン順に各CTU が符号化される。各CTUは、クアッドツリー構造で、符号化ユニット(CU:Coding Unit)に分割されて符号化される。各CUは、予測ユニット(PU:Prediction Unit)に分割されて予測される。また、各CUの予測誤差は、クアッドツリー構造で、変換ユニット(TU: Transform Unit)に分割されて周波数変換される。   In HEVC, each frame of a digitized video is divided into coding tree units (CTUs), and each CTU is coded in raster scan order. Each CTU has a quad-tree structure and is encoded by being divided into coding units (CU: Coding Unit). Each CU is predicted by being divided into prediction units (PUs). Further, the prediction error of each CU is divided into transform units (TU: Transform Unit) in a quad-tree structure, and is subjected to frequency conversion.

CUは、イントラ予測またはフレーム間予測によって予測符号化される。以下、イントラ予測を説明する。   The CU is predictively encoded by intra prediction or interframe prediction. Hereinafter, intra prediction will be described.

イントラ予測は、符号化対象フレームの参照画像から予測画像を生成する予測である。非特許文献1では、図14に示す33種類の角度イントラ予測が定義されている。角度イントラ予測は、符号化対象ブロック周辺の参照画素を図14に示す33種類の方向のいずれかに外挿して、イントラ予測信号(予測画素)を生成する。非特許文献1では、33種類の角度イントラ予測に加えて、符号化対象ブロック周辺の参照画素を平均するDCイントラ予測、および、符号化対象ブロック周辺の参照画素を線形補間するPlanarイントラ予測が定義されている。   Intra prediction is prediction in which a prediction image is generated from a reference image of an encoding target frame. In Non-Patent Document 1, 33 types of angle intra prediction shown in FIG. 14 are defined. In the angle intra prediction, reference pixels around the encoding target block are extrapolated in any of the 33 types of directions shown in FIG. 14 to generate an intra prediction signal (predicted pixel). In Non-Patent Document 1, in addition to 33 types of angular intra prediction, DC intra prediction that averages reference pixels around the encoding target block and Planar intra prediction that linearly interpolates reference pixels around the encoding target block are defined. Has been.

図14において、最上位行の各矩形および最左列の各矩形は、参照画素を示す。矩形中の数字は、座標を示す。矢印は、予測方向を示す。矢印の近傍に付された数字は、予測モード(以下、モードともいう。)を示す。   In FIG. 14, each rectangle in the uppermost row and each rectangle in the leftmost column indicate a reference pixel. Numbers in the rectangle indicate coordinates. The arrow indicates the prediction direction. A number attached in the vicinity of the arrow indicates a prediction mode (hereinafter also referred to as a mode).

図15を参照して、ディジタル化された映像の各フレームの各CUを入力画像としてビットストリームを出力する一般的な映像符号化装置の構成と動作を説明する。   With reference to FIG. 15, the configuration and operation of a general video encoding apparatus that outputs a bitstream using each CU of each frame of a digitized video as an input image will be described.

図15は、一般的な映像符号化装置の一例を示すブロック図である。図15に示す映像符号化装置は、変換部301、量子化部302、エントロピー符号化部303、逆量子化/逆変換部304、バッファ305、予測部306、および最適予測モード決定部307を備える。   FIG. 15 is a block diagram illustrating an example of a general video encoding device. The video encoding apparatus illustrated in FIG. 15 includes a transform unit 301, a quantization unit 302, an entropy coding unit 303, an inverse quantization / inverse transform unit 304, a buffer 305, a prediction unit 306, and an optimal prediction mode determination unit 307. .

最適予測モード決定部307は、CTU毎に、符号化コストを最小とする予測モードと予測ブロックの組み合わせを決定する。   The optimal prediction mode determination unit 307 determines a combination of a prediction mode and a prediction block that minimizes the coding cost for each CTU.

予測部306は、最適予測モード決定部307が決定した予測モードおよび予測ブロックにもとづいて、CUの入力画像信号に対する予測信号を生成する。予測信号は、イントラ予測またはインター予測にもとづいて生成される。   The prediction unit 306 generates a prediction signal for the input image signal of the CU based on the prediction mode and the prediction block determined by the optimal prediction mode determination unit 307. The prediction signal is generated based on intra prediction or inter prediction.

変換部301は、最適予測モード決定部307が決定したTUクアッドツリー構造にもとづいて、入力画像信号から予測信号を減じた予測誤差画像(予測誤差信号)を周波数変換する。変換部301は、予測誤差信号の変換符号化において、周波数変換にもとづいた4×4、8×8、16×16または32×32ブロックサイズの直交変換を使用する。具体的には、イントラCUの輝度成分の4×4TUに対して、整数演算で近似した(整数精度の)DST (Discrete Sine Transform :離散サイン変換)を使用する。その他のTUに対して、そのブロックサイズに対応する整数演算で近似した(整数精度の)DCT (Discrete Cosine Transform :離散コサイン変換)を使用する。   Based on the TU quadtree structure determined by the optimal prediction mode determination unit 307, the conversion unit 301 performs frequency conversion on a prediction error image (prediction error signal) obtained by subtracting the prediction signal from the input image signal. The transform unit 301 uses orthogonal transform of 4 × 4, 8 × 8, 16 × 16, or 32 × 32 block size based on frequency transform in transform coding of the prediction error signal. Specifically, DST (Discrete Sine Transform) (integer precision) approximated by integer arithmetic is used for 4 × 4 TU of the luminance component of the intra CU. For other TUs, use DCT (Discrete Cosine Transform) (integer precision) approximated by integer operations corresponding to the block size.

量子化部302は、変換部301から供給される直交変換係数を量子化する。以下、量子化された直交変換係数を変換量子化値ということがある。逆量子化/逆変換部304は、変換量子化値を逆量子化する。さらに、逆量子化/逆変換部304は、逆量子化した直交変換係数を逆変換する。逆変換された予測誤差画像は、予測信号が加えられて、バッファ305に供給される。バッファ305は、画像を参照画像として格納する。   The quantization unit 302 quantizes the orthogonal transform coefficient supplied from the transform unit 301. Hereinafter, the quantized orthogonal transform coefficient may be referred to as a transform quantization value. The inverse quantization / inverse transform unit 304 inversely quantizes the transform quantization value. Further, the inverse quantization / inverse transform unit 304 inversely transforms the inversely quantized orthogonal transform coefficient. A prediction signal is added to the inversely transformed prediction error image, and the prediction error image is supplied to the buffer 305. The buffer 305 stores the image as a reference image.

ITU-T 勧告 H.265 High efficiency video coding, April 2013ITU-T recommendation H.265 High efficiency video coding, April 2013

予測画素[x][y] は、下記の式で計算される。下式において、r[i],r[j]は、参照画素を示す。i ,j は、参照画素の座標を示す。>>は、右方向へのビットシフトを示す。   The predicted pixel [x] [y] is calculated by the following equation. In the following equation, r [i] and r [j] indicate reference pixels. i and j indicate the coordinates of the reference pixel. >> indicates a bit shift to the right.

予測画素[x][y] =(iFact × r[i] + (32 − iFact) × r[j] + 16) >> 5 (1)   Predicted pixel [x] [y] = (iFact x r [i] + (32-iFact) x r [j] + 16) >> 5 (1)

iFact は係数であるが、各々の行については固定的な値である。   iFact is a coefficient, but a fixed value for each row.

図16は、予測の一例を示す説明図である。図16は、ブロックサイズが8×8であってモード21の場合の例である(図16における太い矢印参照)。予測ブロック中の各数字は、参照画素の座標を示す。例えば、1:2は、 r[i] として r[1] が使用され、 r[j] として r[2] が使用されることを示す。また、図16には、各行におけるiFact の値も示されている。さらに、 r[-4]の行と r[-5]の行で r[4] の列に相当する予測画素の計算が例示されている。   FIG. 16 is an explanatory diagram illustrating an example of prediction. FIG. 16 shows an example in which the block size is 8 × 8 and the mode 21 (see the thick arrow in FIG. 16). Each number in the prediction block indicates the coordinates of the reference pixel. For example, 1: 2 indicates that r [1] is used as r [i] and r [2] is used as r [j]. FIG. 16 also shows iFact values in each row. Furthermore, the calculation of the prediction pixel corresponding to the column of r [4] in the row of r [-4] and the row of r [-5] is illustrated.

予測部306は、イントラ予測を行う場合、ブロックサイズがN×N(N:4、8、16または32)であるときには、N×N回の演算を行う。また、Nの値に応じたイントラ予測回路が用意される。そのために、予測部306をハードウェア回路で実現する場合、回路規模が増大するという課題がある。   When performing intra prediction, the prediction unit 306 performs N × N operations when the block size is N × N (N: 4, 8, 16, or 32). An intra prediction circuit corresponding to the value of N is prepared. Therefore, when the prediction unit 306 is realized by a hardware circuit, there is a problem that the circuit scale increases.

本発明の目的は、回路規模が増大するという課題を解決するイントラ予測回路を提供することである。   An object of the present invention is to provide an intra prediction circuit that solves the problem that the circuit scale increases.

本発明によるイントラ予測回路は、あらかじめ設定された参照画素または隣接する他の予測コアから入力された参照画素を用いて予測画素を計算する第1予測画素計算部と、第1予測画素計算部が計算した予測画素を入力画像から減算して予測誤差を計算する第1予測誤差計算部と、第1予測画素計算部が使用する参照画素を隣接する他の予測コアに供給する第1参照画素伝搬部とを含む第1予測コアが複数設けられ、あらかじめ設定された参照画素もしくは隣接する他の予測コアから入力された参照画素または逐次入力される参照画素を用いて予測画素を計算する第2予測画素計算部と、第2予測画素計算部が計算した予測画素を入力画像から減算して予測誤差を計算する第2予測誤差計算部と、第2予測画素計算部が使用する参照画素を隣接する他の予測コアに供給する第2参照画素伝搬部とを含む第2予測コアが、複数の第1予測コアのうちの所定個数の第1予測コアに対応して設けられていることを特徴とする。   The intra prediction circuit according to the present invention includes a first prediction pixel calculation unit that calculates a prediction pixel using a reference pixel set in advance or a reference pixel input from another adjacent prediction core, and a first prediction pixel calculation unit. A first prediction error calculation unit that calculates a prediction error by subtracting the calculated prediction pixel from the input image, and a first reference pixel propagation that supplies a reference pixel used by the first prediction pixel calculation unit to another adjacent prediction core A second prediction for calculating a prediction pixel using a reference pixel set in advance, a reference pixel input from another adjacent prediction core, or a reference pixel sequentially input A pixel calculation unit, a second prediction error calculation unit that calculates a prediction error by subtracting the prediction pixel calculated by the second prediction pixel calculation unit from the input image, and a reference pixel used by the second prediction pixel calculation unit A second prediction core including a second reference pixel propagation unit that supplies to another prediction core that is in contact is provided corresponding to a predetermined number of first prediction cores among the plurality of first prediction cores. And

本発明によれば、イントラ予測回路の回路規模を増大させないようにすることができる。   According to the present invention, the circuit scale of the intra prediction circuit can be prevented from increasing.

予測の一例を示す説明図である。It is explanatory drawing which shows an example of prediction. 行方向の参照画素と列方向の参照画素との対称性を説明するための説明図である。It is explanatory drawing for demonstrating the symmetry of the reference pixel of a row direction, and the reference pixel of a column direction. イントラ予測回路の構成の概念を示す概念図である。It is a conceptual diagram which shows the concept of a structure of an intra prediction circuit. 予測画素を生成するときに使用する参照画素の例を示す説明図である。It is explanatory drawing which shows the example of the reference pixel used when producing | generating a prediction pixel. 予測ブロックの行単位の予測処理をより詳しく説明するための説明図である。It is explanatory drawing for demonstrating in detail the prediction process of the prediction unit of a prediction block. 予測画素生成処理を実行する予測画素生成回路を示すブロック図である。It is a block diagram which shows the prediction pixel production | generation circuit which performs a prediction pixel production | generation process. イントラ予測回路の具体的構成例を示すブロック図である。It is a block diagram which shows the specific structural example of an intra prediction circuit. 8個の予測コアを含むイントラ予測回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the intra prediction circuit containing 8 prediction cores. 予測ブロック(予測対象ブロック)のサイズと参照画素との関係を示す説明図である。It is explanatory drawing which shows the relationship between the size of a prediction block (prediction object block), and a reference pixel. 32個の予測コアを含むイントラ予測回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the intra prediction circuit containing 32 prediction cores. 複数種類のサイズの予測ブロックに対応できるイントラ予測回路の構成例を示すブロック図である。It is a block diagram which shows the structural example of the intra prediction circuit which can respond | correspond to the prediction block of multiple types of size. 本発明によるイントラ予測回路の主要部を示すブロック図である。It is a block diagram which shows the principal part of the intra prediction circuit by this invention. 本発明による他のイントラ予測回路の主要部を示すブロック図である。It is a block diagram which shows the principal part of the other intra prediction circuit by this invention. 33種類の角度イントラ予測の例を示す説明図である。It is explanatory drawing which shows the example of 33 types of angle intra prediction. 一般的な映像符号化装置の構成を示す説明図である。It is explanatory drawing which shows the structure of a general video coding apparatus. 予測の一例を示す説明図である。It is explanatory drawing which shows an example of prediction.

図1は、予測の一例を示す説明図である。図1は、モード33の場合の予測方向および参照画素を示す説明図である。モード33では、参照画素r[-16]〜r[0] は使用されない。また、モード18〜34(水平線に対して45゜以上の角度を持つ垂直方向モード)に共通して、参照画素r[-16]〜r[-9]は使用されない。   FIG. 1 is an explanatory diagram illustrating an example of prediction. FIG. 1 is an explanatory diagram showing prediction directions and reference pixels in the case of mode 33. In mode 33, the reference pixels r [-16] to r [0] are not used. In addition, the reference pixels r [-16] to r [-9] are not used in common with the modes 18 to 34 (vertical direction mode having an angle of 45 ° or more with respect to the horizontal line).

同様に、モード2〜17(水平線に対して45゜以下の角度を持つ水平方向モード)に共通して、参照画素r[9] 〜r[16]は使用されない。   Similarly, the reference pixels r [9] to r [16] are not used in common with modes 2 to 17 (horizontal mode having an angle of 45 ° or less with respect to the horizontal line).

図1には、ブロックサイズが8×8の場合が例示されている。以下、ブロックサイズが8×8の場合を例にして説明を行う。   FIG. 1 illustrates a case where the block size is 8 × 8. Hereinafter, the case where the block size is 8 × 8 will be described as an example.

図2は、行方向の参照画素と列方向の参照画素との対称性を説明するための説明図である。図2において、斜線部分は、参照画素を示す。上述したように、モード2〜17では、参照画素r[9]〜r[16]は使用されない(図2(A)参照)。また、モード18〜34では、参照画素r[-16]〜r[-9] は使用されない(図2(B)参照)。すなわち、モード18〜34とモード2〜17には、図2に示すような対称性が存在する。なお、図2には、各モードの角度も記載されている。   FIG. 2 is an explanatory diagram for explaining the symmetry between the reference pixels in the row direction and the reference pixels in the column direction. In FIG. 2, the hatched portion indicates a reference pixel. As described above, in the modes 2 to 17, the reference pixels r [9] to r [16] are not used (see FIG. 2A). In the modes 18 to 34, the reference pixels r [-16] to r [-9] are not used (see FIG. 2B). That is, the modes 18 to 34 and the modes 2 to 17 have symmetry as shown in FIG. Note that FIG. 2 also shows the angle of each mode.

本発明では、そのような対称性に着目してイントラ予測回路の回路規模を削減する。図3は、イントラ予測回路の構成の概念を示す概念図である。   In the present invention, the circuit scale of the intra prediction circuit is reduced by paying attention to such symmetry. FIG. 3 is a conceptual diagram illustrating the concept of the configuration of the intra prediction circuit.

図3に示すように、イントラ予測回路は、イントラ予測を行うイントラ予測部1、分配器2、転置回路3、転置回路4および選択器5を備える。   As shown in FIG. 3, the intra prediction circuit includes an intra prediction unit 1 that performs intra prediction, a distributor 2, a transposition circuit 3, a transposition circuit 4, and a selector 5.

なお、イントラ予測回路は、図15に示された映像符号化回路に適用可能である。図15に示された映像符号化回路に適用される場合には、予測部306における角度イントラ予測を行う回路として適用される。   The intra prediction circuit is applicable to the video encoding circuit shown in FIG. When applied to the video encoding circuit shown in FIG. 15, it is applied as a circuit that performs angle intra prediction in the prediction unit 306.

分配器2は、参照画素を入力して保持する。そして、分配器2は、予測モードがモード2〜17のいずれかである場合には、参照画素を転置回路3に供給する。分配器2は、予測モードがモード18〜34のいずれかである場合には、入力された参照画素をイントラ予測部1に供給する。転置回路3は、参照画素の配列を転置し、転置後の参照画素をイントラ予測部1に供給する。   The distributor 2 inputs and holds the reference pixel. The distributor 2 supplies the reference pixel to the transposing circuit 3 when the prediction mode is any of modes 2 to 17. When the prediction mode is any of modes 18 to 34, the distributor 2 supplies the input reference pixels to the intra prediction unit 1. The transposition circuit 3 transposes the array of reference pixels and supplies the reference pixels after the transposition to the intra prediction unit 1.

なお、転置は、行と列とを入れ替えることを意味する。   Note that transposition means exchanging rows and columns.

イントラ予測部1は、イントラ予測を行い、予測画素を出力する。その際、イントラ予測部1は、予測モードがモード2〜17のいずれかである場合には、予測画素を転置回路4に出力する。予測モードがモード18〜34のいずれかである場合には、予測画素を選択器5に出力する。転置回路4は、予測画素の配列を転置し、転置後の参照画素をイントラ予測部1に供給する。   The intra prediction unit 1 performs intra prediction and outputs a prediction pixel. At this time, the intra prediction unit 1 outputs the prediction pixel to the transposition circuit 4 when the prediction mode is any of modes 2 to 17. When the prediction mode is any of modes 18 to 34, the prediction pixel is output to the selector 5. The transposition circuit 4 transposes the array of prediction pixels and supplies the reference pixel after the transposition to the intra prediction unit 1.

選択器5は、転置回路4からの予測画素またはイントラ予測部1からの予測画素を予測ブロックとして出力する。なお、イントラ予測部1は、予測ブロックにおける行単位で予測画素を出力する。よって、選択器5は、転置回路4からの予測画素またはイントラ予測部1からの予測画素を一時保存し、1ブロック分の予測画素の入力が完了したら、予測ブロックを構成する予測画素を出力する。   The selector 5 outputs the prediction pixel from the transposition circuit 4 or the prediction pixel from the intra prediction unit 1 as a prediction block. The intra prediction unit 1 outputs a prediction pixel in units of rows in the prediction block. Therefore, the selector 5 temporarily stores the prediction pixel from the transposition circuit 4 or the prediction pixel from the intra prediction unit 1, and outputs the prediction pixel constituting the prediction block when the input of the prediction pixel for one block is completed. .

なお、予測モードがモード2〜17のいずれかである場合に参照画素の配列は転置されているので、イントラ予測部1は、予測モードがモード2〜17のいずれかであるときに、モード18〜34のいずれかとみなして予測処理を行うことができる。すなわち、イントラ予測部1は、垂直方向モードの予測処理のみを実行すればよい。つまり、イントラ予測部1は、予測ブロックの上側に隣接する参照画素(参照画素r[1]〜r[8])、左側に隣接する参照画素(参照画素r[-8] 〜r[0])および右上側に位置する参照画素(参照画素r[9]〜r[16] )のみを使用し、垂直方向モードの予測処理のみを実行する。   Note that since the reference pixel array is transposed when the prediction mode is any one of modes 2 to 17, the intra prediction unit 1 performs mode 18 when the prediction mode is any one of modes 2 to 17. ~ 34 can be regarded as any one of the prediction processes. That is, the intra prediction unit 1 only needs to execute the prediction process in the vertical direction mode. That is, the intra prediction unit 1 includes reference pixels adjacent to the upper side of the prediction block (reference pixels r [1] to r [8]) and reference pixels adjacent to the left side (reference pixels r [-8] to r [0]. ) And the reference pixels located on the upper right side (reference pixels r [9] to r [16]) are used, and only the prediction process in the vertical mode is executed.

図4は、予測画素を生成するときに使用する参照画素の例を示す説明図である。図4には、予測ブロックサイズが8×8である場合が例示されている。図4(A)にはモード21の場合が例示され、図4(B)にはモード33の場合が例示されている。   FIG. 4 is an explanatory diagram illustrating an example of reference pixels used when generating predicted pixels. FIG. 4 illustrates a case where the predicted block size is 8 × 8. FIG. 4A illustrates the case of mode 21, and FIG. 4B illustrates the case of mode 33.

本実施形態では、イントラ予測部1は、予測ブロックの行単位で予測処理を実行する。図4に示すように、ある行に着目すると(最上行を除く。)、上の行で使用された参照画素は、下の行において、左、同列、右のいずれかで使用される。すなわち、左下、直下、右下のいずれかで参照される(ただし、最左列および最右列の場合を除く。)。   In the present embodiment, the intra prediction unit 1 executes the prediction process in units of rows of the prediction block. As shown in FIG. 4, when attention is paid to a certain row (excluding the uppermost row), the reference pixels used in the upper row are used in any of the left, the same column, and the right in the lower row. That is, it is referred to in any of the lower left, the lower right, and the lower right (except for the case of the leftmost column and the rightmost column).

従って、図4に示す例からわかるように、予測ブロックの行単位で予測処理を実行する場合、ある行について予測処理が行われた後、次の行の予測処理を実行するときに、前の行において左、同列、右のいずれかで使用された参照画素を流用することができる。   Therefore, as can be seen from the example illustrated in FIG. 4, when the prediction process is executed in units of rows of the prediction block, after the prediction process is performed for a certain row, when the prediction process for the next row is executed, A reference pixel used in any of left, same column, and right in a row can be used.

図5は、予測ブロックの行単位の予測処理(演算処理)をより詳しく説明するための説明図である。なお、図5には、予測処理のための係数である「iFact 」の記載と、参照画素の伝搬のための「制御」の記載も含まれている。また、参照画素の伝搬は、具体的には、参照画素の値を出力することを意味する。   FIG. 5 is an explanatory diagram for explaining the prediction processing (calculation processing) in units of rows of the prediction block in more detail. Note that FIG. 5 also includes a description of “iFact” that is a coefficient for prediction processing and a description of “control” for propagation of reference pixels. Further, the propagation of the reference pixel specifically means that the value of the reference pixel is output.

また、図5に示す演算処理は、図5における右上に示される3行8列の予測ブロックに関して予測処理を実行する場合の処理例である。そして、図5において、矩形で囲まれた予測画素生成処理#2の列は、3行8列の予測ブロックにおける左から2列目に相当する。実線の矢印は、実際に参照画素が伝搬することを示す。破線の矢印は、図5における右上に示される例では参照画素は伝搬しないが、他の例において参照画素が伝搬する可能性があることを示す。   5 is a processing example in the case where the prediction process is executed with respect to the prediction block of 3 rows and 8 columns shown in the upper right in FIG. In FIG. 5, the column of the prediction pixel generation process # 2 surrounded by a rectangle corresponds to the second column from the left in the prediction block of 3 rows and 8 columns. A solid arrow indicates that the reference pixel is actually propagated. The broken arrow indicates that the reference pixel does not propagate in the example shown in the upper right in FIG. 5, but the reference pixel may propagate in another example.

図5に示すように、イントラ予測部1は、1行に含まれる8個の要素を一時に処理するために、8個の処理機能を有する。それら機能を、予測画素生成処理#1〜予測画素生成処理#8とする。   As shown in FIG. 5, the intra prediction unit 1 has eight processing functions in order to process eight elements included in one row at a time. These functions are assumed to be prediction pixel generation processing # 1 to prediction pixel generation processing # 8.

第1行目について、予測画素生成処理#1〜予測画素生成処理#8が予測処理を実行するときに、各々の予測画素生成処理#1〜予測画素生成処理#8で使用される参照画素が、第2行目についての予測画素生成処理#1〜予測画素生成処理#8に対して伝搬されるように制御される。   For the first row, when the prediction pixel generation process # 1 to the prediction pixel generation process # 8 execute the prediction process, the reference pixels used in each of the prediction pixel generation process # 1 to the prediction pixel generation process # 8 are Control is performed so as to be propagated to the prediction pixel generation process # 1 to the prediction pixel generation process # 8 for the second row.

さらに、第2行目について、予測画素生成処理#1〜予測画素生成処理#8が予測処理を実行するときに、各々の予測画素生成処理#1〜予測画素生成処理#8で使用される参照画素が、第3行目についての予測画素生成処理#1〜予測画素生成処理#8に対して伝搬されるように制御される。ただし、この場合には、第2行目について予測画素生成処理#n(n:2〜8)で使用された参照画素は、第3行目についての予測画素生成処理#(n−1)に対して伝搬される。   Furthermore, for the second row, when the prediction pixel generation process # 1 to the prediction pixel generation process # 8 execute the prediction process, the reference used in each prediction pixel generation process # 1 to prediction pixel generation process # 8 The pixels are controlled to be propagated to the prediction pixel generation process # 1 to the prediction pixel generation process # 8 for the third row. However, in this case, the reference pixels used in the prediction pixel generation processing #n (n: 2 to 8) for the second row are used for the prediction pixel generation processing # (n−1) for the third row. Propagated against.

図6は、図5に示された予測画素生成処理を実行する予測画素生成回路を示すブロック図である。図5には、2つの予測画素生成回路111,112と周辺回路(具体的には、参照画素レジスタ122,123,124)とが示されている。各予測画素生成回路111,112は、予測画素生成処理を実行する。すなわち、予測画素生成回路111および予測画素生成回路112は、予測画素生成処理#1〜予測画素生成処理#8のうちのいずれか2つの隣接する予測画素生成処理(図5において隣接する予測画素生成処理)を実行する回路である。以下、予測画素生成回路111に着目して説明を行うが、予測画素生成回路112の構成および動作は、予測画素生成回路111の構成および動作と同じである。   FIG. 6 is a block diagram illustrating a predicted pixel generation circuit that executes the predicted pixel generation process illustrated in FIG. 5. FIG. 5 shows two prediction pixel generation circuits 111 and 112 and peripheral circuits (specifically, reference pixel registers 122, 123, and 124). Each prediction pixel generation circuit 111 and 112 performs prediction pixel generation processing. In other words, the prediction pixel generation circuit 111 and the prediction pixel generation circuit 112 perform the prediction pixel generation processing adjacent to any two of the prediction pixel generation processing # 1 to prediction pixel generation processing # 8 (adjacent prediction pixel generation in FIG. 5). Processing). Hereinafter, the description will be given focusing on the prediction pixel generation circuit 111, but the configuration and operation of the prediction pixel generation circuit 112 are the same as the configuration and operation of the prediction pixel generation circuit 111.

参照画素レジスタ122,123,124に参照画素が設定された後、予測画素生成回路111は、参照画素レジスタ122,123,124のうちの2つのレジスタから、予測処理で使用する参照画素を取り込む。そして、予測画素生成回路111は、2つの参照画素から予測画素を生成する。なお、後述するように、予測画素生成回路は、1つの参照画素レジスタから参照画素を取り込むことがある。   After the reference pixels are set in the reference pixel registers 122, 123, and 124, the prediction pixel generation circuit 111 takes in the reference pixels used in the prediction process from two of the reference pixel registers 122, 123, and 124. Then, the predicted pixel generation circuit 111 generates a predicted pixel from the two reference pixels. Note that, as will be described later, the prediction pixel generation circuit may fetch a reference pixel from one reference pixel register.

次に、具体的にはイントラ予測回路に供給されるクロック信号の次の立上がりまたは立下がりを契機して、予測画素生成回路111は、制御信号に従って、参照画素を、左に位置する予測画素生成回路112、右に位置する予測画素生成回路(図6において図示せず)および自回路(予測画素生成回路111)のうちの1つまたは2つに伝搬する。すなわち、参照画素の値を出力する。自回路に参照画素の値を出力することは、図6において、「自己参照ループ」として示されている。   Next, specifically, in response to the next rising or falling of the clock signal supplied to the intra prediction circuit, the prediction pixel generation circuit 111 generates a prediction pixel located on the left according to the control signal. It propagates to one or two of the circuit 112, the prediction pixel generation circuit (not shown in FIG. 6) located on the right, and its own circuit (prediction pixel generation circuit 111). That is, the value of the reference pixel is output. Outputting the value of the reference pixel to the own circuit is shown as a “self reference loop” in FIG.

なお、左に位置する予測画素生成回路112に対する参照画素の伝搬は、図5における予測画素生成処理#nから予測画素生成処理#(n−1)に対する伝搬に相当する。自己参照ループは、図5における直下の処理への伝搬に相当する。右に位置する予測画素生成回路に対する参照画素の伝搬は、予測画素生成処理#nから予測画素生成処理#(n+1)に対する伝搬に相当する。   Note that the propagation of the reference pixel to the prediction pixel generation circuit 112 located on the left corresponds to the propagation from the prediction pixel generation process #n to the prediction pixel generation process # (n−1) in FIG. The self-referencing loop corresponds to propagation to the process immediately below in FIG. The propagation of the reference pixel to the prediction pixel generation circuit located on the right corresponds to the propagation from the prediction pixel generation process #n to the prediction pixel generation process # (n + 1).

図7は、図6に示された予測画素生成回路の具体的構成例を示すブロック図である。図7には、周辺回路(具体的には、参照画素レジスタ122,123,124)も示されている。   FIG. 7 is a block diagram illustrating a specific configuration example of the prediction pixel generation circuit illustrated in FIG. 6. FIG. 7 also shows peripheral circuits (specifically, reference pixel registers 122, 123, and 124).

図7に示す予測コア100は、図6に示す予測画素生成回路の具体的実現例に相当する。予測コア100において、左に位置する予測コア(図示せず)からの参照画素は、レジスタ101を経て選択器102に入力される。右に位置する予測コア(図示せず)からの参照画素は、レジスタ103を経て選択器104に入力される。   The prediction core 100 illustrated in FIG. 7 corresponds to a specific implementation example of the prediction pixel generation circuit illustrated in FIG. In the prediction core 100, reference pixels from a prediction core (not shown) located on the left are input to the selector 102 via the register 101. Reference pixels from a prediction core (not shown) located on the right are input to the selector 104 via the register 103.

また、選択器102,104には、参照画素レジスタ122,123,124からの参照画素も入力される。   Further, the reference pixels from the reference pixel registers 122, 123, and 124 are also input to the selectors 102 and 104.

選択器102,104の出力は、予測画素計算部107に入力されるとともに、左右の予測コアに出力される。また、選択器102が出力する参照画素は、レジスタ105を介して選択器102にフィードバックされる。選択器104が出力する参照画素は、レジスタ106を介して選択器104にフィードバックされる。フィードバック経路は、図6における自己参照ループに相当する。   The outputs of the selectors 102 and 104 are input to the prediction pixel calculation unit 107 and also output to the left and right prediction cores. The reference pixel output from the selector 102 is fed back to the selector 102 via the register 105. The reference pixel output from the selector 104 is fed back to the selector 104 via the register 106. The feedback path corresponds to the self-referencing loop in FIG.

予測画素計算部107は、予測画素を生成する。予測画素は、減算器110に入力される。減算器110は、入力された入力画像の値から予測画素の値を減算して予測誤差信号を生成する。   The predicted pixel calculation unit 107 generates a predicted pixel. The predicted pixel is input to the subtractor 110. The subtractor 110 generates a prediction error signal by subtracting the value of the prediction pixel from the input image value.

図8は、8個の予測コアを含む1次元シストリックアレイ型のイントラ予測回路の構成例を示すブロック図である。   FIG. 8 is a block diagram illustrating a configuration example of a one-dimensional systolic array type intra prediction circuit including eight prediction cores.

イントラ予測回路は、参照画素レジスタ121〜128と、8個の予測コア1001〜1008と、係数供給回路230と、制御回路240と、選択器161,162とを備える。   The intra prediction circuit includes reference pixel registers 121 to 128, eight prediction cores 1001 to 1008, a coefficient supply circuit 230, a control circuit 240, and selectors 161 and 162.

参照画素レジスタ121〜128の各々は、1つの参照画素を保持する。予測コア1001〜1008の構成は、図7に示された予測コア100の構成と同じである。係数供給回路230は、予測ブロックのうち予測コア1001〜1008が予測処理を実行する行に対応するiFact を予測コア1001〜1008に供給する。係数供給回路230は、予測コア1001〜1008が次の行の予測画素の計算を開始するときに、iFact の値を切り替える。なお、図8に示す構成では、参照画素のフィードバック経路は、予測コア1001〜1008の外に設けられているが、図7に示すように、フィードバック経路は、予測コア1001〜1008の内部において設けられていてもよい。   Each of the reference pixel registers 121 to 128 holds one reference pixel. The configuration of the prediction cores 1001 to 1008 is the same as the configuration of the prediction core 100 shown in FIG. The coefficient supply circuit 230 supplies iFact corresponding to the row in which the prediction cores 1001 to 1008 execute the prediction process in the prediction block to the prediction cores 1001 to 1008. The coefficient supply circuit 230 switches the value of iFact when the prediction cores 1001 to 1008 start calculating the prediction pixel of the next row. In the configuration illustrated in FIG. 8, the feedback path of the reference pixel is provided outside the prediction cores 1001 to 1008, but the feedback path is provided inside the prediction cores 1001 to 1008 as illustrated in FIG. 7. It may be done.

制御回路240は、予測コア1001〜1008および選択器161,162に制御信号を与える。   The control circuit 240 provides control signals to the prediction cores 1001 to 1008 and the selectors 161 and 162.

選択器161には、参照画素r[-8] 〜r[0]のうち予測コア1001が使用する参照画素が入力される(図2(B)参照)。選択器162には、参照画素r[1]〜r[16] のうち予測コア1008が使用する参照画素が入力される(図2(B)参照)。なお、予測コア1001のレジスタ101(図7参照)には、選択器161からも参照画素が入力される。予測コア1008のレジスタ103(図7参照)には、選択器162からも参照画素が入力される。   Among the reference pixels r [-8] to r [0], the reference pixel used by the prediction core 1001 is input to the selector 161 (see FIG. 2B). Among the reference pixels r [1] to r [16], the reference pixel used by the prediction core 1008 is input to the selector 162 (see FIG. 2B). Note that a reference pixel is also input from the selector 161 to the register 101 (see FIG. 7) of the prediction core 1001. A reference pixel is also input from the selector 162 to the register 103 (see FIG. 7) of the prediction core 1008.

次に、図8に示すイントラ予測回路の動作を説明する。   Next, the operation of the intra prediction circuit shown in FIG. 8 will be described.

各予測モードにおける予測処理を開始する前に、参照画素レジスタ121〜128に、予測ブロックにおける第1行目の予測画素の生成のために使用される参照画素が設定される。図4(A)に示されたモード21の場合を例にすると、参照画素r[1]〜r[8]が、参照画素レジスタ121〜128に設定される。   Before starting the prediction process in each prediction mode, reference pixels used for generating a prediction pixel in the first row in the prediction block are set in the reference pixel registers 121 to 128. Taking the case of mode 21 shown in FIG. 4A as an example, reference pixels r [1] to r [8] are set in reference pixel registers 121 to 128, respectively.

まず、予測コア1002〜1007は、参照画素レジスタ121〜128に保持されている2つの参照画素を使用して第1行目の予測画素を生成する。なお、予測コア1001は、1つの参照画素を参照画素レジスタ121から入力し、1つの参照画素を選択器161から入力する。また、予測コア1008は、1つの参照画素を参照画素レジスタ128から入力し、1つの参照画素を選択器162から入力する。   First, the prediction cores 1002 to 1007 use the two reference pixels held in the reference pixel registers 121 to 128 to generate the prediction pixels in the first row. Note that the prediction core 1001 inputs one reference pixel from the reference pixel register 121 and inputs one reference pixel from the selector 161. Further, the prediction core 1008 inputs one reference pixel from the reference pixel register 128 and inputs one reference pixel from the selector 162.

図4(A)に示されたモード21の場合を例にすると、予測コア1001は、参照画素 r[1] を参照画素レジスタ121から入力し、参照画素 r[0] を選択器161から入力する。図4(B)に示されたモード33の場合を例にすると、予測コア1008は、参照画素 r[8] を参照画素レジスタ128から入力し、参照画素 r[9] を選択器162から入力する。   Taking the case of mode 21 shown in FIG. 4A as an example, the prediction core 1001 inputs the reference pixel r [1] from the reference pixel register 121 and inputs the reference pixel r [0] from the selector 161. To do. Taking the case of mode 33 shown in FIG. 4B as an example, the prediction core 1008 inputs the reference pixel r [8] from the reference pixel register 128 and inputs the reference pixel r [9] from the selector 162. To do.

予測コア1001〜1008において、予測画素計算部107は、2つの参照画素から、上記の(1)式による演算で予測画素を生成する。(1)式におけるiFact は、係数供給回路230から供給される。係数供給回路230は、一例として、使用されうるブロックサイズ、使用されうる予測モードおよび予測ブロックの行に応じた各々のiFact をあらかじめ記憶し、制御回路240からの予測画素生成行を特定可能な信号で特定される行に応じたiFact を出力する。なお、係数供給回路230は、そのときに用いられるブロックサイズ、予測モードおよび行に対応するiFact をその都度計算して出力するように構成されていてもよい。   In the prediction cores 1001 to 1008, the prediction pixel calculation unit 107 generates a prediction pixel from the two reference pixels by the calculation according to the above equation (1). IFact in the equation (1) is supplied from the coefficient supply circuit 230. As an example, the coefficient supply circuit 230 stores in advance each iFact corresponding to a block size that can be used, a prediction mode that can be used, and a row of the prediction block, and a signal that can specify a prediction pixel generation row from the control circuit 240 Output iFact corresponding to the line specified in. The coefficient supply circuit 230 may be configured to calculate and output iFact corresponding to the block size, prediction mode, and row used at that time.

予測画素計算部107による予測画素の計算(生成)に際して、選択器102,104は、予測画素計算部107が計算に使用する参照画素を出力するが、それらの参照画素は、隣接する予測コアにも出力されることがあり、また、予測画素計算部107にフィードバックされることがある(図7参照)。   When the prediction pixel is calculated (generated) by the prediction pixel calculation unit 107, the selectors 102 and 104 output reference pixels used for calculation by the prediction pixel calculation unit 107, and these reference pixels are output to adjacent prediction cores. May also be output, and may be fed back to the prediction pixel calculation unit 107 (see FIG. 7).

予測コア1001が図4(A)に示されたモード21で計算を行う場合を例にすると、予測ブロックの第2行目の処理のために、予測コア1001(最左列に関する処理を実行する。)から予測コア1002(最左から2番目の列に関する処理を実行する。)に対して参照画素 r[0] が伝搬され、かつ、参照画素 r[0] は、予測コア1001内でフィードバックされる。   Taking the case where the prediction core 1001 performs the calculation in the mode 21 shown in FIG. 4A as an example, the prediction core 1001 (the process related to the leftmost column is executed for the processing of the second row of the prediction block. )) Is transmitted to the prediction core 1002 (the process relating to the second column from the leftmost) is propagated, and the reference pixel r [0] is fed back in the prediction core 1001. Is done.

なお、ある予測コアにおける次行の処理に必要な参照画素は、隣接する他の予測コアから入手可能であり、かつ、自コアでのフィードバックでも入手可能な場合があるが、その場合には、例えば、フィードバックでの入手を優先する。   In addition, the reference pixel necessary for the next row processing in a certain prediction core can be obtained from other adjacent prediction cores, and can also be obtained by feedback in the own core. For example, priority is given to obtaining feedback.

以後、予測コア1001〜1008は、第2行目以降について予測画素の生成を行うとともに、隣接する予測コアへの参照画素の伝搬または参照画素のフィードバックを行う。   Thereafter, the prediction cores 1001 to 1008 generate prediction pixels for the second and subsequent rows, and perform reference pixel propagation to adjacent prediction cores or reference pixel feedback.

以上に説明したように、本実施形態では、イントラ予測回路は、あらかじめ設定された参照画素または隣接する他のイントラ予測回路から入力された参照画素を用いて予測画素を計算するとともに、予測画素の計算に使用した参照画素を隣接する他のイントラ予測回路に供給したり自回路にフィードバックするので、参照画素を一々取り込むことなく予測ブロックの行単位で一括して予測画素を生成することができ、イントラ予測回路の回路規模を削減することができる。   As described above, in the present embodiment, the intra prediction circuit calculates a prediction pixel using a reference pixel set in advance or a reference pixel input from another adjacent intra prediction circuit, and calculates the prediction pixel. Since the reference pixel used for the calculation is supplied to another adjacent intra prediction circuit or fed back to its own circuit, it is possible to generate prediction pixels collectively in units of prediction blocks without fetching the reference pixels one by one, The circuit scale of the intra prediction circuit can be reduced.

また、イントラ予測回路が、水平方向モードの予測を行うときに参照ブロックにおける参照画素の配列を転置する転置回路を備えることによって、転置回路を備えていない場合に比べて、イントラ予測回路の回路規模を削減することができる。   In addition, the intra prediction circuit includes a transposition circuit that transposes the arrangement of reference pixels in the reference block when performing prediction in the horizontal direction mode, so that the circuit scale of the intra prediction circuit is smaller than when no transposition circuit is provided. Can be reduced.

上記の例は、ブロックサイズが8×8である場合の例であるが、ブロックサイズがN×N(N:4、8、16または32)である場合、予測ブロック(予測対象ブロック)のサイズと参照画素との関係は、図9に示すように一般化される。図9において、斜線部は参照画素を示す。   The above example is an example when the block size is 8 × 8, but when the block size is N × N (N: 4, 8, 16, or 32), the size of the prediction block (prediction target block) 9 and the reference pixel are generalized as shown in FIG. In FIG. 9, hatched portions indicate reference pixels.

ブロックサイズは、8×8だけでなく、4×4、16×16、32×32であることもあるので、全てのブロックサイズに対応するために、イントラ予測回路は、それらのブロックサイズの各々に対応するイントラ予測を実行できるように構成される。   Since the block size may be not only 8 × 8 but also 4 × 4, 16 × 16, and 32 × 32, in order to support all the block sizes, the intra prediction circuit performs each of those block sizes. It is comprised so that the intra prediction corresponding to can be performed.

一例として、図10には、32×32のブロックサイズに対応する32個の予測コアを含む1次元シストリックアレイ型のイントラ予測回路の構成例を示すブロック図が示されている。   As an example, FIG. 10 is a block diagram showing a configuration example of a one-dimensional systolic array type intra prediction circuit including 32 prediction cores corresponding to a block size of 32 × 32.

図10に示すイントラ予測回路は、参照画素レジスタ121〜152と、32個の予測コア1001〜1032と、係数供給回路230と、制御回路240と、選択器161,162とを備える。   The intra prediction circuit shown in FIG. 10 includes reference pixel registers 121 to 152, 32 prediction cores 1001 to 1032, a coefficient supply circuit 230, a control circuit 240, and selectors 161 and 162.

参照画素レジスタ121〜152の各々は、1つの参照画素を保持する。予測コア1001〜1032の構成は、図7に示された予測コア100の構成と同じである。係数供給回路230は、予測ブロックのうち予測コア1001〜1032が予測処理を実行する行に対応するiFact を予測コア1001〜1032に供給する。係数供給回路230は、予測コア1001〜1032が次の行の予測画素の計算を開始するときに、iFact の値を切り替える。なお、図10に示す構成では、参照画素のフィードバック経路は、予測コア1001〜1032の外に設けられているが、図7に示すように、フィードバック経路は、予測コア1001〜1032の内部において設けられていてもよい。   Each of the reference pixel registers 121 to 152 holds one reference pixel. The configuration of the prediction cores 1001 to 1032 is the same as the configuration of the prediction core 100 shown in FIG. The coefficient supply circuit 230 supplies iFact corresponding to the row in which the prediction cores 1001 to 1032 execute the prediction process in the prediction block to the prediction cores 1001 to 1032. The coefficient supply circuit 230 switches the value of iFact when the prediction cores 1001 to 1032 start calculating the prediction pixels of the next row. In the configuration illustrated in FIG. 10, the feedback path of the reference pixel is provided outside the prediction cores 1001 to 1032, but the feedback path is provided inside the prediction cores 1001 to 1032 as illustrated in FIG. 7. It may be done.

制御回路240は、予測コア1001〜1032および選択器161,162に制御信号を与える。   The control circuit 240 gives control signals to the prediction cores 1001 to 1032 and the selectors 161 and 162.

選択器161には、参照画素r[-32]〜r[0]のうち予測コア1001が使用する参照画素が入力される(図9参照)。選択器162には、参照画素r[1]〜r[64] のうち予測コア1032が使用する参照画素が入力される(図9参照)。なお、予測コア1001のレジスタ101(図7参照)には、選択器161からも参照画素が入力される。予測コア1032のレジスタ103(図7参照)には、選択器162からも参照画素が入力される。   A reference pixel used by the prediction core 1001 among the reference pixels r [−32] to r [0] is input to the selector 161 (see FIG. 9). Of the reference pixels r [1] to r [64], the reference pixel used by the prediction core 1032 is input to the selector 162 (see FIG. 9). Note that a reference pixel is also input from the selector 161 to the register 101 (see FIG. 7) of the prediction core 1001. A reference pixel is also input from the selector 162 to the register 103 (see FIG. 7) of the prediction core 1032.

図10に示すイントラ予測回路は、図8に示すイントラ予測回路と同様に、予測ブロックの行単位で一括して予測画素を生成することができる。   The intra prediction circuit shown in FIG. 10 can generate prediction pixels in a batch for each row of the prediction block, similarly to the intra prediction circuit shown in FIG.

上述したように、左端の予測コア1001と右端の予測コア1032とは、中間の予測コア1002〜1031の構成とは異なる。予測コア1001,1032は、選択器161,162からも参照画素の供給を受けるからである。   As described above, the leftmost prediction core 1001 and the rightmost prediction core 1032 are different from the configurations of the intermediate prediction cores 1002 to 1031. This is because the prediction cores 1001 and 1032 also receive the reference pixels from the selectors 161 and 162.

また、イントラ予測回路は、4×4のブロックサイズに対応する回路、8×8のブロックサイズに対応する回路、16×16のブロックサイズに対応する回路、および32×32のブロックサイズに対応する回路を含むように構成される必要がある。   The intra prediction circuit corresponds to a circuit corresponding to a block size of 4 × 4, a circuit corresponding to a block size of 8 × 8, a circuit corresponding to a block size of 16 × 16, and a block size of 32 × 32. Must be configured to include circuitry.

しかし、そのように構成されるイントラ予測回路の回路規模は大きい。   However, the circuit scale of the intra prediction circuit configured as such is large.

そこで、以下に述べるように、複数種類のサイズの予測ブロックに対応でき、かつ、複数種類のうちの小サイズの予測ブロックについて並列処理を実行可能なイントラ予測回路を提案する。   Therefore, as will be described below, an intra prediction circuit that can deal with a plurality of types of prediction blocks and that can execute parallel processing on a small size prediction block among the plurality of types is proposed.

図11は、複数種類のサイズの予測ブロックに対応できるイントラ予測回路の構成例を示すブロック図である。   FIG. 11 is a block diagram illustrating a configuration example of an intra prediction circuit that can support prediction blocks of a plurality of types of sizes.

図11に示すイントラ予測回路は、レジスタ1051、端コア1041、予測コア1002,1003および切替器1061を含む。また、レジスタ1052と切替器1061とに接続されている端コア1042を含む。さらに、切替器1061に接続されている予測コア1004と、切替器1062に接続されている予測コア1005とを含む。また、レジスタ1053と切替器1062とに接続されている端コア1043を含む。   The intra prediction circuit illustrated in FIG. 11 includes a register 1051, an end core 1041, prediction cores 1002 and 1003, and a switch 1061. Also included is an end core 1042 connected to the register 1052 and the switch 1061. Furthermore, a prediction core 1004 connected to the switch 1061 and a prediction core 1005 connected to the switch 1062 are included. In addition, an end core 1043 connected to the register 1053 and the switch 1062 is included.

また、イントラ予測回路は、切替器1062に接続されている予測コア1006と、切替器1063に接続されている予測コア1007とを含む。さらに、レジスタ1054と切替器1063とに接続されている端コア1044を含む。また、切替器1063に接続されている予測コア1009と、切替器1064に接続されている予測コア1010とを含む。また、レジスタ1055と切替器1064とに接続されている端コア1045を含む。   The intra prediction circuit includes a prediction core 1006 connected to the switch 1062 and a prediction core 1007 connected to the switch 1063. Furthermore, an end core 1044 connected to the register 1054 and the switch 1063 is included. Moreover, the prediction core 1009 connected to the switch 1063 and the prediction core 1010 connected to the switch 1064 are included. Also included is an end core 1045 connected to the register 1055 and the switch 1064.

制御回路240は、切替器1061〜1064に制御信号を与える。なお、制御回路240は、端コア1041〜1045,および予測コア1002〜1010にも制御信号を与えるが、そのための結線は、図11では記載省略されている。また、各々が1つの参照画素を保持する参照画素レジスタも設けられているが、それらの記載も図11では省略されている。また、予測処理が実行される行に対応するiFact を予測コア1002〜1010および端コア1041〜1045に供給する係数供給回路も設けられているが、図11では記載省略されている。   The control circuit 240 gives a control signal to the switchers 1061 to 1064. Note that the control circuit 240 also gives control signals to the end cores 1041 to 1045 and the prediction cores 1002 to 1010, but connection for that purpose is omitted in FIG. Reference pixel registers each holding one reference pixel are also provided, but their description is also omitted in FIG. Further, a coefficient supply circuit that supplies iFact corresponding to the row on which the prediction process is executed to the prediction cores 1002 to 1010 and the end cores 1041 to 1045 is also provided, but is not shown in FIG.

図11に示す構成において、予測ブロックサイズが4×4である場合には、端コア1041、予測コア1002、予測コア1003および端コア1042によってイントラ予測が実行される(図11における「4×4処理#1」参照)。予測ブロックサイズが4×4である場合に、端コア1043、予測コア1006、予測コア1007および端コア1044によっても、イントラ予測を実行可能である(図11における「4×4処理#2」参照)。   In the configuration shown in FIG. 11, when the prediction block size is 4 × 4, intra prediction is executed by the end core 1041, the prediction core 1002, the prediction core 1003, and the end core 1042 (“4 × 4 in FIG. 11). (See Process # 1). When the prediction block size is 4 × 4, intra prediction can also be performed by the end core 1043, the prediction core 1006, the prediction core 1007, and the end core 1044 (see “4 × 4 processing # 2” in FIG. 11). ).

また、予測ブロックサイズが8×8である場合には、端コア1041、予測コア1002,1003,1004,1005,1006,1007、および端コア1044によってイントラ予測が実行される(図11における「8×8処理」参照)。   Further, when the prediction block size is 8 × 8, intra prediction is executed by the end core 1041, the prediction cores 1002, 1003, 1004, 1005, 1006, 1007, and the end core 1044 (“8” in FIG. 11). X8 treatment ").

端コア1041〜1045および予測コア1002〜1010の構成は、図7に示された予測コア100の構成と同じである。   The configurations of the end cores 1041 to 1045 and the prediction cores 1002 to 1010 are the same as the configuration of the prediction core 100 illustrated in FIG.

図8に示された構成と対比すると、端コア1041,1043は、予測コア1001と同様に動作する。すなわち、端コア1041,1043のレジスタ101(図7参照)には、レジスタ1051,1053からも参照画素が入力される。また、端コア1042,1044,1045は、予測コア1008と同様に動作する。すなわち、端コア1042,1044,1045のレジスタ103(図7参照)には、レジスタ1052,1054,1055からも参照画素が入力される。   In contrast to the configuration shown in FIG. 8, the end cores 1041 and 1043 operate in the same manner as the prediction core 1001. That is, reference pixels are also input from the registers 1051 and 1053 to the register 101 (see FIG. 7) of the end cores 1041 and 1043. Further, the end cores 1042, 1044 and 1045 operate in the same manner as the prediction core 1008. That is, reference pixels are also input from the registers 1052, 1054, and 1055 to the register 103 (see FIG. 7) of the end cores 1042, 1044, and 1045.

予測ブロックサイズが4×4であるときに、4×4処理#1を使用する場合には、制御回路240は、切替器1061に、予測コア1003と端コア1042とを接続するように制御信号を与える。その結果、4×4処理#1のイントラ予測のための構成が形成される。   When the predicted block size is 4 × 4 and the 4 × 4 process # 1 is used, the control circuit 240 controls the switch 1061 so that the predicted core 1003 and the end core 1042 are connected. give. As a result, a configuration for intra prediction of 4 × 4 process # 1 is formed.

予測ブロックサイズが4×4であるときに、4×4処理#2を使用する場合には、制御回路240は、切替器1062に、端コア1043と予測コア1006とを接続するように制御信号を与えるとともに、切替器1063に、予測コア1007と端コア1044とを接続するように制御信号を与える。その結果、4×4処理#2のイントラ予測のための構成が形成される。   When the predicted block size is 4 × 4 and the 4 × 4 processing # 2 is used, the control circuit 240 controls the switch 1062 so that the end core 1043 and the predicted core 1006 are connected. And a control signal is supplied to the switch 1063 so as to connect the prediction core 1007 and the end core 1044. As a result, a configuration for intra prediction of 4 × 4 processing # 2 is formed.

予測ブロックサイズが8×8であるときには、制御回路240は、切替器1061に、予測コア1003と予測コア1004とを接続するように制御信号を与える。また、制御回路240は、切替器1062に、予測コア1005と予測コア1006とを接続するように制御信号を与える。さらに、制御回路240は、切替器1063に、予測コア1007と端コア1044とを接続するように制御信号を与える。その結果、8×8処理のイントラ予測のための構成が形成される。   When the prediction block size is 8 × 8, the control circuit 240 gives a control signal to the switch 1061 so as to connect the prediction core 1003 and the prediction core 1004. Further, the control circuit 240 gives a control signal to the switch 1062 so as to connect the prediction core 1005 and the prediction core 1006. Further, the control circuit 240 gives a control signal to the switch 1063 so as to connect the prediction core 1007 and the end core 1044. As a result, a configuration for intra prediction of 8 × 8 processing is formed.

予測ブロックサイズが8×8であるときに、端コア1041、予測コア1002,1003,1006,1007,1009,1010、および端コア1045によってイントラ予測が実行されるようにすることもできる。   When the prediction block size is 8 × 8, intra prediction may be executed by the end core 1041, the prediction cores 1002, 1003, 1006, 1007, 1009, and 1010, and the end core 1045.

その場合には、制御回路240は、切替器1061,1062に、予測コア1003と予測コア1006とを接続するように制御信号を与える。   In that case, the control circuit 240 gives a control signal to the switchers 1061 and 1062 so as to connect the prediction core 1003 and the prediction core 1006.

また、制御回路240は、切替器1063に、予測コア1007と予測コア1009とを接続するように制御信号を与える。さらに、制御回路240は、切替器1064に、予測コア1010と端コア1045とを接続するように制御信号を与える。その結果、8×8処理のイントラ予測のための構成が形成される。   In addition, the control circuit 240 gives a control signal to the switch 1063 so as to connect the prediction core 1007 and the prediction core 1009. Further, the control circuit 240 gives a control signal to the switch 1064 so as to connect the prediction core 1010 and the end core 1045. As a result, a configuration for intra prediction of 8 × 8 processing is formed.

なお、この場合には、予測コア1004,1005は使用されず、切替器1061と切替器1062とを直接接続する経路が必要になるが、その経路は、図11では、記載省略されている。また、予測コア1010と端コア1044との接続を切り替えるための切替器及び経路が新たに必要となるが、その切替器及び経路は、図11では記載省略されている。   In this case, the prediction cores 1004 and 1005 are not used, and a route for directly connecting the switch 1061 and the switch 1062 is necessary, but the route is omitted in FIG. Moreover, although the switch and path | route for switching the connection of the prediction core 1010 and the end core 1044 are newly required, the switch and path | route are abbreviate | omitting description in FIG.

8×8処理のイントラ予測のための構成は、実質的に、図8に示された構成と同じである。従って、予測ブロックの行単位で一括して予測画素が生成される。   The configuration for intra prediction of 8 × 8 processing is substantially the same as the configuration shown in FIG. Therefore, prediction pixels are generated in a batch for each row of the prediction block.

4×4処理#1のイントラ予測のための構成または4×4処理#2のイントラ予測のための構成でも、図8に示された構成の場合と同様に、予測ブロックの行単位で一括して予測画素が生成される。ただし、図8に示された構成とは異なり、行数および列数はそれぞれ4である。   In the configuration for intra prediction of 4 × 4 processing # 1 or the configuration for intra prediction of 4 × 4 processing # 2, as in the configuration shown in FIG. Thus, a prediction pixel is generated. However, unlike the configuration shown in FIG. 8, the number of rows and the number of columns are four.

図11に示されたイントラ予測回路は、複数種類のサイズ(具体的には、8×8および4×4)の予測ブロックに対応でき、かつ、複数種類のうちの小サイズ(具体的には、4×4)の予測ブロックについて並列処理を実行可能である。4×4処理#1のイントラ予測のための構成と4×4処理#2のイントラ予測のための構成とで重複する要素がないからである。   The intra prediction circuit shown in FIG. 11 can cope with prediction blocks of a plurality of types (specifically, 8 × 8 and 4 × 4), and a small size (specifically, a plurality of types). 4 × 4) prediction blocks can be executed in parallel. This is because there is no overlapping element between the configuration for intra prediction of 4 × 4 processing # 1 and the configuration for intra prediction of 4 × 4 processing # 2.

従って、図11に例示されたような構成を採用する場合には、イントラ予測回路の回路規模を増大させないようにすることができる上に、並列処理によってイントラ予測の処理速度を上げることができる。   Therefore, when the configuration illustrated in FIG. 11 is adopted, the circuit scale of the intra prediction circuit can be prevented from increasing, and the processing speed of intra prediction can be increased by parallel processing.

なお、図11には、処理可能な予測ブロックサイズが8×8(この場合の予測ブロックの最大サイズ)である場合を例にし、予測コア1002〜1010が、8×8に応じて少なくとも6個(=8−2(端コアの個数):具体的には、予測コア1002〜1007)設けられ、予測ブロックの最大サイズよりも小さい処理可能な予測ブロックのサイズ(この場合には、4)よりも2少ない個数である2個の予測コアに2個の端コアが対応可能に設けられているが、処理可能な予測ブロックサイズが16×16である場合には、少なくとも14個の予測コアを設け、予測ブロックの最大サイズよりも小さい処理可能な予測ブロックのサイズが8であるとすると、6個の予測コアに2個の端コアが対応可能に設けられる。   FIG. 11 illustrates an example in which the processable prediction block size is 8 × 8 (the maximum size of the prediction block in this case), and at least 6 prediction cores 1002 to 1010 correspond to 8 × 8. (= 8-2 (number of end cores): Specifically, prediction cores 1002 to 1007) are provided, and the size of the prediction block that can be processed is smaller than the maximum size of the prediction block (in this case, 4). 2 end cores are provided so as to be able to correspond to 2 prediction cores, which is a small number, but when the processable prediction block size is 16 × 16, at least 14 prediction cores are provided. If the size of a prediction block that can be processed smaller than the maximum size of the prediction block is 8, two end cores are provided so as to correspond to six prediction cores.

さらに、そのような構成において、8×8の予測ブロックについて予測処理を行う構成(2個の端コア+6個の予測コア)の中で、4×4の予測ブロックについて予測処理を行う構成を内包させることができる。つまり、図11に例示されたように、「8×8処理」のイントラ予測のための構成に、「4×4処理」のイントラ予測のための構成を内包させることができる。   Further, in such a configuration, a configuration in which prediction processing is performed on a 4 × 4 prediction block in a configuration in which prediction processing is performed on an 8 × 8 prediction block (2 end cores + 6 prediction cores) is included. Can be made. In other words, as illustrated in FIG. 11, the configuration for intra prediction of “8 × 8 processing” can include the configuration for intra prediction of “4 × 4 processing”.

また、処理可能な予測ブロックサイズが32×32である場合には、少なくとも30個の予測コアを設け、予測ブロックの最大サイズよりも小さい処理可能な予測ブロックのサイズが16であるとすると、14個の予測コアに2個の端コアが対応可能に設けられる。   Further, when the processable prediction block size is 32 × 32, if at least 30 prediction cores are provided and the size of the processable prediction block smaller than the maximum size of the prediction block is 16, 14 Two end cores are provided corresponding to one prediction core.

図12は、本発明によるイントラ予測回路の主要部を示すブロック図である。図12に示すように、イントラ予測回路には、あらかじめ設定された参照画素または隣接する他の予測コアから入力された参照画素を用いて予測画素を計算する第1予測画素計算部12A(例えば、図7に示す予測画素計算部107で実現される。)と、第1予測画素計算部12Aが計算した予測画素を入力画像から減算して予測誤差を計算する第1予測誤差計算部13A(例えば、図7に示す減算器110で実現される。)と、第1予測画素計算部12Aが使用する参照画素を隣接する他の予測コアに供給する第1参照画素伝搬部14A(例えば、図7に示す選択器102,104で実現される。)とを含む第1予測コア10A〜10A(例えば、図11に示す予測コア1002〜1010で実現される。)が複数設けられ、あらかじめ設定された参照画素もしくは隣接する他の予測コアから入力された参照画素または逐次入力される参照画素を用いて予測画素を計算する第2予測画素計算部12B(例えば、図7に示す予測画素計算部107で実現される。)と、第2予測画素計算部12Bが計算した予測画素を入力画像から減算して予測誤差を計算する第2予測誤差計算部13B(例えば、図7に示す減算器110で実現される。)と、第2予測画素計算部12Bが使用する参照画素を隣接する他の予測コアに供給する第2参照画素伝搬部14B(例えば、図7に示す選択器102,104で実現される。)とを含む第2予測コア10B〜10B(例えば、図11に示す端コア1041〜1045で実現される。)が、複数の第1予測コア10A〜10Aのうちの所定個数の第1予測コアに対応して設けられている。FIG. 12 is a block diagram showing a main part of the intra prediction circuit according to the present invention. As illustrated in FIG. 12, the intra prediction circuit includes a first prediction pixel calculation unit 12 </ b> A that calculates a prediction pixel using a reference pixel set in advance or a reference pixel input from another adjacent prediction core (for example, 7) and a first prediction error calculation unit 13A that calculates a prediction error by subtracting the prediction pixel calculated by the first prediction pixel calculation unit 12A from the input image (for example, the prediction pixel calculation unit 107 shown in FIG. 7). , And a first reference pixel propagation unit 14A that supplies a reference pixel used by the first prediction pixel calculation unit 12A to another adjacent prediction core (for example, FIG. 7). And a plurality of first prediction cores 10A 1 to 10A n (for example, realized by the prediction cores 1002 to 1010 shown in FIG. 11). A second prediction pixel calculation unit 12B (for example, the prediction shown in FIG. 7) that calculates a prediction pixel using a reference pixel that has been set first, a reference pixel that is input from another adjacent prediction core, or a reference pixel that is sequentially input. And a second prediction error calculation unit 13B that calculates a prediction error by subtracting the prediction pixel calculated by the second prediction pixel calculation unit 12B from the input image (for example, as shown in FIG. 7). And a second reference pixel propagation unit 14B (for example, the selector 102 shown in FIG. 7) that supplies the reference pixel used by the second prediction pixel calculation unit 12B to another adjacent prediction core. is achieved at 104.) 1 second prediction core 10B and a ~10B m (e.g.,. realized at the end core 1041-1045 shown in FIG. 11) is a plurality of first prediction core 10A 1 10 a n Are provided corresponding to a predetermined number of first prediction cores.

なお、第1予測画素計算部12Aと第2予測画素計算部12Bとは、参照画素の入力元が異なることを除き、同じ機能を有する。第1予測誤差計算部13Aと第2予測誤差計算部13Bとは同じ機能を有する。第1参照画素伝搬部14Aと第2参照画素伝搬部14Bとは同じ機能を有する。   The first prediction pixel calculation unit 12A and the second prediction pixel calculation unit 12B have the same function except that the input source of the reference pixel is different. The first prediction error calculation unit 13A and the second prediction error calculation unit 13B have the same function. The first reference pixel propagation unit 14A and the second reference pixel propagation unit 14B have the same function.

また、上記の実施形態では、第1予測コア10A〜10Aは、例えば、処理可能な予測ブロックの最大サイズ(例えば、8:図10参照))に応じた個数(例えば、6(=8−2))設けられ、第2予測コアは、予測ブロックの最大サイズよりも小さい処理可能な予測ブロックのサイズ(例えば、4)よりも2少ない個数の第1予測コアに対して2個割り当てられるように設けられているイントラ予測回路が開示されている。Further, in the above embodiment, the first prediction cores 10A 1 to 10A n are, for example, the number (for example, 6 (= 8) corresponding to the maximum size of the prediction block that can be processed (for example, 8: see FIG. 10)) -2)) provided, and two second prediction cores are allocated to the number of first prediction cores that are smaller than the size of the prediction block that can be processed smaller than the maximum size of the prediction block (for example, 4). An intra prediction circuit provided as described above is disclosed.

また、上記の実施形態では、一の第1予測コアを、他の第1予測コアまたは第2予測コアに接続する切替部(例えば、図11に示す切替器1061〜1064で実現される。)を備えるイントラ予測回路が開示されている。   Moreover, in said embodiment, the switch part which connects one 1st prediction core to another 1st prediction core or a 2nd prediction core (For example, it implement | achieves with the switchers 1061-1064 shown in FIG. 11). An intra prediction circuit is disclosed.

また、上記の実施形態では、予測対象の予測ブロックのサイズに応じて切替部に切替信号を与える制御部(例えば、図11に示す制御回路240で実現される。)を備えるイントラ予測回路が開示されている。   Moreover, in said embodiment, an intra prediction circuit provided with the control part (for example, implement | achieved by the control circuit 240 shown in FIG. 11) which gives a switching signal to a switching part according to the size of the prediction block of prediction object is disclosed. Has been.

図13は、本発明による他のイントラ予測回路の主要部を示すブロック図である。図13に示すように、イントラ予測回路は、第1予測コア10Aおよび第2予測コア10Bに加えて、転置回路20A,20Bを備える。転置回路20A,20B(図3に示す転置回路3に対応)は、参照ブロックにおける参照画素の配列を転置する。   FIG. 13 is a block diagram showing a main part of another intra prediction circuit according to the present invention. As shown in FIG. 13, the intra prediction circuit includes transposition circuits 20A and 20B in addition to the first prediction core 10A and the second prediction core 10B. Transposition circuits 20A and 20B (corresponding to transposition circuit 3 shown in FIG. 3) transpose the arrangement of reference pixels in the reference block.

以上、実施形態および実施例を参照して本願発明を説明したが、本願発明は上記実施形態および実施例に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。   While the present invention has been described with reference to the embodiments and examples, the present invention is not limited to the above embodiments and examples. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

この出願は、2013年9月30日に出願された日本特許出願2013−203278を基礎とする優先権を主張し、その開示の全てをここに取り込む。   This application claims the priority on the basis of the JP Patent application 2013-203278 for which it applied on September 30, 2013, and takes in those the indications of all here.

1 イントラ予測部
2 分配器
3 転置回路
4 転置回路
5 選択器
10A〜10A 第1予測コア
10B〜10B 第2予測コア
12A 第1予測画素計算部
12B 第2予測画素計算部
13A 第1予測誤差計算部
13B 第2予測誤差計算部
14A 第1参照画素伝搬部
14B 第2参照画素伝搬部
20A,20B 転置回路
100 予測コア
101,103,105,106 レジスタ
102,104 選択器
107 予測画素計算部
110 減算器
111,112 予測画素生成回路
121〜152 参照画素レジスタ
161,162 選択器
230 係数供給回路
240 制御回路
301 変換部
302 量子化部
303 エントロピー符号化部
304 逆量子化/逆変換部
305 バッファ
306 予測部
307 最適予測モード決定部
1001〜1032 予測コア
1 intra prediction unit 2 distributor 3 transposition circuit 4 transposition circuit 5 selector 10A 1 10 A n first predicted core 10B 1 ~10B m first prediction pixel calculation unit 12B second prediction cores 12A second prediction pixel calculation unit 13A first 1 prediction error calculation unit 13B second prediction error calculation unit 14A first reference pixel propagation unit 14B second reference pixel propagation unit 20A, 20B transpose circuit 100 prediction core 101, 103, 105, 106 register 102, 104 selector 107 prediction pixel Calculation unit 110 Subtractor 111, 112 Predicted pixel generation circuit 121-152 Reference pixel register 161, 162 Selector 230 Coefficient supply circuit 240 Control circuit 301 Conversion unit 302 Quantization unit 303 Entropy encoding unit 304 Inverse quantization / inverse conversion unit 305 Buffer 306 Prediction unit 307 Optimal prediction mode determination unit 001-1032 prediction core

Claims (7)

角度イントラ予測を行うイントラ予測回路であって、
あらかじめ設定された参照画素または隣接する他の予測コアから入力された参照画素を用いて予測画素を計算する第1予測画素計算部と、前記第1予測画素計算部が計算した予測画素を入力画像から減算して予測誤差を計算する第1予測誤差計算部と、前記第1予測画素計算部が使用する参照画素を隣接する他の予測コアに供給する第1参照画素伝搬部とを含む第1予測コアが複数設けられ、
あらかじめ設定された参照画素もしくは隣接する他の予測コアから入力された参照画素または逐次入力される参照画素を用いて予測画素を計算する第2予測画素計算部と、前記第2予測画素計算部が計算した予測画素を入力画像から減算して予測誤差を計算する第2予測誤差計算部と、前記第2予測画素計算部が使用する参照画素を隣接する他の予測コアに供給する第2参照画素伝搬部とを含む第2予測コアが、複数の前記第1予測コアのうちの所定個数の第1予測コアに対応して設けられている
ことを特徴とするイントラ予測回路。
An intra prediction circuit that performs angle intra prediction,
A first prediction pixel calculation unit that calculates a prediction pixel using a reference pixel set in advance or a reference pixel input from another adjacent prediction core, and a prediction pixel calculated by the first prediction pixel calculation unit as an input image A first prediction error calculation unit that calculates a prediction error by subtracting from the first prediction pixel calculation unit, and a first reference pixel propagation unit that supplies a reference pixel used by the first prediction pixel calculation unit to another adjacent prediction core There are multiple prediction cores,
A second prediction pixel calculation unit that calculates a prediction pixel using a reference pixel set in advance, a reference pixel input from another adjacent prediction core, or a reference pixel sequentially input; and the second prediction pixel calculation unit includes: A second prediction error calculation unit that calculates a prediction error by subtracting the calculated prediction pixel from the input image, and a second reference pixel that supplies a reference pixel used by the second prediction pixel calculation unit to another adjacent prediction core An intra prediction circuit, wherein a second prediction core including a propagation unit is provided corresponding to a predetermined number of first prediction cores among the plurality of first prediction cores.
前記第1予測コアは、処理可能な予測ブロックの最大サイズに応じた個数設けられ、
前記第2予測コアは、前記予測ブロックの最大サイズよりも小さい処理可能な予測ブロックのサイズよりも2少ない個数の前記第1予測コアに対して2個割り当てられるように設けられている
請求項1記載のイントラ予測回路。
The number of the first prediction cores is provided according to the maximum size of the prediction block that can be processed,
2. The second prediction core is provided so that two second prediction cores are allocated to a number of the first prediction cores that are two smaller than a processable prediction block size smaller than the maximum size of the prediction block. The intra prediction circuit described.
一の前記第1予測コアを、他の前記第1予測コアまたは前記第2予測コアに接続する切替部を備える
請求項1または請求項2記載のイントラ予測回路。
The intra prediction circuit according to claim 1, further comprising a switching unit that connects one first prediction core to the other first prediction core or the second prediction core.
予測対象の予測ブロックのサイズに応じて前記切替部に切替信号を与える制御部を備える
請求項3記載のイントラ予測回路。
The intra prediction circuit according to claim 3, further comprising a control unit that provides a switching signal to the switching unit according to a size of a prediction block to be predicted.
前記第1参照画素伝搬部は、前記第1予測誤差計算部に参照画素をフィードバックする回路を含み、
前記第2参照画素伝搬部は、前記第2予測誤差計算部に参照画素をフィードバックする回路を含む
請求項1から請求項4のうちのいずれか1項に記載のイントラ予測回路。
The first reference pixel propagation unit includes a circuit that feeds back a reference pixel to the first prediction error calculation unit,
The intra prediction circuit according to any one of claims 1 to 4, wherein the second reference pixel propagation unit includes a circuit that feeds back a reference pixel to the second prediction error calculation unit.
複数の前記第1予測コアと複数の前記第2予測コアの各々に、1行分の予測画素を計算するときに、その行に対応する、計算における係数を供給する係数供給回路を備える
請求項1から請求項5のうちのいずれか1項に記載のイントラ予測回路。
A coefficient supply circuit that supplies a coefficient in calculation corresponding to a row when calculating prediction pixels for one row to each of the plurality of first prediction cores and the plurality of second prediction cores. The intra prediction circuit according to any one of claims 1 to 5.
予測ブロックの上側および左側に隣接する参照画素と右上側に位置する参照画素を使用し、
水平方向モードの予測を行うときに、参照ブロックにおける参照画素の配列を転置する転置回路を備える
請求項1から請求項6のうちのいずれか1項に記載のイントラ予測回路。
Using reference pixels adjacent to the upper and left sides of the prediction block and a reference pixel located on the upper right side,
The intra prediction circuit according to any one of claims 1 to 6, further comprising a transposition circuit that transposes an array of reference pixels in the reference block when performing prediction in the horizontal mode.
JP2015538861A 2013-09-30 2014-08-26 Intra prediction circuit Active JP6323459B2 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2013203278 2013-09-30
JP2013203278 2013-09-30
PCT/JP2014/004377 WO2015045272A1 (en) 2013-09-30 2014-08-26 Intra prediction circuit

Publications (2)

Publication Number Publication Date
JPWO2015045272A1 true JPWO2015045272A1 (en) 2017-03-09
JP6323459B2 JP6323459B2 (en) 2018-05-16

Family

ID=52742449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015538861A Active JP6323459B2 (en) 2013-09-30 2014-08-26 Intra prediction circuit

Country Status (2)

Country Link
JP (1) JP6323459B2 (en)
WO (1) WO2015045272A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210015963A (en) 2018-06-29 2021-02-10 후아웨이 테크놀러지 컴퍼니 리미티드 Device and method for intra-prediction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199111A (en) * 2001-12-27 2003-07-11 Matsushita Electric Ind Co Ltd Prediction device, encoder, inverse prediction device, decoder, and arithmetic device
JP2009260494A (en) * 2008-04-14 2009-11-05 Canon Inc Image coding apparatus and its control method
JP2011023817A (en) * 2009-07-13 2011-02-03 Fujitsu Ltd Image encoding apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199111A (en) * 2001-12-27 2003-07-11 Matsushita Electric Ind Co Ltd Prediction device, encoder, inverse prediction device, decoder, and arithmetic device
JP2009260494A (en) * 2008-04-14 2009-11-05 Canon Inc Image coding apparatus and its control method
JP2011023817A (en) * 2009-07-13 2011-02-03 Fujitsu Ltd Image encoding apparatus

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ANDRZEJ ABRAMOWSKI AND GRZEGORZ PASTUSZAK: "A novel Intra prediction architecture for the hardware HEVC encoder", 2013 EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), JPN6014047960, 4 September 2013 (2013-09-04), pages pp.429 - 436 *
ERCAN KALALI ET AL.: "A HIGH PERFORMANCE AND LOW ENERGY INTRA PREDICTION HARDWARE FOR HIGH EFFICIENCY VIDEO CODING", 2012 22ND INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL), JPN6014047962, August 2012 (2012-08-01), pages pp.719 - 722 *
ZHENYU LIU ET AL.: "41.7BN-PIXELS/S RECONFIGURABLE INTRA PREDICTION ARCHITECTURE FOR HEVC 2560X1600 ENCODER", 2013 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), JPN6014047961, May 2013 (2013-05-01), pages pp.2634 - 2638 *

Also Published As

Publication number Publication date
WO2015045272A1 (en) 2015-04-02
JP6323459B2 (en) 2018-05-16

Similar Documents

Publication Publication Date Title
US20200304787A1 (en) Virtual Boundary Processing Simplification for Adaptive Loop Filtering (ALF) in Video Coding
CN110662034B (en) Adaptive filtering method and video encoding and decoding apparatus using the same
EP3509305B1 (en) Intra-prediction video coding method and device
JP2022008349A (en) Method and apparatus for encoding or decoding video data in fruc mode with reduced memory accesses
JP2022097690A (en) Image decoding method and apparatus relying on intra prediction in image coding system
JP6323459B2 (en) Intra prediction circuit
JP2009231914A (en) Decoding apparatus, decoding processing method, and program
JP6384484B2 (en) PROCESS CONTROL DEVICE, PROCESS CONTROL METHOD, AND PROCESS CONTROL PROGRAM
JP6323458B2 (en) Intra prediction circuit and intra prediction method
TWI784916B (en) Image decoding device, image decoding method, recording medium storing image decoding program, image encoding device, image encoding method, and recording medium storing image encoding program
KR20220019232A (en) Image processing apparatus and image processing method
JP5884940B1 (en) Image encoding device, image encoding method, image encoding program, transmission device, transmission method, and transmission program
JP2015165644A (en) Image encoder and image encoding method
WO2020184263A1 (en) Image decoding device, image decoding method, and program
JP2015076666A (en) Block structure determination circuit and information compression circuit
JP6589878B2 (en) Predictive image generation apparatus and predictive image generation method
WO2012121575A2 (en) Method and device for intra-prediction
Yong et al. Acceleration of HEVC transform and inverse transform on ARM NEON platform
JP4719650B2 (en) Image encoding device
JP6492847B2 (en) Video encoding system, video encoding circuit, and video encoding method
JP6308409B2 (en) Moving picture coding apparatus and moving picture coding method
JP4574020B2 (en) Image processing apparatus, image encoding apparatus, and image decoding apparatus
JP2007208802A (en) Image encoding apparatus and image encoding method
JPWO2015141116A1 (en) Video encoding apparatus, video encoding method, and video encoding program
WO2015030226A1 (en) Motion search processing device, image encoding device, and motion search processing method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170705

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180326

R150 Certificate of patent or registration of utility model

Ref document number: 6323459

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150