WO2014156705A1 - Decoding device and decoding method, and encoding device and encoding method - Google Patents

Decoding device and decoding method, and encoding device and encoding method Download PDF

Info

Publication number
WO2014156705A1
WO2014156705A1 PCT/JP2014/056828 JP2014056828W WO2014156705A1 WO 2014156705 A1 WO2014156705 A1 WO 2014156705A1 JP 2014056828 W JP2014056828 W JP 2014056828W WO 2014156705 A1 WO2014156705 A1 WO 2014156705A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
intra prediction
image
mode
encoding
Prior art date
Application number
PCT/JP2014/056828
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 ソニー株式会社
Publication of WO2014156705A1 publication Critical patent/WO2014156705A1/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/46Embedding additional information in the video signal during the compression process
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/30Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
    • 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 disclosure relates to a decoding apparatus and a decoding method, and an encoding apparatus and an encoding method, and in particular, a decoding apparatus and a decoding method that can share an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
  • the present invention also relates to an encoding apparatus and an encoding method.
  • MPEG compressed by orthogonal transform such as discrete cosine transform and motion compensation is used for the purpose of efficient transmission and storage of information.
  • a device compliant with a method such as Moving (Pictures Experts Group) phase) is becoming popular in both information distribution at broadcast stations and information reception in general households.
  • the MPEG2 (ISO / IEC 13818-2) system is defined as a general-purpose image encoding system, and is a standard that covers both interlaced and progressively scanned images, standard resolution images, and high-definition images. Widely used in a wide range of applications for consumer and consumer applications.
  • a standard resolution interlaced scanning image having 720 ⁇ 480 pixels is 4 to 8 Mbps
  • a high resolution interlaced scanning image having 1920 ⁇ 1088 pixels is 18 to 22 MBps.
  • MPEG2 was mainly intended for high-quality encoding suitable for broadcasting, but it did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate. With the widespread use of mobile terminals, the need for such an encoding system is expected to increase in the future, and the MPEG4 encoding system has been standardized accordingly. Regarding the MPEG4 image coding system, the standard was approved as an international standard in December 1998 as ISO / IEC 449 14496-2.
  • H. Standardization to achieve higher coding efficiency by incorporating functions that are not supported by 26L was done as Joint Model of Enhanced-Compression Video Coding. This standardization was implemented in March 2003 by H.C. It was internationally standardized under the names of H.264 and MPEG-4® Part 10 (AVC (Advanced Video Coding)).
  • ITUHEVC High Efficiency Video Coding
  • JCTVC Joint Collaboration Team Coding
  • FIG. 1 is a diagram for explaining an HEVC intra prediction mode.
  • the intra prediction mode of the AVC method for each prediction block size, there are nine modes including a mode indicating eight directions and a direct current (DC) mode as a reference pixel direction with respect to the target pixel. is there.
  • the size of the prediction block of the color difference signal is 16 ⁇ 16 pixels, and the intra prediction mode of the color difference signal can be defined independently of the luminance signal.
  • the HEVC intra prediction modes include a mode indicating 32 directions as a reference pixel direction with respect to a target pixel and 33 types of modes including a direct current mode.
  • the HEVC method since the HEVC method has more types of intra prediction modes than the AVC method, the prediction accuracy is improved.
  • the HEVC intra prediction mode includes the Planer mode in addition to the 33 modes shown in FIG.
  • the Planer mode each pixel in the prediction block is set as a target pixel, and among the already encoded pixels adjacent to the prediction block, pixels in the same row and column as the target pixel, and pixels in the upper right and lower left of the prediction block are used. This mode is used to generate predicted pixels by bi-linear interpolation.
  • the prediction pixel of the pixel 2 is the adjacent pixel 3 in the same row as the pixel 2.
  • the adjacent pixel 4 in the same column, and the upper right adjacent pixel 5 and the lower left adjacent pixel 6 of the prediction block 1 are generated.
  • the prediction pixel of the pixel 7 is the same row as the pixel 7.
  • Planar mode intra prediction can improve the coding efficiency of images with gradation.
  • FIG. 3 is a diagram for explaining a transmission method in the intra prediction mode in the HEVC scheme.
  • the intra prediction mode is predictively encoded and transmitted. Specifically, as illustrated in FIG. 3, first, the intra prediction modes of the prediction block 12 above the processing target prediction block 11 and the left prediction block 13 are set as intra prediction mode candidates MostProbableMode. Further, an intra prediction mode (Planar mode in the example of FIG. 3) determined by a combination of the intra prediction modes of the prediction block 12 and the prediction block 13 is set as a candidate MostProbableMode.
  • an index that identifies the candidate MostProbableMode is transmitted as information indicating the intra prediction mode.
  • 5-bit fixed-length information indicating the intra prediction mode is transmitted as information indicating the intra prediction mode.
  • an intra prediction mode different from the actual intra prediction mode is set as the candidate MostProbableMode as one of the intra prediction modes.
  • image encoding methods such as MPEG-2 and AVC have a scalable function for encoding images by layering them. According to the scalable function, it is possible to transmit encoded data according to the processing capability on the decoding side without performing transcoding processing.
  • a coded stream of an image of a base layer (base layer) that is a base layer can be transmitted to a terminal with low processing capability such as a mobile phone.
  • a terminal with low processing capability such as a mobile phone.
  • an encoded stream of an image of a base layer and an enhancement layer (enhancement layer) that is a layer other than the base layer may be transmitted to a terminal having high processing capability such as a television receiver or a personal computer. it can.
  • HEVC version1 also has a scalable function (hereinafter referred to as temporal scalability) that encodes images by layering them at the frame rate.
  • temporal scalability a scalable function that encodes images by layering them at the frame rate.
  • the accuracy of the intra prediction mode of the base layer may be better than the intra prediction mode of the enhancement layer, there is a high possibility that the intra prediction mode of the enhancement layer is the same as the intra prediction mode of the base layer.
  • Non-Patent Document 1 it is necessary to compare the candidate MostProbableMode including the intra prediction mode of the base layer with the intra prediction mode in all prediction blocks at the time of encoding, and the processing amount (computation amount) increases. .
  • the present disclosure has been made in view of such a situation, and makes it possible to share an intra prediction mode of an image having a hierarchical structure with a small processing amount.
  • a decoding device receives a mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer. And the second layer image based on the mode information received by the receiving unit using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image. It is a decoding apparatus provided with the intra prediction part which performs intra prediction of this.
  • the decoding method according to the first aspect of the present disclosure corresponds to the decoding device according to the first aspect of the present disclosure.
  • mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer is received and received. Based on the mode information, the intra prediction mode of the second layer image is performed using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image.
  • the encoding device uses an intra prediction mode of an image of a first layer of an image having a hierarchical structure as an intra prediction mode of an image of a second layer.
  • An intra prediction unit that performs intra prediction of an image; a setting unit that sets mode information indicating that an intra prediction mode of an image of the first layer is used as an intra prediction mode of an image of the second layer; and the setting A transmission unit that transmits the mode information set by the unit.
  • the encoding method according to the second aspect of the present disclosure corresponds to the encoding device according to the second aspect of the present disclosure.
  • an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer, and the image of the second layer Intra prediction is performed, and mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image is set and transmitted.
  • the decoding device according to the first aspect and the encoding device according to the second aspect can be realized by causing a computer to execute a program.
  • a program to be executed by a computer is transmitted through a transmission medium or recorded on a recording medium, Can be provided.
  • the decoding device of the first aspect and the encoding device of the second aspect may be independent devices or may be internal blocks constituting one device.
  • FIG. 1 It is a block diagram which shows the structural example of one Embodiment of the decoding apparatus to which this indication is applied. It is a block diagram which shows the structural example of the enhancement decoding part of FIG. It is a block diagram which shows the structural example of the decoding part of FIG. It is a block diagram which shows the structural example of the intra estimation part of FIG. It is a flowchart explaining the hierarchical decoding process of the decoding apparatus of FIG. It is a flowchart explaining the detail of the enhancement decoding process of FIG. It is a flowchart explaining the detail of the intra prediction process of FIG. It is a figure which shows the example of a multiview image encoding system. It is a figure which shows the other example of encoding by a Scalable function.
  • FIG. 4 is a diagram for explaining spatial scalability.
  • spatial scalability is a scalable function that stratifies and encodes images with spatial resolution. Specifically, in spatial scalability, a low resolution image is encoded as a base layer image, and a difference image between the high resolution image and the low resolution image is encoded as an enhancement layer image.
  • the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low-resolution image. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images. High-resolution images can be generated.
  • FIG. 5 is a diagram for explaining temporal scalability.
  • temporal scalability is a scalable function that encodes images by layering them at the frame rate.
  • an image with a low frame rate (7.5 fps in the example of FIG. 5) is encoded as a base layer image.
  • a difference image between the image at the medium frame rate (15 fps in the example of FIG. 5) and the image at the low frame rate is encoded as an enhancement layer image.
  • the difference image between the image at the high frame rate (30 fps in the example of FIG. 5) and the image at the medium frame rate is encoded as an enhancement layer image.
  • the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low frame rate image. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images. High frame rate or medium frame rate images can be generated.
  • FIG. 6 is a diagram illustrating SNR scalability.
  • SNRabilityscalability is a scalable function that encodes an image layered with SNR (signal-noise ratio). Specifically, in SNR scalability, a low SNR image is encoded as a base layer image, and a difference image between a high SNR image and a low SNR image is encoded as an enhancement layer image.
  • the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low SNR image, that is, a low quality image. it can. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images.
  • a high SNR image that is, a high-quality image can be generated.
  • bit-depth scalability for layering and encoding an image by the number of bits.
  • an 8-bit video image is used as a base layer image
  • a difference between a 10-bit video image and an 8-bit video image is used as an enhancement layer image and encoded.
  • the YUV420 image is set as the base layer image
  • the difference image between the YUV422 image and the YUV420 image is set as the enhancement layer image and encoded.
  • FIG. 7 is a block diagram illustrating a configuration example of an embodiment of an encoding device to which the present disclosure is applied.
  • the 7 includes a base encoding unit 31, an enhancement encoding unit 32, a combining unit 33, and a transmission unit 34, and encodes an image using a scalable function in accordance with a scheme equivalent to the HEVC scheme.
  • a base layer image (hereinafter referred to as a base image) is input to the base encoding unit 31 of the encoding device 30 from the outside.
  • the base encoding unit 31 is configured in the same manner as a conventional HEVC encoding device, and encodes a base image using the HEVC method.
  • the base encoding unit 31 supplies an encoded stream including encoded data obtained as a result of encoding, SPS (Sequence Parameter Set), PPS (Picture Parameter Set), and the like to the synthesis unit 33 as a base stream. Further, the base encoding unit 31 supplies the intra prediction mode of the base image to the enhancement encoding unit 32.
  • the enhancement coding unit 32 receives an enhancement layer image (hereinafter referred to as an enhancement image) from the outside.
  • the enhancement encoding unit 32 encodes the enhancement image by a method according to the HEVC method.
  • the enhancement encoding unit 32 refers to the intra prediction mode from the base encoding unit 31 and performs an intra prediction process.
  • the enhancement encoding unit 32 supplies an encoded stream including encoded data obtained as a result of encoding, SPS, PPS, and the like to the synthesizing unit 33 as an enhancement stream.
  • the synthesizing unit 33 synthesizes the base stream supplied from the base encoding unit 31 and the enhancement stream supplied from the enhancement encoding unit 32 to generate an encoded stream of all layers.
  • the synthesis unit 33 supplies the encoded stream of all layers to the transmission unit 34.
  • the transmission unit 34 transmits the encoded stream of all layers supplied from the synthesis unit 33 to a decoding device to be described later.
  • the encoding apparatus 30 shall transmit the encoding stream of all the layers here, it can also transmit only a base stream as needed.
  • FIG. 8 is a block diagram illustrating a configuration example of the enhancement encoding unit 32 of FIG.
  • the enhancement encoding unit 32 in FIG. 8 includes a setting unit 51 and an encoding unit 52.
  • the setting unit 51 of the enhancement encoding unit 32 sets parameter sets such as SPS, PPS, and VPS (Video Parameter Set) as necessary.
  • the setting unit 51 supplies the set parameter set to the encoding unit 52.
  • the encoding unit 52 uses an enhancement image for each frame input from the outside as an input signal.
  • the encoding unit 52 refers to the intra prediction mode from the base encoding unit 31 and encodes the input signal by a method according to the HEVC method.
  • the encoding unit 52 generates an enhancement stream from the encoded data obtained as a result and the parameter set supplied from the setting unit 51, and supplies the enhancement stream to the synthesis unit 33 in FIG.
  • FIG. 9 is a block diagram illustrating a configuration example of the encoding unit 52 of FIG.
  • a / D conversion unit 71 includes an A / D conversion unit 71, a screen rearrangement buffer 72, a calculation unit 73, an orthogonal transformation unit 74, a quantization unit 75, a lossless encoding unit 76, an accumulation buffer 77, a generation unit 78, Inverse quantization unit 79, inverse orthogonal transform unit 80, addition unit 81, deblock filter 82, adaptive offset filter 83, adaptive loop filter 84, frame memory 85, switch 86, intra prediction unit 87, motion prediction / compensation unit 88, The prediction image selection unit 89, the rate control unit 90, and the mode buffer 91 are configured.
  • the A / D conversion unit 71 of the encoding unit 52 performs A / D conversion on the enhancement image in units of frames input as an input signal, and outputs to the screen rearrangement buffer 72 for storage.
  • the screen rearrangement buffer 72 rearranges the stored frame-by-frame enhancement images in the order for encoding according to the GOP structure, the arithmetic unit 73, the intra prediction unit 87, and the motion prediction / compensation. To the unit 88.
  • the calculation unit 73 performs encoding by calculating the difference between the predicted image supplied from the predicted image selection unit 89 and the encoding target image (enhancement image) output from the screen rearrangement buffer 72. Specifically, the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 89 from the encoding target image output from the screen rearrangement buffer 72. The computing unit 73 outputs the resulting image to the orthogonal transform unit 74 as residual information. When the predicted image is not supplied from the predicted image selection unit 89, the calculation unit 73 outputs the image read from the screen rearrangement buffer 72 as it is to the orthogonal transform unit 74 as residual information.
  • the orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 by a predetermined method, and supplies the generated orthogonal transform coefficient to the quantization unit 75.
  • the quantization unit 75 performs quantization on the orthogonal transform coefficient supplied from the orthogonal transform unit 74 and supplies the resulting coefficient to the lossless encoding unit 76.
  • the lossless encoding unit 76 acquires the intra prediction mode information and the skip mode flag from the intra prediction unit 87.
  • the intra prediction mode information is information indicating the optimal intra prediction mode when the intra prediction mode (hereinafter referred to as the normal mode) other than the intra prediction mode of the base image (hereinafter referred to as the base mode) is the optimal intra prediction mode.
  • the skip mode flag is a flag indicating whether or not the base mode is used as the enhancement image intra prediction mode.
  • the lossless encoding unit 76 acquires inter prediction mode information indicating an optimal inter prediction mode, a motion vector, reference image specifying information for specifying a reference image, and the like from the motion prediction / compensation unit 88. Further, the lossless encoding unit 76 acquires offset information from the adaptive offset filter 83 and acquires filter coefficients from the adaptive loop filter 84.
  • the lossless encoding unit 76 performs variable length coding (for example, CAVLC (Context-Adaptive Variable Length Coding)), arithmetic coding (for example, CABAC) on the quantized coefficients supplied from the quantization unit 75. (Context-Adaptive Binary Arithmetic Coding) etc.) is performed.
  • variable length coding for example, CAVLC (Context-Adaptive Variable Length Coding)
  • CABAC arithmetic coding
  • CABAC Context-Adaptive Binary Arithmetic Coding
  • the lossless encoding unit 76 uses the intra prediction mode information and the skip mode flag, or the inter prediction mode information, the motion vector, the reference image specifying information, the offset, and the filter coefficient as encoding information related to encoding. Turn into.
  • the lossless encoding unit 76 supplies the encoded information and the lossless encoded coefficient to the storage buffer 77 as encoded data and stores them. Note that the losslessly encoded information may be added to the encoded data as a header portion.
  • the accumulation buffer 77 temporarily stores the encoded data supplied from the lossless encoding unit 76. Further, the accumulation buffer 77 supplies the stored encoded data to the generation unit 78.
  • the generating unit 78 generates an encoded stream from the parameter set supplied from the setting unit 51 in FIG. 8 and the encoded data supplied from the accumulation buffer 77, and supplies the encoded stream to the synthesizing unit 33 in FIG.
  • the quantized coefficient output from the quantization unit 75 is also input to the inverse quantization unit 79.
  • the inverse quantization unit 79 performs inverse quantization on the coefficient quantized by the quantization unit 75 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 80.
  • the inverse orthogonal transform unit 80 performs the fourth-order inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 by a method corresponding to the orthogonal transform method in the orthogonal transform unit 74, and is obtained as a result. Residual information is supplied to the adder 81.
  • the addition unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the prediction image supplied from the prediction image selection unit 89 to obtain a locally decoded image.
  • the adding unit 81 sets the residual information supplied from the inverse orthogonal transform unit 80 as a locally decoded image.
  • the adder 81 supplies the locally decoded image to the deblock filter 82 and also supplies the image to the frame memory 85 for accumulation.
  • the deblocking filter 82 performs a deblocking filter process for removing block distortion on the locally decoded image supplied from the adding unit 81, and supplies the resulting image to the adaptive offset filter 83.
  • the adaptive offset filter 83 performs an adaptive offset filter (SAO (Sample adaptive offset)) process that mainly removes ringing on the image after the deblocking filter process supplied from the deblocking filter 82.
  • SAO Sample adaptive offset
  • the adaptive offset filter 83 determines the type of adaptive offset filter processing for each LCU (Largest Coding Unit) which is the maximum coding unit, and obtains an offset used in the adaptive offset filter processing.
  • the adaptive offset filter 83 performs the determined type of adaptive offset filter processing on the image after the deblocking filter processing, using the obtained offset. Then, the adaptive offset filter 83 supplies the image after the adaptive offset filter processing to the adaptive loop filter 84.
  • the adaptive offset filter 83 supplies the type and offset of the adaptive offset process to the lossless encoding unit 76 as offset information.
  • the adaptive loop filter 84 is constituted by, for example, a two-dimensional Wiener filter.
  • the adaptive loop filter 84 performs an adaptive loop filter (ALF (Adaptive Loop Filter)) process for each LCU, for example, on the image after the adaptive offset filter process supplied from the adaptive offset filter 83.
  • ALF Adaptive Loop Filter
  • the adaptive loop filter 84 is adapted so that the residual of the original image that is the image output from the screen rearrangement buffer 72 and the image after the adaptive loop filter processing is minimized for each LCU. A filter coefficient used in the processing is calculated. Then, the adaptive loop filter 84 performs adaptive loop filter processing for each LCU, using the calculated filter coefficient, on the image after the adaptive offset filter processing.
  • the adaptive loop filter 84 supplies the image after the adaptive loop filter processing to the frame memory 85.
  • the adaptive loop filter 84 supplies the filter coefficient to the lossless encoding unit 76.
  • the adaptive loop filter processing is performed for each LCU, but the processing unit of the adaptive loop filter processing is not limited to the LCU. However, the processing can be efficiently performed by combining the processing units of the adaptive offset filter 83 and the adaptive loop filter 84.
  • the frame memory 85 stores the image supplied from the adaptive loop filter 84 and the image supplied from the adder 81.
  • the image stored in the frame memory 85 is output as a reference image to the intra prediction unit 87 or the motion prediction / compensation unit 88 via the switch 86.
  • the intra prediction unit 87 uses the reference image read from the frame memory 85 via the switch 86 to perform intra prediction in all candidate intra prediction modes. Also, the intra prediction unit 87 determines the candidate MostProbableMode as in the conventional case, and reads the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 91. In addition, collocated means that the position on the screen corresponds.
  • the intra prediction unit 87 generates information indicating each intra prediction mode based on each intra prediction mode, candidate MostProbableMode, and the read base mode.
  • the intra prediction unit 87 also selects all the intra prediction modes that are candidates based on the image read from the screen rearrangement buffer 72, the prediction image generated as a result of the intra prediction, information indicating the intra prediction mode, and the like. Cost function value (details will be described later). Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode.
  • the intra prediction unit 87 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89.
  • the intra prediction unit 87 supplies the intra prediction mode information and the skip mode flag to the lossless encoding unit 76 as necessary when the prediction image selection unit 89 is notified of the selection of the prediction image generated in the optimal intra prediction mode. To do.
  • the cost function value is also called RD (Rate Distortion) cost. It is calculated based on a method of either High Complexity mode or Low Complexity mode as defined by JM (Joint Model) which is reference software in the H.264 / AVC format. H. Reference software in the H.264 / AVC format is published at http://iphome.hhi.de/suehring/tml/index.htm.
  • D is the difference (distortion) between the original image and the decoded image
  • R is the generated code amount including even the coefficient of orthogonal transformation
  • is the Lagrange undetermined multiplier given as a function of the quantization parameter QP.
  • D is the difference (distortion) between the original image and the predicted image
  • Header_Bit is the code amount of the encoding information
  • QPtoQuant is a function given as a function of the quantization parameter QP.
  • the motion prediction / compensation unit 88 performs motion prediction / compensation processing for all candidate inter prediction modes. Specifically, the motion prediction / compensation unit 88 selects all the inter prediction modes that are candidates based on the image supplied from the screen rearrangement buffer 72 and the reference image read from the frame memory 85 via the switch 86. The motion vector is detected. The motion prediction / compensation unit 88 performs compensation processing on the reference image based on the detected motion vector, and generates a predicted image.
  • the motion prediction / compensation unit 88 calculates the cost function value for all candidate inter prediction modes based on the image and the predicted image supplied from the screen rearrangement buffer 72, and the cost function value. Is determined to be the optimal inter prediction mode. Then, the motion prediction / compensation unit 88 supplies the cost function value of the optimal inter prediction mode and the corresponding predicted image to the predicted image selection unit 89. In addition, when the prediction image selection unit 89 is notified of selection of a prediction image generated in the optimal inter prediction mode, the motion prediction / compensation unit 88 receives inter prediction mode information, a corresponding motion vector, reference image specifying information, and the like. It outputs to the lossless encoding part 76.
  • the predicted image selection unit 89 Based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 88, the predicted image selection unit 89 has a smaller corresponding cost function value among the optimal intra prediction mode and the optimal inter prediction mode. Are determined as the optimum prediction mode. Then, the predicted image selection unit 89 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81. Further, the predicted image selection unit 89 notifies the intra prediction unit 87 or the motion prediction / compensation unit 88 of selection of the predicted image in the optimal prediction mode.
  • the rate control unit 90 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
  • the mode buffer 91 stores the base mode supplied from the base encoding unit 31 in FIG.
  • FIG. 10 is a block diagram illustrating a configuration example of the intra prediction unit 87 in FIG. 9.
  • a generation unit 111 includes a prediction unit 112, a calculation unit 113, a determination unit 114, and a buffer 115.
  • the generation unit 111 of the intra prediction unit 87 reads the intra prediction mode of the prediction block adjacent on the left and above the processing target prediction block from the buffer 115.
  • the generation unit 111 generates three candidate MostProbableModes based on the read intra prediction mode, and supplies them to the prediction unit 112.
  • the prediction unit 112 includes a normal prediction unit 121 and a skip prediction unit 122, and reads the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 91 in FIG.
  • the normal prediction unit 121 of the prediction unit 112 uses the reference image read out from the frame memory 85 of FIG. 9 via the switch 86 to perform intra prediction of normal modes other than the base mode among candidate intra prediction modes. I do.
  • the normal prediction unit 121 generates information indicating the normal mode using the candidate MostProbableMode supplied from the generation unit 111 for each normal mode. Specifically, the normal prediction unit 121 compares the normal mode with the candidate MostProbableMode, and if the normal mode is the same as one of the candidate MostProbableModes, generates an index that identifies the candidate MostProbableMode as information indicating the normal mode. . On the other hand, when the normal mode is different from any of the candidate MostProbableModes, the normal prediction unit 121 generates 5-bit fixed-length information indicating the normal mode.
  • the normal prediction unit 121 supplies the prediction image generated by the intra prediction and information indicating the normal mode to the calculation unit 113.
  • the skip prediction unit 122 performs base mode intra prediction (Intra Skip Mode prediction) using the reference image read from the frame memory 85 via the switch 86.
  • the skip prediction unit 122 supplies the prediction image generated by the intra prediction to the calculation unit 113.
  • the calculation unit 113 functions as a setting unit and, as a skip mode flag of the prediction image supplied from the normal prediction unit 121, 0 indicating that the base mode is not used as the intra prediction mode of the enhancement image is CU that is a coding unit. Set in units of (Coding Unit). In addition, the calculation unit 113 sets 1 representing that the base mode is used as the intra prediction mode of the enhancement image for each CU as the skip mode flag of the prediction image supplied from the skip prediction unit 122.
  • the calculation unit 113 calculates the cost function of the normal mode. Calculate the value.
  • the calculation unit 113 supplies the calculated cost function value, predicted image, information indicating the normal mode, and the skip mode flag to the determination unit 114.
  • the calculation unit 113 calculates the cost function value of the base mode based on the predicted image supplied from the skip prediction unit 122, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72.
  • the calculation unit 113 supplies the calculated cost function value, predicted image, and skip mode flag to the determination unit 114.
  • the determination unit 114 selects, as the optimal intra prediction mode, the base mode or the normal mode in which the cost function value is minimum for each CU based on the cost function value supplied from the calculation unit 113.
  • the determination unit 114 compares the sum of the cost function values in the CU unit in the base mode with the sum of the cost function values in the CU unit in the normal mode in which the cost function value is the smallest, and determines the smaller sum as the optimal intra Select as prediction mode. Then, the determination unit 114 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89 in FIG.
  • the determination unit 114 supplies the skip mode flag to the lossless encoding unit 76.
  • the determination unit 114 supplies information indicating the normal mode to the lossless encoding unit 76 as intra prediction mode information.
  • FIG. 11 is a diagram for explaining a prediction block of an enhancement image to be processed and a prediction block of a collocated base image.
  • the prediction block 141 of the enhancement image to be processed and the prediction block 142 of the collocated base image include the pixel 142 ⁇ / b> A of the base image whose position on the screen corresponds to the center pixel 141 ⁇ / b> A of the prediction block 141. It is a prediction block.
  • the prediction block 142 is a prediction block including a base image pixel 142B whose position on the screen corresponds to the pixel 141B in the upper left of the prediction block 141.
  • the base mode is not read from the mode buffer 91 when the prediction block of the enhancement image and the prediction block of the collocated base image do not exist because they are outside the image frame. Accordingly, the skip prediction unit 122 does not perform intra prediction, and the skip mode flag becomes 0.
  • the skip prediction unit 122 may perform intra prediction using the base mode of the prediction block of the collocated base image as the DC mode. For example, when there is no predicted block of the collocated base image of some prediction blocks in the CU of the enhancement image, the skip prediction unit 122 can perform intra prediction with the base mode of the prediction block as the DC mode.
  • FIG. 12 is a diagram for explaining Coding UNIT (CU), which is a coding unit in the HEVC scheme.
  • CU is defined as a coding unit.
  • the CU is also called Coding Tree Block (CTB) and plays the same role as a macroblock in the AVC method.
  • CTB Coding Tree Block
  • the CU is divided into Prediction Unit (PU) that is a unit of intra prediction or inter prediction, or is divided into Transform Unit (TU) that is a unit of orthogonal transformation.
  • PU Prediction Unit
  • TU Transform Unit
  • the size of the CU is a square represented by a power-of-two pixel that is variable for each sequence.
  • the size of the LCU that is the maximum size CU is 128, and the size of the SCU (Smallest® Coding Unit) that is the minimum size CU is 8. Therefore, the layer depth (depth) of a 2N ⁇ 2N size CU layered for each N is 0 to 4, and the number of layer depths is 5. Further, when the value of split_flag is 1, the 2N ⁇ 2N size CU is divided into N ⁇ N size CUs, which are one layer below.
  • Non-Patent Document 1 Information specifying the LCU and SCU sizes is included in the SPS. Details of the CU are described in Non-Patent Document 1.
  • FIG. 13 and FIG. 14 are diagrams illustrating an example of syntax of encoded data of CU units of enhancement images.
  • the skip mode flag ( intra_skip_mode_flag). As shown in the 23rd to 35th lines, when the skip mode flag is 0, intra prediction mode information is described.
  • FIG. 15 is a flowchart illustrating the hierarchical encoding process of the encoding device 30 in FIG.
  • the base encoding part 31 of the encoding apparatus 30 encodes the base image input from the outside by a HEVC system, and produces
  • step S12 the base encoding unit 31 supplies the intra prediction mode of the base image to the enhancement encoding unit 32.
  • step S13 the setting unit 51 (FIG. 8) of the enhancement encoding unit 32 sets a parameter set for the enhancement image.
  • step S14 the encoding unit 52 performs enhancement encoding processing for encoding an enhancement image input from the outside. Details of the enhancement encoding process will be described with reference to FIGS. 16 and 17 described later.
  • step S15 the generation unit 78 (FIG. 9) of the encoding unit 52 generates an enhancement stream from the encoded data generated in step S14 and the parameter set supplied from the setting unit 51.
  • step S16 the synthesizing unit 33 synthesizes the base stream supplied from the base encoding unit 31 and the enhancement stream supplied from the enhancement encoding unit 32 to generate an encoded stream of all layers.
  • the synthesis unit 33 supplies the encoded stream of all layers to the transmission unit 34.
  • step S17 the transmission unit 34 transmits the encoded stream of all layers supplied from the synthesis unit 33 to a decoding device to be described later.
  • FIGS. 16 and 17 are flowcharts illustrating details of the enhancement encoding process in step S14 of FIG.
  • the A / D conversion unit 71 of the encoding unit 52 performs A / D conversion on the enhancement image in units of frames input as an input signal, and outputs and stores the enhancement image in the screen rearrangement buffer 72.
  • step S32 the screen rearrangement buffer 72 rearranges the enhancement images of the frames in the stored display order in the order for encoding according to the GOP structure.
  • the screen rearrangement buffer 72 supplies the frame-based enhancement image after the rearrangement to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 88.
  • step S33 the intra prediction unit 87 performs intra prediction processing for all candidate intra prediction modes. The details of this intra prediction process will be described with reference to FIG.
  • the motion prediction / compensation unit 88 performs motion prediction / compensation processing for all candidate inter prediction modes.
  • the motion prediction / compensation unit 88 calculates cost function values for all candidate inter prediction modes based on the enhancement image and the prediction image supplied from the screen rearrangement buffer 72, and the cost function value. Is determined to be the optimal inter prediction mode. Then, the motion prediction / compensation unit 88 supplies the cost function value of the optimal inter prediction mode and the corresponding predicted image to the predicted image selection unit 89.
  • step S34 the prediction image selection unit 89 selects the optimal intra prediction mode or the optimal inter prediction mode based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 88 by the process of step S33. The one with the smallest cost function value is determined as the optimum prediction mode. Then, the predicted image selection unit 89 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81.
  • step S35 the predicted image selection unit 89 determines whether or not the optimal prediction mode is the optimal inter prediction mode. When it is determined in step S35 that the optimal prediction mode is the optimal inter prediction mode, the predicted image selection unit 89 notifies the motion prediction / compensation unit 88 of selection of the predicted image generated in the optimal inter prediction mode.
  • step S36 the motion prediction / compensation unit 88 supplies the inter prediction mode information, the motion vector, and the reference image specifying information to the lossless encoding unit 76, and the process proceeds to step S38.
  • step S35 when it is determined in step S35 that the optimal prediction mode is not the optimal inter prediction mode, that is, when the optimal prediction mode is the optimal intra prediction mode, the prediction image selection unit 89 performs prediction generated in the optimal intra prediction mode.
  • the intra prediction unit 87 is notified of image selection.
  • step S37 the determination unit 114 (FIG. 10) of the intra prediction unit 87 supplies the intra prediction mode information and the skip mode flag or only the skip mode flag to the lossless encoding unit 76.
  • the determination unit 114 supplies intra prediction mode information and 0 as a skip mode flag when the optimal intra prediction mode is the normal mode, and supplies only 1 as a skip mode flag when the optimal intra prediction mode is the base mode. . Further, the determination unit 114 supplies the optimal intra prediction mode to the buffer 115 and stores it. Then, the process proceeds to step S38.
  • step S38 the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 89 from the enhancement image supplied from the screen rearrangement buffer 72.
  • the computing unit 73 outputs the resulting image to the orthogonal transform unit 74 as residual information.
  • step S39 the orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 and supplies the resulting orthogonal transform coefficient to the quantization unit 75.
  • step S40 the quantization unit 75 quantizes the coefficient supplied from the orthogonal transform unit 74, and supplies the coefficient obtained as a result to the lossless encoding unit 76 and the inverse quantization unit 79.
  • the inverse quantization unit 79 inversely quantizes the quantized coefficient supplied from the quantization unit 75, and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 80.
  • step S42 the inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79, and supplies the residual information obtained as a result to the addition unit 81.
  • step S43 the adding unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the predicted image supplied from the predicted image selecting unit 89, and obtains a locally decoded image.
  • the adder 81 supplies the obtained image to the deblock filter 82 and also supplies it to the frame memory 85.
  • step S44 the deblocking filter 82 performs a deblocking filtering process on the locally decoded image supplied from the adding unit 81.
  • the deblocking filter 82 supplies the resulting image to the adaptive offset filter 83.
  • step S45 the adaptive offset filter 83 performs adaptive offset filter processing on the image after the deblocking filter processing by the deblocking filter 82. Then, the adaptive offset filter 83 supplies the image after the adaptive offset filter processing to the adaptive loop filter 84. The adaptive offset filter 83 supplies the type and offset of the adaptive offset process to the lossless encoding unit 76 as offset information.
  • step S46 the adaptive loop filter 84 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 83.
  • the adaptive loop filter 84 supplies the resulting image to the frame memory 85.
  • the adaptive loop filter 84 also supplies the filter coefficient used in the adaptive loop filter process to the lossless encoding unit 76.
  • step S47 the frame memory 85 stores the image supplied from the adaptive loop filter 84 and the image supplied from the adder 81.
  • the image stored in the frame memory 85 is output as a reference image to the intra prediction unit 87 or the motion prediction / compensation unit 88 via the switch 86.
  • step S48 the lossless encoding unit 76 uses the intra prediction mode information and the skip mode flag, or the inter prediction mode information, the motion vector, the reference image specifying information, the offset information, and the filter coefficient as encoding information. Turn into.
  • step S49 the lossless encoding unit 76 losslessly encodes the quantized coefficient supplied from the quantization unit 75. Then, the lossless encoding unit 76 generates encoded data from the encoding information that has been losslessly encoded in the process of step S 48 and the losslessly encoded coefficient, and supplies the encoded data to the accumulation buffer 77.
  • step S50 the accumulation buffer 77 temporarily accumulates the encoded data supplied from the lossless encoding unit 76.
  • step S51 the rate control unit 90 controls the quantization operation rate of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
  • step S52 the accumulation buffer 77 outputs the stored encoded data to the generation unit 78. And a process returns to step S14 of FIG. 15, and progresses to step S15.
  • the intra prediction processing and the motion prediction / compensation processing are always performed, but in actuality, either one of them depends on the picture type or the like. Sometimes only.
  • FIG. 18 is a flowchart for explaining the details of the intra prediction process in step S33 of FIG.
  • generation part 111 (FIG. 10) of the intra estimation part 87 reads the intra prediction mode of the prediction block adjacent to the prediction block of a process target from the buffer 115 on the left.
  • the generation unit 111 generates three candidate MostProbableModes based on the read intra prediction mode, and supplies them to the prediction unit 112.
  • step S73 the prediction unit 112 reads the base block of the processing target prediction block and the collocated base image from the mode buffer 91 of FIG.
  • step S74 the normal prediction unit 121 performs intra prediction in a normal mode other than the base mode among the candidate intra prediction modes, using the reference image read from the frame memory 85 via the switch 86.
  • step S75 the normal prediction unit 121 generates information indicating the normal mode using the candidate MostProbableMode supplied from the generation unit 111 for each normal mode.
  • the normal prediction unit 121 supplies the prediction image generated by the intra prediction and information indicating the normal mode to the calculation unit 113.
  • step S76 the skip prediction unit 122 performs base mode intra prediction using the reference image read from the frame memory 85 via the switch 86.
  • the skip prediction unit 122 supplies the prediction image generated by the intra prediction to the calculation unit 113.
  • step S77 the skip prediction unit 122 sets a skip mode flag of the predicted image. Specifically, the skip prediction unit 122 sets the skip mode flag of the prediction image supplied from the normal prediction unit 121 to 0, and sets the skip mode flag of the prediction image supplied from the skip prediction unit 122 to 1. .
  • step S ⁇ b> 78 the calculation unit 113 calculates the normal based on the information indicating the normal mode and the predicted image supplied from the normal prediction unit 121, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72. Calculate the cost function value of the mode.
  • the calculation unit 113 supplies the calculated cost function value, predicted image, information indicating the normal mode, and the skip mode flag to the determination unit 114.
  • the calculation unit 113 calculates the cost function value of the base mode based on the predicted image supplied from the skip prediction unit 122, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72.
  • the calculation unit 113 supplies the calculated cost function value, predicted image, and skip mode flag to the determination unit 114.
  • step S79 based on the cost function value supplied from the calculation unit 113, the determination unit 114 determines a base mode or a normal mode that minimizes the cost function value as the optimal intra prediction mode for each CU.
  • the determination unit 114 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89 in FIG.
  • the encoding device 30 sets the intra skip mode to 1 when performing the intra prediction of the enhancement image using the base mode as the intra prediction mode of the enhancement image.
  • the intra prediction mode of a base image and an enhancement image can be shared.
  • the intra prediction modes of the base image and the enhancement image are not transmitted redundantly, and the coding efficiency is improved.
  • the amount of processing (calculation amount) for comparing the intra prediction mode and the candidate MostProbableMode does not increase when generating the intra prediction mode information. Therefore, it can be said that the intra prediction mode of the base image and the enhancement image can be shared with a small amount of processing.
  • the encoding device 30 transmits a skip mode flag in units of CUs.
  • the base mode is one of the candidate MostProbableModes
  • FIG. 19 is a block diagram illustrating a configuration example of an embodiment of a decoding device to which the present disclosure is applied, which decodes an encoded stream of all layers transmitted from the encoding device 30 of FIG.
  • 19 includes a receiving unit 161, a separating unit 162, a base decoding unit 163, and an enhancement decoding unit 164.
  • the receiving unit 161 receives the encoded stream of all layers transmitted from the encoding device 30 in FIG. 7 and supplies it to the separating unit 162.
  • the separating unit 162 separates the base stream from the encoded streams of all layers supplied from the receiving unit 161 and supplies the base stream to the base decoding unit 163, and separates the enhancement stream and supplies the enhancement stream to the enhancement decoding unit 164.
  • the base decoding unit 163 is configured in the same manner as a conventional HEVC decoding device, decodes the base stream supplied from the separation unit 162 using the HEVC method, and generates a base image.
  • the base decoding unit 163 supplies the base mode to the enhancement decoding unit 164 and outputs the generated base image.
  • the enhancement decoding unit 164 decodes the enhancement stream supplied from the demultiplexing unit 162 by a method according to the HEVC method, and generates an enhancement image. At this time, the enhancement decoding unit 164 refers to the base mode supplied from the base decoding unit 163. The enhancement decoding unit 164 outputs the generated enhancement image.
  • FIG. 20 is a block diagram illustrating a configuration example of the enhancement decoding unit 164 of FIG.
  • the enhancement decoding unit 164 in FIG. 20 includes an extraction unit 181 and a decoding unit 182.
  • the extraction unit 181 of the enhancement decoding unit 164 extracts a parameter set and encoded data from the enhancement stream supplied from the separation unit 162 in FIG. 19 and supplies the extracted parameter set and encoded data to the decoding unit 182.
  • the decoding unit 182 refers to the base mode supplied from the base decoding unit 163 in FIG. 19, and decodes the encoded data supplied from the extraction unit 181 by a method according to the HEVC method. At this time, the decoding unit 182 refers to the parameter set supplied from the extraction unit 181 as necessary. The decoding unit 182 outputs an image obtained as a result of decoding as an enhancement image.
  • FIG. 21 is a block diagram illustrating a configuration example of the decoding unit 182 of FIG.
  • 21 includes an accumulation buffer 201, a lossless decoding unit 202, an inverse quantization unit 203, an inverse orthogonal transform unit 204, an addition unit 205, a deblock filter 206, an adaptive offset filter 207, an adaptive loop filter 208, a screen arrangement, and the like. It comprises a replacement buffer 209, a D / A conversion unit 210, a frame memory 211, a switch 212, an intra prediction unit 213, a motion compensation unit 214, a switch 215, and a mode buffer 216.
  • the accumulation buffer 201 of the decoding unit 182 receives and accumulates encoded data from the extraction unit 181 of FIG.
  • the accumulation buffer 201 supplies the accumulated encoded data to the lossless decoding unit 202.
  • the lossless decoding unit 202 performs lossless decoding such as variable length decoding and arithmetic decoding corresponding to the lossless encoding of the lossless encoding unit 76 of FIG. 9 on the encoded data from the accumulation buffer 201, Obtain quantized coefficients and encoding information.
  • the lossless decoding unit 202 supplies the quantized coefficient to the inverse quantization unit 203. Further, the lossless decoding unit 202 supplies only intra prediction mode information and skip mode flag or skip mode flag as encoded information to the intra prediction unit 213, and moves motion vectors, inter prediction mode information, reference image specifying information, and the like. This is supplied to the compensation unit 214.
  • the lossless decoding unit 202 instructs the switch 215 to select the intra prediction unit 213 when the encoded information does not include inter prediction mode information, and if the inter prediction mode information is included, the lossless decoding unit 202 instructs the switch 215 to select a motion compensation unit. The selection of 214 is instructed.
  • the lossless decoding unit 202 supplies offset information as encoded information to the adaptive offset filter 207 and supplies filter coefficients to the adaptive loop filter 208.
  • the same processing as that performed by the prediction / compensation unit 88 is performed, whereby the image is decoded.
  • the inverse quantization unit 203 inversely quantizes the quantized coefficient from the lossless decoding unit 202 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 204.
  • the inverse orthogonal transform unit 204 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 203.
  • the inverse orthogonal transform unit 204 supplies residual information obtained as a result of the inverse orthogonal transform to the addition unit 205.
  • the addition unit 205 performs decoding by adding the residual information as the decoding target image supplied from the inverse orthogonal transform unit 204 and the prediction image supplied from the switch 215.
  • the adding unit 205 supplies an image obtained as a result of decoding to the deblocking filter 206 and also supplies it to the frame memory 211.
  • the adding unit 205 supplies the image that is the residual information supplied from the inverse orthogonal transform unit 204 to the deblocking filter 206 as an image obtained as a result of decoding, and It is supplied to the frame memory 211 and accumulated.
  • the deblocking filter 206 performs a deblocking filtering process on the image supplied from the adding unit 205 and supplies the resulting image to the adaptive offset filter 207.
  • the adaptive offset filter 207 performs adaptive offset filter processing on the image from the deblocking filter 206 for each LCU using the offset information supplied from the lossless decoding unit 202.
  • the adaptive offset filter 207 supplies the image after the adaptive offset filter processing to the adaptive loop filter 208.
  • the adaptive loop filter 208 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 207 using the filter coefficient supplied from the lossless decoding unit 202.
  • the adaptive loop filter 208 supplies the resulting image to the frame memory 211 and the screen rearrangement buffer 209.
  • the screen rearrangement buffer 209 stores the image supplied from the adaptive loop filter 208 in units of frames.
  • the screen rearrangement buffer 209 rearranges the stored frame-by-frame images for encoding in the original display order and supplies them to the D / A conversion unit 210.
  • the D / A conversion unit 210 D / A converts the frame unit image supplied from the screen rearrangement buffer 209 and outputs it as an enhancement image.
  • the frame memory 211 stores the image supplied from the adaptive loop filter 208 and the image supplied from the adding unit 205.
  • the image stored in the frame memory 211 is read as a reference image and supplied to the intra prediction unit 213 or the motion compensation unit 214 via the switch 212.
  • the intra prediction unit 213 sets the optimal intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag to the intra of the prediction block to be processed. Determine the prediction mode.
  • the intra prediction unit 213 reads the processing target prediction block and the base mode of the collocated prediction block from the mode buffer 216, and determines the intra prediction mode of the processing target prediction block.
  • the intra prediction unit 213 performs intra prediction of the determined intra prediction mode using the reference image read from the frame memory 211 via the switch 212.
  • the intra prediction unit 213 supplies the prediction image generated as a result to the switch 215.
  • the motion compensation unit 214 reads the reference image specified by the reference image specifying information supplied from the lossless decoding unit 202 from the frame memory 211 via the switch 212.
  • the motion compensation unit 214 performs motion compensation processing in the optimal inter prediction mode indicated by the inter prediction mode information supplied from the lossless decoding unit 202, using the motion vector and the reference image supplied from the lossless decoding unit 202.
  • the motion compensation unit 214 supplies the predicted image generated as a result to the switch 215.
  • the switch 215 supplies the prediction image supplied from the intra prediction unit 213 to the addition unit 205 when the selection of the intra prediction unit 213 is instructed from the lossless decoding unit 202.
  • the switch 215 supplies the predicted image supplied from the motion compensation unit 214 to the addition unit 205.
  • the mode buffer 216 stores the base mode supplied from the base decoding unit 163 in FIG.
  • FIG. 22 is a block diagram illustrating a configuration example of the intra prediction unit 213 in FIG.
  • the intra prediction unit 213 in FIG. 22 includes a generation unit 231, a prediction unit 232, and a buffer 233.
  • the generation unit 231 of the intra prediction unit 213 reads the intra prediction mode of the prediction block adjacent to the processing target prediction block above and to the left from the buffer 233 to generate a candidate MostProbableMode, This is supplied to the prediction unit 232.
  • the prediction unit 232 includes a normal prediction unit 241 and a skip prediction unit 242.
  • the normal prediction unit 241 predicts the intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag for each CU. Decide on the intra prediction mode of the block.
  • the normal prediction unit 241 selects the candidate MostProbableMode specified by the index from among the candidate MostProbableMode supplied from the generation unit 231. Determine the prediction mode.
  • the intra prediction mode information is 5-bit fixed length information indicating the normal mode
  • the normal prediction unit 241 determines the normal mode as the intra prediction mode to be processed.
  • the normal prediction unit 241 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 of FIG. 21 via the switch 212, and generates a prediction image.
  • the normal prediction unit 241 supplies the predicted image to the switch 215 in FIG. 21 and supplies the determined intra prediction mode to the buffer 233.
  • the skip prediction unit 242 reads out the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 216 for each CU, and sets the intra prediction mode to be processed. To decide. When there is no prediction block of the collocated base image, the skip prediction unit 242 sets the base mode of the prediction block to the DC mode and determines the intra prediction mode to be processed as the DC mode.
  • the skip prediction unit 242 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 via the switch 212, and generates a predicted image.
  • the skip prediction unit 242 supplies the predicted image to the switch 215 and supplies the determined intra prediction mode to the buffer 233.
  • the buffer 233 stores the intra prediction mode supplied from the prediction unit 232.
  • FIG. 23 is a flowchart for explaining the hierarchical decoding process of the decoding device 160 of FIG.
  • the reception unit 161 of the decoding device 160 receives the encoded stream of all layers transmitted from the encoding device 30 of FIG. 7 and supplies it to the separation unit 162.
  • step S112 the separation unit 162 separates the base stream and the enhancement stream from the encoded stream of all layers.
  • the separation unit 162 supplies the base stream to the base decoding unit 163 and supplies the enhancement stream to the enhancement decoding unit 164.
  • step S113 the base decoding unit 163 decodes the base stream supplied from the separation unit 162 by the HEVC method, and generates a base image. At this time, the base decoding unit 163 supplies the base mode to the enhancement decoding unit 164. The base decoding unit 163 outputs the generated base image.
  • step S114 the extraction unit 181 (FIG. 20) of the enhancement decoding unit 164 extracts the parameter set and the encoded data from the enhancement stream supplied from the separation unit 162.
  • step S115 the decoding unit 182 refers to the base mode supplied from the base decoding unit 163, and performs enhancement decoding processing for decoding the encoded data supplied from the extraction unit 181 in a method according to the HEVC method. Details of the enhancement decoding process will be described with reference to FIG. Then, the process ends.
  • FIG. 24 is a flowchart for explaining the details of the enhancement decoding process in step S115 of FIG.
  • the accumulation buffer 201 (FIG. 21) of the enhancement decoding unit 182 receives and accumulates encoded data in units of frames from the extraction unit 181 of FIG.
  • the accumulation buffer 201 supplies the accumulated encoded data to the lossless decoding unit 202.
  • the lossless decoding unit 202 performs lossless decoding on the encoded data from the accumulation buffer 201 to obtain quantized coefficients and encoded information.
  • the lossless decoding unit 202 supplies the quantized coefficient to the inverse quantization unit 203.
  • the lossless decoding unit 202 supplies intra prediction mode information and skip mode flag as coding information, or only the skip mode flag to the intra prediction unit 213, and includes motion vectors, inter prediction mode information, reference image specifying information, and the like. Is supplied to the motion compensation unit 214.
  • the lossless decoding unit 202 instructs the switch 215 to select the intra prediction unit 213 when the encoded information does not include the inter prediction mode information. The selection of 214 is instructed.
  • the lossless decoding unit 202 supplies offset information as encoded information to the adaptive offset filter 207 and supplies filter coefficients to the adaptive loop filter 208.
  • step S133 the inverse quantization unit 203 inversely quantizes the quantized coefficient from the lossless decoding unit 202, and supplies the resulting orthogonal transform coefficient to the inverse orthogonal transform unit 204.
  • step S135 the motion compensation unit 214 reads the reference image based on the reference image specifying information supplied from the lossless decoding unit 202, and uses the motion vector and the reference image to determine the optimal inter prediction mode indicated by the inter prediction mode information. Perform motion compensation processing.
  • the motion compensation unit 214 supplies the predicted image generated as a result to the addition unit 205 via the switch 215, and the process proceeds to step S137.
  • step S134 when it is determined in step S134 that the inter prediction mode information is not supplied, that is, when the intra prediction mode information and the skip mode flag, or only the skip mode flag is supplied to the intra prediction unit 213, the process is step. The process proceeds to S136.
  • step S136 the intra prediction unit 213 performs an intra prediction process using the reference image and the base mode read from the frame memory 211 via the switch 212. Details of this intra prediction process will be described with reference to FIG. After the intra prediction process, the process proceeds to step S137.
  • step S137 the inverse orthogonal transform unit 204 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 203, and supplies the residual information obtained as a result to the addition unit 205.
  • step S138 the adding unit 205 adds the residual information supplied from the inverse orthogonal transform unit 204 and the prediction image supplied from the switch 215.
  • the adding unit 205 supplies the image obtained as a result to the deblocking filter 206 and also supplies it to the frame memory 211.
  • step S139 the deblocking filter 206 performs deblocking filtering on the image supplied from the adding unit 205 to remove block distortion.
  • the deblocking filter 206 supplies the resulting image to the adaptive offset filter 207.
  • the adaptive offset filter 207 refers to the offset information supplied from the lossless decoding unit 202 with respect to the image from the deblocking filter 206, and performs adaptive offset filter processing for each LCU.
  • step S141 the adaptive loop filter 208 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 207 using the filter coefficient supplied from the lossless decoding unit 202.
  • the adaptive loop filter 208 supplies the resulting image to the frame memory 211 and the screen rearrangement buffer 209.
  • step S142 the frame memory 211 stores the image supplied from the adding unit 205 and the image supplied from the adaptive loop filter 208.
  • the image stored in the frame memory 211 is supplied to the intra prediction unit 213 or the motion compensation unit 214 via the switch 212 as a reference image.
  • step S143 the screen rearrangement buffer 209 stores the image supplied from the adaptive loop filter 208 in units of frames, and rearranges the stored frame-by-frame images for encoding in the original display order. To the D / A converter 210.
  • step S144 the D / A conversion unit 210 D / A converts the frame unit image supplied from the screen rearrangement buffer 209, and outputs it as an enhancement image. Then, the process returns to step S115 in FIG. 23 and ends.
  • FIG. 25 is a flowchart for explaining the details of the intra prediction process in step S136 of FIG.
  • step S161 the generation unit 231 (FIG. 22) of the intra prediction unit 213 reads the intra prediction mode of the prediction block adjacent to the processing target prediction block above and to the left from the buffer 233.
  • step S ⁇ b> 162 the generation unit 231 generates a candidate MostProbableMode using the read intra prediction mode and supplies the candidate MostProbableMode to the prediction unit 232.
  • step S163 the normal prediction unit 241 of the prediction unit 232 determines whether or not the skip mode flag supplied from the lossless decoding unit 202 in FIG. If it is determined in step S163 that the skip mode flag is 0, the process proceeds to step S164.
  • step S164 the normal prediction unit 241 determines the intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag as the intra prediction mode of the prediction block to be processed.
  • step S165 the normal prediction unit 241 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 of FIG. 21 via the switch 212, and generates a predicted image.
  • the normal prediction unit 241 supplies the predicted image to the switch 215 in FIG. Then, the process proceeds to step S168.
  • step S163 determines whether the skip mode flag is 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not 0 or not if the skip mode flag is 1, the process proceeds to step S166.
  • step S166 the skip prediction unit 242 reads out the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 216 in FIG. 21, and determines the intra prediction mode to be processed.
  • step S167 the skip prediction unit 242 performs the intra prediction of the base mode determined as the intra prediction mode to be processed using the reference image read from the frame memory 211 via the switch 212, and obtains the predicted image. Generate.
  • the skip prediction unit 242 supplies the predicted image to the switch 215.
  • step S168 the prediction unit 232 supplies the intra prediction mode to be processed to the buffer 233 and stores it.
  • the decoding device 160 performs intra prediction of an enhancement image using the base mode based on the skip mode flag. Therefore, it is possible to decode an encoded stream that shares the intra prediction mode of the base image and the enhancement image with a small amount of processing.
  • the skip mode flag is transmitted in units of CUs.
  • the skip mode flag may be transmitted in units of PUs, CU units larger than a predetermined size, LCU units, and the like. Good.
  • the skip mode flag is transmitted in units of CU larger than a predetermined size, information on the size is set in the VPS or the like.
  • the number of layers is two, but the number of layers may be two or more.
  • the base image is encoded by the HEVC method, but may be encoded by the AVC method.
  • the base mode is converted into the HEVC method intra prediction mode in the corresponding direction, and is used for the intra prediction process of the enhancement image. That is, the base mode is converted into the HEVC intra prediction mode in which the angle of the reference pixel relative to the target pixel and the angle of the reference direction are the same, and the angle of the reference pixel relative to the target pixel and the angle of the reference direction are the same.
  • the enhancement image intra prediction mode is set.
  • the base mode when the base mode is the DC mode, the base mode is converted into the HEVC DC mode, and is set as the enhancement image intra prediction mode.
  • the base mode is the plain mode, the base mode is converted into the HEVC system Planar mode, and is set as the enhancement image intra prediction mode.
  • sharing of the intra prediction mode of the base image and the enhancement image can be performed separately for both the luminance signal and the color difference signal.
  • FIG. 26 shows an example of the multi-view image encoding method.
  • the multi-viewpoint image includes a plurality of viewpoint images, and a predetermined one viewpoint image among the plurality of viewpoints is designated as the base view image. Each viewpoint image other than the base view image is treated as a non-base view image.
  • a base view image is encoded as a base layer image
  • a non-base view image is encoded as an enhancement image.
  • dQP (base view) Current_CU_QP (base view)-LCU_QP (base view) (1-2)
  • dQP (base view) Current_CU_QP (base view)-Previsous_CU_QP (base view) (1-3)
  • dQP (base view) Current_CU_QP (base view)-Slice_QP (base view)
  • dQP (non-base view) Current_CU_QP (non-base view)-LCU_QP (non-base view) (2-2)
  • dQP (non-base view) Current QP (non-base view)-Previsous QP (non-base view) (2-3)
  • dQP (non-base view) Current_CU_QP (non-base view)-Slic
  • the above (1) to (4) can be used in combination.
  • a method of obtaining a quantization parameter difference at the slice level between the base view and the non-base view (combining 3-1 and 2-3), between the base view and the non-base view
  • the method of taking the difference of the quantization parameter at the LCU level (combining 3-2 and 2-1) can be considered.
  • the difference can be improved even when multi-viewpoint encoding is performed.
  • a flag for identifying whether or not there is a dQP whose value is not 0 can be set for each of the above dQPs.
  • FIG. 27 shows another example of encoding by the Scalable function.
  • dQP (base layer) Current_CU_QP (base layer)-LCU_QP (base layer) (1-2)
  • dQP (base layer) Current_CU_QP (base layer)-Previsous_CU_QP (base layer) (1-3)
  • dQP (base layer) Current_CU_QP (base layer)-Slice_QP (base layer)
  • non-base-layer (2-1)
  • dQP (non-base layer) Current_CU_QP (non-base layer)-LCU_QP (non-base layer) (2-2)
  • dQP (non-base layer) Current QP (non-base layer)-Previsous QP (non-base layer) (2-3)
  • the above (1) to (4) can be used in combination.
  • the method of taking the difference of the quantization parameter at the LCU level (combining 3-2 and 2-1) can be considered. In this manner, by applying the difference repeatedly, the encoding efficiency can be improved even when hierarchical encoding is performed.
  • a flag for identifying whether or not there is a dQP whose value is not 0 can be set for each of the above dQPs.
  • ⁇ Second Embodiment> (Description of computer to which the present disclosure is applied)
  • the series of processes described above can be executed by hardware or can be executed by software.
  • a program constituting the software is installed in the computer.
  • the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
  • FIG. 28 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processing by a program.
  • a CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • An input / output interface 605 is further connected to the bus 604.
  • An input unit 606, an output unit 607, a storage unit 608, a communication unit 609, and a drive 610 are connected to the input / output interface 605.
  • the input unit 606 includes a keyboard, a mouse, a microphone, and the like.
  • the output unit 607 includes a display, a speaker, and the like.
  • the storage unit 608 includes a hard disk, a nonvolatile memory, and the like.
  • the communication unit 609 includes a network interface or the like.
  • the drive 610 drives a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the CPU 601 loads the program stored in the storage unit 608 to the RAM 603 via the input / output interface 605 and the bus 604 and executes the program, for example. Is performed.
  • the program executed by the computer (CPU 601) can be provided by being recorded on a removable medium 611 as a package medium, for example.
  • the program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
  • the program can be installed in the storage unit 608 via the input / output interface 605 by attaching the removable medium 611 to the drive 610. Further, the program can be received by the communication unit 609 via a wired or wireless transmission medium and installed in the storage unit 608. In addition, the program can be installed in the ROM 602 or the storage unit 608 in advance.
  • the program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
  • FIG. 29 illustrates a schematic configuration of a television device to which the present disclosure is applied.
  • the television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, and an external interface unit 909. Furthermore, the television apparatus 900 includes a control unit 910, a user interface unit 911, and the like.
  • the tuner 902 selects a desired channel from the broadcast wave signal received by the antenna 901, demodulates it, and outputs the obtained encoded bit stream to the demultiplexer 903.
  • the demultiplexer 903 extracts video and audio packets of the program to be viewed from the encoded bit stream, and outputs the extracted packet data to the decoder 904. Further, the demultiplexer 903 supplies a packet of data such as EPG (Electronic Program Guide) to the control unit 910. If scrambling is being performed, descrambling is performed by a demultiplexer or the like.
  • EPG Electronic Program Guide
  • the decoder 904 performs packet decoding processing, and outputs video data generated by the decoding processing to the video signal processing unit 905 and audio data to the audio signal processing unit 907.
  • the video signal processing unit 905 performs noise removal, video processing according to user settings, and the like on the video data.
  • the video signal processing unit 905 generates video data of a program to be displayed on the display unit 906, image data by processing based on an application supplied via a network, and the like.
  • the video signal processing unit 905 generates video data for displaying a menu screen for selecting an item and the like, and superimposes the video data on the video data of the program.
  • the video signal processing unit 905 generates a drive signal based on the video data generated in this way, and drives the display unit 906.
  • the display unit 906 drives a display device (for example, a liquid crystal display element or the like) based on a drive signal from the video signal processing unit 905 to display a program video or the like.
  • a display device for example, a liquid crystal display element or the like
  • the audio signal processing unit 907 performs predetermined processing such as noise removal on the audio data, performs D / A conversion processing and amplification processing on the processed audio data, and outputs the audio data to the speaker 908.
  • the external interface unit 909 is an interface for connecting to an external device or a network, and transmits and receives data such as video data and audio data.
  • a user interface unit 911 is connected to the control unit 910.
  • the user interface unit 911 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 910.
  • the control unit 910 is configured using a CPU (Central Processing Unit), a memory, and the like.
  • the memory stores a program executed by the CPU, various data necessary for the CPU to perform processing, EPG data, data acquired via a network, and the like.
  • the program stored in the memory is read and executed by the CPU at a predetermined timing such as when the television device 900 is activated.
  • the CPU executes each program to control each unit so that the television device 900 operates in accordance with the user operation.
  • the television device 900 includes a bus 912 for connecting the tuner 902, the demultiplexer 903, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910.
  • the decoder 904 is provided with the function of the decoding apparatus (decoding method) of the present application. Therefore, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
  • FIG. 30 illustrates a schematic configuration of a mobile phone to which the present disclosure is applied.
  • the cellular phone 920 includes a communication unit 922, an audio codec 923, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, and a control unit 931. These are connected to each other via a bus 933.
  • an antenna 921 is connected to the communication unit 922, and a speaker 924 and a microphone 925 are connected to the audio codec 923. Further, an operation unit 932 is connected to the control unit 931.
  • the mobile phone 920 performs various operations such as transmission / reception of voice signals, transmission / reception of e-mail and image data, image shooting, and data recording in various modes such as a voice call mode and a data communication mode.
  • the voice signal generated by the microphone 925 is converted into voice data and compressed by the voice codec 923 and supplied to the communication unit 922.
  • the communication unit 922 performs audio data modulation processing, frequency conversion processing, and the like to generate a transmission signal.
  • the communication unit 922 supplies a transmission signal to the antenna 921 and transmits it to a base station (not shown).
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and supplies the obtained audio data to the audio codec 923.
  • the audio codec 923 performs data expansion of the audio data and conversion to an analog audio signal and outputs the result to the speaker 924.
  • the control unit 931 receives character data input by operating the operation unit 932 and displays the input characters on the display unit 930.
  • the control unit 931 generates mail data based on a user instruction or the like in the operation unit 932 and supplies the mail data to the communication unit 922.
  • the communication unit 922 performs mail data modulation processing, frequency conversion processing, and the like, and transmits the obtained transmission signal from the antenna 921.
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores mail data. This mail data is supplied to the display unit 930 to display the mail contents.
  • the mobile phone 920 can also store the received mail data in a storage medium by the recording / playback unit 929.
  • the storage medium is any rewritable storage medium.
  • the storage medium is a removable medium such as a semiconductor memory such as a RAM or a built-in flash memory, a hard disk, a magnetic disk, a magneto-optical disk, an optical disk, a USB memory, or a memory card.
  • the image data generated by the camera unit 926 is supplied to the image processing unit 927.
  • the image processing unit 927 performs encoding processing of image data and generates encoded data.
  • the demultiplexing unit 928 multiplexes the encoded data generated by the image processing unit 927 and the audio data supplied from the audio codec 923 by a predetermined method, and supplies the multiplexed data to the communication unit 922.
  • the communication unit 922 performs modulation processing and frequency conversion processing of multiplexed data, and transmits the obtained transmission signal from the antenna 921.
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores multiplexed data. This multiplexed data is supplied to the demultiplexing unit 928.
  • the demultiplexing unit 928 performs demultiplexing of the multiplexed data, and supplies the encoded data to the image processing unit 927 and the audio data to the audio codec 923.
  • the image processing unit 927 performs a decoding process on the encoded data to generate image data.
  • the image data is supplied to the display unit 930 and the received image is displayed.
  • the audio codec 923 converts the audio data into an analog audio signal, supplies the analog audio signal to the speaker 924, and outputs the received audio.
  • the image processing unit 927 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, it is possible to share the intra prediction mode of an image having a hierarchical structure with a small processing amount. Also, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
  • FIG. 31 illustrates a schematic configuration of a recording / reproducing apparatus to which the present disclosure is applied.
  • the recording / reproducing apparatus 940 records, for example, audio data and video data of a received broadcast program on a recording medium, and provides the recorded data to the user at a timing according to a user instruction.
  • the recording / reproducing device 940 can also acquire audio data and video data from another device, for example, and record them on a recording medium. Further, the recording / reproducing apparatus 940 decodes and outputs the audio data and video data recorded on the recording medium, thereby enabling image display and audio output on the monitor apparatus or the like.
  • the recording / reproducing apparatus 940 includes a tuner 941, an external interface unit 942, an encoder 943, an HDD (Hard Disk Drive) unit 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) unit 948, a control unit 949, A user interface unit 950 is included.
  • Tuner 941 selects a desired channel from a broadcast signal received by an antenna (not shown).
  • the tuner 941 outputs an encoded bit stream obtained by demodulating the received signal of a desired channel to the selector 946.
  • the external interface unit 942 includes at least one of an IEEE 1394 interface, a network interface unit, a USB interface, a flash memory interface, and the like.
  • the external interface unit 942 is an interface for connecting to an external device, a network, a memory card, and the like, and receives data such as video data and audio data to be recorded.
  • the encoder 943 performs encoding by a predetermined method when the video data and audio data supplied from the external interface unit 942 are not encoded, and outputs an encoded bit stream to the selector 946.
  • the HDD unit 944 records content data such as video and audio, various programs, and other data on a built-in hard disk, and reads them from the hard disk during playback.
  • the disk drive 945 records and reproduces signals with respect to the mounted optical disk.
  • An optical disk such as a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.), a Blu-ray (registered trademark) disk, or the like.
  • the selector 946 selects one of the encoded bit streams from the tuner 941 or the encoder 943 and supplies it to either the HDD unit 944 or the disk drive 945 when recording video or audio. Further, the selector 946 supplies the encoded bit stream output from the HDD unit 944 or the disk drive 945 to the decoder 947 at the time of reproduction of video and audio.
  • the decoder 947 performs a decoding process on the encoded bit stream.
  • the decoder 947 supplies the video data generated by performing the decoding process to the OSD unit 948.
  • the decoder 947 outputs audio data generated by performing the decoding process.
  • the OSD unit 948 generates video data for displaying a menu screen for selecting an item and the like, and superimposes it on the video data output from the decoder 947 and outputs the video data.
  • a user interface unit 950 is connected to the control unit 949.
  • the user interface unit 950 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 949.
  • the control unit 949 is configured using a CPU, a memory, and the like.
  • the memory stores programs executed by the CPU and various data necessary for the CPU to perform processing.
  • the program stored in the memory is read and executed by the CPU at a predetermined timing such as when the recording / reproducing apparatus 940 is activated.
  • the CPU executes the program to control each unit so that the recording / reproducing device 940 operates according to the user operation.
  • the decoder 947 is provided with the function of the decoding apparatus (decoding method) of the present application. Therefore, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
  • FIG. 32 illustrates a schematic configuration of an imaging apparatus to which the present disclosure is applied.
  • the imaging device 960 images a subject, displays an image of the subject on a display unit, and records it on a recording medium as image data.
  • the imaging device 960 includes an optical block 961, an imaging unit 872, a camera signal processing unit 873, an image data processing unit 874, a display unit 875, an external interface unit 876, a memory unit 877, a media drive 968, an OSD unit 879, and a control unit 970.
  • a user interface unit 971 is connected to the control unit 970.
  • the image data processing unit 874, the external interface unit 876, the memory unit 877, the media drive 968, the OSD unit 879, the control unit 970, and the like are connected via a bus 972.
  • the optical block 961 is configured using a focus lens, a diaphragm mechanism, and the like.
  • the optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 872.
  • the imaging unit 872 is configured using a CCD or CMOS image sensor, generates an electrical signal corresponding to the optical image by photoelectric conversion, and supplies the electrical signal to the camera signal processing unit 873.
  • the camera signal processing unit 873 performs various camera signal processing such as knee correction, gamma correction, and color correction on the electrical signal supplied from the imaging unit 872.
  • the camera signal processing unit 873 supplies the image data after the camera signal processing to the image data processing unit 874.
  • the image data processing unit 874 performs an encoding process on the image data supplied from the camera signal processing unit 873.
  • the image data processing unit 874 supplies the encoded data generated by performing the encoding process to the external interface unit 876 and the media drive 968.
  • the image data processing unit 874 performs a decoding process on the encoded data supplied from the external interface unit 876 or the media drive 968.
  • the image data processing unit 874 supplies the image data generated by performing the decoding process to the display unit 875.
  • the image data processing unit 874 also superimposes the display data acquired from the OSD unit 879 on the display unit 875 by superimposing the display data acquired from the OSD unit 879 on the display unit 875, the image data supplied from the camera signal processing unit 873. To supply.
  • the OSD unit 879 generates display data such as a menu screen or an icon made up of symbols, characters, or figures and outputs it to the image data processing unit 874.
  • the external interface unit 876 includes, for example, a USB input / output terminal and the like, and is connected to a printer when printing an image.
  • a drive is connected to the external interface unit 876 as necessary, a removable medium such as a magnetic disk or an optical disk is appropriately mounted, and a computer program read from them is installed as necessary.
  • the external interface unit 876 has a network interface connected to a predetermined network such as a LAN or the Internet.
  • the control unit 970 reads encoded data from the media drive 968 in accordance with an instruction from the user interface unit 971, and supplies the encoded data to the other device connected via the network from the external interface unit 876. it can.
  • the control unit 970 may acquire encoded data and image data supplied from another device via a network via the external interface unit 876 and supply the acquired data to the image data processing unit 874. it can.
  • any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory is used.
  • the recording medium may be any type of removable medium, and may be a tape device, a disk, or a memory card. Of course, a non-contact IC (Integrated Circuit) card may be used.
  • media drive 968 and the recording medium may be integrated and configured by a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
  • a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
  • the control unit 970 is configured using a CPU.
  • the memory unit 877 stores a program executed by the control unit 970, various data necessary for the control unit 970 to perform processing, and the like.
  • the program stored in the memory unit 877 is read and executed by the control unit 970 at a predetermined timing such as when the imaging device 960 is activated.
  • the control unit 970 controls each unit so that the imaging device 960 performs an operation according to a user operation by executing a program.
  • the image data processing unit 874 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, it is possible to share the intra prediction mode of an image having a hierarchical structure with a small processing amount. An encoded stream sharing an intra prediction mode of an image having a hierarchical structure can be decoded with a small amount of processing.
  • Scalable encoding is used for selection of data to be transmitted, as in the example shown in FIG. 33, for example.
  • the distribution server 1002 reads the scalable encoded data stored in the scalable encoded data storage unit 1001, and via the network 1003, the personal computer 1004, the AV device 1005, the tablet This is distributed to the terminal device such as the device 1006 and the mobile phone 1007.
  • the distribution server 1002 selects and transmits encoded data of appropriate quality according to the capability of the terminal device, the communication environment, and the like. Even if the distribution server 1002 transmits unnecessarily high-quality data, the terminal device does not always obtain a high-quality image, and may cause a delay or an overflow. Moreover, there is a possibility that the communication band is unnecessarily occupied or the load on the terminal device is unnecessarily increased. On the other hand, even if the distribution server 1002 transmits unnecessarily low quality data, there is a possibility that an image with sufficient image quality cannot be obtained in the terminal device. Therefore, the distribution server 1002 appropriately reads and transmits the scalable encoded data stored in the scalable encoded data storage unit 1001 as encoded data having an appropriate quality with respect to the capability and communication environment of the terminal device. .
  • the scalable encoded data storage unit 1001 stores scalable encoded data (BL + EL) 1011 encoded in a scalable manner.
  • the scalable encoded data (BL + EL) 1011 is encoded data including both a base layer and an enhancement layer, and is a data that can be decoded to obtain both a base layer image and an enhancement layer image. It is.
  • the distribution server 1002 selects an appropriate layer according to the capability of the terminal device that transmits data, the communication environment, and the like, and reads the data of the layer. For example, the distribution server 1002 reads high-quality scalable encoded data (BL + EL) 1011 from the scalable encoded data storage unit 1001 and transmits it to the personal computer 1004 and the tablet device 1006 with high processing capability as they are. . On the other hand, for example, the distribution server 1002 extracts base layer data from the scalable encoded data (BL + EL) 1011 for the AV device 1005 and the cellular phone 1007 having a low processing capability, and performs scalable encoding. Although it is data of the same content as the data (BL + EL) 1011, it is transmitted as scalable encoded data (BL) 1012 having a lower quality than the scalable encoded data (BL + EL) 1011.
  • BL scalable encoded data
  • scalable encoded data By using scalable encoded data in this way, the amount of data can be easily adjusted, so that the occurrence of delay and overflow can be suppressed, and the unnecessary increase in the load on the terminal device and communication medium can be suppressed. be able to.
  • scalable encoded data (BL + EL) 1011 since scalable encoded data (BL + EL) 1011 has reduced redundancy between layers, the amount of data can be reduced as compared with the case where encoded data of each layer is used as individual data. . Therefore, the storage area of the scalable encoded data storage unit 1001 can be used more efficiently.
  • the hardware performance of the terminal device varies depending on the device.
  • the application which a terminal device performs is also various, the capability of the software is also various.
  • the network 1003 serving as a communication medium can be applied to any communication network including wired, wireless, or both, such as the Internet and a LAN (Local Area Network), and has various data transmission capabilities. Furthermore, there is a risk of change due to other communications.
  • the distribution server 1002 communicates with the terminal device that is the data transmission destination before starting data transmission, and the hardware performance of the terminal device, the performance of the application (software) executed by the terminal device, etc. Information regarding the capability of the terminal device and information regarding the communication environment such as the available bandwidth of the network 1003 may be obtained. The distribution server 1002 may select an appropriate layer based on the information obtained here.
  • the layer extraction may be performed by the terminal device.
  • the personal computer 1004 may decode the transmitted scalable encoded data (BL + EL) 1011 and display a base layer image or an enhancement layer image. Further, for example, the personal computer 1004 extracts the base layer scalable encoded data (BL) 1012 from the transmitted scalable encoded data (BL + EL) 1011 and stores it or transfers it to another device. The base layer image may be displayed after decoding.
  • the numbers of the scalable encoded data storage unit 1001, the distribution server 1002, the network 1003, and the terminal devices are arbitrary.
  • the example in which the distribution server 1002 transmits data to the terminal device has been described, but the usage example is not limited to this.
  • the data transmission system 1000 may be any system as long as it transmits a scalable encoded data to a terminal device by selecting an appropriate layer according to the capability of the terminal device or a communication environment. Can be applied to the system.
  • scalable coding is used for transmission via a plurality of communication media as in the example shown in FIG. 34, for example.
  • a broadcasting station 1101 transmits base layer scalable encoded data (BL) 1121 by terrestrial broadcasting 1111.
  • the broadcast station 1101 transmits enhancement layer scalable encoded data (EL) 1122 via an arbitrary network 1112 including a wired or wireless communication network or both (for example, packetized transmission).
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded data
  • the terminal apparatus 1102 has a reception function of the terrestrial broadcast 1111 broadcast by the broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via the terrestrial broadcast 1111.
  • the terminal apparatus 1102 further has a communication function for performing communication via the network 1112, and receives enhancement layer scalable encoded data (EL) 1122 transmitted via the network 1112.
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded data
  • the terminal device 1102 decodes the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 according to, for example, a user instruction, and obtains or stores a base layer image. Or transmit to other devices.
  • BL base layer scalable encoded data
  • the terminal device 1102 for example, in response to a user instruction, the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 and the enhancement layer scalable encoded acquired via the network 1112 Data (EL) 1122 is combined to obtain scalable encoded data (BL + EL), or decoded to obtain an enhancement layer image, stored, or transmitted to another device.
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded acquired via the network 1112 Data
  • the scalable encoded data can be transmitted via a communication medium that is different for each layer, for example. Therefore, the load can be distributed, and the occurrence of delay and overflow can be suppressed.
  • the communication medium used for transmission may be selected for each layer. For example, scalable encoded data (BL) 1121 of a base layer having a relatively large amount of data is transmitted via a communication medium having a wide bandwidth, and scalable encoded data (EL) 1122 having a relatively small amount of data is transmitted. You may make it transmit via a communication medium with a narrow bandwidth. Further, for example, the communication medium for transmitting the enhancement layer scalable encoded data (EL) 1122 is switched between the network 1112 and the terrestrial broadcast 1111 according to the available bandwidth of the network 1112. May be. Of course, the same applies to data of an arbitrary layer.
  • the number of layers is arbitrary, and the number of communication media used for transmission is also arbitrary.
  • the number of terminal devices 1102 serving as data distribution destinations is also arbitrary.
  • broadcasting from the broadcasting station 1101 has been described as an example, but the usage example is not limited to this.
  • the data transmission system 1100 can be applied to any system as long as it is a system that divides scalable encoded data into a plurality of layers and transmits them through a plurality of lines.
  • scalable encoding is used for storing encoded data as in the example shown in FIG. 35, for example.
  • the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
  • the scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
  • the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
  • the imaging device 1201 is a surveillance camera.
  • the monitoring target for example, an intruder
  • the content of the captured image is likely to be unimportant, so reduction of the data amount is given priority, and the image data (scalable coding) Data) is stored in low quality.
  • the image quality is given priority and the image data (scalable) (Encoded data) is stored with high quality.
  • whether it is normal time or attention time may be determined by the scalable encoded data storage device 1202 analyzing an image, for example.
  • the imaging apparatus 1201 may make a determination, and the determination result may be transmitted to the scalable encoded data storage device 1202.
  • the criterion for determining whether the time is normal or noting is arbitrary, and the content of the image as the criterion is arbitrary. Of course, conditions other than the contents of the image can also be used as the criterion. For example, it may be switched according to the volume or waveform of the recorded sound, may be switched at every predetermined time, or may be switched by an external instruction such as a user instruction.
  • the number of states is arbitrary, for example, normal, slightly attention, attention, very attention, etc.
  • three or more states may be switched.
  • the upper limit number of states to be switched depends on the number of layers of scalable encoded data.
  • the imaging apparatus 1201 may determine the number of layers for scalable coding according to the state. For example, in a normal case, the imaging apparatus 1201 may generate base layer scalable encoded data (BL) 1222 with low quality and a small amount of data, and supply the scalable encoded data storage apparatus 1202 to the scalable encoded data storage apparatus 1202. For example, when attention is paid, the imaging device 1201 generates scalable encoded data (BL + EL) 1221 having a high quality and a large amount of data, and supplies the scalable encoded data storage device 1202 to the scalable encoded data storage device 1202. May be.
  • BL base layer scalable encoded data
  • BL + EL scalable encoded data
  • the monitoring camera has been described as an example.
  • the use of the imaging system 1200 is arbitrary and is not limited to the monitoring camera.
  • the method for transmitting such information is not limited to such an example.
  • these pieces of information may be transmitted or recorded as separate data associated with the encoded bitstream without being multiplexed into the encoded bitstream.
  • the term “associate” means that an image (which may be a part of an image such as a slice or a block) included in the bitstream and information corresponding to the image can be linked at the time of decoding. Means. That is, information may be transmitted on a transmission path different from that of the image (or bit stream).
  • Information may be recorded on a recording medium (or another recording area of the same recording medium) different from the image (or bit stream). Furthermore, the information and the image (or bit stream) may be associated with each other in an arbitrary unit such as a plurality of frames, one frame, or a part of the frame.
  • This disclosure receives bitstreams compressed by orthogonal transform such as discrete cosine transform and motion compensation, such as MPEG, H.26x, etc., via network media such as satellite broadcasting, cable TV, the Internet, and mobile phones.
  • orthogonal transform such as discrete cosine transform and motion compensation
  • the present invention can be applied to an encoding device or a decoding device that is used when processing on a storage medium such as an optical, magnetic disk, or flash memory.
  • the present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is processed jointly.
  • each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • this indication can also take the following structures.
  • a receiving unit that receives mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer; Based on the mode information received by the receiving unit, the intra prediction mode of the second layer image is used using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image.
  • a decoding device comprising: an intra prediction unit that performs prediction. (2) The intra prediction unit, based on the mode information, sets an intra prediction mode of a prediction block of the first layer image collocated with a prediction block of the second layer image of the second layer image. The decoding device according to (1), wherein intra prediction is performed as an intra prediction mode of a prediction block.
  • the intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image.
  • the receiving unit receives the mode information of a coding unit; The decoding device according to any one of (1) to (3), wherein the intra prediction unit performs intra prediction of the second layer image in the coding unit based on the mode information of the coding unit.
  • the receiving unit receives the mode information in units of prediction blocks, The decoding device according to any one of (1) to (3), wherein the intra prediction unit performs intra prediction of the image of the second layer in the prediction block unit based on the mode information in the prediction block unit.
  • the receiving unit receives the mode information of a maximum coding unit;
  • the intra prediction unit performs intra prediction of the image of the second layer in the maximum encoding unit based on the mode information of the maximum encoding unit.
  • the receiving unit receives the mode information of an encoding unit of a predetermined size and size information indicating the predetermined size;
  • the intra prediction unit performs intra prediction of the second layer image in the encoding unit of the predetermined size based on the mode information of the encoding unit of the predetermined size and the size information.
  • the encoding method of the first layer image is an AVC (Advanced Video Coding) method
  • the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method.
  • the AVC intra prediction mode of the first layer image is converted into an HEVC intra prediction mode having the same angle as the corresponding angle, and the second layer image is converted.
  • the decoding device according to any one of (1) to (7).
  • the encoding method of the first layer image is an AVC (Advanced Video Coding) method
  • the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method.
  • the Plain mode as the intra prediction mode of the first layer image is converted into the HEVC Planar mode to obtain the intra prediction mode of the second layer image (1 ) To (8).
  • the decryption device Receiving the mode information indicating that the intra prediction mode of the first layer image of the image having the hierarchical structure is used as the intra prediction mode of the second layer image; Based on the mode information received by the processing of the receiving step, the intra prediction mode of the image of the first layer is used as the intra prediction mode of the image of the second layer, and the image of the second layer An intra prediction step for performing intra prediction of.
  • An intra prediction unit that performs intra prediction of an image of the second hierarchy using an intra prediction mode of an image of the first hierarchy of an image having a hierarchical structure as an intra prediction mode of an image of the second hierarchy;
  • a setting unit that sets mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image;
  • a transmission unit configured to transmit the mode information set by the setting unit.
  • the intra prediction unit uses an intra prediction mode of a prediction block of an image of the first layer collocated with a prediction block of the image of the second layer as an intra prediction mode of a prediction block of the image of the second layer.
  • the intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image.
  • the encoding apparatus according to (12), in which the mode is set.
  • the intra prediction unit performs intra prediction of the second layer image in a coding unit, The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in the encoding unit.
  • the intra prediction unit performs intra prediction of the second layer image in prediction block units, The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in units of the prediction block.
  • the intra prediction unit performs intra prediction of the second layer image in a maximum coding unit; The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in the maximum encoding unit.
  • the intra prediction unit performs intra prediction of the second layer image in a coding unit of a predetermined size, The setting unit sets the mode information in an encoding unit of the predetermined size, The encoding device according to any one of (11) to (13), wherein the transmission unit transmits the mode information of the encoding unit of the predetermined size and size information indicating the predetermined size.
  • the intra prediction unit has an AVC (Advanced Video Coding) method for encoding the first layer image and a High Efficiency Video Coding (HEVC) method for the second layer image.
  • AVC Advanced Video Coding
  • HEVC High Efficiency Video Coding
  • the AVC intra prediction mode of the first layer image is converted into the HEVC intra prediction mode having the same angle as the corresponding angle, and the intra prediction mode of the second layer image is set.
  • the encoding device according to any one of (17).
  • the intra prediction unit has an AVC (Advanced Video Coding) method for encoding the first layer image and a High Efficiency Video Coding (HEVC) method for the second layer image.
  • AVC Advanced Video Coding
  • the Plain mode as the intra prediction mode of the first layer image is converted to the HEVC Planar mode to be the intra prediction mode of the second layer image.
  • An encoding device according to claim 1. (20) The encoding device An intra prediction step of performing intra prediction of the second layer image using the intra prediction mode of the first layer image of the image having a hierarchical structure as the intra prediction mode of the second layer image; A setting step for setting mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image; A transmission step of transmitting the mode information set by the processing of the setting step.

Abstract

The present invention pertains to a decoding device and decoding method and an encoding device and encoding method, whereby intra-prediction modes for images having a hierarchical structure can be shared using a low processing load. A reception unit receives skip mode flags indicating that an intra-prediction mode for a base image is used as the intra-prediction mode for an enhancement image. An enhancement decoding unit uses the base image intra-prediction mode as the enhancement image intra-prediction mode, on the basis of the skip mode flag, and performs intra-prediction of the enhancement image. This disclosure can be applied, for example, to a decoding device.

Description

復号装置および復号方法、並びに、符号化装置および符号化方法Decoding device, decoding method, and encoding device and encoding method
 本開示は、復号装置および復号方法、並びに、符号化装置および符号化方法に関し、特に、少ない処理量で階層構造を有する画像のイントラ予測モードを共有することができるようにした復号装置および復号方法、並びに、符号化装置および符号化方法に関する。 The present disclosure relates to a decoding apparatus and a decoding method, and an encoding apparatus and an encoding method, and in particular, a decoding apparatus and a decoding method that can share an intra prediction mode of an image having a hierarchical structure with a small amount of processing. The present invention also relates to an encoding apparatus and an encoding method.
 近年、画像情報をデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮するMPEG(Moving Picture Experts Group phase)などの方式に準拠した装置が、放送局などの情報配信、および一般家庭における情報受信の双方において普及しつつある。 In recent years, image information is handled as digital data, and MPEG (compressed by orthogonal transform such as discrete cosine transform and motion compensation is used for the purpose of efficient transmission and storage of information. A device compliant with a method such as Moving (Pictures Experts Group) phase) is becoming popular in both information distribution at broadcast stations and information reception in general households.
 特に、MPEG2(ISO/IEC 13818-2)方式は、汎用画像符号化方式として定義されており、飛び越し走査画像及び順次走査画像の双方、並びに標準解像度画像及び高精細画像を網羅する標準で、プロフェッショナル用途及びコンシューマー用途の広範なアプリケーションに現在広く用いられている。MPEG2方式を用いることにより、例えば720×480画素を持つ標準解像度の飛び越し走査画像であれば4乃至8Mbps、1920×1088画素を持つ高解像度の飛び越し走査画像であれば18乃至22MBpsの符号量(ビットレート)を割り当てることで、高い圧縮率と良好な画質の実現が可能である。 In particular, the MPEG2 (ISO / IEC 13818-2) system is defined as a general-purpose image encoding system, and is a standard that covers both interlaced and progressively scanned images, standard resolution images, and high-definition images. Widely used in a wide range of applications for consumer and consumer applications. By using the MPEG2 method, for example, a standard resolution interlaced scanning image having 720 × 480 pixels is 4 to 8 Mbps, and a high resolution interlaced scanning image having 1920 × 1088 pixels is 18 to 22 MBps. By assigning a (rate), it is possible to realize a high compression rate and good image quality.
 MPEG2は主として放送用に適合する高画質符号化を対象としていたが、MPEG1より低い符号量(ビットレート)、つまりより高い圧縮率の符号化方式には対応していなかった。携帯端末の普及により、今後そのような符号化方式のニーズは高まると思われ、これに対応してMPEG4符号化方式の標準化が行われた。MPEG4の画像符号化方式に関しては、1998年12月にISO/IEC 14496-2として規格が国際標準に承認された。 MPEG2 was mainly intended for high-quality encoding suitable for broadcasting, but it did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate. With the widespread use of mobile terminals, the need for such an encoding system is expected to increase in the future, and the MPEG4 encoding system has been standardized accordingly. Regarding the MPEG4 image coding system, the standard was approved as an international standard in December 1998 as ISO / IEC 449 14496-2.
 更に、近年、当初テレビ会議用の画像符号化を目的として、H.26L(ITU-T Q6/16 VCEG)という標準の規格化が進んでいる。H.26LはMPEG2やMPEG4といった従来の符号化方式に比べ、その符号化、復号化により多くの演算量が要求されるものの、より高い符号化効率が実現されることが知られている。 Furthermore, in recent years, for the purpose of image coding for the initial video conference, The standardization of 26L (ITU-T Q6 / 16 標準 VCEG) is in progress. H. 26L is known to achieve higher encoding efficiency than the conventional encoding schemes such as MPEG2 and MPEG4, although a large amount of calculation is required for encoding and decoding.
 また、近年、MPEG4の活動の一環として、このH.26Lをベースに、H.26Lではサポートされない機能をも取り入れ、より高い符号化効率を実現する標準化がJoint Model of Enhanced-Compression Video Codingとして行われた。この標準化は、2003年3月にH.264及びMPEG-4 Part10(AVC(Advanced Video Coding))という名の元に国際標準化された。 In recent years, as part of MPEG4 activities, Based on 26L, H. Standardization to achieve higher coding efficiency by incorporating functions that are not supported by 26L was done as Joint Model of Enhanced-Compression Video Coding. This standardization was implemented in March 2003 by H.C. It was internationally standardized under the names of H.264 and MPEG-4® Part 10 (AVC (Advanced Video Coding)).
 更に、その拡張として、RGBやYUV422、YUV444といった、業務用に必要な符号化ツールや、MPEG-2で規定されていた8×8DCTや量子化マトリクスをも含んだFRExt (Fidelity Range Extension)の標準化が2005年2月に完了した。これにより、AVC方式が、映画に含まれるフィルムノイズをも良好に表現することが可能な符号化方式となり、BD(Blu-ray(登録商標) Disc )等の幅広いアプリケーションに用いられる運びとなった。 Furthermore, as an extension, standardization of FRExt® (Fidelity Range Extension) including coding tools necessary for business such as RGB, YUV422, and YUV444, and 8 × 8DCT and quantization matrix specified by MPEG-2. Was completed in February 2005. As a result, the AVC system has become an encoding system that can well express film noise included in movies, and has been used for a wide range of applications such as BD (Blu-ray (registered trademark) Disc).
 しかしながら、昨今、ハイビジョン画像の4倍の4000×2000画素程度の画像を圧縮したい、または、インターネットのような限られた伝送容量の環境においてハイビジョン画像を配信したいといった、更なる高圧縮率符号化に対するニーズが高まっている。このため、ITU-T傘下のVCEG(Video Coding Expert Group)において、符号化効率の改善に関する検討が継続されている。 However, these days, we want to compress images with a resolution of about 4000 x 2000 pixels, which is four times that of high-definition images, or to deliver high-definition images in environments with limited transmission capacity such as the Internet. Needs are growing. For this reason, in the VCEG (Video Coding Expert Group) under the ITU-T, studies on improving the coding efficiency are continuing.
 また、現在、AVCより更なる符号化効率の向上を目的として、ITU-Tと、ISO/IECの共同の標準化団体であるJCTVC(Joint Collaboration Team - Video Coding)により、 HEVC(High Efficiency Video Coding)と呼ばれる符号化方式の標準化が進められている。2013年2月現在、Draftとして非特許文献1が発行されている。 In addition, with the aim of further improving coding efficiency compared to AVC, ITUHEVC (High Efficiency Video Coding) has been established by JCTVC (Joint Collaboration Team Coding), a joint standardization organization of ITU-T and ISO / IEC. The standardization of the encoding method called is being advanced. As of February 2013, Non-Patent Document 1 has been issued as Draft.
 図1は、HEVC方式のイントラ予測モードを説明する図である。 FIG. 1 is a diagram for explaining an HEVC intra prediction mode.
 図1のAに示すように、AVC方式のイントラ予測モードとしては、予測ブロックのサイズごとに、対象画素に対する参照画素の方向として8方向を示すモードと直流(DC)モードの9種類のモードがある。輝度信号の予測ブロックのサイズは、4×4画素、8×8画素、および16×16画素の3種類である。色差信号の予測ブロックのサイズは、16×16画素であり、色差信号のイントラ予測モードは、輝度信号とは独立して定義することが可能である。 As shown in FIG. 1A, as the intra prediction mode of the AVC method, for each prediction block size, there are nine modes including a mode indicating eight directions and a direct current (DC) mode as a reference pixel direction with respect to the target pixel. is there. There are three types of luminance signal prediction block sizes: 4 × 4 pixels, 8 × 8 pixels, and 16 × 16 pixels. The size of the prediction block of the color difference signal is 16 × 16 pixels, and the intra prediction mode of the color difference signal can be defined independently of the luminance signal.
 これに対して、HEVC方式のイントラ予測モードとしては、図1のBに示すように、対象画素に対する参照画素の方向として32方向を示すモードと直流モードの33種類のモードがある。予測ブロックサイズは、4×4画素、8×8画素、16×16画素、32×32画素、および64×64画素の5種類である。 On the other hand, as shown in FIG. 1B, the HEVC intra prediction modes include a mode indicating 32 directions as a reference pixel direction with respect to a target pixel and 33 types of modes including a direct current mode. There are five types of predicted block sizes: 4 × 4 pixels, 8 × 8 pixels, 16 × 16 pixels, 32 × 32 pixels, and 64 × 64 pixels.
 このように、HEVC方式では、AVC方式に比べてイントラ予測モードの種類が多いため、予測精度が向上する。 Thus, since the HEVC method has more types of intra prediction modes than the AVC method, the prediction accuracy is improved.
 また、HEVC方式のイントラ予測モードとしては、図1に示した33種類のモードのほか、Planerモードがある。Planerモードは、予測ブロック内の各画素を対象画素として、予測ブロックと隣接する既に符号化済みの画素のうちの、対象画素と同一の行および列の画素並びに予測ブロックの右上および左下の画素を用いてbi-linear interpolationにより予測画素を生成するモードである。 In addition, the HEVC intra prediction mode includes the Planer mode in addition to the 33 modes shown in FIG. In the Planer mode, each pixel in the prediction block is set as a target pixel, and among the already encoded pixels adjacent to the prediction block, pixels in the same row and column as the target pixel, and pixels in the upper right and lower left of the prediction block are used. This mode is used to generate predicted pixels by bi-linear interpolation.
 例えば、図2のAに示すように、8×8画素の予測ブロック1内の左上の画素2が対象画素とされるとき、画素2の予測画素は、画素2と同一の行の隣接画素3および同一の列の隣接画素4、並びに、予測ブロック1の右上の隣接画素5および左下の隣接画素6を用いて生成される。 For example, as illustrated in A of FIG. 2, when the upper left pixel 2 in the prediction block 1 of 8 × 8 pixels is the target pixel, the prediction pixel of the pixel 2 is the adjacent pixel 3 in the same row as the pixel 2. And the adjacent pixel 4 in the same column, and the upper right adjacent pixel 5 and the lower left adjacent pixel 6 of the prediction block 1 are generated.
 また、図2のBに示すように、予測ブロック1内の1番上の行の左から2番目の画素7が対象画素とされるとき、画素7の予測画素は、画素7と同一の行の隣接画素3および同一の列の隣接画素8、並びに、隣接画素5および隣接画素6を用いて生成される。 2B, when the second pixel 7 from the left in the top row in the prediction block 1 is the target pixel, the prediction pixel of the pixel 7 is the same row as the pixel 7. Of adjacent pixels 3, adjacent pixels 8 in the same column, and adjacent pixels 5 and 6.
 Planarモードのイントラ予測は、グラデーションを有する画像の符号化効率を向上させることができる。 Planar mode intra prediction can improve the coding efficiency of images with gradation.
 図3は、HEVC方式におけるイントラ予測モードの伝送方法を説明する図である。 FIG. 3 is a diagram for explaining a transmission method in the intra prediction mode in the HEVC scheme.
 HEVC方式では、イントラ予測モードを予測符号化し、伝送する。具体的には、図3に示すように、まず、処理対象の予測ブロック11の上の予測ブロック12および左の予測ブロック13のイントラ予測モードが、イントラ予測モードの候補MostProbableModeとされる。また、予測ブロック12および予測ブロック13のイントラ予測モードの組み合わせにより決定されるイントラ予測モード(図3の例ではPlanarモード)が、候補MostProbableModeとされる。 In the HEVC method, the intra prediction mode is predictively encoded and transmitted. Specifically, as illustrated in FIG. 3, first, the intra prediction modes of the prediction block 12 above the processing target prediction block 11 and the left prediction block 13 are set as intra prediction mode candidates MostProbableMode. Further, an intra prediction mode (Planar mode in the example of FIG. 3) determined by a combination of the intra prediction modes of the prediction block 12 and the prediction block 13 is set as a candidate MostProbableMode.
 そして、予測ブロック11のイントラ予測モードが、候補MostProbableModeのいずれかと同一である場合、その候補MostProbableModeを特定するインデックスが、イントラ予測モードを示す情報として伝送される。 Then, when the intra prediction mode of the prediction block 11 is the same as one of the candidate MostProbableModes, an index that identifies the candidate MostProbableMode is transmitted as information indicating the intra prediction mode.
 一方、予測ブロック11のイントラ予測モードが、候補MostProbableModeのいずれとも異なる場合、イントラ予測モードを示す5ビットの固定長の情報が、イントラ予測モードを示す情報として伝送される。 On the other hand, when the intra prediction mode of the prediction block 11 is different from any of the candidate MostProbableModes, 5-bit fixed-length information indicating the intra prediction mode is transmitted as information indicating the intra prediction mode.
 なお、予測ブロック12と予測ブロック13のイントラ予測モードが同一である場合には、一方のイントラ予測モードとして、実際のイントラ予測モードとは異なるイントラ予測モードが候補MostProbableModeとされる。これにより、実際のイントラ予測モードが候補MostProbableModeとされる場合に比べて、予測ブロック11のイントラ予測モードが候補MostProbableModeのいずれかと同一になる可能性が高くなり、符号化効率が向上する。 When the intra prediction modes of the prediction block 12 and the prediction block 13 are the same, an intra prediction mode different from the actual intra prediction mode is set as the candidate MostProbableMode as one of the intra prediction modes. Thereby, compared with the case where the actual intra prediction mode is set to the candidate MostProbableMode, there is a higher possibility that the intra prediction mode of the prediction block 11 is the same as one of the candidate MostProbableModes, and the coding efficiency is improved.
 ところで、MPEG-2、AVCといった画像符号化方式は、画像を階層化して符号化するscalable機能を有していた。scalable機能によれば、トランスコード処理を行うことなく、復号側の処理能力に応じた符号化データを伝送することができる。 By the way, image encoding methods such as MPEG-2 and AVC have a scalable function for encoding images by layering them. According to the scalable function, it is possible to transmit encoded data according to the processing capability on the decoding side without performing transcoding processing.
 具体的には、例えば携帯電話のような処理能力の低い端末に対しては、ベースとなる階層であるベースレイヤ(base layer)の画像の符号化ストリームのみを伝送することができる。一方、テレビジョン受像機やパーソナルコンピュータのような処理能力の高い端末に対しては、ベースレイヤと、ベースレイヤ以外の階層であるエンハンスメントレイヤ(enhancement layer)の画像の符号化ストリームを伝送することができる。 Specifically, for example, only a coded stream of an image of a base layer (base layer) that is a base layer can be transmitted to a terminal with low processing capability such as a mobile phone. On the other hand, an encoded stream of an image of a base layer and an enhancement layer (enhancement layer) that is a layer other than the base layer may be transmitted to a terminal having high processing capability such as a television receiver or a personal computer. it can.
 HEVC version1においても、画像をフレームレートで階層化して符号化するscalable機能(以下、temporal scalabilityという)が備えられている。 HEVC version1 also has a scalable function (hereinafter referred to as temporal scalability) that encodes images by layering them at the frame rate.
 ここで、scalable機能を用いて符号化が行われる場合、ベースレイヤとエンハンスメントレイヤの画像のイントラ予測モードに関する相関は高いと考えられる。従って、ベースレイヤとエンハンスメントレイヤについて、独立してイントラ予測モードを示す情報を伝送することは、冗長な情報を伝送することになり、符号化効率を低下させる。 Here, when encoding is performed using the scalable function, it is considered that the correlation regarding the intra prediction modes of the images of the base layer and the enhancement layer is high. Therefore, independently transmitting information indicating the intra prediction mode for the base layer and the enhancement layer transmits redundant information, which reduces coding efficiency.
 また、ベースレイヤのイントラ予測モードの精度は、エンハンスメントレイヤのイントラ予測モードに比べて良いため、エンハンスメントレイヤのイントラ予測モードは、ベースレイヤのイントラ予測モードと同一である可能性が高い。 Also, since the accuracy of the intra prediction mode of the base layer may be better than the intra prediction mode of the enhancement layer, there is a high possibility that the intra prediction mode of the enhancement layer is the same as the intra prediction mode of the base layer.
 そこで、ベースレイヤのイントラ予測モードを、エンハンスメントレイヤの候補MostProbableModeの1つとして追加することが提案されている(例えば、非特許文献2参照)。これにより、ベースレイヤとエンハンスメントレイヤのイントラ予測モードが同一である場合に両方のイントラ予測モードが冗長して伝送されることを防止することができる。 Therefore, it has been proposed to add the intra prediction mode of the base layer as one of enhancement layer candidates MostProbableMode (see, for example, Non-Patent Document 2). Thereby, when the intra prediction mode of a base layer and an enhancement layer is the same, it can prevent that both intra prediction modes are transmitted redundantly.
 しかしながら、非特許文献1の技術では、符号化時に、全ての予測ブロックにおいて、ベースレイヤのイントラ予測モードも含む候補MostProbableModeとイントラ予測モードを比較する必要があり、処理量(演算量)が増加する。 However, in the technique of Non-Patent Document 1, it is necessary to compare the candidate MostProbableMode including the intra prediction mode of the base layer with the intra prediction mode in all prediction blocks at the time of encoding, and the processing amount (computation amount) increases. .
 本開示は、このような状況に鑑みてなされたものであり、少ない処理量で階層構造を有する画像のイントラ予測モードを共有することができるようにするものである。 The present disclosure has been made in view of such a situation, and makes it possible to share an intra prediction mode of an image having a hierarchical structure with a small processing amount.
 本開示の第1の側面の復号装置は、階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を受け取る受け取り部と、前記受け取り部により受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部とを備える復号装置である。 A decoding device according to a first aspect of the present disclosure receives a mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer. And the second layer image based on the mode information received by the receiving unit using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image. It is a decoding apparatus provided with the intra prediction part which performs intra prediction of this.
 本開示の第1の側面の復号方法は、本開示の第1の側面の復号装置に対応する。 The decoding method according to the first aspect of the present disclosure corresponds to the decoding device according to the first aspect of the present disclosure.
 本開示の第1の側面においては、階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報が受け取られ、受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードが前記第2の階層の画像のイントラ予測モードとして用いられて、前記第2の階層の画像のイントラ予測が行われる。 In the first aspect of the present disclosure, mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer is received and received. Based on the mode information, the intra prediction mode of the second layer image is performed using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image.
 本開示の第2の側面の符号化装置は、階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部と、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を設定する設定部と、前記設定部により設定された前記モード情報を伝送する伝送部とを備える符号化装置である。 The encoding device according to the second aspect of the present disclosure uses an intra prediction mode of an image of a first layer of an image having a hierarchical structure as an intra prediction mode of an image of a second layer. An intra prediction unit that performs intra prediction of an image; a setting unit that sets mode information indicating that an intra prediction mode of an image of the first layer is used as an intra prediction mode of an image of the second layer; and the setting A transmission unit that transmits the mode information set by the unit.
 本開示の第2の側面の符号化方法は、本開示の第2の側面の符号化装置に対応する。 The encoding method according to the second aspect of the present disclosure corresponds to the encoding device according to the second aspect of the present disclosure.
 本開示の第2の側面においては、階層構造を有する画像の第1の階層の画像のイントラ予測モードが第2の階層の画像のイントラ予測モードとして用いられて、前記第2の階層の画像のイントラ予測が行われ、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報が設定され、伝送される。 In the second aspect of the present disclosure, an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer, and the image of the second layer Intra prediction is performed, and mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image is set and transmitted.
 なお、第1の側面の復号装置及び第2の側面の符号化装置は、コンピュータにプログラムを実行させることにより実現することができる。 The decoding device according to the first aspect and the encoding device according to the second aspect can be realized by causing a computer to execute a program.
 また、第1の側面の復号装置および第2の側面の符号化装置を実現するために、コンピュータに実行させるプログラムは、伝送媒体を介して伝送することにより、又は、記録媒体に記録して、提供することができる。 In order to realize the decoding device of the first aspect and the encoding device of the second aspect, a program to be executed by a computer is transmitted through a transmission medium or recorded on a recording medium, Can be provided.
 第1の側面の復号装置及び第2の側面の符号化装置は、独立した装置であっても良いし、1つの装置を構成している内部ブロックであっても良い。 The decoding device of the first aspect and the encoding device of the second aspect may be independent devices or may be internal blocks constituting one device.
 本開示によれば、少ない処理量で階層構造を有する画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 According to the present disclosure, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
 本開示の第2の側面によれば、少ない処理量で階層構造を有する画像のイントラ予測モードを共有することができる。 According to the second aspect of the present disclosure, it is possible to share an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
HEVC方式のイントラ予測モードを説明する図である。It is a figure explaining the intra prediction mode of HEVC system. Planerモードを説明する図である。It is a figure explaining Planer mode. HEVC方式におけるイントラ予測モードの伝送方法を説明する図である。It is a figure explaining the transmission method of the intra prediction mode in a HEVC system. spatial scalabilityを説明する図である。It is a figure explaining spatial scalability. temporal scalabilityを説明する図である。It is a figure explaining temporal scalability. SNR scalabilityを説明する図である。It is a figure explaining SNR scalability. 本開示を適用した符号化装置の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the encoding apparatus to which this indication is applied. 図7のエンハンスメント符号化部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the enhancement encoding part of FIG. 図8の符号化部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the encoding part of FIG. 図9のイントラ予測部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the intra estimation part of FIG. 処理対象のエンハンスメント画像の予測ブロックとコロケーテッドなベース画像の予測ブロックを説明する図である。It is a figure explaining the prediction block of the enhancement image of a process target, and the prediction block of the collocated base image. CUを説明する図である。It is a figure explaining CU. エンハンスメント画像のCU単位の符号化データのシンタックスの例を示す図である。It is a figure which shows the example of the syntax of the encoding data of the CU unit of an enhancement image. エンハンスメント画像のCU単位の符号化データのシンタックスの例を示す図である。It is a figure which shows the example of the syntax of the encoding data of the CU unit of an enhancement image. 図7の符号化装置の階層符号化処理を説明するフローチャートである。It is a flowchart explaining the hierarchical encoding process of the encoding apparatus of FIG. 図15のエンハンスメント符号化処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the enhancement encoding process of FIG. 図15のエンハンスメント符号化処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the enhancement encoding process of FIG. 図16のイントラ予測処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the intra prediction process of FIG. 本開示を適用した復号装置の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the decoding apparatus to which this indication is applied. 図19のエンハンスメント復号部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the enhancement decoding part of FIG. 図20の復号部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the decoding part of FIG. 図21のイントラ予測部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the intra estimation part of FIG. 図19の復号装置の階層復号処理を説明するフローチャートである。It is a flowchart explaining the hierarchical decoding process of the decoding apparatus of FIG. 図23のエンハンスメント復号処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the enhancement decoding process of FIG. 図24のイントラ予測処理の詳細を説明するフローチャートである。It is a flowchart explaining the detail of the intra prediction process of FIG. 多視点画像符号化方式の例を示す図である。It is a figure which shows the example of a multiview image encoding system. Scalable機能による符号化の他の例を示す図である。It is a figure which shows the other example of encoding by a Scalable function. コンピュータのハードウエアの構成例を示すブロック図である。It is a block diagram which shows the structural example of the hardware of a computer. 本開示を適用したテレビジョン装置の概略構成例を示す図である。It is a figure which shows the example of schematic structure of the television apparatus to which this indication is applied. 本開示を適用した携帯電話機の概略構成例を示す図である。It is a figure which shows the schematic structural example of the mobile telephone to which this indication is applied. 本開示を適用した記録再生装置の概略構成例を示す図である。It is a figure which shows the schematic structural example of the recording / reproducing apparatus to which this indication is applied. 本開示を適用した撮像装置の概略構成例を示す図である。It is a figure which shows the schematic structural example of the imaging device to which this indication is applied. スケーラブル符号化利用の一例を示すブロック図である。It is a block diagram which shows an example of scalable encoding utilization. スケーラブル符号化利用の他の例を示すブロック図である。It is a block diagram which shows the other example of scalable encoding utilization. スケーラブル符号化利用のさらに他の例を示すブロック図である。It is a block diagram which shows the further another example of scalable encoding utilization.
 <scalable機能の説明>
 (spatial scalabilityの説明)
 図4は、spatial scalabilityを説明する図である。
<Explanation of scalable function>
(Description of spatial scalability)
FIG. 4 is a diagram for explaining spatial scalability.
 図4に示すように、spatial scalabilityは、画像を空間解像度で階層化して符号化するscalable機能である。具体的には、spatial scalabilityでは、低解像度の画像がベースレイヤの画像として符号化され、高解像度の画像と低解像度の画像の差分の画像がエンハンスメントレイヤの画像として符号化される。 As shown in FIG. 4, spatial scalability is a scalable function that stratifies and encodes images with spatial resolution. Specifically, in spatial scalability, a low resolution image is encoded as a base layer image, and a difference image between the high resolution image and the low resolution image is encoded as an enhancement layer image.
 従って、符号化装置は、処理能力の低い復号装置に対してベースレイヤの画像の符号化データのみを伝送することにより、復号装置は、低解像度の画像を生成することができる。また、符号化装置は、処理能力の高い復号装置に対してベースレイヤとエンハンスメントレイヤの画像の符号化データを伝送することにより、復号装置は、ベースレイヤとエンハンスメントレイヤの画像を復号して合成し、高解像度の画像を生成することができる。 Therefore, the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low-resolution image. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images. High-resolution images can be generated.
 (temporal scalabilityの説明)
 図5は、temporal scalabilityを説明する図である。
(Explanation of temporal scalability)
FIG. 5 is a diagram for explaining temporal scalability.
 上述したように、temporal scalabilityは、画像をフレームレートで階層化して符号化するscalable機能である。具体的には、図5に示すように、temporal scalabilityでは、例えば、低フレームレート(図5の例では7.5fps)の画像がベースレイヤの画像として符号化される。また、中フレームレート(図5の例では15fps)の画像と低フレームレートの画像の差分の画像がエンハンスメントレイヤの画像として符号化される。さらに、高フレームレート(図5の例では30fps)の画像と中フレームレートの画像の差分の画像がエンハンスメントレイヤの画像として符号化される。 As described above, temporal scalability is a scalable function that encodes images by layering them at the frame rate. Specifically, as shown in FIG. 5, in temporal / scalability, for example, an image with a low frame rate (7.5 fps in the example of FIG. 5) is encoded as a base layer image. In addition, a difference image between the image at the medium frame rate (15 fps in the example of FIG. 5) and the image at the low frame rate is encoded as an enhancement layer image. Furthermore, the difference image between the image at the high frame rate (30 fps in the example of FIG. 5) and the image at the medium frame rate is encoded as an enhancement layer image.
 従って、符号化装置は、処理能力の低い復号装置に対してベースレイヤの画像の符号化データのみを伝送することにより、復号装置は、低フレームレートの画像を生成することができる。また、符号化装置は、処理能力の高い復号装置に対してベースレイヤとエンハンスメントレイヤの画像の符号化データを伝送することにより、復号装置は、ベースレイヤとエンハンスメントレイヤの画像を復号して合成し、高フレームレートまたは中フレームレートの画像を生成することができる。 Therefore, the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low frame rate image. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images. High frame rate or medium frame rate images can be generated.
 (SNR scalabilityの説明)
 図6は、SNR scalabilityを説明する図である。
(Description of SNR scalability)
FIG. 6 is a diagram illustrating SNR scalability.
 図6に示すように、SNR scalabilityは、画像をSNR(signal-noise ratio)で階層化して符号化するscalable機能である。具体的には、SNR scalabilityでは、低SNRの画像がベースレイヤの画像として符号化され、高SNRの画像と低SNRの画像の差分の画像がエンハンスメントレイヤの画像として符号化される。 As shown in FIG. 6, SNRabilityscalability is a scalable function that encodes an image layered with SNR (signal-noise ratio). Specifically, in SNR scalability, a low SNR image is encoded as a base layer image, and a difference image between a high SNR image and a low SNR image is encoded as an enhancement layer image.
 従って、符号化装置は、処理能力の低い復号装置に対してベースレイヤの画像の符号化データのみを伝送することにより、復号装置は、低SNRの画像、即ち低画質の画像を生成することができる。また、符号化装置は、処理能力の高い復号装置に対してベースレイヤとエンハンスメントレイヤの画像の符号化データを伝送することにより、復号装置は、ベースレイヤとエンハンスメントレイヤの画像を復号して合成し、高SNRの画像、即ち高画質の画像を生成することができる。 Accordingly, the encoding device transmits only the encoded data of the base layer image to the decoding device with low processing capability, so that the decoding device can generate a low SNR image, that is, a low quality image. it can. Further, the encoding device transmits the encoded data of the base layer and enhancement layer images to the decoding device having high processing capability, so that the decoding device decodes and synthesizes the base layer and enhancement layer images. A high SNR image, that is, a high-quality image can be generated.
 なお、図示は省略するが、scalable機能としては、spatial scalability, temporal scalability、SNR scalabilityの他にも存在する。 Although not shown, there are other scalable functions besides spatialsscalability, temporal scalability, and SNR scalability.
 例えば、scalable機能としては、画像をビット数で階層化して符号化するbit-depth scalabilityもある。この場合、例えば、8bitビデオの画像がベースレイヤの画像とされ、10bitビデオの画像と8bitビデオの画像の差分がエンハンスメントレイヤの画像とされ、符号化される。 For example, as a scalable function, there is also bit-depth scalability for layering and encoding an image by the number of bits. In this case, for example, an 8-bit video image is used as a base layer image, and a difference between a 10-bit video image and an 8-bit video image is used as an enhancement layer image and encoded.
 また、scalable機能としては、画像を色差信号のフォーマットで階層化して符号化するchroma scalabilityもある。この場合、例えば、YUV420の画像がベースレイヤの画像とされ、YUV422の画像とYUV420の画像の差分の画像がエンハンスメントレイヤの画像とされ、符号化される。 Also, as a scalable function, there is also a chroma-scalability for layering and encoding an image in a color difference signal format. In this case, for example, the YUV420 image is set as the base layer image, and the difference image between the YUV422 image and the YUV420 image is set as the enhancement layer image and encoded.
 なお、以下では、説明の便宜上、エンハンスメントレイヤが1つである場合について説明する。 In the following, for convenience of explanation, a case where there is one enhancement layer will be described.
 <第1実施の形態>
 (符号化装置の一実施の形態の構成例)
 図7は、本開示を適用した符号化装置の一実施の形態の構成例を示すブロック図である。
<First embodiment>
(Configuration example of one embodiment of encoding device)
FIG. 7 is a block diagram illustrating a configuration example of an embodiment of an encoding device to which the present disclosure is applied.
 図7の符号化装置30は、ベース符号化部31、エンハンスメント符号化部32、合成部33、および伝送部34により構成され、scalable機能を用いてHEVC方式に準ずる方式で画像を符号化する。 7 includes a base encoding unit 31, an enhancement encoding unit 32, a combining unit 33, and a transmission unit 34, and encodes an image using a scalable function in accordance with a scheme equivalent to the HEVC scheme.
 符号化装置30のベース符号化部31には、外部からベースレイヤの画像(以下、ベース画像という)が入力される。ベース符号化部31は、従来のHEVC方式の符号化装置と同様に構成され、ベース画像をHEVC方式で符号化する。ベース符号化部31は、符号化の結果得られる符号化データ、SPS(Sequence Parameter Set),PPS(Picture Parameter Set)等を含む符号化ストリームを、ベースストリームとして合成部33に供給する。また、ベース符号化部31は、ベース画像のイントラ予測モードを、エンハンスメント符号化部32に供給する。 A base layer image (hereinafter referred to as a base image) is input to the base encoding unit 31 of the encoding device 30 from the outside. The base encoding unit 31 is configured in the same manner as a conventional HEVC encoding device, and encodes a base image using the HEVC method. The base encoding unit 31 supplies an encoded stream including encoded data obtained as a result of encoding, SPS (Sequence Parameter Set), PPS (Picture Parameter Set), and the like to the synthesis unit 33 as a base stream. Further, the base encoding unit 31 supplies the intra prediction mode of the base image to the enhancement encoding unit 32.
 エンハンスメント符号化部32には、外部からエンハンスメントレイヤの画像(以下、エンハンスメント画像という)が入力される。エンハンスメント符号化部32は、エンハンスメント画像をHEVC方式に準ずる方式で符号化する。このとき、エンハンスメント符号化部32は、ベース符号化部31からのイントラ予測モードを参照して、イントラ予測処理を行う。エンハンスメント符号化部32は、符号化の結果得られる符号化データ、SPS,PPS等を含む符号化ストリームをエンハンスメントストリームとして合成部33に供給する。 The enhancement coding unit 32 receives an enhancement layer image (hereinafter referred to as an enhancement image) from the outside. The enhancement encoding unit 32 encodes the enhancement image by a method according to the HEVC method. At this time, the enhancement encoding unit 32 refers to the intra prediction mode from the base encoding unit 31 and performs an intra prediction process. The enhancement encoding unit 32 supplies an encoded stream including encoded data obtained as a result of encoding, SPS, PPS, and the like to the synthesizing unit 33 as an enhancement stream.
 合成部33は、ベース符号化部31から供給されるベースストリームとエンハンスメント符号化部32から供給されるエンハンスメントストリームを合成し、全階層の符号化ストリームを生成する。合成部33は、全階層の符号化ストリームを伝送部34に供給する。 The synthesizing unit 33 synthesizes the base stream supplied from the base encoding unit 31 and the enhancement stream supplied from the enhancement encoding unit 32 to generate an encoded stream of all layers. The synthesis unit 33 supplies the encoded stream of all layers to the transmission unit 34.
 伝送部34は、合成部33から供給される全階層の符号化ストリームを後述する復号装置に伝送する。 The transmission unit 34 transmits the encoded stream of all layers supplied from the synthesis unit 33 to a decoding device to be described later.
 なお、ここでは、符号化装置30は、全階層の符号化ストリームを伝送するものとするが、必要に応じて、ベースストリームのみを伝送することもできる。 In addition, although the encoding apparatus 30 shall transmit the encoding stream of all the layers here, it can also transmit only a base stream as needed.
 (エンハンスメント符号化部の構成例)
 図8は、図7のエンハンスメント符号化部32の構成例を示すブロック図である。
(Configuration example of enhancement encoding unit)
FIG. 8 is a block diagram illustrating a configuration example of the enhancement encoding unit 32 of FIG.
 図8のエンハンスメント符号化部32は、設定部51と符号化部52により構成される。 The enhancement encoding unit 32 in FIG. 8 includes a setting unit 51 and an encoding unit 52.
 エンハンスメント符号化部32の設定部51は、必要に応じて、SPS,PPS,VPS(Video Parameter Set)などのパラメータセットを設定する。設定部51は、設定されたパラメータセットを符号化部52に供給する。 The setting unit 51 of the enhancement encoding unit 32 sets parameter sets such as SPS, PPS, and VPS (Video Parameter Set) as necessary. The setting unit 51 supplies the set parameter set to the encoding unit 52.
 符号化部52は、外部から入力されるフレーム単位のエンハンスメント画像を入力信号とする。符号化部52は、ベース符号化部31からのイントラ予測モードを参照して、HEVC方式に準ずる方式で入力信号を符号化する。符号化部52は、その結果得られる符号化データと、設定部51から供給されるパラメータセットからエンハンスメントストリームを生成し、図7の合成部33に供給する。 The encoding unit 52 uses an enhancement image for each frame input from the outside as an input signal. The encoding unit 52 refers to the intra prediction mode from the base encoding unit 31 and encodes the input signal by a method according to the HEVC method. The encoding unit 52 generates an enhancement stream from the encoded data obtained as a result and the parameter set supplied from the setting unit 51, and supplies the enhancement stream to the synthesis unit 33 in FIG.
 (符号化部の構成例)
 図9は、図8の符号化部52の構成例を示すブロック図である。
(Configuration example of encoding unit)
FIG. 9 is a block diagram illustrating a configuration example of the encoding unit 52 of FIG.
 図9の符号化部52は、A/D変換部71、画面並べ替えバッファ72、演算部73、直交変換部74、量子化部75、可逆符号化部76、蓄積バッファ77、生成部78、逆量子化部79、逆直交変換部80、加算部81、デブロックフィルタ82、適応オフセットフィルタ83、適応ループフィルタ84、フレームメモリ85、スイッチ86、イントラ予測部87、動き予測・補償部88、予測画像選択部89、レート制御部90、およびモードバッファ91により構成される。 9 includes an A / D conversion unit 71, a screen rearrangement buffer 72, a calculation unit 73, an orthogonal transformation unit 74, a quantization unit 75, a lossless encoding unit 76, an accumulation buffer 77, a generation unit 78, Inverse quantization unit 79, inverse orthogonal transform unit 80, addition unit 81, deblock filter 82, adaptive offset filter 83, adaptive loop filter 84, frame memory 85, switch 86, intra prediction unit 87, motion prediction / compensation unit 88, The prediction image selection unit 89, the rate control unit 90, and the mode buffer 91 are configured.
 符号化部52のA/D変換部71は、入力信号として入力されたフレーム単位のエンハンスメント画像をA/D変換し、画面並べ替えバッファ72に出力して記憶させる。画面並べ替えバッファ72は、記憶した表示の順番のフレーム単位のエンハンスメント画像を、GOP構造に応じて、符号化のための順番に並べ替え、演算部73、イントラ予測部87、および動き予測・補償部88に出力する。 The A / D conversion unit 71 of the encoding unit 52 performs A / D conversion on the enhancement image in units of frames input as an input signal, and outputs to the screen rearrangement buffer 72 for storage. The screen rearrangement buffer 72 rearranges the stored frame-by-frame enhancement images in the order for encoding according to the GOP structure, the arithmetic unit 73, the intra prediction unit 87, and the motion prediction / compensation. To the unit 88.
 演算部73は、予測画像選択部89から供給される予測画像と、画面並べ替えバッファ72から出力された符号化対象の画像(エンハンスメント画像)の差分を演算することにより符号化を行う。具体的には、演算部73は、画面並べ替えバッファ72から出力された符号化対象の画像から、予測画像選択部89から供給される予測画像を減算することにより符号化を行う。演算部73は、その結果得られる画像を、残差情報として直交変換部74に出力する。なお、予測画像選択部89から予測画像が供給されない場合、演算部73は、画面並べ替えバッファ72から読み出された画像をそのまま残差情報として直交変換部74に出力する。 The calculation unit 73 performs encoding by calculating the difference between the predicted image supplied from the predicted image selection unit 89 and the encoding target image (enhancement image) output from the screen rearrangement buffer 72. Specifically, the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 89 from the encoding target image output from the screen rearrangement buffer 72. The computing unit 73 outputs the resulting image to the orthogonal transform unit 74 as residual information. When the predicted image is not supplied from the predicted image selection unit 89, the calculation unit 73 outputs the image read from the screen rearrangement buffer 72 as it is to the orthogonal transform unit 74 as residual information.
 直交変換部74は、演算部73からの残差情報を所定の方式で直交変換し、生成された直交変換係数を量子化部75に供給する。 The orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 by a predetermined method, and supplies the generated orthogonal transform coefficient to the quantization unit 75.
 量子化部75は、直交変換部74から供給される直交変換係数に対して量子化を行い、その結果得られる係数を、可逆符号化部76に供給する。 The quantization unit 75 performs quantization on the orthogonal transform coefficient supplied from the orthogonal transform unit 74 and supplies the resulting coefficient to the lossless encoding unit 76.
 可逆符号化部76は、イントラ予測モード情報とスキップモードフラグをイントラ予測部87から取得する。イントラ予測モード情報とは、ベース画像のイントラ予測モード(以下、ベースモードという)以外のイントラ予測モード(以下、通常モードという)が最適イントラ予測モードである場合に最適イントラ予測モードを示す情報である。スキップモードフラグとは、ベースモードをエンハンスメント画像のイントラ予測モードとして用いるかどうかを表すフラグである。 The lossless encoding unit 76 acquires the intra prediction mode information and the skip mode flag from the intra prediction unit 87. The intra prediction mode information is information indicating the optimal intra prediction mode when the intra prediction mode (hereinafter referred to as the normal mode) other than the intra prediction mode of the base image (hereinafter referred to as the base mode) is the optimal intra prediction mode. . The skip mode flag is a flag indicating whether or not the base mode is used as the enhancement image intra prediction mode.
 また、可逆符号化部76は、動き予測・補償部88から最適インター予測モードを示すインター予測モード情報、動きベクトル、参照画像を特定する参照画像特定情報などを取得する。さらに、可逆符号化部76は、適応オフセットフィルタ83からオフセット情報を取得し、適応ループフィルタ84からフィルタ係数を取得する。 Also, the lossless encoding unit 76 acquires inter prediction mode information indicating an optimal inter prediction mode, a motion vector, reference image specifying information for specifying a reference image, and the like from the motion prediction / compensation unit 88. Further, the lossless encoding unit 76 acquires offset information from the adaptive offset filter 83 and acquires filter coefficients from the adaptive loop filter 84.
 可逆符号化部76は、量子化部75から供給される量子化された係数に対して、可変長符号化(例えば、CAVLC(Context-Adaptive Variable Length Coding)など)、算術符号化(例えば、CABAC(Context-Adaptive Binary Arithmetic Coding)など)などの可逆符号化を行う。 The lossless encoding unit 76 performs variable length coding (for example, CAVLC (Context-Adaptive Variable Length Coding)), arithmetic coding (for example, CABAC) on the quantized coefficients supplied from the quantization unit 75. (Context-Adaptive Binary Arithmetic Coding) etc.) is performed.
 また、可逆符号化部76は、イントラ予測モード情報とスキップモードフラグ、または、インター予測モード情報、動きベクトル、および参照画像特定情報、オフセット、並びにフィルタ係数を、符号化に関する符号化情報として可逆符号化する。可逆符号化部76は、可逆符号化された符号化情報と可逆符号化された係数を符号化データとして蓄積バッファ77に供給し、蓄積させる。なお、可逆符号化された符号化情報は、ヘッダ部として符号化データに付加されるようにしてもよい。 Further, the lossless encoding unit 76 uses the intra prediction mode information and the skip mode flag, or the inter prediction mode information, the motion vector, the reference image specifying information, the offset, and the filter coefficient as encoding information related to encoding. Turn into. The lossless encoding unit 76 supplies the encoded information and the lossless encoded coefficient to the storage buffer 77 as encoded data and stores them. Note that the losslessly encoded information may be added to the encoded data as a header portion.
 蓄積バッファ77は、可逆符号化部76から供給される符号化データを、一時的に記憶する。また、蓄積バッファ77は、記憶している符号化データを生成部78に供給する。 The accumulation buffer 77 temporarily stores the encoded data supplied from the lossless encoding unit 76. Further, the accumulation buffer 77 supplies the stored encoded data to the generation unit 78.
 生成部78は、図8の設定部51から供給されるパラメータセットと蓄積バッファ77から供給される符号化データから符号化ストリームを生成し、図7の合成部33に供給する。 The generating unit 78 generates an encoded stream from the parameter set supplied from the setting unit 51 in FIG. 8 and the encoded data supplied from the accumulation buffer 77, and supplies the encoded stream to the synthesizing unit 33 in FIG.
 また、量子化部75から出力された量子化された係数は、逆量子化部79にも入力される。逆量子化部79は、量子化部75により量子化された係数に対して逆量子化を行い、その結果得られる直交変換係数を逆直交変換部80に供給される。 Also, the quantized coefficient output from the quantization unit 75 is also input to the inverse quantization unit 79. The inverse quantization unit 79 performs inverse quantization on the coefficient quantized by the quantization unit 75 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 80.
 逆直交変換部80は、逆量子化部79から供給される直交変換係数に対して、直交変換部74における直交変換の方式に対応する方式で4次の逆直交変換を行い、その結果得られる残差情報を加算部81に供給する。 The inverse orthogonal transform unit 80 performs the fourth-order inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 by a method corresponding to the orthogonal transform method in the orthogonal transform unit 74, and is obtained as a result. Residual information is supplied to the adder 81.
 加算部81は、逆直交変換部80から供給される残差情報と、予測画像選択部89から供給される予測画像を加算して、局部的に復号された画像を得る。なお、予測画像選択部89から予測画像が供給されない場合、加算部81は、逆直交変換部80から供給される残差情報を局部的に復号された画像とする。加算部81は、局部的に復号された画像をデブロックフィルタ82に供給するとともに、フレームメモリ85に供給して蓄積させる。 The addition unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the prediction image supplied from the prediction image selection unit 89 to obtain a locally decoded image. When the predicted image is not supplied from the predicted image selection unit 89, the adding unit 81 sets the residual information supplied from the inverse orthogonal transform unit 80 as a locally decoded image. The adder 81 supplies the locally decoded image to the deblock filter 82 and also supplies the image to the frame memory 85 for accumulation.
 デブロックフィルタ82は、加算部81から供給される局部的に復号された画像に対して、ブロック歪を除去するデブロッキングフィルタ処理を行い、その結果得られる画像を適応オフセットフィルタ83に供給する。 The deblocking filter 82 performs a deblocking filter process for removing block distortion on the locally decoded image supplied from the adding unit 81, and supplies the resulting image to the adaptive offset filter 83.
 適応オフセットフィルタ83は、デブロックフィルタ82から供給されるデブロッキングフィルタ処理後の画像に対して、主にリンギングを除去する適応オフセットフィルタ(SAO(Sample adaptive offset))処理を行う。 The adaptive offset filter 83 performs an adaptive offset filter (SAO (Sample adaptive offset)) process that mainly removes ringing on the image after the deblocking filter process supplied from the deblocking filter 82.
 具体的には、適応オフセットフィルタ83は、最大の符号化単位であるLCU(Largest Coding Unit)ごとに適応オフセットフィルタ処理の種類を決定し、その適応オフセットフィルタ処理で用いられるオフセットを求める。適応オフセットフィルタ83は、求められたオフセットを用いて、デブロッキングフィルタ処理後の画像に対して、決定された種類の適応オフセットフィルタ処理を行う。そして、適応オフセットフィルタ83は、適応オフセットフィルタ処理後の画像を適応ループフィルタ84に供給する。また、適応オフセットフィルタ83は、適応オフセット処理の種類およびオフセットをオフセット情報として可逆符号化部76に供給する。 Specifically, the adaptive offset filter 83 determines the type of adaptive offset filter processing for each LCU (Largest Coding Unit) which is the maximum coding unit, and obtains an offset used in the adaptive offset filter processing. The adaptive offset filter 83 performs the determined type of adaptive offset filter processing on the image after the deblocking filter processing, using the obtained offset. Then, the adaptive offset filter 83 supplies the image after the adaptive offset filter processing to the adaptive loop filter 84. The adaptive offset filter 83 supplies the type and offset of the adaptive offset process to the lossless encoding unit 76 as offset information.
 適応ループフィルタ84は、例えば、2次元のウィナーフィルタ(Wiener Filter)により構成される。適応ループフィルタ84は、適応オフセットフィルタ83から供給される適応オフセットフィルタ処理後の画像に対して、例えば、LCUごとに、適応ループフィルタ(ALF(Adaptive Loop Filter))処理を行う。 The adaptive loop filter 84 is constituted by, for example, a two-dimensional Wiener filter. The adaptive loop filter 84 performs an adaptive loop filter (ALF (Adaptive Loop Filter)) process for each LCU, for example, on the image after the adaptive offset filter process supplied from the adaptive offset filter 83.
 具体的には、適応ループフィルタ84は、LCUごとに、画面並べ替えバッファ72から出力される画像である原画像と適応ループフィルタ処理後の画像の残差が最小となるように、適応ループフィルタ処理で用いられるフィルタ係数を算出する。そして、適応ループフィルタ84は、適応オフセットフィルタ処理後の画像に対して、算出されたフィルタ係数を用いて、LCUごとに適応ループフィルタ処理を行う。 Specifically, the adaptive loop filter 84 is adapted so that the residual of the original image that is the image output from the screen rearrangement buffer 72 and the image after the adaptive loop filter processing is minimized for each LCU. A filter coefficient used in the processing is calculated. Then, the adaptive loop filter 84 performs adaptive loop filter processing for each LCU, using the calculated filter coefficient, on the image after the adaptive offset filter processing.
 適応ループフィルタ84は、適応ループフィルタ処理後の画像をフレームメモリ85に供給する。また、適応ループフィルタ84は、フィルタ係数を可逆符号化部76に供給する。 The adaptive loop filter 84 supplies the image after the adaptive loop filter processing to the frame memory 85. The adaptive loop filter 84 supplies the filter coefficient to the lossless encoding unit 76.
 なお、ここでは、適応ループフィルタ処理は、LCUごとに行われるものとするが、適応ループフィルタ処理の処理単位は、LCUに限定されない。但し、適応オフセットフィルタ83と適応ループフィルタ84の処理単位を合わせることにより、処理を効率的に行うことができる。 Note that here, the adaptive loop filter processing is performed for each LCU, but the processing unit of the adaptive loop filter processing is not limited to the LCU. However, the processing can be efficiently performed by combining the processing units of the adaptive offset filter 83 and the adaptive loop filter 84.
 フレームメモリ85は、適応ループフィルタ84から供給される画像と、加算部81から供給される画像を蓄積する。フレームメモリ85に蓄積された画像は、参照画像としてスイッチ86を介してイントラ予測部87または動き予測・補償部88に出力される。 The frame memory 85 stores the image supplied from the adaptive loop filter 84 and the image supplied from the adder 81. The image stored in the frame memory 85 is output as a reference image to the intra prediction unit 87 or the motion prediction / compensation unit 88 via the switch 86.
 イントラ予測部87は、フレームメモリ85からスイッチ86を介して読み出された参照画像を用いて、候補となる全てのイントラ予測モードのイントラ予測を行う。また、イントラ予測部87は、従来と同様に候補MostProbableModeを決定し、モードバッファ91から処理対象の予測ブロックとコロケーテッドなベース画像の予測ブロックのベースモードを読み出す。なお、コロケーテッドとは、画面上の位置が対応することを意味する。 The intra prediction unit 87 uses the reference image read from the frame memory 85 via the switch 86 to perform intra prediction in all candidate intra prediction modes. Also, the intra prediction unit 87 determines the candidate MostProbableMode as in the conventional case, and reads the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 91. In addition, collocated means that the position on the screen corresponds.
 イントラ予測部87は、各イントラ予測モード、候補MostProbableMode、および読み出されたベースモードに基づいて、各イントラ予測モードを示す情報を生成する。 The intra prediction unit 87 generates information indicating each intra prediction mode based on each intra prediction mode, candidate MostProbableMode, and the read base mode.
 また、イントラ予測部87は、画面並べ替えバッファ72から読み出された画像、イントラ予測の結果生成される予測画像、およびイントラ予測モードを示す情報等に基づいて、候補となる全てのイントラ予測モードに対してコスト関数値(詳細は後述する)を算出する。そして、イントラ予測部87は、コスト関数値が最小となるイントラ予測モードを、最適イントラ予測モードに決定する。 The intra prediction unit 87 also selects all the intra prediction modes that are candidates based on the image read from the screen rearrangement buffer 72, the prediction image generated as a result of the intra prediction, information indicating the intra prediction mode, and the like. Cost function value (details will be described later). Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode.
 イントラ予測部87は、最適イントラ予測モードで生成された予測画像、および、対応するコスト関数値を、予測画像選択部89に供給する。イントラ予測部87は、予測画像選択部89から最適イントラ予測モードで生成された予測画像の選択が通知された場合、イントラ予測モード情報とスキップモードフラグを必要に応じて可逆符号化部76に供給する。 The intra prediction unit 87 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89. The intra prediction unit 87 supplies the intra prediction mode information and the skip mode flag to the lossless encoding unit 76 as necessary when the prediction image selection unit 89 is notified of the selection of the prediction image generated in the optimal intra prediction mode. To do.
 なお、コスト関数値は、RD(Rate Distortion)コストともいい、例えば、H.264/AVC方式における参照ソフトウエアであるJM(Joint Model)で定められているような、High Complexity モードか、Low Complexity モードのいずれかの手法に基づいて算出される。なお、H.264/AVC方式における参照ソフトウエアは、http://iphome.hhi.de/suehring/tml/index.htmにおいて公開されている。 Note that the cost function value is also called RD (Rate Distortion) cost. It is calculated based on a method of either High Complexity mode or Low Complexity mode as defined by JM (Joint Model) which is reference software in the H.264 / AVC format. H. Reference software in the H.264 / AVC format is published at http://iphome.hhi.de/suehring/tml/index.htm.
 具体的には、コスト関数値の算出手法としてHigh Complexity モードが採用される場合、候補となる全ての予測モードに対して、仮に復号までが行われ、次の式(1)で表わされるコスト関数値が各予測モードに対して算出される。 Specifically, when the High Complexity 採用 mode is employed as a cost function value calculation method, all candidate prediction modes are temporarily decoded until the cost function represented by the following equation (1) A value is calculated for each prediction mode.
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
 Dは、原画像と復号画像の差分(歪)、Rは、直交変換の係数まで含んだ発生符号量、λは、量子化パラメータQPの関数として与えられるラグランジュ未定乗数である。 D is the difference (distortion) between the original image and the decoded image, R is the generated code amount including even the coefficient of orthogonal transformation, and λ is the Lagrange undetermined multiplier given as a function of the quantization parameter QP.
 一方、コスト関数値の算出手法としてLow Complexity モードが採用される場合、候補となる全ての予測モードに対して、予測画像の生成、および、符号化情報の符号量の算出が行われ、次の式(2)で表わされるコスト関数が各予測モードに対して算出される。 On the other hand, when Low Complexity mode is adopted as a cost function value calculation method, prediction image generation and code amount calculation of encoding information are performed for all candidate prediction modes. A cost function represented by Equation (2) is calculated for each prediction mode.
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
 Dは、原画像と予測画像の差分(歪)、Header_Bitは、符号化情報の符号量、QPtoQuantは、量子化パラメータQPの関数として与えられる関数である。 D is the difference (distortion) between the original image and the predicted image, Header_Bit is the code amount of the encoding information, and QPtoQuant is a function given as a function of the quantization parameter QP.
 Low Complexity モードにおいては、全ての予測モードに対して、予測画像を生成するだけでよく、復号画像を生成する必要がないため、演算量が少なくて済む。 In the Low Complexity mode, it is only necessary to generate a prediction image for all prediction modes, and it is not necessary to generate a decoded image.
 動き予測・補償部88は、候補となる全てのインター予測モードの動き予測・補償処理を行う。具体的には、動き予測・補償部88は、画面並べ替えバッファ72から供給される画像と、フレームメモリ85からスイッチ86を介して読み出される参照画像に基づいて、候補となる全てのインター予測モードの動きベクトルを検出する。動き予測・補償部88は、検出された動きベクトルに基づいて参照画像に補償処理を施し、予測画像を生成する。 The motion prediction / compensation unit 88 performs motion prediction / compensation processing for all candidate inter prediction modes. Specifically, the motion prediction / compensation unit 88 selects all the inter prediction modes that are candidates based on the image supplied from the screen rearrangement buffer 72 and the reference image read from the frame memory 85 via the switch 86. The motion vector is detected. The motion prediction / compensation unit 88 performs compensation processing on the reference image based on the detected motion vector, and generates a predicted image.
 このとき、動き予測・補償部88は、画面並べ替えバッファ72から供給される画像と予測画像とに基づいて、候補となる全てのインター予測モードに対してコスト関数値を算出し、コスト関数値が最小となるインター予測モードを最適インター予測モードに決定する。そして、動き予測・補償部88は、最適インター予測モードのコスト関数値と、対応する予測画像を予測画像選択部89に供給する。また、動き予測・補償部88は、予測画像選択部89から最適インター予測モードで生成された予測画像の選択が通知された場合、インター予測モード情報、対応する動きベクトル、参照画像特定情報などを可逆符号化部76に出力する。 At this time, the motion prediction / compensation unit 88 calculates the cost function value for all candidate inter prediction modes based on the image and the predicted image supplied from the screen rearrangement buffer 72, and the cost function value. Is determined to be the optimal inter prediction mode. Then, the motion prediction / compensation unit 88 supplies the cost function value of the optimal inter prediction mode and the corresponding predicted image to the predicted image selection unit 89. In addition, when the prediction image selection unit 89 is notified of selection of a prediction image generated in the optimal inter prediction mode, the motion prediction / compensation unit 88 receives inter prediction mode information, a corresponding motion vector, reference image specifying information, and the like. It outputs to the lossless encoding part 76.
 予測画像選択部89は、イントラ予測部87および動き予測・補償部88から供給されるコスト関数値に基づいて、最適イントラ予測モードと最適インター予測モードのうちの、対応するコスト関数値が小さい方を、最適予測モードに決定する。そして、予測画像選択部89は、最適予測モードの予測画像を、演算部73および加算部81に供給する。また、予測画像選択部89は、最適予測モードの予測画像の選択をイントラ予測部87または動き予測・補償部88に通知する。 Based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 88, the predicted image selection unit 89 has a smaller corresponding cost function value among the optimal intra prediction mode and the optimal inter prediction mode. Are determined as the optimum prediction mode. Then, the predicted image selection unit 89 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81. Further, the predicted image selection unit 89 notifies the intra prediction unit 87 or the motion prediction / compensation unit 88 of selection of the predicted image in the optimal prediction mode.
 レート制御部90は、蓄積バッファ77に蓄積された符号化データに基づいて、オーバーフローあるいはアンダーフローが発生しないように、量子化部75の量子化動作のレートを制御する。 The rate control unit 90 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
 モードバッファ91は、図7のベース符号化部31から供給されるベースモードを記憶する。 The mode buffer 91 stores the base mode supplied from the base encoding unit 31 in FIG.
 (イントラ予測部の構成例)
 図10は、図9のイントラ予測部87の構成例を示すブロック図である。
(Configuration example of intra prediction unit)
FIG. 10 is a block diagram illustrating a configuration example of the intra prediction unit 87 in FIG. 9.
 図10のイントラ予測部87は、生成部111、予測部112、算出部113、判定部114、およびバッファ115により構成される。 10 includes a generation unit 111, a prediction unit 112, a calculation unit 113, a determination unit 114, and a buffer 115.
 イントラ予測部87の生成部111は、バッファ115から処理対象の予測ブロックの上および左に隣接する予測ブロックのイントラ予測モードを読み出す。生成部111は、読み出されたイントラ予測モードに基づいて3つの候補MostProbableModeを生成し、予測部112に供給する。 The generation unit 111 of the intra prediction unit 87 reads the intra prediction mode of the prediction block adjacent on the left and above the processing target prediction block from the buffer 115. The generation unit 111 generates three candidate MostProbableModes based on the read intra prediction mode, and supplies them to the prediction unit 112.
 予測部112は、通常予測部121とスキップ予測部122により構成され、図9のモードバッファ91から、処理対象の予測ブロックとコロケーテッドなベース画像の予測ブロックのベースモードを読み出す。予測部112の通常予測部121は、図9のフレームメモリ85からスイッチ86を介して読み出された参照画像を用いて、候補となるイントラ予測モードのうちのベースモード以外の通常モードのイントラ予測を行う。 The prediction unit 112 includes a normal prediction unit 121 and a skip prediction unit 122, and reads the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 91 in FIG. The normal prediction unit 121 of the prediction unit 112 uses the reference image read out from the frame memory 85 of FIG. 9 via the switch 86 to perform intra prediction of normal modes other than the base mode among candidate intra prediction modes. I do.
 また、通常予測部121は、各通常モードについて、生成部111から供給される候補MostProbableModeを用いて通常モードを示す情報を生成する。具体的には、通常予測部121は、通常モードと候補MostProbableModeを比較し、通常モードが候補MostProbableModeのいずれかと同一である場合、その候補MostProbableModeを特定するインデックスを、通常モードを示す情報として生成する。一方、通常予測部121は、通常モードが候補MostProbableModeのいずれとも異なる場合、その通常モードを示す5ビットの固定長の情報を生成する。 Further, the normal prediction unit 121 generates information indicating the normal mode using the candidate MostProbableMode supplied from the generation unit 111 for each normal mode. Specifically, the normal prediction unit 121 compares the normal mode with the candidate MostProbableMode, and if the normal mode is the same as one of the candidate MostProbableModes, generates an index that identifies the candidate MostProbableMode as information indicating the normal mode. . On the other hand, when the normal mode is different from any of the candidate MostProbableModes, the normal prediction unit 121 generates 5-bit fixed-length information indicating the normal mode.
 通常予測部121は、イントラ予測により生成された予測画像および通常モードを示す情報を算出部113に供給する。 The normal prediction unit 121 supplies the prediction image generated by the intra prediction and information indicating the normal mode to the calculation unit 113.
 スキップ予測部122は、フレームメモリ85からスイッチ86を介して読み出された参照画像を用いて、ベースモードのイントラ予測(Intra Skip Mode予測)を行う。スキップ予測部122は、イントラ予測により生成された予測画像を算出部113に供給する。 The skip prediction unit 122 performs base mode intra prediction (Intra Skip Mode prediction) using the reference image read from the frame memory 85 via the switch 86. The skip prediction unit 122 supplies the prediction image generated by the intra prediction to the calculation unit 113.
 算出部113は、設定部として機能し、通常予測部121から供給される予測画像のスキップモードフラグとして、ベースモードをエンハンスメント画像のイントラ予測モードとして用いないことを表す0を符号化単位であるCU(Coding Unit)単位で設定する。また、算出部113は、スキップ予測部122から供給される予測画像のスキップモードフラグとして、ベースモードをエンハンスメント画像のイントラ予測モードとして用いることを表す1をCU単位で設定する。 The calculation unit 113 functions as a setting unit and, as a skip mode flag of the prediction image supplied from the normal prediction unit 121, 0 indicating that the base mode is not used as the intra prediction mode of the enhancement image is CU that is a coding unit. Set in units of (Coding Unit). In addition, the calculation unit 113 sets 1 representing that the base mode is used as the intra prediction mode of the enhancement image for each CU as the skip mode flag of the prediction image supplied from the skip prediction unit 122.
 算出部113は、通常予測部121から供給される通常モードを示す情報および予測画像、対応するスキップモードフラグ、並びに画面並べ替えバッファ72から読み出された画像に基づいて、その通常モードのコスト関数値を算出する。算出部113は、算出されたコスト関数値、予測画像、通常モードを示す情報、およびスキップモードフラグを判定部114に供給する。 Based on the information indicating the normal mode and the prediction image supplied from the normal prediction unit 121, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72, the calculation unit 113 calculates the cost function of the normal mode. Calculate the value. The calculation unit 113 supplies the calculated cost function value, predicted image, information indicating the normal mode, and the skip mode flag to the determination unit 114.
 また、算出部113は、スキップ予測部122から供給される予測画像、対応するスキップモードフラグ、および画面並べ替えバッファ72から読み出された画像に基づいて、ベースモードのコスト関数値を算出する。算出部113は、算出されたコスト関数値、予測画像、およびスキップモードフラグを判定部114に供給する。 Further, the calculation unit 113 calculates the cost function value of the base mode based on the predicted image supplied from the skip prediction unit 122, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72. The calculation unit 113 supplies the calculated cost function value, predicted image, and skip mode flag to the determination unit 114.
 判定部114は、算出部113から供給されるコスト関数値に基づいて、CU単位で、ベースモード、または、コスト関数値が最小となる通常モードを最適イントラ予測モードとして選択する。 The determination unit 114 selects, as the optimal intra prediction mode, the base mode or the normal mode in which the cost function value is minimum for each CU based on the cost function value supplied from the calculation unit 113.
 例えば、判定部114は、ベースモードにおけるコスト関数値のCU単位の総和と、コスト関数値が最小となる通常モードにおけるコスト関数値のCU単位の総和を比較し、総和がより小さい方を最適イントラ予測モードとして選択する。そして、判定部114は、最適イントラ予測モードで生成された予測画像、および、対応するコスト関数値を、図9の予測画像選択部89に供給する。 For example, the determination unit 114 compares the sum of the cost function values in the CU unit in the base mode with the sum of the cost function values in the CU unit in the normal mode in which the cost function value is the smallest, and determines the smaller sum as the optimal intra Select as prediction mode. Then, the determination unit 114 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89 in FIG.
 予測画像選択部89から最適イントラ予測モードで生成された予測画像の選択が通知された場合、判定部114は、スキップモードフラグを可逆符号化部76に供給する。また、この場合、最適イントラ予測モードが通常モードであるとき、判定部114は、通常モードを示す情報をイントラ予測モード情報として可逆符号化部76に供給する。 When the prediction image selection unit 89 notifies the selection of the prediction image generated in the optimal intra prediction mode, the determination unit 114 supplies the skip mode flag to the lossless encoding unit 76. In this case, when the optimal intra prediction mode is the normal mode, the determination unit 114 supplies information indicating the normal mode to the lossless encoding unit 76 as intra prediction mode information.
 (コロケーテッドなベース画像の予測ブロックの説明)
 図11は、処理対象のエンハンスメント画像の予測ブロックとコロケーテッドなベース画像の予測ブロックを説明する図である。
(Explanation of prediction block of collocated base image)
FIG. 11 is a diagram for explaining a prediction block of an enhancement image to be processed and a prediction block of a collocated base image.
 図11に示すように、処理対象のエンハンスメント画像の予測ブロック141とコロケーテッドなベース画像の予測ブロック142は、予測ブロック141の中央の画素141Aと画面上の位置が対応するベース画像の画素142Aを含む予測ブロックである。または、予測ブロック142は、予測ブロック141の左上の画素141Bと画面上の位置が対応するベース画像の画素142Bを含む予測ブロックである。 As shown in FIG. 11, the prediction block 141 of the enhancement image to be processed and the prediction block 142 of the collocated base image include the pixel 142 </ b> A of the base image whose position on the screen corresponds to the center pixel 141 </ b> A of the prediction block 141. It is a prediction block. Alternatively, the prediction block 142 is a prediction block including a base image pixel 142B whose position on the screen corresponds to the pixel 141B in the upper left of the prediction block 141.
 なお、エンハンスメント画像の予測ブロックとコロケーテッドなベース画像の予測ブロックが、画枠外であることなどにより存在しない場合、ベースモードはモードバッファ91から読み出されない。従って、スキップ予測部122はイントラ予測を行わず、スキップモードフラグは0になる。 Note that the base mode is not read from the mode buffer 91 when the prediction block of the enhancement image and the prediction block of the collocated base image do not exist because they are outside the image frame. Accordingly, the skip prediction unit 122 does not perform intra prediction, and the skip mode flag becomes 0.
 この場合、スキップ予測部122は、コロケーテッドなベース画像の予測ブロックのベースモードをDCモードとしてイントラ予測を行うようにしてもよい。例えば、エンハンスメント画像のCU内の一部の予測ブロックのコロケーテッドなベース画像の予測ブロックが存在しない場合、スキップ予測部122は、その予測ブロックのベースモードをDCモードとしてイントラ予測を行うことができる。 In this case, the skip prediction unit 122 may perform intra prediction using the base mode of the prediction block of the collocated base image as the DC mode. For example, when there is no predicted block of the collocated base image of some prediction blocks in the CU of the enhancement image, the skip prediction unit 122 can perform intra prediction with the base mode of the prediction block as the DC mode.
 (符号化単位の説明)
 図12は、HEVC方式における符号化単位であるCoding UNIT(CU)を説明する図である。
(Description of coding unit)
FIG. 12 is a diagram for explaining Coding UNIT (CU), which is a coding unit in the HEVC scheme.
 HEVC方式では、4000画素×2000画素のUHD(Ultra High Definition)などのような大きな画枠の画像も対象としているため、符号化単位のサイズを16画素×16画素に固定することは最適ではない。従って、HEVC方式では、符号化単位としてCUが定義されている。 Since the HEVC system also targets images with large image frames such as UHD (Ultra High Definition) with 4000 pixels by 2000 pixels, it is not optimal to fix the encoding unit size to 16 pixels by 16 pixels. . Therefore, in the HEVC scheme, CU is defined as a coding unit.
 CUは、Coding Tree Block(CTB)とも呼ばれ、AVC方式におけるマクロブロックと同様の役割を果たす。具体的には、CUは、イントラ予測またはインター予測の単位であるPrediction Unit(PU)に分割されたり、直交変換の単位であるTransform Unit(TU)に分割されたりする。但し、CUのサイズは、シーケンスごとに可変の、2のべき乗画素で表される正方形である。また、現在、HEVC方式においては、TUのサイズとして、4×4画素、8×8画素のほか、16×16画素および32×32画素も用いることが可能である。 CU is also called Coding Tree Block (CTB) and plays the same role as a macroblock in the AVC method. Specifically, the CU is divided into Prediction Unit (PU) that is a unit of intra prediction or inter prediction, or is divided into Transform Unit (TU) that is a unit of orthogonal transformation. However, the size of the CU is a square represented by a power-of-two pixel that is variable for each sequence. At present, in the HEVC system, it is possible to use 4 × 4 pixels and 8 × 8 pixels as well as 16 × 16 pixels and 32 × 32 pixels as the TU size.
 図12の例では、最大のサイズのCUであるLCUのサイズが128であり、最小のサイズのCUであるSCU(Smallest Coding Unit)のサイズが8である。従って、Nごとに階層化された2N×2NのサイズのCUの階層深度(depth)は0乃至4となり、階層深度数は5となる。また、2N×2NのサイズのCUは、split_flagの値が1である場合、1つ下の階層である、N×NのサイズのCUに分割される。 In the example of FIG. 12, the size of the LCU that is the maximum size CU is 128, and the size of the SCU (Smallest® Coding Unit) that is the minimum size CU is 8. Therefore, the layer depth (depth) of a 2N × 2N size CU layered for each N is 0 to 4, and the number of layer depths is 5. Further, when the value of split_flag is 1, the 2N × 2N size CU is divided into N × N size CUs, which are one layer below.
 LCUとSCUのサイズを指定する情報は、SPSに含められる。なお、CUの詳細については、非特許文献1に記載されている。 ∙ Information specifying the LCU and SCU sizes is included in the SPS. Details of the CU are described in Non-Patent Document 1.
 (エンハンスメント画像のCU単位の符号化データのシンタックスの例)
 図13および図14は、エンハンスメント画像のCU単位の符号化データのシンタックスの例を示す図である。
(Example of syntax of encoded data of CU unit of enhancement image)
FIG. 13 and FIG. 14 are diagrams illustrating an example of syntax of encoded data of CU units of enhancement images.
 図13の22行目に示すように、エンハンスメント画像のCU単位の符号化データには、最適予測モードがイントラ予測モードであり、データがPCM(Pulse Code Modulation)データではないとき、スキップモードフラグ(intra_skip_mode_flag)が含まれる。23乃至35行目に示すように、スキップモードフラグが0である場合、イントラ予測モード情報が記述される。 As shown in the 22nd line of FIG. 13, in the encoded data of the enhancement image in the CU unit, when the optimal prediction mode is the intra prediction mode and the data is not PCM (Pulse Code Modulation) data, the skip mode flag ( intra_skip_mode_flag). As shown in the 23rd to 35th lines, when the skip mode flag is 0, intra prediction mode information is described.
 (符号化装置の処理の説明)
 図15は、図7の符号化装置30の階層符号化処理を説明するフローチャートである。
(Description of processing of encoding device)
FIG. 15 is a flowchart illustrating the hierarchical encoding process of the encoding device 30 in FIG.
 図15のステップS11において、符号化装置30のベース符号化部31は、外部から入力されたベース画像をHEVC方式で符号化し、パラメータセットを付加することによりベースストリームを生成する。そして、ベース符号化部31は、ベースストリームを合成部33に供給する。 In FIG.15 S11, the base encoding part 31 of the encoding apparatus 30 encodes the base image input from the outside by a HEVC system, and produces | generates a base stream by adding a parameter set. Then, the base encoding unit 31 supplies the base stream to the synthesis unit 33.
 ステップS12において、ベース符号化部31は、ベース画像のイントラ予測モードをエンハンスメント符号化部32に供給する。 In step S12, the base encoding unit 31 supplies the intra prediction mode of the base image to the enhancement encoding unit 32.
 ステップS13において、エンハンスメント符号化部32の設定部51(図8)は、エンハンスメント画像のパラメータセットを設定する。ステップS14において、符号化部52は、外部から入力されたエンハンスメント画像を符号化するエンハンスメント符号化処理を行う。このエンハンスメント符号化処理の詳細は、後述する図16および図17を参照して説明する。 In step S13, the setting unit 51 (FIG. 8) of the enhancement encoding unit 32 sets a parameter set for the enhancement image. In step S14, the encoding unit 52 performs enhancement encoding processing for encoding an enhancement image input from the outside. Details of the enhancement encoding process will be described with reference to FIGS. 16 and 17 described later.
 ステップS15において、符号化部52の生成部78(図9)は、ステップS14で生成された符号化データと、設定部51から供給されるパラメータセットからエンハンスメントストリームを生成する。 In step S15, the generation unit 78 (FIG. 9) of the encoding unit 52 generates an enhancement stream from the encoded data generated in step S14 and the parameter set supplied from the setting unit 51.
 ステップS16において、合成部33は、ベース符号化部31から供給されるベースストリームとエンハンスメント符号化部32から供給されるエンハンスメントストリームを合成し、全階層の符号化ストリームを生成する。合成部33は、全階層の符号化ストリームを伝送部34に供給する。 In step S16, the synthesizing unit 33 synthesizes the base stream supplied from the base encoding unit 31 and the enhancement stream supplied from the enhancement encoding unit 32 to generate an encoded stream of all layers. The synthesis unit 33 supplies the encoded stream of all layers to the transmission unit 34.
 ステップS17において、伝送部34は、合成部33から供給される全階層の符号化ストリームを後述する復号装置に伝送する。 In step S17, the transmission unit 34 transmits the encoded stream of all layers supplied from the synthesis unit 33 to a decoding device to be described later.
 図16および図17は、図15のステップS14のエンハンスメント符号化処理の詳細を説明するフローチャートである。 FIGS. 16 and 17 are flowcharts illustrating details of the enhancement encoding process in step S14 of FIG.
 図16のステップS31において、符号化部52のA/D変換部71は、入力信号として入力されたフレーム単位のエンハンスメント画像をA/D変換し、画面並べ替えバッファ72に出力して記憶させる。 16, the A / D conversion unit 71 of the encoding unit 52 performs A / D conversion on the enhancement image in units of frames input as an input signal, and outputs and stores the enhancement image in the screen rearrangement buffer 72.
 ステップS32において、画面並べ替えバッファ72は、記憶した表示の順番のフレームのエンハンスメント画像を、GOP構造に応じて、符号化のための順番に並べ替える。画面並べ替えバッファ72は、並べ替え後のフレーム単位のエンハンスメント画像を、演算部73、イントラ予測部87、および動き予測・補償部88に供給する。 In step S32, the screen rearrangement buffer 72 rearranges the enhancement images of the frames in the stored display order in the order for encoding according to the GOP structure. The screen rearrangement buffer 72 supplies the frame-based enhancement image after the rearrangement to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 88.
 ステップS33において、イントラ予測部87は、候補となる全てのイントラ予測モードのイントラ予測処理を行う。このイントラ予測処理の詳細は、後述する図18を参照して説明する。 In step S33, the intra prediction unit 87 performs intra prediction processing for all candidate intra prediction modes. The details of this intra prediction process will be described with reference to FIG.
 また、動き予測・補償部88は、候補となる全てのインター予測モードの動き予測・補償処理を行う。また、動き予測・補償部88は、画面並べ替えバッファ72から供給されるエンハンスメント画像と予測画像とに基づいて、候補となる全てのインター予測モードに対してコスト関数値を算出し、コスト関数値が最小となるインター予測モードを最適インター予測モードに決定する。そして、動き予測・補償部88は、最適インター予測モードのコスト関数値と、対応する予測画像を予測画像選択部89に供給する。 Also, the motion prediction / compensation unit 88 performs motion prediction / compensation processing for all candidate inter prediction modes. In addition, the motion prediction / compensation unit 88 calculates cost function values for all candidate inter prediction modes based on the enhancement image and the prediction image supplied from the screen rearrangement buffer 72, and the cost function value. Is determined to be the optimal inter prediction mode. Then, the motion prediction / compensation unit 88 supplies the cost function value of the optimal inter prediction mode and the corresponding predicted image to the predicted image selection unit 89.
 ステップS34において、予測画像選択部89は、ステップS33の処理によりイントラ予測部87および動き予測・補償部88から供給されるコスト関数値に基づいて、最適イントラ予測モードと最適インター予測モードのうちのコスト関数値が最小となる方を、最適予測モードに決定する。そして、予測画像選択部89は、最適予測モードの予測画像を、演算部73および加算部81に供給する。 In step S34, the prediction image selection unit 89 selects the optimal intra prediction mode or the optimal inter prediction mode based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 88 by the process of step S33. The one with the smallest cost function value is determined as the optimum prediction mode. Then, the predicted image selection unit 89 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81.
 ステップS35において、予測画像選択部89は、最適予測モードが最適インター予測モードであるかどうかを判定する。ステップS35で最適予測モードが最適インター予測モードであると判定された場合、予測画像選択部89は、最適インター予測モードで生成された予測画像の選択を動き予測・補償部88に通知する。 In step S35, the predicted image selection unit 89 determines whether or not the optimal prediction mode is the optimal inter prediction mode. When it is determined in step S35 that the optimal prediction mode is the optimal inter prediction mode, the predicted image selection unit 89 notifies the motion prediction / compensation unit 88 of selection of the predicted image generated in the optimal inter prediction mode.
 そして、ステップS36において、動き予測・補償部88は、インター予測モード情報、動きベクトル、および参照画像特定情報を可逆符号化部76に供給し、処理をステップS38に進める。 In step S36, the motion prediction / compensation unit 88 supplies the inter prediction mode information, the motion vector, and the reference image specifying information to the lossless encoding unit 76, and the process proceeds to step S38.
 一方、ステップS35で最適予測モードが最適インター予測モードではないと判定された場合、即ち最適予測モードが最適イントラ予測モードである場合、予測画像選択部89は、最適イントラ予測モードで生成された予測画像の選択をイントラ予測部87に通知する。 On the other hand, when it is determined in step S35 that the optimal prediction mode is not the optimal inter prediction mode, that is, when the optimal prediction mode is the optimal intra prediction mode, the prediction image selection unit 89 performs prediction generated in the optimal intra prediction mode. The intra prediction unit 87 is notified of image selection.
 そして、ステップS37において、イントラ予測部87の判定部114(図10)は、イントラ予測モード情報とスキップモードフラグまたはスキップモードフラグのみを可逆符号化部76に供給する。 In step S37, the determination unit 114 (FIG. 10) of the intra prediction unit 87 supplies the intra prediction mode information and the skip mode flag or only the skip mode flag to the lossless encoding unit 76.
 具体的には、判定部114は、最適イントラ予測モードが通常モードである場合イントラ予測モード情報とスキップモードフラグとしての0を供給し、ベースモードである場合スキップモードフラグとしての1のみを供給する。また、判定部114は、最適イントラ予測モードをバッファ115に供給し、記憶させる。そして、処理はステップS38に進む。 Specifically, the determination unit 114 supplies intra prediction mode information and 0 as a skip mode flag when the optimal intra prediction mode is the normal mode, and supplies only 1 as a skip mode flag when the optimal intra prediction mode is the base mode. . Further, the determination unit 114 supplies the optimal intra prediction mode to the buffer 115 and stores it. Then, the process proceeds to step S38.
 ステップS38において、演算部73は、画面並べ替えバッファ72から供給されるエンハンスメント画像から、予測画像選択部89から供給される予測画像を減算することにより符号化を行う。演算部73は、その結果得られる画像を、残差情報として直交変換部74に出力する。 In step S38, the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 89 from the enhancement image supplied from the screen rearrangement buffer 72. The computing unit 73 outputs the resulting image to the orthogonal transform unit 74 as residual information.
 ステップS39において、直交変換部74は、演算部73からの残差情報に対して直交変換を施し、その結果得られる直交変換係数を量子化部75に供給する。 In step S39, the orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 and supplies the resulting orthogonal transform coefficient to the quantization unit 75.
 ステップS40において、量子化部75は、直交変換部74から供給される係数を量子化し、その結果得られる係数を可逆符号化部76と逆量子化部79に供給する。 In step S40, the quantization unit 75 quantizes the coefficient supplied from the orthogonal transform unit 74, and supplies the coefficient obtained as a result to the lossless encoding unit 76 and the inverse quantization unit 79.
 図17のステップS41において、逆量子化部79は、量子化部75から供給される量子化された係数を逆量子化し、その結果得られる直交変換係数を逆直交変換部80に供給する。 17, the inverse quantization unit 79 inversely quantizes the quantized coefficient supplied from the quantization unit 75, and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 80.
 ステップS42において、逆直交変換部80は、逆量子化部79から供給される直交変換係数に対して逆直交変換を施し、その結果得られる残差情報を加算部81に供給する。 In step S42, the inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79, and supplies the residual information obtained as a result to the addition unit 81.
 ステップS43において、加算部81は、逆直交変換部80から供給される残差情報と、予測画像選択部89から供給される予測画像を加算し、局部的に復号された画像を得る。加算部81は、得られた画像をデブロックフィルタ82に供給するとともに、フレームメモリ85に供給する。 In step S43, the adding unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the predicted image supplied from the predicted image selecting unit 89, and obtains a locally decoded image. The adder 81 supplies the obtained image to the deblock filter 82 and also supplies it to the frame memory 85.
 ステップS44において、デブロックフィルタ82は、加算部81から供給される局部的に復号された画像に対して、デブロッキングフィルタ処理を行う。デブロックフィルタ82は、その結果得られる画像を適応オフセットフィルタ83に供給する。 In step S44, the deblocking filter 82 performs a deblocking filtering process on the locally decoded image supplied from the adding unit 81. The deblocking filter 82 supplies the resulting image to the adaptive offset filter 83.
 ステップS45において、適応オフセットフィルタ83は、デブロックフィルタ82によるデブロッキングフィルタ処理後の画像に対して、適応オフセットフィルタ処理を行う。そして、適応オフセットフィルタ83は、適応オフセットフィルタ処理後の画像を適応ループフィルタ84に供給する。また、適応オフセットフィルタ83は、適応オフセット処理の種類およびオフセットをオフセット情報として可逆符号化部76に供給する。 In step S45, the adaptive offset filter 83 performs adaptive offset filter processing on the image after the deblocking filter processing by the deblocking filter 82. Then, the adaptive offset filter 83 supplies the image after the adaptive offset filter processing to the adaptive loop filter 84. The adaptive offset filter 83 supplies the type and offset of the adaptive offset process to the lossless encoding unit 76 as offset information.
 ステップS46において、適応ループフィルタ84は、適応オフセットフィルタ83から供給される画像に対して、LCUごとに適応ループフィルタ処理を行う。適応ループフィルタ84は、その結果得られる画像をフレームメモリ85に供給する。また、適応ループフィルタ84は、適応ループフィルタ処理で用いられたフィルタ係数を可逆符号化部76に供給する。 In step S46, the adaptive loop filter 84 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 83. The adaptive loop filter 84 supplies the resulting image to the frame memory 85. The adaptive loop filter 84 also supplies the filter coefficient used in the adaptive loop filter process to the lossless encoding unit 76.
 ステップS47において、フレームメモリ85は、適応ループフィルタ84から供給される画像と加算部81から供給される画像を蓄積する。フレームメモリ85に蓄積された画像は、参照画像としてスイッチ86を介してイントラ予測部87または動き予測・補償部88に出力される。 In step S47, the frame memory 85 stores the image supplied from the adaptive loop filter 84 and the image supplied from the adder 81. The image stored in the frame memory 85 is output as a reference image to the intra prediction unit 87 or the motion prediction / compensation unit 88 via the switch 86.
 ステップS48において、可逆符号化部76は、イントラ予測モード情報およびスキップモードフラグ、または、インター予測モード情報、動きベクトル、および参照画像特定情報、オフセット情報、並びにフィルタ係数を、符号化情報として可逆符号化する。 In step S48, the lossless encoding unit 76 uses the intra prediction mode information and the skip mode flag, or the inter prediction mode information, the motion vector, the reference image specifying information, the offset information, and the filter coefficient as encoding information. Turn into.
 ステップS49において、可逆符号化部76は、量子化部75から供給される量子化された係数を可逆符号化する。そして、可逆符号化部76は、ステップS48の処理で可逆符号化された符号化情報と可逆符号化された係数から、符号化データを生成し、蓄積バッファ77に供給する。 In step S49, the lossless encoding unit 76 losslessly encodes the quantized coefficient supplied from the quantization unit 75. Then, the lossless encoding unit 76 generates encoded data from the encoding information that has been losslessly encoded in the process of step S 48 and the losslessly encoded coefficient, and supplies the encoded data to the accumulation buffer 77.
 ステップS50において、蓄積バッファ77は、可逆符号化部76から供給される符号化データを、一時的に蓄積する。 In step S50, the accumulation buffer 77 temporarily accumulates the encoded data supplied from the lossless encoding unit 76.
 ステップS51において、レート制御部90は、蓄積バッファ77に蓄積された符号化データに基づいて、オーバーフローあるいはアンダーフローが発生しないように、量子化部75の量子化動作のレートを制御する。 In step S51, the rate control unit 90 controls the quantization operation rate of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
 ステップS52において、蓄積バッファ77は、記憶している符号化データを、生成部78に出力する。そして、処理は、図15のステップS14に戻り、ステップS15に進む。 In step S52, the accumulation buffer 77 outputs the stored encoded data to the generation unit 78. And a process returns to step S14 of FIG. 15, and progresses to step S15.
 なお、図16および図17の符号化処理では、説明を簡単化するため、常に、イントラ予測処理と動き予測・補償処理が行われるようにしたが、実際には、ピクチャタイプ等によっていずれか一方のみが行われる場合もある。 In the encoding processing of FIGS. 16 and 17, in order to simplify the description, the intra prediction processing and the motion prediction / compensation processing are always performed, but in actuality, either one of them depends on the picture type or the like. Sometimes only.
 図18は、図16のステップS33のイントラ予測処理の詳細を説明するフローチャートである。 FIG. 18 is a flowchart for explaining the details of the intra prediction process in step S33 of FIG.
 図18のステップS71において、イントラ予測部87の生成部111(図10)は、バッファ115から処理対象の予測ブロックの上および左に隣接する予測ブロックのイントラ予測モードを読み出す。ステップS72において、生成部111は、読み出されたイントラ予測モードに基づいて3つの候補MostProbableModeを生成し、予測部112に供給する。 In FIG.18 S71, the production | generation part 111 (FIG. 10) of the intra estimation part 87 reads the intra prediction mode of the prediction block adjacent to the prediction block of a process target from the buffer 115 on the left. In step S <b> 72, the generation unit 111 generates three candidate MostProbableModes based on the read intra prediction mode, and supplies them to the prediction unit 112.
 ステップS73において、予測部112は、図9のモードバッファ91から、処理対象の予測ブロックとコロケーテッドなベース画像のベースモードを読み出す。 In step S73, the prediction unit 112 reads the base block of the processing target prediction block and the collocated base image from the mode buffer 91 of FIG.
 ステップS74において、通常予測部121は、フレームメモリ85からスイッチ86を介して読み出された参照画像を用いて、候補となるイントラ予測モードのうちのベースモード以外の通常モードのイントラ予測を行う。 In step S74, the normal prediction unit 121 performs intra prediction in a normal mode other than the base mode among the candidate intra prediction modes, using the reference image read from the frame memory 85 via the switch 86.
 ステップS75において、通常予測部121は、各通常モードについて、生成部111から供給される候補MostProbableModeを用いて通常モードを示す情報を生成する。通常予測部121は、イントラ予測により生成された予測画像と通常モードを示す情報を算出部113に供給する。 In step S75, the normal prediction unit 121 generates information indicating the normal mode using the candidate MostProbableMode supplied from the generation unit 111 for each normal mode. The normal prediction unit 121 supplies the prediction image generated by the intra prediction and information indicating the normal mode to the calculation unit 113.
 ステップS76において、スキップ予測部122は、フレームメモリ85からスイッチ86を介して読み出された参照画像を用いて、ベースモードのイントラ予測を行う。スキップ予測部122は、イントラ予測により生成された予測画像を算出部113に供給する。 In step S76, the skip prediction unit 122 performs base mode intra prediction using the reference image read from the frame memory 85 via the switch 86. The skip prediction unit 122 supplies the prediction image generated by the intra prediction to the calculation unit 113.
 ステップS77において、スキップ予測部122は、予測画像のスキップモードフラグを設定する。具体的には、スキップ予測部122は、通常予測部121から供給される予測画像のスキップモードフラグを0に設定し、スキップ予測部122から供給される予測画像のスキップモードフラグを1に設定する。 In step S77, the skip prediction unit 122 sets a skip mode flag of the predicted image. Specifically, the skip prediction unit 122 sets the skip mode flag of the prediction image supplied from the normal prediction unit 121 to 0, and sets the skip mode flag of the prediction image supplied from the skip prediction unit 122 to 1. .
 ステップS78において、算出部113は、通常予測部121から供給される通常モードを示す情報および予測画像、対応するスキップモードフラグ、並びに画面並べ替えバッファ72から読み出された画像に基づいて、その通常モードのコスト関数値を算出する。算出部113は、算出されたコスト関数値、予測画像、通常モードを示す情報、およびスキップモードフラグを判定部114に供給する。 In step S <b> 78, the calculation unit 113 calculates the normal based on the information indicating the normal mode and the predicted image supplied from the normal prediction unit 121, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72. Calculate the cost function value of the mode. The calculation unit 113 supplies the calculated cost function value, predicted image, information indicating the normal mode, and the skip mode flag to the determination unit 114.
 また、算出部113は、スキップ予測部122から供給される予測画像、対応するスキップモードフラグ、および画面並べ替えバッファ72から読み出された画像に基づいて、ベースモードのコスト関数値を算出する。算出部113は、算出されたコスト関数値、予測画像、およびスキップモードフラグを判定部114に供給する。 Further, the calculation unit 113 calculates the cost function value of the base mode based on the predicted image supplied from the skip prediction unit 122, the corresponding skip mode flag, and the image read from the screen rearrangement buffer 72. The calculation unit 113 supplies the calculated cost function value, predicted image, and skip mode flag to the determination unit 114.
 ステップS79において、判定部114は、算出部113から供給されるコスト関数値に基づいて、CU単位で、ベースモード、または、コスト関数値が最小となる通常モードを最適イントラ予測モードとして決定する。判定部114は、最適イントラ予測モードで生成された予測画像、および、対応するコスト関数値を、図9の予測画像選択部89に供給する。 In step S79, based on the cost function value supplied from the calculation unit 113, the determination unit 114 determines a base mode or a normal mode that minimizes the cost function value as the optimal intra prediction mode for each CU. The determination unit 114 supplies the predicted image generated in the optimal intra prediction mode and the corresponding cost function value to the predicted image selection unit 89 in FIG.
 以上のように、符号化装置30は、ベースモードをエンハンスメント画像のイントラ予測モードとして用いてエンハンスメント画像のイントラ予測を行う場合、イントラスキップモードを1に設定する。これにより、ベース画像とエンハンスメント画像のイントラ予測モードを共有することができる。その結果、ベース画像とエンハンスメント画像のイントラ予測モードが重複して伝送されず、符号化効率が向上する。 As described above, the encoding device 30 sets the intra skip mode to 1 when performing the intra prediction of the enhancement image using the base mode as the intra prediction mode of the enhancement image. Thereby, the intra prediction mode of a base image and an enhancement image can be shared. As a result, the intra prediction modes of the base image and the enhancement image are not transmitted redundantly, and the coding efficiency is improved.
 また、候補MostProbableModeの数は従来と同一であるため、イントラ予測モード情報の生成時に、イントラ予測モードと候補MostProbableModeを比較する処理の処理量(演算量)は増加しない。従って、少ない処理量でベース画像とエンハンスメント画像のイントラ予測モードを共有することができるといえる。 In addition, since the number of candidate MostProbableModes is the same as the conventional one, the amount of processing (calculation amount) for comparing the intra prediction mode and the candidate MostProbableMode does not increase when generating the intra prediction mode information. Therefore, it can be said that the intra prediction mode of the base image and the enhancement image can be shared with a small amount of processing.
 また、符号化装置30は、スキップモードフラグをCU単位で伝送する。これに対して、ベースモードを候補MostProbableModeの1つとする場合には、イントラ予測モードがベースモードであることを示す情報として、ベースモードを特定する候補MostProbableModeのインデックスを予測ブロック単位で伝送する必要がある。従って、符号化装置30は、ベースモードを候補MostProbableModeの1つとする場合に比べて符号化効率を向上させることができる。 Also, the encoding device 30 transmits a skip mode flag in units of CUs. On the other hand, when the base mode is one of the candidate MostProbableModes, it is necessary to transmit the index of the candidate MostProbableMode specifying the base mode in units of prediction blocks as information indicating that the intra prediction mode is the base mode. is there. Therefore, the encoding apparatus 30 can improve encoding efficiency compared with the case where the base mode is one of the candidate MostProbableModes.
 (復号装置の一実施の形態の構成例)
 図19は、図7の符号化装置30から伝送される全階層の符号化ストリームを復号する、本開示を適用した復号装置の一実施の形態の構成例を示すブロック図である。
(Configuration example of one embodiment of decoding device)
FIG. 19 is a block diagram illustrating a configuration example of an embodiment of a decoding device to which the present disclosure is applied, which decodes an encoded stream of all layers transmitted from the encoding device 30 of FIG.
 図19の復号装置160は、受け取り部161、分離部162、ベース復号部163、およびエンハンスメント復号部164により構成される。 19 includes a receiving unit 161, a separating unit 162, a base decoding unit 163, and an enhancement decoding unit 164.
 受け取り部161は、図7の符号化装置30から伝送されてくる全階層の符号化ストリームを受け取り、分離部162に供給する。 The receiving unit 161 receives the encoded stream of all layers transmitted from the encoding device 30 in FIG. 7 and supplies it to the separating unit 162.
 分離部162は、受け取り部161から供給される全階層の符号化ストリームからベースストリームを分離してベース復号部163に供給し、エンハンスメントストリームを分離してエンハンスメント復号部164に供給する。 The separating unit 162 separates the base stream from the encoded streams of all layers supplied from the receiving unit 161 and supplies the base stream to the base decoding unit 163, and separates the enhancement stream and supplies the enhancement stream to the enhancement decoding unit 164.
 ベース復号部163は、従来のHEVC方式の復号装置と同様に構成され、分離部162から供給されるベースストリームをHEVC方式で復号し、ベース画像を生成する。ベース復号部163は、ベースモードをエンハンスメント復号部164に供給し、生成されたベース画像を出力する。 The base decoding unit 163 is configured in the same manner as a conventional HEVC decoding device, decodes the base stream supplied from the separation unit 162 using the HEVC method, and generates a base image. The base decoding unit 163 supplies the base mode to the enhancement decoding unit 164 and outputs the generated base image.
 エンハンスメント復号部164は、分離部162から供給されるエンハンスメントストリームをHEVC方式に準ずる方式で復号し、エンハンスメント画像を生成する。このとき、エンハンスメント復号部164は、ベース復号部163から供給されるベースモードを参照する。エンハンスメント復号部164は、生成されたエンハンスメント画像を出力する。 The enhancement decoding unit 164 decodes the enhancement stream supplied from the demultiplexing unit 162 by a method according to the HEVC method, and generates an enhancement image. At this time, the enhancement decoding unit 164 refers to the base mode supplied from the base decoding unit 163. The enhancement decoding unit 164 outputs the generated enhancement image.
 (エンハンスメント復号部の構成例)
 図20は、図19のエンハンスメント復号部164の構成例を示すブロック図である。
(Configuration example of enhancement decoding unit)
FIG. 20 is a block diagram illustrating a configuration example of the enhancement decoding unit 164 of FIG.
 図20のエンハンスメント復号部164は、抽出部181と復号部182により構成される。 The enhancement decoding unit 164 in FIG. 20 includes an extraction unit 181 and a decoding unit 182.
 エンハンスメント復号部164の抽出部181は、図19の分離部162から供給されるエンハンスメントストリームから、パラメータセットと符号化データを抽出し、復号部182に供給する。 The extraction unit 181 of the enhancement decoding unit 164 extracts a parameter set and encoded data from the enhancement stream supplied from the separation unit 162 in FIG. 19 and supplies the extracted parameter set and encoded data to the decoding unit 182.
 復号部182は、図19のベース復号部163から供給されるベースモードを参照して、抽出部181から供給される符号化データをHEVC方式に準ずる方式で復号する。このとき、復号部182は、必要に応じて、抽出部181から供給されるパラメータセットも参照する。復号部182は、復号の結果得られる画像を、エンハンスメント画像として出力する。 The decoding unit 182 refers to the base mode supplied from the base decoding unit 163 in FIG. 19, and decodes the encoded data supplied from the extraction unit 181 by a method according to the HEVC method. At this time, the decoding unit 182 refers to the parameter set supplied from the extraction unit 181 as necessary. The decoding unit 182 outputs an image obtained as a result of decoding as an enhancement image.
 (復号部の構成例)
 図21は、図20の復号部182の構成例を示すブロック図である。
(Configuration example of decoding unit)
FIG. 21 is a block diagram illustrating a configuration example of the decoding unit 182 of FIG.
 図21の復号部182は、蓄積バッファ201、可逆復号部202、逆量子化部203、逆直交変換部204、加算部205、デブロックフィルタ206、適応オフセットフィルタ207、適応ループフィルタ208、画面並べ替えバッファ209、D/A変換部210、フレームメモリ211、スイッチ212、イントラ予測部213、動き補償部214、スイッチ215、およびモードバッファ216により構成される。 21 includes an accumulation buffer 201, a lossless decoding unit 202, an inverse quantization unit 203, an inverse orthogonal transform unit 204, an addition unit 205, a deblock filter 206, an adaptive offset filter 207, an adaptive loop filter 208, a screen arrangement, and the like. It comprises a replacement buffer 209, a D / A conversion unit 210, a frame memory 211, a switch 212, an intra prediction unit 213, a motion compensation unit 214, a switch 215, and a mode buffer 216.
 復号部182の蓄積バッファ201は、図20の抽出部181から符号化データを受け取り、蓄積する。蓄積バッファ201は、蓄積されている符号化データを可逆復号部202に供給する。 The accumulation buffer 201 of the decoding unit 182 receives and accumulates encoded data from the extraction unit 181 of FIG. The accumulation buffer 201 supplies the accumulated encoded data to the lossless decoding unit 202.
 可逆復号部202は、蓄積バッファ201からの符号化データに対して、図9の可逆符号化部76の可逆符号化に対応する、可変長復号や、算術復号等の可逆復号を施すことで、量子化された係数と符号化情報を得る。可逆復号部202は、量子化された係数を逆量子化部203に供給する。また、可逆復号部202は、符号化情報としてのイントラ予測モード情報とスキップモードフラグまたはスキップモードフラグのみをイントラ予測部213に供給し、動きベクトル、インター予測モード情報、参照画像特定情報などを動き補償部214に供給する。 The lossless decoding unit 202 performs lossless decoding such as variable length decoding and arithmetic decoding corresponding to the lossless encoding of the lossless encoding unit 76 of FIG. 9 on the encoded data from the accumulation buffer 201, Obtain quantized coefficients and encoding information. The lossless decoding unit 202 supplies the quantized coefficient to the inverse quantization unit 203. Further, the lossless decoding unit 202 supplies only intra prediction mode information and skip mode flag or skip mode flag as encoded information to the intra prediction unit 213, and moves motion vectors, inter prediction mode information, reference image specifying information, and the like. This is supplied to the compensation unit 214.
 また、可逆復号部202は、符号化情報にインター予測モード情報が含まれない場合、スイッチ215にイントラ予測部213の選択を指示し、インター予測モード情報が含まれる場合、スイッチ215に動き補償部214の選択を指示する。可逆復号部202は、符号化情報としてのオフセット情報を適応オフセットフィルタ207に供給し、フィルタ係数を適応ループフィルタ208に供給する。 Also, the lossless decoding unit 202 instructs the switch 215 to select the intra prediction unit 213 when the encoded information does not include inter prediction mode information, and if the inter prediction mode information is included, the lossless decoding unit 202 instructs the switch 215 to select a motion compensation unit. The selection of 214 is instructed. The lossless decoding unit 202 supplies offset information as encoded information to the adaptive offset filter 207 and supplies filter coefficients to the adaptive loop filter 208.
 逆量子化部203、逆直交変換部204、加算部205、デブロックフィルタ206、適応オフセットフィルタ207、適応ループフィルタ208、フレームメモリ211、スイッチ212、イントラ予測部213、および、動き補償部214は、図9の逆量子化部79、逆直交変換部80、加算部81、デブロックフィルタ82、適応オフセットフィルタ83、適応ループフィルタ84、フレームメモリ85、スイッチ86、イントラ予測部87、および、動き予測・補償部88とそれぞれ同様の処理を行い、これにより、画像が復号される。 The inverse quantization unit 203, the inverse orthogonal transform unit 204, the addition unit 205, the deblock filter 206, the adaptive offset filter 207, the adaptive loop filter 208, the frame memory 211, the switch 212, the intra prediction unit 213, and the motion compensation unit 214 9, an inverse quantization unit 79, an inverse orthogonal transform unit 80, an addition unit 81, a deblock filter 82, an adaptive offset filter 83, an adaptive loop filter 84, a frame memory 85, a switch 86, an intra prediction unit 87, and motion The same processing as that performed by the prediction / compensation unit 88 is performed, whereby the image is decoded.
 具体的には、逆量子化部203は、可逆復号部202からの量子化された係数を逆量子化し、その結果得られる直交変換係数を逆直交変換部204に供給する。 Specifically, the inverse quantization unit 203 inversely quantizes the quantized coefficient from the lossless decoding unit 202 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 204.
 逆直交変換部204は、逆量子化部203からの直交変換係数に対して逆直交変換を行う。逆直交変換部204は、逆直交変換の結果得られる残差情報を加算部205に供給する。 The inverse orthogonal transform unit 204 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 203. The inverse orthogonal transform unit 204 supplies residual information obtained as a result of the inverse orthogonal transform to the addition unit 205.
 加算部205は、逆直交変換部204から供給される復号対象の画像としての残差情報と、スイッチ215から供給される予測画像を加算することにより、復号を行う。加算部205は、復号の結果得られる画像をデブロックフィルタ206に供給するとともに、フレームメモリ211に供給する。なお、スイッチ215から予測画像が供給されない場合、加算部205は、逆直交変換部204から供給される残差情報である画像を復号の結果得られる画像として、デブロックフィルタ206に供給するとともに、フレームメモリ211に供給して蓄積させる。 The addition unit 205 performs decoding by adding the residual information as the decoding target image supplied from the inverse orthogonal transform unit 204 and the prediction image supplied from the switch 215. The adding unit 205 supplies an image obtained as a result of decoding to the deblocking filter 206 and also supplies it to the frame memory 211. When the predicted image is not supplied from the switch 215, the adding unit 205 supplies the image that is the residual information supplied from the inverse orthogonal transform unit 204 to the deblocking filter 206 as an image obtained as a result of decoding, and It is supplied to the frame memory 211 and accumulated.
 デブロックフィルタ206は、加算部205から供給される画像に対してデブロッキングフィルタ処理を行い、その結果得られる画像を適応オフセットフィルタ207に供給する。 The deblocking filter 206 performs a deblocking filtering process on the image supplied from the adding unit 205 and supplies the resulting image to the adaptive offset filter 207.
 適応オフセットフィルタ207は、可逆復号部202から供給されるオフセット情報を用いて、LCUごとに、デブロックフィルタ206からの画像に対して適応オフセットフィルタ処理を行う。適応オフセットフィルタ207は、適応オフセットフィルタ処理後の画像を、適応ループフィルタ208に供給する。 The adaptive offset filter 207 performs adaptive offset filter processing on the image from the deblocking filter 206 for each LCU using the offset information supplied from the lossless decoding unit 202. The adaptive offset filter 207 supplies the image after the adaptive offset filter processing to the adaptive loop filter 208.
 適応ループフィルタ208は、適応オフセットフィルタ207から供給される画像に対して、可逆復号部202から供給されるフィルタ係数を用いて、LCUごとに適応ループフィルタ処理を行う。適応ループフィルタ208は、その結果得られる画像をフレームメモリ211および画面並べ替えバッファ209に供給する。 The adaptive loop filter 208 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 207 using the filter coefficient supplied from the lossless decoding unit 202. The adaptive loop filter 208 supplies the resulting image to the frame memory 211 and the screen rearrangement buffer 209.
 画面並べ替えバッファ209は、適応ループフィルタ208から供給される画像をフレーム単位で記憶する。画面並べ替えバッファ209は、記憶した符号化のための順番のフレーム単位の画像を、元の表示の順番に並び替え、D/A変換部210に供給する。 The screen rearrangement buffer 209 stores the image supplied from the adaptive loop filter 208 in units of frames. The screen rearrangement buffer 209 rearranges the stored frame-by-frame images for encoding in the original display order and supplies them to the D / A conversion unit 210.
 D/A変換部210は、画面並べ替えバッファ209から供給されるフレーム単位の画像をD/A変換し、エンハンスメント画像として出力する。フレームメモリ211は、適応ループフィルタ208から供給される画像と加算部205から供給される画像を蓄積する。フレームメモリ211に蓄積された画像は参照画像として読み出され、スイッチ212を介してイントラ予測部213または動き補償部214に供給される。 The D / A conversion unit 210 D / A converts the frame unit image supplied from the screen rearrangement buffer 209 and outputs it as an enhancement image. The frame memory 211 stores the image supplied from the adaptive loop filter 208 and the image supplied from the adding unit 205. The image stored in the frame memory 211 is read as a reference image and supplied to the intra prediction unit 213 or the motion compensation unit 214 via the switch 212.
 イントラ予測部213は、可逆復号部202から供給されるスキップモードフラグが0である場合、そのスキップモードフラグとともに供給されるイントラ予測モード情報が示す最適イントラ予測モードを、処理対象の予測ブロックのイントラ予測モードに決定する。 When the skip mode flag supplied from the lossless decoding unit 202 is 0, the intra prediction unit 213 sets the optimal intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag to the intra of the prediction block to be processed. Determine the prediction mode.
 一方、スキップモードフラグが1である場合、イントラ予測部213は、モードバッファ216から処理対象の予測ブロックとコロケーテッドな予測ブロックのベースモードを読み出し、処理対象の予測ブロックのイントラ予測モードに決定する。 On the other hand, when the skip mode flag is 1, the intra prediction unit 213 reads the processing target prediction block and the base mode of the collocated prediction block from the mode buffer 216, and determines the intra prediction mode of the processing target prediction block.
 イントラ予測部213は、フレームメモリ211からスイッチ212を介して読み出された参照画像を用いて、決定されたイントラ予測モードのイントラ予測を行う。イントラ予測部213は、その結果生成される予測画像をスイッチ215に供給する。 The intra prediction unit 213 performs intra prediction of the determined intra prediction mode using the reference image read from the frame memory 211 via the switch 212. The intra prediction unit 213 supplies the prediction image generated as a result to the switch 215.
 動き補償部214は、フレームメモリ211からスイッチ212を介して、可逆復号部202から供給される参照画像特定情報により特定される参照画像を読み出す。動き補償部214は、可逆復号部202から供給される動きベクトルと参照画像を用いて、可逆復号部202から供給されるインター予測モード情報が示す最適インター予測モードの動き補償処理を行う。動き補償部214は、その結果生成される予測画像をスイッチ215に供給する。 The motion compensation unit 214 reads the reference image specified by the reference image specifying information supplied from the lossless decoding unit 202 from the frame memory 211 via the switch 212. The motion compensation unit 214 performs motion compensation processing in the optimal inter prediction mode indicated by the inter prediction mode information supplied from the lossless decoding unit 202, using the motion vector and the reference image supplied from the lossless decoding unit 202. The motion compensation unit 214 supplies the predicted image generated as a result to the switch 215.
 スイッチ215は、可逆復号部202からイントラ予測部213の選択が指示された場合、イントラ予測部213から供給される予測画像を加算部205に供給する。一方、可逆復号部202から動き補償部214の選択が指示された場合、スイッチ215は、動き補償部214から供給される予測画像を加算部205に供給する。 The switch 215 supplies the prediction image supplied from the intra prediction unit 213 to the addition unit 205 when the selection of the intra prediction unit 213 is instructed from the lossless decoding unit 202. On the other hand, when the selection of the motion compensation unit 214 is instructed from the lossless decoding unit 202, the switch 215 supplies the predicted image supplied from the motion compensation unit 214 to the addition unit 205.
 モードバッファ216は、図19のベース復号部163から供給されるベースモードを記憶する。 The mode buffer 216 stores the base mode supplied from the base decoding unit 163 in FIG.
 (イントラ予測部の構成例)
 図22は、図21のイントラ予測部213の構成例を示すブロック図である。
(Configuration example of intra prediction unit)
FIG. 22 is a block diagram illustrating a configuration example of the intra prediction unit 213 in FIG.
 図22のイントラ予測部213は、生成部231、予測部232、およびバッファ233により構成される。 The intra prediction unit 213 in FIG. 22 includes a generation unit 231, a prediction unit 232, and a buffer 233.
 イントラ予測部213の生成部231は、図10の生成部111と同様に、バッファ233から処理対象の予測ブロックの上および左に隣接する予測ブロックのイントラ予測モードを読み出して候補MostProbableModeを生成し、予測部232に供給する。 Similarly to the generation unit 111 in FIG. 10, the generation unit 231 of the intra prediction unit 213 reads the intra prediction mode of the prediction block adjacent to the processing target prediction block above and to the left from the buffer 233 to generate a candidate MostProbableMode, This is supplied to the prediction unit 232.
 予測部232は、通常予測部241とスキップ予測部242により構成される。通常予測部241は、図21の可逆復号部202からのスキップモードフラグが0である場合、CU単位で、そのスキップモードフラグとともに供給されるイントラ予測モード情報が示すイントラ予測モードを処理対象の予測ブロックのイントラ予測モードに決定する。 The prediction unit 232 includes a normal prediction unit 241 and a skip prediction unit 242. When the skip mode flag from the lossless decoding unit 202 in FIG. 21 is 0, the normal prediction unit 241 predicts the intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag for each CU. Decide on the intra prediction mode of the block.
 具体的には、イントラ予測モード情報が候補MostProbableModeのインデックスを示す場合、通常予測部241は、生成部231から供給される候補MostProbableModeのうちの、そのインデックスで特定される候補MostProbableModeを処理対象のイントラ予測モードに決定する。一方、イントラ予測モード情報が通常モードを示す5ビットの固定長の情報である場合、通常予測部241は、その通常モードを処理対象のイントラ予測モードに決定する。 Specifically, when the intra prediction mode information indicates the index of the candidate MostProbableMode, the normal prediction unit 241 selects the candidate MostProbableMode specified by the index from among the candidate MostProbableMode supplied from the generation unit 231. Determine the prediction mode. On the other hand, when the intra prediction mode information is 5-bit fixed length information indicating the normal mode, the normal prediction unit 241 determines the normal mode as the intra prediction mode to be processed.
 そして、通常予測部241は、図21のフレームメモリ211からスイッチ212を介して読み出された参照画像を用いて、決定されたイントラ予測モードのイントラ予測を行い、予測画像を生成する。通常予測部241は、予測画像を図21のスイッチ215に供給し、決定されたイントラ予測モードをバッファ233に供給する。 Then, the normal prediction unit 241 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 of FIG. 21 via the switch 212, and generates a prediction image. The normal prediction unit 241 supplies the predicted image to the switch 215 in FIG. 21 and supplies the determined intra prediction mode to the buffer 233.
 また、スキップ予測部242は、スキップモードフラグが1である場合、CU単位で、モードバッファ216から処理対象の予測ブロックとコロケーテッドなベース画像の予測ブロックのベースモードを読み出し、処理対象のイントラ予測モードに決定する。なお、コロケーテッドなベース画像の予測ブロックが存在しない場合、スキップ予測部242は、その予測ブロックのベースモードをDCモードとし、処理対象のイントラ予測モードをDCモードに決定する。 Further, when the skip mode flag is 1, the skip prediction unit 242 reads out the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 216 for each CU, and sets the intra prediction mode to be processed. To decide. When there is no prediction block of the collocated base image, the skip prediction unit 242 sets the base mode of the prediction block to the DC mode and determines the intra prediction mode to be processed as the DC mode.
 そして、スキップ予測部242は、フレームメモリ211からスイッチ212を介して読み出された参照画像を用いて、決定されたイントラ予測モードのイントラ予測を行い、予測画像を生成する。スキップ予測部242は、予測画像をスイッチ215に供給し、決定されたイントラ予測モードをバッファ233に供給する。 Then, the skip prediction unit 242 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 via the switch 212, and generates a predicted image. The skip prediction unit 242 supplies the predicted image to the switch 215 and supplies the determined intra prediction mode to the buffer 233.
 バッファ233は、予測部232から供給されるイントラ予測モードを記憶する。 The buffer 233 stores the intra prediction mode supplied from the prediction unit 232.
 (復号装置の処理の説明)
 図23は、図19の復号装置160の階層復号処理を説明するフローチャートである。
(Description of processing of decoding device)
FIG. 23 is a flowchart for explaining the hierarchical decoding process of the decoding device 160 of FIG.
 図23のステップS111において、復号装置160の受け取り部161は、図7の符号化装置30から伝送されてくる全階層の符号化ストリームを受け取り、分離部162に供給する。 23, the reception unit 161 of the decoding device 160 receives the encoded stream of all layers transmitted from the encoding device 30 of FIG. 7 and supplies it to the separation unit 162.
 ステップS112において、分離部162は、全階層の符号化ストリームからベースストリームとエンハンスメントストリームを分離する。分離部162は、ベースストリームをベース復号部163に供給し、エンハンスメントストリームをエンハンスメント復号部164に供給する。 In step S112, the separation unit 162 separates the base stream and the enhancement stream from the encoded stream of all layers. The separation unit 162 supplies the base stream to the base decoding unit 163 and supplies the enhancement stream to the enhancement decoding unit 164.
 ステップS113において、ベース復号部163は、分離部162から供給されるベースストリームをHEVC方式で復号し、ベース画像を生成する。このとき、ベース復号部163は、ベースモードをエンハンスメント復号部164に供給する。ベース復号部163は、生成されたベース画像を出力する。 In step S113, the base decoding unit 163 decodes the base stream supplied from the separation unit 162 by the HEVC method, and generates a base image. At this time, the base decoding unit 163 supplies the base mode to the enhancement decoding unit 164. The base decoding unit 163 outputs the generated base image.
 ステップS114において、エンハンスメント復号部164の抽出部181(図20)は、分離部162から供給されるエンハンスメントストリームからパラメータセットと符号化データを抽出する。 In step S114, the extraction unit 181 (FIG. 20) of the enhancement decoding unit 164 extracts the parameter set and the encoded data from the enhancement stream supplied from the separation unit 162.
 ステップS115において、復号部182は、ベース復号部163から供給されるベースモードを参照して、抽出部181から供給される符号化データをHEVC方式に準ずる方式で復号するエンハンスメント復号処理を行う。このエンハンスメント復号処理の詳細は、後述する図24を参照して説明する。そして、処理は終了する。 In step S115, the decoding unit 182 refers to the base mode supplied from the base decoding unit 163, and performs enhancement decoding processing for decoding the encoded data supplied from the extraction unit 181 in a method according to the HEVC method. Details of the enhancement decoding process will be described with reference to FIG. Then, the process ends.
 図24は、図23のステップS115のエンハンスメント復号処理の詳細を説明するフローチャートである。 FIG. 24 is a flowchart for explaining the details of the enhancement decoding process in step S115 of FIG.
 図24のステップS131において、エンハンスメント復号部182の蓄積バッファ201(図21)は、図20の抽出部181からフレーム単位の符号化データを受け取り、蓄積する。蓄積バッファ201は、蓄積されている符号化データを可逆復号部202に供給する。 24, the accumulation buffer 201 (FIG. 21) of the enhancement decoding unit 182 receives and accumulates encoded data in units of frames from the extraction unit 181 of FIG. The accumulation buffer 201 supplies the accumulated encoded data to the lossless decoding unit 202.
 ステップS132において、可逆復号部202は、蓄積バッファ201からの符号化データを可逆復号し、量子化された係数と符号化情報を得る。可逆復号部202は、量子化された係数を逆量子化部203に供給する。また、可逆復号部202は、符号化情報としてのイントラ予測モード情報とスキップモードフラグ、または、スキップモードフラグのみをイントラ予測部213に供給し、動きベクトル、インター予測モード情報、参照画像特定情報などを動き補償部214に供給する。 In step S132, the lossless decoding unit 202 performs lossless decoding on the encoded data from the accumulation buffer 201 to obtain quantized coefficients and encoded information. The lossless decoding unit 202 supplies the quantized coefficient to the inverse quantization unit 203. Further, the lossless decoding unit 202 supplies intra prediction mode information and skip mode flag as coding information, or only the skip mode flag to the intra prediction unit 213, and includes motion vectors, inter prediction mode information, reference image specifying information, and the like. Is supplied to the motion compensation unit 214.
 また、可逆復号部202は、符号化情報にインター予測モード情報が含まれない場合、スイッチ215にイントラ予測部213の選択を指示し、インター予測モード情報が含まれる場合、スイッチ215に動き補償部214の選択を指示する。可逆復号部202は、符号化情報としてのオフセット情報を適応オフセットフィルタ207に供給し、フィルタ係数を適応ループフィルタ208に供給する。 Further, the lossless decoding unit 202 instructs the switch 215 to select the intra prediction unit 213 when the encoded information does not include the inter prediction mode information. The selection of 214 is instructed. The lossless decoding unit 202 supplies offset information as encoded information to the adaptive offset filter 207 and supplies filter coefficients to the adaptive loop filter 208.
 ステップS133において、逆量子化部203は、可逆復号部202からの量子化された係数を逆量子化し、その結果得られる直交変換係数を逆直交変換部204に供給する。 In step S133, the inverse quantization unit 203 inversely quantizes the quantized coefficient from the lossless decoding unit 202, and supplies the resulting orthogonal transform coefficient to the inverse orthogonal transform unit 204.
 ステップS134において、動き補償部214は、可逆復号部202からインター予測モード情報が供給されたかどうかを判定する。ステップS134でインター予測モード情報が供給されたと判定された場合、処理はステップS135に進む。 In step S134, the motion compensation unit 214 determines whether or not the inter prediction mode information is supplied from the lossless decoding unit 202. If it is determined in step S134 that the inter prediction mode information has been supplied, the process proceeds to step S135.
 ステップS135において、動き補償部214は、可逆復号部202から供給される参照画像特定情報に基づいて参照画像を読み出し、動きベクトルと参照画像を用いて、インター予測モード情報が示す最適インター予測モードの動き補償処理を行う。動き補償部214は、その結果生成される予測画像を、スイッチ215を介して加算部205に供給し、処理をステップS137に進める。 In step S135, the motion compensation unit 214 reads the reference image based on the reference image specifying information supplied from the lossless decoding unit 202, and uses the motion vector and the reference image to determine the optimal inter prediction mode indicated by the inter prediction mode information. Perform motion compensation processing. The motion compensation unit 214 supplies the predicted image generated as a result to the addition unit 205 via the switch 215, and the process proceeds to step S137.
 一方、ステップS134でインター予測モード情報が供給されていないと判定された場合、即ちイントラ予測モード情報とスキップモードフラグ、または、スキップモードフラグのみがイントラ予測部213に供給された場合、処理はステップS136に進む。 On the other hand, when it is determined in step S134 that the inter prediction mode information is not supplied, that is, when the intra prediction mode information and the skip mode flag, or only the skip mode flag is supplied to the intra prediction unit 213, the process is step. The process proceeds to S136.
 ステップS136において、イントラ予測部213は、フレームメモリ211からスイッチ212を介して読み出された参照画像とベースモードを用いて、イントラ予測処理を行う。このイントラ予測処理の詳細は、後述する図25を参照して説明する。イントラ予測処理後、処理はステップS137に進む。 In step S136, the intra prediction unit 213 performs an intra prediction process using the reference image and the base mode read from the frame memory 211 via the switch 212. Details of this intra prediction process will be described with reference to FIG. After the intra prediction process, the process proceeds to step S137.
 ステップS137において、逆直交変換部204は、逆量子化部203からの直交変換係数に対して逆直交変換を施し、その結果得られる残差情報を加算部205に供給する。 In step S137, the inverse orthogonal transform unit 204 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 203, and supplies the residual information obtained as a result to the addition unit 205.
 ステップS138において、加算部205は、逆直交変換部204から供給される残差情報と、スイッチ215から供給される予測画像を加算する。加算部205は、その結果得られる画像をデブロックフィルタ206に供給するとともに、フレームメモリ211に供給する。 In step S138, the adding unit 205 adds the residual information supplied from the inverse orthogonal transform unit 204 and the prediction image supplied from the switch 215. The adding unit 205 supplies the image obtained as a result to the deblocking filter 206 and also supplies it to the frame memory 211.
 ステップS139において、デブロックフィルタ206は、加算部205から供給される画像に対してデブロッキングフィルタ処理を行い、ブロック歪を除去する。デブロックフィルタ206は、その結果得られる画像を適応オフセットフィルタ207に供給する。 In step S139, the deblocking filter 206 performs deblocking filtering on the image supplied from the adding unit 205 to remove block distortion. The deblocking filter 206 supplies the resulting image to the adaptive offset filter 207.
 ステップS140において、適応オフセットフィルタ207は、デブロックフィルタ206からの画像に対して、可逆復号部202から供給されるオフセット情報を参照して、LCUごとに適応オフセットフィルタ処理を行う。 In step S140, the adaptive offset filter 207 refers to the offset information supplied from the lossless decoding unit 202 with respect to the image from the deblocking filter 206, and performs adaptive offset filter processing for each LCU.
 ステップS141において、適応ループフィルタ208は、適応オフセットフィルタ207から供給される画像に対して、可逆復号部202から供給されるフィルタ係数を用いて、LCUごとに適応ループフィルタ処理を行う。適応ループフィルタ208は、その結果得られる画像をフレームメモリ211および画面並べ替えバッファ209に供給する。 In step S141, the adaptive loop filter 208 performs an adaptive loop filter process for each LCU on the image supplied from the adaptive offset filter 207 using the filter coefficient supplied from the lossless decoding unit 202. The adaptive loop filter 208 supplies the resulting image to the frame memory 211 and the screen rearrangement buffer 209.
 ステップS142において、フレームメモリ211は、加算部205から供給される画像と、適応ループフィルタ208から供給される画像を蓄積する。フレームメモリ211に蓄積された画像は、参照画像としてスイッチ212を介してイントラ予測部213または動き補償部214に供給される。 In step S142, the frame memory 211 stores the image supplied from the adding unit 205 and the image supplied from the adaptive loop filter 208. The image stored in the frame memory 211 is supplied to the intra prediction unit 213 or the motion compensation unit 214 via the switch 212 as a reference image.
 ステップS143において、画面並べ替えバッファ209は、適応ループフィルタ208から供給される画像をフレーム単位で記憶し、記憶した符号化のための順番のフレーム単位の画像を、元の表示の順番に並び替え、D/A変換部210に供給する。 In step S143, the screen rearrangement buffer 209 stores the image supplied from the adaptive loop filter 208 in units of frames, and rearranges the stored frame-by-frame images for encoding in the original display order. To the D / A converter 210.
 ステップS144において、D/A変換部210は、画面並べ替えバッファ209から供給されるフレーム単位の画像をD/A変換し、エンハンスメント画像として出力する。そして、処理は、図23のステップS115に戻り、終了する。 In step S144, the D / A conversion unit 210 D / A converts the frame unit image supplied from the screen rearrangement buffer 209, and outputs it as an enhancement image. Then, the process returns to step S115 in FIG. 23 and ends.
 図25は、図24のステップS136のイントラ予測処理の詳細を説明するフローチャートである。 FIG. 25 is a flowchart for explaining the details of the intra prediction process in step S136 of FIG.
 ステップS161において、イントラ予測部213の生成部231(図22)は、バッファ233から処理対象の予測ブロックの上および左に隣接する予測ブロックのイントラ予測モードを読み出す。ステップS162において、生成部231は、読み出されたイントラ予測モードを用いて候補MostProbableModeを生成し、予測部232に供給する。 In step S161, the generation unit 231 (FIG. 22) of the intra prediction unit 213 reads the intra prediction mode of the prediction block adjacent to the processing target prediction block above and to the left from the buffer 233. In step S <b> 162, the generation unit 231 generates a candidate MostProbableMode using the read intra prediction mode and supplies the candidate MostProbableMode to the prediction unit 232.
 ステップS163において、予測部232の通常予測部241は、図21の可逆復号部202から供給されるスキップモードフラグが0であるかどうかを判定する。ステップS163でスキップモードフラグが0であると判定された場合、処理はステップS164に進む。 In step S163, the normal prediction unit 241 of the prediction unit 232 determines whether or not the skip mode flag supplied from the lossless decoding unit 202 in FIG. If it is determined in step S163 that the skip mode flag is 0, the process proceeds to step S164.
 ステップS164において、通常予測部241は、スキップモードフラグとともに供給されるイントラ予測モード情報が示すイントラ予測モードを処理対象の予測ブロックのイントラ予測モードに決定する。 In step S164, the normal prediction unit 241 determines the intra prediction mode indicated by the intra prediction mode information supplied together with the skip mode flag as the intra prediction mode of the prediction block to be processed.
 ステップS165において、通常予測部241は、図21のフレームメモリ211からスイッチ212を介して読み出された参照画像を用いて、決定されたイントラ予測モードのイントラ予測を行い、予測画像を生成する。通常予測部241は、予測画像を図21のスイッチ215に供給する。そして、処理はステップS168に進む。 In step S165, the normal prediction unit 241 performs intra prediction in the determined intra prediction mode using the reference image read out from the frame memory 211 of FIG. 21 via the switch 212, and generates a predicted image. The normal prediction unit 241 supplies the predicted image to the switch 215 in FIG. Then, the process proceeds to step S168.
 一方、ステップS163でスキップモードフラグが0ではないと判定された場合、即ちスキップモードフラグが1である場合、処理はステップS166に進む。 On the other hand, if it is determined in step S163 that the skip mode flag is not 0, that is, if the skip mode flag is 1, the process proceeds to step S166.
 ステップS166において、スキップ予測部242は、図21のモードバッファ216から処理対象の予測ブロックとコロケーテッドなベース画像の予測ブロックのベースモードを読み出し、処理対象のイントラ予測モードに決定する。 In step S166, the skip prediction unit 242 reads out the base mode of the prediction block to be processed and the prediction block of the collocated base image from the mode buffer 216 in FIG. 21, and determines the intra prediction mode to be processed.
 ステップS167において、スキップ予測部242は、フレームメモリ211からスイッチ212を介して読み出された参照画像を用いて、処理対象のイントラ予測モードとして決定されたベースモードのイントラ予測を行い、予測画像を生成する。スキップ予測部242は、予測画像をスイッチ215に供給する。 In step S167, the skip prediction unit 242 performs the intra prediction of the base mode determined as the intra prediction mode to be processed using the reference image read from the frame memory 211 via the switch 212, and obtains the predicted image. Generate. The skip prediction unit 242 supplies the predicted image to the switch 215.
 ステップS168において、予測部232は、処理対象のイントラ予測モードをバッファ233に供給し、記憶させる。 In step S168, the prediction unit 232 supplies the intra prediction mode to be processed to the buffer 233 and stores it.
 以上のように、復号装置160は、スキップモードフラグに基づいてベースモードを用いてエンハンスメント画像のイントラ予測を行う。従って、少ない処理量でベース画像とエンハンスメント画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 As described above, the decoding device 160 performs intra prediction of an enhancement image using the base mode based on the skip mode flag. Therefore, it is possible to decode an encoded stream that shares the intra prediction mode of the base image and the enhancement image with a small amount of processing.
 なお、第1実施の形態では、スキップモードフラグがCU単位で伝送されたが、スキップモードフラグは、そのほか、PU単位、所定のサイズより大きいCU単位、LCU単位などで伝送されるようにしてもよい。スキップモードフラグが所定のサイズより大きいCU単位で伝送される場合には、そのサイズの情報がVPS等に設定される。 In the first embodiment, the skip mode flag is transmitted in units of CUs. However, the skip mode flag may be transmitted in units of PUs, CU units larger than a predetermined size, LCU units, and the like. Good. When the skip mode flag is transmitted in units of CU larger than a predetermined size, information on the size is set in the VPS or the like.
 また、第1実施の形態では、レイヤ数は2であるものとしたが、レイヤ数は2以上であってもよい。 In the first embodiment, the number of layers is two, but the number of layers may be two or more.
 さらに、第1実施の形態では、ベース画像がHEVC方式で符号化されたが、AVC方式で符号化されるようにしてもよい。ベース画像がAVC方式で符号化される場合、ベースモードが、対応する方向のHEVC方式のイントラ予測モードに変換され、エンハンスメント画像のイントラ予測処理に用いられる。即ち、ベースモードが、対応する対象画素に対する参照画素の方向と基準となる方向の角度と、対象画素に対する参照画素の方向と基準となる方向の角度が同一であるHEVC方式のイントラ予測モードに変換され、エンハンスメント画像のイントラ予測モードとされる。 Furthermore, in the first embodiment, the base image is encoded by the HEVC method, but may be encoded by the AVC method. When the base image is encoded by the AVC method, the base mode is converted into the HEVC method intra prediction mode in the corresponding direction, and is used for the intra prediction process of the enhancement image. That is, the base mode is converted into the HEVC intra prediction mode in which the angle of the reference pixel relative to the target pixel and the angle of the reference direction are the same, and the angle of the reference pixel relative to the target pixel and the angle of the reference direction are the same. The enhancement image intra prediction mode is set.
 また、ベースモードがDCモードである場合には、ベースモードは、HEVC方式のDCモードに変換され、エンハンスメント画像のイントラ予測モードとされる。ベースモードがPlainモードである場合には、ベースモードはHEVC方式のPlanarモードに変換され、エンハンスメント画像のイントラ予測モードとされる。 In addition, when the base mode is the DC mode, the base mode is converted into the HEVC DC mode, and is set as the enhancement image intra prediction mode. When the base mode is the plain mode, the base mode is converted into the HEVC system Planar mode, and is set as the enhancement image intra prediction mode.
 また、ベース画像とエンハンスメント画像のイントラ予測モードの共有化は、輝度信号および色差信号の両方について別々に行うことができる。 Also, sharing of the intra prediction mode of the base image and the enhancement image can be performed separately for both the luminance signal and the color difference signal.
 <多視画像点符号化・多視点画像復号への適用>
 上述した一連の処理は、多視点画像符号化・多視点画像復号に適用することができる。図26は、多視点画像符号化方式の一例を示す。
<Application to multi-view image point coding and multi-view image decoding>
The series of processes described above can be applied to multi-view image encoding / multi-view image decoding. FIG. 26 shows an example of the multi-view image encoding method.
 図26に示されるように、多視点画像は、複数の視点の画像を含み、その複数の視点のうちの所定の1つの視点の画像が、ベースビューの画像に指定されている。ベースビューの画像以外の各視点の画像は、ノンベースビューの画像として扱われる。Scalable機能により多視点画像符号化が行われる場合、ベースビューの画像は、ベースレイヤ画像として符号化され、ノンベースビューの画像がエンハンスメント画像として符号化される。 26, the multi-viewpoint image includes a plurality of viewpoint images, and a predetermined one viewpoint image among the plurality of viewpoints is designated as the base view image. Each viewpoint image other than the base view image is treated as a non-base view image. When multi-viewpoint image encoding is performed by the Scalable function, a base view image is encoded as a base layer image, and a non-base view image is encoded as an enhancement image.
 図26のような多視点画像符号化を行う場合、各ビュー(同一ビュー)において、量子化パラメータの差分をとることもできる:
 (1)base-view:
  (1-1) dQP(base view)=Current_CU_QP(base view)-LCU_QP(base view)
  (1-2) dQP(base view)=Current_CU_QP(base view)-Previsous_CU_QP(base view)
  (1-3) dQP(base view)=Current_CU_QP(base view)-Slice_QP(base view)
 (2)non-base-view:
  (2-1) dQP(non-base view)=Current_CU_QP(non-base view)-LCU_QP(non-base view)
  (2-2) dQP(non-base view)=CurrentQP(non-base view)-PrevisousQP(non-base view)
  (2-3) dQP(non-base view)=Current_CU_QP(non-base view)-Slice_QP(non-base view)
When performing multi-view image coding as shown in FIG. 26, the difference between quantization parameters can be taken in each view (same view):
(1) base-view:
(1-1) dQP (base view) = Current_CU_QP (base view)-LCU_QP (base view)
(1-2) dQP (base view) = Current_CU_QP (base view)-Previsous_CU_QP (base view)
(1-3) dQP (base view) = Current_CU_QP (base view)-Slice_QP (base view)
(2) non-base-view:
(2-1) dQP (non-base view) = Current_CU_QP (non-base view)-LCU_QP (non-base view)
(2-2) dQP (non-base view) = Current QP (non-base view)-Previsous QP (non-base view)
(2-3) dQP (non-base view) = Current_CU_QP (non-base view)-Slice_QP (non-base view)
 多視点画像符号化を行う場合、各ビュー(異なるビュー)において、量子化パラメータの差分をとることもできる:
 (3)base-view/ non-base view:
  (3-1) dQP(inter-view)=Slice_QP(base view)-Slice_QP(non-base view)
  (3-2) dQP(inter-view)=LCU_QP(base view)-LCU_QP(non-base view)
 (4)non-base view / non-base view :
  (4-1) dQP(inter-view)=Slice_QP(non-base view i)-Slice_QP(non-base view j)
  (4-2) dQP(inter-view)=LCU_QP(non-base view i)-LCU_QP(non-base view j)
When performing multi-view image coding, it is also possible to take quantization parameter differences in each view (different views):
(3) base-view / non-base view:
(3-1) dQP (inter-view) = Slice_QP (base view)-Slice_QP (non-base view)
(3-2) dQP (inter-view) = LCU_QP (base view)-LCU_QP (non-base view)
(4) non-base view / non-base view:
(4-1) dQP (inter-view) = Slice_QP (non-base view i) −Slice_QP (non-base view j)
(4-2) dQP (inter-view) = LCU_QP (non-base view i)-LCU_QP (non-base view j)
 この場合、上記(1)乃至(4)を組み合わせて用いることもできる。たとえば、ノンベースビューでは、ベースビューとノンベースビューとの間においてスライスレベルで量子化パラメータの差分をとる手法(3-1と2-3とを組み合わせる)、ベースビューとノンベースビューとの間においてLCUレベルで量子化パラメータの差分をとる手法(3-2と2-1とを組み合わせる)、が考えられる。このように、差分を繰り返して適用することにより、多視点符号化を行った場合においても、符号化効率を向上させることができる。 In this case, the above (1) to (4) can be used in combination. For example, in the non-base view, a method of obtaining a quantization parameter difference at the slice level between the base view and the non-base view (combining 3-1 and 2-3), between the base view and the non-base view The method of taking the difference of the quantization parameter at the LCU level (combining 3-2 and 2-1) can be considered. Thus, by applying the difference repeatedly, the encoding efficiency can be improved even when multi-viewpoint encoding is performed.
 上述した手法と同様に、上記の各dQPに対して、値が0でないdQPが存在するか否かを識別するフラグをセットすることもできる。 Similarly to the method described above, a flag for identifying whether or not there is a dQP whose value is not 0 can be set for each of the above dQPs.
 <Scalable機能による符号化の他の例>
 図27は、Scalable機能による符号化の他の例を示す。
<Other examples of encoding using the Scalable function>
FIG. 27 shows another example of encoding by the Scalable function.
 図27に示されるように、Scalable機能による符号化では、各レイヤ(同一レイヤ)において、量子化パラメータの差分をとることもできる:
 (1)base-layer:
  (1-1)dQP(base layer)=Current_CU_QP(base layer)-LCU_QP(base layer)
  (1-2)dQP(base layer)=Current_CU_QP(base layer)-Previsous_CU_QP(base layer)
  (1-3)dQP(base layer)=Current_CU_QP(base layer)-Slice_QP(base layer)
 (2)non-base-layer:
  (2-1)dQP(non-base layer)=Current_CU_QP(non-base layer)-LCU_QP(non-base layer)
  (2-2)dQP(non-base layer)=CurrentQP(non-base layer)-PrevisousQP(non-base layer)
  (2-3)dQP(non-base layer)=Current_CU_QP(non-base layer)-Slice_QP(non-base layer)
As shown in FIG. 27, in the encoding by the Scalable function, the difference of the quantization parameter can be taken in each layer (same layer):
(1) base-layer:
(1-1) dQP (base layer) = Current_CU_QP (base layer)-LCU_QP (base layer)
(1-2) dQP (base layer) = Current_CU_QP (base layer)-Previsous_CU_QP (base layer)
(1-3) dQP (base layer) = Current_CU_QP (base layer)-Slice_QP (base layer)
(2) non-base-layer:
(2-1) dQP (non-base layer) = Current_CU_QP (non-base layer)-LCU_QP (non-base layer)
(2-2) dQP (non-base layer) = Current QP (non-base layer)-Previsous QP (non-base layer)
(2-3) dQP (non-base layer) = Current_CU_QP (non-base layer) −Slice_QP (non-base layer)
 また、各レイヤ(異なるレイヤ)において、量子化パラメータの差分をとることもできる:
 (3)base-layer/ non-base layer:
  (3-1)dQP(inter-layer)=Slice_QP(base layer)-Slice_QP(non-base layer)
  (3-2)dQP(inter-layer)=LCU_QP(base layer)-LCU_QP(non-base layer)
 (4)non-base layer / non-base layer :
  (4-1)dQP(inter-layer)=Slice_QP(non-base layer i)-Slice_QP(non-base layer j)
  (4-2)dQP(inter-layer)=LCU_QP(non-base layer i)-LCU_QP(non-base layer j)
It is also possible to take quantization parameter differences in each layer (different layers):
(3) base-layer / non-base layer:
(3-1) dQP (inter-layer) = Slice_QP (base layer)-Slice_QP (non-base layer)
(3-2) dQP (inter-layer) = LCU_QP (base layer)-LCU_QP (non-base layer)
(4) non-base layer / non-base layer:
(4-1) dQP (inter-layer) = Slice_QP (non-base layer i) −Slice_QP (non-base layer j)
(4-2) dQP (inter-layer) = LCU_QP (non-base layer i)-LCU_QP (non-base layer j)
 この場合、上記(1)乃至(4)を組み合わせて用いることもできる。たとえば、ノンベースレイヤでは、ベースレイヤとノンベースレイヤとの間においてスライスレベルで量子化パラメータの差分をとる手法(3-1と2-3とを組み合わせる)、ベースレイヤとノンベースレイヤとの間においてLCUレベルで量子化パラメータの差分をとる手法(3-2と2-1とを組み合わせる)、が考えられる。このように、差分を繰り返して適用することにより、階層符号化を行った場合においても、符号化効率を向上させることができる。 In this case, the above (1) to (4) can be used in combination. For example, in the non-base layer, a method of obtaining a difference in quantization parameter at the slice level between the base layer and the non-base layer (combining 3-1 and 2-3), between the base layer and the non-base layer The method of taking the difference of the quantization parameter at the LCU level (combining 3-2 and 2-1) can be considered. In this manner, by applying the difference repeatedly, the encoding efficiency can be improved even when hierarchical encoding is performed.
 上述した手法と同様に、上記の各dQPに対して、値が0でないdQPが存在するか否かを識別するフラグをセットすることもできる。 Similarly to the method described above, a flag for identifying whether or not there is a dQP whose value is not 0 can be set for each of the above dQPs.
 <第2実施の形態>
 (本開示を適用したコンピュータの説明)
 上述した一連の処理は、ハードウエアにより実行することもできるし、ソフトウエアにより実行することもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
<Second Embodiment>
(Description of computer to which the present disclosure is applied)
The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software is installed in the computer. Here, the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
 図28は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 28 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processing by a program.
 コンピュータにおいて、CPU(Central Processing Unit)601,ROM(Read Only Memory)602,RAM(Random Access Memory)603は、バス604により相互に接続されている。 In the computer, a CPU (Central Processing Unit) 601, a ROM (Read Only Memory) 602, and a RAM (Random Access Memory) 603 are connected to each other via a bus 604.
 バス604には、さらに、入出力インタフェース605が接続されている。入出力インタフェース605には、入力部606、出力部607、記憶部608、通信部609、及びドライブ610が接続されている。 An input / output interface 605 is further connected to the bus 604. An input unit 606, an output unit 607, a storage unit 608, a communication unit 609, and a drive 610 are connected to the input / output interface 605.
 入力部606は、キーボード、マウス、マイクロホンなどよりなる。出力部607は、ディスプレイ、スピーカなどよりなる。記憶部608は、ハードディスクや不揮発性のメモリなどよりなる。通信部609は、ネットワークインタフェースなどよりなる。ドライブ610は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブルメディア611を駆動する。 The input unit 606 includes a keyboard, a mouse, a microphone, and the like. The output unit 607 includes a display, a speaker, and the like. The storage unit 608 includes a hard disk, a nonvolatile memory, and the like. The communication unit 609 includes a network interface or the like. The drive 610 drives a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
 以上のように構成されるコンピュータでは、CPU601が、例えば、記憶部608に記憶されているプログラムを、入出力インタフェース605及びバス604を介して、RAM603にロードして実行することにより、上述した一連の処理が行われる。 In the computer configured as described above, the CPU 601 loads the program stored in the storage unit 608 to the RAM 603 via the input / output interface 605 and the bus 604 and executes the program, for example. Is performed.
 コンピュータ(CPU601)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア611に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。 The program executed by the computer (CPU 601) can be provided by being recorded on a removable medium 611 as a package medium, for example. The program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
 コンピュータでは、プログラムは、リムーバブルメディア611をドライブ610に装着することにより、入出力インタフェース605を介して、記憶部608にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部609で受信し、記憶部608にインストールすることができる。その他、プログラムは、ROM602や記憶部608に、あらかじめインストールしておくことができる。 In the computer, the program can be installed in the storage unit 608 via the input / output interface 605 by attaching the removable medium 611 to the drive 610. Further, the program can be received by the communication unit 609 via a wired or wireless transmission medium and installed in the storage unit 608. In addition, the program can be installed in the ROM 602 or the storage unit 608 in advance.
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 The program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
 <第3実施の形態>
 (テレビジョン装置の構成例)
 図29は、本開示を適用したテレビジョン装置の概略構成を例示している。テレビジョン装置900は、アンテナ901、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、表示部906、音声信号処理部907、スピーカ908、外部インタフェース部909を有している。さらに、テレビジョン装置900は、制御部910、ユーザインタフェース部911等を有している。
<Third Embodiment>
(Example configuration of television device)
FIG. 29 illustrates a schematic configuration of a television device to which the present disclosure is applied. The television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, and an external interface unit 909. Furthermore, the television apparatus 900 includes a control unit 910, a user interface unit 911, and the like.
 チューナ902は、アンテナ901で受信された放送波信号から所望のチャンネルを選局して復調を行い、得られた符号化ビットストリームをデマルチプレクサ903に出力する。 The tuner 902 selects a desired channel from the broadcast wave signal received by the antenna 901, demodulates it, and outputs the obtained encoded bit stream to the demultiplexer 903.
 デマルチプレクサ903は、符号化ビットストリームから視聴対象である番組の映像や音声のパケットを抽出して、抽出したパケットのデータをデコーダ904に出力する。また、デマルチプレクサ903は、EPG(Electronic Program Guide)等のデータのパケットを制御部910に供給する。なお、スクランブルが行われている場合、デマルチプレクサ等でスクランブルの解除を行う。 The demultiplexer 903 extracts video and audio packets of the program to be viewed from the encoded bit stream, and outputs the extracted packet data to the decoder 904. Further, the demultiplexer 903 supplies a packet of data such as EPG (Electronic Program Guide) to the control unit 910. If scrambling is being performed, descrambling is performed by a demultiplexer or the like.
 デコーダ904は、パケットの復号化処理を行い、復号処理化によって生成された映像データを映像信号処理部905、音声データを音声信号処理部907に出力する。 The decoder 904 performs packet decoding processing, and outputs video data generated by the decoding processing to the video signal processing unit 905 and audio data to the audio signal processing unit 907.
 映像信号処理部905は、映像データに対して、ノイズ除去やユーザ設定に応じた映像処理等を行う。映像信号処理部905は、表示部906に表示させる番組の映像データや、ネットワークを介して供給されるアプリケーションに基づく処理による画像データなどを生成する。また、映像信号処理部905は、項目の選択などのメニュー画面等を表示するための映像データを生成し、それを番組の映像データに重畳する。映像信号処理部905は、このようにして生成した映像データに基づいて駆動信号を生成して表示部906を駆動する。 The video signal processing unit 905 performs noise removal, video processing according to user settings, and the like on the video data. The video signal processing unit 905 generates video data of a program to be displayed on the display unit 906, image data by processing based on an application supplied via a network, and the like. The video signal processing unit 905 generates video data for displaying a menu screen for selecting an item and the like, and superimposes the video data on the video data of the program. The video signal processing unit 905 generates a drive signal based on the video data generated in this way, and drives the display unit 906.
 表示部906は、映像信号処理部905からの駆動信号に基づき表示デバイス(例えば液晶表示素子等)を駆動して、番組の映像などを表示させる。 The display unit 906 drives a display device (for example, a liquid crystal display element or the like) based on a drive signal from the video signal processing unit 905 to display a program video or the like.
 音声信号処理部907は、音声データに対してノイズ除去などの所定の処理を施し、処理後の音声データのD/A変換処理や増幅処理を行いスピーカ908に供給することで音声出力を行う。 The audio signal processing unit 907 performs predetermined processing such as noise removal on the audio data, performs D / A conversion processing and amplification processing on the processed audio data, and outputs the audio data to the speaker 908.
 外部インタフェース部909は、外部機器やネットワークと接続するためのインタフェースであり、映像データや音声データ等のデータ送受信を行う。 The external interface unit 909 is an interface for connecting to an external device or a network, and transmits and receives data such as video data and audio data.
 制御部910にはユーザインタフェース部911が接続されている。ユーザインタフェース部911は、操作スイッチやリモートコントロール信号受信部等で構成されており、ユーザ操作に応じた操作信号を制御部910に供給する。 A user interface unit 911 is connected to the control unit 910. The user interface unit 911 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 910.
 制御部910は、CPU(Central Processing Unit)やメモリ等を用いて構成されている。メモリは、CPUにより実行されるプログラムやCPUが処理を行う上で必要な各種のデータ、EPGデータ、ネットワークを介して取得されたデータ等を記憶する。メモリに記憶されているプログラムは、テレビジョン装置900の起動時などの所定タイミングでCPUにより読み出されて実行される。CPUは、プログラムを実行することで、テレビジョン装置900がユーザ操作に応じた動作となるように各部を制御する。 The control unit 910 is configured using a CPU (Central Processing Unit), a memory, and the like. The memory stores a program executed by the CPU, various data necessary for the CPU to perform processing, EPG data, data acquired via a network, and the like. The program stored in the memory is read and executed by the CPU at a predetermined timing such as when the television device 900 is activated. The CPU executes each program to control each unit so that the television device 900 operates in accordance with the user operation.
 なお、テレビジョン装置900では、チューナ902、デマルチプレクサ903、映像信号処理部905、音声信号処理部907、外部インタフェース部909等と制御部910を接続するためバス912が設けられている。 Note that the television device 900 includes a bus 912 for connecting the tuner 902, the demultiplexer 903, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910.
 このように構成されたテレビジョン装置では、デコーダ904に本願の復号装置(復号方法)の機能が設けられる。このため、少ない処理量で階層構造を有する画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 In the thus configured television apparatus, the decoder 904 is provided with the function of the decoding apparatus (decoding method) of the present application. Therefore, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
 <第4実施の形態>
 (携帯電話機の構成例)
 図30は、本開示を適用した携帯電話機の概略構成を例示している。携帯電話機920は、通信部922、音声コーデック923、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、制御部931を有している。これらは、バス933を介して互いに接続されている。
<Fourth embodiment>
(Configuration example of mobile phone)
FIG. 30 illustrates a schematic configuration of a mobile phone to which the present disclosure is applied. The cellular phone 920 includes a communication unit 922, an audio codec 923, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, and a control unit 931. These are connected to each other via a bus 933.
 また、通信部922にはアンテナ921が接続されており、音声コーデック923には、スピーカ924とマイクロホン925が接続されている。さらに制御部931には、操作部932が接続されている。 In addition, an antenna 921 is connected to the communication unit 922, and a speaker 924 and a microphone 925 are connected to the audio codec 923. Further, an operation unit 932 is connected to the control unit 931.
 携帯電話機920は、音声通話モードやデータ通信モード等の各種モードで、音声信号の送受信、電子メールや画像データの送受信、画像撮影、またはデータ記録等の各種動作を行う。 The mobile phone 920 performs various operations such as transmission / reception of voice signals, transmission / reception of e-mail and image data, image shooting, and data recording in various modes such as a voice call mode and a data communication mode.
 音声通話モードにおいて、マイクロホン925で生成された音声信号は、音声コーデック923で音声データへの変換やデータ圧縮が行われて通信部922に供給される。通信部922は、音声データの変調処理や周波数変換処理等を行い、送信信号を生成する。また、通信部922は、送信信号をアンテナ921に供給して図示しない基地局へ送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、得られた音声データを音声コーデック923に供給する。音声コーデック923は、音声データのデータ伸張やアナログ音声信号への変換を行いスピーカ924に出力する。 In the voice call mode, the voice signal generated by the microphone 925 is converted into voice data and compressed by the voice codec 923 and supplied to the communication unit 922. The communication unit 922 performs audio data modulation processing, frequency conversion processing, and the like to generate a transmission signal. The communication unit 922 supplies a transmission signal to the antenna 921 and transmits it to a base station (not shown). In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and supplies the obtained audio data to the audio codec 923. The audio codec 923 performs data expansion of the audio data and conversion to an analog audio signal and outputs the result to the speaker 924.
 また、データ通信モードにおいて、メール送信を行う場合、制御部931は、操作部932の操作によって入力された文字データを受け付けて、入力された文字を表示部930に表示する。また、制御部931は、操作部932におけるユーザ指示等に基づいてメールデータを生成して通信部922に供給する。通信部922は、メールデータの変調処理や周波数変換処理等を行い、得られた送信信号をアンテナ921から送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、メールデータを復元する。このメールデータを、表示部930に供給して、メール内容の表示を行う。 In the data communication mode, when mail transmission is performed, the control unit 931 receives character data input by operating the operation unit 932 and displays the input characters on the display unit 930. In addition, the control unit 931 generates mail data based on a user instruction or the like in the operation unit 932 and supplies the mail data to the communication unit 922. The communication unit 922 performs mail data modulation processing, frequency conversion processing, and the like, and transmits the obtained transmission signal from the antenna 921. In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores mail data. This mail data is supplied to the display unit 930 to display the mail contents.
 なお、携帯電話機920は、受信したメールデータを、記録再生部929で記憶媒体に記憶させることも可能である。記憶媒体は、書き換え可能な任意の記憶媒体である。例えば、記憶媒体は、RAMや内蔵型フラッシュメモリ等の半導体メモリ、ハードディスク、磁気ディスク、光磁気ディスク、光ディスク、USBメモリ、またはメモリカード等のリムーバブルメディアである。 Note that the mobile phone 920 can also store the received mail data in a storage medium by the recording / playback unit 929. The storage medium is any rewritable storage medium. For example, the storage medium is a removable medium such as a semiconductor memory such as a RAM or a built-in flash memory, a hard disk, a magnetic disk, a magneto-optical disk, an optical disk, a USB memory, or a memory card.
 データ通信モードにおいて画像データを送信する場合、カメラ部926で生成された画像データを、画像処理部927に供給する。画像処理部927は、画像データの符号化処理を行い、符号化データを生成する。 When transmitting image data in the data communication mode, the image data generated by the camera unit 926 is supplied to the image processing unit 927. The image processing unit 927 performs encoding processing of image data and generates encoded data.
 多重分離部928は、画像処理部927で生成された符号化データと、音声コーデック923から供給された音声データを所定の方式で多重化して通信部922に供給する。通信部922は、多重化データの変調処理や周波数変換処理等を行い、得られた送信信号をアンテナ921から送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、多重化データを復元する。この多重化データを多重分離部928に供給する。多重分離部928は、多重化データの分離を行い、符号化データを画像処理部927、音声データを音声コーデック923に供給する。画像処理部927は、符号化データの復号化処理を行い、画像データを生成する。この画像データを表示部930に供給して、受信した画像の表示を行う。音声コーデック923は、音声データをアナログ音声信号に変換してスピーカ924に供給して、受信した音声を出力する。 The demultiplexing unit 928 multiplexes the encoded data generated by the image processing unit 927 and the audio data supplied from the audio codec 923 by a predetermined method, and supplies the multiplexed data to the communication unit 922. The communication unit 922 performs modulation processing and frequency conversion processing of multiplexed data, and transmits the obtained transmission signal from the antenna 921. In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores multiplexed data. This multiplexed data is supplied to the demultiplexing unit 928. The demultiplexing unit 928 performs demultiplexing of the multiplexed data, and supplies the encoded data to the image processing unit 927 and the audio data to the audio codec 923. The image processing unit 927 performs a decoding process on the encoded data to generate image data. The image data is supplied to the display unit 930 and the received image is displayed. The audio codec 923 converts the audio data into an analog audio signal, supplies the analog audio signal to the speaker 924, and outputs the received audio.
 このように構成された携帯電話装置では、画像処理部927に本願の符号化装置および復号装置(符号化方法および復号方法)の機能が設けられる。このため、少ない処理量で階層構造を有する画像のイントラ予測モードを共有することができる。また、少ない処理量で階層構造を有する画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 In the cellular phone device configured as described above, the image processing unit 927 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, it is possible to share the intra prediction mode of an image having a hierarchical structure with a small processing amount. Also, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
 <第5実施の形態>
 (記録再生装置の構成例)
 図31は、本開示を適用した記録再生装置の概略構成を例示している。記録再生装置940は、例えば受信した放送番組のオーディオデータとビデオデータを、記録媒体に記録して、その記録されたデータをユーザの指示に応じたタイミングでユーザに提供する。また、記録再生装置940は、例えば他の装置からオーディオデータやビデオデータを取得し、それらを記録媒体に記録させることもできる。さらに、記録再生装置940は、記録媒体に記録されているオーディオデータやビデオデータを復号して出力することで、モニタ装置等において画像表示や音声出力を行うことができるようにする。
<Fifth embodiment>
(Configuration example of recording / reproducing apparatus)
FIG. 31 illustrates a schematic configuration of a recording / reproducing apparatus to which the present disclosure is applied. The recording / reproducing apparatus 940 records, for example, audio data and video data of a received broadcast program on a recording medium, and provides the recorded data to the user at a timing according to a user instruction. The recording / reproducing device 940 can also acquire audio data and video data from another device, for example, and record them on a recording medium. Further, the recording / reproducing apparatus 940 decodes and outputs the audio data and video data recorded on the recording medium, thereby enabling image display and audio output on the monitor apparatus or the like.
 記録再生装置940は、チューナ941、外部インタフェース部942、エンコーダ943、HDD(Hard Disk Drive)部944、ディスクドライブ945、セレクタ946、デコーダ947、OSD(On-Screen Display)部948、制御部949、ユーザインタフェース部950を有している。 The recording / reproducing apparatus 940 includes a tuner 941, an external interface unit 942, an encoder 943, an HDD (Hard Disk Drive) unit 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) unit 948, a control unit 949, A user interface unit 950 is included.
 チューナ941は、図示しないアンテナで受信された放送信号から所望のチャンネルを選局する。チューナ941は、所望のチャンネルの受信信号を復調して得られた符号化ビットストリームをセレクタ946に出力する。 Tuner 941 selects a desired channel from a broadcast signal received by an antenna (not shown). The tuner 941 outputs an encoded bit stream obtained by demodulating the received signal of a desired channel to the selector 946.
 外部インタフェース部942は、IEEE1394インタフェース、ネットワークインタフェース部、USBインタフェース、フラッシュメモリインタフェース等の少なくともいずれかで構成されている。外部インタフェース部942は、外部機器やネットワーク、メモリカード等と接続するためのインタフェースであり、記録する映像データや音声データ等のデータ受信を行う。 The external interface unit 942 includes at least one of an IEEE 1394 interface, a network interface unit, a USB interface, a flash memory interface, and the like. The external interface unit 942 is an interface for connecting to an external device, a network, a memory card, and the like, and receives data such as video data and audio data to be recorded.
 エンコーダ943は、外部インタフェース部942から供給された映像データや音声データが符号化されていないとき所定の方式で符号化を行い、符号化ビットストリームをセレクタ946に出力する。 The encoder 943 performs encoding by a predetermined method when the video data and audio data supplied from the external interface unit 942 are not encoded, and outputs an encoded bit stream to the selector 946.
 HDD部944は、映像や音声等のコンテンツデータ、各種プログラムやその他のデータ等を内蔵のハードディスクに記録し、また再生時等にそれらを当該ハードディスクから読み出す。 The HDD unit 944 records content data such as video and audio, various programs, and other data on a built-in hard disk, and reads them from the hard disk during playback.
 ディスクドライブ945は、装着されている光ディスクに対する信号の記録および再生を行う。光ディスク、例えばDVDディスク(DVD-Video、DVD-RAM、DVD-R、DVD-RW、DVD+R、DVD+RW等)やBlu-ray(登録商標)ディスク等である。 The disk drive 945 records and reproduces signals with respect to the mounted optical disk. An optical disk such as a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.), a Blu-ray (registered trademark) disk, or the like.
 セレクタ946は、映像や音声の記録時には、チューナ941またはエンコーダ943からのいずれかの符号化ビットストリームを選択して、HDD部944やディスクドライブ945のいずれかに供給する。また、セレクタ946は、映像や音声の再生時に、HDD部944またはディスクドライブ945から出力された符号化ビットストリームをデコーダ947に供給する。 The selector 946 selects one of the encoded bit streams from the tuner 941 or the encoder 943 and supplies it to either the HDD unit 944 or the disk drive 945 when recording video or audio. Further, the selector 946 supplies the encoded bit stream output from the HDD unit 944 or the disk drive 945 to the decoder 947 at the time of reproduction of video and audio.
 デコーダ947は、符号化ビットストリームの復号化処理を行う。デコーダ947は、復号処理化を行うことにより生成された映像データをOSD部948に供給する。また、デコーダ947は、復号処理化を行うことにより生成された音声データを出力する。 The decoder 947 performs a decoding process on the encoded bit stream. The decoder 947 supplies the video data generated by performing the decoding process to the OSD unit 948. The decoder 947 outputs audio data generated by performing the decoding process.
 OSD部948は、項目の選択などのメニュー画面等を表示するための映像データを生成し、それをデコーダ947から出力された映像データに重畳して出力する。 The OSD unit 948 generates video data for displaying a menu screen for selecting an item and the like, and superimposes it on the video data output from the decoder 947 and outputs the video data.
 制御部949には、ユーザインタフェース部950が接続されている。ユーザインタフェース部950は、操作スイッチやリモートコントロール信号受信部等で構成されており、ユーザ操作に応じた操作信号を制御部949に供給する。 A user interface unit 950 is connected to the control unit 949. The user interface unit 950 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 949.
 制御部949は、CPUやメモリ等を用いて構成されている。メモリは、CPUにより実行されるプログラムやCPUが処理を行う上で必要な各種のデータを記憶する。メモリに記憶されているプログラムは、記録再生装置940の起動時などの所定タイミングでCPUにより読み出されて実行される。CPUは、プログラムを実行することで、記録再生装置940がユーザ操作に応じた動作となるように各部を制御する。 The control unit 949 is configured using a CPU, a memory, and the like. The memory stores programs executed by the CPU and various data necessary for the CPU to perform processing. The program stored in the memory is read and executed by the CPU at a predetermined timing such as when the recording / reproducing apparatus 940 is activated. The CPU executes the program to control each unit so that the recording / reproducing device 940 operates according to the user operation.
 このように構成された記録再生装置では、デコーダ947に本願の復号装置(復号方法)の機能が設けられる。このため、少ない処理量で階層構造を有する画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 In the recording / reproducing apparatus configured as described above, the decoder 947 is provided with the function of the decoding apparatus (decoding method) of the present application. Therefore, it is possible to decode an encoded stream that shares an intra prediction mode of an image having a hierarchical structure with a small amount of processing.
 <第6実施の形態>
 (撮像装置の構成例)
 図32は、本開示を適用した撮像装置の概略構成を例示している。撮像装置960は、被写体を撮像し、被写体の画像を表示部に表示させたり、それを画像データとして、記録媒体に記録する。
<Sixth embodiment>
(Configuration example of imaging device)
FIG. 32 illustrates a schematic configuration of an imaging apparatus to which the present disclosure is applied. The imaging device 960 images a subject, displays an image of the subject on a display unit, and records it on a recording medium as image data.
 撮像装置960は、光学ブロック961、撮像部872、カメラ信号処理部873、画像データ処理部874、表示部875、外部インタフェース部876、メモリ部877、メディアドライブ968、OSD部879、制御部970を有している。また、制御部970には、ユーザインタフェース部971が接続されている。さらに、画像データ処理部874や外部インタフェース部876、メモリ部877、メディアドライブ968、OSD部879、制御部970等は、バス972を介して接続されている。 The imaging device 960 includes an optical block 961, an imaging unit 872, a camera signal processing unit 873, an image data processing unit 874, a display unit 875, an external interface unit 876, a memory unit 877, a media drive 968, an OSD unit 879, and a control unit 970. Have. In addition, a user interface unit 971 is connected to the control unit 970. Furthermore, the image data processing unit 874, the external interface unit 876, the memory unit 877, the media drive 968, the OSD unit 879, the control unit 970, and the like are connected via a bus 972.
 光学ブロック961は、フォーカスレンズや絞り機構等を用いて構成されている。光学ブロック961は、被写体の光学像を撮像部872の撮像面に結像させる。撮像部872は、CCDまたはCMOSイメージセンサを用いて構成されており、光電変換によって光学像に応じた電気信号を生成してカメラ信号処理部873に供給する。 The optical block 961 is configured using a focus lens, a diaphragm mechanism, and the like. The optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 872. The imaging unit 872 is configured using a CCD or CMOS image sensor, generates an electrical signal corresponding to the optical image by photoelectric conversion, and supplies the electrical signal to the camera signal processing unit 873.
 カメラ信号処理部873は、撮像部872から供給された電気信号に対してニー補正やガンマ補正、色補正等の種々のカメラ信号処理を行う。カメラ信号処理部873は、カメラ信号処理後の画像データを画像データ処理部874に供給する。 The camera signal processing unit 873 performs various camera signal processing such as knee correction, gamma correction, and color correction on the electrical signal supplied from the imaging unit 872. The camera signal processing unit 873 supplies the image data after the camera signal processing to the image data processing unit 874.
 画像データ処理部874は、カメラ信号処理部873から供給された画像データの符号化処理を行う。画像データ処理部874は、符号化処理を行うことにより生成された符号化データを外部インタフェース部876やメディアドライブ968に供給する。また、画像データ処理部874は、外部インタフェース部876やメディアドライブ968から供給された符号化データの復号化処理を行う。画像データ処理部874は、復号化処理を行うことにより生成された画像データを表示部875に供給する。また、画像データ処理部874は、カメラ信号処理部873から供給された画像データを表示部875に供給する処理や、OSD部879から取得した表示用データを、画像データに重畳させて表示部875に供給する。 The image data processing unit 874 performs an encoding process on the image data supplied from the camera signal processing unit 873. The image data processing unit 874 supplies the encoded data generated by performing the encoding process to the external interface unit 876 and the media drive 968. The image data processing unit 874 performs a decoding process on the encoded data supplied from the external interface unit 876 or the media drive 968. The image data processing unit 874 supplies the image data generated by performing the decoding process to the display unit 875. The image data processing unit 874 also superimposes the display data acquired from the OSD unit 879 on the display unit 875 by superimposing the display data acquired from the OSD unit 879 on the display unit 875, the image data supplied from the camera signal processing unit 873. To supply.
 OSD部879は、記号、文字、または図形からなるメニュー画面やアイコンなどの表示用データを生成して画像データ処理部874に出力する。 The OSD unit 879 generates display data such as a menu screen or an icon made up of symbols, characters, or figures and outputs it to the image data processing unit 874.
 外部インタフェース部876は、例えば、USB入出力端子などで構成され、画像の印刷を行う場合に、プリンタと接続される。また、外部インタフェース部876には、必要に応じてドライブが接続され、磁気ディスク、光ディスク等のリムーバブルメディアが適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて、インストールされる。さらに、外部インタフェース部876は、LANやインターネット等の所定のネットワークに接続されるネットワークインタフェースを有する。制御部970は、例えば、ユーザインタフェース部971からの指示にしたがって、メディアドライブ968から符号化データを読み出し、それを外部インタフェース部876から、ネットワークを介して接続される他の装置に供給させることができる。また、制御部970は、ネットワークを介して他の装置から供給される符号化データや画像データを、外部インタフェース部876を介して取得し、それを画像データ処理部874に供給したりすることができる。 The external interface unit 876 includes, for example, a USB input / output terminal and the like, and is connected to a printer when printing an image. In addition, a drive is connected to the external interface unit 876 as necessary, a removable medium such as a magnetic disk or an optical disk is appropriately mounted, and a computer program read from them is installed as necessary. Furthermore, the external interface unit 876 has a network interface connected to a predetermined network such as a LAN or the Internet. For example, the control unit 970 reads encoded data from the media drive 968 in accordance with an instruction from the user interface unit 971, and supplies the encoded data to the other device connected via the network from the external interface unit 876. it can. In addition, the control unit 970 may acquire encoded data and image data supplied from another device via a network via the external interface unit 876 and supply the acquired data to the image data processing unit 874. it can.
 メディアドライブ968で駆動される記録メディアとしては、例えば、磁気ディスク、光磁気ディスク、光ディスク、または半導体メモリ等の、読み書き可能な任意のリムーバブルメディアが用いられる。また、記録メディアは、リムーバブルメディアとしての種類も任意であり、テープデバイスであってもよいし、ディスクであってもよいし、メモリカードであってもよい。もちろん、非接触IC(Integrated Circuit)カード等であってもよい。 As the recording medium driven by the media drive 968, any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory is used. The recording medium may be any type of removable medium, and may be a tape device, a disk, or a memory card. Of course, a non-contact IC (Integrated Circuit) card may be used.
 また、メディアドライブ968と記録メディアを一体化し、例えば、内蔵型ハードディスクドライブやSSD(Solid State Drive)等のように、非可搬性の記憶媒体により構成されるようにしてもよい。 Further, the media drive 968 and the recording medium may be integrated and configured by a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
 制御部970は、CPUを用いて構成されている。メモリ部877は、制御部970により実行されるプログラムや制御部970が処理を行う上で必要な各種のデータ等を記憶する。メモリ部877に記憶されているプログラムは、撮像装置960の起動時などの所定タイミングで制御部970により読み出されて実行される。制御部970は、プログラムを実行することで、撮像装置960がユーザ操作に応じた動作となるように各部を制御する。 The control unit 970 is configured using a CPU. The memory unit 877 stores a program executed by the control unit 970, various data necessary for the control unit 970 to perform processing, and the like. The program stored in the memory unit 877 is read and executed by the control unit 970 at a predetermined timing such as when the imaging device 960 is activated. The control unit 970 controls each unit so that the imaging device 960 performs an operation according to a user operation by executing a program.
 このように構成された撮像装置では、画像データ処理部874に本願の符号化装置および復号装置(符号化方法および復号方法)の機能が設けられる。このため、少ない処理量で階層構造を有する画像のイントラ予測モードを共有することができる。少ない処理量で階層構造を有する画像のイントラ予測モードを共有する符号化ストリームを復号することができる。 In the imaging device configured as described above, the image data processing unit 874 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, it is possible to share the intra prediction mode of an image having a hierarchical structure with a small processing amount. An encoded stream sharing an intra prediction mode of an image having a hierarchical structure can be decoded with a small amount of processing.
 <スケーラブル符号化の応用例>
 (第1のシステム)
 次に、scalable機能による符号化であるスケーラブル符号化(階層符号化)されたスケーラブル符号化データの具体的な利用例について説明する。スケーラブル符号化は、例えば、図33に示される例のように、伝送するデータの選択のために利用される。
<Application example of scalable coding>
(First system)
Next, a specific use example of scalable encoded data that has been subjected to scalable encoding (hierarchical encoding), which is encoding by a scalable function, will be described. Scalable encoding is used for selection of data to be transmitted, as in the example shown in FIG. 33, for example.
 図33に示されるデータ伝送システム1000において、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを読み出し、ネットワーク1003を介して、パーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置に配信する。 In the data transmission system 1000 shown in FIG. 33, the distribution server 1002 reads the scalable encoded data stored in the scalable encoded data storage unit 1001, and via the network 1003, the personal computer 1004, the AV device 1005, the tablet This is distributed to the terminal device such as the device 1006 and the mobile phone 1007.
 その際、配信サーバ1002は、端末装置の能力や通信環境等に応じて、適切な品質の符号化データを選択して伝送する。配信サーバ1002が不要に高品質なデータを伝送しても、端末装置において高画質な画像を得られるとは限らず、遅延やオーバーフローの発生要因となる恐れがある。また、不要に通信帯域を占有したり、端末装置の負荷を不要に増大させたりしてしまう恐れもある。逆に、配信サーバ1002が不要に低品質なデータを伝送しても、端末装置において十分な画質の画像を得ることができない恐れがある。そのため、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを、適宜、端末装置の能力や通信環境等に対して適切な品質の符号化データとして読み出し、伝送する。 At this time, the distribution server 1002 selects and transmits encoded data of appropriate quality according to the capability of the terminal device, the communication environment, and the like. Even if the distribution server 1002 transmits unnecessarily high-quality data, the terminal device does not always obtain a high-quality image, and may cause a delay or an overflow. Moreover, there is a possibility that the communication band is unnecessarily occupied or the load on the terminal device is unnecessarily increased. On the other hand, even if the distribution server 1002 transmits unnecessarily low quality data, there is a possibility that an image with sufficient image quality cannot be obtained in the terminal device. Therefore, the distribution server 1002 appropriately reads and transmits the scalable encoded data stored in the scalable encoded data storage unit 1001 as encoded data having an appropriate quality with respect to the capability and communication environment of the terminal device. .
 例えば、スケーラブル符号化データ記憶部1001は、スケーラブルに符号化されたスケーラブル符号化データ(BL+EL)1011を記憶するとする。このスケーラブル符号化データ(BL+EL)1011は、ベースレイヤとエンハンスメントレイヤの両方を含む符号化データであり、復号することにより、ベースレイヤの画像およびエンハンスメントレイヤの画像の両方を得ることができるデータである。 For example, it is assumed that the scalable encoded data storage unit 1001 stores scalable encoded data (BL + EL) 1011 encoded in a scalable manner. The scalable encoded data (BL + EL) 1011 is encoded data including both a base layer and an enhancement layer, and is a data that can be decoded to obtain both a base layer image and an enhancement layer image. It is.
 配信サーバ1002は、データを伝送する端末装置の能力や通信環境等に応じて、適切なレイヤを選択し、そのレイヤのデータを読み出す。例えば、配信サーバ1002は、処理能力の高いパーソナルコンピュータ1004やタブレットデバイス1006に対しては、高品質なスケーラブル符号化データ(BL+EL)1011をスケーラブル符号化データ記憶部1001から読み出し、そのまま伝送する。これに対して、例えば、配信サーバ1002は、処理能力の低いAV機器1005や携帯電話機1007に対しては、スケーラブル符号化データ(BL+EL)1011からベースレイヤのデータを抽出し、スケーラブル符号化データ(BL+EL)1011と同じコンテンツのデータであるが、スケーラブル符号化データ(BL+EL)1011よりも低品質なスケーラブル符号化データ(BL)1012として伝送する。 The distribution server 1002 selects an appropriate layer according to the capability of the terminal device that transmits data, the communication environment, and the like, and reads the data of the layer. For example, the distribution server 1002 reads high-quality scalable encoded data (BL + EL) 1011 from the scalable encoded data storage unit 1001 and transmits it to the personal computer 1004 and the tablet device 1006 with high processing capability as they are. . On the other hand, for example, the distribution server 1002 extracts base layer data from the scalable encoded data (BL + EL) 1011 for the AV device 1005 and the cellular phone 1007 having a low processing capability, and performs scalable encoding. Although it is data of the same content as the data (BL + EL) 1011, it is transmitted as scalable encoded data (BL) 1012 having a lower quality than the scalable encoded data (BL + EL) 1011.
 このようにスケーラブル符号化データを用いることにより、データ量を容易に調整することができるので、遅延やオーバーフローの発生を抑制したり、端末装置や通信媒体の負荷の不要な増大を抑制したりすることができる。また、スケーラブル符号化データ(BL+EL)1011は、レイヤ間の冗長性が低減されているので、各レイヤの符号化データを個別のデータとする場合よりもそのデータ量を低減させることができる。したがって、スケーラブル符号化データ記憶部1001の記憶領域をより効率よく使用することができる。 By using scalable encoded data in this way, the amount of data can be easily adjusted, so that the occurrence of delay and overflow can be suppressed, and the unnecessary increase in the load on the terminal device and communication medium can be suppressed. be able to. In addition, since scalable encoded data (BL + EL) 1011 has reduced redundancy between layers, the amount of data can be reduced as compared with the case where encoded data of each layer is used as individual data. . Therefore, the storage area of the scalable encoded data storage unit 1001 can be used more efficiently.
 なお、パーソナルコンピュータ1004乃至携帯電話機1007のように、端末装置には様々な装置を適用することができるので、端末装置のハードウエアの性能は、装置によって異なる。また、端末装置が実行するアプリケーションも様々であるので、そのソフトウエアの能力も様々である。さらに、通信媒体となるネットワーク1003も、例えばインターネットやLAN(Local Area Network)等、有線若しくは無線、またはその両方を含むあらゆる通信回線網を適用することができ、そのデータ伝送能力は様々である。さらに、他の通信等によっても変化する恐れがある。 Note that since various devices can be applied to the terminal device, such as the personal computer 1004 to the cellular phone 1007, the hardware performance of the terminal device varies depending on the device. Moreover, since the application which a terminal device performs is also various, the capability of the software is also various. Furthermore, the network 1003 serving as a communication medium can be applied to any communication network including wired, wireless, or both, such as the Internet and a LAN (Local Area Network), and has various data transmission capabilities. Furthermore, there is a risk of change due to other communications.
 そこで、配信サーバ1002は、データ伝送を開始する前に、データの伝送先となる端末装置と通信を行い、端末装置のハードウエア性能や、端末装置が実行するアプリケーション(ソフトウエア)の性能等といった端末装置の能力に関する情報、並びに、ネットワーク1003の利用可能帯域幅等の通信環境に関する情報を得るようにしてもよい。そして、配信サーバ1002が、ここで得た情報を基に、適切なレイヤを選択するようにしてもよい。 Therefore, the distribution server 1002 communicates with the terminal device that is the data transmission destination before starting data transmission, and the hardware performance of the terminal device, the performance of the application (software) executed by the terminal device, etc. Information regarding the capability of the terminal device and information regarding the communication environment such as the available bandwidth of the network 1003 may be obtained. The distribution server 1002 may select an appropriate layer based on the information obtained here.
 なお、レイヤの抽出は、端末装置において行うようにしてもよい。例えば、パーソナルコンピュータ1004が、伝送されたスケーラブル符号化データ(BL+EL)1011を復号し、ベースレイヤの画像を表示しても良いし、エンハンスメントレイヤの画像を表示しても良い。また、例えば、パーソナルコンピュータ1004が、伝送されたスケーラブル符号化データ(BL+EL)1011から、ベースレイヤのスケーラブル符号化データ(BL)1012を抽出し、記憶したり、他の装置に転送したり、復号してベースレイヤの画像を表示したりするようにしてもよい。 Note that the layer extraction may be performed by the terminal device. For example, the personal computer 1004 may decode the transmitted scalable encoded data (BL + EL) 1011 and display a base layer image or an enhancement layer image. Further, for example, the personal computer 1004 extracts the base layer scalable encoded data (BL) 1012 from the transmitted scalable encoded data (BL + EL) 1011 and stores it or transfers it to another device. The base layer image may be displayed after decoding.
 もちろん、スケーラブル符号化データ記憶部1001、配信サーバ1002、ネットワーク1003、および端末装置の数はいずれも任意である。また、以上においては、配信サーバ1002がデータを端末装置に伝送する例について説明したが、利用例はこれに限定されない。データ伝送システム1000は、スケーラブル符号化された符号化データを端末装置に伝送する際、端末装置の能力や通信環境等に応じて、適切なレイヤを選択して伝送するシステムであれば、任意のシステムに適用することができる。 Of course, the numbers of the scalable encoded data storage unit 1001, the distribution server 1002, the network 1003, and the terminal devices are arbitrary. In the above, the example in which the distribution server 1002 transmits data to the terminal device has been described, but the usage example is not limited to this. The data transmission system 1000 may be any system as long as it transmits a scalable encoded data to a terminal device by selecting an appropriate layer according to the capability of the terminal device or a communication environment. Can be applied to the system.
 (第2のシステム)
 また、スケーラブル符号化は、例えば、図34に示される例のように、複数の通信媒体を介する伝送のために利用される。
(Second system)
Further, scalable coding is used for transmission via a plurality of communication media as in the example shown in FIG. 34, for example.
 図34に示されるデータ伝送システム1100において、放送局1101は、地上波放送1111により、ベースレイヤのスケーラブル符号化データ(BL)1121を伝送する。また、放送局1101は、有線若しくは無線またはその両方の通信網よりなる任意のネットワーク1112を介して、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する(例えばパケット化して伝送する)。 34, a broadcasting station 1101 transmits base layer scalable encoded data (BL) 1121 by terrestrial broadcasting 1111. In the data transmission system 1100 shown in FIG. Also, the broadcast station 1101 transmits enhancement layer scalable encoded data (EL) 1122 via an arbitrary network 1112 including a wired or wireless communication network or both (for example, packetized transmission).
 端末装置1102は、放送局1101が放送する地上波放送1111の受信機能を有し、この地上波放送1111を介して伝送されるベースレイヤのスケーラブル符号化データ(BL)1121を受け取る。また、端末装置1102は、ネットワーク1112を介した通信を行う通信機能をさらに有し、このネットワーク1112を介して伝送されるエンハンスメントレイヤのスケーラブル符号化データ(EL)1122を受け取る。 The terminal apparatus 1102 has a reception function of the terrestrial broadcast 1111 broadcast by the broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via the terrestrial broadcast 1111. The terminal apparatus 1102 further has a communication function for performing communication via the network 1112, and receives enhancement layer scalable encoded data (EL) 1122 transmitted via the network 1112.
 端末装置1102は、例えばユーザ指示等に応じて、地上波放送1111を介して取得したベースレイヤのスケーラブル符号化データ(BL)1121を、復号してベースレイヤの画像を得たり、記憶したり、他の装置に伝送したりする。 The terminal device 1102 decodes the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 according to, for example, a user instruction, and obtains or stores a base layer image. Or transmit to other devices.
 また、端末装置1102は、例えばユーザ指示等に応じて、地上波放送1111を介して取得したベースレイヤのスケーラブル符号化データ(BL)1121と、ネットワーク1112を介して取得したエンハンスメントレイヤのスケーラブル符号化データ(EL)1122とを合成して、スケーラブル符号化データ(BL+EL)を得たり、それを復号してエンハンスメントレイヤの画像を得たり、記憶したり、他の装置に伝送したりする。 Also, the terminal device 1102, for example, in response to a user instruction, the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 and the enhancement layer scalable encoded acquired via the network 1112 Data (EL) 1122 is combined to obtain scalable encoded data (BL + EL), or decoded to obtain an enhancement layer image, stored, or transmitted to another device.
 以上のように、スケーラブル符号化データは、例えばレイヤ毎に異なる通信媒体を介して伝送させることができる。したがって、負荷を分散させることができ、遅延やオーバーフローの発生を抑制することができる。 As described above, the scalable encoded data can be transmitted via a communication medium that is different for each layer, for example. Therefore, the load can be distributed, and the occurrence of delay and overflow can be suppressed.
 また、状況に応じて、伝送に使用する通信媒体を、レイヤ毎に選択することができるようにしてもよい。例えば、データ量が比較的多いベースレイヤのスケーラブル符号化データ(BL)1121を帯域幅の広い通信媒体を介して伝送させ、データ量が比較的少ないエンハンスメントレイヤのスケーラブル符号化データ(EL)1122を帯域幅の狭い通信媒体を介して伝送させるようにしてもよい。また、例えば、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する通信媒体を、ネットワーク1112とするか、地上波放送1111とするかを、ネットワーク1112の利用可能帯域幅に応じて切り替えるようにしてもよい。もちろん、任意のレイヤのデータについて同様である。 Also, depending on the situation, the communication medium used for transmission may be selected for each layer. For example, scalable encoded data (BL) 1121 of a base layer having a relatively large amount of data is transmitted via a communication medium having a wide bandwidth, and scalable encoded data (EL) 1122 having a relatively small amount of data is transmitted. You may make it transmit via a communication medium with a narrow bandwidth. Further, for example, the communication medium for transmitting the enhancement layer scalable encoded data (EL) 1122 is switched between the network 1112 and the terrestrial broadcast 1111 according to the available bandwidth of the network 1112. May be. Of course, the same applies to data of an arbitrary layer.
 このように制御することにより、データ伝送における負荷の増大を、より抑制することができる。 By controlling in this way, an increase in load in data transmission can be further suppressed.
 もちろん、レイヤ数は任意であり、伝送に利用する通信媒体の数も任意である。また、データ配信先となる端末装置1102の数も任意である。さらに、以上においては、放送局1101からの放送を例に説明したが、利用例はこれに限定されない。データ伝送システム1100は、スケーラブル符号化された符号化データを、レイヤを単位として複数に分割し、複数の回線を介して伝送するシステムであれば、任意のシステムに適用することができる。 Of course, the number of layers is arbitrary, and the number of communication media used for transmission is also arbitrary. In addition, the number of terminal devices 1102 serving as data distribution destinations is also arbitrary. Furthermore, in the above description, broadcasting from the broadcasting station 1101 has been described as an example, but the usage example is not limited to this. The data transmission system 1100 can be applied to any system as long as it is a system that divides scalable encoded data into a plurality of layers and transmits them through a plurality of lines.
 (第3のシステム)
 また、スケーラブル符号化は、例えば、図35に示される例のように、符号化データの記憶に利用される。
(Third system)
Further, scalable encoding is used for storing encoded data as in the example shown in FIG. 35, for example.
 図35に示される撮像システム1200において、撮像装置1201は、被写体1211を撮像して得られた画像データをスケーラブル符号化し、スケーラブル符号化データ(BL+EL)1221として、スケーラブル符号化データ記憶装置1202に供給する。 In the imaging system 1200 illustrated in FIG. 35, the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
 スケーラブル符号化データ記憶装置1202は、撮像装置1201から供給されるスケーラブル符号化データ(BL+EL)1221を、状況に応じた品質で記憶する。例えば、通常時の場合、スケーラブル符号化データ記憶装置1202は、スケーラブル符号化データ(BL+EL)1221からベースレイヤのデータを抽出し、低品質でデータ量の少ないベースレイヤのスケーラブル符号化データ(BL)1222として記憶する。これに対して、例えば、注目時の場合、スケーラブル符号化データ記憶装置1202は、高品質でデータ量の多いスケーラブル符号化データ(BL+EL)1221のまま記憶する。 The scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
 このようにすることにより、スケーラブル符号化データ記憶装置1202は、必要な場合のみ、画像を高画質に保存することができるので、画質劣化による画像の価値の低減を抑制しながら、データ量の増大を抑制することができ、記憶領域の利用効率を向上させることができる。 By doing so, the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
 例えば、撮像装置1201が監視カメラであるとする。撮像画像に監視対象(例えば侵入者)が写っていない場合(通常時の場合)、撮像画像の内容は重要でない可能性が高いので、データ量の低減が優先され、その画像データ(スケーラブル符号化データ)は、低品質に記憶される。これに対して、撮像画像に監視対象が被写体1211として写っている場合(注目時の場合)、その撮像画像の内容は重要である可能性が高いので、画質が優先され、その画像データ(スケーラブル符号化データ)は、高品質に記憶される。 For example, assume that the imaging device 1201 is a surveillance camera. When the monitoring target (for example, an intruder) is not shown in the captured image (in the normal case), the content of the captured image is likely to be unimportant, so reduction of the data amount is given priority, and the image data (scalable coding) Data) is stored in low quality. On the other hand, when the monitoring target appears in the captured image as the subject 1211 (at the time of attention), since the content of the captured image is likely to be important, the image quality is given priority and the image data (scalable) (Encoded data) is stored with high quality.
 なお、通常時であるか注目時であるかは、例えば、スケーラブル符号化データ記憶装置1202が、画像を解析することにより判定しても良い。また、撮像装置1201が判定し、その判定結果をスケーラブル符号化データ記憶装置1202に伝送するようにしてもよい。 Note that whether it is normal time or attention time may be determined by the scalable encoded data storage device 1202 analyzing an image, for example. Alternatively, the imaging apparatus 1201 may make a determination, and the determination result may be transmitted to the scalable encoded data storage device 1202.
 なお、通常時であるか注目時であるかの判定基準は任意であり、判定基準とする画像の内容は任意である。もちろん、画像の内容以外の条件を判定基準とすることもできる。例えば、収録した音声の大きさや波形等に応じて切り替えるようにしてもよいし、所定の時間毎に切り替えるようにしてもよいし、ユーザ指示等の外部からの指示によって切り替えるようにしてもよい。 It should be noted that the criterion for determining whether the time is normal or noting is arbitrary, and the content of the image as the criterion is arbitrary. Of course, conditions other than the contents of the image can also be used as the criterion. For example, it may be switched according to the volume or waveform of the recorded sound, may be switched at every predetermined time, or may be switched by an external instruction such as a user instruction.
 また、以上においては、通常時と注目時の2つの状態を切り替える例を説明したが、状態の数は任意であり、例えば、通常時、やや注目時、注目時、非常に注目時等のように、3つ以上の状態を切り替えるようにしてもよい。ただし、この切り替える状態の上限数は、スケーラブル符号化データのレイヤ数に依存する。 In the above, an example of switching between the normal state and the attention state has been described. However, the number of states is arbitrary, for example, normal, slightly attention, attention, very attention, etc. Alternatively, three or more states may be switched. However, the upper limit number of states to be switched depends on the number of layers of scalable encoded data.
 また、撮像装置1201が、スケーラブル符号化のレイヤ数を、状態に応じて決定するようにしてもよい。例えば、通常時の場合、撮像装置1201が、低品質でデータ量の少ないベースレイヤのスケーラブル符号化データ(BL)1222を生成し、スケーラブル符号化データ記憶装置1202に供給するようにしてもよい。また、例えば、注目時の場合、撮像装置1201が、高品質でデータ量の多いベースレイヤのスケーラブル符号化データ(BL+EL)1221を生成し、スケーラブル符号化データ記憶装置1202に供給するようにしてもよい。 Also, the imaging apparatus 1201 may determine the number of layers for scalable coding according to the state. For example, in a normal case, the imaging apparatus 1201 may generate base layer scalable encoded data (BL) 1222 with low quality and a small amount of data, and supply the scalable encoded data storage apparatus 1202 to the scalable encoded data storage apparatus 1202. For example, when attention is paid, the imaging device 1201 generates scalable encoded data (BL + EL) 1221 having a high quality and a large amount of data, and supplies the scalable encoded data storage device 1202 to the scalable encoded data storage device 1202. May be.
 以上においては、監視カメラを例に説明したが、この撮像システム1200の用途は任意であり、監視カメラに限定されない。 In the above, the monitoring camera has been described as an example. However, the use of the imaging system 1200 is arbitrary and is not limited to the monitoring camera.
 なお、本明細書では、スキップモードフラグなどの各種情報が、符号化ストリームに多重化されて、符号化側から復号側へ伝送される例について説明した。しかしながら、これら情報を伝送する手法はかかる例に限定されない。例えば、これら情報は、符号化ビットストリームに多重化されることなく、符号化ビットストリームと関連付けられた別個のデータとして伝送され又は記録されてもよい。ここで、「関連付ける」という用語は、ビットストリームに含まれる画像(スライス若しくはブロックなど、画像の一部であってもよい)と当該画像に対応する情報とを復号時にリンクさせ得るようにすることを意味する。即ち、情報は、画像(又はビットストリーム)とは別の伝送路上で伝送されてもよい。また、情報は、画像(又はビットストリーム)とは別の記録媒体(又は同一の記録媒体の別の記録エリア)に記録されてもよい。さらに、情報と画像(又はビットストリーム)とは、例えば、複数フレーム、1フレーム、又はフレーム内の一部分などの任意の単位で互いに関連付けられてよい。 In the present specification, an example in which various information such as the skip mode flag is multiplexed in the encoded stream and transmitted from the encoding side to the decoding side has been described. However, the method for transmitting such information is not limited to such an example. For example, these pieces of information may be transmitted or recorded as separate data associated with the encoded bitstream without being multiplexed into the encoded bitstream. Here, the term “associate” means that an image (which may be a part of an image such as a slice or a block) included in the bitstream and information corresponding to the image can be linked at the time of decoding. Means. That is, information may be transmitted on a transmission path different from that of the image (or bit stream). Information may be recorded on a recording medium (or another recording area of the same recording medium) different from the image (or bit stream). Furthermore, the information and the image (or bit stream) may be associated with each other in an arbitrary unit such as a plurality of frames, one frame, or a part of the frame.
 本開示は、MPEG,H.26x等のように、離散コサイン変換等の直交変換と動き補償によって圧縮されたビットストリームを、衛星放送、ケーブルTV、インターネット、携帯電話などのネットワークメディアを介して受信する際、または光、磁気ディスク、フラッシュメモリのような記憶メディア上で処理する際に用いられる符号化装置や復号装置に適用することができる。 This disclosure receives bitstreams compressed by orthogonal transform such as discrete cosine transform and motion compensation, such as MPEG, H.26x, etc., via network media such as satellite broadcasting, cable TV, the Internet, and mobile phones. The present invention can be applied to an encoding device or a decoding device that is used when processing on a storage medium such as an optical, magnetic disk, or flash memory.
 また、本明細書では、HEVC方式に準ずる方式で符号化および復号する場合を例にして説明したが、本開示の適用範囲はこれに限らない。Scalable機能を有する符号化を行う符号化装置、および、対応する復号装置であれば、他の方式の符号化装置および復号装置に適用することもできる。 In addition, in this specification, the case where encoding and decoding are performed by a method according to the HEVC method has been described as an example, but the scope of application of the present disclosure is not limited thereto. The present invention can be applied to other types of encoding devices and decoding devices as long as the encoding device performs encoding having a Scalable function and a corresponding decoding device.
 なお、本開示の実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。 Note that the embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present disclosure.
 例えば、本開示は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 For example, the present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is processed jointly.
 また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
 さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, when a plurality of processes are included in one step, the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
 なお、本開示は、以下のような構成もとることができる。 In addition, this indication can also take the following structures.
 (1)
 階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を受け取る受け取り部と、
 前記受け取り部により受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部と
 を備える復号装置。
 (2)
 前記イントラ予測部は、前記モード情報に基づいて、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックのイントラ予測モードを、その第2の階層の画像の予測ブロックのイントラ予測モードとしてイントラ予測を行う
 前記(1)に記載の復号装置。
 (3)
 前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックが存在しない場合、その第1の階層の画像の予測ブロックのイントラ予測モードをDCモードとする
 前記(2)に記載の復号装置。
 (4)
 前記受け取り部は、符号化単位の前記モード情報を受け取り、
 前記イントラ予測部は、前記符号化単位のモード情報に基づいて前記符号化単位で前記第2の階層の画像のイントラ予測を行う
 前記(1)乃至(3)のいずれかに記載の復号装置。
 (5)
 前記受け取り部は、予測ブロック単位の前記モード情報を受け取り、
 前記イントラ予測部は、前記予測ブロック単位のモード情報に基づいて前記予測ブロック単位で前記第2の階層の画像のイントラ予測を行う
 前記(1)乃至(3)のいずれかに記載の復号装置。
 (6)
 前記受け取り部は、最大の符号化単位の前記モード情報を受け取り、
 前記イントラ予測部は、前記最大の符号化単位のモード情報に基づいて前記最大の符号化単位で前記第2の階層の画像のイントラ予測を行う
 前記(1)乃至(3)のいずれかに記載の復号装置。
 (7)
 前記受け取り部は、所定のサイズの符号化単位の前記モード情報と前記所定のサイズを示すサイズ情報を受け取り、
 前記イントラ予測部は、前記所定のサイズの符号化単位のモード情報と前記サイズ情報に基づいて前記所定のサイズの符号化単位で前記第2の階層の画像のイントラ予測を行う
 前記(1)乃至(3)のいずれかに記載の復号装置。
 (8)
 前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記モード情報に基づいて、前記第1の階層の画像のAVC方式のイントラ予測モードを、対応する角度と同一の角度のHEVC方式のイントラ予測モードに変換し、前記第2の階層の画像のイントラ予測モードとする
 前記(1)乃至(7)のいずれかに記載の復号装置。
 (9)
 前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードとしてのPlainモードをHEVC方式のPlanarモードに変換し、前記第2の階層の画像のイントラ予測モードとする
 前記(1)乃至(8)のいずれかに記載の復号装置。
 (10)
 復号装置が、
 階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を受け取る受け取りステップと、
 前記受け取りステップの処理により受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測ステップと
 を含む復号方法。
 (11)
 階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部と、
 前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を設定する設定部と、
 前記設定部により設定された前記モード情報を伝送する伝送部と
 を備える符号化装置。
 (12)
 前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックのイントラ予測モードを、その第2の階層の画像の予測ブロックのイントラ予測モードとしてイントラ予測を行う
 前記(11)に記載の符号化装置。
 (13)
 前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックが存在しない場合、その第1の階層の画像の予測ブロックのイントラ予測モードをDCモードとする
 前記(12)に記載の符号化装置。
 (14)
 前記イントラ予測部は、符号化単位で前記第2の階層の画像のイントラ予測を行い、
 前記設定部は、前記モード情報を前記符号化単位で設定する
 前記(11)乃至(13)のいずれかに記載の符号化装置。
 (15)
 前記イントラ予測部は、予測ブロック単位で前記第2の階層の画像のイントラ予測を行い、
 前記設定部は、前記モード情報を前記予測ブロック単位で設定する
 前記(11)乃至(13)のいずれかに記載の符号化装置。
 (16)
 前記イントラ予測部は、最大の符号化単位で前記第2の階層の画像のイントラ予測を行い、
 前記設定部は、前記モード情報を前記最大の符号化単位で設定する
 前記(11)乃至(13)のいずれかに記載の符号化装置。
 (17)
 前記イントラ予測部は、所定のサイズの符号化単位で前記第2の階層の画像のイントラ予測を行い、
 前記設定部は、前記モード情報を前記所定のサイズの符号化単位で設定し、
 前記伝送部は、前記所定のサイズの符号化単位の前記モード情報と前記所定のサイズを示すサイズ情報とを伝送する
 前記(11)乃至(13)のいずれかに記載の符号化装置。
 (18)
 前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記第1の階層の画像のAVC方式のイントラ予測モードを、対応する角度と同一の角度のHEVC方式のイントラ予測モードに変換し、前記第2の階層の画像のイントラ予測モードとする
 前記(11)乃至(17)のいずれかに記載の符号化装置。
 (19)
 前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記第1の階層の画像のイントラ予測モードとしてのPlainモードをHEVC方式のPlanarモードに変換し、前記第2の階層の画像のイントラ予測モードとする
 前記(11)乃至(18)のいずれかに記載の符号化装置。
 (20)
 符号化装置が、
 階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測ステップと、
 前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を設定する設定ステップと、
 前記設定ステップの処理により設定された前記モード情報を伝送する伝送ステップと
 を含む符号化方法。
(1)
A receiving unit that receives mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer;
Based on the mode information received by the receiving unit, the intra prediction mode of the second layer image is used using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image. A decoding device comprising: an intra prediction unit that performs prediction.
(2)
The intra prediction unit, based on the mode information, sets an intra prediction mode of a prediction block of the first layer image collocated with a prediction block of the second layer image of the second layer image. The decoding device according to (1), wherein intra prediction is performed as an intra prediction mode of a prediction block.
(3)
The intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image. The decoding device according to (2), wherein the mode is set.
(4)
The receiving unit receives the mode information of a coding unit;
The decoding device according to any one of (1) to (3), wherein the intra prediction unit performs intra prediction of the second layer image in the coding unit based on the mode information of the coding unit.
(5)
The receiving unit receives the mode information in units of prediction blocks,
The decoding device according to any one of (1) to (3), wherein the intra prediction unit performs intra prediction of the image of the second layer in the prediction block unit based on the mode information in the prediction block unit.
(6)
The receiving unit receives the mode information of a maximum coding unit;
The intra prediction unit performs intra prediction of the image of the second layer in the maximum encoding unit based on the mode information of the maximum encoding unit. Any one of (1) to (3) Decoding device.
(7)
The receiving unit receives the mode information of an encoding unit of a predetermined size and size information indicating the predetermined size;
The intra prediction unit performs intra prediction of the second layer image in the encoding unit of the predetermined size based on the mode information of the encoding unit of the predetermined size and the size information. (3) The decoding device according to any one of the above.
(8)
In the intra prediction unit, the encoding method of the first layer image is an AVC (Advanced Video Coding) method, and the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method. In this case, based on the mode information, the AVC intra prediction mode of the first layer image is converted into an HEVC intra prediction mode having the same angle as the corresponding angle, and the second layer image is converted. The decoding device according to any one of (1) to (7).
(9)
In the intra prediction unit, the encoding method of the first layer image is an AVC (Advanced Video Coding) method, and the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method. In this case, based on the mode information, the Plain mode as the intra prediction mode of the first layer image is converted into the HEVC Planar mode to obtain the intra prediction mode of the second layer image (1 ) To (8).
(10)
The decryption device
Receiving the mode information indicating that the intra prediction mode of the first layer image of the image having the hierarchical structure is used as the intra prediction mode of the second layer image;
Based on the mode information received by the processing of the receiving step, the intra prediction mode of the image of the first layer is used as the intra prediction mode of the image of the second layer, and the image of the second layer An intra prediction step for performing intra prediction of.
(11)
An intra prediction unit that performs intra prediction of an image of the second hierarchy using an intra prediction mode of an image of the first hierarchy of an image having a hierarchical structure as an intra prediction mode of an image of the second hierarchy;
A setting unit that sets mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image;
A transmission unit configured to transmit the mode information set by the setting unit.
(12)
The intra prediction unit uses an intra prediction mode of a prediction block of an image of the first layer collocated with a prediction block of the image of the second layer as an intra prediction mode of a prediction block of the image of the second layer. The encoding device according to (11), wherein intra coding is performed.
(13)
The intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image. The encoding apparatus according to (12), in which the mode is set.
(14)
The intra prediction unit performs intra prediction of the second layer image in a coding unit,
The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in the encoding unit.
(15)
The intra prediction unit performs intra prediction of the second layer image in prediction block units,
The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in units of the prediction block.
(16)
The intra prediction unit performs intra prediction of the second layer image in a maximum coding unit;
The encoding unit according to any one of (11) to (13), wherein the setting unit sets the mode information in the maximum encoding unit.
(17)
The intra prediction unit performs intra prediction of the second layer image in a coding unit of a predetermined size,
The setting unit sets the mode information in an encoding unit of the predetermined size,
The encoding device according to any one of (11) to (13), wherein the transmission unit transmits the mode information of the encoding unit of the predetermined size and size information indicating the predetermined size.
(18)
The intra prediction unit has an AVC (Advanced Video Coding) method for encoding the first layer image and a High Efficiency Video Coding (HEVC) method for the second layer image. In this case, the AVC intra prediction mode of the first layer image is converted into the HEVC intra prediction mode having the same angle as the corresponding angle, and the intra prediction mode of the second layer image is set. (11) The encoding device according to any one of (17).
(19)
The intra prediction unit has an AVC (Advanced Video Coding) method for encoding the first layer image and a High Efficiency Video Coding (HEVC) method for the second layer image. In this case, the Plain mode as the intra prediction mode of the first layer image is converted to the HEVC Planar mode to be the intra prediction mode of the second layer image. An encoding device according to claim 1.
(20)
The encoding device
An intra prediction step of performing intra prediction of the second layer image using the intra prediction mode of the first layer image of the image having a hierarchical structure as the intra prediction mode of the second layer image;
A setting step for setting mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image;
A transmission step of transmitting the mode information set by the processing of the setting step.
 30 符号化装置, 34 伝送部, 113 算出部, 122 スキップ予測部, 160 復号装置, 161 受け取り部, 242 スキップ予測部 30 encoding device, 34 transmission unit, 113 calculation unit, 122 skip prediction unit, 160 decoding device, 161 receiving unit, 242 skip prediction unit

Claims (20)

  1.  階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を受け取る受け取り部と、
     前記受け取り部により受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部と
     を備える復号装置。
    A receiving unit that receives mode information indicating that an intra prediction mode of an image of a first layer of an image having a hierarchical structure is used as an intra prediction mode of an image of a second layer;
    Based on the mode information received by the receiving unit, the intra prediction mode of the second layer image is used using the intra prediction mode of the first layer image as the intra prediction mode of the second layer image. A decoding device comprising: an intra prediction unit that performs prediction.
  2.  前記イントラ予測部は、前記モード情報に基づいて、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックのイントラ予測モードを、その第2の階層の画像の予測ブロックのイントラ予測モードとしてイントラ予測を行う
     請求項1に記載の復号装置。
    The intra prediction unit, based on the mode information, sets an intra prediction mode of a prediction block of the first layer image collocated with a prediction block of the second layer image of the second layer image. The decoding device according to claim 1, wherein intra prediction is performed as an intra prediction mode of a prediction block.
  3.  前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックが存在しない場合、その第1の階層の画像の予測ブロックのイントラ予測モードをDCモードとする
     請求項2に記載の復号装置。
    The intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image. The decoding apparatus according to claim 2, wherein the decoding apparatus is in a mode.
  4.  前記受け取り部は、符号化単位の前記モード情報を受け取り、
     前記イントラ予測部は、前記符号化単位のモード情報に基づいて前記符号化単位で前記第2の階層の画像のイントラ予測を行う
     請求項1に記載の復号装置。
    The receiving unit receives the mode information of a coding unit;
    The decoding device according to claim 1, wherein the intra prediction unit performs intra prediction of the second layer image in the coding unit based on the mode information of the coding unit.
  5.  前記受け取り部は、予測ブロック単位の前記モード情報を受け取り、
     前記イントラ予測部は、前記予測ブロック単位のモード情報に基づいて前記予測ブロック単位で前記第2の階層の画像のイントラ予測を行う
     請求項1に記載の復号装置。
    The receiving unit receives the mode information in units of prediction blocks,
    The decoding device according to claim 1, wherein the intra prediction unit performs intra prediction of the image of the second layer in the prediction block unit based on the mode information in the prediction block unit.
  6.  前記受け取り部は、最大の符号化単位の前記モード情報を受け取り、
     前記イントラ予測部は、前記最大の符号化単位のモード情報に基づいて前記最大の符号化単位で前記第2の階層の画像のイントラ予測を行う
     請求項1に記載の復号装置。
    The receiving unit receives the mode information of a maximum coding unit;
    The decoding apparatus according to claim 1, wherein the intra prediction unit performs intra prediction of the second layer image in the maximum coding unit based on the mode information of the maximum coding unit.
  7.  前記受け取り部は、所定のサイズの符号化単位の前記モード情報と前記所定のサイズを示すサイズ情報を受け取り、
     前記イントラ予測部は、前記所定のサイズの符号化単位のモード情報と前記サイズ情報に基づいて前記所定のサイズの符号化単位で前記第2の階層の画像のイントラ予測を行う
     請求項1に記載の復号装置。
    The receiving unit receives the mode information of an encoding unit of a predetermined size and size information indicating the predetermined size;
    The intra prediction unit performs intra prediction of the second layer image in the encoding unit of the predetermined size based on the mode information of the encoding unit of the predetermined size and the size information. Decoding device.
  8.  前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記モード情報に基づいて、前記第1の階層の画像のAVC方式のイントラ予測モードを、対応する角度と同一の角度のHEVC方式のイントラ予測モードに変換し、前記第2の階層の画像のイントラ予測モードとする
     請求項1に記載の復号装置。
    In the intra prediction unit, the encoding method of the first layer image is an AVC (Advanced Video Coding) method, and the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method. In this case, based on the mode information, the AVC intra prediction mode of the first layer image is converted into an HEVC intra prediction mode having the same angle as the corresponding angle, and the second layer image is converted. The decoding device according to claim 1, wherein the intra prediction mode is selected.
  9.  前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードとしてのPlainモードをHEVC方式のPlanarモードに変換し、前記第2の階層の画像のイントラ予測モードとする
     請求項1に記載の復号装置。
    The intra prediction unit has an AVC (Advanced Video Coding) method for encoding the first layer image and a High Efficiency Video Coding (HEVC) method for the second layer image. In this case, on the basis of the mode information, the Plain mode as the intra prediction mode of the first layer image is converted into the HEVC Planar mode, and the intra prediction mode of the second layer image is set. The decoding device according to 1.
  10.  復号装置が、
     階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を受け取る受け取りステップと、
     前記受け取りステップの処理により受け取られた前記モード情報に基づいて、前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測ステップと
     を含む復号方法。
    The decryption device
    Receiving the mode information indicating that the intra prediction mode of the first layer image of the image having the hierarchical structure is used as the intra prediction mode of the second layer image;
    Based on the mode information received by the processing of the receiving step, the intra prediction mode of the image of the first layer is used as the intra prediction mode of the image of the second layer, and the image of the second layer An intra prediction step for performing intra prediction of.
  11.  階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測部と、
     前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を設定する設定部と、
     前記設定部により設定された前記モード情報を伝送する伝送部と
     を備える符号化装置。
    An intra prediction unit that performs intra prediction of an image of the second hierarchy using an intra prediction mode of an image of the first hierarchy of an image having a hierarchical structure as an intra prediction mode of an image of the second hierarchy;
    A setting unit that sets mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image;
    A transmission unit configured to transmit the mode information set by the setting unit.
  12.  前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックのイントラ予測モードを、その第2の階層の画像の予測ブロックのイントラ予測モードとしてイントラ予測を行う
     請求項11に記載の符号化装置。
    The intra prediction unit uses an intra prediction mode of a prediction block of an image of the first layer collocated with a prediction block of the image of the second layer as an intra prediction mode of a prediction block of the image of the second layer. The encoding apparatus according to claim 11, wherein intra prediction is performed.
  13.  前記イントラ予測部は、前記第2の階層の画像の予測ブロックとコロケーテッドな前記第1の階層の画像の予測ブロックが存在しない場合、その第1の階層の画像の予測ブロックのイントラ予測モードをDCモードとする
     請求項12に記載の符号化装置。
    The intra-prediction unit sets the intra prediction mode of the prediction block of the first layer image to DC when there is no collocated prediction block of the first layer image and the prediction block of the first layer image. The encoding device according to claim 12, wherein the encoding device is a mode.
  14.  前記イントラ予測部は、符号化単位で前記第2の階層の画像のイントラ予測を行い、
     前記設定部は、前記モード情報を前記符号化単位で設定する
     請求項11に記載の符号化装置。
    The intra prediction unit performs intra prediction of the second layer image in a coding unit,
    The encoding device according to claim 11, wherein the setting unit sets the mode information in the encoding unit.
  15.  前記イントラ予測部は、予測ブロック単位で前記第2の階層の画像のイントラ予測を行い、
     前記設定部は、前記モード情報を前記予測ブロック単位で設定する
     請求項11に記載の符号化装置。
    The intra prediction unit performs intra prediction of the second layer image in prediction block units,
    The encoding device according to claim 11, wherein the setting unit sets the mode information in units of the prediction block.
  16.  前記イントラ予測部は、最大の符号化単位で前記第2の階層の画像のイントラ予測を行い、
     前記設定部は、前記モード情報を前記最大の符号化単位で設定する
     請求項11に記載の符号化装置。
    The intra prediction unit performs intra prediction of the second layer image in a maximum coding unit;
    The encoding device according to claim 11, wherein the setting unit sets the mode information in the maximum encoding unit.
  17.  前記イントラ予測部は、所定のサイズの符号化単位で前記第2の階層の画像のイントラ予測を行い、
     前記設定部は、前記モード情報を前記所定のサイズの符号化単位で設定し、
     前記伝送部は、前記所定のサイズの符号化単位の前記モード情報と前記所定のサイズを示すサイズ情報とを伝送する
     請求項11に記載の符号化装置。
    The intra prediction unit performs intra prediction of the second layer image in a coding unit of a predetermined size,
    The setting unit sets the mode information in an encoding unit of the predetermined size,
    The encoding device according to claim 11, wherein the transmission unit transmits the mode information of the encoding unit of the predetermined size and size information indicating the predetermined size.
  18.  前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記第1の階層の画像のAVC方式のイントラ予測モードを、対応する角度と同一の角度のHEVC方式のイントラ予測モードに変換し、前記第2の階層の画像のイントラ予測モードとする
     請求項11に記載の符号化装置。
    In the intra prediction unit, the encoding method of the first layer image is an AVC (Advanced Video Coding) method, and the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method. In this case, the AVC intra prediction mode of the first layer image is converted into an HEVC intra prediction mode having the same angle as the corresponding angle, and the intra prediction mode of the second layer image is set. Item 12. The encoding device according to Item 11.
  19.  前記イントラ予測部は、前記第1の階層の画像の符号化方式がAVC(Advanced Video Coding)方式であり、前記第2の階層の画像の符号化方式がHEVC(High Efficiency Video Coding)方式である場合、前記第1の階層の画像のイントラ予測モードとしてのPlainモードをHEVC方式のPlanarモードに変換し、前記第2の階層の画像のイントラ予測モードとする
     請求項11に記載の符号化装置。
    In the intra prediction unit, the encoding method of the first layer image is an AVC (Advanced Video Coding) method, and the encoding method of the second layer image is a HEVC (High Efficiency Video Coding) method. 12. The encoding device according to claim 11, wherein the Plain mode as the intra prediction mode of the first layer image is converted into a Planar mode of the HEVC scheme to obtain the intra prediction mode of the second layer image.
  20.  符号化装置が、
     階層構造を有する画像の第1の階層の画像のイントラ予測モードを第2の階層の画像のイントラ予測モードとして用いて、前記第2の階層の画像のイントラ予測を行うイントラ予測ステップと、
     前記第1の階層の画像のイントラ予測モードを前記第2の階層の画像のイントラ予測モードとして用いることを示すモード情報を設定する設定ステップと、
     前記設定ステップの処理により設定された前記モード情報を伝送する伝送ステップと
     を含む符号化方法。
    The encoding device
    An intra prediction step of performing intra prediction of the second layer image using the intra prediction mode of the first layer image of the image having a hierarchical structure as the intra prediction mode of the second layer image;
    A setting step for setting mode information indicating that the intra prediction mode of the first layer image is used as the intra prediction mode of the second layer image;
    A transmission step of transmitting the mode information set by the processing of the setting step.
PCT/JP2014/056828 2013-03-26 2014-03-14 Decoding device and decoding method, and encoding device and encoding method WO2014156705A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013063805 2013-03-26
JP2013-063805 2013-03-26

Publications (1)

Publication Number Publication Date
WO2014156705A1 true WO2014156705A1 (en) 2014-10-02

Family

ID=51623687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/056828 WO2014156705A1 (en) 2013-03-26 2014-03-14 Decoding device and decoding method, and encoding device and encoding method

Country Status (1)

Country Link
WO (1) WO2014156705A1 (en)

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DONE BUGDAYCI ET AL.: "TE5: Results of test 5.1.3 on inter-layer intra mode prediction", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 12TH MEETING, 14 January 2013 (2013-01-14), GENEVA, CH *
HAITAO YANG ET AL.: "Description of scalable video coding technology proposal by Huawei Technologies", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP3 AND ISO/IEC JTC1/SC29/WG11 LLTH MEETING, 10 October 2012 (2012-10-10), SHANGHAI, CN, pages 11 , 15 *
ZHIJIE ZHAO ET AL.: "Inter-layer intra prediction mode coding for the scalable extension of HEVC", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 LLTH MEETING, 10 October 2012 (2012-10-10), SHANGHAI, CN *

Similar Documents

Publication Publication Date Title
US9894355B2 (en) Image processing apparatus and method thereof
JP6358475B2 (en) Image decoding apparatus and method, and image encoding apparatus and method
WO2014002896A1 (en) Encoding device, encoding method, decoding device, and decoding method
US10499079B2 (en) Encoding device, encoding method, decoding device, and decoding method
US9591329B2 (en) Image processing device and method for encoding and decoding image
WO2015098561A1 (en) Decoding device, decoding method, coding device, and coding method
JP2015005899A (en) Decoder and decoding method, encoder and encoding method
JP2015076861A (en) Decoder, decoding method and encoder, and encoding method
WO2014050731A1 (en) Image processing device and method
WO2013108688A1 (en) Image processing device and method
US9930353B2 (en) Image decoding device and method
WO2014103764A1 (en) Image processing device and method
US20150304678A1 (en) Image processing device and method
WO2015053112A1 (en) Decoding device and decoding method, and encoding device and encoding method
KR102338766B1 (en) Image coding apparatus and method, and recording medium
WO2014050732A1 (en) Encoding device, encoding method, decoding device, and decoding method
WO2014002900A1 (en) Image processing device, and image processing method
WO2014141899A1 (en) Image processing device and method
WO2015053111A1 (en) Decoding device and decoding method, and encoding device and encoding method
WO2014156705A1 (en) Decoding device and decoding method, and encoding device and encoding method
WO2014203762A1 (en) Decoding device, decoding method, encoding device, and encoding method
WO2014156707A1 (en) Image encoding device and method and image decoding device and method
WO2014097937A1 (en) Image processing device and image processing method
WO2014141964A1 (en) Image processing device and method
JP2015050738A (en) Decoder and decoding method, encoder and encoding 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: 14775495

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP