WO2016143093A1 - Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device - Google Patents

Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device Download PDF

Info

Publication number
WO2016143093A1
WO2016143093A1 PCT/JP2015/057155 JP2015057155W WO2016143093A1 WO 2016143093 A1 WO2016143093 A1 WO 2016143093A1 JP 2015057155 W JP2015057155 W JP 2015057155W WO 2016143093 A1 WO2016143093 A1 WO 2016143093A1
Authority
WO
WIPO (PCT)
Prior art keywords
encoding
intra prediction
image
unit
moving image
Prior art date
Application number
PCT/JP2015/057155
Other languages
French (fr)
Japanese (ja)
Inventor
谷田部 祐介
小味 弘典
浩朗 伊藤
稲田 圭介
Original Assignee
株式会社日立製作所
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 株式会社日立製作所 filed Critical 株式会社日立製作所
Priority to PCT/JP2015/057155 priority Critical patent/WO2016143093A1/en
Publication of WO2016143093A1 publication Critical patent/WO2016143093A1/en

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/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • 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/167Position within a video image, e.g. region of interest [ROI]
    • 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/174Methods 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 slice, e.g. a line of blocks or a group of blocks
    • 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

Definitions

  • the present invention relates to a moving image encoding device and a moving image decoding device capable of encoding a moving image of a large size such as 4k2k with low cost and low delay.
  • This standard discloses a technique that can select a plurality of MB sizes as a new encoding unit, and a technique that can encode an image in units called vertical tiles.
  • Patent Document 1 an image is divided into a left image and a right image, and the encoding device processes each image in parallel. After encoding of the end MB of the left image for each MB line, the encoding device Since the MB information is transferred to the encoding device for the right image and the MB encoding of the right image is started after the transfer is completed, the encoding of the image with low delay is not taken into consideration.
  • the present invention has an object of enabling encoding with low delay even when an image is divided.
  • the present invention includes a plurality of means for solving the above-described problems.
  • the present invention is a video encoding device, which is a splitting unit that splits an input video and a splitting unit.
  • a plurality of pre-encoding units that generate encoding information in the order of macroblock processing from a moving image by using either intra prediction or inter prediction; a memory unit that stores encoding information generated by the pre-encoding processing unit; An encoding unit that generates a compressed stream from encoding information read out from the memory unit in macroblock order, and a plurality of pre-encoding units are encoded by each pre-encoding unit
  • the encoding information is created without referring to the information mutually.
  • FIG. 10 is a diagram for explaining an MB processing order when an image is vertically divided by a moving image encoding device according to Embodiment 1.
  • 3 is an operation timing chart for each frame of the moving image encoding apparatus according to the first embodiment. It is a figure which shows an example of the processing pipeline of the pre-encoding process part of the moving image encoder in Example 1.
  • FIG. It is a figure explaining the intra prediction of the moving image encoder in Example 1.
  • FIG. 10 is a diagram illustrating a relationship between an input rate of an original image and an encoding rate of an encoding device in an encoding process time and an original image size of an image of one frame in Example 2.
  • FIG. 10 is a system configuration diagram of a moving image encoding apparatus according to Embodiment 4.
  • FIG. 10 is a schematic diagram illustrating intra refresh in the sixth embodiment.
  • FIG. 10 is a system configuration diagram of a video decoding device in Embodiment 7.
  • FIG. 1 is a configuration diagram illustrating an example of a system of a moving image encoding apparatus according to the present embodiment.
  • the moving picture coding apparatus according to the present embodiment divides an input moving picture and stores it in a memory unit, reads the divided moving picture, and performs preprocessing for coding.
  • the first pre-encoding processing unit 0102 for storing the encoding information in the middle of encoding in the memory unit 0104, the second pre-encoding processing unit 0103 having the same configuration, and the encoding from the memory unit
  • An encoding unit 0105 that reads out the encoded information and stores it in the memory
  • a stream output unit 0106 that reads out and outputs the stream
  • a deblocking unit 0107 that reads out the decoded image and performs the deblocking filter process
  • a control unit 0108 Consists of
  • the first encoding preprocessing unit 0102 includes an original image reading unit 0102 that reads an original image from a memory, a reference image reading unit 01021 that reads a reference image for performing inter-screen prediction (Inter), and a vector for Inter prediction.
  • Inter mode determination unit 01023 for determining the block size and the like
  • Intra mode determination unit 01024 for determining the prediction mode of intra prediction (Intra), and determining one of the modes of Intra prediction and Inter prediction.
  • Prediction error generation unit 01025 for generating prediction error and generating decoded image after inverse frequency conversion, Intra prediction error generation and prediction error frequency conversion and quantization, and quantized data Is composed of a frequency transform quantizing unit 01026 that performs inverse quantization and inverse frequency transform, and an encoded information writing unit 01027 that creates encoded information held in the memory and stores the encoded information in the memory.
  • the coding information is intra prediction for each block of MB, information indicating intra prediction, vector at inter prediction, block division information, intra prediction mode at intra prediction, book division information, quantization value, quantization The later image information, the locally decoded image, and the like.
  • the second pre-encoding processing unit 0103 has the same configuration as that of the first pre-encoding processing unit. In this embodiment, two examples of the pre-encoding processing unit will be described, but the number is not limited.
  • the control unit 0108 performs overall operation control, rate control, and MB size determination.
  • FIG. 2A is diagrams for explaining the processing order in MB units.
  • encoding of a moving image is performed by dividing the screen into rectangular blocks called MB0202 for each continuous screen 0201 that constitutes the moving image, for example, a still image 0201 such as one frame, from the upper left to the right.
  • encoding is performed in the order of the raster scan 0203 with reference to information on neighboring MBs.
  • the screen is divided in the vertical direction, each image is divided into a left image 0204 and a right image 0205, and the MB of each image is raster scanned as shown in FIG. 2C.
  • encoding is performed in the order of 0206 and 0207, respectively.
  • the leftmost MB of the right image requires the information of the left image MB (0208), so that encoding is simply performed by dividing the left image. Can not.
  • the left image and the right image can be processed in parallel, and encoding with a small amount of delay is realized.
  • the input moving image is vertically divided by the dividing unit 0101 according to the number of divisions designated by the user and stored in the memory unit 0104.
  • the input image may be input by raster scanning or may be input for each divided image area, but is stored in the memory unit 0104 for each vertically divided image.
  • the number of divisions is determined by the image size and frame rate of the moving image to be encoded and the processing performance of the pre-encoding processing device.
  • FIG. 3 shows an example of an operation timing chart for each frame of the moving image encoding apparatus.
  • the horizontal axis represents time 0301, and one section shows the required processing time 0302 for one image, which is one frame when performing real-time video encoding.
  • the present embodiment assumes real-time encoding with low delay, and the input image is stored in the memory unit by the dividing unit 0101 separately in the left and right images.
  • the process 0304 of the first pre-encoding processing unit and the process 0305 of the second code processing unit start processing as soon as the required MB original image is input, generate encoding information, and generate encoding information. Once stored in memory. Then, the processing 0306 of the encoding unit immediately reads out the data in the order of the encoded MB and performs the stream conversion.
  • FIG. 4 shows an example of a processing pipeline of the pre-encoding processing unit.
  • the horizontal axis indicates time 0401
  • the section in the horizontal axis indicates time 0402 necessary for processing 1 MB.
  • Each process shows a state in which processing is sequentially performed in a pipeline of 0 MB, 1 MB, and 2 MB in the order of MB processing.
  • the original image reading process 0403 is a process of reading an original image for each MB from the memory unit 0104 by the original image reading unit 01022.
  • the reference image reading process 0404 indicates a process of reading a reference image for inter prediction by the reference image reading unit 01021.
  • the reference image reading process 0404 is a process of pre-reading before starting each process and sequentially reading necessary data in the order of processing MB.
  • Inter prediction mode determination processing 0405 is processing for determining a motion vector and a block division size by performing motion detection processing using an original image and a reference image in the Inter mode determination unit 01023.
  • the intra mode determination process 0406 is a process in which the intra mode determination unit 01024 determines an intra prediction mode (reference direction) using peripheral pixels as reference pixels.
  • Intra prediction is a method of performing encoding using only pixels in the screen. As shown in FIG. 5, for each MB0701 to be encoded, a rectangular Intra prediction block 0702 having the same size or smaller than that is used. Divide and make predictions. Intra prediction creates a prediction image using pixels of surrounding blocks as reference pixels with respect to the encoding target block. An example of the reference pixel is shown in FIG. FIG. 6 shows reference pixels necessary for intra prediction of the encoding target block 0601. For the encoding target block, the pixel 0602 belonging to the upper block or MB, the upper left block or MB, and the like.
  • a pixel 0603, a pixel 0604 belonging to the left block or MB, and a pixel 0605 belonging to the upper right block are selected as reference pixels, and one prediction mode is selected from Intra modes that can be predicted from a plurality of directions as shown in FIG.
  • a predicted image is created using reference pixels in that direction.
  • FIG. 7 shows the direction (mode) in which direction the reference image is referred to by the pixel in the intra prediction block.
  • the reference pixel may use the original image for pixels that have not been decoded, and may use the decoded image or the original image for pixels that have already been decoded.
  • intra prediction in this embodiment, in the intra prediction mode restriction block 0705 where the right image and the left image dividing boundary 0704 shown in FIG. 5 are in contact, intra prediction is performed using only reference pixels belonging to the divided image.
  • the intra prediction mode is limited. In other words, the intra prediction mode is limited so that the decoded pixels of blocks belonging to different divided screens are not used as reference pixels. That is, the two pre-encoding processing units respectively create encoding information without mutually referring to the encoding information held by the individual encoding pre-processing units.
  • the Intra prediction mode of the rightmost Intra prediction block (upper right and lower right blocks) in the left image of FIG. 5 will be described.
  • the pixel 0605 belonging to the upper right block in FIG. 6 is a right image, and thus information cannot be acquired. Therefore, the intra prediction mode that can be predicted only from other reference pixels is limited.
  • the intra prediction mode (upper left and lower left blocks) of the leftmost intra prediction block in the right image.
  • the pixel 0603 belonging to the upper left block in FIG. 6 and the pixel 0604 belonging to the left block are left images, so the pixel 0602 belonging to the upper block and the pixel belonging to the upper right block
  • the intra prediction mode that can be predicted using only 0605 is limited.
  • a prediction image of intra prediction can be created only with reference pixels in the divided image, and encoding between the left and right images is performed. It becomes possible to cut off the reference of information.
  • the Intra / Inter determination / Inter prediction image creation processing 0407 in FIG. 4 determines whether the Inter error mode or the Intra mode is selected in the prediction error creation unit 01025. This is a process of creating a prediction image of a mode and generating an error image that takes a difference from the original image.
  • Intra prediction image creation, frequency transform quantization, inverse quantization inverse frequency transform, and decoded image creation processing 0408 are determined by the intra mode determination unit 01024 at the time of intra prediction in the prediction error creation unit 01025 and the frequency transform quantization unit 01026.
  • prediction error data obtained by inverse quantization and inverse frequency conversion of quantized data is added to a prediction image to generate a decoded image.
  • the encoded information writing process 0409 is a process in which the encoded information writing unit 01027 writes the encoded information into the memory.
  • FIG. 8 shows an example of a processing pipeline in the configuration of FIG. 1 using two pre-encoding processing units.
  • FIG. 8 shows time 0501 on the horizontal axis, and the period required for processing 1 MB therein is shown as time 0502 required for processing 1 MB.
  • the processing time of 1 MB of the pre-coding processing unit is at most twice less than the time 0502 required for the processing of 1 MB. Need to process in time.
  • the encoding unit needs to end the process in the 1 MB period.
  • the first pre-encoding process and the second pre-encoding process each perform the pipeline operation shown in FIG.
  • the pre-encoding process in FIG. 8 shows only the MB number for which the encoded information writing process in FIG. 4 is performed.
  • the pre-encoding process 0503 As soon as the original image data of MB0 is stored in the memory in the first pre-encoding processing unit 0102 according to the processing order of the left image in the processing order of FIG. 2C, the pre-encoding process is performed. Start and store the encoded information in the memory unit.
  • the MB4 original image is stored in the memory unit in the second pre-encoding processing unit 0103 according to the processing order of the right image in the processing order of FIG. Start, create encoding information for each MB, and store in the memory unit. At this time, since the intra prediction mode is limited, the first MB of the right image can be processed before the encoding of the right end MB of the left image is completed.
  • the encoding unit 0105 immediately converts the encoding information stored in the memory unit 0104 by the first pre-encoding processing unit 0102 and the second pre-encoding processing unit 0103 in the MB encoding order.
  • the data is streamed by an encoding method such as CABAC (Context-based Adaptive Binary Arithmetic Coding) or CAVLC (Context-adaptive variable-length coding) in consideration of surrounding MB information.
  • CABAC Context-based Adaptive Binary Arithmetic Coding
  • CAVLC Context-adaptive variable-length coding
  • the stream output process 0506 for each MB line is output by the stream output unit 0106 as soon as the stream is stored in the memory unit 0104 for each MB line.
  • the deblocking process 0507 after the decoded images of the left image and the right image are stored in the memory unit for 2 MB lines in the deblocking unit 0107, the decoded image is read again from the memory unit, and subjected to the deblocking filter process. Stored in memory as a reference image for inter prediction after the frame. If the deblocking process is not performed, the process of this block is not necessary. Further, the deblocking process may be configured to perform a process when reading a reference image for performing the Inter prediction.
  • the present embodiment is not limited to this, and can be divided into four, six, and eight, for example. That's all.
  • horizontal division may be sufficient and the combination of vertical division and horizontal division may be sufficient.
  • the MB size can be changed in the H.265 standard. Therefore, it is necessary to determine the MB size and perform encoding.
  • the MB size needs to be appropriately determined according to the target delay amount because the encoding time differs depending on the size.
  • FIG. 9 is a diagram showing the relationship between the input rate of the original image and the encoding rate of the encoding device in the encoding processing time and the original image size of one image of one frame.
  • the amount of encoding delay varies depending on the input time required to input the original image.
  • the MB size determination processing of the control unit 0108 in FIG. 1 is a standard that can specify the MB size in the moving image encoding, the target delay amount, the moving image size, the frame rate, and the input of the original image
  • the MB size is determined based on the rate, the encoding rate of the encoding device that actually performs encoding, and the input time of the original image.
  • this size determination desired low-delay encoding can be realized. Note that this MB size determination unit can also be applied when the pre-encoding processing unit is not used in parallel.
  • an appropriate MB size can be determined even for an encoding standard in which the MB size can be selected, and encoding with low delay can be realized.
  • the intra prediction block limited to the intra prediction mode in which prediction can be performed only with the reference image belonging to the divided image in the first embodiment has a smaller quantization value than other blocks.
  • the image quality in the Intra prediction mode restricted block can be improved, and the perception of the degradation line can be prevented.
  • the number of MBs configured for each MB line may be changed, and this value may be changed for each frame.
  • the boundary line can be scattered for each frame, and the image quality degradation at the boundary can be made inconspicuous.
  • the MB size is changed for each MB line, similarly, it is possible to make the image quality deterioration at the boundary less noticeable.
  • FIG. 10 shows a system configuration diagram of the moving picture encoding apparatus of the present embodiment.
  • FIG. 10 includes a connection unit 0901 for connecting a plurality of pre-encoding units in addition to the configuration of FIG. That is, in this embodiment, the data can be transferred between the pre-encoding processing units.
  • This is a configuration for enabling the reference image to be sent between the pre-encoding processing units for the reference pixels for which the decoded image generation processing in the peripheral divided image has already been completed in the intra predicted image generation processing. It is.
  • an Intra prediction mode restriction block (upper right block and lower right block) that is an Intra prediction block belonging to the right end of the left image is an MB (upper left block and The reference pixel in the lower left block) is used.
  • the MB eg, MB3 located at the right end of the left image requires information on the MB (eg, 4) belonging to the left end of the right image, but before processing MB3, MB4 has already been processed. Since the above process has been completed, it is possible to perform intra prediction of MB3 using the reference pixels of MB4. Therefore, in this embodiment, it is necessary to limit the intra prediction mode in the first pre-processing unit by transferring the decoded image in the second pre-processing unit to the first pre-processing unit. Disappears.
  • the process of generating the decoded image of the upper MB line has already been completed.
  • the pixel 0603 belonging to can also be used, and the restriction on the mode of intra prediction can be relaxed.
  • the two pre-encoding processing units mutually transfer information, but only one of them may be transferred.
  • the actual data transfer may be transfer via a memory unit instead of transfer between pre-encoding processing units.
  • the tile is a technique that allows an image to be divided into a plurality of parts in the vertical direction as shown in FIG. 2C and that each can be encoded independently.
  • the processing order of MBs at this time is also the processing order shown in FIG. 2C.
  • a slice is formed for each MB line. Then, the slice is divided into a plurality of tiles.
  • the slice is a stream configuration that handles left and right images as independent areas.
  • stream creation in order to determine the cut position of the stream during MB line encoding, the information is held and added to the stream held in the memory unit before the stream is output. Alternatively, a dummy value is streamed in advance, and the dummy value held in the memory unit is realized by a method of rewriting to a correct value as soon as the break position is determined.
  • FIG. 11 is a schematic diagram for explaining intra-refresh performed in a low-delay encoder by circulating an intra MB in a band shape and circulating between frames.
  • the intra refresh is arranged so that the code amount is constant for delay reduction, and the banded intra MB0905 is shifted for each frame to make a round with a predetermined refresh cycle for error tolerance.
  • the point of limiting the Intra prediction mode described in the first to fifth embodiments is applied so that intra prediction that does not refer to the prediction pixel beyond the banded intra MB0905 region is performed. As a result, the delay can be reduced as in the first to fifth embodiments.
  • the moving picture decoding apparatus shown in FIG. 12 includes a stream input unit 1201 that inputs a stream, a decoding unit 1202 that decodes the stream and stores the decoding information in the memory unit 1206, and displays a segmented area based on the decoding information.
  • the control unit 1207 performs overall control.
  • the post-decoding processing unit includes a decoding information reading unit 12031 that reads decoding information stored in the memory unit 1206 by the decoding unit 1202, an inverse quantization inverse frequency conversion unit 12032 that performs inverse quantization and inverse frequency conversion on the decoded pixels, Intra mode decoding unit 12033 that decodes intra prediction and generates a prediction image, reference image reading unit 12034 that reads a reference image for inter prediction decoding, inter mode decoding unit 12035 that generates a prediction image for inter prediction, inter prediction
  • the display image generation unit 12036 generates a display image by adding the prediction image of intra prediction and the error image generated by the inverse quantization inverse frequency conversion unit.
  • the video code is also used in post-decoding processing of decoding. It is possible to perform image processing in parallel by using the same image division as that of the pre-encoding processing unit of the encoding device.
  • the image is vertically divided.
  • the present embodiment is not limited to this, and as described above, the moving image encoding apparatus side is divided into four and six. 8 divisions, vertical divisions of 2 or more, horizontal divisions, and combinations of vertical divisions and horizontal divisions may be used.
  • the image decoding apparatus may also correspond to the division.
  • the present invention is not limited to the above-described embodiments, and includes various modifications.
  • the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described.
  • a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment.
  • each of the above-described configurations, processing units, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Further, each of the above-described configurations, processing units, and the like may be realized by software obtained by the processor interpreting and executing a program that realizes each function.
  • 0101 Dividing unit, 0102 ... First encoding preprocessing unit, 0103 ... Second encoding preprocessing unit, 0104 ... Memory unit, 0105 ... Encoding unit, 0106 ... Stream output unit, 0107 ... Deblocking unit, 0108 ... Control unit, 0202 ... MB, 0203 ... Raster scan, 0204 ... Left image, 0205 ... Right image, 0705 ... Intra prediction mode restriction block, 0901 ... Connection unit, 0905 ... Intra MB, 1203 ... After first decoding Processing section, 1204 ... Second decryption post-processing section

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

The purpose of the present invention is to provide a device that encodes large-size moving images such as 4k and 2k at a low cost and with low-delay. In order to achieve the foregoing, provided is a moving image encoding device which includes the following: a dividing unit for dividing input moving images; a plurality of encoding pre-processing units that create, from the moving images divided by the dividing unit, encoding information in a macro-block processing order using an intra-prediction method or an inter-prediction method; a memory unit for storing the encoding information created by the encoding pre-processing units; and an encoding unit that generates a compressed stream from the encoding information read out from the memory unit in the macro-block order. The plurality of encoding pre-processing units are configured so that each unit creates encoding information without reciprocally referencing the encoding information held by each of the encoding pre-processing units. Due to this configuration, even in a parallel operation which uses a plurality of encoding devices, low-delay encoding can be realized.

Description

動画像符号化装置及びそれに用いるIntra予測符号化方法、及び動画像復号化装置Moving picture coding apparatus, intra prediction coding method used therefor, and moving picture decoding apparatus
 本発明は、4k2kなどの大サイズの動画像を低コスト、低遅延で符号化することが出来る動画像符号化装置及び動画像復号化装置に関する。 The present invention relates to a moving image encoding device and a moving image decoding device capable of encoding a moving image of a large size such as 4k2k with low cost and low delay.
 動画像符号化の国際標準方式であるH.264規格では、画像をマクロブロック(MB)という矩形領域に分割して画像の左上からラスタ順に処理し、各MBは左や上などの周辺MBの符号化情報を参照しながら符号化を行うことが一般的である。この様な符号化において、大サイズの画像をリアルタイム符号化する場合に、画像を分割し複数の符号化装置を用いて並列に処理する技術分野の背景技術として、特開2013-165514号公報(特許文献1)がある。特許文献1では、2つの符号化装置を並列動作させ符号化する際に、MB符号化の参照関係を維持させるための符号化装置間でのデータ転送量を少なくするために、画像を縦方向に分割し、各符号化装置で同期を取りながら符号化する手法が開示されている。 In the H.264 standard, which is an international standard for moving image coding, an image is divided into rectangular areas called macroblocks (MB) and processed in raster order from the upper left of the image. In general, encoding is performed with reference to the encoding information. In such encoding, when a large-size image is encoded in real time, as a background art in the technical field of dividing an image and processing in parallel using a plurality of encoding devices, Japanese Patent Laying-Open No. 2013-165514 ( There exists patent document 1). In Patent Document 1, in order to reduce the amount of data transfer between encoding devices for maintaining the reference relationship of MB encoding when encoding is performed by operating two encoding devices in parallel, the image is processed in the vertical direction. A method is disclosed in which encoding is performed while being synchronized with each encoding device.
 また、2013年に最新の動画像符号化規格であるH.265が規格化された。本規格では、新たに符号化を行う単位であるMBのサイズを複数から選択できる手法、画像を縦方向のタイルといわれる単位で符号化を行うことができる手法について開示されている。 In 2013, the latest video coding standard, H.265, was standardized. This standard discloses a technique that can select a plurality of MB sizes as a new encoding unit, and a technique that can encode an image in units called vertical tiles.
特開2013-165514号公報JP 2013-165514 A
 前記特許文献1では、画像を左画像と右画像の2つに分割し、符号化装置はそれぞれの画像を並列に処理するが、MBライン毎に左画像の終端MBの符号化終了後に、該MBの情報を右画像の符号化装置に転送し、転送終了後に右画像のMB符号化を開始するという直列の処理となるため、低遅延での画像の符号化については考慮されていない。 In Patent Document 1, an image is divided into a left image and a right image, and the encoding device processes each image in parallel. After encoding of the end MB of the left image for each MB line, the encoding device Since the MB information is transferred to the encoding device for the right image and the MB encoding of the right image is started after the transfer is completed, the encoding of the image with low delay is not taken into consideration.
 よって本発明は、上記課題に鑑み、画像を分割した場合においても低遅延での符号化を可能とすることを目的とする。 Therefore, in view of the above problems, the present invention has an object of enabling encoding with low delay even when an image is divided.
 上記課題を解決するために、例えば請求の範囲に記載の構成を採用する。本発明は上記課題を解決する手段を複数含んでいるが、その一例を挙げるならば、動画像符号化装置であって、入力された動画像を分割する分割部と、分割部で分割された動画像からIntra予測、Inter予測のいずれかの方式でマクロブロック処理順に符号化情報を作成する複数の符号化前処理部と、符号化前処理部が作成した符号化情報を格納するメモリ部と、メモリ部からマクロブロック順に読出した符号化情報から圧縮ストリームを生成する符号化部と、を有し、複数の符号化前処理部は、個々の符号化前処理部で保持している符号化情報を相互に参照することなく、それぞれ符号化情報を作成する構成とする。 In order to solve the above problems, for example, the configuration described in the claims is adopted. The present invention includes a plurality of means for solving the above-described problems. To give an example, the present invention is a video encoding device, which is a splitting unit that splits an input video and a splitting unit. A plurality of pre-encoding units that generate encoding information in the order of macroblock processing from a moving image by using either intra prediction or inter prediction; a memory unit that stores encoding information generated by the pre-encoding processing unit; An encoding unit that generates a compressed stream from encoding information read out from the memory unit in macroblock order, and a plurality of pre-encoding units are encoded by each pre-encoding unit The encoding information is created without referring to the information mutually.
 本発明によれば、複数の符号化装置を使用した並列動作においても、低遅延での符号化を実現することが出来る。 According to the present invention, it is possible to realize encoding with low delay even in a parallel operation using a plurality of encoding devices.
実施例1における動画像符号化装置のシステムの一例を示す構成図である。It is a block diagram which shows an example of the system of the moving image encoder in Example 1. 実施例1における動画像符号化装置のMB処理順序を説明する図である。It is a figure explaining the MB process order of the moving image encoder in Example 1. FIG. 実施例1における動画像符号化装置の画像の縦分割を説明する図である。It is a figure explaining the vertical division | segmentation of the image of the moving image encoder in Example 1. FIG. 実施例1における動画像符号化装置の画像の縦分割時のMB処理順序を説明する図である。FIG. 10 is a diagram for explaining an MB processing order when an image is vertically divided by a moving image encoding device according to Embodiment 1. 実施例1における動画像符号化装置のフレーム単位の動作タイミングチャートである。3 is an operation timing chart for each frame of the moving image encoding apparatus according to the first embodiment. 実施例1における動画像符号化装置の符号化前処理部の処理パイプラインの一例を示す図である。It is a figure which shows an example of the processing pipeline of the pre-encoding process part of the moving image encoder in Example 1. FIG. 実施例1における動画像符号化装置のIntra予測を説明する図である。It is a figure explaining the intra prediction of the moving image encoder in Example 1. FIG. 実施例1における動画像符号化装置のIntra予測に用いる参照画素を説明する図である。It is a figure explaining the reference pixel used for Intra prediction of the moving image encoder in Example 1. FIG. 実施例1における動画像符号化装置のIntra予測モードを説明する成図である。FIG. 3 is a diagram illustrating an intra prediction mode of the video encoding device in the first embodiment. 実施例1における動画像符号化装置の符号化前処理部を2つ用いた場合の処理パイプラインの一例を示す図である。It is a figure which shows an example of the processing pipeline at the time of using two encoding pre-processing parts of the moving image encoder in Example 1. FIG. 実施例2における1フレームの画像の符号化処理時間と原画像サイズにおける、原画像の入力レートと符号化装置の符号化レートの関係を示した図である。FIG. 10 is a diagram illustrating a relationship between an input rate of an original image and an encoding rate of an encoding device in an encoding process time and an original image size of an image of one frame in Example 2. 実施例4における動画像符号化装置のシステム構成図である。FIG. 10 is a system configuration diagram of a moving image encoding apparatus according to Embodiment 4. 実施例6におけるイントラリフレッシュを説明する模式図である。FIG. 10 is a schematic diagram illustrating intra refresh in the sixth embodiment. 実施例7における動画像復号化装置のシステム構成図である。FIG. 10 is a system configuration diagram of a video decoding device in Embodiment 7.
 以下、本発明の実施例について図面を用いて説明するが、本発明は必ずしもこれらの実施例に限定されるものではない。なお、実施例を説明する各図面において、同一の部材には同一の符号を付し、その繰り返しの説明は省略する。また、説明する符号化規格としてH.265を例として用いて説明するが、他の符号化規格であってもかまわない。 Hereinafter, examples of the present invention will be described with reference to the drawings, but the present invention is not necessarily limited to these examples. In the drawings for explaining the embodiments, the same symbols are attached to the same members, and the repeated explanation thereof is omitted. Further, although H.265 will be described as an example of an encoding standard to be described, other encoding standards may be used.
 図1は、本実施例の動画像符号化装置のシステムの一例を示す構成図である。図1に示すように、本実施例における動画像符号化装置は、入力される動画像を分割してメモリ部に保存する分割部0101と、分割された動画像を読み出し、符号化の前処理を実施して、符号化途中の符号化情報をメモリ部0104に格納する第1の符号化前処理部0102と、同構成を有した第2の符号化前処理部0103と、メモリ部から符号化情報を読み出しストリーム化してメモリに格納する符号化部0105と、ストリームを読み出し出力するストリーム出力部0106と、復号画像を読み出し、デブロックフィルタの処理を実施するデブロック部0107と、制御部0108から構成される。 FIG. 1 is a configuration diagram illustrating an example of a system of a moving image encoding apparatus according to the present embodiment. As shown in FIG. 1, the moving picture coding apparatus according to the present embodiment divides an input moving picture and stores it in a memory unit, reads the divided moving picture, and performs preprocessing for coding. The first pre-encoding processing unit 0102 for storing the encoding information in the middle of encoding in the memory unit 0104, the second pre-encoding processing unit 0103 having the same configuration, and the encoding from the memory unit An encoding unit 0105 that reads out the encoded information and stores it in the memory, a stream output unit 0106 that reads out and outputs the stream, a deblocking unit 0107 that reads out the decoded image and performs the deblocking filter process, and a control unit 0108 Consists of
 第1の符号化前処理部0102は、原画像をメモリから読み出す原画像読出部01022と、画面間予測(Inter)を行う為の参照画像を読み出す参照画像読出部01021、Inter予測のためのベクトルやブロックサイズ等を決定するInterモード決定部01023、画面内予測(Intra)の予測モードを決定するIntraモード決定部01024と、Intra予測とInter予測のいずれかのモードを決定し、Interモード時の予測誤差を作成する、また、 逆周波数変換後の復号画像を生成する予測誤差作成部01025と、Intra時の予測誤差作成と予測誤差について周波数変換と量子化を行う、また、量子化後のデータについて逆量子化と逆周波数変換を施す周波数変換量子化部01026と、メモリに保持する符号化情報を作成し、符号化情報をメモリに格納する符号化情報書き込み部01027から構成される。ここで符号化情報とは、MBのブロック毎のIntra予測、Intra予測を示す情報、Inter予測時には、ベクトル、ブロック分割情報、Intra予測時はIntra予測モード、ブック分割情報、量子化値、量子化後の画像情報、ローカルデコード画像などである。 The first encoding preprocessing unit 0102 includes an original image reading unit 0102 that reads an original image from a memory, a reference image reading unit 01021 that reads a reference image for performing inter-screen prediction (Inter), and a vector for Inter prediction. Inter mode determination unit 01023 for determining the block size and the like, Intra mode determination unit 01024 for determining the prediction mode of intra prediction (Intra), and determining one of the modes of Intra prediction and Inter prediction. Prediction error generation unit 01025 for generating prediction error and generating decoded image after inverse frequency conversion, Intra prediction error generation and prediction error frequency conversion and quantization, and quantized data Is composed of a frequency transform quantizing unit 01026 that performs inverse quantization and inverse frequency transform, and an encoded information writing unit 01027 that creates encoded information held in the memory and stores the encoded information in the memory. Here, the coding information is intra prediction for each block of MB, information indicating intra prediction, vector at inter prediction, block division information, intra prediction mode at intra prediction, book division information, quantization value, quantization The later image information, the locally decoded image, and the like.
 第2の符号化前処理部0103も第1の符号化前処理部と同様の構成とする。なお、本実施例ではこの符号化前処理部は2つの例で説明するが個数に限定はない。 The second pre-encoding processing unit 0103 has the same configuration as that of the first pre-encoding processing unit. In this embodiment, two examples of the pre-encoding processing unit will be described, but the number is not limited.
 制御部0108は、全体の動作制御やレート制御やMBサイズ決定を行う。 The control unit 0108 performs overall operation control, rate control, and MB size determination.
 次に、本実施例における動画像符号化装置の動作について説明する。図2A、2B、2CはMB単位の処理順序を説明するための図である。図2Aにおいて、動画像の符号化は、その動画像を構成する連続する、例えば1フレーム等の静止画0201である1画面毎に画面内をMB0202という矩形ブロックに分割して左上から右方向へのラスタスキャン0203の順に、周辺MBの情報を参照しながら符号化を行うことが一般的である。 Next, the operation of the moving picture coding apparatus in the present embodiment will be described. 2A, 2B, and 2C are diagrams for explaining the processing order in MB units. In FIG. 2A, encoding of a moving image is performed by dividing the screen into rectangular blocks called MB0202 for each continuous screen 0201 that constitutes the moving image, for example, a still image 0201 such as one frame, from the upper left to the right. In general, encoding is performed in the order of the raster scan 0203 with reference to information on neighboring MBs.
 本実施例では、図2Bに示すように、画面を縦方向に分割し、それぞれの画像を左画像0204、右画像0205に分けて、図2Cに示すように、それぞれの画像のMBをラスタスキャン順に、それぞれ0206、0207の順番で符号化を行う。しかし、この様に左右画像に分けて符号化を行う場合でも、右画像の左端のMBでは、左画像MBの情報を必要とする(0208)ため、単純に分割して符号化を行うことはできない。 In this embodiment, as shown in FIG. 2B, the screen is divided in the vertical direction, each image is divided into a left image 0204 and a right image 0205, and the MB of each image is raster scanned as shown in FIG. 2C. In order, encoding is performed in the order of 0206 and 0207, respectively. However, even when encoding is performed separately for the left and right images in this way, the leftmost MB of the right image requires the information of the left image MB (0208), so that encoding is simply performed by dividing the left image. Can not.
 この問題に対して、スライスと呼ばれるストリーム構成を用いて左右の画像を独立領域として扱う手法があるが、スライスを表現する付加情報が多いため、多くのスライスを用いることは符号化効率を損ねてしまう。 To deal with this problem, there is a method of handling left and right images as independent regions using a stream configuration called slices. However, since there is a lot of additional information that represents slices, using many slices impairs coding efficiency. End up.
 また、タイルと呼ばれる方法で独立領域に分割する手法もあるが、フレーム単位のストリーム先頭に、タイル分割の切れ目位置であるストリーム位置を格納する必要があり、低遅延を目的とした構成では位置が決定される前にストリームを出力するため、使用することは困難である。 There is also a method of dividing into independent areas by a method called tiles, but it is necessary to store the stream position, which is the break position of tile division, at the beginning of the stream in units of frames. It is difficult to use because it outputs a stream before it is determined.
 また、上記スライスやタイルを用いない手法として、特許文献1の手法があるが、前記したように符号化の際の遅延量が増えてしまい、低遅延での符号化には対応できない。 Further, as a method not using the slices and tiles, there is a method of Patent Document 1, but as described above, the amount of delay at the time of encoding increases, so that it cannot cope with encoding with low delay.
 これに対して、本実施例では、右画像と左画像の参照関係を断ち切ることで、左画像と右画像の並列処理を可能とし、遅延量の少ない符号化を実現する。 On the other hand, in this embodiment, by cutting off the reference relationship between the right image and the left image, the left image and the right image can be processed in parallel, and encoding with a small amount of delay is realized.
 以下、図1における各ブロックの詳細動作について具体的に説明する。入力される動画像はユーザにより指定された分割数に応じて分割部0101で画像の縦分割が行われメモリ部0104に格納される。入力画像は、ラスタスキャンで入力される場合や、分割画像領域毎に入力される場合があるが、それぞれにおいて縦分割した画像毎にメモリ部0104に格納する。なお、この分割数は、符号化する動画像の画像サイズやフレームレート、また、符号化前処理装置の処理パフォーマンスにより決定する。 Hereinafter, the detailed operation of each block in FIG. 1 will be specifically described. The input moving image is vertically divided by the dividing unit 0101 according to the number of divisions designated by the user and stored in the memory unit 0104. The input image may be input by raster scanning or may be input for each divided image area, but is stored in the memory unit 0104 for each vertically divided image. The number of divisions is determined by the image size and frame rate of the moving image to be encoded and the processing performance of the pre-encoding processing device.
 図3に本動画像符号化装置のフレーム単位の動作タイミングチャートの一例を示す。図3において、横軸は時間0301を表し、1区間がリアルタイム動画像符号化を行う際の1フレームである1枚の画像の必要処理時間0302を示している。本実施例は、低遅延でのリアルタイム符号化を想定しており、入力画像は分割部0101により左右画像別々にメモリ部に蓄えられる0303。第1の符号化前処理部の処理0304と第2の符号処理部の処理0305は、必要とされるMBの原画像が入力され次第処理を開始し、符号化情報を作成し符号化情報を一旦メモリに格納する。そして、符号化部の処理0306がこれを符号化MB順に即座に読み出しストリーム化を行う。 FIG. 3 shows an example of an operation timing chart for each frame of the moving image encoding apparatus. In FIG. 3, the horizontal axis represents time 0301, and one section shows the required processing time 0302 for one image, which is one frame when performing real-time video encoding. The present embodiment assumes real-time encoding with low delay, and the input image is stored in the memory unit by the dividing unit 0101 separately in the left and right images. The process 0304 of the first pre-encoding processing unit and the process 0305 of the second code processing unit start processing as soon as the required MB original image is input, generate encoding information, and generate encoding information. Once stored in memory. Then, the processing 0306 of the encoding unit immediately reads out the data in the order of the encoded MB and performs the stream conversion.
 次に符号化前処理部のMB処理動作について説明する。図4は、符号化前処理部の処理パイプラインの一例を示している。図4において、横軸は時間0401を示しており、その中の区間は1MBの処理に必要な時間0402を示している。各処理は、MBの処理順に0MB、1MB、2MBと順次パイプラインで処理を行う様子を示している。 Next, the MB processing operation of the pre-encoding processing unit will be described. FIG. 4 shows an example of a processing pipeline of the pre-encoding processing unit. In FIG. 4, the horizontal axis indicates time 0401, and the section in the horizontal axis indicates time 0402 necessary for processing 1 MB. Each process shows a state in which processing is sequentially performed in a pipeline of 0 MB, 1 MB, and 2 MB in the order of MB processing.
 原画読出し処理0403は、原画像読出部01022によるメモリ部0104からのMB毎の原画像を読み出す処理である。 The original image reading process 0403 is a process of reading an original image for each MB from the memory unit 0104 by the original image reading unit 01022.
 参照画像読出し処理0404は、参照画像読出部01021によるInter予測用の参照画像を読み出す処理を示しており、各処理開始前から先読みし、その後は処理MB順に必要データを順次読み出す処理である。 The reference image reading process 0404 indicates a process of reading a reference image for inter prediction by the reference image reading unit 01021. The reference image reading process 0404 is a process of pre-reading before starting each process and sequentially reading necessary data in the order of processing MB.
 Inter予測モード決定処理0405は、Interモード決定部01023において原画像と参照画像を用いて動き検出処理を行い動きベクトルとブロック分割サイズを決定する処理である。 Inter prediction mode determination processing 0405 is processing for determining a motion vector and a block division size by performing motion detection processing using an original image and a reference image in the Inter mode determination unit 01023.
 Intraモード決定処理0406は、Intraモード決定部01024において周辺の画素を参照画素としてIntra予測モード(参照方向)を決定する処理である。 The intra mode determination process 0406 is a process in which the intra mode determination unit 01024 determines an intra prediction mode (reference direction) using peripheral pixels as reference pixels.
 Intra予測は、画面内の画素のみを用いて符号化を行う手法であり、図5に示す様に符号化対象MB0701毎に、その大きさと同様か、またはそれより小さい矩形のIntra予測ブロック0702に分割して予測を行う。 Intra予測は、符号化対象ブロックに対して周辺のブロックの画素を参照画素として予測画像を作成する。参照画素の例を図6に示す。図6は、符号化対象ブロック0601をIntra予測する際に必要となる参照画素を示しており、符号化対象ブロックに対して、上のブロックやMBに属する画素0602、左上のブロックやMBに属する画素0603、左のブロックやMBに属する画素0604、 右上のブロックに属する画素0605を参照画素として、図7に示すような複数の方向から予測できるIntraモードの中から1つの予測モードを選択し、その方向の参照画素を用いて予測画像を作成する。ここで図7は、Intra予測ブロック内の画素において、その画素がどの方向の参照画像を参照するかの方向(モード)を示している。この際、参照画素は、復号処理が終わっていない画素については原画を利用し、復号処理が既に終わっている画素については、復号画を用いても原画を用いても良い。 Intra prediction is a method of performing encoding using only pixels in the screen. As shown in FIG. 5, for each MB0701 to be encoded, a rectangular Intra prediction block 0702 having the same size or smaller than that is used. Divide and make predictions. Intra prediction creates a prediction image using pixels of surrounding blocks as reference pixels with respect to the encoding target block. An example of the reference pixel is shown in FIG. FIG. 6 shows reference pixels necessary for intra prediction of the encoding target block 0601. For the encoding target block, the pixel 0602 belonging to the upper block or MB, the upper left block or MB, and the like. A pixel 0603, a pixel 0604 belonging to the left block or MB, and a pixel 0605 belonging to the upper right block are selected as reference pixels, and one prediction mode is selected from Intra modes that can be predicted from a plurality of directions as shown in FIG. A predicted image is created using reference pixels in that direction. Here, FIG. 7 shows the direction (mode) in which direction the reference image is referred to by the pixel in the intra prediction block. At this time, the reference pixel may use the original image for pixels that have not been decoded, and may use the decoded image or the original image for pixels that have already been decoded.
 この様なIntra予測において、本実施例では図5に示す右画像と左画像の分割境界0704の接するIntra予測モード制限ブロック0705では、その分割画像に属する参照画素のみを用いてIntra予測を行うように、Intra予測モードに制限を設ける。言い換えれば、異なる分割画面に属するブロックの復号画素を参照画素として用いないようにIntra予測モードに制限を設ける。すなわち、2つの符号化前処理部は、個々の符号化前処理部で保持している符号化情報を相互に参照することなく、それぞれ符号化情報を作成する。 In such intra prediction, in this embodiment, in the intra prediction mode restriction block 0705 where the right image and the left image dividing boundary 0704 shown in FIG. 5 are in contact, intra prediction is performed using only reference pixels belonging to the divided image. In addition, the intra prediction mode is limited. In other words, the intra prediction mode is limited so that the decoded pixels of blocks belonging to different divided screens are not used as reference pixels. That is, the two pre-encoding processing units respectively create encoding information without mutually referring to the encoding information held by the individual encoding pre-processing units.
 図5の左画像における右端のIntra予測ブロック(右上、右下ブロック)のIntra予測モードの制限について説明する。これらのIntra予測ブロックにおいては、図6の右上のブロックに属する画素0605については、右画像となるため情報を取得することができない。よって、それ以外の参照画素のみから予測できるIntra予測モードに制限する。 The limitation of the Intra prediction mode of the rightmost Intra prediction block (upper right and lower right blocks) in the left image of FIG. 5 will be described. In these intra prediction blocks, the pixel 0605 belonging to the upper right block in FIG. 6 is a right image, and thus information cannot be acquired. Therefore, the intra prediction mode that can be predicted only from other reference pixels is limited.
 次に、右画像における左端のIntra予測ブロックのIntra予測モード(左上、左下ブロック)の制限について説明する。これらのIntra予測ブロックにおいては、図6の左上のブロックに属する画素0603と、左のブロックに属する画素0604については、左画像となるため、上のブロックに属する画素0602と右上のブロックに属する画素0605のみを使って予測できるIntra予測モードに制限する。 Next, limitations on the intra prediction mode (upper left and lower left blocks) of the leftmost intra prediction block in the right image will be described. In these intra prediction blocks, the pixel 0603 belonging to the upper left block in FIG. 6 and the pixel 0604 belonging to the left block are left images, so the pixel 0602 belonging to the upper block and the pixel belonging to the upper right block The intra prediction mode that can be predicted using only 0605 is limited.
 この様にIntra予測モードに制限することにより、後述するIntra予測の予測画像作成処理において、Intra予測の予測画像を分割画像内の参照画素のみで作成することができ、左右画像間での符号化情報の参照を断ち切ることが可能となる。 By limiting to the intra prediction mode in this way, in the prediction image creation processing of intra prediction described later, a prediction image of intra prediction can be created only with reference pixels in the divided image, and encoding between the left and right images is performed. It becomes possible to cut off the reference of information.
 次に、図4のIntra/Inter判定、Inter予測画像作成処理0407は、予測誤差作成部01025において、InterモードとIntraモードのどちらかのモードを決定し、Interモードと決定した場合には、Interモードの予測画像を作成し、原画像との差をとった誤差画像を生成する処理である。 Next, the Intra / Inter determination / Inter prediction image creation processing 0407 in FIG. 4 determines whether the Inter error mode or the Intra mode is selected in the prediction error creation unit 01025. This is a process of creating a prediction image of a mode and generating an error image that takes a difference from the original image.
 Intra予測画像作成、周波数変換量子化、逆量子化逆周波数変換、復号画像作成処理0408は、予測誤差作成部01025、周波数変換量子化部01026において、Intra予測時には、Intraモード決定部01024で決定したIntra予測モードや周辺と自MBの参照画素から予測画像を生成し、原画像との差をとった予測残差の作成と、Intra/Inter両モード時の予測残差に対して周波数変換と量子化を行い、また、量子化データを逆量子化し逆周波数変換した予測誤差データを予測画像と加算して復号画像を生成する処理である。 Intra prediction image creation, frequency transform quantization, inverse quantization inverse frequency transform, and decoded image creation processing 0408 are determined by the intra mode determination unit 01024 at the time of intra prediction in the prediction error creation unit 01025 and the frequency transform quantization unit 01026. Generate a prediction image from the Intra prediction mode and surrounding and reference pixels of its own MB, create a prediction residual that takes the difference from the original image, and perform frequency conversion and quantum conversion on the prediction residual in both Intra / Inter modes In addition, prediction error data obtained by inverse quantization and inverse frequency conversion of quantized data is added to a prediction image to generate a decoded image.
 符号化情報書き込み処理0409は、符号化情報書き込み部01027において、符号化情報をメモリに書き込む処理である。 The encoded information writing process 0409 is a process in which the encoded information writing unit 01027 writes the encoded information into the memory.
 上記これらの処理をパイプラインで動作させることで、スループットとして1MB処理期間でのデータの出力を可能としている。 さ せ る By operating these processes in the pipeline, it is possible to output data in a 1MB processing period as throughput.
 次に、この符号化前処理部を2つ用いた図1の構成における処理パイプラインの一例について図8に示す。図8は、横軸に時間0501を示し、その中の1MBの処理に必要な期間を1MBの処理に必要な時間0502として示している。本構成では、2つの符号化前処理部の並列処理を用いてリアルタイム符号化を行うため、符号化前処理部の1MBの処理時間は多くとも1MBの処理に必要な時間0502の2倍以下の時間で処理する必要がある。また、符号化部は1MB期間での処理を終了させる必要がある。
  第1の符号化前処理と第2の符号化前処理は、それぞれ図4に示すパイプライン動作を行う。なお、図8における符号化前処理は、簡単のため図4における符号化情報書き込みの処理を行っているMB番号のみ記載している。
Next, FIG. 8 shows an example of a processing pipeline in the configuration of FIG. 1 using two pre-encoding processing units. FIG. 8 shows time 0501 on the horizontal axis, and the period required for processing 1 MB therein is shown as time 0502 required for processing 1 MB. In this configuration, since the real-time encoding is performed using the parallel processing of the two pre-coding processing units, the processing time of 1 MB of the pre-coding processing unit is at most twice less than the time 0502 required for the processing of 1 MB. Need to process in time. Also, the encoding unit needs to end the process in the 1 MB period.
The first pre-encoding process and the second pre-encoding process each perform the pipeline operation shown in FIG. For simplicity, the pre-encoding process in FIG. 8 shows only the MB number for which the encoded information writing process in FIG. 4 is performed.
 第1の符号化前処理0503は、第1の符号化前処理部0102において、図2Cの処理順番における左画像の処理順に従ってMB0の原画像データがメモリに格納され次第、符号化前処理を開始し、符号化情報をメモリ部に格納する。 In the first pre-encoding process 0503, as soon as the original image data of MB0 is stored in the memory in the first pre-encoding processing unit 0102 according to the processing order of the left image in the processing order of FIG. 2C, the pre-encoding process is performed. Start and store the encoded information in the memory unit.
 第2の符号化前処理0504も同様に、第2の符号化前処理部0103において、図2Cの処理順番における右画像の処理順に従ってMB4の原画像がメモリ部に格納され次第MB4の処理を開始し、MB毎に符号化情報を作成して、メモリ部に格納する。この際、前記Intra予測モードの制限を行っているため左画像の右端のMBの符号化が終了する前に、右画像の先頭のMBを処理することができる。 Similarly, in the second pre-encoding process 0504, the MB4 original image is stored in the memory unit in the second pre-encoding processing unit 0103 according to the processing order of the right image in the processing order of FIG. Start, create encoding information for each MB, and store in the memory unit. At this time, since the intra prediction mode is limited, the first MB of the right image can be processed before the encoding of the right end MB of the left image is completed.
 符号化処理0505は、符号化部0105において、第1の符号化前処理部0102と、第2の符号化前処理部0103によりメモリ部0104に格納された符号化情報を、MB符号化順に即座に読み出し、周囲MBの情報も加味してCABAC(Context-based Adaptive Binary Arithmetic Coding)やCAVLC(Context-adaptive variable-length coding)などの符号化手法によりストリーム化を行う。 In the encoding process 0505, the encoding unit 0105 immediately converts the encoding information stored in the memory unit 0104 by the first pre-encoding processing unit 0102 and the second pre-encoding processing unit 0103 in the MB encoding order. In addition, the data is streamed by an encoding method such as CABAC (Context-based Adaptive Binary Arithmetic Coding) or CAVLC (Context-adaptive variable-length coding) in consideration of surrounding MB information.
 MBライン毎のストリーム出力処理0506は、ストリーム出力部0106において、MBライン毎にストリームがメモリ部0104に格納され次第出力する。 The stream output process 0506 for each MB line is output by the stream output unit 0106 as soon as the stream is stored in the memory unit 0104 for each MB line.
 デブロック処理0507は、デブロック部0107において、左画像と右画像の復号画像が2MBライン分メモリ部に格納されてから、再度メモリ部から復号画像を読み出し、デブロックフィルタの処理を施し、次フレーム以降のInter予測の参照画像としてメモリに格納する。なお、デブロック処理を実施しない場合には、本ブロックの処理は必要ない。また、デブロック処理は、Inter予測を行うための参照画像の読出し時に、処理を施す構成としてもよい。 In the deblocking process 0507, after the decoded images of the left image and the right image are stored in the memory unit for 2 MB lines in the deblocking unit 0107, the decoded image is read again from the memory unit, and subjected to the deblocking filter process. Stored in memory as a reference image for inter prediction after the frame. If the deblocking process is not performed, the process of this block is not necessary. Further, the deblocking process may be configured to perform a process when reading a reference image for performing the Inter prediction.
 また、上記説明では、画像を縦に2分割した場合について説明したが、本実施例はこれに限定されるものではなく、例えば、4分割、6分割、8分割でも可能であり、縦2分割以上でもよい。また、横分割でもよく、また、縦分割と横分割の組み合わせでもよい。 In the above description, the case where the image is vertically divided has been described. However, the present embodiment is not limited to this, and can be divided into four, six, and eight, for example. That's all. Moreover, horizontal division may be sufficient and the combination of vertical division and horizontal division may be sufficient.
 本実施例ではこの様に、Intra予測モードの制限を行うことで、複数の符号化前処理部間の処理の依存性をたち、それぞれ独立に並列処理させることが可能となり、遅延の少ない符号化を実現できる。また、並列処理により高速処理を低減できるので、低消費電力、低コストを実現できる。 In this embodiment, by limiting the Intra prediction mode in this way, it is possible to achieve processing dependency between multiple pre-coding processing units, and to perform independent parallel processing, and encoding with low delay. Can be realized. In addition, since high-speed processing can be reduced by parallel processing, low power consumption and low cost can be realized.
 H.265規格ではMBのサイズを変更できる。よって、MBのサイズを決定して符号化を行う必要がある。このMBサイズは、大きさに応じて符号化を行う時間が異なるため、目標遅延量に応じて適切にサイズを決定する必要がある。 The MB size can be changed in the H.265 standard. Therefore, it is necessary to determine the MB size and perform encoding. The MB size needs to be appropriately determined according to the target delay amount because the encoding time differs depending on the size.
 図9は、1フレームの1枚の画像の符号化処理時間と原画像サイズにおける、原画像の入力レートと符号化装置の符号化レートの関係を示した図である。図9に示すようにMBサイズが大きいと原画像を多く入力してから符号化を開始する必要があるので、その原画像の入力に必要な入力時間によって符号化遅延量は変化する。 FIG. 9 is a diagram showing the relationship between the input rate of the original image and the encoding rate of the encoding device in the encoding processing time and the original image size of one image of one frame. As shown in FIG. 9, when the MB size is large, it is necessary to start encoding after inputting a large number of original images. Therefore, the amount of encoding delay varies depending on the input time required to input the original image.
 よって、図1における、制御部0108のMBサイズ決定処理は、動画像符号化においてMBのサイズを指定できる規格である場合には、目標遅延量と動画像のサイズとフレームレートと原画像の入力レートと実際に符号化を行う符号化装置の符号化レートと、原画像の入力時間とにより、MBのサイズを決定する。このサイズ決定により、所望の低遅延の符号化を実現できる。なお、このMBサイズ決定部は、符号化前処理部を並列に用いない場合にも適用が可能である。 Therefore, the MB size determination processing of the control unit 0108 in FIG. 1 is a standard that can specify the MB size in the moving image encoding, the target delay amount, the moving image size, the frame rate, and the input of the original image The MB size is determined based on the rate, the encoding rate of the encoding device that actually performs encoding, and the input time of the original image. By this size determination, desired low-delay encoding can be realized. Note that this MB size determination unit can also be applied when the pre-encoding processing unit is not used in parallel.
 本実施例によれば、MBサイズを選択できる符号化規格に対しても、適切なMBサイズを決定することができ、低遅延での符号化を実現することが出来る。 According to the present embodiment, an appropriate MB size can be determined even for an encoding standard in which the MB size can be selected, and encoding with low delay can be realized.
 本実施例における高画質化について説明する。実施例1では、Intra予測モードに制限を加えるため、そのブロックのみで予測効率が低下し、画像劣化が線の様に知覚されてしまうという問題が考えられる。 The following describes how to improve image quality in this embodiment. In the first embodiment, since the intra prediction mode is limited, there is a problem that prediction efficiency is reduced only by the block, and image degradation is perceived as a line.
 これに対して、本実施例では、実施例1での分割画像に属する参照画像のみで予測が行えるIntra予測モードに制限したIntra予測ブロックでは、他のブロックに比べて小さな量子化値とする。これにより、Intra予測モード制限ブロックでの画質を向上させることができ、劣化の線の知覚を防止することが出来る。 In contrast, in this embodiment, the intra prediction block limited to the intra prediction mode in which prediction can be performed only with the reference image belonging to the divided image in the first embodiment has a smaller quantization value than other blocks. As a result, the image quality in the Intra prediction mode restricted block can be improved, and the perception of the degradation line can be prevented.
 また、画像を縦分割する際に、MBライン毎に構成するMB個数を変え、また、フレーム毎にもこの数値を変更するようにしても良い。こうすることにより、フレーム毎に境界線を散らすことができ、境界の画質劣化を目立ちにくくすることが可能となる。また、MBライン毎にMBサイズを変えるようにしても、同様に、境界の画質劣化を目立ちにくくすることが可能となる。 Also, when the image is divided vertically, the number of MBs configured for each MB line may be changed, and this value may be changed for each frame. By doing so, the boundary line can be scattered for each frame, and the image quality degradation at the boundary can be made inconspicuous. Further, even if the MB size is changed for each MB line, similarly, it is possible to make the image quality deterioration at the boundary less noticeable.
 図10に本実施例の動画像符号化装置のシステム構成図を示す。図10は、図1の構成に加えて、複数の符号化前処理部を接続する接続部0901を有している。すなわち、本実施例では、符号化前処理部間でデータの転送を行える構成としている。これは、Intra予測画像作成処理において、周辺分割画像における復号画像生成処理が既に終了している参照画素については、符号化前処理部間で参照画像の送付を行うことを可能とするための構成である。 FIG. 10 shows a system configuration diagram of the moving picture encoding apparatus of the present embodiment. FIG. 10 includes a connection unit 0901 for connecting a plurality of pre-encoding units in addition to the configuration of FIG. That is, in this embodiment, the data can be transferred between the pre-encoding processing units. This is a configuration for enabling the reference image to be sent between the pre-encoding processing units for the reference pixels for which the decoded image generation processing in the peripheral divided image has already been completed in the intra predicted image generation processing. It is.
 例えば、図5に示すIntra予測モード制限ブロック0705において、左画像の右端に属するIntra予測ブロックであるIntra予測モード制限ブロック(右上ブロックと右下ブロック)は、右画像の左端のMB(左上ブロックと左下ブロック)の参照画素を用いる。図8に示す処理パイプラインでは、左画像の右端に位置するMB(例えばMB3)は、右画像の左端に属するMB(例えば4)の情報を必要とするが、MB3を処理する前に既にMB4の処理は終了しているため、このMB4の参照画素を利用してMB3のIntra予測行うことが可能である。よって、本実施例では、第2の符号化前処理部における復号画像を第1の符号化前処理部に転送することで、第1の符号化前処理部におけるIntra予測モードの限定を行う必要がなくなる。 For example, in the Intra prediction mode restriction block 0705 shown in FIG. 5, an Intra prediction mode restriction block (upper right block and lower right block) that is an Intra prediction block belonging to the right end of the left image is an MB (upper left block and The reference pixel in the lower left block) is used. In the processing pipeline shown in FIG. 8, the MB (eg, MB3) located at the right end of the left image requires information on the MB (eg, 4) belonging to the left end of the right image, but before processing MB3, MB4 has already been processed. Since the above process has been completed, it is possible to perform intra prediction of MB3 using the reference pixels of MB4. Therefore, in this embodiment, it is necessary to limit the intra prediction mode in the first pre-processing unit by transferring the decoded image in the second pre-processing unit to the first pre-processing unit. Disappears.
 また、右画像の左端のIntra予測ブロックにおいて、上のMBラインに接するIntra予測モード制限ブロック0705においては、上のMBラインの復号画像生成の処理は既に終了しているため、その復号画像を参照画像として使用することができる。すなわち、図8の処理パイプラインでは、例えばMBn+4のMB処理時には、MB3のMB処理は既に終了しているため、その画素を利用することができる。よって、この画素を第1の符号化前処理部から第2の符号化前処理部に転送することで、上MBに隣接するIntra予測ブロックにおいては、Intra予測のモードを図6の左上のブロックに属する画素0603も使用できることとなり、Intra予測のモードの制限を緩和することが可能となる。 Also, in the intra prediction block at the left end of the right image, in the intra prediction mode restriction block 0705 that is in contact with the upper MB line, the process of generating the decoded image of the upper MB line has already been completed. Can be used as an image. That is, in the processing pipeline of FIG. 8, for example, at the time of MBn + 4 MB processing, since the MB processing of MB3 has already been completed, the pixel can be used. Therefore, by transferring this pixel from the first pre-encoding processing unit to the second pre-encoding processing unit, the intra prediction mode is set to the upper left block in FIG. 6 in the intra prediction block adjacent to the upper MB. The pixel 0603 belonging to can also be used, and the restriction on the mode of intra prediction can be relaxed.
 本実施例により、Intra予測モードの制限を緩和でき高画質且つ低遅延な動画像符号化装置を提供することが可能となる。 According to the present embodiment, it is possible to provide a moving image encoding apparatus that can relax the restriction of the intra prediction mode and that has high image quality and low delay.
 なお、本実施例では、2つの符号化前処理部で相互に情報転送行う構成であるが、それぞれ片方のみの転送でもよい。 In this embodiment, the two pre-encoding processing units mutually transfer information, but only one of them may be transferred.
 また、実際のデータの転送は、符号化前処理部間での転送ではなく、メモリ部を介した転送でもよい。 In addition, the actual data transfer may be transfer via a memory unit instead of transfer between pre-encoding processing units.
 本実施例では、H.265で規格化されたタイルを用いて低遅延での符号化を行う手法について説明する。 In this embodiment, a technique for performing coding with low delay using tiles standardized by H.265 will be described.
 タイルは、図2Cに示す様に画像を縦方向に複数に分割でき、それぞれを独立に符号化することを可能とした手法である。この際のMBの処理順も図2Cに示す処理順番となる。但し、前記したように、ストリーム化する際には、フレームの先頭に左画像と右画像のストリームの切れ目位置を格納する必要があり、低遅延を目的としたMBラインでの符号化ストリームを出力する装置では、切れ目位置が決定する前にストリームを出力する必要が生じ、実現不可能である。 The tile is a technique that allows an image to be divided into a plurality of parts in the vertical direction as shown in FIG. 2C and that each can be encoded independently. The processing order of MBs at this time is also the processing order shown in FIG. 2C. However, as described above, when streaming, it is necessary to store the break position of the stream of the left image and the right image at the head of the frame, and an encoded stream on the MB line for the purpose of low delay is output. In such a device, it is necessary to output a stream before the break position is determined, which is not feasible.
 よって、タイルを用いる場合には、MBライン毎にスライスを形成する。そして、そのスライス内を複数のタイルに分割する手法とする。ここで、スライスとは、左右の画像を独立領域として扱うストリーム構成である。ストリーム作成においては、MBライン符号化中にストリームの切り目位置は決定するため、その情報を保持してストリーム出力前にメモリ部に保持されているストリームに付加する。または、予めダミーの値をストリーム化しておき、メモリ部に保持されているダミー値を、切れ目位置が確定し次第正しい値に書き換える手法により実現する。 Therefore, when tiles are used, a slice is formed for each MB line. Then, the slice is divided into a plurality of tiles. Here, the slice is a stream configuration that handles left and right images as independent areas. In stream creation, in order to determine the cut position of the stream during MB line encoding, the information is held and added to the stream held in the memory unit before the stream is output. Alternatively, a dummy value is streamed in advance, and the dummy value held in the memory unit is realized by a method of rewriting to a correct value as soon as the break position is determined.
 これにより、タイルを用いた場合でも低遅延の符号化を実現することが可能となる。 This makes it possible to realize low-delay encoding even when tiles are used.
 前記実施例1から5においては、画像を分割し複数の符号化装置を使用して並列処理する際の低遅延での符号化を実現する点について説明した。本実施例では、その際に適用した、分割画像に属する参照画素のみを用いてIntra予測を行うようにIntra予測モードに制限を設ける点を、他に応用した実施例について説明する。 In the first to fifth embodiments, description has been given of the point of realizing low-delay encoding when an image is divided and processed in parallel using a plurality of encoding devices. In the present embodiment, a description will be given of another applied embodiment in that the intra prediction mode is limited so that the intra prediction is performed using only the reference pixels belonging to the divided image applied at that time.
 図11は、低遅延エンコーダのおける、イントラMBを帯状にしてフレーム間で巡回させて行うイントラリフレッシュを説明する模式図である。図11において、イントラリフレッシュは、低遅延化のために符号量を一定とし、さらにエラー耐性のため、帯状にしたイントラMB0905をフレーム毎に位置をずらし、所定周期のリフレッシュ周期で一巡するように配置するものである。この帯状にしたイントラMB0905の領域を超えて予測画素を参照しないIntra予測とするように、実施例1から5で説明した、Intra予測モードに制限を設ける点を適用する。これにより、実施例1から5と同様に、低遅延化を図ることが可能となる。 FIG. 11 is a schematic diagram for explaining intra-refresh performed in a low-delay encoder by circulating an intra MB in a band shape and circulating between frames. In FIG. 11, the intra refresh is arranged so that the code amount is constant for delay reduction, and the banded intra MB0905 is shifted for each frame to make a round with a predetermined refresh cycle for error tolerance. To do. The point of limiting the Intra prediction mode described in the first to fifth embodiments is applied so that intra prediction that does not refer to the prediction pixel beyond the banded intra MB0905 region is performed. As a result, the delay can be reduced as in the first to fifth embodiments.
 本実施例では、実施例1から6における動画像符号化装置で作成したストリームを復号する際の動画像復号化装置の構成について示す。図12に示す動画像復号化装置は、ストリームを入力するストリーム入力部1201と、ストリームを復号して、復号化情報をメモリ部1206に保持する復号部1202、その復号化情報から分割領域の表示画像を生成する第1の復号化後処理部1203と第2の復号化後処理部1204、 最終的な復号画像を生成する表示画像読出し部1205、復号化情報や表示画像を保持するメモリ部1206、全体の制御を行う制御部1207から構成される。 In the present embodiment, the configuration of the moving picture decoding apparatus when decoding the stream created by the moving picture encoding apparatus in the first to sixth embodiments will be described. The moving picture decoding apparatus shown in FIG. 12 includes a stream input unit 1201 that inputs a stream, a decoding unit 1202 that decodes the stream and stores the decoding information in the memory unit 1206, and displays a segmented area based on the decoding information. A first post-decoding processing unit 1203 and a second post-decoding processing unit 1204 that generate an image, a display image reading unit 1205 that generates a final decoded image, and a memory unit 1206 that stores decoding information and a display image The control unit 1207 performs overall control.
 復号化後処理部は、復号部1202がメモリ部1206に格納した復号化情報を読み出す復号化情報読出し部12031、復号画素を逆量子化、逆周波数変換を行う逆量子化逆周波数変換部12032、intra予測の復号化を行い予測画像を生成するintraモード復号部12033、inter予測復号のための参照画像を読み出す参照画読出部12034、 inter予測の予測画像を生成するinterモード復号部12035、inter予測かintra予測の予測画像と逆量子化逆周波数変換部が作成した誤差画像を加算して表示画像を生成する表示画像生成部12036からなる。 The post-decoding processing unit includes a decoding information reading unit 12031 that reads decoding information stored in the memory unit 1206 by the decoding unit 1202, an inverse quantization inverse frequency conversion unit 12032 that performs inverse quantization and inverse frequency conversion on the decoded pixels, Intra mode decoding unit 12033 that decodes intra prediction and generates a prediction image, reference image reading unit 12034 that reads a reference image for inter prediction decoding, inter mode decoding unit 12035 that generates a prediction image for inter prediction, inter prediction The display image generation unit 12036 generates a display image by adding the prediction image of intra prediction and the error image generated by the inverse quantization inverse frequency conversion unit.
 実施例1から6で記載している動画像符号化装置では、Intra予測は分割画像において独立に処理が可能となるモードを選択しているため、復号化の復号化後処理においても動画像符号化装置の符号化前処理部と同様の画像分割にして、並列に処理する事が可能となる。なお、上記説明では、画像を縦に2分割した場合について説明したが、本実施例はこれに限定されるものではなく、前述したように、動画像符号化装置側は、4分割、6分割、8分割でも可能であり、縦2分割以上でもよく、また、横分割でもよく、また、縦分割と横分割の組み合わせでもよいので、その動画像符号化装置に合わせて、本実施例の動画像復号化装置も分割を対応させても良い。 In the video encoding device described in the first to sixth embodiments, since intra prediction selects a mode that allows independent processing in a divided image, the video code is also used in post-decoding processing of decoding. It is possible to perform image processing in parallel by using the same image division as that of the pre-encoding processing unit of the encoding device. In the above description, the case where the image is vertically divided has been described. However, the present embodiment is not limited to this, and as described above, the moving image encoding apparatus side is divided into four and six. 8 divisions, vertical divisions of 2 or more, horizontal divisions, and combinations of vertical divisions and horizontal divisions may be used. The image decoding apparatus may also correspond to the division.
 以上のように、本実施例の構成とする事で、動画像復号化装置においても並列処理が可能となり、低遅延の復号化が実現できる。 As described above, by adopting the configuration of the present embodiment, parallel processing is possible even in a video decoding device, and low-delay decoding can be realized.
 本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 The present invention is not limited to the above-described embodiments, and includes various modifications. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.
 また、上記の各構成、処理部等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、処理部等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することによるソフトウェアで実現してもよい。 In addition, each of the above-described configurations, processing units, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Further, each of the above-described configurations, processing units, and the like may be realized by software obtained by the processor interpreting and executing a program that realizes each function.
0101…分割部、0102…第1の符号化前処理部、0103…第2の符号化前処理部、0104…メモリ部、0105…符号化部、0106…ストリーム出力部、0107…デブロック部、0108…制御部、0202…MB、0203…ラスタスキャン、0204…左画像、0205…右画像、0705…Intra予測モード制限ブロック、0901…接続部、0905…イントラMB、1203…第1の復号化後処理部、
1204…第2の復号化後処理部
0101: Dividing unit, 0102 ... First encoding preprocessing unit, 0103 ... Second encoding preprocessing unit, 0104 ... Memory unit, 0105 ... Encoding unit, 0106 ... Stream output unit, 0107 ... Deblocking unit, 0108 ... Control unit, 0202 ... MB, 0203 ... Raster scan, 0204 ... Left image, 0205 ... Right image, 0705 ... Intra prediction mode restriction block, 0901 ... Connection unit, 0905 ... Intra MB, 1203 ... After first decoding Processing section,
1204 ... Second decryption post-processing section

Claims (12)

  1. 入力された動画像を分割する分割部と、
    前記分割部で分割された動画像からIntra予測、Inter予測のいずれかの方式でマクロブロック処理順に符号化情報を作成する複数の符号化前処理部と、
    前記符号化前処理部が作成した符号化情報を格納するメモリ部と、
    前記メモリ部から前記マクロブロック順に読出した符号化情報から圧縮ストリームを生成する符号化部と、を有し、
    前記複数の符号化前処理部は、個々の符号化前処理部で保持している符号化情報を相互に参照することなく、それぞれ符号化情報を作成することを特徴とする動画像符号化装置。
    A dividing unit for dividing the input moving image;
    A plurality of pre-encoding units that generate encoding information in the order of macroblock processing by using either intra prediction or inter prediction from the video divided by the dividing unit;
    A memory unit for storing encoding information created by the pre-encoding processing unit;
    An encoding unit that generates a compressed stream from the encoding information read from the memory unit in the macroblock order, and
    The plurality of pre-encoding processing units create encoding information without referring to the encoding information held by the individual encoding pre-processing units, respectively. .
  2. 請求項1に記載の動画像符号化装置であって、
    前記分割部は、前記動画像を構成する1画面を縦方向に分割する
    ことを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    The moving image encoding apparatus, wherein the dividing unit divides one screen constituting the moving image in a vertical direction.
  3. 請求項1に記載の動画像符号化装置であって、
    前記符号化前処理部で決定するIntra予測モードは、そのIntra予測ブロックが属する符号化前処理部の復号画素のみで予測できるIntra予測モードとする
    ことを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    An intra prediction mode determined by the pre-encoding processing unit is an intra prediction mode that can be predicted only by a decoded pixel of a pre-encoding processing unit to which the intra prediction block belongs.
  4. 請求項1に記載の動画像符号化装置であって、
    前記符号化前処理部は復号画像を生成し前記メモリ部に格納し、
    前記メモリ部から前記復号画像を取得してデブロックフィルタの処理を実施し前記メモリ部に格納するデブロック部を有する
    ことを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    The pre-encoding processing unit generates a decoded image and stores it in the memory unit,
    A moving picture coding apparatus comprising: a deblocking unit that acquires the decoded image from the memory unit, performs a deblocking filter process, and stores the deblocking filter in the memory unit.
  5. 請求項1に記載の動画像符号化装置であって、
    前記マクロブロックのサイズを複数のサイズから選択して符号化を行う場合に、
    目標とする符号化遅延量と、符号化を行う前記動画像のサイズとフレームレートと、符号化を行う処理時間と、前記入力される動画像の入力時間により前記マクロブロックのサイズを決定することを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    When encoding by selecting the size of the macroblock from a plurality of sizes,
    The size of the macroblock is determined based on a target encoding delay amount, the size and frame rate of the moving image to be encoded, the processing time for encoding, and the input time of the input moving image. A video encoding apparatus characterized by the above.
  6. 請求項1に記載の動画像符号化装置であって、
    前記分割部は、前記動画像を構成する1画面を縦方向に分割し、1マクロブロックライン毎に構成するMB個数を変える
    ことを特徴とする動画像符号化装置
    The moving image encoding device according to claim 1,
    The division unit divides one screen constituting the moving image in the vertical direction, and changes the number of MBs formed for each macroblock line.
  7. 請求項1に記載の動画像符号化装置であって、
    前記符号化前処理部で決定するIntra予測モードは、そのIntra予測ブロックが属する符号化前処理部の復号画素のみで予測できるIntra予測モードとしたIntra予測ブロックの量子化値を、他ブロックより小さな値とする
    ことを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    The Intra prediction mode determined by the pre-encoding processing unit is smaller than the other blocks in the quantized value of the Intra prediction block that is the intra prediction mode that can be predicted only by the decoded pixels of the pre-encoding processing unit to which the intra prediction block belongs. A moving picture coding apparatus characterized by having a value.
  8. 請求項1に記載の動画像符号化装置であって、
    前記符号化前処理部間でのデータの転送を行い、
    前記分割された左画像の右端に属するIntra予測ブロックにおいて、右上のブロックに属する参照画像を参照可能なIntra予測モードとすることを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    Transfer data between the pre-encoding processing unit,
    An Intra prediction mode in which an Intra prediction block belonging to the right end of the divided left image is set to an Intra prediction mode in which a reference image belonging to an upper right block can be referred to.
  9. 請求項1に記載の動画像符号化装置であって、
    前記符号化前処理部間でのデータの転送を行い、
    前記分割された右画像の左端に属し、且つ上マクロブロックラインに接するIntra予測ブロックにおいて、左上のブロックに属する参照画像を参照可能なIntra予測モードとすることを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    Transfer data between the pre-encoding processing unit,
    An Intra prediction mode in which an Intra prediction block belonging to the left end of the divided right image and in contact with an upper macroblock line is set to an Intra prediction mode in which a reference image belonging to an upper left block can be referred to.
  10. 請求項1に記載の動画像符号化装置であって、
    各マクロブロックライン毎にスライスを形成し、その内部に複数のタイルに分割して符号化を行うことを特徴とする動画像符号化装置。
    The moving image encoding device according to claim 1,
    A moving picture coding apparatus characterized in that a slice is formed for each macroblock line and coding is performed by dividing the slice into a plurality of tiles.
  11. 入力動画像を構成する連続する画面内を分割し、それぞれの分割画面に対して符号化対象マクロブロック毎に、その大きさ以下のブロックに分割した符号化対象ブロックに対して周辺のブロックの復号画素を参照画素として予測画像を作成しIntra予測符号化を行うIntra予測符号化方法であって、
    前記それぞれの分割画面に属する符号化対象ブロックの参照画素として異なる分割画面に属するブロックの復号画素を参照画素として用いないように制限したIntra予測モードを有することを特徴とするIntra予測符号化方法。
    Dividing the continuous screens that make up the input video, and decoding the surrounding blocks for the encoding target block divided into blocks of the size or less for each encoding target macroblock for each divided screen An intra prediction encoding method that creates a prediction image using a pixel as a reference pixel and performs intra prediction encoding,
    An Intra prediction encoding method characterized by having an Intra prediction mode in which a decoded pixel of a block belonging to a different divided screen is not used as a reference pixel as a reference pixel of an encoding target block belonging to each of the divided screens.
  12. 動画像ストリームを復号する動画像復号化装置であって、
    入力された動画像ストリームを復号し、マクロブロック順の復号情報をメモリ部に格納する復号化部と、
    前記復号化部が作成した復号化情報を格納するメモリ部と、
    前記メモリ部から読出した復号化情報からIntra予測、Inter予測のいずれかの方式でマクロブロック処理順に表示画像を作成する複数の復号化後処理部と、を有し、
    前記複数の復号化後処理部は、個々の復号化後処理部で保持している復号化情報を相互に参照することなく、それぞれの表示画像を作成することを特徴とする動画像復号化装置。
    A video decoding device for decoding a video stream,
    A decoding unit that decodes the input video stream and stores decoding information in macroblock order in the memory unit;
    A memory unit for storing the decryption information created by the decryption unit;
    A plurality of post-decoding processing units that create display images in the order of macroblock processing by using either intra prediction or inter prediction from the decoding information read from the memory unit;
    The plurality of post-decoding processing units create respective display images without mutually referring to the decoding information held by the individual decoding post-processing units. .
PCT/JP2015/057155 2015-03-11 2015-03-11 Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device WO2016143093A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/057155 WO2016143093A1 (en) 2015-03-11 2015-03-11 Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/057155 WO2016143093A1 (en) 2015-03-11 2015-03-11 Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device

Publications (1)

Publication Number Publication Date
WO2016143093A1 true WO2016143093A1 (en) 2016-09-15

Family

ID=56878589

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/057155 WO2016143093A1 (en) 2015-03-11 2015-03-11 Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device

Country Status (1)

Country Link
WO (1) WO2016143093A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009063554A1 (en) * 2007-11-13 2009-05-22 Fujitsu Limited Encoder and decoder
WO2009142021A1 (en) * 2008-05-23 2009-11-26 パナソニック株式会社 Image decoding device, image decoding method, image encoding device, and image encoding method
JP2009302896A (en) * 2008-06-13 2009-12-24 Panasonic Corp Image encoder and image encoding method
JP2011223357A (en) * 2010-04-09 2011-11-04 Sony Corp Image processing apparatus and method
JP2012175424A (en) * 2011-02-22 2012-09-10 Panasonic Corp Encoding processing apparatus and encoding processing method
JP2013098734A (en) * 2011-10-31 2013-05-20 Fujitsu Ltd Moving image decoder, moving image encoder, moving image decoding method, and moving image encoding method
JP2014011726A (en) * 2012-07-02 2014-01-20 Canon Inc Image encoder, image encoding method and program, image decoder, and image decoding method and program
JP2014060604A (en) * 2012-09-18 2014-04-03 Canon Inc Video encoder and video encoding method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009063554A1 (en) * 2007-11-13 2009-05-22 Fujitsu Limited Encoder and decoder
WO2009142021A1 (en) * 2008-05-23 2009-11-26 パナソニック株式会社 Image decoding device, image decoding method, image encoding device, and image encoding method
JP2009302896A (en) * 2008-06-13 2009-12-24 Panasonic Corp Image encoder and image encoding method
JP2011223357A (en) * 2010-04-09 2011-11-04 Sony Corp Image processing apparatus and method
JP2012175424A (en) * 2011-02-22 2012-09-10 Panasonic Corp Encoding processing apparatus and encoding processing method
JP2013098734A (en) * 2011-10-31 2013-05-20 Fujitsu Ltd Moving image decoder, moving image encoder, moving image decoding method, and moving image encoding method
JP2014011726A (en) * 2012-07-02 2014-01-20 Canon Inc Image encoder, image encoding method and program, image decoder, and image decoding method and program
JP2014060604A (en) * 2012-09-18 2014-04-03 Canon Inc Video encoder and video encoding method

Similar Documents

Publication Publication Date Title
RU2765234C1 (en) Method for internal prediction and the encoder and decoder using it
KR102462009B1 (en) Method for image encoding and computer readable redording meduim thereof
KR102292592B1 (en) Method and apparatus for decoding image
KR102076398B1 (en) Method and apparatus for vector encoding in video coding and decoding
US8855209B2 (en) Apparatus for decoding motion information in merge mode
JP2018110425A (en) Low-delay buffering model in video coding
JP7343669B2 (en) Method and apparatus for color conversion in VVC
KR20220085836A (en) Video coding method and device
KR101895294B1 (en) A decoding method using prescaning and an appratus using it
JP7403245B2 (en) Image decoding device, image decoding method
WO2016004880A1 (en) Method and apparatus for performing wave-front parallel encoding procedure with constraint on one or both of coding mode and quantization parameter selection
JP2018125882A (en) Image encoding device, image encoding method and program, image decoding device, and image decoding method and program
WO2020184263A1 (en) Image decoding device, image decoding method, and program
WO2016143093A1 (en) Moving image encoding device and intra-prediction encoding method used by such device, and moving image decoding device
RU2785364C1 (en) Method for cyclic motion compensation with oversampling of the reference image
US12113996B2 (en) Arrangement of adaptive loop filter coefficients for fast vectorized transpositions
KR102667983B1 (en) Image encoding device, image decoding device, image encoding method, image decoding method
JP2013098735A (en) Image encoder, image encoding method and program, image decoder, and image decoding method and program
TWI833620B (en) Image encoding device, image encoding method, image decoding device and image decoding method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15884584

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15884584

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP