WO2014141899A1 - Image processing device and method - Google Patents

Image processing device and method Download PDF

Info

Publication number
WO2014141899A1
WO2014141899A1 PCT/JP2014/055007 JP2014055007W WO2014141899A1 WO 2014141899 A1 WO2014141899 A1 WO 2014141899A1 JP 2014055007 W JP2014055007 W JP 2014055007W WO 2014141899 A1 WO2014141899 A1 WO 2014141899A1
Authority
WO
WIPO (PCT)
Prior art keywords
motion information
unit
image
encoding
block
Prior art date
Application number
PCT/JP2014/055007
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 WO2014141899A1 publication Critical patent/WO2014141899A1/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/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • 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/597Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding specially adapted for multi-view video sequence encoding

Definitions

  • the present disclosure relates to an image processing apparatus and method, and more particularly, to an image processing apparatus and method capable of performing parallel processing or pipeline processing in motion vector encoding or decoding.
  • the conventional image coding methods such as MPEG-2 and AVC have a scalability function of layering and coding an image into a plurality of layers.
  • a terminal with a low processing capacity such as a mobile phone
  • image compression information of only the base layer (base layer) is transmitted, and a moving image with low spatiotemporal resolution or poor image quality is reproduced.
  • the image compression information of the enhancement layer is transmitted, and the space-time resolution is high.
  • AMVP Advanced Motion Vector Prediction
  • Merge a predicted value of motion vector information in the block is generated from motion vector information (peripheral motion vector information) in a peripheral PU (Prediction Unit).
  • the peripheral motion vector information is generated using the temporal direction adjacent motion vector information and the spatial direction adjacent motion vector information of the block.
  • the motion information related to the left block is the adjacent motion information in the right block. Therefore, unless the motion information related to the left block is determined, the processing of the right block cannot be started, which hinders pipeline processing.
  • Non-Patent Document 1 a syntax element called log2_parallel_merge_level_minus2 is transmitted in the compressed image information to be output. Then, based on the value of log2_parallel_merge_level_minus2, LCU (Largest Coding Unit) is divided into non-overlapping MER (Motion Estimation ⁇ ⁇ ⁇ ⁇ Region). MER is a square.
  • the motion vector encoding process is performed assuming that the motion information related to the adjacent PU is unavailable.
  • the MER is set to a large value such as 64 ⁇ 64 or 32 ⁇ 32 by the method according to Non-Patent Document 1, a deterioration in coding efficiency is observed.
  • a large MER is set, and high-speed PU processing by parallel processing is required.
  • the present disclosure has been made in view of such a situation, and can perform parallel processing or pipeline processing in motion vector encoding or decoding.
  • An image processing apparatus includes hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and a motion information code obtained by encoding motion information used for encoding the image data.
  • the receiving unit that receives the data and the current hierarchy includes a parallel or pipeline processing block adjacent to the current block in the processing block and an adjacent reference block to which motion information is referenced
  • a motion information decoding unit that decodes motion information encoded data received by the receiving unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer; and the motion information decoding Using the motion information obtained by decoding the motion information encoded data by the unit, the floor received by the receiving unit.
  • a decoding unit for decoding the coded image data is a parallel or pipeline processing block adjacent to the current block in the processing block and an adjacent reference block to which motion information is referenced
  • the motion information encoded data is encoded in the merge mode.
  • the motion information encoded data is encoded by AMVP (Advanced Motion Vector Prediction) mode.
  • AMVP Advanced Motion Vector Prediction
  • the motion information decoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer as a motion of the corresponding block. Information can be referenced.
  • the motion information decoding unit as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer, the motion of the corresponding block Information can be referenced.
  • the motion information of the corresponding block is stored in the buffer in a compressed state.
  • the motion information decoding unit can decode the motion information encoded data received by the receiving unit by parallel or pipeline processing.
  • an image processing apparatus encodes hierarchical image encoded data obtained by encoding a plurality of hierarchized image data and motion information used for encoding the image data.
  • a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referenced.
  • the received motion information encoded data is decoded by referring to the motion information of the corresponding block corresponding to the adjacent reference block, and the motion information encoded data is decoded.
  • the received hierarchical image encoded data is decoded using the motion information.
  • An image processing device includes an encoding unit that encodes image data that has been hierarchized using motion information, and the processing in parallel or pipeline processing blocks in a current hierarchy.
  • an adjacent reference block that is adjacent to the current block in the block and to which motion information is referenced is included, in the lower hierarchy of the current hierarchy, refer to the motion information of the corresponding block corresponding to the adjacent reference block,
  • a motion information encoding unit that encodes the motion information used for encoding the image data by the encoding unit; and hierarchical image encoded data obtained by encoding the image data by the encoding unit.
  • a transmission unit for transmitting the motion information encoded data obtained by encoding the motion information by the motion information encoding unit.
  • the motion information encoding unit includes an adjacent reference block adjacent to the current block in the processing block and referenced to the motion information in the parallel or pipeline processing block in the merge mode And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer. it can.
  • the motion information encoding unit includes an adjacent reference block adjacent to a current block in the processing block and referred to motion information in a parallel or pipeline processing block in an AMVP (Advanced Motion Vector Prediction) mode. And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer can do.
  • AMVP Advanced Motion Vector Prediction
  • the motion information encoding unit uses, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer, as the corresponding block. Can be referred to.
  • the motion information encoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer.
  • the motion information can be referred to.
  • the motion information of the corresponding block is stored in the buffer in a compressed state.
  • the motion information encoding unit can encode the motion information used for encoding the image data by the encoding unit by parallel or pipeline processing.
  • an image processing method in which an image processing apparatus encodes multiple layers of image data using motion information, and the processing is performed in parallel or pipeline processing blocks in a current layer.
  • an adjacent reference block that is adjacent to the current block in the block and to which motion information is referenced is included, in the lower hierarchy of the current hierarchy, refer to the motion information of the corresponding block corresponding to the adjacent reference block, Hierarchical image encoded data obtained by encoding the motion information used for encoding the image data and encoding the image data, and motion information encoding obtained by encoding the motion information Transmit data.
  • hierarchical image encoded data obtained by encoding a plurality of hierarchized image data motion information encoded data obtained by encoding motion information used for encoding the image data, Is received.
  • a parallel or pipeline processing block includes an adjacent reference block adjacent to the current block in the processing block and to which motion information is referenced
  • the received motion information encoded data is decoded with reference to the motion information of the corresponding block corresponding to the adjacent reference block, and the motion information encoded data is received using the motion information obtained by decoding.
  • the hierarchical image encoded data is decoded.
  • multiple layers of image data are encoded using motion information, and adjacent to a current block in the processing block in a parallel or pipeline processing block in the current layer.
  • the motion data of the corresponding block corresponding to the adjacent reference block is referred to in the lower layer of the current layer to encode the image data.
  • the used motion information is encoded.
  • the hierarchical image encoded data obtained by encoding the image data and the motion information encoded data obtained by encoding the motion information are transmitted.
  • the above-described image processing apparatus may be an independent apparatus, or may be an internal block constituting one image encoding apparatus or image decoding apparatus.
  • an image can be decoded.
  • parallel processing or pipeline processing can be performed in motion vector encoding or decoding.
  • an image can be encoded.
  • parallel processing or pipeline processing can be performed in motion vector encoding or decoding.
  • FIG. 20 is a block diagram illustrating a main configuration example of a computer. It is a block diagram which shows an example of a schematic structure of a television apparatus. It is a block diagram which shows an example of a schematic structure of a mobile telephone. It is a block diagram which shows an example of a schematic structure of a recording / reproducing apparatus. It is a block diagram which shows an example of a schematic structure of an imaging device. 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.
  • AVC Advanced Video Coding
  • a hierarchical structure is defined by macroblocks and sub-macroblocks.
  • a macroblock of 16 pixels ⁇ 16 pixels is not optimal for a large image frame such as UHD (Ultra High Definition; 4000 pixels ⁇ 2000 pixels), which is a target of the next generation encoding method.
  • a coding unit (Coding Unit)) is defined.
  • CU is also called Coding Tree Block (CTB) and is a partial area of a picture unit image that plays the same role as a macroblock in the AVC method.
  • CTB Coding Tree Block
  • the latter is fixed to a size of 16 ⁇ 16 pixels, whereas the size of the former is not fixed, and is specified in the image compression information in each sequence.
  • the maximum size (LCU (Largest Coding Unit)) and the minimum size (SCU (Smallest Coding Unit)) are specified.
  • the LCU size is 128 and the maximum hierarchical depth is 5.
  • split_flag is “1”
  • the 2N ⁇ 2N size CU is divided into N ⁇ N size CUs that are one level below.
  • the CU is divided into prediction units (Prediction Units (PU)) that are regions (partial regions of images in units of pictures) that are processing units of intra or inter prediction, and are regions that are processing units of orthogonal transformation It is divided into transform units (Transform Unit (TU)), which is (a partial area of an image in units of pictures).
  • Prediction Units PU
  • transform Unit Transform Unit
  • a macro block in the AVC method corresponds to an LCU
  • a block (sub block) corresponds to a CU. Then you can think.
  • a motion compensation block in the AVC method can be considered to correspond to a PU.
  • the size of the LCU of the highest hierarchy is generally set larger than the macro block of the AVC method, for example, 128 ⁇ 128 pixels.
  • the LCU also includes a macro block in the AVC method
  • the CU also includes a block (sub-block) in the AVC method.
  • “block” used in the following description indicates an arbitrary partial area in the picture, and its size, shape, characteristics, and the like are not limited. That is, the “block” includes an arbitrary area (processing unit) such as a TU, PU, SCU, CU, LCU, sub-block, macroblock, or slice. Of course, other partial areas (processing units) are also included. When it is necessary to limit the size, processing unit, etc., it will be described as appropriate.
  • CTU Coding Tree Unit
  • CTB Coding Tree Block
  • CU Coding ⁇ Unit
  • CB Coding ⁇ ⁇ ⁇ ⁇ Block
  • JM Job Model
  • JM JM
  • High Complexity Mode Low Complexity Mode.
  • a cost function value for each prediction mode Mode is calculated, and a prediction mode that minimizes the cost function value is selected as the optimum mode for the block or macroblock.
  • is the entire set of candidate modes for encoding the block or macroblock
  • D is the difference energy between the decoded image and the input image when encoded in the prediction mode.
  • is a Lagrange undetermined multiplier given as a function of the quantization parameter.
  • R is the total code amount when encoding is performed in this mode, including orthogonal transform coefficients.
  • D is the difference energy between the predicted image and the input image, unlike the case of High Complexity Mode.
  • QP2Quant QP
  • HeaderBit is a code amount related to information belonging to Header, such as a motion vector and mode, which does not include an orthogonal transform coefficient.
  • Scalable encoding is a scheme in which an image is divided into a plurality of layers (hierarchical) and encoded for each layer.
  • one image is divided into a plurality of images (layers) based on a predetermined parameter.
  • each layer is composed of difference data so that redundancy is reduced.
  • a base layer and an enhancement layer an image with lower quality than the original image can be obtained with only the base layer data, and the base layer data and the enhancement layer data are combined.
  • the original image that is, a high quality image
  • image compression information of only the base layer (base layer) is transmitted, and a moving image with a low spatiotemporal resolution or poor image quality is reproduced.
  • image enhancement information of the enhancement layer is transmitted.
  • Image compression information corresponding to the capabilities of the terminal and the network can be transmitted from the server without performing transcoding processing, such as playing a moving image with high image quality.
  • spatial scalability As a parameter having such scalability, for example, there is a spatial resolution as shown in FIG. 2 (spatial scalability).
  • this spatial scalability spatial scalability
  • the resolution is different for each layer. That is, as shown in FIG. 2, enhancement in which each picture is synthesized with a base layer having a spatially lower resolution than the original image and the base layer image to obtain the original image (original spatial resolution). Layered into two layers.
  • this number of hierarchies is an example, and the number of hierarchies can be hierarchized.
  • temporal resolution As another parameter for providing such scalability, for example, there is temporal resolution as shown in FIG. 3 (temporal scalability).
  • the frame rate is different for each layer. That is, in this case, as shown in FIG. 3, layers are layered at different frame rates, and by adding a high frame rate layer to a low frame rate layer, a higher frame rate moving image is obtained. By adding all the layers, the original moving image (original frame rate) can be obtained.
  • This number of hierarchies is an example, and can be hierarchized to an arbitrary number of hierarchies.
  • each picture has two layers of enhancement layers in which the original image (original SNR) is obtained by combining the base layer with a lower SNR than the original image and the base layer image. Is layered.
  • original SNR original image
  • enhancement layer image compression information information related to the low PSNR image is transmitted, and by adding the enhancement layer image compression information to this, a high SNR image is reconstructed. It is possible.
  • this number of hierarchies is an example, and the number of hierarchies can be hierarchized.
  • the parameters for providing scalability may be other than the examples described above.
  • the base layer (base layer) consists of an 8-bit (bit) image, and by adding an enhancement layer (enhancement layer) to this, the bit-depth scalability (bit-depth scalability) can be obtained. is there.
  • base layer (base ⁇ ⁇ layer) consists of component images in 4: 2: 0 format, and by adding the enhancement layer (enhancement layer) to this, the chroma scalability (chroma) scalability).
  • the layers are hierarchized into layers of different views (viewpoints).
  • the layers described in the present embodiment include the above-described scalability coding spatial, temporal, SNR, bit depth, color, view, and the like.
  • layer used in this specification includes the above-described scalable (hierarchical) coding layer and each view when considering a multi-view multi-view.
  • the term “layer” used in this specification includes a main (corresponding to sub) layer and a sublayer.
  • the main layer is a spatial scalability layer and the sublayer is composed of a temporal scalability layer.
  • the hierarchy is described as a layer as appropriate.
  • inter-picture prediction is adopted as one of the methods for generating a predicted image.
  • AMVP Two methods are defined: Advanced (Motion) Vector (Prediction) and Merge.
  • a predicted value (also referred to as predicted motion information) of motion information in the current block is generated from motion information in a peripheral block (peripheral PU) located around the current block (PU) to be processed.
  • a difference value between the predicted motion information and the motion information of the current block is calculated, and the difference value is included in the bit stream of the image data and transmitted as the motion information encoding result.
  • predicted motion information generated from the neighboring blocks is used as motion information for the current block. Then, index information indicating the predicted motion information is included in the bit stream of the image data and transmitted.
  • the predicted motion information includes motion information of a temporal peripheral block that is a peripheral block in the time direction of the current block (also referred to as temporal peripheral motion information), and a spatial peripheral block that is a peripheral block in the spatial direction.
  • Motion information also referred to as spatial direction peripheral motion information.
  • spatial direction peripheral motion information is the motion information of peripheral block A0, peripheral block B0, peripheral block C, peripheral block D, and peripheral block E. is there.
  • the temporal direction peripheral motion information is the peripheral block CR and the peripheral block H of the picture of the collocated block (Co-located-PU).
  • one of the peripheral block A0 and the peripheral block E in FIG. 5 is selected as a predicted motion information candidate.
  • One of block C, peripheral block B0, and peripheral block D is selected.
  • VEC1 is the motion information of the current block
  • ref_idx and list are the same motion information
  • VEC2 is the motion information of the current block
  • ref_idx is the same, but the list is different motion information
  • VEC3 is The motion information of the current block is different from ref_idx but the list is the same
  • VEC4 is the motion information of the current block
  • ref_idx and list are different motion information.
  • the candidates for the spatial direction peripheral motion information are searched (scanned) in the following order.
  • Scan VEC1 of peripheral block E and peripheral block A0 (1) Scan VEC1 of peripheral block E and peripheral block A0. (2) Scan VEC2, 3, and 4 of peripheral block E and peripheral block A0. (3) Scan VEC1 of peripheral block C, peripheral block B0, and peripheral block D. (4) Scan VEC2, 3, and 4 of peripheral block C, peripheral block B0, and peripheral block D.
  • the scanning process ends when the corresponding motion information is detected.
  • the motion information of the peripheral block CR is used as a candidate for predicted motion information. Used.
  • the spatial peripheral motion information is the motion information of the peripheral blocks 1 to 5.
  • the temporal direction peripheral motion information is the peripheral block CR6 and the peripheral block H6 of the picture of the collocated block (Co-located PU).
  • the motion information of the peripheral blocks 1 to 4 in FIG. 6 is used as a predicted motion information candidate, and a candidate list is generated. Is done. If at least one piece of motion information of the peripheral blocks 1 to 4 is unavailable, the motion information of the peripheral block 5 is used.
  • the number of prediction motion information candidates in the merge mode (the size of the candidate list) is always fixed to five. That is, as shown in FIG. 7, the list size (List Size) of the index (Merge_idx) is fixed to 5. Thereby, CABAC and motion prediction can be processed independently.
  • this candidate list may be missing. If missing numbers are generated in the candidate list, the encoding efficiency may be reduced. Therefore, in order to prevent missing numbers from appearing in the candidate list, for example, as shown in FIG. 8, a compensation method such as combined merge (Combined bi-directional merge) or zero vector merge (Zero vector merge) has been considered.
  • Zero vector merging is a method of generating a new candidate using a zero vector and filling it.
  • the CU is divided into N ⁇ 2N PUs.
  • the motion information related to the left block B0 is the adjacent motion information in the right block B1. Therefore, unless the motion information regarding the left block B0 is determined, the processing of the right block B1 cannot be started, which hinders pipeline processing.
  • Non-Patent Document 1 a syntax element called log2_parallel_merge_level_minus2 is transmitted in the compressed image information to be output. Then, based on the value of log2_parallel_merge_level_minus2, the LCU is divided into MERs (Motion Estimation Regions) that do not overlap. MER is a square.
  • the motion vector encoding process is performed assuming that the motion information related to the adjacent PU is unavailable.
  • the MER is set to a large value such as 64 ⁇ 64 or 32 ⁇ 32 by the method according to Non-Patent Document 1, a deterioration in coding efficiency is observed.
  • a large MER is set, and high-speed PU processing by parallel processing is required.
  • the motion vector encoding / decoding processing is performed. That is, in the present technology, in the enhancement layer, when a PU adjacent to the PU and space-time (adjacent PU) belongs to the same MER, the motion vector is used for the adjacent PU using the motion information of the collocated PU in the base layer. Encoding / decoding processing is performed.
  • PU E2 is the current block
  • PU E1 is an adjacent block adjacent to the current block.
  • the motion information related to E1 is handled as unavailable in the conventional method according to HEVC Version1.
  • the MER is a processing block that performs parallel processing or pipeline processing, as described in Non-Patent Document 1.
  • the enhancement layer (EL) the availability information of the motion information related to PU B1 in the base layer (BL) corresponding to the collocated PU corresponding to E1 (for example, at the same position) is checked. Done.
  • the motion information related to B1 is used for motion vector encoding / decoding processing as adjacent motion information for E2.
  • the motion vector by parallel processing or pipeline processing is applied by applying such a method according to the present technology. Encoding / decoding processing can be performed.
  • a method of detecting B1 first, in the enhancement layer, a pixel located at the center of E1 is detected, and a PU including a pixel in the base layer corresponding to this is detected as a co-located PU corresponding to E1. Assume that B1.
  • the co-located PU B1 detection process may be performed using a pixel located in the upper left instead of the center of E1.
  • Non-Patent Document 1 MER is proposed for merge, but the method according to the present technology is applied not only to merge but also to AMVP (Advanced Motion Vector Prediction) described above with reference to FIG. May be.
  • AMVP Advanced Motion Vector Prediction
  • FIG. 11 is a block diagram illustrating a main configuration example of a scalable encoding device.
  • a scalable encoding device 100 shown in FIG. 11 is an image information processing device that performs scalable encoding of image data, and encodes each layer of image data hierarchized into a base layer and an enhancement layer.
  • the parameters used as the criteria for this hierarchization are arbitrary.
  • the scalable encoding device 100 includes a common information generation unit 101, an encoding control unit 102, a base layer image encoding unit 103, a motion information encoding unit 104, and an enhancement layer image encoding unit 105.
  • the common information generation unit 101 acquires information related to encoding of image data that is stored in, for example, a NAL unit. In addition, the common information generation unit 101 acquires necessary information from the base layer image encoding unit 103, the motion information encoding unit 104, the enhancement layer image encoding unit 105, and the like as necessary. The common information generation unit 101 generates common information that is information regarding all layers based on the information. The common information includes, for example, a video parameter set. The common information generation unit 101 outputs the generated common information to the outside of the scalable encoding device 100, for example, as a NAL unit. Note that the common information generation unit 101 also supplies the generated common information to the encoding control unit 102. Furthermore, the common information generation unit 101 supplies part or all of the generated common information to the base layer image encoding unit 103 to the enhancement layer image encoding unit 105 as necessary.
  • the encoding control unit 102 controls the encoding of each layer by controlling the base layer image encoding unit 103 to the enhancement layer image encoding unit 105 based on the common information supplied from the common information generation unit 101. To do.
  • the base layer image encoding unit 103 acquires base layer image information (base layer image information).
  • the base layer image encoding unit 103 encodes the base layer image information without using information of other layers, generates base layer encoded data (base layer encoded data), and outputs the encoded data. Further, the base layer image encoding unit 103 supplies the motion information obtained at the time of encoding to the motion information encoding unit 104.
  • the heel motion information encoding unit 104 generates a list of predicted motion vector information used for encoding motion information obtained by motion prediction in the enhancement layer image encoding unit 105.
  • the motion information encoding unit 104 generates predicted motion information that is a predicted value of the motion information of the current block, using the motion information of the peripheral blocks located around the current block to be processed as the peripheral motion information.
  • the motion information encoding unit 104 uses the motion information acquired from the enhancement layer image encoding unit 105 as peripheral motion information.
  • the motion information encoding unit 104 uses the base layer image encoding unit 103 instead of the unavailable motion information.
  • Available motion information (specifically, motion information of a collocated block corresponding to the adjacent block) obtained from the above is used as peripheral motion information.
  • the motion information encoding unit 104 returns the list of predicted motion information generated in this way to the enhancement layer image encoding unit 105.
  • the enhancement layer image encoding unit 105 acquires enhancement layer image information (enhancement layer image information).
  • the enhancement layer image encoding unit 105 encodes the enhancement layer image information.
  • the enhancement layer image encoding unit 105 supplies the motion information of the current block to the motion information encoding unit 104 in order to encode the motion information of the current block.
  • the enhancement layer image encoding unit 105 acquires a list of predicted motion information of the current block from the motion information encoding unit 104.
  • the enhancement layer image encoding unit 105 encodes the motion information of the current block using the acquired list of predicted motion information.
  • the enhancement layer image encoding unit 105 generates and outputs enhancement layer encoded data (enhancement layer encoded data) through such encoding.
  • FIG. 12 is a block diagram illustrating a main configuration example of the base layer image encoding unit 103 in FIG. 11.
  • the base layer image encoding unit 103 includes an A / D conversion unit 111, a screen rearrangement buffer 112, a calculation unit 113, an orthogonal transformation unit 114, a quantization unit 115, a lossless encoding unit 116, The storage buffer 117, the inverse quantization unit 118, and the inverse orthogonal transform unit 119 are included.
  • the base layer image encoding unit 103 includes a calculation unit 120, a deblocking filter 121, a frame memory 122, a selection unit 123, an intra prediction unit 124, a motion prediction / compensation unit 125, a predicted image selection unit 126, and a rate control unit. 127. Further, the base layer image encoding unit 103 includes an adaptive offset filter 128 between the deblocking filter 121 and the frame memory 122.
  • the A / D conversion unit 111 performs A / D conversion on the input image data (base layer image information), and supplies the converted image data (digital data) to the screen rearrangement buffer 112 for storage.
  • the screen rearrangement buffer 112 rearranges the images of the frames in the stored display order in the order of frames for encoding according to the GOP (Group Of Picture), and rearranges the images in the order of the frames. It supplies to the calculating part 113.
  • the screen rearrangement buffer 112 also supplies the image in which the frame order is rearranged to the intra prediction unit 124 and the motion prediction / compensation unit 125.
  • the calculation unit 113 subtracts the predicted image supplied from the intra prediction unit 124 or the motion prediction / compensation unit 125 via the predicted image selection unit 126 from the image read from the screen rearrangement buffer 112, and the difference information Is output to the orthogonal transform unit 114. For example, in the case of an image on which intra coding is performed, the calculation unit 113 subtracts the prediction image supplied from the intra prediction unit 124 from the image read from the screen rearrangement buffer 112. For example, in the case of an image on which inter coding is performed, the calculation unit 113 subtracts the prediction image supplied from the motion prediction / compensation unit 125 from the image read from the screen rearrangement buffer 112.
  • the orthogonal transform unit 114 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computation unit 113.
  • the orthogonal transform unit 114 supplies the transform coefficient to the quantization unit 115.
  • the quantization unit 115 quantizes the transform coefficient supplied from the orthogonal transform unit 114.
  • the quantization unit 115 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 127, and performs the quantization.
  • the quantization unit 115 supplies the quantized transform coefficient to the lossless encoding unit 116.
  • the lossless encoding unit 116 encodes the transform coefficient quantized by the quantization unit 115 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 127, the code amount becomes the target value set by the rate control unit 127 (or approximates the target value).
  • the lossless encoding unit 116 acquires information indicating the intra prediction mode from the intra prediction unit 124, and acquires information indicating the inter prediction mode, difference motion vector information, and the like from the motion prediction / compensation unit 125. Furthermore, the lossless encoding unit 116 appropriately generates a base layer NAL unit including a sequence parameter set (SPS), a picture parameter set (PPS), and the like.
  • SPS sequence parameter set
  • PPS picture parameter set
  • the lossless encoding unit 116 encodes these various types of information by an arbitrary encoding method, and uses (multiplexes) a part of the encoded data (also referred to as an encoded stream).
  • the lossless encoding unit 116 supplies the encoded data obtained by encoding to the accumulation buffer 117 for accumulation.
  • Examples of the encoding method of the lossless encoding unit 116 include variable length encoding or arithmetic encoding.
  • Examples of variable length coding include H.264.
  • CAVLC Context-Adaptive Variable Length Coding
  • Examples of arithmetic coding include CABAC (Context-Adaptive Binary Arithmetic Coding).
  • the cocoon accumulation buffer 117 temporarily holds the encoded data (base layer encoded data) supplied from the lossless encoding unit 116.
  • the accumulation buffer 117 outputs the stored base layer encoded data to, for example, a recording device (recording medium) (not shown) or a transmission path at a later stage at a predetermined timing. That is, the accumulation buffer 117 is also a transmission unit that transmits encoded data.
  • the transform coefficient quantized by the quantization unit 115 is also supplied to the inverse quantization unit 118.
  • the inverse quantization unit 118 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 115.
  • the inverse quantization unit 118 supplies the obtained transform coefficient to the inverse orthogonal transform unit 119.
  • the inverse orthogonal transform unit 119 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 118 by a method corresponding to the orthogonal transform processing by the orthogonal transform unit 114.
  • the inversely orthogonal transformed output (restored difference information) is supplied to the calculation unit 120.
  • the calculation unit 120 uses the prediction image selection unit 126 to perform prediction from the intra prediction unit 124 or the motion prediction / compensation unit 125 on the restored difference information, which is the inverse orthogonal transform result supplied from the inverse orthogonal transform unit 119.
  • the images are added to obtain a locally decoded image (decoded image).
  • the decoded image is supplied to the deblocking filter 121 or the frame memory 122.
  • the deblocking filter 121 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image supplied from the calculation unit 120.
  • the deblocking filter 121 supplies the filtered image to the adaptive offset filter 128.
  • the adaptive offset filter 128 is an adaptive offset filter (SAO: Sample adaptive offset) that mainly removes ringing from the deblocking filter processing result (reconstructed image from which block distortion has been removed) from the deblocking filter 121. Process.
  • SAO Sample adaptive offset
  • the adaptive offset filter 128 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 128 performs the determined type of adaptive offset filter processing on the image after the adaptive deblocking filter processing, using the obtained offset. Then, the adaptive offset filter 128 supplies the image after the adaptive offset filter processing (hereinafter referred to as a decoded image) to the frame memory 122.
  • the deblocking filter 121 and the adaptive offset filter 128 may supply information such as filter coefficients used for the filter processing to the lossless encoding unit 116 and encode it as necessary. Further, an adaptive loop filter may be provided after the adaptive offset filter 128.
  • the frame memory 122 stores the reconstructed image supplied from the arithmetic unit 120 and the decoded image supplied from the adaptive offset filter 128, respectively.
  • the frame memory 122 supplies the stored reconstructed image to the intra prediction unit 124 via the selection unit 123 at a predetermined timing or based on a request from the outside such as the intra prediction unit 124.
  • the frame memory 122 also stores the decoded image stored at a predetermined timing or based on a request from the outside such as the motion prediction / compensation unit 125 via the selection unit 123. 125.
  • the kite frame memory 122 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 123 at a predetermined timing.
  • the eyelid selection unit 123 selects a supply destination of the reference image supplied from the frame memory 122. For example, in the case of intra prediction, the selection unit 123 supplies the reference image (pixel value in the current picture) supplied from the frame memory 122 to the motion prediction / compensation unit 125. For example, in the case of inter prediction, the selection unit 123 supplies the reference image supplied from the frame memory 122 to the motion prediction / compensation unit 125.
  • the intra prediction unit 124 performs intra prediction (intra-screen prediction) that generates a predicted image using a pixel value in a current picture that is a reference image supplied from the frame memory 122 via the selection unit 123.
  • the intra prediction unit 124 performs this intra prediction in a plurality of intra prediction modes prepared in advance.
  • the intra prediction unit 124 generates prediction images in all candidate intra prediction modes, evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 112, and selects the optimum mode. select. When the optimal intra prediction mode is selected, the intra prediction unit 124 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  • the intra prediction unit 124 appropriately supplies the intra prediction mode information indicating the adopted intra prediction mode to the lossless encoding unit 116 for encoding.
  • the heel motion prediction / compensation unit 125 performs motion prediction (inter prediction) using the input image supplied from the screen rearrangement buffer 112 and the reference image supplied from the frame memory 122 via the selection unit 123.
  • the motion prediction / compensation unit 125 performs a motion compensation process according to the detected motion vector, and generates a prediction image (inter prediction image information).
  • the motion prediction / compensation unit 125 performs such inter prediction in a plurality of inter prediction modes prepared in advance.
  • the heel motion prediction / compensation unit 125 generates a prediction image in all candidate inter prediction modes.
  • the motion prediction / compensation unit 125 evaluates the cost function value of each predicted image using the input image supplied from the screen rearrangement buffer 112 and information on the generated differential motion vector, and selects an optimal mode. .
  • the motion prediction / compensation unit 125 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  • the motion prediction / compensation unit 125 supplies information indicating the employed inter prediction mode, information necessary for performing processing in the inter prediction mode, and the like to the lossless encoding unit 116 when decoding the encoded data. And encoding.
  • the necessary information includes, for example, information on the generated differential motion vector and a flag indicating an index of the predicted motion vector as predicted motion vector information.
  • the predicted image selection unit 126 selects a supply source of the predicted image to be supplied to the calculation unit 113 or the calculation unit 120.
  • the prediction image selection unit 126 selects the intra prediction unit 124 as a supply source of the prediction image, and supplies the prediction image supplied from the intra prediction unit 124 to the calculation unit 113 and the calculation unit 120.
  • the predicted image selection unit 126 selects the motion prediction / compensation unit 125 as a supply source of the predicted image, and calculates the predicted image supplied from the motion prediction / compensation unit 125 as the calculation unit 113.
  • the rate control unit 127 controls the rate of the quantization operation of the quantization unit 115 based on the code amount of the encoded data stored in the storage buffer 117 so that no overflow or underflow occurs.
  • the motion prediction / compensation unit 125 supplies the motion information of the current block detected by motion prediction to the motion information encoding unit 104 as the motion information of the base layer.
  • FIG. 13 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 105 in FIG. 11. As shown in FIG. 13, the enhancement layer image encoding unit 105 has basically the same configuration as the base layer image encoding unit 103 of FIG.
  • each unit of the enhancement layer image encoding unit 105 performs processing for encoding enhancement layer image information, not the base layer. That is, the A / D conversion unit 111 of the enhancement layer image encoding unit 105 performs A / D conversion on the enhancement layer image information, and the accumulation buffer 117 of the enhancement layer image encoding unit 105 converts the enhancement layer encoded data into, for example, Then, the data is output to a recording device (recording medium), a transmission path, etc., not shown.
  • the enhancement layer image encoding unit 105 includes a motion prediction / compensation unit 135 instead of the motion prediction / compensation unit 125.
  • the heel motion prediction / compensation unit 135 uses the motion information encoding unit 104 to encode motion information. That is, the motion prediction / compensation unit 125 encodes the motion information of the current block using only the peripheral motion information of the base layer, whereas the motion prediction / compensation unit 135 uses only the peripheral motion information of the enhancement layer. Alternatively, the motion information of the current block can be encoded using the peripheral motion information of the base layer.
  • the motion prediction / compensation unit 135 generates, for each mode, a list of predicted motion information in the AMVP mode using the motion information around the current block detected by motion prediction. Also, the motion prediction / compensation unit 135 supplies the motion information of the current block detected by motion prediction for each mode to the motion information encoding unit 104 as enhancement layer motion information. In addition, the motion prediction / compensation unit 135 acquires a list of prediction motion information in the merge mode from the motion information encoding unit 104 for each supplied motion information.
  • the motion prediction / compensation unit 135 encodes motion information using the prediction motion information list in the AMVP mode and the merge mode, calculates a cost function value using the encoded result of the motion information, and selects an optimal inter prediction mode. decide.
  • FIG. 14 is a block diagram illustrating a main configuration example of the motion information encoding unit 104 in FIG. 11.
  • a PU will be described as an example of a block of a prediction processing unit.
  • the motion information is also referred to as motion vector information.
  • the motion information encoding unit 104 includes a parallel merge setting unit 151, a merge processing unit 152, a motion information compression unit 153, and a base layer motion information buffer 154.
  • the parallel merge setting unit 151 performs setting related to MER (Motion Estimation Region), that is, specifies a block size in accordance with a user operation.
  • MER Motion Estimation Region
  • the MER is a block set for performing parallel or pipeline processing. In other words, the MER can be said to be a parallel or pipeline processing block.
  • the parallel merge setting unit 151 supplies the specified block size information (hereinafter referred to as MER information) to the MER information buffer 164 of the merge processing unit 152. More specifically, as this MER information, here, the value of log2_parallel_merge_level_minus2 described in Non-Patent Document 1 is set.
  • this value is supplied to the lossless encoding unit 116 via the motion prediction / compensation unit 135, and is encoded by the lossless encoding unit 116 as, for example, a picture parameter set.
  • the merge processing unit 152 generates a candidate list of predicted motion information corresponding to the motion information of the current block of the enhancement layer in the merge mode. At that time, the merge processing unit 152 acquires the enhancement layer motion information from the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 as peripheral motion information as necessary. Further, the merge processing unit 152 acquires the base layer motion information stored in the base layer motion information buffer 154 as peripheral motion information as necessary. The merge processing unit 152 generates a candidate list using the peripheral motion information. The merge processing unit 152 supplies the generated candidate list to the motion prediction / compensation unit 135.
  • the merge processing unit 152 includes a candidate motion vector predictor buffer 161, a scaling unit 162, an adjacent motion information buffer 163, an MER information buffer 164, an in-MER determination unit 165, and an availability determination unit 166. It is configured.
  • the candidate predicted motion vector buffer 161 stores the adjacent PU motion information supplied from the adjacent motion information buffer 163 and the scaled motion vector information supplied from the scaling unit 162.
  • the candidate prediction motion vector buffer 161 is a merge mode candidate list for obtaining prediction motion information of the motion information of the current block obtained by the motion prediction / compensation unit 135 for the enhancement layer coding by the enhancement layer image coding unit 105. Is generated.
  • the number of candidates (the length of the candidate list) is arbitrary, but is preferably a predetermined number so that CABAC and motion prediction can be processed independently. In the following description, the number of candidates is five.
  • the candidate motion vector predictor buffer 161 supplies the accumulated motion vector information from No. 0 to No. 4 to the motion prediction / compensation unit 135 as a candidate list.
  • the scaling unit 162 performs a scaling process on the base layer motion vector information supplied from the availability determination unit 166 according to the spatial scalability ratio.
  • the scaling unit 162 supplies the scaled motion vector information to the candidate motion vector predictor buffer 161.
  • the scaling unit 162 supplies motion vector information to the candidate motion vector predictor buffer 161 without scaling.
  • the address information of the adjacent PU adjacent to the current PU from the motion prediction / compensation unit 135 and the motion vector information of the adjacent PU are available even if parallel processing or pipeline processing is performed. Supplied.
  • the adjacent motion information buffer 163 supplies the supplied adjacent PU address information to the in-MER determination unit 165. Also, the adjacent motion information buffer 163 supplies adjacent PU motion vector information to the candidate prediction motion vector buffer 161 in accordance with the control signal from the in-MER determination unit 165.
  • the MER information buffer 164 stores the MER information supplied from the parallel merge setting unit 151, and the stored MER information is supplied to the in-MER determination unit 165 at a predetermined timing.
  • the in-MER determination unit 165 determines whether the adjacent PU is in the MER or outside the MER. Determine. When determining that the MER is out of MER, the in-MER determination unit 165 transmits a control signal to the adjacent motion information buffer 163 because the adjacent PU is available. If the in-MER determination unit 165 determines that the MER is in the MER, the adjacent PU is not available and transmits a control signal to the base layer motion information buffer 154.
  • the availability determination unit 166 receives the base layer motion vector information supplied from the base layer motion information buffer 154 according to the control signal from the in-MER determination unit 165. The availability determining unit 166 determines whether or not the received base layer motion vector information is available. When the availability determination unit 166 determines that the availability is available, the base layer motion vector information is supplied to the scaling unit 162.
  • the motion information compression unit 153 obtains a motion vector having a maximum 4 ⁇ 4 accuracy (also referred to as a pre-compression motion vector) acquired from the motion prediction / compensation unit 125 of the base layer image encoding unit 103, for example, with 16 ⁇ 16 accuracy.
  • the motion vector after the compression (also referred to as 1 / 16-compressed motion vector) is supplied to the base layer motion information buffer 154.
  • the compression method of this motion vector is arbitrary. Note that the degree of compression is not limited, and compression may not be performed.
  • the motion information compression unit 153 may select a motion vector as a representative value from a plurality of motion vectors acquired from the motion prediction / compensation unit 125. For example, one motion vector as a representative value may be selected from 16 motion vectors of 4 ⁇ 4 accuracy (motion vectors of 4 ⁇ 4 blocks). By this compression, the accuracy of the motion vector becomes 16 ⁇ 16 accuracy.
  • the method of selecting this motion vector is arbitrary.
  • the motion vector of a block at a predetermined position such as the block at the upper left corner, may be selected, or the block at a position determined by a predetermined method, for example, a block may be selected according to the position in the image.
  • a motion vector may be selected.
  • the number of motion vectors to be selected is arbitrary and may be two or more.
  • the motion information compression unit 153 may calculate the representative value by a predetermined calculation using each motion vector, for example.
  • the method for calculating the representative value is arbitrary.
  • the average value or median value of the motion vectors of each block may be used as the representative value.
  • the number of representative values to be calculated is arbitrary and may be two or more.
  • the 1 / 16-compressed motion vector (representative value of the motion vector) obtained as described above is supplied to the base layer motion information buffer 154 and stored.
  • Base layer motion information buffer 154 stores the compressed base layer motion information (1 / 16-compressed motion vector) supplied from motion information compression section 153.
  • the base layer motion information buffer 154 sends the stored base layer motion information as base layer motion information to the merge processing unit 152 (availability determination unit 166) according to the control signal from the in-MER determination unit 165. Supply.
  • the motion prediction / compensation unit 135 uses the obtained AMVP mode candidate list and the candidate list supplied from the merge processing unit 152 to perform enhancement supplied from the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105. Set the optimal predictor for the motion information of the current block in the layer.
  • the motion prediction / compensation unit 135 calculates the cost function value of the encoding result for each obtained candidate, and selects the candidate having the smallest value as the optimal predictor.
  • the motion prediction / compensation unit 135 encodes the motion information of the current block using the optimal predictor. More specifically, the motion prediction / compensation unit 135 obtains a difference (difference motion information) between the motion information and the predicted motion information.
  • the motion prediction / compensation unit 135 obtains the encoding result (differential motion information) in this way for each mode.
  • the base layer motion information buffer 154 shows an example in which the compressed base layer motion information is stored.
  • the base layer motion information is stored without being compressed. It is also possible.
  • scalable encoding apparatus 100 when encoding motion information of an enhancement layer, includes adjacent blocks in an enhancement layer MER (parallel or pipeline processing block) and includes adjacent blocks in the enhancement layer. Predictive motion information is obtained using the corresponding block of the base layer corresponding to the block. Thereby, parallel processing or pipeline processing can be performed in encoding or decoding of motion information.
  • enhancement layer MER parallel or pipeline processing block
  • step S101 the encoding control unit 102 of the scalable encoding device 100 sets the first layer as a processing target.
  • step S102 the encoding control unit 102 determines whether or not the current layer to be processed is a base layer. If it is determined that the current layer is the base layer, the process proceeds to step S103.
  • step S103 the base layer image encoding unit 103 performs base layer encoding processing.
  • step S103 the process proceeds to step S106.
  • step S102 If it is determined in step S102 that the current layer is an enhancement layer, the process proceeds to step S104.
  • step S104 the encoding control unit 102 determines a base layer corresponding to the current layer (that is, a reference destination).
  • step S105 the enhancement layer image encoding unit 105 performs an enhancement layer encoding process.
  • the process of step S105 ends, the process proceeds to step S106.
  • step S106 the encoding control unit 102 determines whether all layers have been processed. If it is determined that there is an unprocessed layer, the process proceeds to step S107.
  • step S107 the encoding control unit 102 sets the next unprocessed layer as a processing target (current layer).
  • the process of step S107 ends, the process returns to step S102.
  • the processing from step S102 to step S107 is repeatedly executed, and each layer is encoded.
  • step S106 If it is determined in step S106 that all layers have been processed, the encoding process ends.
  • step S121 the A / D conversion unit 111 of the base layer image encoding unit 103 performs A / D conversion on the input base layer image information (image data).
  • step S122 the screen rearrangement buffer 112 stores the A / D converted base layer image information (digital data), and rearranges the pictures from the display order to the encoding order.
  • step S123 the intra prediction unit 124 performs an intra prediction process in the intra prediction mode.
  • step S124 the motion prediction / compensation unit 125 performs a motion prediction / compensation process for performing motion prediction or motion compensation in the inter prediction mode.
  • step S ⁇ b> 125 the predicted image selection unit 126 determines an optimum mode based on the cost function values output from the intra prediction unit 124 and the motion prediction / compensation unit 125. That is, the predicted image selection unit 126 selects one of the predicted image generated by the intra prediction unit 124 and the predicted image generated by the motion prediction / compensation unit 125.
  • step S126 the calculation unit 113 calculates the difference between the image rearranged by the process of step S122 and the predicted image selected by the process of step S125. The data amount of the difference data is reduced compared to the original image data. Therefore, the data amount can be compressed as compared with the case where the image is encoded as it is.
  • step S127 the orthogonal transform unit 114 performs an orthogonal transform process on the difference information generated by the process in step S126.
  • step S1208 the quantization unit 115 quantizes the orthogonal transform coefficient obtained by the process of step S127, using the quantization parameter calculated by the rate control unit 127.
  • the difference information quantized by the processing in step S128 is locally decoded as follows. That is, in step S129, the inverse quantization unit 118 inversely quantizes the quantized coefficient (also referred to as a quantization coefficient) generated by the process in step S128 with characteristics corresponding to the characteristics of the quantization unit 115. . In step S130, the inverse orthogonal transform unit 119 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process of step S127. In step S131, the calculation unit 120 adds the predicted image to the locally decoded difference information, and generates a locally decoded image (an image corresponding to the input to the calculation unit 113).
  • step S132 the deblocking filter 121 performs deblocking filter processing on the image generated by the processing in step S131. Thereby, block distortion and the like are removed.
  • step S ⁇ b> 133 the adaptive offset filter 128 performs adaptive offset filter processing that mainly removes ringing on the deblocking filter processing result from the deblocking filter 121.
  • step S134 the frame memory 122 stores the image from which ringing has been removed by the process of step S133. Note that an image that has not been filtered by the deblocking filter 121 and the adaptive offset filter 128 is also supplied to the frame memory 122 from the computing unit 120 and stored therein. The image stored in the frame memory 122 is used for the processing in step S123 and the processing in step S124.
  • step S135 the motion information compression unit 153 of the motion information encoding unit 104 compresses the base layer motion information obtained by the process of step S124 to, for example, 16 ⁇ 16 precision, and the motion vector ( 1 / 16-compressed motion vector) is supplied to the base layer motion information buffer 154 as base layer motion information.
  • step S136 the base layer motion information buffer 154 of the motion information encoding unit 104 stores the base layer motion information compressed in step S135.
  • step S137 the lossless encoding unit 116 of the base layer image encoding unit 103 encodes the coefficient quantized by the process of step S128. That is, lossless encoding such as variable length encoding or arithmetic encoding is performed on the data corresponding to the difference image.
  • the lossless encoding unit 116 encodes information on the prediction mode of the prediction image selected by the process of step S125, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 116 encodes and encodes the optimal intra prediction mode information supplied from the intra prediction unit 124 or the information corresponding to the optimal inter prediction mode supplied from the motion prediction / compensation unit 125. Append to data.
  • step S138 the accumulation buffer 117 accumulates the base layer encoded data obtained by the process in step S137.
  • the base layer encoded data stored in the storage buffer 117 is appropriately read and transmitted to the decoding side via a transmission path or a recording medium.
  • step S139 the rate control unit 127 determines the quantum of the quantization unit 115 so that no overflow or underflow occurs based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 117 in step S138. Control the rate of activation.
  • the base layer encoding process is executed in units of pictures, for example. That is, the base layer encoding process is executed for each picture in the current layer. However, each process in the base layer encoding process is performed for each processing unit.
  • Steps S151 to S153 of the enhancement layer encoding process and steps S155 to S167 are the same as steps S121 to S123, step S125 to S134, and steps S137 to S137 of the base layer encoding process of FIG. It is executed in the same manner as each process in step S139. However, each process of the enhancement layer encoding process is performed on the enhancement layer image information by each processing unit of the enhancement layer image encoding unit 105.
  • step S154 the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 performs a motion prediction / compensation process on the enhancement layer image information. Details of this motion prediction / compensation processing will be described later with reference to FIG.
  • the enhancement layer encoding process ends, and the process returns to FIG.
  • the enhancement layer encoding process is executed in units of pictures, for example. That is, the enhancement layer encoding process is executed for each picture in the current layer. However, each process in the enhancement layer encoding process is performed for each processing unit.
  • step S181 the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 performs a motion search process for each mode.
  • step S182 the motion prediction / compensation unit 135 performs a motion information encoding process on the motion information in each mode obtained by the process in step S181. Details of this motion information encoding process will be described later with reference to FIG.
  • step S183 the motion prediction / compensation unit 135 calculates a cost function value for each mode based on the processing results in steps S181 and S182.
  • step S184 the motion prediction / compensation unit 135 determines an optimal inter prediction mode based on the cost function value of each mode calculated in step S183.
  • step S185 the motion prediction / compensation unit 135 performs motion compensation in the optimal inter prediction mode selected in step S184, and generates a predicted image.
  • the generated predicted image is supplied to the predicted image selection unit 126 together with information about the optimal inter prediction mode.
  • step S186 the adjacent motion information buffer 163 of the motion information encoding unit 104 uses the current block motion information of the optimal inter prediction mode selected in step S184 as its address, as the motion information and address of the adjacent PU.
  • step S186 When the process of step S186 ends, the motion prediction / compensation process ends, and the process returns to FIG.
  • the motion prediction / compensation unit 135 When the heel motion information encoding process is started, the motion prediction / compensation unit 135 performs AMVP processing in step S201, and sets prediction motion information candidates in AMVP mode.
  • step S202 the merge processing unit 152 of the motion information encoding unit 104 performs a merge process to generate a candidate list of predicted motion information in the merge mode. Details of the merge processing will be described later with reference to FIG.
  • step S203 the motion prediction / compensation unit 135 calculates a cost function value for each candidate of predicted motion information set in step S201 and step S202.
  • step S204 the motion prediction / compensation unit 135 obtains an optimal predictor based on the cost function value obtained in step S203.
  • step S205 the motion prediction / compensation unit 135 encodes the motion information of the current block of the enhancement layer using the optimal predictor obtained in step S204. By this encoding, the motion prediction / compensation unit 135 obtains an encoding result of the motion information (difference between motion information and predicted motion information).
  • step S205 When the process of step S205 is finished, the motion information encoding process is finished, and the process returns to FIG.
  • the parallel merge setting unit 151 of the motion information encoding unit 104 sets MER in step S221 in accordance with a user operation.
  • the parallel merge setting unit 151 supplies the set MER information to the in-MER determination unit 165 via the MER information buffer 164 of the merge processing unit 152.
  • step S222 the in-MER determination unit 165 determines whether the adjacent PU is in the MER based on the address information of the adjacent PU from the adjacent motion information buffer 163 and the MER information stored in the MER information buffer 164. judge. If it is determined in step S222 that the adjacent PU is in the MER, the in-MER determination unit 165 transmits a control signal to the base layer motion information buffer 154, and the process proceeds to step S223.
  • the base layer motion information buffer 154 detects a collocated PU in the base layer of the adjacent PU. As described above, this detection method detects a pixel located in the center of an adjacent PU in the enhancement layer, and determines a PU including a pixel in the base layer corresponding thereto as a collocated (co- located) PU.
  • the co-located PU detection process corresponding to the adjacent PU may be performed using a pixel located at the upper left instead of the center of the adjacent PU.
  • the base layer motion information buffer 154 supplies the co-located PU detected in step S223 to the availability determination unit 166 as base layer motion vector information.
  • step S224 the availability determination unit 166 determines whether the motion information regarding the collocated PU in the base layer is available. When it is determined in step S224 that the motion information regarding the collocated PU in the base layer is available, the availability determination unit 166 supplies the base layer motion vector information to the scaling unit 162, and the process proceeds to step S225.
  • step S225 the scaling unit 162 supplies the base layer motion vector information from the availability determination unit 166 to the candidate prediction motion vector buffer 161, and adds the adjacent motion information in the base layer to the candidate prediction list.
  • the scaling unit 162 performs scaling processing according to the spatial scalability ratio on the base layer motion vector information from the availability determination unit 166.
  • step S225 When the process of step S225 is completed, the merge process is completed, and the process returns to FIG. If it is determined in step S224 in FIG. 20 that the motion information related to the collocated PU in the base layer is not available, step S225 is skipped, the merge process ends, and the process returns to FIG.
  • the candidate list may be supplemented by the combined merge described above with reference to FIG.
  • step S222 when it is determined in step S222 that the adjacent PU is not within the MER, that is, outside the MER, the in-MER determination unit 165 transmits a control signal to the adjacent motion information buffer 163, and the process is performed in step S226. Proceed to
  • step S226 the adjacent motion information buffer 163 supplies the adjacent PU motion vector information to the candidate prediction motion vector buffer 161 according to the control signal from the in-MER determination unit 165, and the adjacent motion information in the enhancement layer is the candidate prediction list.
  • step S226 ends, the merge process ends, and the process returns to FIG.
  • the scalable encoding device 100 can perform parallel processing or pipeline processing in encoding motion vectors.
  • the motion information encoding unit 104 in the motion vector encoding process, the motion information encoding unit 104 generates a candidate list of prediction motion information in merge mode, and performs other processes (AMVP process and difference).
  • the motion prediction / compensation unit 135 performs the process of generating
  • the motion information encoding unit 104 may perform other processes described above with reference to FIG.
  • FIG. 21 is a block diagram illustrating a main configuration example of a scalable decoding device corresponding to the scalable coding device 100 of FIG.
  • a scalable decoding device 200 shown in FIG. 21 performs scalable decoding on encoded data obtained by scalable encoding of image data by the scalable encoding device 100, for example, by a method corresponding to the encoding method.
  • the scalable decoding device 200 includes a common information acquisition unit 201, a decoding control unit 202, a base layer image decoding unit 203, a motion information decoding unit 204, and an enhancement layer image decoding unit 205.
  • the common information acquisition unit 201 acquires common information (for example, a video parameter set (VPS)) transmitted from the encoding side.
  • the common information acquisition unit 201 extracts information related to decoding from the acquired common information and supplies it to the decoding control unit 202.
  • the common information acquisition unit 201 supplies part or all of the common information to the base layer image decoding unit 203 to the enhancement layer image decoding unit 205 as appropriate.
  • the decoding control unit 202 acquires information about decoding supplied from the common information acquisition unit 201, and controls the base layer image decoding unit 203 to the enhancement layer image decoding unit 205 based on the information, thereby Control decryption.
  • the base layer image decoding unit 203 is an image decoding unit corresponding to the base layer image encoding unit 103, and for example, base layer encoded data obtained by encoding base layer image information by the base layer image encoding unit 103. To get.
  • the base layer image decoding unit 203 decodes the base layer encoded data without using the information of other layers, reconstructs the base layer image information, and outputs it. Further, the base layer image decoding unit 203 supplies the motion information obtained at the time of decoding to the motion information decoding unit 204.
  • the heel motion information decoding unit 204 generates a list of predicted motion vector information used for decoding the motion information transmitted from the encoding side, which is used in the motion compensation processing in the enhancement layer image decoding unit 205.
  • the motion information decoding unit 204 generates predicted motion information by using the motion information of peripheral blocks located around the current block to be processed using the peripheral motion information.
  • the motion information decoding unit 204 uses the motion information acquired from the enhancement layer image decoding unit 205 as peripheral motion information.
  • the motion information decoding unit 204 obtains from the base layer image decoding unit 203 instead of the unavailable motion information.
  • the available motion information (specifically, the motion information of the collocated block corresponding to the adjacent block) is used as the peripheral motion information.
  • the motion information decoding unit 204 returns the list of predicted motion information generated in this way to the enhancement layer image decoding unit 205.
  • the enhancement layer image decoding unit 205 is an image decoding unit corresponding to the enhancement layer image encoding unit 105, for example, enhancement layer encoded data obtained by encoding enhancement layer image information by the enhancement layer image encoding unit 105. To get.
  • the enhancement layer image decoding unit 205 decodes the enhancement layer encoded data. At that time, the enhancement layer image decoding unit 205 displays a list of predicted motion information necessary for decoding encoded data of motion information (difference between motion information and predicted motion information) transmitted from the encoding side, as a motion information decoding unit. 204.
  • the enhancement layer image decoding unit 205 obtains motion information from the difference transmitted from the encoding side using the list of predicted motion information.
  • the obtained motion information is supplied to the motion information decoding unit 204 as surrounding motion information necessary for decoding other current blocks.
  • the enhancement layer image decoding unit 205 performs motion compensation using the motion information obtained by such decoding, generates a prediction image, reconstructs the enhancement layer image information using the prediction image, and outputs it. .
  • FIG. 22 is a block diagram illustrating a main configuration example of the base layer image decoding unit 203 in FIG.
  • the base layer image decoding unit 203 includes a storage buffer 211, a lossless decoding unit 212, an inverse quantization unit 213, an inverse orthogonal transform unit 214, a calculation unit 215, a deblocking filter 216, and a screen rearrangement buffer 217. And a D / A converter 218.
  • the base layer image decoding unit 203 includes a frame memory 219, a selection unit 220, an intra prediction unit 221, a motion compensation unit 222, and a selection unit 223.
  • the base layer image decoding unit 203 includes an adaptive offset filter 224 between the deblocking filter 216 and the screen rearrangement buffer 217 and the frame memory 219.
  • Accumulation buffer 211 is also a receiving unit that receives transmitted base layer encoded data.
  • the accumulation buffer 211 receives and accumulates the transmitted base layer encoded data, and supplies the encoded data to the lossless decoding unit 212 at a predetermined timing.
  • Information necessary for decoding such as prediction mode information is added to the base layer encoded data.
  • the lossless decoding unit 212 decodes the information supplied from the accumulation buffer 211 and encoded by the lossless encoding unit 116 by a method corresponding to the encoding method of the lossless encoding unit 116.
  • the lossless decoding unit 212 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 213.
  • the lossless decoding unit 212 appropriately extracts and acquires NAL units including a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), and the like included in the base layer encoded data.
  • the lossless decoding unit 212 extracts information on the optimum prediction mode from the information, determines whether the intra prediction mode or the inter prediction mode is selected as the optimum prediction mode based on the information, and Information regarding the optimal prediction mode is supplied to the mode determined to be selected from the intra prediction unit 221 and the motion compensation unit 222. That is, for example, when the intra prediction mode is selected as the optimal prediction mode in the base layer image encoding unit 103, information regarding the optimal prediction mode is supplied to the intra prediction unit 221. For example, when the inter prediction mode is selected as the optimal prediction mode in the base layer image encoding unit 103, information regarding the optimal prediction mode is supplied to the motion compensation unit 222.
  • the lossless decoding unit 212 acquires the value of log2_parallel_merge_level_minus2, which is MER information, from the picture parameter set, for example, and supplies it to the motion information decoding unit 204 via the motion compensation unit 232.
  • the lossless decoding unit 212 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the NAL unit and supplies it to the inverse quantization unit 213, for example.
  • the inverse quantization unit 213 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 212 using a method corresponding to the quantization method of the quantization unit 115.
  • the inverse quantization unit 213 is a processing unit similar to the inverse quantization unit 118. That is, the description of the inverse quantization unit 213 can be applied to the inverse quantization unit 118. However, the data input / output destinations and the like need to be changed appropriately according to the device.
  • the inverse quantization unit 213 supplies the obtained coefficient data to the inverse orthogonal transform unit 214.
  • the inverse orthogonal transform unit 214 performs inverse orthogonal transform on the coefficient data supplied from the inverse quantization unit 213 using a method corresponding to the orthogonal transform method of the orthogonal transform unit 114.
  • the inverse orthogonal transform unit 214 is a processing unit similar to the inverse orthogonal transform unit 119. That is, the description of the inverse orthogonal transform unit 214 can be applied to the inverse orthogonal transform unit 119. However, the data input / output destinations and the like need to be changed appropriately according to the device.
  • the inverse orthogonal transform unit 214 obtains decoded residual data corresponding to the residual data before being orthogonally transformed by the orthogonal transform unit 114 by the inverse orthogonal transform process.
  • the decoded residual data obtained by the inverse orthogonal transform is supplied to the calculation unit 215.
  • a prediction image is supplied to the calculation unit 215 from the intra prediction unit 221 or the motion compensation unit 222 via the selection unit 223.
  • the calculating unit 215 adds the decoded residual data and the predicted image, and obtains decoded image data corresponding to the image data before the predicted image is subtracted by the calculating unit 113.
  • the arithmetic unit 215 supplies the decoded image data to the deblocking filter 216.
  • the deblocking filter 216 removes block distortion of the decoded image by performing a deblocking filter process on the decoded image.
  • the deblocking filter 216 supplies the filtered image to the adaptive offset filter 224.
  • the adaptive offset filter 224 performs an adaptive offset filter (SAO: Sample adaptive offset) process that mainly removes ringing from the deblocking filter processing result (decoded image from which block distortion has been removed) from the deblocking filter 216. I do.
  • SAO Sample adaptive offset
  • the adaptive offset filter 224 receives the type and offset of adaptive offset filter processing for each LCU (Largest Coding Unit), which is the maximum coding unit, from the lossless decoding unit 212 (not shown).
  • the adaptive offset filter 224 performs the received type of adaptive offset filter processing on the image after the adaptive deblocking filter processing, using the received offset. Then, the adaptive offset filter 224 supplies the image after the adaptive offset filter processing (hereinafter referred to as a decoded image) to the screen rearrangement buffer 217 and the frame memory 219.
  • the decoded image output from the calculation unit 215 can be supplied to the screen rearrangement buffer 217 and the frame memory 219 without passing through the deblocking filter 216 and the adaptive offset filter 224. That is, part or all of the filtering process by the deblocking filter 216 can be omitted.
  • An adaptive loop filter may be provided after the adaptive offset filter 224.
  • the screen rearrangement buffer 217 rearranges the decoded images. That is, the order of frames rearranged for the encoding order by the screen rearrangement buffer 112 is rearranged in the original display order.
  • the D / A conversion unit 218 performs D / A conversion on the image supplied from the screen rearrangement buffer 217, and outputs and displays the image on a display (not shown).
  • the frame memory 219 stores the supplied decoded image, and uses the stored decoded image as a reference image at a predetermined timing or based on an external request such as the intra prediction unit 221 or the motion compensation unit 222. This is supplied to the selection unit 220.
  • the eyelid selection unit 220 selects a reference image supply destination supplied from the frame memory 219.
  • the selection unit 220 supplies the reference image supplied from the frame memory 219 to the intra prediction unit 221 when decoding an intra-coded image.
  • the selection unit 220 supplies the reference image supplied from the frame memory 219 to the motion compensation unit 222 when decoding an inter-encoded image.
  • the intra prediction unit 221 is appropriately supplied with information indicating the intra prediction mode obtained by decoding the header information from the lossless decoding unit 212.
  • the intra prediction unit 221 performs intra prediction using the reference image acquired from the frame memory 219 in the intra prediction mode used in the intra prediction unit 124, and generates a predicted image.
  • the intra prediction unit 221 supplies the generated predicted image to the selection unit 223.
  • the eyelid motion compensation unit 222 acquires information (optimum prediction mode information, reference image information, etc.) obtained by decoding the header information from the lossless decoding unit 212.
  • the heel motion compensation unit 222 performs motion compensation using the reference image acquired from the frame memory 219 in the inter prediction mode indicated by the optimal prediction mode information acquired from the lossless decoding unit 212, and generates a predicted image.
  • the eyelid motion compensation unit 222 supplies the generated predicted image to the selection unit 223.
  • the motion compensation unit 222 supplies the motion information of the current block used for generating the predicted image (motion compensation) to the motion information decoding unit 204 as the base layer motion information.
  • the eyelid selection unit 223 supplies the prediction image from the intra prediction unit 221 or the prediction image from the motion compensation unit 222 to the calculation unit 215.
  • the arithmetic unit 215 adds the predicted image generated using the motion vector and the decoded residual data (difference image information) from the inverse orthogonal transform unit 214 to decode the original image.
  • FIG. 22 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 205 of FIG. As shown in FIG. 22, the enhancement layer image decoding unit 205 has basically the same configuration as the base layer image decoding unit 203 of FIG.
  • each unit of the enhancement layer image decoding unit 205 performs a process for decoding enhancement layer encoded data, not the base layer. That is, the accumulation buffer 211 of the enhancement layer image decoding unit 205 stores the enhancement layer encoded data, and the D / A conversion unit 218 of the enhancement layer image decoding unit 205 displays the enhancement layer image information, for example, in the subsequent stage. Output to a recording device (recording medium) or transmission path.
  • the enhancement layer image decoding unit 205 includes a motion compensation unit 232 instead of the motion compensation unit 222.
  • the heel motion compensation unit 232 uses the motion information decoding unit 204 to decode the encoded motion information transmitted from the encoding side. That is, while the motion compensation unit 222 decodes the motion information encoded in the current block using only the peripheral motion information of the base layer, the motion compensation unit 232 uses only the peripheral motion information of the enhancement layer. In addition, the encoded motion information of the current block can be decoded using the peripheral motion information of the base layer.
  • the heel motion information is transmitted from the encoding side as a difference (difference motion information) of predicted motion information.
  • the motion compensation unit 232 generates a list of AMVP mode predicted motion information using motion information around the current block. Also, the motion compensation unit 232 supplies motion information around the current block to the motion information decoding unit 204 to generate a list of merge mode predicted motion information.
  • the motion compensation unit 232 reconstructs motion information using the difference motion information from the encoding side and the predicted motion information list in the AMVP mode and the merge mode.
  • the reconstructed motion information is supplied to the motion information decoding unit 204 as surrounding motion information.
  • the motion compensation unit 232 performs motion compensation using the reconstructed motion information.
  • FIG. 24 is a block diagram illustrating a main configuration example of the motion information decoding unit 204 of FIG.
  • the motion information decoding unit 204 includes a parallel merge decoding unit 251, a merge processing unit 252, a motion information compression unit 253, and a base layer motion information buffer 254.
  • the parallel merge decoding unit 251 receives and decodes the MER information sent from the encoding side via the lossless decoding unit 212 and the motion compensation unit 232, and uses the decoded MER information as the MER information of the merge processing unit 252. This is supplied to the buffer 264.
  • This MER information is block size information specified on the encoding side, and is added to the encoded stream from the encoding side, for example, as the value of log2_parallel_merge_level_minus2 in the picture parameter set (described in Non-Patent Document 1). It is encoded.
  • the merge processing unit 252 generates a candidate list of predicted motion information corresponding to the motion information of the current block of the enhancement layer in the merge mode. In that case, the merge process part 252 acquires the motion information of the enhancement layer memorize
  • the merge processing unit 252 includes a candidate motion vector predictor buffer 261, a scaling unit 262, an adjacent motion information buffer 263, an MER information buffer 264, an in-MER determination unit 265, and an availability determination unit 266. It is configured. It should be noted that each part constituting the merge processing unit 252 is basically configured in the same manner as each part constituting the merge processing unit 152 in FIG.
  • the candidate predicted motion vector buffer 261 stores the adjacent PU motion information supplied from the adjacent motion information buffer 263 and the scaled motion vector information supplied from the scaling unit 262.
  • the candidate prediction motion vector buffer 261 generates a merge mode candidate list for obtaining prediction motion information of motion information of the current block obtained by the motion compensation unit 232 for enhancement layer decoding by the enhancement layer image decoding unit 205.
  • the number of candidates (the length of the candidate list) is arbitrary, but is preferably a predetermined number so that CABAC and motion prediction can be processed independently. In the following description, the number of candidates is five.
  • the candidate motion vector predictor buffer 261 supplies the accumulated motion vector information from No. 0 to No. 4 to the motion compensation unit 232 as a candidate list.
  • the scaling unit 262 performs a scaling process on the base layer motion vector information supplied from the availability determination unit 266 according to the spatial scalability ratio.
  • the scaling unit 262 supplies the scaled motion vector information to the candidate motion vector predictor buffer 261.
  • the scaling unit 262 supplies the motion vector information to the candidate motion vector predictor buffer 261 without scaling.
  • the adjacent motion information buffer 263 is supplied with the address information of the adjacent PU adjacent to the current PU from the motion compensation unit 232 and the motion vector information of the adjacent PU when the parallel processing and the pipeline processing are available.
  • the adjacent motion information buffer 263 supplies the supplied adjacent PU address information to the in-MER determination unit 265. Also, the adjacent motion information buffer 263 supplies adjacent PU motion vector information to the candidate prediction motion vector buffer 261 in accordance with the control signal from the in-MER determination unit 265.
  • the MER information buffer 264 stores the MER information supplied from the parallel merge decoding unit 251, and the stored MER information is supplied to the in-MER determination unit 265 at a predetermined timing.
  • the in-MER determination unit 265 determines whether the adjacent PU is in the MER or outside the MER. Determine. When determining that the MER is out of MER, the in-MER determining unit 265 transmits a control signal to the adjacent motion information buffer 263 because the adjacent PU is available. If the in-MER determination unit 265 determines that the MER is in the MER, the adjacent PU is not available and transmits a control signal to the base layer motion information buffer 254.
  • the availability determination unit 266 receives the base layer motion vector information supplied from the base layer motion information buffer 254 according to the control signal from the in-MER determination unit 265. The availability determination unit 266 determines whether the received base layer motion vector information is available. When the availability determination unit 266 determines that the availability is available, the base layer motion vector information is supplied to the scaling unit 262.
  • the motion information compression unit 253 converts the motion vector (also referred to as a pre-compression motion vector) with the maximum 4 ⁇ 4 accuracy acquired from the motion prediction / compensation unit 222 of the base layer image encoding unit 203 to, for example, 16 ⁇ 16 accuracy.
  • the compressed motion vector (also referred to as 1/16 compression) is supplied to the base layer motion information buffer 254 after being compressed (also referred to as 1 / 16-compressed motion vector).
  • the compression method of this motion vector is arbitrary. Note that the degree of compression is not limited, and compression may not be performed.
  • the motion information compression unit 253 may select a motion vector as a representative value from a plurality of motion vectors acquired from the motion compensation unit 222. For example, one motion vector as a representative value may be selected from 16 motion vectors of 4 ⁇ 4 accuracy (motion vectors of 4 ⁇ 4 blocks). By this compression, the accuracy of the motion vector becomes 16 ⁇ 16 accuracy.
  • the method of selecting this motion vector is arbitrary.
  • the motion vector of a block at a predetermined position such as the block at the upper left corner, may be selected, or the block at a position determined by a predetermined method, for example, a block may be selected according to the position in the image.
  • a motion vector may be selected.
  • the number of motion vectors to be selected is arbitrary and may be two or more.
  • the motion information compression unit 253 may calculate the representative value by a predetermined calculation using each motion vector, for example.
  • the method for calculating the representative value is arbitrary.
  • the average value or median value of the motion vectors of each block may be used as the representative value.
  • the number of representative values to be calculated is arbitrary and may be two or more.
  • the 1 / 16-compressed motion vector (representative value of the motion vector) obtained as described above is supplied to the base layer motion information buffer 254 and stored.
  • the base layer motion information buffer 254 stores the compressed base layer motion information (1 / 16-compressed motion vector) supplied from the motion information compression unit 253.
  • the base layer motion information buffer 254 sends the stored base layer motion information as base layer motion information to the merge processing unit 252 (availability determination unit 266) according to the control signal from the in-MER determination unit 265. Supply.
  • the motion compensation unit 232 determines whether the enhancement layer current from the AMVP mode candidate list obtained and the candidate list supplied from the merge processing unit 252. The predicted motion information of the block is reconstructed, and the reconstructed predicted motion information is added to the difference motion information supplied from the lossless decoding unit 212 to reconstruct the motion information.
  • the heel motion compensation unit 232 performs motion compensation using the motion information of the current block of the enhancement layer obtained in this way, and generates a predicted image.
  • the base layer motion information buffer 254 shows an example in which the compressed base layer motion information is stored, but the base layer motion information is stored without being compressed. It is also possible.
  • scalable decoding apparatus 200 when decoding motion information in enhancement layer decoding, includes adjacent neighbors in enhancement layer if the enhancement layer MER (parallel or pipeline processing block) includes an adjacent block. Predictive motion information is obtained using the corresponding block of the base layer corresponding to the block. Thereby, parallel processing or pipeline processing can be performed in encoding or decoding of motion information.
  • step S401 the decoding control unit 202 of the scalable decoding device 200 sets the first layer as a processing target.
  • step S402 the decoding control unit 202 determines whether or not the current layer to be processed is a base layer. If it is determined that the current layer is the base layer, the process proceeds to step S403.
  • step S403 the base layer image decoding unit 203 performs base layer decoding processing.
  • step S403 ends, the process proceeds to step S406.
  • step S402 If it is determined in step S402 that the current layer is an enhancement layer, the process proceeds to step S404.
  • step S404 the decoding control unit 202 determines a base layer corresponding to the current layer (that is, a reference destination).
  • step S405 the enhancement layer image decoding unit 205 performs enhancement layer decoding processing.
  • step S405 ends, the process proceeds to step S406.
  • step S406 the decoding control unit 202 determines whether all layers have been processed. If it is determined that there is an unprocessed layer, the process proceeds to step S407.
  • step S407 the decoding control unit 202 sets the next unprocessed layer as a processing target (current layer).
  • the process of step S407 ends, the process returns to step S402.
  • the processing from step S402 to step S407 is repeatedly executed, and each layer is decoded.
  • step S406 If it is determined in step S406 that all layers have been processed, the decoding process ends.
  • step S421 the accumulation buffer 211 of the base layer image decoding unit 203 accumulates the base layer bit stream transmitted from the encoding side.
  • step S422 the lossless decoding unit 212 decodes the base layer bitstream (encoded difference image information) supplied from the accumulation buffer 211. That is, the I picture, P picture, and B picture encoded by the lossless encoding unit 116 are decoded. At this time, various information other than the difference image information included in the bit stream such as header information is also decoded.
  • step S423 the inverse quantization unit 213 inversely quantizes the quantized coefficient obtained by the process in step S422.
  • step S424 the inverse orthogonal transform unit 214 performs inverse orthogonal transform on the current block (current TU).
  • step S425 the intra prediction unit 221 or the motion compensation unit 222 performs a prediction process to generate a predicted image. That is, the prediction process is performed in the prediction mode that is determined in the lossless decoding unit 212 and applied at the time of encoding. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 221 generates a prediction image in the intra prediction mode that is optimized at the time of encoding. For example, when inter prediction is applied at the time of encoding, the motion compensation unit 222 generates a prediction image in an inter prediction mode that is optimized at the time of encoding.
  • step S426 the calculation unit 215 adds the predicted image generated in step S425 to the difference image information generated by the inverse orthogonal transform process in step S424. As a result, the original image is decoded.
  • step S427 the deblocking filter 216 performs deblocking filter processing on the decoded image obtained in step S426. Thereby, block distortion and the like are removed.
  • step S428, the adaptive offset filter 224 performs adaptive offset filter processing that mainly removes ringing on the deblocking filter processing result from the deblocking filter 216.
  • step S429 the screen rearrangement buffer 217 rearranges the images from which ringing has been removed in step S428. That is, the order of frames rearranged for encoding by the screen rearrangement buffer 112 is rearranged in the original display order.
  • step S430 the D / A conversion unit 218 performs D / A conversion on the image in which the frame order is rearranged in step S429. This image is output to a display (not shown), and the image is displayed.
  • step S431 the frame memory 219 stores the image that has been subjected to the adaptive offset filter processing in step S428.
  • step S432 the motion information compression unit 253 of the motion information decoding unit 204 compresses the base layer motion information obtained by the prediction process in step S425 to 16 ⁇ 16 accuracy, and the compressed motion vector (1 / 16-compressed motion vectors) is supplied to the base layer motion information buffer 254 as base layer motion information.
  • step S433 the base layer motion information buffer 254 of the motion information decoding unit 204 stores the base layer motion information compressed in step S432.
  • the base layer decoding process ends, and the process returns to FIG.
  • the base layer decoding process is executed in units of pictures, for example. That is, the base layer decoding process is executed for each picture in the current layer. However, each process in the base layer decoding process is performed for each processing unit.
  • Steps S451 to S454 of enhancement layer decoding processing and steps S456 to S461 are executed in the same manner as steps S421 to S424 and steps S426 to S431 of base layer decoding processing. .
  • each process of the enhancement layer decoding process is performed on the enhancement layer encoded data by each processing unit of the enhancement layer image decoding unit 205.
  • step S455 the intra prediction unit 221 and the motion compensation unit 232 perform prediction processing on the enhancement layer encoded data. Details of this prediction processing will be described later with reference to FIG.
  • the enhancement layer decoding process ends, and the process returns to FIG.
  • the enhancement layer decoding process is executed in units of pictures, for example. That is, the enhancement layer decoding process is executed for each picture in the current layer. However, each process in the enhancement layer decoding process is performed for each processing unit.
  • the motion compensation unit 232 determines in step S481 whether or not the prediction mode is inter prediction. When it determines with it being inter prediction, a process progresses to step S482.
  • step S482 the motion compensation unit 232 performs motion information decoding processing to reconstruct the motion information of the current block. Details of the motion information decoding process will be described later with reference to FIG.
  • step S483 the motion compensation unit 232 performs motion compensation using the motion information obtained by the process in step S482, and generates a predicted image.
  • the prediction process ends, and the process returns to FIG.
  • step S481 when it is determined in step S481 that the prediction is intra prediction, the process proceeds to step S484.
  • step S484 the intra prediction unit 221 generates a prediction image in the optimal intra prediction mode that is the intra prediction mode employed at the time of encoding.
  • the motion compensation unit 232 transmits the predictor information, which is information related to encoding / decoding of motion information in the enhancement layer, transmitted from the encoding side in step S501, to the lossless decoding unit 212. Get from.
  • step S502 the motion compensation unit 232 determines whether the employed predicted motion information is in the AMVP mode based on the predictor information. If it is determined that the AMVP mode is set, the process proceeds to step S503.
  • step S503 the motion compensation unit 232 performs AMVP processing and sets a candidate for predicted motion information in the AMVP mode.
  • the process proceeds to step S505.
  • step S502 If it is determined in step S502 that the mode is not AMVP mode, the process proceeds to step S504.
  • step S504 the merge processing unit 252 performs a merge process, and sets prediction motion information candidates in the merge mode. Details of the merge processing will be described later with reference to FIG. When the merge process ends, the process proceeds to step S505.
  • step S505 the motion compensation unit 232 reconstructs the predicted motion information of the current block using the processing result in step S503 or step S504.
  • step S506 the motion compensation unit 232 reconstructs the motion information of the current block using the predicted motion information obtained in step S505 and the difference motion information acquired from the lossless decoding unit 212.
  • the motion compensation unit 232 generates a predicted image using the motion information.
  • step S507 the adjacent motion information buffer 263 stores the motion information of the current block of the enhancement layer.
  • step S507 When the process of step S507 ends, the motion information decoding process ends, and the process returns to FIG.
  • the parallel merge decoding unit 251 receives the MER information sent from the encoding side via the lossless decoding unit 212 and the motion compensation unit 232 in step S521 and performs decoding.
  • the parallel merge decoding unit 251 supplies the decoded MER information to the in-MER determination unit 265 via the MER information buffer 264 of the merge processing unit 252.
  • step S522 the in-MER determination unit 265 determines whether the adjacent PU is in the MER based on the address information of the adjacent PU from the adjacent motion information buffer 263 and the MER information stored in the MER information buffer 264. judge. If it is determined in step S522 that the adjacent PU is in the MER, the in-MER determination unit 265 transmits a control signal to the base layer motion information buffer 254, and the process proceeds to step S523.
  • the base layer motion information buffer 254 detects a collocated PU in the base layer of the adjacent PU. As described above, this detection method detects a pixel located in the center of an adjacent PU in the enhancement layer, and determines a PU including a pixel in the base layer corresponding thereto as a collocated (co- located) PU.
  • the co-located PU detection process corresponding to the adjacent PU may be performed using a pixel located at the upper left instead of the center of the adjacent PU.
  • the base layer motion information buffer 254 supplies the co-located PU detected in step S523 to the availability determination unit 266 as base layer motion vector information.
  • step S524 the availability determination unit 266 determines whether or not the motion information regarding the collocated PU in the base layer is available. When it is determined in step S524 that the motion information regarding the collocated PU in the base layer is available, the availability determination unit 266 supplies the base layer motion vector information to the scaling unit 262, and the process proceeds to step S525.
  • step S525 the scaling unit 262 supplies the base layer motion vector information from the availability determination unit 266 to the candidate motion vector predictor buffer 261, and adds adjacent motion information in the base layer to the candidate prediction list.
  • the scaling unit 262 performs scaling processing according to the spatial scalability ratio on the base layer motion vector information from the availability determination unit 266.
  • step S525 When the process of step S525 is completed, the merge process is completed, and the process returns to FIG. If it is determined in step S524 of FIG. 30 that the motion information related to the collocated PU in the base layer is not available, step S525 is skipped, the merge process ends, and the process returns to FIG. In this case, for example, the candidate list is supplemented by the combined merge described above with reference to FIG.
  • step S522 when it is determined in step S522 that the adjacent PU is not in the MER, that is, outside the MER, the in-MER determination unit 265 transmits a control signal to the adjacent motion information buffer 263, and the process is performed in step S526. Proceed to
  • step S526 the adjacent motion information buffer 263 supplies the adjacent PU motion vector information to the candidate prediction motion vector buffer 261 according to the control signal from the in-MER determination unit 265, and the adjacent motion information in the enhancement layer is the candidate prediction list.
  • step S526 When the process of step S526 is completed, the merge process is completed, and the process returns to FIG.
  • the scalable decoding device 200 can perform parallel processing or pipeline processing in motion vector decoding.
  • the motion information decoding unit 204 generates a candidate list of prediction motion information in merge mode, and performs other processes (AMVP process and motion vector In the example described above, the reconstruction processing) is performed by the motion compensation unit 232.
  • the motion compensation unit 232 may perform other processing described above with reference to FIG.
  • image data is hierarchized into a plurality of layers by scalable coding, but the number of layers is arbitrary. Further, for example, as shown in the example of FIG. 31, some pictures may be hierarchized.
  • the enhancement layer in the encoding / decoding, has been described as being processed using the information of the base layer. However, the enhancement layer is not limited to this, and other enhancement layers that have been processed are processed. Processing may be performed using information.
  • the layers described above include views in multi-view image encoding / decoding. That is, the present technology can be applied to multi-view image encoding / multi-view image decoding.
  • FIG. 32 shows an example of the multi-view image encoding method.
  • a multi-viewpoint image includes images of a plurality of viewpoints (views), and an image of a predetermined one viewpoint among the plurality of viewpoints is designated as a base-view image.
  • Each viewpoint image other than the base view image is treated as a non-base view image.
  • each view image is encoded / decoded.
  • the above-described method may be applied to the encoding / decoding of each view. Good. That is, motion information or the like may be shared among a plurality of views in such multi-viewpoint encoding / decoding.
  • prediction motion information candidates are generated using only the motion information of the own view, and for the non-base view, the motion information of the base view is also used to generate the prediction motion information.
  • parallel processing or pipeline processing can be performed in motion vector encoding or decoding in multi-view encoding / decoding as in the case of hierarchical encoding / decoding described above.
  • the application range of the present technology can be applied to any image encoding device and image decoding device based on a scalable encoding / decoding method.
  • the present technology is disclosed in, for example, MPEG, H.264, and the like.
  • image information compressed by orthogonal transformation such as discrete cosine transformation and motion compensation, such as 26x
  • network media such as satellite broadcasting, cable television, the Internet, or mobile phones.
  • the present invention can be applied to an image encoding device and an image decoding device used in the above.
  • the present technology can be applied to an image encoding device and an image decoding device that are used when processing on a storage medium such as an optical, magnetic disk, and flash memory.
  • FIG. 33 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 810 is also connected to the bus 804.
  • An input unit 811, an output unit 812, a storage unit 813, a communication unit 814, and a drive 815 are connected to the input / output interface 810.
  • the bag input unit 811 includes, for example, a keyboard, a mouse, a microphone, a touch panel, an input terminal, and the like.
  • the output unit 812 includes, for example, a display, a speaker, an output terminal, and the like.
  • the storage unit 813 includes, for example, a hard disk, a RAM disk, a nonvolatile memory, and the like.
  • the communication unit 814 includes a network interface, for example.
  • the drive 815 drives a removable medium 821 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the CPU 801 loads the program stored in the storage unit 813 into the RAM 803 via the input / output interface 810 and the bus 804 and executes the program, for example. Is performed.
  • the RAM 803 also appropriately stores data necessary for the CPU 801 to execute various processes.
  • the program executed by the computer (CPU 801) can be recorded and applied to, for example, a removable medium 821 as a package medium or the like.
  • 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 813 via the input / output interface 810 by attaching the removable medium 821 to the drive 815.
  • the program can be received by the communication unit 814 via a wired or wireless transmission medium and installed in the storage unit 813.
  • the program can be installed in the ROM 802 or the storage unit 813 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.
  • the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.
  • the system means a set of a plurality of components (devices, modules (parts), etc.), and it does not matter whether all the components are in the same housing. Accordingly, a plurality of devices housed in separate housings and connected via a network and a single device housing a plurality of modules in one housing are all systems. .
  • the configuration described as one device (or processing unit) may be divided and configured as a plurality of devices (or processing units). Conversely, the configurations described above as a plurality of devices (or processing units) may be combined into a single device (or processing unit). Of course, a configuration other than that described above may be added to the configuration of each device (or each processing unit). Furthermore, if the configuration and operation of the entire system are substantially the same, a part of the configuration of a certain device (or processing unit) may be included in the configuration of another device (or other processing unit). .
  • the present technology can take a configuration of cloud computing in which one function is shared by a plurality of devices via a network and is jointly processed.
  • each step described in the above flowchart can be executed by one apparatus or can be shared by a plurality of apparatuses.
  • 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.
  • An image encoding device and an image decoding device include a transmitter or a receiver in optical broadcasting, satellite broadcasting, cable broadcasting such as cable TV, distribution on the Internet, and distribution to terminals by cellular communication, etc.
  • the present invention can be applied to various electronic devices such as a recording device that records an image on a medium such as a magnetic disk and a flash memory, or a playback device that reproduces an image from these storage media.
  • a recording device that records an image on a medium such as a magnetic disk and a flash memory
  • a playback device that reproduces an image from these storage media.
  • FIG. 34 shows an example of a schematic configuration of a television apparatus to which the above-described embodiment 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, an external interface 909, a control unit 910, a user interface 911, And a bus 912.
  • the tuner 902 extracts a signal of a desired channel from a broadcast signal received via the antenna 901, and demodulates the extracted signal. Then, the tuner 902 outputs the encoded bit stream obtained by the demodulation to the demultiplexer 903. That is, the tuner 902 has a role as a transmission unit in the television device 900 that receives an encoded stream in which an image is encoded.
  • the demultiplexer 903 separates the video stream and audio stream of the viewing target program from the encoded bit stream, and outputs each separated stream to the decoder 904. Further, the demultiplexer 903 extracts auxiliary data such as EPG (Electronic Program Guide) from the encoded bit stream, and supplies the extracted data to the control unit 910. Note that the demultiplexer 903 may perform descrambling when the encoded bit stream is scrambled.
  • EPG Electronic Program Guide
  • the decoder 904 decodes the video stream and audio stream input from the demultiplexer 903. Then, the decoder 904 outputs the video data generated by the decoding process to the video signal processing unit 905. In addition, the decoder 904 outputs audio data generated by the decoding process to the audio signal processing unit 907.
  • the video signal processing unit 905 reproduces the video data input from the decoder 904 and causes the display unit 906 to display the video.
  • the video signal processing unit 905 may cause the display unit 906 to display an application screen supplied via a network.
  • the video signal processing unit 905 may perform additional processing such as noise removal on the video data according to the setting.
  • the video signal processing unit 905 may generate a GUI (Graphical User Interface) image such as a menu, a button, or a cursor, and superimpose the generated image on the output image.
  • GUI Graphic User Interface
  • the display unit 906 is driven by a drive signal supplied from the video signal processing unit 905, and displays an image on a video screen of a display device (for example, a liquid crystal display, a plasma display, or an OELD (Organic ElectroLuminescence Display) (organic EL display)). Or an image is displayed.
  • a display device for example, a liquid crystal display, a plasma display, or an OELD (Organic ElectroLuminescence Display) (organic EL display)). Or an image is displayed.
  • the audio signal processing unit 907 performs reproduction processing such as D / A conversion and amplification on the audio data input from the decoder 904, and outputs audio from the speaker 908.
  • the audio signal processing unit 907 may perform additional processing such as noise removal on the audio data.
  • the external interface 909 is an interface for connecting the television device 900 to an external device or a network.
  • a video stream or an audio stream received via the external interface 909 may be decoded by the decoder 904. That is, the external interface 909 also has a role as a transmission unit in the television apparatus 900 that receives an encoded stream in which an image is encoded.
  • the bag control unit 910 includes a processor such as a CPU and memories such as a RAM and a ROM.
  • the memory stores a program executed by the CPU, program data, EPG data, data acquired via a network, and the like.
  • the program stored in the memory is read and executed by the CPU when the television apparatus 900 is activated.
  • the CPU executes the program to control the operation of the television device 900 according to an operation signal input from the user interface 911, for example.
  • the user interface 911 is connected to the control unit 910.
  • the user interface 911 includes, for example, buttons and switches for the user to operate the television device 900, a remote control signal receiving unit, and the like.
  • the user interface 911 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 910.
  • a bus 912 connects a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, an audio signal processing unit 907, an external interface 909, and a control unit 910 to each other.
  • the decoder 904 has the function of the scalable decoding device 200 according to the above-described embodiment. Thereby, when decoding an image by the television apparatus 900, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
  • FIG. 35 shows an example of a schematic configuration of a mobile phone to which the above-described embodiment is applied.
  • a cellular phone 920 includes an antenna 921, a communication unit 922, an audio codec 923, a speaker 924, a microphone 925, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, a control unit 931, an operation A portion 932 and a bus 933.
  • the cage antenna 921 is connected to the communication unit 922.
  • the speaker 924 and the microphone 925 are connected to the audio codec 923.
  • the operation unit 932 is connected to the control unit 931.
  • the bus 933 connects the communication unit 922, the audio codec 923, the camera unit 926, the image processing unit 927, the demultiplexing unit 928, the recording / reproducing unit 929, the display unit 930, and the control unit 931 to each other.
  • the mobile phone 920 has various operation modes including a voice call mode, a data communication mode, a shooting mode, and a videophone mode, and is used for sending and receiving voice signals, sending and receiving e-mail or image data, taking images, and recording data. Perform the action.
  • the analog voice signal generated by the microphone 925 is supplied to the voice codec 923.
  • the audio codec 923 converts an analog audio signal into audio data, A / D converts the compressed audio data, and compresses it. Then, the audio codec 923 outputs the compressed audio data to the communication unit 922.
  • the communication unit 922 encodes and modulates the audio data and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921. In addition, the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal.
  • the communication unit 922 demodulates and decodes the received signal to generate audio data, and outputs the generated audio data to the audio codec 923.
  • the audio codec 923 decompresses the audio data and performs D / A conversion to generate an analog audio signal. Then, the audio codec 923 supplies the generated audio signal to the speaker 924 to output audio.
  • control unit 931 in the data communication mode, for example, the control unit 931 generates character data constituting an e-mail in response to an operation by the user via the operation unit 932. In addition, the control unit 931 causes the display unit 930 to display characters. In addition, the control unit 931 generates e-mail data in response to a transmission instruction from the user via the operation unit 932, and outputs the generated e-mail data to the communication unit 922.
  • the communication unit 922 encodes and modulates email data and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921. In addition, the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal.
  • the communication unit 922 demodulates and decodes the received signal to restore the email data, and outputs the restored email data to the control unit 931.
  • the control unit 931 displays the content of the electronic mail on the display unit 930 and stores the electronic mail data in the storage medium of the recording / reproducing unit 929.
  • the recording / reproducing unit 929 has a readable / writable arbitrary storage medium.
  • the storage medium may be a built-in storage medium such as a RAM or a flash memory, or an externally mounted type such as a hard disk, magnetic disk, magneto-optical disk, optical disk, USB (Universal Serial Bus) memory, or memory card. It may be a storage medium.
  • the camera unit 926 images a subject to generate image data, and outputs the generated image data to the image processing unit 927.
  • the image processing unit 927 encodes the image data input from the camera unit 926 and stores the encoded stream in the storage medium of the storage / playback unit 929.
  • the demultiplexing unit 928 multiplexes the video stream encoded by the image processing unit 927 and the audio stream input from the audio codec 923, and the multiplexed stream is the communication unit 922. Output to.
  • the communication unit 922 encodes and modulates the stream and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921.
  • the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal.
  • These transmission signal and reception signal may include an encoded bit stream.
  • the communication unit 922 demodulates and decodes the received signal to restore the stream, and outputs the restored stream to the demultiplexing unit 928.
  • the demultiplexing unit 928 separates the video stream and the audio stream from the input stream, and outputs the video stream to the image processing unit 927 and the audio stream to the audio codec 923.
  • the image processing unit 927 decodes the video stream and generates video data.
  • the video data is supplied to the display unit 930, and a series of images is displayed on the display unit 930.
  • the audio codec 923 decompresses the audio stream and performs D / A conversion to generate an analog audio signal. Then, the audio codec 923 supplies the generated audio signal to the speaker 924 to output audio.
  • the image processing unit 927 has the functions of the scalable encoding device 100 and the scalable decoding device 200 according to the above-described embodiment. Accordingly, when encoding and decoding an image with the mobile phone 920, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
  • FIG. 36 shows an example of a schematic configuration of a recording / reproducing apparatus to which the above-described embodiment is applied.
  • the recording / reproducing device 940 encodes audio data and video data of a received broadcast program and records the encoded data on a recording medium.
  • the recording / reproducing device 940 may encode audio data and video data acquired from another device and record them on a recording medium, for example.
  • the recording / reproducing device 940 reproduces data recorded on the recording medium on a monitor and a speaker, for example, in accordance with a user instruction. At this time, the recording / reproducing device 940 decodes the audio data and the video data.
  • the recording / reproducing apparatus 940 includes a tuner 941, an external interface 942, an encoder 943, an HDD (Hard Disk Drive) 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) 948, a control unit 949, and a user interface. 950.
  • Tuner 941 extracts a signal of a desired channel from a broadcast signal received via an antenna (not shown), and demodulates the extracted signal. Then, the tuner 941 outputs the encoded bit stream obtained by the demodulation to the selector 946. That is, the tuner 941 serves as a transmission unit in the recording / reproducing apparatus 940.
  • the external interface 942 is an interface for connecting the recording / reproducing device 940 to an external device or a network.
  • the external interface 942 may be, for example, an IEEE1394 interface, a network interface, a USB interface, or a flash memory interface.
  • video data and audio data received via the external interface 942 are input to the encoder 943. That is, the external interface 942 serves as a transmission unit in the recording / reproducing device 940.
  • Encoder 943 encodes video data and audio data when video data and audio data input from external interface 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
  • the HDD 944 records an encoded bit stream in which content data such as video and audio are compressed, various programs, and other data on an internal hard disk. Further, the HDD 944 reads out these data from the hard disk when reproducing video and audio.
  • the disk drive 945 records and reads data to and from the mounted recording medium.
  • the recording medium mounted on the disk drive 945 is, for example, a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.) or a Blu-ray (registered trademark) disk. It may be.
  • the selector 946 selects an encoded bit stream input from the tuner 941 or the encoder 943 when recording video and audio, and outputs the selected encoded bit stream to the HDD 944 or the disk drive 945. In addition, the selector 946 outputs the encoded bit stream input from the HDD 944 or the disk drive 945 to the decoder 947 during video and audio reproduction.
  • the decoder 947 decodes the encoded bit stream and generates video data and audio data. Then, the decoder 947 outputs the generated video data to the OSD 948. The decoder 904 outputs the generated audio data to an external speaker.
  • the OSD 948 reproduces the video data input from the decoder 947 and displays the video. Further, the OSD 948 may superimpose a GUI image such as a menu, a button, or a cursor on the video to be displayed.
  • a GUI image such as a menu, a button, or a cursor
  • the bag control unit 949 includes a processor such as a CPU and memories such as a RAM and a ROM.
  • the memory stores a program executed by the CPU, program data, and the like.
  • the program stored in the memory is read and executed by the CPU when the recording / reproducing apparatus 940 is activated, for example.
  • the CPU controls the operation of the recording / reproducing apparatus 940 in accordance with an operation signal input from the user interface 950, for example, by executing the program.
  • the user interface 950 is connected to the control unit 949.
  • the user interface 950 includes, for example, buttons and switches for the user to operate the recording / reproducing device 940, a remote control signal receiving unit, and the like.
  • the user interface 950 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 949.
  • the encoder 943 has the function of the scalable encoding apparatus 100 according to the above-described embodiment.
  • the decoder 947 has the function of the scalable decoding device 200 according to the above-described embodiment.
  • FIG. 37 shows an example of a schematic configuration of an imaging apparatus to which the above-described embodiment is applied.
  • the imaging device 960 images a subject to generate an image, encodes the image data, and records it on a recording medium.
  • the imaging device 960 includes an optical block 961, an imaging unit 962, a signal processing unit 963, an image processing unit 964, a display unit 965, an external interface 966, a memory 967, a media drive 968, an OSD 969, a control unit 970, a user interface 971, and a bus. 972.
  • the optical block 961 is connected to the imaging unit 962.
  • the imaging unit 962 is connected to the signal processing unit 963.
  • the display unit 965 is connected to the image processing unit 964.
  • the user interface 971 is connected to the control unit 970.
  • the bus 972 connects the image processing unit 964, the external interface 966, the memory 967, the media drive 968, the OSD 969, and the control unit 970 to each other.
  • the optical block 961 includes a focus lens and a diaphragm mechanism.
  • the optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 962.
  • the imaging unit 962 includes an image sensor such as a CCD (Charge-Coupled Device) or a CMOS (Complementary Metal-Oxide Semiconductor), and converts an optical image formed on the imaging surface into an image signal as an electrical signal by photoelectric conversion. Then, the imaging unit 962 outputs the image signal to the signal processing unit 963.
  • CCD Charge-Coupled Device
  • CMOS Complementary Metal-Oxide Semiconductor
  • the eyelid signal processing unit 963 performs various camera signal processing such as knee correction, gamma correction, and color correction on the image signal input from the imaging unit 962.
  • the signal processing unit 963 outputs the image data after the camera signal processing to the image processing unit 964.
  • the haze image processing unit 964 encodes the image data input from the signal processing unit 963 to generate encoded data. Then, the image processing unit 964 outputs the generated encoded data to the external interface 966 or the media drive 968. The image processing unit 964 also decodes encoded data input from the external interface 966 or the media drive 968 to generate image data. Then, the image processing unit 964 outputs the generated image data to the display unit 965. In addition, the image processing unit 964 may display the image by outputting the image data input from the signal processing unit 963 to the display unit 965. Further, the image processing unit 964 may superimpose display data acquired from the OSD 969 on an image output to the display unit 965.
  • the OSD 969 generates a GUI image such as a menu, a button, or a cursor, for example, and outputs the generated image to the image processing unit 964.
  • the external interface 966 is configured as a USB input / output terminal, for example.
  • the external interface 966 connects the imaging device 960 and a printer, for example, when printing an image.
  • a drive is connected to the external interface 966 as necessary.
  • a removable medium such as a magnetic disk or an optical disk is attached to the drive, and a program read from the removable medium can be installed in the imaging device 960.
  • the external interface 966 may be configured as a network interface connected to a network such as a LAN or the Internet. That is, the external interface 966 has a role as a transmission unit in the imaging device 960.
  • the recording medium loaded in the media drive 968 may be any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory.
  • a recording medium may be fixedly mounted on the media drive 968, and a non-portable storage unit such as an internal hard disk drive or an SSD (Solid State Drive) may be configured.
  • the bag control unit 970 includes a processor such as a CPU and memories such as a RAM and a ROM.
  • the memory stores a program executed by the CPU, program data, and the like.
  • the program stored in the memory is read and executed by the CPU when the imaging device 960 is activated, for example.
  • the CPU controls the operation of the imaging device 960 according to an operation signal input from the user interface 971 by executing the program.
  • the user interface 971 is connected to the control unit 970.
  • the user interface 971 includes, for example, buttons and switches for the user to operate the imaging device 960.
  • the user interface 971 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 970.
  • the image processing unit 964 has the functions of the scalable encoding device 100 and the scalable decoding device 200 according to the above-described embodiment. Thereby, when encoding and decoding an image by the imaging device 960, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
  • 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 high-quality data unnecessarily, a high-quality image is not always obtained in the terminal device, which 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.
  • 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 that 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 delays and overflows can be suppressed, and unnecessary increases in the load on terminal devices and communication media 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 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.
  • the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above in the first embodiment and the second embodiment. Effects similar to those described above in the first embodiment and the second embodiment can be obtained.
  • scalable coding is used for transmission via a plurality of communication media as in the example shown in FIG. 39, for example.
  • a broadcasting station 1101 transmits base layer scalable encoded data (BL) 1121 by terrestrial broadcasting 1111. 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).
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded data
  • Terminal device 1102 has a reception function of terrestrial broadcast 1111 broadcasted by broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via 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, for example, different communication media for each layer. Therefore, the load can be distributed, and the occurrence of delay and overflow can be suppressed.
  • a communication medium used for transmission may be selected for each layer.
  • 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
  • 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.
  • 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.
  • 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.
  • the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above in the first and second embodiments. Effects similar to those described above in the first embodiment and the second embodiment can be obtained.
  • scalable encoding is used for storing encoded data as in the example shown in FIG. 40, for example.
  • the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as a 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.
  • 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 surveillance camera has been described as an example.
  • the use of the imaging system 1200 is arbitrary and is not limited to the surveillance camera.
  • the first technique and the second embodiment are applied in the same manner as the application to the hierarchical encoding / decoding described above, whereby the first technique is applied. Effects similar to those described above in the second embodiment and the second embodiment can be obtained.
  • the present technology can also be applied to HTTP streaming such as MPEGASHDASH, for example, by selecting an appropriate piece of data from a plurality of encoded data with different resolutions prepared in advance. Can do. That is, information regarding encoding and decoding can be shared among a plurality of such encoded data.
  • 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 technique can also take the following structures.
  • a receiving unit that receives hierarchical image encoded data obtained by encoding image data that has been formed into a plurality of hierarchies, and motion information encoded data obtained by encoding motion information used for encoding the image data;
  • the lower hierarchy of the current hierarchy when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy
  • a motion information decoding unit that references the motion information of the corresponding block corresponding to the adjacent reference block and decodes the motion information encoded data received by the receiving unit;
  • An image processing apparatus comprising: a decoding unit that decodes the hierarchical image encoded data received by the receiving unit using motion information obtained by decoding motion information encoded data by the motion information decoding unit.
  • the motion information encoded data is encoded in a merge mode.
  • the motion information encoded data is encoded by an AMVP (Advanced Motion Vector Prediction) mode.
  • the motion information decoding unit defines, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the center of the adjacent reference block in the current hierarchy as the corresponding block.
  • the motion information decoding unit as the corresponding block corresponding to the adjacent reference block, the block including the pixel corresponding to the pixel located in the upper left of the adjacent reference block in the current layer in the lower layer
  • the image processing device according to any one of (1) to (3), wherein block motion information is referred to.
  • the image processing apparatus according to any one of (1) to (5), wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
  • the motion information decoding unit decodes the motion information encoded data received by the receiving unit by parallel or pipeline processing. .
  • the image processing apparatus is Receiving hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and motion information encoded data obtained by encoding motion information used for encoding the image data;
  • the current hierarchy when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, decoding the received motion information encoded data;
  • An image processing method comprising: decoding received hierarchical image encoded data using motion information obtained by decoding motion information encoded data.
  • an encoding unit that encodes image data that has been hierarchized using motion information;
  • the lower hierarchy of the current hierarchy A motion information encoding unit that references the motion information of a corresponding block corresponding to an adjacent reference block and encodes the motion information used for encoding the image data by the encoding unit;
  • the encoded image data obtained by encoding the image data by the encoding unit and the motion information encoded data obtained by encoding the motion information by the motion information encoding unit are transmitted.
  • An image processing apparatus comprising: a transmission unit.
  • the motion information encoding unit includes an adjacent reference block adjacent to a current block in the processing block and referred to motion information in a merge or parallel processing block in a merge mode. And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer.
  • the image processing apparatus according to (9).
  • the motion information encoding unit is adjacent to the current block in the processing block in a parallel or pipeline processing block in an AMVP (Advanced Motion Vector Prediction) mode, and an adjacent reference block to which motion information is referred.
  • AMVP Advanced Motion Vector Prediction
  • the motion information used for encoding the image data by the encoding unit with reference to the motion information of the corresponding block corresponding to the adjacent reference block The image processing apparatus according to (9).
  • the motion information encoding unit may include, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer.
  • the image processing device according to any one of (9) to (11), wherein the motion information of the corresponding block is referred to.
  • the motion information encoding unit may include, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer.
  • the image processing device according to any one of (9) to (11), wherein the motion information of the corresponding block is referred to.
  • the image processing apparatus according to any one of (9) to (13), wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
  • the motion information encoding unit encodes the motion information used for encoding the image data by the encoding unit through parallel or pipeline processing. (9) to (14) The image processing apparatus according to any one of the above.
  • the image processing apparatus Encode multi-layered image data using motion information,
  • the current hierarchy when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, encoding the motion information used for encoding the image data;
  • 100 ⁇ ⁇ scalable encoding device 101 common information generation unit, 102 encoding control unit, 103 base layer image encoding unit, 104 motion information encoding unit, 105 enhancement layer image encoding unit, 116 lossless encoding unit, 125 motion prediction ⁇ Compensation unit, 135 motion prediction / compensation unit, 151 parallel merge setting unit, 152 merge processing unit, 153 motion information compression unit, 154 base layer motion information buffer, 161 candidate prediction motion vector buffer unit, 162 scaling unit, 163 adjacent motion Information buffer, 164 MER information buffer, 165 decision unit within MER, 166 availability determination unit, 200 scalable decoding device, 201 common information acquisition unit, 202 decoding control unit, 203 base layer image decoding unit, 204 motion information decoding unit, 205 enhancement layer image decoding unit, 212 reversible decoding unit, 222 motion compensation unit, 232 motion compensation unit, 251 parallel merge decoding unit, 252 merge processing unit , 253 motion information compression unit, 254 base layer motion information buffer, 261 candidate prediction motion

Abstract

The present disclosure pertains to an image processing device and method which make parallel processing possible for the encoding and decoding of a motion vector. Motion information pertaining to E1 is deemed unavailable in the prior art, in which PU E2 processing is performed in an enhancement layer (EL) and PU E1 is in MER. This time, the present disclosure checks the availability of motion information pertaining to PU B1 in a base layer (BL) corresponding to a collocated PU (in, for example, the same position) corresponding to E1 in the enhancement layer. If motion information pertaining to B1 is available, the motion information pertaining to B1 is used in the motion-vector encoding processing/decoding processing as adjacent motion information for E2. This disclosure can be applied, for example, to an image processing device.

Description

画像処理装置および方法Image processing apparatus and method
 本開示は画像処理装置および方法に関し、特に、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができるようにした画像処理装置および方法に関する。 The present disclosure relates to an image processing apparatus and method, and more particularly, to an image processing apparatus and method capable of performing parallel processing or pipeline processing in motion vector encoding or decoding.
 近年、画像情報をデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮する符号化方式を採用して画像を圧縮符号する装置が普及しつつある。この符号化方式には、例えば、MPEG(Moving Picture Experts Group)やH.264及びMPEG-4 Part10 (Advanced Video Coding、以下 AVCと記す)などがある。 In recent years, image information has been handled as digital data, and at that time, for the purpose of efficient transmission and storage of information, encoding is performed by orthogonal transform such as discrete cosine transform and motion compensation using redundancy unique to image information. An apparatus that employs a method to compress and code an image is becoming widespread. Examples of this encoding method include MPEG (Moving Picture Experts Group) and H.264. H.264 and MPEG-4 Part 10 (Advanced Video Coding, hereinafter referred to as AVC).
 そして、現在、H.264/AVCより更なる符号化効率の向上を目的として、ITU-TとISO/IECとの共同の標準化団体であるJCTVC (Joint Collaboration Team - Video Coding) により、HEVC (High Efficiency Video Coding) と呼ばれる符号化方式の標準化が進められている。 And now H. It is called HEVC (High Efficiency Video Coding) by JCTVC (Joint Collaboration Team-Video Coding), a joint standardization organization of ITU-T and ISO / IEC for the purpose of further improving encoding efficiency than H.264 / AVC. Standardization of the encoding method is underway.
 ところで、これまでの、MPEG-2やAVCといった画像符号化方式は、画像を複数のレイヤに階層化して符号化するスケーラビリティ(scalability)機能を有していた。 By the way, the conventional image coding methods such as MPEG-2 and AVC have a scalability function of layering and coding an image into a plurality of layers.
 すなわち、例えば携帯電話機のような、処理能力の低い端末に対しては、ベースレイヤ(base layer)のみの画像圧縮情報を伝送し、空間時間解像度の低い、或いは、画質の良くない動画像を再生し、テレビやパーソナルコンピュータのような、処理能力の高い端末に対しては、ベースレイヤ(base layer)に加えて、エンハンスメントレイヤ(enhancement layer)の画像圧縮情報を伝送し、空間時間解像度の高い、或いは、画質の高い動画像を再生するといったように、トランスコード処理を行うことなく、端末やネットワークの能力に応じた画像圧縮情報を、サーバから送信することが可能となる。 In other words, for a terminal with a low processing capacity, such as a mobile phone, image compression information of only the base layer (base layer) is transmitted, and a moving image with low spatiotemporal resolution or poor image quality is reproduced. However, for terminals with high processing capabilities, such as televisions and personal computers, in addition to the base layer, the image compression information of the enhancement layer is transmitted, and the space-time resolution is high. Alternatively, it is possible to transmit image compression information according to the capabilities of the terminal and the network from the server without performing transcoding processing, such as playing a moving image with high image quality.
 HEVCにおいては、AMVP(Advanced Motion Vector Prediction)と、マージ(Merge)という、2つの動きベクトル情報符号化方式が規定されている。どちらも、周辺PU(Prediction Unit)における動きベクトル情報(周辺動きベクトル情報)から、当該ブロックにおける動きベクトル情報の予測値を生成するものである。周辺動きベクトル情報は、当該ブロックの時間方向隣接動きベクトル情報、および、空間方向隣接動きベクトル情報を用いて生成される。 In HEVC, two motion vector information encoding methods, AMVP (Advanced Motion Vector Prediction) and Merge, are defined. In either case, a predicted value of motion vector information in the block is generated from motion vector information (peripheral motion vector information) in a peripheral PU (Prediction Unit). The peripheral motion vector information is generated using the temporal direction adjacent motion vector information and the spatial direction adjacent motion vector information of the block.
 ところで、いま、当該CU(Coding Unit)が、N×2N PUに分割されているとする。縦に2分割されているブロックのうち、左側のブロックに関する動き情報が、右側のブロックにおいては、隣接動き情報となる。したがって、左側のブロックに関する動き情報が確定しない限り、右側のブロックの処理を開始することができず、パイプライン処理の妨げになっていた。 Now, suppose that the CU (Coding Unit) is divided into N × 2N PUs. Of the blocks that are vertically divided, the motion information related to the left block is the adjacent motion information in the right block. Therefore, unless the motion information related to the left block is determined, the processing of the right block cannot be started, which hinders pipeline processing.
 そこで、HEVCにおいては、非特許文献1において提案されている以下の方法が採用されている。すなわち、まず、出力となる画像圧縮情報において、log2_parallel_merge_level_minus2というシンタクス要素の伝送を行う。そして、log2_parallel_merge_level_minus2の値に基づき、LCU (Largest Coding Unit)は、オーバーラップしない、MER(Motion Estimation Region)に分割される。MERは、正方形である。 Therefore, in HEVC, the following method proposed in Non-Patent Document 1 is adopted. That is, first, a syntax element called log2_parallel_merge_level_minus2 is transmitted in the compressed image information to be output. Then, based on the value of log2_parallel_merge_level_minus2, LCU (Largest Coding Unit) is divided into non-overlapping MER (Motion Estimation オ ー バ ー Region). MER is a square.
 もし、当該PUと時空間に隣接するPU(隣接PU)が同一のMERに属する場合、隣接PUに関する動き情報は、アンアベイラブル(unavailable)であるとして、動きベクトル符号化処理が行われる。 If the PU adjacent to the PU and the space-time (adjacent PU) belong to the same MER, the motion vector encoding process is performed assuming that the motion information related to the adjacent PU is unavailable.
 しかしながら、非特許文献1による方法で、MERが、64×64もしくは32×32といったように大きく設定されると、符号化効率の劣化が観測される。特に、入力画像の画枠が大きい場合、大きくMERを設定し、並列処理による高速なPUの処理が必要となってしまう。 However, when the MER is set to a large value such as 64 × 64 or 32 × 32 by the method according to Non-Patent Document 1, a deterioration in coding efficiency is observed. In particular, when the image frame of the input image is large, a large MER is set, and high-speed PU processing by parallel processing is required.
 本開示は、このような状況に鑑みてなされたものであり、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができるものである。 The present disclosure has been made in view of such a situation, and can perform parallel processing or pipeline processing in motion vector encoding or decoding.
 本開示の一側面の画像処理装置は、複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取る受け取り部と、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記受け取り部により受け取られた動き情報符号化データを復号する動き情報復号部と、前記動き情報復号部により動き情報符号化データが復号されて得られた動き情報を用いて、前記受け取り部により受け取られた前記階層画像符号化データを復号する復号部とを備える。 An image processing apparatus according to an aspect of the present disclosure includes hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and a motion information code obtained by encoding motion information used for encoding the image data. When the receiving unit that receives the data and the current hierarchy includes a parallel or pipeline processing block adjacent to the current block in the processing block and an adjacent reference block to which motion information is referenced, A motion information decoding unit that decodes motion information encoded data received by the receiving unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer; and the motion information decoding Using the motion information obtained by decoding the motion information encoded data by the unit, the floor received by the receiving unit. And a decoding unit for decoding the coded image data.
 前記動き情報符号化データは、マージ(Merge)モードにより符号化されている。 The motion information encoded data is encoded in the merge mode.
 前記動き情報符号化データは、AMVP(Advanced Motion Vector Prediction)モードにより符号化されている。 The motion information encoded data is encoded by AMVP (Advanced Motion Vector Prediction) mode.
 前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照することができる。 The motion information decoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer as a motion of the corresponding block. Information can be referenced.
 前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照することができる。 The motion information decoding unit, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer, the motion of the corresponding block Information can be referenced.
 前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている。 The motion information of the corresponding block is stored in the buffer in a compressed state.
 前記動き情報復号部は、並列またはパイプラインの処理により、前記受け取り部により受け取られた動き情報符号化データを復号することができる。 The motion information decoding unit can decode the motion information encoded data received by the receiving unit by parallel or pipeline processing.
 本開示の一側面の画像処理方法は、画像処理装置が、複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取り、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、受け取られた動き情報符号化データを復号し、動き情報符号化データが復号されて得られた動き情報を用いて、受け取られた前記階層画像符号化データを復号する。 According to an image processing method of one aspect of the present disclosure, an image processing apparatus encodes hierarchical image encoded data obtained by encoding a plurality of hierarchized image data and motion information used for encoding the image data. In the current layer, a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referenced. In this case, in the lower layer of the current layer, the received motion information encoded data is decoded by referring to the motion information of the corresponding block corresponding to the adjacent reference block, and the motion information encoded data is decoded. The received hierarchical image encoded data is decoded using the motion information.
 本開示の他の側面の画像処理装置は、複数階層化された画像データを、動き情報を用いて符号化する符号化部と、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する動き情報符号化部と、前記符号化部により前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報符号化部により前記動き情報が符号化されて得られた動き情報符号化データとを伝送する伝送部とを備える。 An image processing device according to another aspect of the present disclosure includes an encoding unit that encodes image data that has been hierarchized using motion information, and the processing in parallel or pipeline processing blocks in a current hierarchy. When an adjacent reference block that is adjacent to the current block in the block and to which motion information is referenced is included, in the lower hierarchy of the current hierarchy, refer to the motion information of the corresponding block corresponding to the adjacent reference block, A motion information encoding unit that encodes the motion information used for encoding the image data by the encoding unit; and hierarchical image encoded data obtained by encoding the image data by the encoding unit. And a transmission unit for transmitting the motion information encoded data obtained by encoding the motion information by the motion information encoding unit.
 前記動き情報符号化部は、マージ(Merge)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化することができる。 When the motion information encoding unit includes an adjacent reference block adjacent to the current block in the processing block and referenced to the motion information in the parallel or pipeline processing block in the merge mode And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer. it can.
 前記動き情報符号化部は、AMVP(Advanced Motion Vector Prediction)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化することができる。 The motion information encoding unit includes an adjacent reference block adjacent to a current block in the processing block and referred to motion information in a parallel or pipeline processing block in an AMVP (Advanced Motion Vector Prediction) mode. And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer can do.
 前記前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照することができる。 The motion information encoding unit uses, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer, as the corresponding block. Can be referred to.
 前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照することができる。 The motion information encoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer. The motion information can be referred to.
 前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている。 The motion information of the corresponding block is stored in the buffer in a compressed state.
 前記動き情報符号化部は、並列またはパイプラインの処理により、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化することができる。 The motion information encoding unit can encode the motion information used for encoding the image data by the encoding unit by parallel or pipeline processing.
 本開示の他の側面の画像処理方法は、画像処理装置が、複数階層化された画像データを、動き情報を用いて符号化し、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記画像データの符号化に用いられた前記動き情報を符号化し、前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報が符号化されて得られた動き情報符号化データとを伝送する。 According to another aspect of the present disclosure, there is provided an image processing method in which an image processing apparatus encodes multiple layers of image data using motion information, and the processing is performed in parallel or pipeline processing blocks in a current layer. When an adjacent reference block that is adjacent to the current block in the block and to which motion information is referenced is included, in the lower hierarchy of the current hierarchy, refer to the motion information of the corresponding block corresponding to the adjacent reference block, Hierarchical image encoded data obtained by encoding the motion information used for encoding the image data and encoding the image data, and motion information encoding obtained by encoding the motion information Transmit data.
  本開示の一側面においては、複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとが受け取られる。そして、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、受け取られた動き情報符号化データが復号され、動き情報符号化データが復号されて得られた動き情報を用いて、受け取られた前記階層画像符号化データが復号される。 In one aspect of the present disclosure, hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, motion information encoded data obtained by encoding motion information used for encoding the image data, Is received. In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block adjacent to the current block in the processing block and to which motion information is referenced, The received motion information encoded data is decoded with reference to the motion information of the corresponding block corresponding to the adjacent reference block, and the motion information encoded data is received using the motion information obtained by decoding. The hierarchical image encoded data is decoded.
  本開示の他の側面においては、複数階層化された画像データが、動き情報を用いて符号化され、カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記画像データの符号化に用いられた前記動き情報が符号化される。そして、前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報が符号化されて得られた動き情報符号化データとが伝送される。 In another aspect of the present disclosure, multiple layers of image data are encoded using motion information, and adjacent to a current block in the processing block in a parallel or pipeline processing block in the current layer. When the adjacent reference block to which the motion information is referred is included, the motion data of the corresponding block corresponding to the adjacent reference block is referred to in the lower layer of the current layer to encode the image data. The used motion information is encoded. Then, the hierarchical image encoded data obtained by encoding the image data and the motion information encoded data obtained by encoding the motion information are transmitted.
 なお、上述の画像処理装置は、独立した装置であっても良いし、1つの画像符号化装置または画像復号装置を構成している内部ブロックであってもよい。 Note that the above-described image processing apparatus may be an independent apparatus, or may be an internal block constituting one image encoding apparatus or image decoding apparatus.
 本開示の一側面によれば、画像を復号することができる。特に、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 According to one aspect of the present disclosure, an image can be decoded. In particular, parallel processing or pipeline processing can be performed in motion vector encoding or decoding.
 本開示の他の側面によれば、画像を符号化することができる。特に、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 According to another aspect of the present disclosure, an image can be encoded. In particular, parallel processing or pipeline processing can be performed in motion vector encoding or decoding.
コーディングユニットの構成例を説明する図である。It is a figure explaining the structural example of a coding unit. スペーシャルなスケーラブル符号化の例を説明する図である。It is a figure explaining the example of spatial scalable encoding. テンポラルなスケーラブル符号化の例を説明する図である。It is a figure explaining the example of temporal scalable encoding. 信号雑音比のスケーラブル符号化の例を説明する図である。It is a figure explaining the example of the scalable encoding of a signal noise ratio. AMVPについて説明する図である。It is a figure explaining AMVP. マージ(Merge)について説明する図である。It is a figure explaining merge (Merge). 候補リストのIDの符号化を説明する図である。It is a figure explaining encoding of ID of a candidate list. 欠番リストの補填について説明する図である。It is a figure explaining filling of a missing number list. 動き符号化処理におけるパイプライン処理の妨げについて説明する図である。It is a figure explaining the hindrance of the pipeline process in a motion coding process. 本技術の動作原理について説明する図である。It is a figure explaining the operation principle of this art. スケーラブル符号化装置の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a scalable encoding apparatus. ベースレイヤ画像符号化部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a base layer image coding part. エンハンスメントレイヤ画像符号化部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an enhancement layer image coding part. 動き情報符号化部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a motion information encoding part. 符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an encoding process. ベースレイヤ符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a base layer encoding process. エンハンスメントレイヤ符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer encoding process. 動き予測・補償処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a motion prediction and compensation process. 動き情報符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a motion information encoding process. マージ処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a merge process. スケーラブル復号装置の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a scalable decoding apparatus. ベースレイヤ画像復号部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a base layer image decoding part. エンハンスメントレイヤ画像復号部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an enhancement layer image decoding part. 動き情報復号部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a motion information decoding part. 復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a decoding process. ベースレイヤ復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a base layer decoding process. エンハンスメントレイヤ復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer decoding process. 予測処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a prediction process. 動き情報復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a motion information decoding process. マージ処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a merge process. 階層画像符号化方式の例を示す図である。It is a figure which shows the example of a hierarchy image coding system. 多視点画像符号化方式の例を示す図である。It is a figure which shows the example of a multiview image encoding system. コンピュータの主な構成例を示すブロック図である。And FIG. 20 is a block diagram illustrating a main configuration example of a computer. テレビジョン装置の概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of a television apparatus. 携帯電話機の概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of a mobile telephone. 記録再生装置の概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of a recording / reproducing apparatus. 撮像装置の概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of an imaging device. スケーラブル符号化利用の一例を示すブロック図である。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.
 以下、本開示を実施するための形態(以下実施の形態とする)について説明する。なお、説明は以下の順序で行う。
 0.概要
 1.第1の実施の形態(画像符号化装置)
 2.第2の実施の形態(画像復号装置)
  3.その他
 4.第3の実施の形態(コンピュータ)
 5.応用例
 6.スケーラブル符号化の応用例
Hereinafter, modes for carrying out the present disclosure (hereinafter referred to as embodiments) will be described. The description will be given in the following order.
0. Overview 1. First Embodiment (Image Encoding Device)
2. Second embodiment (image decoding apparatus)
3. Other 4. Third embodiment (computer)
5. Application example 6. Application examples of scalable coding
 <0.概要>
[符号化方式]
 以下においては、HEVC(High Efficiency Video Coding)方式の画像符号化・復号に適用する場合を例に、本技術を説明する。
<0. Overview>
[Encoding method]
In the following, the present technology will be described by taking as an example the case of application to HEVC (High Efficiency Video Coding) image encoding / decoding.
[コーディングユニット]
 AVC(Advanced Video Coding)方式においては、マクロブロックとサブマクロブロックによる階層構造が規定されている。しかしながら、16画素×16画素のマクロブロックでは、次世代符号化方式の対象となるような、UHD(Ultra High Definition;4000画素×2000画素)といった大きな画枠に対して最適ではない。
[Coding unit]
In the AVC (Advanced Video Coding) method, a hierarchical structure is defined by macroblocks and sub-macroblocks. However, a macroblock of 16 pixels × 16 pixels is not optimal for a large image frame such as UHD (Ultra High Definition; 4000 pixels × 2000 pixels), which is a target of the next generation encoding method.
 これに対して、HEVC方式においては、図1に示されるように、コーディングユニット(CU(Coding Unit))が規定されている。 On the other hand, in the HEVC system, as shown in FIG. 1, a coding unit (CU (Coding Unit)) is defined.
 CUは、Coding Tree Block(CTB)とも呼ばれ、AVC方式におけるマクロブロックと同様の役割を果たす、ピクチャ単位の画像の部分領域である。後者は、16×16画素の大きさに固定されているのに対し、前者の大きさは固定されておらず、それぞれのシーケンスにおいて、画像圧縮情報中において指定されることになる。 CU is also called Coding Tree Block (CTB) and is a partial area of a picture unit image that plays the same role as a macroblock in the AVC method. The latter is fixed to a size of 16 × 16 pixels, whereas the size of the former is not fixed, and is specified in the image compression information in each sequence.
 例えば、出力となる符号化データに含まれるシーケンスパラメータセット(SPS(Sequence Parameter Set))において、CUの最大サイズ(LCU(Largest Coding Unit))と最小サイズ(SCU(Smallest Coding Unit))が規定される。 For example, in the sequence parameter set (SPS (Sequence Parameter Co)) included in the output encoded data, the maximum size (LCU (Largest Coding Unit)) and the minimum size (SCU (Smallest Coding Unit)) are specified. The
 それぞれのLCU内においては、SCUのサイズを下回らない範囲で、split-flag=1とすることにより、より小さなサイズのCUに分割することができる。図1の例では、LCUの大きさが128であり、最大階層深度が5となる。2N×2Nの大きさのCUは、split_flagの値が「1」である時、1つ下の階層となる、N×Nの大きさのCUに分割される。 In each LCU, split-flag = 1 can be divided into smaller CUs within a range that does not fall below the SCU size. In the example of FIG. 1, the LCU size is 128 and the maximum hierarchical depth is 5. When the value of split_flag is “1”, the 2N × 2N size CU is divided into N × N size CUs that are one level below.
 更に、CUは、イントラ若しくはインター予測の処理単位となる領域(ピクチャ単位の画像の部分領域)であるプレディクションユニット(Prediction Unit(PU))に分割され、また、直交変換の処理単位となる領域(ピクチャ単位の画像の部分領域)である、トランスフォームユニット(Transform Unit(TU))に分割される。現在、HEVC方式においては、4×4及び8×8に加え、16×16及び32×32直交変換を用いることが可能である。 Further, the CU is divided into prediction units (Prediction Units (PU)) that are regions (partial regions of images in units of pictures) that are processing units of intra or inter prediction, and are regions that are processing units of orthogonal transformation It is divided into transform units (Transform Unit (TU)), which is (a partial area of an image in units of pictures). At present, in the HEVC system, it is possible to use 16 × 16 and 32 × 32 orthogonal transforms in addition to 4 × 4 and 8 × 8.
 以上のHEVC方式のように、CUを定義し、そのCUを単位として各種処理を行うような符号化方式の場合、AVC方式におけるマクロブロックはLCUに相当し、ブロック(サブブロック)はCUに相当すると考えることができる。また、AVC方式における動き補償ブロックは、PUに相当すると考えることができる。ただし、CUは、階層構造を有するので、その最上位階層のLCUのサイズは、例えば128×128画素のように、AVC方式のマクロブロックより大きく設定されることが一般的である。 In the case of an encoding method in which a CU is defined and various processes are performed in units of the CU as in the above HEVC method, a macro block in the AVC method corresponds to an LCU, and a block (sub block) corresponds to a CU. Then you can think. A motion compensation block in the AVC method can be considered to correspond to a PU. However, since the CU has a hierarchical structure, the size of the LCU of the highest hierarchy is generally set larger than the macro block of the AVC method, for example, 128 × 128 pixels.
 よって、以下、LCUは、AVC方式におけるマクロブロックをも含むものとし、CUは、AVC方式におけるブロック(サブブロック)をも含むものとする。つまり、以下の説明に用いる「ブロック」は、ピクチャ内の任意の部分領域を示し、その大きさ、形状、および特性等は限定されない。つまり、「ブロック」には、例えば、TU、PU、SCU、CU、LCU、サブブロック、マクロブロック、またはスライス等任意の領域(処理単位)が含まれる。もちろん、これら以外の部分領域(処理単位)も含まれる。サイズや処理単位等を限定する必要がある場合は、適宜説明する。 Therefore, hereinafter, it is assumed that the LCU also includes a macro block in the AVC method, and the CU also includes a block (sub-block) in the AVC method. That is, “block” used in the following description indicates an arbitrary partial area in the picture, and its size, shape, characteristics, and the like are not limited. That is, the “block” includes an arbitrary area (processing unit) such as a TU, PU, SCU, CU, LCU, sub-block, macroblock, or slice. Of course, other partial areas (processing units) are also included. When it is necessary to limit the size, processing unit, etc., it will be described as appropriate.
 また、本明細書において、CTU(Coding Tree Unit)は、LCU(最大数のCU)のCTB(Coding Tree Block)と、そのLCUベース(レベル)で処理するときのパラメータを含む単位であるとする。また、CTUを構成するCU(Coding Unit)は、CB(Coding Block)と、そのCUベース(レベル)で処理するときのパラメータを含む単位であるとする。 Also, in this specification, CTU (Coding Tree Unit) is a unit that includes CTB (Coding Tree Block) of LCU (maximum number of CUs) and parameters when processing on the LCU base (level). . Further, it is assumed that CU (Coding 構成 Unit) constituting the CTU is a unit including CB (Coding パ ラ メ ー タ Block) and parameters for processing in the CU base (level).
[モード選択]
 ところで、AVCそしてHEVC符号化方式において、より高い符号化効率を達成するには、適切な予測モードの選択が重要である。
[Mode selection]
By the way, in the AVC and HEVC encoding schemes, selection of an appropriate prediction mode is important to achieve higher encoding efficiency.
 かかる選択方式の例として、JM (Joint Model) と呼ばれるH.264/MPEG-4 AVCの参照ソフトウエア (http://iphome.hhi.de/suehring/tml/index.htm において公開されている) に実装されている方法を挙げることが出来る。 As an example of such a selection method, H.264 / MPEG-4 AVC reference software called JM (Joint Model) (published at http://iphome.hhi.de/suehring/tml/index.htm) The method implemented in can be mentioned.
 JMにおいては、以下に述べる、High Complexity Modeと、Low Complexity Modeの2通りのモード判定方法を選択することが可能である。どちらも、それぞれの予測モードModeに関するコスト関数値を算出し、これを最小にする予測モードを当該ブロック乃至マクロブロックに対する最適モードとして選択する。 In JM, it is possible to select the following two mode determination methods: High Complexity Mode and Low Complexity Mode. In both cases, a cost function value for each prediction mode Mode is calculated, and a prediction mode that minimizes the cost function value is selected as the optimum mode for the block or macroblock.
 High Complexity Modeにおけるコスト関数は、以下の式(1)のように示される。 The cost function in High Complexity Mode is shown as the following formula (1).
Figure JPOXMLDOC01-appb-I000001
Figure JPOXMLDOC01-appb-I000001
 ここで、Ωは、当該ブロック乃至マクロブロックを符号化するための候補モードの全体集合、Dは、当該予測モードで符号化した場合の、復号画像と入力画像の差分エネルギーである。λは、量子化パラメータの関数として与えられるLagrange未定乗数である。Rは、直交変換係数を含んだ、当該モードで符号化した場合の総符号量である。 Here, Ω is the entire set of candidate modes for encoding the block or macroblock, and D is the difference energy between the decoded image and the input image when encoded in the prediction mode. λ is a Lagrange undetermined multiplier given as a function of the quantization parameter. R is the total code amount when encoding is performed in this mode, including orthogonal transform coefficients.
 つまり、High Complexity Modeでの符号化を行うには、上記パラメータD及びRを算出するため、全ての候補モードにより、一度、仮エンコード処理を行う必要があり、より高い演算量を要する。 That is, in order to perform encoding in High Complexity Mode, the parameters D and R are calculated, and therefore, it is necessary to perform temporary encoding processing once in all candidate modes, which requires a higher calculation amount.
 Low Complexity Modeにおけるコスト関数は、以下の式(2)のように示される。 The cost function in Low Complexity Mode is shown as the following formula (2).
Figure JPOXMLDOC01-appb-I000002
Figure JPOXMLDOC01-appb-I000002
 ここで、Dは、High Complexity Modeの場合と異なり、予測画像と入力画像の差分エネルギーとなる。QP2Quant(QP)は、量子化パラメータQPの関数として与えられ、HeaderBitは、直交変換係数を含まない、動きベクトルや、モードといった、Headerに属する情報に関する符号量である。 Here, D is the difference energy between the predicted image and the input image, unlike the case of High Complexity Mode. QP2Quant (QP) is given as a function of the quantization parameter QP, and HeaderBit is a code amount related to information belonging to Header, such as a motion vector and mode, which does not include an orthogonal transform coefficient.
 すなわち、Low Complexity Modeにおいては、それぞれの候補モードに関して、予測処理を行う必要があるが、復号画像までは必要ないため、符号化処理まで行う必要はない。このため、High Complexity Modeより低い演算量での実現が可能である。 That is, in the Low Complexity Mode, it is necessary to perform a prediction process for each candidate mode, but it is not necessary to perform the encoding process because the decoded image is not necessary. For this reason, it is possible to realize with a calculation amount lower than that of High Complexity Mode.
[階層符号化]
 ところで、これまでの、MPEG2、AVCといった画像符号化方式は、図2乃至図4に示されるような、スケーラビリティ(scalability)機能を有していた。スケーラブル符号化(階層符号化)とは、画像を複数レイヤ化(階層化)し、レイヤ毎に符号化する方式である。
[Hierarchical coding]
By the way, the conventional image encoding methods such as MPEG2 and AVC have a scalability function as shown in FIGS. Scalable encoding (hierarchical encoding) is a scheme in which an image is divided into a plurality of layers (hierarchical) and encoded for each layer.
 画像の階層化においては、所定のパラメータを基準として1の画像が複数の画像(レイヤ)に分割される。基本的に各レイヤは、冗長性が低減されるように、差分データにより構成される。例えば、1の画像をベースレイヤとエンハンスメントレイヤに2階層化した場合、ベースレイヤのデータのみで元の画像よりも低品質な画像が得られ、ベースレイヤのデータとエンハンスメントレイヤのデータを合成することで、元の画像(すなわち高品質な画像)が得られる。 In image hierarchization, one image is divided into a plurality of images (layers) based on a predetermined parameter. Basically, each layer is composed of difference data so that redundancy is reduced. For example, if one image is divided into two layers, a base layer and an enhancement layer, an image with lower quality than the original image can be obtained with only the base layer data, and the base layer data and the enhancement layer data are combined. Thus, the original image (that is, a high quality image) is obtained.
 このように画像を階層化することにより、状況に応じて多様な品質の画像を容易に得ることができる。例えば携帯電話機のような、処理能力の低い端末に対しては、ベースレイヤ(base layer)のみの画像圧縮情報を伝送し、空間時間解像度の低い、或いは、画質の良くない動画像を再生し、テレビやパーソナルコンピュータのような、処理能力の高い端末に対しては、ベースレイヤ(base layer)に加えて、エンハンスメントレイヤ(enhancement layer)の画像圧縮情報を伝送し、空間時間解像度の高い、或いは、画質の高い動画像を再生するといったように、トランスコード処理を行うことなく、端末やネットワークの能力に応じた画像圧縮情報を、サーバから送信することが可能となる。 By layering images in this way, it is possible to easily obtain images of various qualities depending on the situation. For example, to a terminal with low processing capability such as a mobile phone, image compression information of only the base layer (base layer) is transmitted, and a moving image with a low spatiotemporal resolution or poor image quality is reproduced. For terminals with high processing power, such as televisions and personal computers, in addition to the base layer (base layer), image enhancement information of the enhancement layer (enhancement layer) is transmitted. Image compression information corresponding to the capabilities of the terminal and the network can be transmitted from the server without performing transcoding processing, such as playing a moving image with high image quality.
 このようなスケーラビリティ性を持たせるパラメータとして、例えば、図2に示されるような、空間解像度がある(spatial scalability)。このスペーシャルスケーラビリティ(spatial scalability)の場合、レイヤ毎に解像度が異なる。つまり、図2に示されるように、各ピクチャが、元の画像より空間的に低解像度のベースレイヤと、ベースレイヤの画像と合成することにより元の画像(元の空間解像度)が得られるエンハンスメントレイヤの2階層に階層化される。もちろん、この階層数は一例であり、任意の階層数に階層化することができる。 As a parameter having such scalability, for example, there is a spatial resolution as shown in FIG. 2 (spatial scalability). In the case of this spatial scalability (spatial scalability), the resolution is different for each layer. That is, as shown in FIG. 2, enhancement in which each picture is synthesized with a base layer having a spatially lower resolution than the original image and the base layer image to obtain the original image (original spatial resolution). Layered into two layers. Of course, this number of hierarchies is an example, and the number of hierarchies can be hierarchized.
 また、このようなスケーラビリティ性を持たせるパラメータとして、他には、例えば、図3に示されるような、時間解像度がある(temporal scalability)。このテンポラルスケーラビリティ(temporal scalability)の場合、レイヤ毎にフレームレートが異なる。つまり、この場合、図3に示されるように、互いに異なるフレームレートのレイヤに階層化されており、低フレームレートのレイヤに、高フレームレートのレイヤを加えることで、より高フレームレートの動画像を得ることができ、全てのレイヤを加えることで、元の動画像(元のフレームレート)を得ることができる。この階層数は一例であり、任意の階層数に階層化することができる。 As another parameter for providing such scalability, for example, there is temporal resolution as shown in FIG. 3 (temporal scalability). In the case of this temporal scalability (temporal scalability), the frame rate is different for each layer. That is, in this case, as shown in FIG. 3, layers are layered at different frame rates, and by adding a high frame rate layer to a low frame rate layer, a higher frame rate moving image is obtained. By adding all the layers, the original moving image (original frame rate) can be obtained. This number of hierarchies is an example, and can be hierarchized to an arbitrary number of hierarchies.
 また、このようなスケーラビリティ性を持たせるパラメータとして、他には、例えば、信号雑音比(SNR(Signal to Noise ratio))がある(SNR scalability)。このSNRスケーラビリティ(SNR scalability)の場合、レイヤ毎にSN比が異なる。つまり、図4に示されるように、各ピクチャが、元の画像よりSNRの低いベースレイヤと、ベースレイヤの画像と合成することにより元の画像(元のSNR)が得られるエンハンスメントレイヤの2階層に階層化される。すなわち、ベースレイヤ(base layer)画像圧縮情報においては、低PSNRの画像に関する情報が伝送されており、これに、エンハンスメントレイヤ(enhancement layer)画像圧縮情報を加えることで、高SNR画像を再構築することが可能である。もちろん、この階層数は一例であり、任意の階層数に階層化することができる。 Further, as another parameter for providing such scalability, for example, there is a signal-to-noise ratio (SNR) (SNR scalability). In the case of this SNR scalability (SNR scalability), the SN ratio is different for each layer. That is, as shown in FIG. 4, each picture has two layers of enhancement layers in which the original image (original SNR) is obtained by combining the base layer with a lower SNR than the original image and the base layer image. Is layered. In other words, in the base layer image compression information, information related to the low PSNR image is transmitted, and by adding the enhancement layer image compression information to this, a high SNR image is reconstructed. It is possible. Of course, this number of hierarchies is an example, and the number of hierarchies can be hierarchized.
 スケーラビリティ性を持たせるパラメータは、上述した例以外であっても、もちろんよい。例えば、ベースレイヤ(base layer)が8ビット(bit)画像よりなり、これにエンハンスメントレイヤ(enhancement layer)を加えることにより、10ビット(bit)画像が得られるビット深度スケーラビリティ(bit-depth scalability)がある。 Of course, the parameters for providing scalability may be other than the examples described above. For example, the base layer (base layer) consists of an 8-bit (bit) image, and by adding an enhancement layer (enhancement layer) to this, the bit-depth scalability (bit-depth scalability) can be obtained. is there.
 また、ベースレイヤ(base layer)が4:2:0フォーマットのコンポーネント画像よりなり、これにエンハンスメントレイヤ(enhancement layer)を加えることにより、4:2:2フォーマットのコンポーネント画像が得られるクロマスケーラビリティ(chroma scalability)がある。 In addition, the base layer (base よ り layer) consists of component images in 4: 2: 0 format, and by adding the enhancement layer (enhancement layer) to this, the chroma scalability (chroma) scalability).
 さらに、スケーラビリティ性を持たせるパラメータとして、マルチビューがある。この場合、互いに異なるビュー(視点)のレイヤに階層化されている。 Furthermore, there is multi-view as a parameter that gives scalability. In this case, the layers are hierarchized into layers of different views (viewpoints).
 本実施の形態に記載のレイヤは、上述した、スケーラビリティ符号化のスペーシャル、テンポラル、SNR、ビット深度、カラー、ビューなどを含む。 The layers described in the present embodiment include the above-described scalability coding spatial, temporal, SNR, bit depth, color, view, and the like.
 なお、本明細書において使われているレイヤの用語は、上述したスケーラブル(階層)符号化のレイヤと、さらに、多視点のマルチビューを考えたときの各ビューを含むものである。 The term “layer” used in this specification includes the above-described scalable (hierarchical) coding layer and each view when considering a multi-view multi-view.
 さらに、本明細書において使われているレイヤの用語は、主(サブに対応する)レイヤ、およびサブレイヤを含むものとする。具体例としては、主レイヤがスペーシャルスケーラビリティのレイヤであり、そのサブレイヤとしては、テンポラルスケーラビリティのレイヤで構成される場合があげられる。 Furthermore, the term “layer” used in this specification includes a main (corresponding to sub) layer and a sublayer. As a specific example, there is a case where the main layer is a spatial scalability layer and the sublayer is composed of a temporal scalability layer.
 また、本実施の形態においては、階層とレイヤは同意であるため、適宜、階層をレイヤとして説明される。 In the present embodiment, since the hierarchy and the layer are the same, the hierarchy is described as a layer as appropriate.
[動き情報の符号化]
  HEVCにおいて定められている動き情報の符号化方式について述べる。
[Encoding of motion information]
A coding method of motion information defined in HEVC will be described.
  HEVCにおいては、予測画像の生成方法の1つとして、画面間予測(インター予測)が採用されているが、その際生成される動き情報(動きベクトルを含む情報)の符号化方式として、AMVP(Advanced Motion Vector Prediction)とマージ(Merge)との2つの方式が規定されている。 In HEVC, inter-picture prediction (inter prediction) is adopted as one of the methods for generating a predicted image. As a coding method of motion information (information including motion vectors) generated at that time, AMVP ( Two methods are defined: Advanced (Motion) Vector (Prediction) and Merge.
  どちらも、処理対象であるカレントブロック(PU)の周辺に位置する周辺ブロック(周辺PU)における動き情報から、カレントブロックにおける動き情報の予測値(予測動き情報とも称する)を生成する。AMVPモードの場合、その予測動き情報とカレントブロックの動き情報との差分値が算出され、その差分値が、動き情報の符号化結果として、画像データのビットストリーム中に含められて伝送される。また、マージ(Merge)モードの場合、周辺ブロックから生成された予測動き情報が、カレントブロックの動き情報とされる。そして、予測動き情報を示すインデックス情報が、画像データのビットストリーム中に含められて伝送される。 In either case, a predicted value (also referred to as predicted motion information) of motion information in the current block is generated from motion information in a peripheral block (peripheral PU) located around the current block (PU) to be processed. In the case of the AMVP mode, a difference value between the predicted motion information and the motion information of the current block is calculated, and the difference value is included in the bit stream of the image data and transmitted as the motion information encoding result. In the merge mode, predicted motion information generated from the neighboring blocks is used as motion information for the current block. Then, index information indicating the predicted motion information is included in the bit stream of the image data and transmitted.
  予測動き情報は、カレントブロックの、時間方向に周辺に位置するブロックである時間周辺ブロックの動き情報(時間方向周辺動き情報とも称する)、および、空間方向に周辺に位置するブロックである空間周辺ブロックの動き情報(空間方向周辺動き情報とも称する)を用いて生成される。 The predicted motion information includes motion information of a temporal peripheral block that is a peripheral block in the time direction of the current block (also referred to as temporal peripheral motion information), and a spatial peripheral block that is a peripheral block in the spatial direction. Motion information (also referred to as spatial direction peripheral motion information).
  AMVPモードの場合、例えば図5のカレントブロック(CurrentPU)に対して、空間方向周辺動き情報は、周辺ブロックA0、周辺ブロックB0、周辺ブロックC、周辺ブロックD、および周辺ブロックEの各動き情報である。また、例えば図5のカレントブロック(Current PU)に対して、時間方向周辺動き情報は、コロケーテッドブロック(Co-located PU)のピクチャの、周辺ブロックCRおよび周辺ブロックHである。 In the case of AMVP mode, for example, for the current block (CurrentPU) in FIG. 5, spatial direction peripheral motion information is the motion information of peripheral block A0, peripheral block B0, peripheral block C, peripheral block D, and peripheral block E. is there. For example, for the current block (Current の PU) in FIG. 5, the temporal direction peripheral motion information is the peripheral block CR and the peripheral block H of the picture of the collocated block (Co-located-PU).
  このAMVPモードにおいて、空間方向周辺動き情報から予測動き情報の候補を生成する場合、予測動き情報の候補として、図5の、周辺ブロックA0および周辺ブロックEの中から1つ選択され、さらに、周辺ブロックC、周辺ブロックB0、および周辺ブロックDの中から1つ選択される。 In this AMVP mode, when generating a predicted motion information candidate from spatial direction peripheral motion information, one of the peripheral block A0 and the peripheral block E in FIG. 5 is selected as a predicted motion information candidate. One of block C, peripheral block B0, and peripheral block D is selected.
  以下では、VEC1を、カレントブロックの動き情報と、ref_idxも、listも同じ動き情報とし、VEC2を、カレントブロックの動き情報と、ref_idxは同じであるが、listが異なる動き情報とし、VEC3を、カレントブロックの動き情報と、ref_idxは異なるが、listが同一である動き情報とし、VEC4を、カレントブロックの動き情報と、ref_idxも、listも異なる動き情報であるとする。 In the following, VEC1 is the motion information of the current block, ref_idx and list are the same motion information, VEC2 is the motion information of the current block, and ref_idx is the same, but the list is different motion information, and VEC3 is The motion information of the current block is different from ref_idx but the list is the same, and VEC4 is the motion information of the current block, and ref_idx and list are different motion information.
  空間方向周辺動き情報の候補は、以下のような順で探索(スキャン)される。 The candidates for the spatial direction peripheral motion information are searched (scanned) in the following order.
  (1)周辺ブロックEおよび周辺ブロックA0のVEC1のスキャンを行う。
  (2)周辺ブロックEおよび周辺ブロックA0のVEC2,3,4のスキャンを行う。
  (3)周辺ブロックC、周辺ブロックB0、および周辺ブロックDのVEC1のスキャンを行う。
  (4)周辺ブロックC、周辺ブロックB0、および周辺ブロックDのVEC2,3,4のスキャンを行う。
(1) Scan VEC1 of peripheral block E and peripheral block A0.
(2) Scan VEC2, 3, and 4 of peripheral block E and peripheral block A0.
(3) Scan VEC1 of peripheral block C, peripheral block B0, and peripheral block D.
(4) Scan VEC2, 3, and 4 of peripheral block C, peripheral block B0, and peripheral block D.
  上記スキャン処理は、該当する動き情報が検出された時点で終了となる。 The scanning process ends when the corresponding motion information is detected.
  なお、VEC3,4に関しては、以下の式(3)のような、スケーリング(scaling)処理が施される。 Note that for VEC 3 and 4, a scaling process such as the following equation (3) is performed.
Figure JPOXMLDOC01-appb-I000003
Figure JPOXMLDOC01-appb-I000003
  また、時間方向周辺動き情報から予測動き情報の候補を生成する場合、図5の周辺ブロックHの動き情報がアンアベイラブル(unavailable)のときは、周辺ブロックCRの動き情報が予測動き情報の候補として用いられる。 Also, in the case of generating predicted motion information candidates from temporal direction peripheral motion information, when the motion information of the peripheral block H in FIG. 5 is unavailable, the motion information of the peripheral block CR is used as a candidate for predicted motion information. Used.
  次に、マージ(Merge)モードの場合の動き情報の符号化方式について述べる。 Next, the motion information encoding method in the merge mode will be described.
  マージモードの場合、例えば図6のカレントブロック(CurrentPU)に対して、空間方向周辺動き情報は、周辺ブロック1乃至周辺ブロック5の各動き情報である。また、例えば図6のカレントブロック(Current PU)に対して、時間方向周辺動き情報は、コロケーテッドブロック(Co-located PU)のピクチャの、周辺ブロックCR6および周辺ブロックH6である。 In the merge mode, for example, for the current block (CurrentPU) in FIG. 6, the spatial peripheral motion information is the motion information of the peripheral blocks 1 to 5. Further, for example, for the current block (Current PU) in FIG. 6, the temporal direction peripheral motion information is the peripheral block CR6 and the peripheral block H6 of the picture of the collocated block (Co-located PU).
  このマージモードにおいて、空間方向周辺動き情報から予測動き情報の候補を生成する場合、予測動き情報の候補として、図6の、周辺ブロック1乃至周辺ブロック4の動き情報が用いられ、候補リストが生成される。この周辺ブロック1乃至周辺ブロック4の各動き情報の内、1つでもアンアベイラブル(unavailable)なものがあれば、周辺ブロック5の動き情報が用いられる。 In this merge mode, when generating predicted motion information candidates from spatial direction peripheral motion information, the motion information of the peripheral blocks 1 to 4 in FIG. 6 is used as a predicted motion information candidate, and a candidate list is generated. Is done. If at least one piece of motion information of the peripheral blocks 1 to 4 is unavailable, the motion information of the peripheral block 5 is used.
  また、時間方向周辺動き情報から予測動き情報の候補を生成する場合、図6の周辺ブロックH6の動き情報がアンアベイラブル(unavailable)のときは、周辺ブロックCR6の動き情報が用いられる。 In addition, when generating motion prediction candidates from temporal direction peripheral motion information, when the motion information of the peripheral block H6 in FIG. 6 is unavailable, the motion information of the peripheral block CR6 is used.
  このようにして、マージモードにおける予測動き情報の候補の数(候補リストのサイズ)は、常に5つに固定されている。つまり、図7に示されるように、インデックス(Merge_idx)のリストサイズ(List Size)は5に固定されている。これにより、CABACと動き予測とを独立して処理することができる。 In this way, the number of prediction motion information candidates in the merge mode (the size of the candidate list) is always fixed to five. That is, as shown in FIG. 7, the list size (List Size) of the index (Merge_idx) is fixed to 5. Thereby, CABAC and motion prediction can be processed independently.
  なお、アンアベイラブル(unavailable)な周辺動き情報が存在すると、この候補リストに欠番が生じる恐れがある。候補リストに欠番が生じると符号化効率が低減する恐れがある。そこで候補リストに欠番を生じさせないようにするために、例えば図8に示されるように、コンバインドマージ(Combined bi-directional Merge)やゼロベクトルマージ(Zero vector Merge)等の補填方法が考えられた。 It should be noted that if there is unusable peripheral motion information, this candidate list may be missing. If missing numbers are generated in the candidate list, the encoding efficiency may be reduced. Therefore, in order to prevent missing numbers from appearing in the candidate list, for example, as shown in FIG. 8, a compensation method such as combined merge (Combined bi-directional merge) or zero vector merge (Zero vector merge) has been considered.
  コンバインドマージは、既に候補リストに用いられている動き情報を用いて新たな候補を生成し、補填する方法である。ゼロベクトルマージは、ゼロベクトルを用いて新たな候補を生成し、補填する方法である。 Combined merge is a method for generating and compensating for new candidates using motion information already used in the candidate list. Zero vector merging is a method of generating a new candidate using a zero vector and filling it.
  ところで、いま、図9に示されるように、当該CUが、N×2N PUに分割されているとする。縦に2分割されているブロックのうち、左側のブロックB0に関する動き情報が、右側のブロックB1においては、隣接動き情報となる。したがって、左側のブロックB0に関する動き情報が確定しない限り、右側のブロックB1の処理を開始することができず、パイプライン処理の妨げになっていた。 Now, as shown in FIG. 9, it is assumed that the CU is divided into N × 2N PUs. Of the blocks that are vertically divided, the motion information related to the left block B0 is the adjacent motion information in the right block B1. Therefore, unless the motion information regarding the left block B0 is determined, the processing of the right block B1 cannot be started, which hinders pipeline processing.
 そこで、HEVCにおいては、非特許文献1において提案されている以下の方法が採用されている。すなわち、まず、出力となる画像圧縮情報において、log2_parallel_merge_level_minus2というシンタクス要素の伝送を行う。そして、log2_parallel_merge_level_minus2の値に基づき、LCUは、オーバーラップしない、MER(Motion Estimation Region)に分割される。MERは、正方形である。 Therefore, in HEVC, the following method proposed in Non-Patent Document 1 is adopted. That is, first, a syntax element called log2_parallel_merge_level_minus2 is transmitted in the compressed image information to be output. Then, based on the value of log2_parallel_merge_level_minus2, the LCU is divided into MERs (Motion Estimation Regions) that do not overlap. MER is a square.
 もし、当該PUと時空間に隣接するPU(隣接PU)が同一のMERに属する場合、隣接PUに関する動き情報は、アンアベイラブル(unavailable)であるとして、動きベクトル符号化処理が行われる。 If the PU adjacent to the PU and the space-time (adjacent PU) belong to the same MER, the motion vector encoding process is performed assuming that the motion information related to the adjacent PU is unavailable.
 しかしながら、非特許文献1による方法で、MERが、64×64もしくは32×32といったように大きく設定されると、符号化効率の劣化が観測される。特に、入力画像の画枠が大きい場合、大きくMERを設定し、並列処理による高速なPUの処理が必要となってしまう。 However, when the MER is set to a large value such as 64 × 64 or 32 × 32 by the method according to Non-Patent Document 1, a deterioration in coding efficiency is observed. In particular, when the image frame of the input image is large, a large MER is set, and high-speed PU processing by parallel processing is required.
 これは、スケーラブル符号化処理を行う際にも同様に言える。特に、スペーシャルスケーラビリティ(Spatial scalability)については、エンハンスメントレイヤにおける画枠が大きいため、符号化効率の劣化も大きくなってしまう。 This is also true when performing scalable encoding processing. In particular, with regard to spatial scalability, since the image frame in the enhancement layer is large, the degradation of coding efficiency is also large.
 そこで、本技術においては、エンハンスメントレイヤにおいて、アンアベイラブル(unavailable)となる隣接動き情報に関して、ベースレイヤにおけるコロケーテッド(co-located)PUにおける動き情報がアベイラブル(available)なら、これを隣接動き情報として、動きベクトル符号化/復号処理を行うようにする。すなわち、本技術においては、エンハンスメントレイヤにおいて、当該PUと時空間に隣接するPU(隣接PU)が同一のMERに属する場合、隣接PUに関して、ベースレイヤにおけるコロケーテッドPUの動き情報を用いて、動きベクトル符号化/復号処理が行われる。 Therefore, in the present technology, regarding the adjacent motion information that becomes unavailable in the enhancement layer, if the motion information in the collocated (co-located) PU in the base layer is available (available), this is used as the adjacent motion information. Motion vector encoding / decoding processing is performed. That is, in the present technology, in the enhancement layer, when a PU adjacent to the PU and space-time (adjacent PU) belongs to the same MER, the motion vector is used for the adjacent PU using the motion information of the collocated PU in the base layer. Encoding / decoding processing is performed.
[本技術の動作原理]
 本技術における動作原理について、図10を参照して説明する。
[Operation principle of this technology]
The operation principle in the present technology will be described with reference to FIG.
 図10の例においては、エンハンスメントレイヤ(EL)におけるPU E2の処理が行われている。すなわち、PU E2がカレントブロックであり、PU E1がカレントブロックに隣接する隣接ブロックである。このような場合において、PU E1がMER内であるとき、HEVC Version1による従来方法では、E1に関する動き情報が、アンアベイラブル(unavailable)として取り扱われている。なお、MERとは、非特許文献1に記載のように、並列処理またはパイプライン処理を行う処理ブロックであるといえる。 In the example of FIG. 10, the processing of PU E2 in the enhancement layer (EL) is performed. That is, PU E2 is the current block, and PU E1 is an adjacent block adjacent to the current block. In such a case, when PU E1 is in MER, the motion information related to E1 is handled as unavailable in the conventional method according to HEVC Version1. Note that the MER is a processing block that performs parallel processing or pipeline processing, as described in Non-Patent Document 1.
 このとき、本技術においては、エンハンスメントレイヤ(EL)において、E1に対応する(例えば同一の位置の)コロケーテッドPUに相当するベースレイヤ(BL)におけるPU B1に関する動き情報のアベイラビリティ(availability)のチェックが行われる。 At this time, in the present technology, in the enhancement layer (EL), the availability information of the motion information related to PU B1 in the base layer (BL) corresponding to the collocated PU corresponding to E1 (for example, at the same position) is checked. Done.
 そして、B1に関する動き情報がアベイラブル(available)であるならば、B1に関する動き情報が、E2に対する隣接動き情報として、動きベクトル符号化処理/復号処理に用いられる。 If the motion information related to B1 is available, the motion information related to B1 is used for motion vector encoding / decoding processing as adjacent motion information for E2.
 エンハンスメントレイヤにおける符号化処理が行われている時間には、ベースレイヤにおける符号化処理は完了しているため、このような本技術による方法を適用することで、並列処理またはパイプライン処理による動きベクトル符号化処理/復号処理を行うことができる。 Since the encoding process in the base layer is completed at the time when the encoding process in the enhancement layer is performed, the motion vector by parallel processing or pipeline processing is applied by applying such a method according to the present technology. Encoding / decoding processing can be performed.
 なお、B1を検出する方法として、まず、エンハンスメントレイヤにおいて、E1の中央に位置する画素を検出し、これに対応するベースレイヤにおける画素を含むPUを、E1に対応するコロケーテッド(co-located)PU B1であるとする。 As a method of detecting B1, first, in the enhancement layer, a pixel located at the center of E1 is detected, and a PU including a pixel in the base layer corresponding to this is detected as a co-located PU corresponding to E1. Assume that B1.
 あるいは、E1の中央ではなく、左上に位置する画素を用いて、コロケーテッド(co-located)PU B1の検出処理を行ってもよい。 Alternatively, the co-located PU B1 detection process may be performed using a pixel located in the upper left instead of the center of E1.
 なお、スペーシャルスケーラビリティ(Spatial scalability)による場合には、スケーラビリティ比に応じた動き情報のスケーリング処理が行われる。 Note that in the case of spatial scalability, motion information scaling processing according to the scalability ratio is performed.
 また、非特許文献1においては、マージ(Merge)に関してMERが提案されているが、本技術による方法は、マージだけでなく、図5を参照して上述したAMVP(Advanced Motion Vector Prediction)に適用してもよい。 In Non-Patent Document 1, MER is proposed for merge, but the method according to the present technology is applied not only to merge but also to AMVP (Advanced Motion Vector Prediction) described above with reference to FIG. May be.
  次に、以上のような本技術について、具体的な装置への適用例について説明する。 Next, a specific application example of the present technology as described above will be described.
  <1.第1の実施の形態>
[スケーラブル符号化装置]
  図11は、スケーラブル符号化装置の主な構成例を示すブロック図である。
<1. First Embodiment>
[Scalable encoder]
FIG. 11 is a block diagram illustrating a main configuration example of a scalable encoding device.
  図11に示されるスケーラブル符号化装置100は、画像データをスケーラブル符号化する画像情報処理装置であり、ベースレイヤとエンハンスメントレイヤに階層化された画像データの各レイヤを符号化する。この階層化の基準として用いるパラメータ(スケーラビリティを持たせるパラメータ)は任意である。スケーラブル符号化装置100は、共通情報生成部101、符号化制御部102、ベースレイヤ画像符号化部103、動き情報符号化部104、およびエンハンスメントレイヤ画像符号化部105を有する。 A scalable encoding device 100 shown in FIG. 11 is an image information processing device that performs scalable encoding of image data, and encodes each layer of image data hierarchized into a base layer and an enhancement layer. The parameters used as the criteria for this hierarchization (parameters that give scalability) are arbitrary. The scalable encoding device 100 includes a common information generation unit 101, an encoding control unit 102, a base layer image encoding unit 103, a motion information encoding unit 104, and an enhancement layer image encoding unit 105.
  共通情報生成部101は、例えばNALユニットに格納するような画像データの符号化に関する情報を取得する。また、共通情報生成部101は、必要に応じて、ベースレイヤ画像符号化部103、動き情報符号化部104、およびエンハンスメントレイヤ画像符号化部105などから必要な情報を取得する。共通情報生成部101は、それらの情報を基に全レイヤに関する情報である共通情報を生成する。共通情報には、例えば、ビデオパラメータセット等が含まれる。共通情報生成部101は、生成した共通情報を、例えばNALユニットとして、スケーラブル符号化装置100の外部に出力する。なお、共通情報生成部101は、生成した共通情報を、符号化制御部102にも供給する。さらに、共通情報生成部101は、必要に応じて、生成した共通情報の一部若しくは全部をベースレイヤ画像符号化部103乃至エンハンスメントレイヤ画像符号化部105にも供給する。 The common information generation unit 101 acquires information related to encoding of image data that is stored in, for example, a NAL unit. In addition, the common information generation unit 101 acquires necessary information from the base layer image encoding unit 103, the motion information encoding unit 104, the enhancement layer image encoding unit 105, and the like as necessary. The common information generation unit 101 generates common information that is information regarding all layers based on the information. The common information includes, for example, a video parameter set. The common information generation unit 101 outputs the generated common information to the outside of the scalable encoding device 100, for example, as a NAL unit. Note that the common information generation unit 101 also supplies the generated common information to the encoding control unit 102. Furthermore, the common information generation unit 101 supplies part or all of the generated common information to the base layer image encoding unit 103 to the enhancement layer image encoding unit 105 as necessary.
  符号化制御部102は、共通情報生成部101から供給される共通情報に基づいて、ベースレイヤ画像符号化部103乃至エンハンスメントレイヤ画像符号化部105を制御することにより、各レイヤの符号化を制御する。 The encoding control unit 102 controls the encoding of each layer by controlling the base layer image encoding unit 103 to the enhancement layer image encoding unit 105 based on the common information supplied from the common information generation unit 101. To do.
  ベースレイヤ画像符号化部103は、ベースレイヤの画像情報(ベースレイヤ画像情報)を取得する。ベースレイヤ画像符号化部103は、他のレイヤの情報を利用せずに、そのベースレイヤ画像情報を符号化し、ベースレイヤの符号化データ(ベースレイヤ符号化データ)を生成し、出力する。また、ベースレイヤ画像符号化部103は、符号化の際に得られた動き情報を動き情報符号化部104に供給する。 The base layer image encoding unit 103 acquires base layer image information (base layer image information). The base layer image encoding unit 103 encodes the base layer image information without using information of other layers, generates base layer encoded data (base layer encoded data), and outputs the encoded data. Further, the base layer image encoding unit 103 supplies the motion information obtained at the time of encoding to the motion information encoding unit 104.
  動き情報符号化部104は、エンハンスメントレイヤ画像符号化部105における動き予測により得られる動き情報の符号化に用いられる予測動きベクトル情報のリストを生成する。動き情報符号化部104は、処理対象であるカレントブロックの周辺に位置する周辺ブロックの動き情報を周辺動き情報として用いて、カレントブロックの動き情報の予測値である予測動き情報を生成する。このような予測動き情報の生成の際、動き情報符号化部104は、エンハンスメントレイヤ画像符号化部105から取得した動き情報を周辺動き情報として用いる。ただし、カレントブロックに隣接するブロックがMER内である場合、その動き情報がアンアベイラブルとなるので、動き情報符号化部104は、そのアンアベイラブルな動き情報の代わりに、ベースレイヤ画像符号化部103から取得したアベイラブルな動き情報(具体的には、その隣接ブロックに対応するコロケーテッドブロックの動き情報)を周辺動き情報として用いる。動き情報符号化部104は、このようにして生成した予測動き情報のリストをエンハンスメントレイヤ画像符号化部105に戻す。 The heel motion information encoding unit 104 generates a list of predicted motion vector information used for encoding motion information obtained by motion prediction in the enhancement layer image encoding unit 105. The motion information encoding unit 104 generates predicted motion information that is a predicted value of the motion information of the current block, using the motion information of the peripheral blocks located around the current block to be processed as the peripheral motion information. When generating such predicted motion information, the motion information encoding unit 104 uses the motion information acquired from the enhancement layer image encoding unit 105 as peripheral motion information. However, when the block adjacent to the current block is in the MER, the motion information becomes unavailable, so the motion information encoding unit 104 uses the base layer image encoding unit 103 instead of the unavailable motion information. Available motion information (specifically, motion information of a collocated block corresponding to the adjacent block) obtained from the above is used as peripheral motion information. The motion information encoding unit 104 returns the list of predicted motion information generated in this way to the enhancement layer image encoding unit 105.
  エンハンスメントレイヤ画像符号化部105は、エンハンスメントレイヤの画像情報(エンハンスメントレイヤ画像情報)を取得する。エンハンスメントレイヤ画像符号化部105は、そのエンハンスメントレイヤ画像情報を符号化する。なお、エンハンスメントレイヤ画像符号化部105は、カレントブロックの動き情報を符号化するために、そのカレントブロックの動き情報を動き情報符号化部104に供給する。また、エンハンスメントレイヤ画像符号化部105は、動き情報符号化部104から、そのカレントブロックの予測動き情報のリストを取得する。エンハンスメントレイヤ画像符号化部105は、取得した予測動き情報のリストを用いて、カレントブロックの動き情報を符号化する。エンハンスメントレイヤ画像符号化部105は、このような符号化により、エンハンスメントレイヤの符号化データ(エンハンスメントレイヤ符号化データ)を生成し、出力する。 The enhancement layer image encoding unit 105 acquires enhancement layer image information (enhancement layer image information). The enhancement layer image encoding unit 105 encodes the enhancement layer image information. The enhancement layer image encoding unit 105 supplies the motion information of the current block to the motion information encoding unit 104 in order to encode the motion information of the current block. Also, the enhancement layer image encoding unit 105 acquires a list of predicted motion information of the current block from the motion information encoding unit 104. The enhancement layer image encoding unit 105 encodes the motion information of the current block using the acquired list of predicted motion information. The enhancement layer image encoding unit 105 generates and outputs enhancement layer encoded data (enhancement layer encoded data) through such encoding.
[ベースレイヤ画像符号化部]
  図12は、図11のベースレイヤ画像符号化部103の主な構成例を示すブロック図である。図12に示されるように、ベースレイヤ画像符号化部103は、A/D変換部111、画面並べ替えバッファ112、演算部113、直交変換部114、量子化部115、可逆符号化部116、蓄積バッファ117、逆量子化部118、および逆直交変換部119を有する。また、ベースレイヤ画像符号化部103は、演算部120、デブロッキングフィルタ121、フレームメモリ122、選択部123、イントラ予測部124、動き予測・補償部125、予測画像選択部126、およびレート制御部127を有する。さらに、ベースレイヤ画像符号化部103は、デブロッキングフィルタ121とフレームメモリ122との間に、適応オフセットフィルタ128を有する。
[Base layer image encoding unit]
FIG. 12 is a block diagram illustrating a main configuration example of the base layer image encoding unit 103 in FIG. 11. As shown in FIG. 12, the base layer image encoding unit 103 includes an A / D conversion unit 111, a screen rearrangement buffer 112, a calculation unit 113, an orthogonal transformation unit 114, a quantization unit 115, a lossless encoding unit 116, The storage buffer 117, the inverse quantization unit 118, and the inverse orthogonal transform unit 119 are included. The base layer image encoding unit 103 includes a calculation unit 120, a deblocking filter 121, a frame memory 122, a selection unit 123, an intra prediction unit 124, a motion prediction / compensation unit 125, a predicted image selection unit 126, and a rate control unit. 127. Further, the base layer image encoding unit 103 includes an adaptive offset filter 128 between the deblocking filter 121 and the frame memory 122.
  A/D変換部111は、入力された画像データ(ベースレイヤ画像情報)をA/D変換し、変換後の画像データ(デジタルデータ)を、画面並べ替えバッファ112に供給し、記憶させる。画面並べ替えバッファ112は、記憶した表示の順番のフレームの画像を、GOP(Group Of Picture)に応じて、符号化のためのフレームの順番に並べ替え、フレームの順番を並び替えた画像を、演算部113に供給する。また、画面並べ替えバッファ112は、フレームの順番を並び替えた画像を、イントラ予測部124および動き予測・補償部125にも供給する。 The A / D conversion unit 111 performs A / D conversion on the input image data (base layer image information), and supplies the converted image data (digital data) to the screen rearrangement buffer 112 for storage. The screen rearrangement buffer 112 rearranges the images of the frames in the stored display order in the order of frames for encoding according to the GOP (Group Of Picture), and rearranges the images in the order of the frames. It supplies to the calculating part 113. The screen rearrangement buffer 112 also supplies the image in which the frame order is rearranged to the intra prediction unit 124 and the motion prediction / compensation unit 125.
  演算部113は、画面並べ替えバッファ112から読み出された画像から、予測画像選択部126を介してイントラ予測部124若しくは動き予測・補償部125から供給される予測画像を減算し、その差分情報を直交変換部114に出力する。例えば、イントラ符号化が行われる画像の場合、演算部113は、画面並べ替えバッファ112から読み出された画像から、イントラ予測部124から供給される予測画像を減算する。また、例えば、インター符号化が行われる画像の場合、演算部113は、画面並べ替えバッファ112から読み出された画像から、動き予測・補償部125から供給される予測画像を減算する。 The calculation unit 113 subtracts the predicted image supplied from the intra prediction unit 124 or the motion prediction / compensation unit 125 via the predicted image selection unit 126 from the image read from the screen rearrangement buffer 112, and the difference information Is output to the orthogonal transform unit 114. For example, in the case of an image on which intra coding is performed, the calculation unit 113 subtracts the prediction image supplied from the intra prediction unit 124 from the image read from the screen rearrangement buffer 112. For example, in the case of an image on which inter coding is performed, the calculation unit 113 subtracts the prediction image supplied from the motion prediction / compensation unit 125 from the image read from the screen rearrangement buffer 112.
  直交変換部114は、演算部113から供給される差分情報に対して、離散コサイン変換やカルーネン・レーベ変換等の直交変換を施す。直交変換部114は、その変換係数を量子化部115に供給する。 The orthogonal transform unit 114 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computation unit 113. The orthogonal transform unit 114 supplies the transform coefficient to the quantization unit 115.
  量子化部115は、直交変換部114から供給される変換係数を量子化する。量子化部115は、レート制御部127から供給される符号量の目標値に関する情報に基づいて量子化パラメータを設定し、その量子化を行う。量子化部115は、量子化された変換係数を可逆符号化部116に供給する。 The quantization unit 115 quantizes the transform coefficient supplied from the orthogonal transform unit 114. The quantization unit 115 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 127, and performs the quantization. The quantization unit 115 supplies the quantized transform coefficient to the lossless encoding unit 116.
  可逆符号化部116は、量子化部115において量子化された変換係数を任意の符号化方式で符号化する。係数データは、レート制御部127の制御の下で量子化されているので、この符号量は、レート制御部127が設定した目標値となる(若しくは目標値に近似する)。 The lossless encoding unit 116 encodes the transform coefficient quantized by the quantization unit 115 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 127, the code amount becomes the target value set by the rate control unit 127 (or approximates the target value).
  また、可逆符号化部116は、イントラ予測のモードを示す情報などをイントラ予測部124から取得し、インター予測のモードを示す情報や差分動きベクトル情報などを動き予測・補償部125から取得する。さらに、可逆符号化部116は、シーケンスパラメータセット(SPS)、およびピクチャパラメータセット(PPS)等を含むベースレイヤのNALユニットを適宜生成する。 Further, the lossless encoding unit 116 acquires information indicating the intra prediction mode from the intra prediction unit 124, and acquires information indicating the inter prediction mode, difference motion vector information, and the like from the motion prediction / compensation unit 125. Furthermore, the lossless encoding unit 116 appropriately generates a base layer NAL unit including a sequence parameter set (SPS), a picture parameter set (PPS), and the like.
  可逆符号化部116は、これらの各種情報を任意の符号化方式で符号化し、符号化データ(符号化ストリームとも称する)の一部とする(多重化する)。可逆符号化部116は、符号化して得られた符号化データを蓄積バッファ117に供給して蓄積させる。 The lossless encoding unit 116 encodes these various types of information by an arbitrary encoding method, and uses (multiplexes) a part of the encoded data (also referred to as an encoded stream). The lossless encoding unit 116 supplies the encoded data obtained by encoding to the accumulation buffer 117 for accumulation.
  可逆符号化部116の符号化方式としては、例えば、可変長符号化または算術符号化等が挙げられる。可変長符号化としては、例えば、H.264/AVC方式で定められているCAVLC(Context-Adaptive Variable Length Coding)などが挙げられる。算術符号化としては、例えば、CABAC(Context-Adaptive Binary Arithmetic Coding)などが挙げられる。 Examples of the encoding method of the lossless encoding unit 116 include variable length encoding or arithmetic encoding. Examples of variable length coding include H.264. CAVLC (Context-Adaptive Variable Length Coding) defined in the H.264 / AVC format. Examples of arithmetic coding include CABAC (Context-Adaptive Binary Arithmetic Coding).
  蓄積バッファ117は、可逆符号化部116から供給された符号化データ(ベースレイヤ符号化データ)を、一時的に保持する。蓄積バッファ117は、所定のタイミングにおいて、保持しているベースレイヤ符号化データを、例えば、後段の図示せぬ記録装置(記録媒体)や伝送路などに出力する。すなわち、蓄積バッファ117は、符号化データを伝送する伝送部でもある。 The cocoon accumulation buffer 117 temporarily holds the encoded data (base layer encoded data) supplied from the lossless encoding unit 116. The accumulation buffer 117 outputs the stored base layer encoded data to, for example, a recording device (recording medium) (not shown) or a transmission path at a later stage at a predetermined timing. That is, the accumulation buffer 117 is also a transmission unit that transmits encoded data.
  また、量子化部115において量子化された変換係数は、逆量子化部118にも供給される。逆量子化部118は、その量子化された変換係数を、量子化部115による量子化に対応する方法で逆量子化する。逆量子化部118は、得られた変換係数を、逆直交変換部119に供給する。 The transform coefficient quantized by the quantization unit 115 is also supplied to the inverse quantization unit 118. The inverse quantization unit 118 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 115. The inverse quantization unit 118 supplies the obtained transform coefficient to the inverse orthogonal transform unit 119.
  逆直交変換部119は、逆量子化部118から供給された変換係数を、直交変換部114による直交変換処理に対応する方法で逆直交変換する。逆直交変換された出力(復元された差分情報)は、演算部120に供給される。 The inverse orthogonal transform unit 119 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 118 by a method corresponding to the orthogonal transform processing by the orthogonal transform unit 114. The inversely orthogonal transformed output (restored difference information) is supplied to the calculation unit 120.
  演算部120は、逆直交変換部119から供給された逆直交変換結果である、復元された差分情報に、予測画像選択部126を介してイントラ予測部124若しくは動き予測・補償部125からの予測画像を加算し、局部的に復号された画像(復号画像)を得る。その復号画像は、デブロッキングフィルタ121またはフレームメモリ122に供給される。 The calculation unit 120 uses the prediction image selection unit 126 to perform prediction from the intra prediction unit 124 or the motion prediction / compensation unit 125 on the restored difference information, which is the inverse orthogonal transform result supplied from the inverse orthogonal transform unit 119. The images are added to obtain a locally decoded image (decoded image). The decoded image is supplied to the deblocking filter 121 or the frame memory 122.
  デブロッキングフィルタ121は、演算部120から供給される再構成画像に対して、デブロックフィルタ処理を行うことにより再構成画像のブロック歪を除去する。デブロッキングフィルタ121は、フィルタ処理が施された画像を、適応オフセットフィルタ128に供給する。 The deblocking filter 121 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image supplied from the calculation unit 120. The deblocking filter 121 supplies the filtered image to the adaptive offset filter 128.
 適応オフセットフィルタ128は、デブロッキングフィルタ121からのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、主にリンギングを除去する適応オフセットフィルタ(SAO: Sample adaptive offset)処理を行う。 The adaptive offset filter 128 is an adaptive offset filter (SAO: Sample adaptive offset) that mainly removes ringing from the deblocking filter processing result (reconstructed image from which block distortion has been removed) from the deblocking filter 121. Process.
 より詳細には、適応オフセットフィルタ128は、最大の符号化単位であるLCU(Largest Coding Unit)ごとに適応オフセットフィルタ処理の種類を決定し、その適応オフセットフィルタ処理で用いられるオフセットを求める。適応オフセットフィルタ128は、求められたオフセットを用いて、適応デブロックフィルタ処理後の画像に対して、決定された種類の適応オフセットフィルタ処理を行う。そして、適応オフセットフィルタ128は、適応オフセットフィルタ処理後の画像(以下、復号画像と称する)をフレームメモリ122に供給する。 More specifically, the adaptive offset filter 128 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 128 performs the determined type of adaptive offset filter processing on the image after the adaptive deblocking filter processing, using the obtained offset. Then, the adaptive offset filter 128 supplies the image after the adaptive offset filter processing (hereinafter referred to as a decoded image) to the frame memory 122.
  なお、デブロッキングフィルタ121および適応オフセットフィルタ128は、必要に応じて、フィルタ処理に用いたフィルタ係数等の情報を可逆符号化部116に供給し、それを符号化させるようにすることもできる。また、適応オフセットフィルタ128の後段に、適応ループフィルタを備えるようにしてもよい。 It should be noted that the deblocking filter 121 and the adaptive offset filter 128 may supply information such as filter coefficients used for the filter processing to the lossless encoding unit 116 and encode it as necessary. Further, an adaptive loop filter may be provided after the adaptive offset filter 128.
  フレームメモリ122は、演算部120から供給される再構成画像と、適応オフセットフィルタ128から供給される復号画像とをそれぞれ記憶する。フレームメモリ122は、所定のタイミングにおいて、若しくは、イントラ予測部124等の外部からの要求に基づいて、記憶している再構成画像を、選択部123を介してイントラ予測部124に供給する。また、フレームメモリ122は、所定のタイミングにおいて、若しくは、動き予測・補償部125等の外部からの要求に基づいて、記憶している復号画像を、選択部123を介して、動き予測・補償部125に供給する。 The frame memory 122 stores the reconstructed image supplied from the arithmetic unit 120 and the decoded image supplied from the adaptive offset filter 128, respectively. The frame memory 122 supplies the stored reconstructed image to the intra prediction unit 124 via the selection unit 123 at a predetermined timing or based on a request from the outside such as the intra prediction unit 124. The frame memory 122 also stores the decoded image stored at a predetermined timing or based on a request from the outside such as the motion prediction / compensation unit 125 via the selection unit 123. 125.
  フレームメモリ122は、供給される復号画像を記憶し、所定のタイミングにおいて、記憶している復号画像を参照画像として、選択部123に供給する。 The kite frame memory 122 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 123 at a predetermined timing.
  選択部123は、フレームメモリ122から供給される参照画像の供給先を選択する。例えば、イントラ予測の場合、選択部123は、フレームメモリ122から供給される参照画像(カレントピクチャ内の画素値)を動き予測・補償部125に供給する。また、例えば、インター予測の場合、選択部123は、フレームメモリ122から供給される参照画像を動き予測・補償部125に供給する。 The eyelid selection unit 123 selects a supply destination of the reference image supplied from the frame memory 122. For example, in the case of intra prediction, the selection unit 123 supplies the reference image (pixel value in the current picture) supplied from the frame memory 122 to the motion prediction / compensation unit 125. For example, in the case of inter prediction, the selection unit 123 supplies the reference image supplied from the frame memory 122 to the motion prediction / compensation unit 125.
  イントラ予測部124は、選択部123を介してフレームメモリ122から供給される参照画像であるカレントピクチャ内の画素値を用いて予測画像を生成するイントラ予測(画面内予測)を行う。イントラ予測部124は、予め用意された複数のイントラ予測モードでこのイントラ予測を行う。 The intra prediction unit 124 performs intra prediction (intra-screen prediction) that generates a predicted image using a pixel value in a current picture that is a reference image supplied from the frame memory 122 via the selection unit 123. The intra prediction unit 124 performs this intra prediction in a plurality of intra prediction modes prepared in advance.
  イントラ予測部124は、候補となる全てのイントラ予測モードで予測画像を生成し、画面並べ替えバッファ112から供給される入力画像を用いて各予測画像のコスト関数値を評価し、最適なモードを選択する。イントラ予測部124は、最適なイントラ予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部126に供給する。 The intra prediction unit 124 generates prediction images in all candidate intra prediction modes, evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 112, and selects the optimum mode. select. When the optimal intra prediction mode is selected, the intra prediction unit 124 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  また、上述したように、イントラ予測部124は、採用されたイントラ予測モードを示すイントラ予測モード情報等を、適宜可逆符号化部116に供給し、符号化させる。 Also, as described above, the intra prediction unit 124 appropriately supplies the intra prediction mode information indicating the adopted intra prediction mode to the lossless encoding unit 116 for encoding.
  動き予測・補償部125は、画面並べ替えバッファ112から供給される入力画像と、選択部123を介してフレームメモリ122から供給される参照画像とを用いて動き予測(インター予測)を行う。動き予測・補償部125は、検出された動きベクトルに応じて動き補償処理を行い、予測画像(インター予測画像情報)を生成する。動き予測・補償部125は、予め用意された複数のインター予測モードでこのようなインター予測を行う。 The heel motion prediction / compensation unit 125 performs motion prediction (inter prediction) using the input image supplied from the screen rearrangement buffer 112 and the reference image supplied from the frame memory 122 via the selection unit 123. The motion prediction / compensation unit 125 performs a motion compensation process according to the detected motion vector, and generates a prediction image (inter prediction image information). The motion prediction / compensation unit 125 performs such inter prediction in a plurality of inter prediction modes prepared in advance.
  動き予測・補償部125は、候補となる全てのインター予測モードで予測画像を生成する。動き予測・補償部125は、画面並べ替えバッファ112から供給される入力画像と、生成した差分動きベクトルの情報などを用いて、各予測画像のコスト関数値を評価し、最適なモードを選択する。動き予測・補償部125は、最適なインター予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部126に供給する。 The heel motion prediction / compensation unit 125 generates a prediction image in all candidate inter prediction modes. The motion prediction / compensation unit 125 evaluates the cost function value of each predicted image using the input image supplied from the screen rearrangement buffer 112 and information on the generated differential motion vector, and selects an optimal mode. . When the optimal inter prediction mode is selected, the motion prediction / compensation unit 125 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  動き予測・補償部125は、採用されたインター予測モードを示す情報や、符号化データを復号する際に、そのインター予測モードで処理を行うために必要な情報等を可逆符号化部116に供給し、符号化させる。必要な情報としては、例えば、生成された差分動きベクトルの情報や、予測動きベクトル情報として、予測動きベクトルのインデックスを示すフラグなどがある。 The motion prediction / compensation unit 125 supplies information indicating the employed inter prediction mode, information necessary for performing processing in the inter prediction mode, and the like to the lossless encoding unit 116 when decoding the encoded data. And encoding. The necessary information includes, for example, information on the generated differential motion vector and a flag indicating an index of the predicted motion vector as predicted motion vector information.
  予測画像選択部126は、演算部113や演算部120に供給する予測画像の供給元を選択する。例えば、イントラ符号化の場合、予測画像選択部126は、予測画像の供給元としてイントラ予測部124を選択し、そのイントラ予測部124から供給される予測画像を演算部113や演算部120に供給する。また、例えば、インター符号化の場合、予測画像選択部126は、予測画像の供給元として動き予測・補償部125を選択し、その動き予測・補償部125から供給される予測画像を演算部113や演算部120に供給する。 The predicted image selection unit 126 selects a supply source of the predicted image to be supplied to the calculation unit 113 or the calculation unit 120. For example, in the case of intra coding, the prediction image selection unit 126 selects the intra prediction unit 124 as a supply source of the prediction image, and supplies the prediction image supplied from the intra prediction unit 124 to the calculation unit 113 and the calculation unit 120. To do. For example, in the case of inter coding, the predicted image selection unit 126 selects the motion prediction / compensation unit 125 as a supply source of the predicted image, and calculates the predicted image supplied from the motion prediction / compensation unit 125 as the calculation unit 113. To the arithmetic unit 120.
  レート制御部127は、蓄積バッファ117に蓄積された符号化データの符号量に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部115の量子化動作のレートを制御する。 The rate control unit 127 controls the rate of the quantization operation of the quantization unit 115 based on the code amount of the encoded data stored in the storage buffer 117 so that no overflow or underflow occurs.
  なお、動き予測・補償部125は、各モードについて、動き予測により検出されたカレントブロックの動き情報を、ベースレイヤの動き情報として動き情報符号化部104に供給する。 Note that, for each mode, the motion prediction / compensation unit 125 supplies the motion information of the current block detected by motion prediction to the motion information encoding unit 104 as the motion information of the base layer.
[エンハンスメントレイヤ画像符号化部]
  図13は、図11のエンハンスメントレイヤ画像符号化部105の主な構成例を示すブロック図である。図13に示されるように、エンハンスメントレイヤ画像符号化部105は、図12のベースレイヤ画像符号化部103と基本的に同様の構成を有する。
[Enhancement layer image encoding unit]
FIG. 13 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 105 in FIG. 11. As shown in FIG. 13, the enhancement layer image encoding unit 105 has basically the same configuration as the base layer image encoding unit 103 of FIG.
  ただし、エンハンスメントレイヤ画像符号化部105の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。つまり、エンハンスメントレイヤ画像符号化部105のA/D変換部111は、エンハンスメントレイヤ画像情報をA/D変換し、エンハンスメントレイヤ画像符号化部105の蓄積バッファ117は、エンハンスメントレイヤ符号化データを、例えば、後段の図示せぬ記録装置(記録媒体)や伝送路などに出力する。 However, each unit of the enhancement layer image encoding unit 105 performs processing for encoding enhancement layer image information, not the base layer. That is, the A / D conversion unit 111 of the enhancement layer image encoding unit 105 performs A / D conversion on the enhancement layer image information, and the accumulation buffer 117 of the enhancement layer image encoding unit 105 converts the enhancement layer encoded data into, for example, Then, the data is output to a recording device (recording medium), a transmission path, etc., not shown.
  また、エンハンスメントレイヤ画像符号化部105は、動き予測・補償部125の代わりに、動き予測・補償部135を有する。 In addition, the enhancement layer image encoding unit 105 includes a motion prediction / compensation unit 135 instead of the motion prediction / compensation unit 125.
  動き予測・補償部135は、動き情報符号化部104を用いて、動き情報の符号化を行う。つまり、動き予測・補償部125がベースレイヤの周辺動き情報のみを用いてカレントブロックの動き情報の符号化を行うのに対して、動き予測・補償部135は、エンハンスメントレイヤの周辺動き情報だけでなく、ベースレイヤの周辺動き情報も用いて、カレントブロックの動き情報の符号化を行うことができる。 The heel motion prediction / compensation unit 135 uses the motion information encoding unit 104 to encode motion information. That is, the motion prediction / compensation unit 125 encodes the motion information of the current block using only the peripheral motion information of the base layer, whereas the motion prediction / compensation unit 135 uses only the peripheral motion information of the enhancement layer. Alternatively, the motion information of the current block can be encoded using the peripheral motion information of the base layer.
  動き予測・補償部135は、各モードについて、動き予測により検出されたカレントブロックの周囲の動き情報を用いてAMVPモードの予測動き情報のリストを生成する。また、動き予測・補償部135は、各モードについて、動き予測により検出されたカレントブロックの動き情報を、エンハンスメントレイヤの動き情報として動き情報符号化部104に供給する。また、動き予測・補償部135は、供給した各動き情報について、動き情報符号化部104からマージモードの予測動き情報のリストを取得する。 The motion prediction / compensation unit 135 generates, for each mode, a list of predicted motion information in the AMVP mode using the motion information around the current block detected by motion prediction. Also, the motion prediction / compensation unit 135 supplies the motion information of the current block detected by motion prediction for each mode to the motion information encoding unit 104 as enhancement layer motion information. In addition, the motion prediction / compensation unit 135 acquires a list of prediction motion information in the merge mode from the motion information encoding unit 104 for each supplied motion information.
 動き予測・補償部135は、AMVPモードとマージモードの予測動き情報リストを用いて、動き情報を符号化し、動き情報の符号化結果を用いてコスト関数値を算出し、最適なインター予測モードを決定する。 The motion prediction / compensation unit 135 encodes motion information using the prediction motion information list in the AMVP mode and the merge mode, calculates a cost function value using the encoded result of the motion information, and selects an optimal inter prediction mode. decide.
[動き情報符号化部]
  図14は、図11の動き情報符号化部104の主な構成例を示すブロック図である。なお、以下、予測の処理単位のブロックとして、PUを例に説明する。また、以下、動き情報を動きベクトル情報とも称する。
[Motion information encoder]
FIG. 14 is a block diagram illustrating a main configuration example of the motion information encoding unit 104 in FIG. 11. Hereinafter, a PU will be described as an example of a block of a prediction processing unit. Hereinafter, the motion information is also referred to as motion vector information.
  図14に示されるように、動き情報符号化部104は、パラレルマージ設定部151、マージ処理部152、動き情報圧縮部153、およびベースレイヤ動き情報バッファ154を有する。 As shown in FIG. 14, the motion information encoding unit 104 includes a parallel merge setting unit 151, a merge processing unit 152, a motion information compression unit 153, and a base layer motion information buffer 154.
 パラレルマージ設定部151は、ユーザの操作に応じて、MER(Motion Estimation Region)に関する設定、すなわち、ブロックサイズの指定を行う。MERは、並列またはパイプラインの処理を行うために設定されるブロックであり、換言するに、並列またはパイプラインの処理ブロックとも言える。 The parallel merge setting unit 151 performs setting related to MER (Motion Estimation Region), that is, specifies a block size in accordance with a user operation. The MER is a block set for performing parallel or pipeline processing. In other words, the MER can be said to be a parallel or pipeline processing block.
 パラレルマージ設定部151は、指定されたブロックサイズの情報(以下、MER情報と称する)を、マージ処理部152のMER情報バッファ164に供給する。より具体的には、このMER情報として、ここでは、非特許文献1に記載のlog2_parallel_merge_level_minus2の値が設定される。 The parallel merge setting unit 151 supplies the specified block size information (hereinafter referred to as MER information) to the MER information buffer 164 of the merge processing unit 152. More specifically, as this MER information, here, the value of log2_parallel_merge_level_minus2 described in Non-Patent Document 1 is set.
 また、この値は、動き予測・補償部135を介して、可逆符号化部116に供給され、可逆符号化部116において、例えば、ピクチャパラメータセットとして符号化される。 Also, this value is supplied to the lossless encoding unit 116 via the motion prediction / compensation unit 135, and is encoded by the lossless encoding unit 116 as, for example, a picture parameter set.
 マージ処理部152は、マージモードで、エンハンスメントレイヤのカレントブロックの動き情報に対応する予測動き情報の候補リストを生成する。その際、マージ処理部152は、エンハンスメントレイヤ画像符号化部105の動き予測・補償部135からのエンハンスメントレイヤの動き情報を必要に応じて周辺動き情報として取得する。また、マージ処理部152は、ベースレイヤ動き情報バッファ154に記憶されているベースレイヤの動き情報を必要に応じて周辺動き情報として取得する。マージ処理部152は、これらの周辺動き情報を用いて、候補リストを生成する。マージ処理部152は、生成した候補リストを、動き予測・補償部135に供給する。 The merge processing unit 152 generates a candidate list of predicted motion information corresponding to the motion information of the current block of the enhancement layer in the merge mode. At that time, the merge processing unit 152 acquires the enhancement layer motion information from the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 as peripheral motion information as necessary. Further, the merge processing unit 152 acquires the base layer motion information stored in the base layer motion information buffer 154 as peripheral motion information as necessary. The merge processing unit 152 generates a candidate list using the peripheral motion information. The merge processing unit 152 supplies the generated candidate list to the motion prediction / compensation unit 135.
 図14に示されるように、マージ処理部152は、候補予測動きベクトルバッファ161、スケーリング部162、隣接動き情報バッファ163、MER情報バッファ164、MER内判定部165、およびアベイラビリティ判定部166を含むように構成されている。 As illustrated in FIG. 14, the merge processing unit 152 includes a candidate motion vector predictor buffer 161, a scaling unit 162, an adjacent motion information buffer 163, an MER information buffer 164, an in-MER determination unit 165, and an availability determination unit 166. It is configured.
 候補予測動きベクトルバッファ161には、隣接動き情報バッファ163から供給される隣接PU動き情報、およびスケーリング部162から供給されるスケーリングされた動きベクトル情報が蓄積される。 The candidate predicted motion vector buffer 161 stores the adjacent PU motion information supplied from the adjacent motion information buffer 163 and the scaled motion vector information supplied from the scaling unit 162.
 候補予測動きベクトルバッファ161は、エンハンスメントレイヤ画像符号化部105によるエンハンスメントレイヤの符号化について、動き予測・補償部135において得られるカレントブロックの動き情報の予測動き情報を得るためのマージモードの候補リストを生成する。この候補の数(候補リストの長さ)は任意であるが、CABACと動き予測を独立して処理することができるように、予め定められた所定の数であるのが望ましい。以下においては、候補の数を5つとして説明する。 The candidate prediction motion vector buffer 161 is a merge mode candidate list for obtaining prediction motion information of the motion information of the current block obtained by the motion prediction / compensation unit 135 for the enhancement layer coding by the enhancement layer image coding unit 105. Is generated. The number of candidates (the length of the candidate list) is arbitrary, but is preferably a predetermined number so that CABAC and motion prediction can be processed independently. In the following description, the number of candidates is five.
 候補予測動きベクトルバッファ161は、蓄積されている0番乃至4番までの動きベクトル情報を、候補リストとして、動き予測・補償部135に供給する。 The candidate motion vector predictor buffer 161 supplies the accumulated motion vector information from No. 0 to No. 4 to the motion prediction / compensation unit 135 as a candidate list.
 スケーリング部162は、アベイラビリティ判定部166から供給されるベースレイヤ動きベクトル情報に対して、スペーシャルスケーラビリティ比に応じたスケーリング処理を行う。スケーリング部162は、スケーリングされた動きベクトル情報を、候補予測動きベクトルバッファ161に供給する。なお、スペーシャルスケーラビリティではない場合、スケーリング部162は、スケーリングせずに、動きベクトル情報を、候補予測動きベクトルバッファ161に供給する。 The scaling unit 162 performs a scaling process on the base layer motion vector information supplied from the availability determination unit 166 according to the spatial scalability ratio. The scaling unit 162 supplies the scaled motion vector information to the candidate motion vector predictor buffer 161. When the spatial scalability is not achieved, the scaling unit 162 supplies motion vector information to the candidate motion vector predictor buffer 161 without scaling.
 隣接動き情報バッファ163には、動き予測・補償部135からカレントPUに隣接する隣接PUのアドレス情報と、並列処理やパイプライン処理を行ってもアベイラブルな場合には、隣接PUの動きベクトル情報が供給される。 In the adjacent motion information buffer 163, the address information of the adjacent PU adjacent to the current PU from the motion prediction / compensation unit 135 and the motion vector information of the adjacent PU are available even if parallel processing or pipeline processing is performed. Supplied.
 隣接動き情報バッファ163は、供給された隣接PUのアドレス情報を、MER内判定部165に供給する。また、隣接動き情報バッファ163は、MER内判定部165からの制御信号に応じて、隣接PU動きベクトル情報を候補予測動きベクトルバッファ161に供給する。 The adjacent motion information buffer 163 supplies the supplied adjacent PU address information to the in-MER determination unit 165. Also, the adjacent motion information buffer 163 supplies adjacent PU motion vector information to the candidate prediction motion vector buffer 161 in accordance with the control signal from the in-MER determination unit 165.
 MER情報バッファ164には、パラレルマージ設定部151から供給されるMER情報が蓄積され、蓄積されているMER情報は、所定のタイミングで、MER内判定部165に供給される。 The MER information buffer 164 stores the MER information supplied from the parallel merge setting unit 151, and the stored MER information is supplied to the in-MER determination unit 165 at a predetermined timing.
 MER内判定部165は、隣接動き情報バッファ163からの隣接PUのアドレス情報とMER情報バッファ164に蓄積されているMER情報に基づいて、隣接PUがMER内であるか、またはMER外であるのかを判定する。MER内判定部165は、MER外であると判定した場合、隣接PUがアベイラブルであるので、隣接動き情報バッファ163に制御信号を送信する。MER内判定部165は、MER内であると判定した場合、隣接PUがアベイラブルではないので、ベースレイヤ動き情報バッファ154に制御信号を送信する。 Based on the address information of the adjacent PU from the adjacent motion information buffer 163 and the MER information stored in the MER information buffer 164, the in-MER determination unit 165 determines whether the adjacent PU is in the MER or outside the MER. Determine. When determining that the MER is out of MER, the in-MER determination unit 165 transmits a control signal to the adjacent motion information buffer 163 because the adjacent PU is available. If the in-MER determination unit 165 determines that the MER is in the MER, the adjacent PU is not available and transmits a control signal to the base layer motion information buffer 154.
 アベイラビリティ判定部166は、MER内判定部165からの制御信号に応じてベースレイヤ動き情報バッファ154から供給されるベースレイヤ動きベクトル情報を受け取る。アベイラビリティ判定部166は、受け取ったベースレイヤ動きベクトル情報がアベイラブルであるか否かを判定する。アベイラビリティ判定部166によりアベイラブルと判定された場合、そのベースレイヤ動きベクトル情報は、スケーリング部162に供給される。 The availability determination unit 166 receives the base layer motion vector information supplied from the base layer motion information buffer 154 according to the control signal from the in-MER determination unit 165. The availability determining unit 166 determines whether or not the received base layer motion vector information is available. When the availability determination unit 166 determines that the availability is available, the base layer motion vector information is supplied to the scaling unit 162.
  動き情報圧縮部153は、ベースレイヤ画像符号化部103の動き予測・補償部125からから取得した、最高4×4精度の動きベクトル(圧縮前動きベクトルとも称する)を、例えば、16×16精度に圧縮し(1/16圧縮とも称する)、その圧縮後の動きベクトル(1/16圧縮後動きベクトルとも称する)をベースレイヤ動き情報バッファ154に供給する。 The motion information compression unit 153 obtains a motion vector having a maximum 4 × 4 accuracy (also referred to as a pre-compression motion vector) acquired from the motion prediction / compensation unit 125 of the base layer image encoding unit 103, for example, with 16 × 16 accuracy. The motion vector after the compression (also referred to as 1 / 16-compressed motion vector) is supplied to the base layer motion information buffer 154.
 この動きベクトルの圧縮方法は任意である。なお、圧縮度合いも限定されず、圧縮しない場合があってもよい。例えば、動き情報圧縮部153が、動き予測・補償部125から取得した複数の動きベクトルの中から、その代表値とする動きベクトルを選択するようにしてもよい。例えば、4×4精度の16個の動きベクトル(4個×4個の各ブロックの動きベクトル)から、代表値とする動きベクトルが1つ選択されるようにしてもよい。この圧縮により、動きベクトルの精度は、16×16精度となる。 The compression method of this motion vector is arbitrary. Note that the degree of compression is not limited, and compression may not be performed. For example, the motion information compression unit 153 may select a motion vector as a representative value from a plurality of motion vectors acquired from the motion prediction / compensation unit 125. For example, one motion vector as a representative value may be selected from 16 motion vectors of 4 × 4 accuracy (motion vectors of 4 × 4 blocks). By this compression, the accuracy of the motion vector becomes 16 × 16 accuracy.
 なお、この動きベクトルの選択方法は任意である。例えば左上端のブロック等、所定の位置のブロックの動きベクトルを選択するようにしてもよいし、例えば画像内の位置に応じてブロックを選択する等、所定の方法で定められた位置のブロックの動きベクトルを選択するようにしてもよい。 Note that the method of selecting this motion vector is arbitrary. For example, the motion vector of a block at a predetermined position, such as the block at the upper left corner, may be selected, or the block at a position determined by a predetermined method, for example, a block may be selected according to the position in the image. A motion vector may be selected.
 また、選択する動きベクトルの数は、任意であり、2つ以上であってもよい。 Further, the number of motion vectors to be selected is arbitrary and may be two or more.
 また、動き情報圧縮部153は、例えば、各動きベクトルを用いた所定の演算により代表値を算出するようにしてもよい。この代表値の算出方法は、任意である。例えば、各ブロックの動きベクトルの平均値や中央値を代表値としてもよい。なお、算出する代表値の数は、任意であり、2つ以上であってもよい。 Also, the motion information compression unit 153 may calculate the representative value by a predetermined calculation using each motion vector, for example. The method for calculating the representative value is arbitrary. For example, the average value or median value of the motion vectors of each block may be used as the representative value. The number of representative values to be calculated is arbitrary and may be two or more.
 以上のように求められた1/16圧縮後動きベクトル(動きベクトルの代表値)は、ベースレイヤ動き情報バッファ154に供給され、記憶される。 The 1 / 16-compressed motion vector (representative value of the motion vector) obtained as described above is supplied to the base layer motion information buffer 154 and stored.
  ベースレイヤ動き情報バッファ154は、動き情報圧縮部153から供給された、圧縮処理されたベースレイヤの動き情報(1/16圧縮後動きベクトル)を記憶する。ベースレイヤ動き情報バッファ154は、MER内判定部165からの制御信号に応じて、記憶しているベースレイヤの動き情報を、ベースレイヤの動き情報として、マージ処理部152(アベイラビリティ判定部166)に供給する。 Base layer motion information buffer 154 stores the compressed base layer motion information (1 / 16-compressed motion vector) supplied from motion information compression section 153. The base layer motion information buffer 154 sends the stored base layer motion information as base layer motion information to the merge processing unit 152 (availability determination unit 166) according to the control signal from the in-MER determination unit 165. Supply.
 動き予測・補償部135は、求めたAMVPモードの候補リスト、およびマージ処理部152から供給された候補リストを用いて、エンハンスメントレイヤ画像符号化部105の動き予測・補償部135から供給されるエンハンスメントレイヤのカレントブロックの動き情報についての最適なプレディクタを設定する。 The motion prediction / compensation unit 135 uses the obtained AMVP mode candidate list and the candidate list supplied from the merge processing unit 152 to perform enhancement supplied from the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105. Set the optimal predictor for the motion information of the current block in the layer.
 つまり、動き予測・補償部135は、得られた各候補について、符号化結果のコスト関数値を算出し、その値が最も小さくなる候補を最適なプレディクタとして選択する。動き予測・補償部135は、その最適なプレディクタを用いて、カレントブロックの動き情報を符号化する。より具体的には、動き予測・補償部135は、動き情報と予測動き情報との差分(差分動き情報)を求める。動き予測・補償部135は、各モードについて、このように符号化結果(差分動き情報)を求める。 That is, the motion prediction / compensation unit 135 calculates the cost function value of the encoding result for each obtained candidate, and selects the candidate having the smallest value as the optimal predictor. The motion prediction / compensation unit 135 encodes the motion information of the current block using the optimal predictor. More specifically, the motion prediction / compensation unit 135 obtains a difference (difference motion information) between the motion information and the predicted motion information. The motion prediction / compensation unit 135 obtains the encoding result (differential motion information) in this way for each mode.
 なお、図14の例においては、ベースレイヤ動き情報バッファ154には、圧縮されたベースレイヤの動き情報が記憶される例が示されているが、ベースレイヤの動き情報が圧縮されずに記憶されることも可能である。 In the example of FIG. 14, the base layer motion information buffer 154 shows an example in which the compressed base layer motion information is stored. However, the base layer motion information is stored without being compressed. It is also possible.
  以上のように、スケーラブル符号化装置100は、エンハンスメントレイヤの動き情報の符号化において、エンハンスメントレイヤのMER(並列またはパイプラインの処理ブロック)内に隣接ブロックが含まれている場合、エンハンスメントレイヤの隣接ブロックに対応するベースレイヤの対応ブロックを用いて予測動き情報を求める。これにより、動き情報の符号化または復号において、並列処理またはパイプライ処理を行うことができる。 As described above, scalable encoding apparatus 100, when encoding motion information of an enhancement layer, includes adjacent blocks in an enhancement layer MER (parallel or pipeline processing block) and includes adjacent blocks in the enhancement layer. Predictive motion information is obtained using the corresponding block of the base layer corresponding to the block. Thereby, parallel processing or pipeline processing can be performed in encoding or decoding of motion information.
[符号化処理の流れ]
  次に、以上のようなスケーラブル符号化装置100により実行される各処理の流れについて説明する。最初に、図15のフローチャートを参照して、符号化処理の流れの例を説明する。スケーラブル符号化装置100は、ピクチャ毎にこの符号化処理を実行する。
[Encoding process flow]
Next, the flow of each process executed by the scalable encoding device 100 as described above will be described. First, an example of the flow of encoding processing will be described with reference to the flowchart of FIG. The scalable encoding device 100 executes this encoding process for each picture.
  符号化処理が開始されると、ステップS101において、スケーラブル符号化装置100の符号化制御部102は、最初のレイヤを処理対象とする。 When the encoding process is started, in step S101, the encoding control unit 102 of the scalable encoding device 100 sets the first layer as a processing target.
  ステップS102において、符号化制御部102は、処理対象であるカレントレイヤがベースレイヤであるか否かを判定する。カレントレイヤがベースレイヤであると判定された場合、処理は、ステップS103に進む。 In step S102, the encoding control unit 102 determines whether or not the current layer to be processed is a base layer. If it is determined that the current layer is the base layer, the process proceeds to step S103.
  ステップS103において、ベースレイヤ画像符号化部103は、ベースレイヤ符号化処理を行う。ステップS103の処理が終了すると、処理は、ステップS106に進む。 In step S103, the base layer image encoding unit 103 performs base layer encoding processing. When the process of step S103 ends, the process proceeds to step S106.
  また、ステップS102において、カレントレイヤがエンハンスメントレイヤであると判定された場合、処理は、ステップS104に進む。ステップS104において、符号化制御部102は、カレントレイヤに対応する(すなわち、参照先とする)ベースレイヤを決定する。 If it is determined in step S102 that the current layer is an enhancement layer, the process proceeds to step S104. In step S104, the encoding control unit 102 determines a base layer corresponding to the current layer (that is, a reference destination).
  ステップS105において、エンハンスメントレイヤ画像符号化部105は、エンハンスメントレイヤ符号化処理を行う。ステップS105の処理が終了すると、処理は、ステップS106に進む。 In step S105, the enhancement layer image encoding unit 105 performs an enhancement layer encoding process. When the process of step S105 ends, the process proceeds to step S106.
  ステップS106において、符号化制御部102は、全てのレイヤを処理したか否かを判定する。未処理のレイヤが存在すると判定された場合、処理は、ステップS107に進む。 In step S106, the encoding control unit 102 determines whether all layers have been processed. If it is determined that there is an unprocessed layer, the process proceeds to step S107.
  ステップS107において、符号化制御部102は、次の未処理のレイヤを処理対象(カレントレイヤ)とする。ステップS107の処理が終了すると、処理は、ステップS102に戻る。ステップS102乃至ステップS107の処理が繰り返し実行され、各レイヤが符号化される。 In step S107, the encoding control unit 102 sets the next unprocessed layer as a processing target (current layer). When the process of step S107 ends, the process returns to step S102. The processing from step S102 to step S107 is repeatedly executed, and each layer is encoded.
  そして、ステップS106において、全てのレイヤが処理されたと判定された場合、符号化処理が終了する。 If it is determined in step S106 that all layers have been processed, the encoding process ends.
[ベースレイヤ符号化処理の流れ]
  次に、図16のフローチャートを参照して、図15のステップS103において実行されるベースレイヤ符号化処理の流れの例を説明する。
[Flow of base layer encoding process]
Next, an example of the flow of the base layer encoding process executed in step S103 of FIG. 15 will be described with reference to the flowchart of FIG.
  ステップS121において、ベースレイヤ画像符号化部103のA/D変換部111は入力されたベースレイヤの画像情報(画像データ)をA/D変換する。ステップS122において、画面並べ替えバッファ112は、A/D変換されたベースレイヤの画像情報(デジタルデータ)を記憶し、各ピクチャを、表示する順番から符号化する順番へ並べ替える。 In step S121, the A / D conversion unit 111 of the base layer image encoding unit 103 performs A / D conversion on the input base layer image information (image data). In step S122, the screen rearrangement buffer 112 stores the A / D converted base layer image information (digital data), and rearranges the pictures from the display order to the encoding order.
  ステップS123において、イントラ予測部124は、イントラ予測モードのイントラ予測処理を行う。ステップS124において、動き予測・補償部125は、インター予測モードでの動き予測や動き補償を行う動き予測・補償処理を行う。ステップS125において、予測画像選択部126は、イントラ予測部124および動き予測・補償部125から出力された各コスト関数値に基づいて、最適なモードを決定する。つまり、予測画像選択部126は、イントラ予測部124により生成された予測画像と、動き予測・補償部125により生成された予測画像のいずれか一方を選択する。ステップS126において、演算部113は、ステップS122の処理により並び替えられた画像と、ステップS125の処理により選択された予測画像との差分を演算する。差分データは元の画像データに較べてデータ量が低減される。したがって、画像をそのまま符号化する場合に較べて、データ量を圧縮することができる。 In step S123, the intra prediction unit 124 performs an intra prediction process in the intra prediction mode. In step S124, the motion prediction / compensation unit 125 performs a motion prediction / compensation process for performing motion prediction or motion compensation in the inter prediction mode. In step S <b> 125, the predicted image selection unit 126 determines an optimum mode based on the cost function values output from the intra prediction unit 124 and the motion prediction / compensation unit 125. That is, the predicted image selection unit 126 selects one of the predicted image generated by the intra prediction unit 124 and the predicted image generated by the motion prediction / compensation unit 125. In step S126, the calculation unit 113 calculates the difference between the image rearranged by the process of step S122 and the predicted image selected by the process of step S125. The data amount of the difference data is reduced compared to the original image data. Therefore, the data amount can be compressed as compared with the case where the image is encoded as it is.
  ステップS127において、直交変換部114は、ステップS126の処理により生成された差分情報に対する直交変換処理を行う。ステップS128において、量子化部115は、レート制御部127により算出された量子化パラメータを用いて、ステップS127の処理により得られた直交変換係数を量子化する。 In step S127, the orthogonal transform unit 114 performs an orthogonal transform process on the difference information generated by the process in step S126. In step S128, the quantization unit 115 quantizes the orthogonal transform coefficient obtained by the process of step S127, using the quantization parameter calculated by the rate control unit 127.
  ステップS128の処理により量子化された差分情報は、次のようにして局部的に復号される。すなわち、ステップS129において、逆量子化部118は、ステップS128の処理により生成された量子化された係数(量子化係数とも称する)を、量子化部115の特性に対応する特性で逆量子化する。ステップS130において、逆直交変換部119は、ステップS127の処理により得られた直交変換係数を逆直交変換する。ステップS131において、演算部120は、予測画像を局部的に復号された差分情報に加算し、局部的に復号された画像(演算部113への入力に対応する画像)を生成する。 The difference information quantized by the processing in step S128 is locally decoded as follows. That is, in step S129, the inverse quantization unit 118 inversely quantizes the quantized coefficient (also referred to as a quantization coefficient) generated by the process in step S128 with characteristics corresponding to the characteristics of the quantization unit 115. . In step S130, the inverse orthogonal transform unit 119 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process of step S127. In step S131, the calculation unit 120 adds the predicted image to the locally decoded difference information, and generates a locally decoded image (an image corresponding to the input to the calculation unit 113).
  ステップS132においてデブロッキングフィルタ121は、ステップS131の処理により生成された画像に対してデブロッキングフィルタ処理を行う。これによりブロック歪み等が除去される。ステップS133において、適応オフセットフィルタ128は、デブロッキングフィルタ121からのデブロックフィルタ処理結果に対して、主にリンギングを除去する適応オフセットフィルタ処理を行う。 In step S132, the deblocking filter 121 performs deblocking filter processing on the image generated by the processing in step S131. Thereby, block distortion and the like are removed. In step S <b> 133, the adaptive offset filter 128 performs adaptive offset filter processing that mainly removes ringing on the deblocking filter processing result from the deblocking filter 121.
 ステップS134において、フレームメモリ122は、ステップS133の処理によりリンギングの除去等が行われた画像を記憶する。なお、フレームメモリ122にはデブロッキングフィルタ121および適応オフセットフィルタ128によりフィルタ処理されていない画像も演算部120から供給され、記憶される。このフレームメモリ122に記憶された画像は、ステップS123の処理やステップS124の処理に利用される。 In step S134, the frame memory 122 stores the image from which ringing has been removed by the process of step S133. Note that an image that has not been filtered by the deblocking filter 121 and the adaptive offset filter 128 is also supplied to the frame memory 122 from the computing unit 120 and stored therein. The image stored in the frame memory 122 is used for the processing in step S123 and the processing in step S124.
  ステップS135において、動き情報符号化部104の動き情報圧縮部153は、ステップS124の処理により得られたベースレイヤの動き情報を、例えば、16×16精度に圧縮し、その圧縮後の動きベクトル(1/16圧縮後動きベクトル)を、ベースレイヤの動き情報として、ベースレイヤ動き情報バッファ154に供給する。 In step S135, the motion information compression unit 153 of the motion information encoding unit 104 compresses the base layer motion information obtained by the process of step S124 to, for example, 16 × 16 precision, and the motion vector ( 1 / 16-compressed motion vector) is supplied to the base layer motion information buffer 154 as base layer motion information.
  ステップS136において、動き情報符号化部104のベースレイヤ動き情報バッファ154は、ステップS135において圧縮処理されたベースレイヤの動き情報を記憶する。 In step S136, the base layer motion information buffer 154 of the motion information encoding unit 104 stores the base layer motion information compressed in step S135.
  ステップS137において、ベースレイヤ画像符号化部103の可逆符号化部116は、ステップS128の処理により量子化された係数を符号化する。すなわち、差分画像に対応するデータに対して、可変長符号化や算術符号化等の可逆符号化が行われる。 In step S137, the lossless encoding unit 116 of the base layer image encoding unit 103 encodes the coefficient quantized by the process of step S128. That is, lossless encoding such as variable length encoding or arithmetic encoding is performed on the data corresponding to the difference image.
  また、このとき、可逆符号化部116は、ステップS125の処理により選択された予測画像の予測モードに関する情報を符号化し、差分画像を符号化して得られる符号化データに付加する。つまり、可逆符号化部116は、イントラ予測部124から供給される最適イントラ予測モード情報、または、動き予測・補償部125から供給される最適インター予測モードに応じた情報なども符号化し、符号化データに付加する。 At this time, the lossless encoding unit 116 encodes information on the prediction mode of the prediction image selected by the process of step S125, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 116 encodes and encodes the optimal intra prediction mode information supplied from the intra prediction unit 124 or the information corresponding to the optimal inter prediction mode supplied from the motion prediction / compensation unit 125. Append to data.
  ステップS138において蓄積バッファ117は、ステップS137の処理により得られたベースレイヤ符号化データを蓄積する。蓄積バッファ117に蓄積されたベースレイヤ符号化データは、適宜読み出され、伝送路や記録媒体を介して復号側に伝送される。 In step S138, the accumulation buffer 117 accumulates the base layer encoded data obtained by the process in step S137. The base layer encoded data stored in the storage buffer 117 is appropriately read and transmitted to the decoding side via a transmission path or a recording medium.
  ステップS139においてレート制御部127は、ステップS138において蓄積バッファ117に蓄積された符号化データの符号量(発生符号量)に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部115の量子化動作のレートを制御する。 In step S139, the rate control unit 127 determines the quantum of the quantization unit 115 so that no overflow or underflow occurs based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 117 in step S138. Control the rate of activation.
  ステップS139の処理が終了すると、ベースレイヤ符号化処理が終了し、処理は図15に戻る。ベースレイヤ符号化処理は、例えば、ピクチャ単位で実行される。つまり、カレントレイヤの各ピクチャに対してベースレイヤ符号化処理が実行される。ただし、ベースレイヤ符号化処理内の各処理は、それぞれの処理単位毎に行われる。 処理 When the process of step S139 ends, the base layer encoding process ends, and the process returns to FIG. The base layer encoding process is executed in units of pictures, for example. That is, the base layer encoding process is executed for each picture in the current layer. However, each process in the base layer encoding process is performed for each processing unit.
 [エンハンスメントレイヤ符号化処理の流れ]
  次に、図17のフローチャートを参照して、図15のステップS105において実行されるエンハンスメントレイヤ符号化処理の流れの例を説明する。
[Enhancement layer coding process flow]
Next, an example of the flow of the enhancement layer encoding process executed in step S105 of FIG. 15 will be described with reference to the flowchart of FIG.
  エンハンスメントレイヤ符号化処理のステップS151乃至ステップS153、並びに、ステップS155乃至ステップS167の各処理は、図16のベースレイヤ符号化処理のステップS121乃至ステップS123、ステップS125乃至ステップS134、並びに、ステップS137乃至ステップS139の各処理と同様に実行される。ただし、エンハンスメントレイヤ符号化処理の各処理は、エンハンスメントレイヤ画像符号化部105の各処理部により、エンハンスメントレイヤ画像情報に対して行われる。 Steps S151 to S153 of the enhancement layer encoding process and steps S155 to S167 are the same as steps S121 to S123, step S125 to S134, and steps S137 to S137 of the base layer encoding process of FIG. It is executed in the same manner as each process in step S139. However, each process of the enhancement layer encoding process is performed on the enhancement layer image information by each processing unit of the enhancement layer image encoding unit 105.
  なお、ステップS154において、エンハンスメントレイヤ画像符号化部105の動き予測・補償部135は、エンハンスメントレイヤ画像情報に対して、動き予測・補償処理を行う。この動き予測・補償処理の詳細については図18を参照して後述する。 In step S154, the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 performs a motion prediction / compensation process on the enhancement layer image information. Details of this motion prediction / compensation processing will be described later with reference to FIG.
  ステップS167の処理が終了すると、エンハンスメントレイヤ符号化処理が終了され、処理は図15に戻る。エンハンスメントレイヤ符号化処理は、例えば、ピクチャ単位で実行される。つまり、カレントレイヤの各ピクチャに対してエンハンスメントレイヤ符号化処理が実行される。ただし、エンハンスメントレイヤ符号化処理内の各処理は、それぞれの処理単位毎に行われる。 処理 When the process of step S167 ends, the enhancement layer encoding process ends, and the process returns to FIG. The enhancement layer encoding process is executed in units of pictures, for example. That is, the enhancement layer encoding process is executed for each picture in the current layer. However, each process in the enhancement layer encoding process is performed for each processing unit.
[動き予測・補償処理の流れ]
  次に、図18のフローチャートを参照して、図17のステップS154において実行される動き予測・補償処理の流れの例を説明する。
[Flow of motion prediction / compensation]
Next, an example of the flow of the motion prediction / compensation process executed in step S154 in FIG. 17 will be described with reference to the flowchart in FIG.
  エンハンスメントレイヤの動き予測・補償処理が開始されると、ステップS181において、エンハンスメントレイヤ画像符号化部105の動き予測・補償部135は、各モードについて動き探索処理を行う。 When the enhancement layer motion prediction / compensation process is started, in step S181, the motion prediction / compensation unit 135 of the enhancement layer image encoding unit 105 performs a motion search process for each mode.
  ステップS182において、動き予測・補償部135は、ステップS181の処理により得られた各モードの動き情報について、動き情報符号化処理を行う。この動き情報符号化処理の詳細については図19を参照して後述する。 In step S182, the motion prediction / compensation unit 135 performs a motion information encoding process on the motion information in each mode obtained by the process in step S181. Details of this motion information encoding process will be described later with reference to FIG.
  ステップS183において、動き予測・補償部135は、ステップS181およびステップS182の各処理結果を踏まえ、各モードについてコスト関数値を算出する。 In step S183, the motion prediction / compensation unit 135 calculates a cost function value for each mode based on the processing results in steps S181 and S182.
  ステップS184において、動き予測・補償部135は、ステップS183において算出された各モードのコスト関数値に基づいて、最適なインター予測モードを判定する。 In step S184, the motion prediction / compensation unit 135 determines an optimal inter prediction mode based on the cost function value of each mode calculated in step S183.
  ステップS185において、動き予測・補償部135は、ステップS184において選ばれた最適なインター予測モードで動き補償を行い、予測画像を生成する。生成された予測画像は、最適なインター予測モードに関する情報等とともに、予測画像選択部126に供給される。 In step S185, the motion prediction / compensation unit 135 performs motion compensation in the optimal inter prediction mode selected in step S184, and generates a predicted image. The generated predicted image is supplied to the predicted image selection unit 126 together with information about the optimal inter prediction mode.
  ステップS186において、動き情報符号化部104の隣接動き情報バッファ163は、ステップS184において選ばれた最適なインター予測モードの、カレントブロックの動き情報をそのアドレスとともに、隣接PUの動き情報およびそのアドレスとして記憶する。 In step S186, the adjacent motion information buffer 163 of the motion information encoding unit 104 uses the current block motion information of the optimal inter prediction mode selected in step S184 as its address, as the motion information and address of the adjacent PU. Remember.
  ステップS186の処理が終了すると、動き予測・補償処理が終了し、処理は図17に戻る。 処理 When the process of step S186 ends, the motion prediction / compensation process ends, and the process returns to FIG.
[動き情報符号化処理の流れ]
  次に、図19のフローチャートを参照して、図18のステップS182において実行される動き情報符号化処理の流れの例を説明する。
[Flow of motion information encoding process]
Next, an example of the flow of the motion information encoding process executed in step S182 in FIG. 18 will be described with reference to the flowchart in FIG.
  動き情報符号化処理が開始されると、動き予測・補償部135は、ステップS201において、AMVP処理を行い、AMVPモードの予測動き情報の候補を設定する。 When the heel motion information encoding process is started, the motion prediction / compensation unit 135 performs AMVP processing in step S201, and sets prediction motion information candidates in AMVP mode.
  ステップS202において、動き情報符号化部104のマージ処理部152は、マージ処理を行い、マージモードの予測動き情報の候補リストを生成する。マージ処理の詳細については図20を参照して後述する。 In step S202, the merge processing unit 152 of the motion information encoding unit 104 performs a merge process to generate a candidate list of predicted motion information in the merge mode. Details of the merge processing will be described later with reference to FIG.
  ステップS203において、動き予測・補償部135は、ステップS201およびステップS202において設定された予測動き情報の各候補について、コスト関数値を算出する。 In step S203, the motion prediction / compensation unit 135 calculates a cost function value for each candidate of predicted motion information set in step S201 and step S202.
  ステップS204において、動き予測・補償部135は、ステップS203において求めたコスト関数値に基づいて、最適プレディクタを求める。 In step S204, the motion prediction / compensation unit 135 obtains an optimal predictor based on the cost function value obtained in step S203.
  ステップS205において、動き予測・補償部135は、ステップS204において求めた最適プレディクタを用いて、エンハンスメントレイヤのカレントブロックの動き情報を符号化する。この符号化により、動き予測・補償部135は、その動き情報の符号化結果(動き情報と予測動き情報との差分)を得る。 In step S205, the motion prediction / compensation unit 135 encodes the motion information of the current block of the enhancement layer using the optimal predictor obtained in step S204. By this encoding, the motion prediction / compensation unit 135 obtains an encoding result of the motion information (difference between motion information and predicted motion information).
  ステップS205の処理が終了すると、動き情報符号化処理が終了し、処理は図18に戻る。 処理 When the process of step S205 is finished, the motion information encoding process is finished, and the process returns to FIG.
[マージ処理の流れ]
  次に、図20のフローチャートを参照して、図19のステップS202において実行されるマージ処理の流れの例を説明する。
[Flow of merge processing]
Next, an example of the flow of merge processing executed in step S202 of FIG. 19 will be described with reference to the flowchart of FIG.
  マージ処理が開始されると、動き情報符号化部104のパラレルマージ設定部151は、ステップS221において、ユーザの操作に応じて、MERを設定する。パラレルマージ設定部151は、設定されたMER情報を、マージ処理部152のMER情報バッファ164を介してMER内判定部165に供給する。 When the heel merge process is started, the parallel merge setting unit 151 of the motion information encoding unit 104 sets MER in step S221 in accordance with a user operation. The parallel merge setting unit 151 supplies the set MER information to the in-MER determination unit 165 via the MER information buffer 164 of the merge processing unit 152.
 ステップS222において、MER内判定部165は、隣接動き情報バッファ163からの隣接PUのアドレス情報とMER情報バッファ164に蓄積されているMER情報に基づいて、隣接PUがMER内であるか否かを判定する。ステップS222において、隣接PUがMER内であると判定された場合、MER内判定部165は、ベースレイヤ動き情報バッファ154に制御信号を送信し、処理は、ステップS223に進む。 In step S222, the in-MER determination unit 165 determines whether the adjacent PU is in the MER based on the address information of the adjacent PU from the adjacent motion information buffer 163 and the MER information stored in the MER information buffer 164. judge. If it is determined in step S222 that the adjacent PU is in the MER, the in-MER determination unit 165 transmits a control signal to the base layer motion information buffer 154, and the process proceeds to step S223.
 ステップS223において、ベースレイヤ動き情報バッファ154は、隣接PUのベースレイヤにおけるコロケーテッドPUを検出する。なお、この検出方法は、上述したように、エンハンスメントレイヤにおいて、隣接PUの中央に位置する画素を検出し、これに対応するベースレイヤにおける画素を含むPUを、隣接PUに対応するコロケーテッド(co-located)PUであるとする。 In step S223, the base layer motion information buffer 154 detects a collocated PU in the base layer of the adjacent PU. As described above, this detection method detects a pixel located in the center of an adjacent PU in the enhancement layer, and determines a PU including a pixel in the base layer corresponding thereto as a collocated (co- located) PU.
 あるいは、隣接PUの中央ではなく、左上に位置する画素を用いて、隣接PUに対応するコロケーテッド(co-located)PUの検出処理を行ってもよい。 Alternatively, the co-located PU detection process corresponding to the adjacent PU may be performed using a pixel located at the upper left instead of the center of the adjacent PU.
 ベースレイヤ動き情報バッファ154は、ステップS223により検出されたコロケーテッド(co-located)PUを、ベースレイヤ動きベクトル情報として、アベイラビリティ判定部166に供給する。 The base layer motion information buffer 154 supplies the co-located PU detected in step S223 to the availability determination unit 166 as base layer motion vector information.
 ステップS224において、アベイラビリティ判定部166は、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルであるか否かを判定する。ステップS224において、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルであると判定された場合、アベイラビリティ判定部166は、ベースレイヤ動きベクトル情報をスケーリング部162に供給し、処理は、ステップS225に進む。 In step S224, the availability determination unit 166 determines whether the motion information regarding the collocated PU in the base layer is available. When it is determined in step S224 that the motion information regarding the collocated PU in the base layer is available, the availability determination unit 166 supplies the base layer motion vector information to the scaling unit 162, and the process proceeds to step S225.
 ステップS225において、スケーリング部162は、アベイラビリティ判定部166からのベースレイヤ動きベクトル情報を候補予測動きベクトルバッファ161に供給し、ベースレイヤにおける隣接動き情報を候補予測リストに追加する。 In step S225, the scaling unit 162 supplies the base layer motion vector information from the availability determination unit 166 to the candidate prediction motion vector buffer 161, and adds the adjacent motion information in the base layer to the candidate prediction list.
 なお、このとき、スケーリング部162は、スペーシャルスケーラビリティの場合、アベイラビリティ判定部166からのベースレイヤ動きベクトル情報に対して、スペーシャルスケーラビリティ比に応じたスケーリング処理を行う。 At this time, in the case of spatial scalability, the scaling unit 162 performs scaling processing according to the spatial scalability ratio on the base layer motion vector information from the availability determination unit 166.
 ステップS225の処理が終了すると、マージ処理が終了し、処理は図19に戻る。また、図20のステップS224において、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルではないと判定された場合、ステップS225はスキップされ、マージ処理が終了し、処理は図19に戻る。なお、この場合には、従来と同様に、図8を参照して上述したコンバインドマージなどで候補リストが補填されるようにしてよい。 When the process of step S225 is completed, the merge process is completed, and the process returns to FIG. If it is determined in step S224 in FIG. 20 that the motion information related to the collocated PU in the base layer is not available, step S225 is skipped, the merge process ends, and the process returns to FIG. In this case, the candidate list may be supplemented by the combined merge described above with reference to FIG.
 一方、ステップS222において、隣接PUがMER内ではない、すなわち、MER外であると判定された場合、MER内判定部165は、隣接動き情報バッファ163に制御信号を送信し、処理は、ステップS226に進む。 On the other hand, when it is determined in step S222 that the adjacent PU is not within the MER, that is, outside the MER, the in-MER determination unit 165 transmits a control signal to the adjacent motion information buffer 163, and the process is performed in step S226. Proceed to
 ステップS226において、隣接動き情報バッファ163は、MER内判定部165からの制御信号に応じて、隣接PU動きベクトル情報を候補予測動きベクトルバッファ161に供給し、エンハンスメントレイヤにおける隣接動き情報を候補予測リストに追加する。 In step S226, the adjacent motion information buffer 163 supplies the adjacent PU motion vector information to the candidate prediction motion vector buffer 161 according to the control signal from the in-MER determination unit 165, and the adjacent motion information in the enhancement layer is the candidate prediction list. Add to
 ステップS226の処理が終了すると、マージ処理が終了し、処理は図19に戻る。 When the process of step S226 ends, the merge process ends, and the process returns to FIG.
  以上のように各処理を実行することにより、スケーラブル符号化装置100は、動きベクトルの符号化において、並列処理またはパイプライン処理を行うことができる。 By executing each process as described above, the scalable encoding device 100 can perform parallel processing or pipeline processing in encoding motion vectors.
 なお、上記説明においては、説明の便宜上、動きベクトル符号化処理のうち、動き情報符号化部104において、マージモードの予測動き情報の候補リストを生成し、それ以外の処理(AMVPの処理や差分を生成する処理)などは、動き予測・補償部135で行う例を説明した。しかしながら、例えば、図19を参照して上述したそれ以外の処理も動き情報符号化部104で行うようにしてもよい。 In the above description, for convenience of explanation, in the motion vector encoding process, the motion information encoding unit 104 generates a candidate list of prediction motion information in merge mode, and performs other processes (AMVP process and difference). In the example described above, the motion prediction / compensation unit 135 performs the process of generating However, for example, the motion information encoding unit 104 may perform other processes described above with reference to FIG.
  <2.第2の実施の形態>
[スケーラブル復号装置]
  次に、以上のようにスケーラブル符号化(階層符号化)された符号化データ(ビットストリーム)の復号について説明する。図21は、図11のスケーラブル符号化装置100に対応するスケーラブル復号装置の主な構成例を示すブロック図である。図21に示されるスケーラブル復号装置200は、例えばスケーラブル符号化装置100により画像データがスケーラブル符号化されて得られた符号化データを、その符号化方法に対応する方法でスケーラブル復号する。
<2. Second Embodiment>
[Scalable decoding device]
Next, decoding of encoded data (bit stream) that has been scalable encoded (hierarchical encoded) as described above will be described. FIG. 21 is a block diagram illustrating a main configuration example of a scalable decoding device corresponding to the scalable coding device 100 of FIG. A scalable decoding device 200 shown in FIG. 21 performs scalable decoding on encoded data obtained by scalable encoding of image data by the scalable encoding device 100, for example, by a method corresponding to the encoding method.
  図21に示されるように、スケーラブル復号装置200は、共通情報取得部201、復号制御部202、ベースレイヤ画像復号部203、動き情報復号部204、およびエンハンスメントレイヤ画像復号部205を有する。 As shown in FIG. 21, the scalable decoding device 200 includes a common information acquisition unit 201, a decoding control unit 202, a base layer image decoding unit 203, a motion information decoding unit 204, and an enhancement layer image decoding unit 205.
  共通情報取得部201は、符号化側から伝送される共通情報(例えば、ビデオパラメータセット(VPS))を取得する。共通情報取得部201は、取得した共通情報より復号に関する情報を抽出し、それを復号制御部202に供給する。また、共通情報取得部201は、共通情報の一部若しくは全部を、ベースレイヤ画像復号部203乃至エンハンスメントレイヤ画像復号部205に適宜供給する。 The common information acquisition unit 201 acquires common information (for example, a video parameter set (VPS)) transmitted from the encoding side. The common information acquisition unit 201 extracts information related to decoding from the acquired common information and supplies it to the decoding control unit 202. In addition, the common information acquisition unit 201 supplies part or all of the common information to the base layer image decoding unit 203 to the enhancement layer image decoding unit 205 as appropriate.
  復号制御部202は、共通情報取得部201から供給された復号に関する情報を取得し、その情報に基づいて、ベースレイヤ画像復号部203乃至エンハンスメントレイヤ画像復号部205を制御することにより、各レイヤの復号を制御する。 The decoding control unit 202 acquires information about decoding supplied from the common information acquisition unit 201, and controls the base layer image decoding unit 203 to the enhancement layer image decoding unit 205 based on the information, thereby Control decryption.
  ベースレイヤ画像復号部203は、ベースレイヤ画像符号化部103に対応する画像復号部であり、例えばベースレイヤ画像符号化部103によりベースレイヤ画像情報が符号化されて得られたベースレイヤ符号化データを取得する。ベースレイヤ画像復号部203は、他のレイヤの情報を利用せずに、そのベースレイヤ符号化データを復号し、ベースレイヤ画像情報を再構築し、出力する。また、ベースレイヤ画像復号部203は、復号の際に得られた動き情報を動き情報復号部204に供給する。 The base layer image decoding unit 203 is an image decoding unit corresponding to the base layer image encoding unit 103, and for example, base layer encoded data obtained by encoding base layer image information by the base layer image encoding unit 103. To get. The base layer image decoding unit 203 decodes the base layer encoded data without using the information of other layers, reconstructs the base layer image information, and outputs it. Further, the base layer image decoding unit 203 supplies the motion information obtained at the time of decoding to the motion information decoding unit 204.
  動き情報復号部204は、エンハンスメントレイヤ画像復号部205における動き補償処理において利用される、符号化側から伝送された動き情報の復号に用いられる予測動きベクトル情報のリストを生成する。動き情報復号部204は、処理対象であるカレントブロックの周辺に位置する周辺ブロックの動き情報を周辺動き情報を用いて予測動き情報を生成する。このような予測動き情報の生成の際、動き情報復号部204は、エンハンスメントレイヤ画像復号部205から取得した動き情報を周辺動き情報として用いる。ただし、カレントブロックに隣接するブロックがMER内である場合、その動き情報がアンアベイラブルとなるので、動き情報復号部204は、そのアンアベイラブルな動き情報の代わりに、ベースレイヤ画像復号部203から取得したアベイラブルな動き情報(具体的には、その隣接ブロックに対応するコロケーテッドブロックの動き情報)を周辺動き情報として用いる。動き情報復号部204は、このようにして生成した予測動き情報のリストをエンハンスメントレイヤ画像復号部205に戻す。 The heel motion information decoding unit 204 generates a list of predicted motion vector information used for decoding the motion information transmitted from the encoding side, which is used in the motion compensation processing in the enhancement layer image decoding unit 205. The motion information decoding unit 204 generates predicted motion information by using the motion information of peripheral blocks located around the current block to be processed using the peripheral motion information. When generating such predicted motion information, the motion information decoding unit 204 uses the motion information acquired from the enhancement layer image decoding unit 205 as peripheral motion information. However, when the block adjacent to the current block is in the MER, the motion information becomes unavailable, so the motion information decoding unit 204 obtains from the base layer image decoding unit 203 instead of the unavailable motion information. The available motion information (specifically, the motion information of the collocated block corresponding to the adjacent block) is used as the peripheral motion information. The motion information decoding unit 204 returns the list of predicted motion information generated in this way to the enhancement layer image decoding unit 205.
  エンハンスメントレイヤ画像復号部205は、エンハンスメントレイヤ画像符号化部105に対応する画像復号部であり、例えばエンハンスメントレイヤ画像符号化部105によりエンハンスメントレイヤ画像情報が符号化されて得られたエンハンスメントレイヤ符号化データを取得する。エンハンスメントレイヤ画像復号部205は、そのエンハンスメントレイヤ符号化データを復号する。その際、エンハンスメントレイヤ画像復号部205は、符号化側から伝送された動き情報の符号化データ(動き情報と予測動き情報の差分)の復号に必要な予測動き情報のリストを、動き情報復号部204に生成させる。エンハンスメントレイヤ画像復号部205は、予測動き情報のリストを用いて、符号化側から伝送された差分から動き情報を得る。なお、得られた動き情報は、他のカレントブロックの復号に必要な周囲の動き情報として、動き情報復号部204に供給される。エンハンスメントレイヤ画像復号部205は、このような復号されて得られた動き情報を用いて動き補償を行い、予測画像を生成し、その予測画像を用いてエンハンスメントレイヤ画像情報を再構築し、出力する。 The enhancement layer image decoding unit 205 is an image decoding unit corresponding to the enhancement layer image encoding unit 105, for example, enhancement layer encoded data obtained by encoding enhancement layer image information by the enhancement layer image encoding unit 105. To get. The enhancement layer image decoding unit 205 decodes the enhancement layer encoded data. At that time, the enhancement layer image decoding unit 205 displays a list of predicted motion information necessary for decoding encoded data of motion information (difference between motion information and predicted motion information) transmitted from the encoding side, as a motion information decoding unit. 204. The enhancement layer image decoding unit 205 obtains motion information from the difference transmitted from the encoding side using the list of predicted motion information. The obtained motion information is supplied to the motion information decoding unit 204 as surrounding motion information necessary for decoding other current blocks. The enhancement layer image decoding unit 205 performs motion compensation using the motion information obtained by such decoding, generates a prediction image, reconstructs the enhancement layer image information using the prediction image, and outputs it. .
[ベースレイヤ画像復号部]
  図22は、図21のベースレイヤ画像復号部203の主な構成例を示すブロック図である。図21に示されるようにベースレイヤ画像復号部203は、蓄積バッファ211、可逆復号部212、逆量子化部213、逆直交変換部214、演算部215、デブロッキングフィルタ216、画面並べ替えバッファ217、およびD/A変換部218を有する。また、ベースレイヤ画像復号部203は、フレームメモリ219、選択部220、イントラ予測部221、動き補償部222、および選択部223を有する。さらに、ベースレイヤ画像復号部203は、デブロッキングフィルタ216と、画面並べ替えバッファ217およびフレームメモリ219との間に、適応オフセットフィルタ224を有する。
[Base layer image decoding unit]
FIG. 22 is a block diagram illustrating a main configuration example of the base layer image decoding unit 203 in FIG. As shown in FIG. 21, the base layer image decoding unit 203 includes a storage buffer 211, a lossless decoding unit 212, an inverse quantization unit 213, an inverse orthogonal transform unit 214, a calculation unit 215, a deblocking filter 216, and a screen rearrangement buffer 217. And a D / A converter 218. The base layer image decoding unit 203 includes a frame memory 219, a selection unit 220, an intra prediction unit 221, a motion compensation unit 222, and a selection unit 223. Furthermore, the base layer image decoding unit 203 includes an adaptive offset filter 224 between the deblocking filter 216 and the screen rearrangement buffer 217 and the frame memory 219.
  蓄積バッファ211は、伝送されてきたベースレイヤ符号化データを受け取る受け取り部でもある。蓄積バッファ211は、伝送されてきたベースレイヤ符号化データを受け取って、蓄積し、所定のタイミングにおいてその符号化データを可逆復号部212に供給する。このベースレイヤ符号化データには、予測モード情報などの復号に必要な情報が付加されている。 Accumulation buffer 211 is also a receiving unit that receives transmitted base layer encoded data. The accumulation buffer 211 receives and accumulates the transmitted base layer encoded data, and supplies the encoded data to the lossless decoding unit 212 at a predetermined timing. Information necessary for decoding such as prediction mode information is added to the base layer encoded data.
  可逆復号部212は、蓄積バッファ211より供給された、可逆符号化部116により符号化された情報を、可逆符号化部116の符号化方式に対応する方式で復号する。可逆復号部212は、復号して得られた差分画像の量子化された係数データを、逆量子化部213に供給する。 The lossless decoding unit 212 decodes the information supplied from the accumulation buffer 211 and encoded by the lossless encoding unit 116 by a method corresponding to the encoding method of the lossless encoding unit 116. The lossless decoding unit 212 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 213.
  また、可逆復号部212は、ベースレイヤ符号化データに含まれるビデオパラメータセット(VPS)、シーケンスパラメータセット(SPS)、およびピクチャパラメータセット(PPS)等を含むNALユニットを適宜抽出し、取得する。可逆復号部212は、それらの情報から、最適な予測モードに関する情報を抽出し、その情報に基づいて最適な予測モードにイントラ予測モードが選択されたかインター予測モードが選択されたかを判定し、その最適な予測モードに関する情報を、イントラ予測部221および動き補償部222の内、選択されたと判定したモードの方に供給する。つまり、例えば、ベースレイヤ画像符号化部103において最適な予測モードとしてイントラ予測モードが選択された場合、その最適な予測モードに関する情報がイントラ予測部221に供給される。また、例えば、ベースレイヤ画像符号化部103において最適な予測モードとしてインター予測モードが選択された場合、その最適な予測モードに関する情報が動き補償部222に供給される。 In addition, the lossless decoding unit 212 appropriately extracts and acquires NAL units including a video parameter set (VPS), a sequence parameter set (SPS), a picture parameter set (PPS), and the like included in the base layer encoded data. The lossless decoding unit 212 extracts information on the optimum prediction mode from the information, determines whether the intra prediction mode or the inter prediction mode is selected as the optimum prediction mode based on the information, and Information regarding the optimal prediction mode is supplied to the mode determined to be selected from the intra prediction unit 221 and the motion compensation unit 222. That is, for example, when the intra prediction mode is selected as the optimal prediction mode in the base layer image encoding unit 103, information regarding the optimal prediction mode is supplied to the intra prediction unit 221. For example, when the inter prediction mode is selected as the optimal prediction mode in the base layer image encoding unit 103, information regarding the optimal prediction mode is supplied to the motion compensation unit 222.
  さらに、可逆復号部212は、例えば、ピクチャパラメータセットから、MER情報であるlog2_parallel_merge_level_minus2の値を取得し、動き補償部232を介して、動き情報復号部204に供給する。また、可逆復号部212は、例えば、量子化行列や量子化パラメータ等の、逆量子化に必要な情報をNALユニット等から抽出し、それを逆量子化部213に供給する。 Furthermore, the lossless decoding unit 212 acquires the value of log2_parallel_merge_level_minus2, which is MER information, from the picture parameter set, for example, and supplies it to the motion information decoding unit 204 via the motion compensation unit 232. In addition, the lossless decoding unit 212 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the NAL unit and supplies it to the inverse quantization unit 213, for example.
  逆量子化部213は、可逆復号部212により復号されて得られた量子化された係数データを、量子化部115の量子化方式に対応する方式で逆量子化する。なお、この逆量子化部213は、逆量子化部118と同様の処理部である。つまり、逆量子化部213の説明は、逆量子化部118にも準用することができる。ただし、データの入出力先等は、装置に応じて適宜、変えて読む必要がある。逆量子化部213は、得られた係数データを逆直交変換部214に供給する。 The inverse quantization unit 213 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 212 using a method corresponding to the quantization method of the quantization unit 115. The inverse quantization unit 213 is a processing unit similar to the inverse quantization unit 118. That is, the description of the inverse quantization unit 213 can be applied to the inverse quantization unit 118. However, the data input / output destinations and the like need to be changed appropriately according to the device. The inverse quantization unit 213 supplies the obtained coefficient data to the inverse orthogonal transform unit 214.
  逆直交変換部214は、逆量子化部213から供給される係数データを、直交変換部114の直交変換方式に対応する方式で逆直交変換する。なお、この逆直交変換部214は、逆直交変換部119と同様の処理部である。つまり、逆直交変換部214の説明は、逆直交変換部119にも準用することができる。ただし、データの入出力先等は、装置に応じて適宜、変えて読む必要がある。 The inverse orthogonal transform unit 214 performs inverse orthogonal transform on the coefficient data supplied from the inverse quantization unit 213 using a method corresponding to the orthogonal transform method of the orthogonal transform unit 114. The inverse orthogonal transform unit 214 is a processing unit similar to the inverse orthogonal transform unit 119. That is, the description of the inverse orthogonal transform unit 214 can be applied to the inverse orthogonal transform unit 119. However, the data input / output destinations and the like need to be changed appropriately according to the device.
  逆直交変換部214は、この逆直交変換処理により、直交変換部114において直交変換される前の残差データに対応する復号残差データを得る。逆直交変換されて得られた復号残差データは、演算部215に供給される。また、演算部215には、選択部223を介して、イントラ予測部221若しくは動き補償部222から予測画像が供給される。 The inverse orthogonal transform unit 214 obtains decoded residual data corresponding to the residual data before being orthogonally transformed by the orthogonal transform unit 114 by the inverse orthogonal transform process. The decoded residual data obtained by the inverse orthogonal transform is supplied to the calculation unit 215. In addition, a prediction image is supplied to the calculation unit 215 from the intra prediction unit 221 or the motion compensation unit 222 via the selection unit 223.
  演算部215は、その復号残差データと予測画像とを加算し、演算部113により予測画像が減算される前の画像データに対応する復号画像データを得る。演算部215は、その復号画像データをデブロッキングフィルタ216に供給する。 The calculating unit 215 adds the decoded residual data and the predicted image, and obtains decoded image data corresponding to the image data before the predicted image is subtracted by the calculating unit 113. The arithmetic unit 215 supplies the decoded image data to the deblocking filter 216.
  デブロッキングフィルタ216は、復号画像に対してデブロックフィルタ処理を行うことにより復号画像のブロック歪を除去する。デブロッキングフィルタ216は、フィルタ処理が施された画像を、適応オフセットフィルタ224に供給する。 The deblocking filter 216 removes block distortion of the decoded image by performing a deblocking filter process on the decoded image. The deblocking filter 216 supplies the filtered image to the adaptive offset filter 224.
 適応オフセットフィルタ224は、デブロッキングフィルタ216からのデブロックフィルタ処理結果(ブロック歪みの除去が行われた復号画像)に対して、主にリンギングを除去する適応オフセットフィルタ(SAO: Sample adaptive offset)処理を行う。 The adaptive offset filter 224 performs an adaptive offset filter (SAO: Sample adaptive offset) process that mainly removes ringing from the deblocking filter processing result (decoded image from which block distortion has been removed) from the deblocking filter 216. I do.
 適応オフセットフィルタ224は、図示せぬ可逆復号部212からの最大の符号化単位であるLCU(Largest Coding Unit)ごとの適応オフセットフィルタ処理の種類とオフセットを受信する。適応オフセットフィルタ224は、受信したオフセットを用いて、適応デブロックフィルタ処理後の画像に対して、受信した種類の適応オフセットフィルタ処理を行う。そして、適応オフセットフィルタ224は、適応オフセットフィルタ処理後の画像(以下、復号画像と称する)を、画面並べ替えバッファ217およびフレームメモリ219に供給する。 The adaptive offset filter 224 receives the type and offset of adaptive offset filter processing for each LCU (Largest Coding Unit), which is the maximum coding unit, from the lossless decoding unit 212 (not shown). The adaptive offset filter 224 performs the received type of adaptive offset filter processing on the image after the adaptive deblocking filter processing, using the received offset. Then, the adaptive offset filter 224 supplies the image after the adaptive offset filter processing (hereinafter referred to as a decoded image) to the screen rearrangement buffer 217 and the frame memory 219.
  なお、演算部215から出力される復号画像は、デブロッキングフィルタ216や適応オフセットフィルタ224を介さずに画面並べ替えバッファ217やフレームメモリ219に供給することができる。つまり、デブロッキングフィルタ216によるフィルタ処理の一部若しくは全部は省略することができる。また、適応オフセットフィルタ224の後段に、適応ループフィルタを備えるようにしてもよい。 Note that the decoded image output from the calculation unit 215 can be supplied to the screen rearrangement buffer 217 and the frame memory 219 without passing through the deblocking filter 216 and the adaptive offset filter 224. That is, part or all of the filtering process by the deblocking filter 216 can be omitted. An adaptive loop filter may be provided after the adaptive offset filter 224.
  画面並べ替えバッファ217は、復号画像の並べ替えを行う。すなわち、画面並べ替えバッファ112により符号化の順番のために並べ替えられたフレームの順番が、元の表示の順番に並べ替えられる。D/A変換部218は、画面並べ替えバッファ217から供給された画像をD/A変換し、図示せぬディスプレイに出力し、表示させる。 The screen rearrangement buffer 217 rearranges the decoded images. That is, the order of frames rearranged for the encoding order by the screen rearrangement buffer 112 is rearranged in the original display order. The D / A conversion unit 218 performs D / A conversion on the image supplied from the screen rearrangement buffer 217, and outputs and displays the image on a display (not shown).
  フレームメモリ219は、供給される復号画像を記憶し、所定のタイミングにおいて、若しくは、イントラ予測部221や動き補償部222等の外部の要求に基づいて、記憶している復号画像を参照画像として、選択部220に供給する。 The frame memory 219 stores the supplied decoded image, and uses the stored decoded image as a reference image at a predetermined timing or based on an external request such as the intra prediction unit 221 or the motion compensation unit 222. This is supplied to the selection unit 220.
  選択部220は、フレームメモリ219から供給される参照画像の供給先を選択する。選択部220は、イントラ符号化された画像を復号する場合、フレームメモリ219から供給される参照画像をイントラ予測部221に供給する。また、選択部220は、インター符号化された画像を復号する場合、フレームメモリ219から供給される参照画像を動き補償部222に供給する。 The eyelid selection unit 220 selects a reference image supply destination supplied from the frame memory 219. The selection unit 220 supplies the reference image supplied from the frame memory 219 to the intra prediction unit 221 when decoding an intra-coded image. The selection unit 220 supplies the reference image supplied from the frame memory 219 to the motion compensation unit 222 when decoding an inter-encoded image.
  イントラ予測部221には、ヘッダ情報を復号して得られたイントラ予測モードを示す情報等が可逆復号部212から適宜供給される。イントラ予測部221は、イントラ予測部124において用いられたイントラ予測モードで、フレームメモリ219から取得した参照画像を用いてイントラ予測を行い、予測画像を生成する。イントラ予測部221は、生成した予測画像を選択部223に供給する。 The intra prediction unit 221 is appropriately supplied with information indicating the intra prediction mode obtained by decoding the header information from the lossless decoding unit 212. The intra prediction unit 221 performs intra prediction using the reference image acquired from the frame memory 219 in the intra prediction mode used in the intra prediction unit 124, and generates a predicted image. The intra prediction unit 221 supplies the generated predicted image to the selection unit 223.
  動き補償部222は、ヘッダ情報を復号して得られた情報(最適予測モード情報、参照画像情報等)を可逆復号部212から取得する。 The eyelid motion compensation unit 222 acquires information (optimum prediction mode information, reference image information, etc.) obtained by decoding the header information from the lossless decoding unit 212.
  動き補償部222は、可逆復号部212から取得された最適予測モード情報が示すインター予測モードで、フレームメモリ219から取得した参照画像を用いて動き補償を行い、予測画像を生成する。 The heel motion compensation unit 222 performs motion compensation using the reference image acquired from the frame memory 219 in the inter prediction mode indicated by the optimal prediction mode information acquired from the lossless decoding unit 212, and generates a predicted image.
  動き補償部222は、生成した予測画像を選択部223に供給する。また、動き補償部222は、予測画像の生成(動き補償)に用いたカレントブロックの動き情報を、ベースレイヤの動き情報として動き情報復号部204に供給する。 The eyelid motion compensation unit 222 supplies the generated predicted image to the selection unit 223. In addition, the motion compensation unit 222 supplies the motion information of the current block used for generating the predicted image (motion compensation) to the motion information decoding unit 204 as the base layer motion information.
  選択部223は、イントラ予測部221からの予測画像または動き補償部222からの予測画像を、演算部215に供給する。そして、演算部215においては、動きベクトルが用いられて生成された予測画像と逆直交変換部214からの復号残差データ(差分画像情報)とが加算されて元の画像が復号される。 The eyelid selection unit 223 supplies the prediction image from the intra prediction unit 221 or the prediction image from the motion compensation unit 222 to the calculation unit 215. The arithmetic unit 215 adds the predicted image generated using the motion vector and the decoded residual data (difference image information) from the inverse orthogonal transform unit 214 to decode the original image.
[エンハンスメントレイヤ画像復号部]
  図22は、図20のエンハンスメントレイヤ画像復号部205の主な構成例を示すブロック図である。図22に示されるように、エンハンスメントレイヤ画像復号部205は、図21のベースレイヤ画像復号部203と基本的に同様の構成を有する。
[Enhancement layer image decoding unit]
FIG. 22 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 205 of FIG. As shown in FIG. 22, the enhancement layer image decoding unit 205 has basically the same configuration as the base layer image decoding unit 203 of FIG.
  ただし、エンハンスメントレイヤ画像復号部205の各部は、ベースレイヤではなく、エンハンスメントレイヤ符号化データの復号についての処理を行う。つまり、エンハンスメントレイヤ画像復号部205の蓄積バッファ211は、エンハンスメントレイヤ符号化データを記憶し、エンハンスメントレイヤ画像復号部205のD/A変換部218は、エンハンスメントレイヤ画像情報を、例えば、後段の図示せぬ記録装置(記録媒体)や伝送路などに出力する。 However, each unit of the enhancement layer image decoding unit 205 performs a process for decoding enhancement layer encoded data, not the base layer. That is, the accumulation buffer 211 of the enhancement layer image decoding unit 205 stores the enhancement layer encoded data, and the D / A conversion unit 218 of the enhancement layer image decoding unit 205 displays the enhancement layer image information, for example, in the subsequent stage. Output to a recording device (recording medium) or transmission path.
  また、エンハンスメントレイヤ画像復号部205は、動き補償部222の代わりに、動き補償部232を有する。 In addition, the enhancement layer image decoding unit 205 includes a motion compensation unit 232 instead of the motion compensation unit 222.
  動き補償部232は、動き情報復号部204を用いて、符号化側から伝送された、符号化された動き情報の復号を行う。つまり、動き補償部222がベースレイヤの周辺動き情報のみを用いて、カレントブロックの符号化された動き情報の復号を行うのに対して、動き補償部232は、エンハンスメントレイヤの周辺動き情報だけでなく、ベースレイヤの周辺動き情報も用いて、カレントブロックの符号化された動き情報の復号を行うことができる。 The heel motion compensation unit 232 uses the motion information decoding unit 204 to decode the encoded motion information transmitted from the encoding side. That is, while the motion compensation unit 222 decodes the motion information encoded in the current block using only the peripheral motion information of the base layer, the motion compensation unit 232 uses only the peripheral motion information of the enhancement layer. In addition, the encoded motion information of the current block can be decoded using the peripheral motion information of the base layer.
  動き情報は、予測動き情報の差分(差分動き情報)として、符号化側から伝送される。動き補償部232は、カレントブロックの周囲の動き情報を用いてAMVPモードの予測動き情報のリストを生成する。また、動き補償部232は、カレントブロックの周囲の動き情報を動き情報復号部204に供給して、マージモードの予測動き情報のリストを生成させる。動き補償部232は、符号化側からの差分動き情報、およびAMVPモードとマージモードの予測動き情報リストを用いて、動き情報を再構築する。再構築した動き情報は、周囲の動き情報として、動き情報復号部204に供給される。動き補償部232は、再構築された動き情報を用いて動き補償を行う。 The heel motion information is transmitted from the encoding side as a difference (difference motion information) of predicted motion information. The motion compensation unit 232 generates a list of AMVP mode predicted motion information using motion information around the current block. Also, the motion compensation unit 232 supplies motion information around the current block to the motion information decoding unit 204 to generate a list of merge mode predicted motion information. The motion compensation unit 232 reconstructs motion information using the difference motion information from the encoding side and the predicted motion information list in the AMVP mode and the merge mode. The reconstructed motion information is supplied to the motion information decoding unit 204 as surrounding motion information. The motion compensation unit 232 performs motion compensation using the reconstructed motion information.
[動き情報復号部]
  図24は、図21の動き情報復号部204の主な構成例を示すブロック図である。
[Motion information decoder]
FIG. 24 is a block diagram illustrating a main configuration example of the motion information decoding unit 204 of FIG.
  図24に示されるように、動き情報復号部204は、パラレルマージ復号部251、マージ処理部252、動き情報圧縮部253、およびベースレイヤ動き情報バッファ254を有する。 24, the motion information decoding unit 204 includes a parallel merge decoding unit 251, a merge processing unit 252, a motion information compression unit 253, and a base layer motion information buffer 254.
 パラレルマージ復号部251は、符号化側から送られてきたMER情報を、可逆復号部212および動き補償部232を介して受け取って復号を行い、復号されたMER情報をマージ処理部252のMER情報バッファ264に供給する。 The parallel merge decoding unit 251 receives and decodes the MER information sent from the encoding side via the lossless decoding unit 212 and the motion compensation unit 232, and uses the decoded MER information as the MER information of the merge processing unit 252. This is supplied to the buffer 264.
 このMER情報は、符号化側において指定されたブロックサイズの情報であり、例えば、符号化側からの符号化ストリームに、ピクチャパラメータセットにおけるlog2_parallel_merge_level_minus2の値(非特許文献1に記載)として付加されて符号化されている。 This MER information is block size information specified on the encoding side, and is added to the encoded stream from the encoding side, for example, as the value of log2_parallel_merge_level_minus2 in the picture parameter set (described in Non-Patent Document 1). It is encoded.
  マージ処理部252は、マージモードで、エンハンスメントレイヤのカレントブロックの動き情報に対応する予測動き情報の候補リストを生成する。その際、マージ処理部252は、エンハンスメントレイヤ画像復号部205の動き補償部232に記憶されているエンハンスメントレイヤの動き情報を必要に応じて周辺動き情報として取得する。また、マージ処理部252は、ベースレイヤ動き情報バッファ254に記憶されているベースレイヤの動き情報を必要に応じて周辺動き情報として取得する。マージ処理部252は、これらの周辺動き情報を用いて、候補リストを生成する。マージ処理部252は、生成した候補リストを、動き補償部232に供給する。 The merge processing unit 252 generates a candidate list of predicted motion information corresponding to the motion information of the current block of the enhancement layer in the merge mode. In that case, the merge process part 252 acquires the motion information of the enhancement layer memorize | stored in the motion compensation part 232 of the enhancement layer image decoding part 205 as peripheral motion information as needed. In addition, the merge processing unit 252 acquires the base layer motion information stored in the base layer motion information buffer 254 as peripheral motion information as necessary. The merge processing unit 252 generates a candidate list using the peripheral motion information. The merge processing unit 252 supplies the generated candidate list to the motion compensation unit 232.
 図24に示されるように、マージ処理部252は、候補予測動きベクトルバッファ261、スケーリング部262、隣接動き情報バッファ263、MER情報バッファ264、MER内判定部265、およびアベイラビリティ判定部266を含むように構成されている。なお、マージ処理部252を構成する各部は、図14のマージ処理部152を構成する各部と基本的に同じように構成されている。 As shown in FIG. 24, the merge processing unit 252 includes a candidate motion vector predictor buffer 261, a scaling unit 262, an adjacent motion information buffer 263, an MER information buffer 264, an in-MER determination unit 265, and an availability determination unit 266. It is configured. It should be noted that each part constituting the merge processing unit 252 is basically configured in the same manner as each part constituting the merge processing unit 152 in FIG.
 候補予測動きベクトルバッファ261には、隣接動き情報バッファ263から供給される隣接PU動き情報、およびスケーリング部262から供給されるスケーリングされた動きベクトル情報が蓄積される。 The candidate predicted motion vector buffer 261 stores the adjacent PU motion information supplied from the adjacent motion information buffer 263 and the scaled motion vector information supplied from the scaling unit 262.
 候補予測動きベクトルバッファ261は、エンハンスメントレイヤ画像復号部205によるエンハンスメントレイヤの復号について、動き補償部232において得られるカレントブロックの動き情報の予測動き情報を得るためのマージモードの候補リストを生成する。この候補の数(候補リストの長さ)は任意であるが、CABACと動き予測を独立して処理することができるように、予め定められた所定の数であるのが望ましい。以下においては、候補の数を5つとして説明する。 The candidate prediction motion vector buffer 261 generates a merge mode candidate list for obtaining prediction motion information of motion information of the current block obtained by the motion compensation unit 232 for enhancement layer decoding by the enhancement layer image decoding unit 205. The number of candidates (the length of the candidate list) is arbitrary, but is preferably a predetermined number so that CABAC and motion prediction can be processed independently. In the following description, the number of candidates is five.
 候補予測動きベクトルバッファ261は、蓄積されている0番乃至4番までの動きベクトル情報を、候補リストとして、動き補償部232に供給する。 The candidate motion vector predictor buffer 261 supplies the accumulated motion vector information from No. 0 to No. 4 to the motion compensation unit 232 as a candidate list.
 スケーリング部262は、アベイラビリティ判定部266から供給されるベースレイヤ動きベクトル情報に対して、スペーシャルスケーラビリティ比に応じたスケーリング処理を行う。スケーリング部262は、スケーリングされた動きベクトル情報を、候補予測動きベクトルバッファ261に供給する。なお、スペーシャルスケーラビリティではない場合、スケーリング部262は、スケーリングせずに、動きベクトル情報を、候補予測動きベクトルバッファ261に供給する。 The scaling unit 262 performs a scaling process on the base layer motion vector information supplied from the availability determination unit 266 according to the spatial scalability ratio. The scaling unit 262 supplies the scaled motion vector information to the candidate motion vector predictor buffer 261. When the spatial scalability is not achieved, the scaling unit 262 supplies the motion vector information to the candidate motion vector predictor buffer 261 without scaling.
 隣接動き情報バッファ263には、動き補償部232からカレントPUに隣接する隣接PUのアドレス情報と、並列処理やパイプライン処理を行ってもアベイラブルな場合には、隣接PUの動きベクトル情報が供給される。 The adjacent motion information buffer 263 is supplied with the address information of the adjacent PU adjacent to the current PU from the motion compensation unit 232 and the motion vector information of the adjacent PU when the parallel processing and the pipeline processing are available. The
 隣接動き情報バッファ263は、供給された隣接PUのアドレス情報を、MER内判定部265に供給する。また、隣接動き情報バッファ263は、MER内判定部265からの制御信号に応じて、隣接PU動きベクトル情報を候補予測動きベクトルバッファ261に供給する。 The adjacent motion information buffer 263 supplies the supplied adjacent PU address information to the in-MER determination unit 265. Also, the adjacent motion information buffer 263 supplies adjacent PU motion vector information to the candidate prediction motion vector buffer 261 in accordance with the control signal from the in-MER determination unit 265.
 MER情報バッファ264には、パラレルマージ復号部251から供給されるMER情報が蓄積され、蓄積されているMER情報は、所定のタイミングで、MER内判定部265に供給される。 The MER information buffer 264 stores the MER information supplied from the parallel merge decoding unit 251, and the stored MER information is supplied to the in-MER determination unit 265 at a predetermined timing.
 MER内判定部265は、隣接動き情報バッファ263からの隣接PUのアドレス情報とMER情報バッファ264に蓄積されているMER情報に基づいて、隣接PUがMER内であるか、またはMER外であるのかを判定する。MER内判定部265は、MER外であると判定した場合、隣接PUがアベイラブルであるので、隣接動き情報バッファ263に制御信号を送信する。MER内判定部265は、MER内であると判定した場合、隣接PUがアベイラブルではないので、ベースレイヤ動き情報バッファ254に制御信号を送信する。 Based on the address information of the adjacent PU from the adjacent motion information buffer 263 and the MER information stored in the MER information buffer 264, the in-MER determination unit 265 determines whether the adjacent PU is in the MER or outside the MER. Determine. When determining that the MER is out of MER, the in-MER determining unit 265 transmits a control signal to the adjacent motion information buffer 263 because the adjacent PU is available. If the in-MER determination unit 265 determines that the MER is in the MER, the adjacent PU is not available and transmits a control signal to the base layer motion information buffer 254.
 アベイラビリティ判定部266は、MER内判定部265からの制御信号に応じてベースレイヤ動き情報バッファ254から供給されるベースレイヤ動きベクトル情報を受け取る。アベイラビリティ判定部266は、受け取ったベースレイヤ動きベクトル情報がアベイラブルであるか否かを判定する。アベイラビリティ判定部266によりアベイラブルと判定された場合、そのベースレイヤ動きベクトル情報は、スケーリング部262に供給される。 The availability determination unit 266 receives the base layer motion vector information supplied from the base layer motion information buffer 254 according to the control signal from the in-MER determination unit 265. The availability determination unit 266 determines whether the received base layer motion vector information is available. When the availability determination unit 266 determines that the availability is available, the base layer motion vector information is supplied to the scaling unit 262.
  動き情報圧縮部253は、ベースレイヤ画像符号化部203の動き予測・補償部222から取得した、最高4×4精度の動きベクトル(圧縮前動きベクトルとも称する)を、例えば、16×16精度に圧縮し(1/16圧縮とも称する)、その圧縮後の動きベクトル(1/16圧縮後動きベクトルとも称する)をベースレイヤ動き情報バッファ254に供給する。 The motion information compression unit 253 converts the motion vector (also referred to as a pre-compression motion vector) with the maximum 4 × 4 accuracy acquired from the motion prediction / compensation unit 222 of the base layer image encoding unit 203 to, for example, 16 × 16 accuracy. The compressed motion vector (also referred to as 1/16 compression) is supplied to the base layer motion information buffer 254 after being compressed (also referred to as 1 / 16-compressed motion vector).
 この動きベクトルの圧縮方法は任意である。なお、圧縮度合いも限定されず、圧縮しない場合があってもよい。例えば、動き情報圧縮部253が、動き補償部222から取得した複数の動きベクトルの中から、その代表値とする動きベクトルを選択するようにしてもよい。例えば、4×4精度の16個の動きベクトル(4個×4個の各ブロックの動きベクトル)から、代表値とする動きベクトルが1つ選択されるようにしてもよい。この圧縮により、動きベクトルの精度は、16×16精度となる。 The compression method of this motion vector is arbitrary. Note that the degree of compression is not limited, and compression may not be performed. For example, the motion information compression unit 253 may select a motion vector as a representative value from a plurality of motion vectors acquired from the motion compensation unit 222. For example, one motion vector as a representative value may be selected from 16 motion vectors of 4 × 4 accuracy (motion vectors of 4 × 4 blocks). By this compression, the accuracy of the motion vector becomes 16 × 16 accuracy.
 なお、この動きベクトルの選択方法は任意である。例えば左上端のブロック等、所定の位置のブロックの動きベクトルを選択するようにしてもよいし、例えば画像内の位置に応じてブロックを選択する等、所定の方法で定められた位置のブロックの動きベクトルを選択するようにしてもよい。 Note that the method of selecting this motion vector is arbitrary. For example, the motion vector of a block at a predetermined position, such as the block at the upper left corner, may be selected, or the block at a position determined by a predetermined method, for example, a block may be selected according to the position in the image. A motion vector may be selected.
 また、選択する動きベクトルの数は、任意であり、2つ以上であってもよい。 Further, the number of motion vectors to be selected is arbitrary and may be two or more.
 また、動き情報圧縮部253は、例えば、各動きベクトルを用いた所定の演算により代表値を算出するようにしてもよい。この代表値の算出方法は、任意である。例えば、各ブロックの動きベクトルの平均値や中央値を代表値としてもよい。なお、算出する代表値の数は、任意であり、2つ以上であってもよい。 Further, the motion information compression unit 253 may calculate the representative value by a predetermined calculation using each motion vector, for example. The method for calculating the representative value is arbitrary. For example, the average value or median value of the motion vectors of each block may be used as the representative value. The number of representative values to be calculated is arbitrary and may be two or more.
 以上のように求められた1/16圧縮後動きベクトル(動きベクトルの代表値)は、ベースレイヤ動き情報バッファ254に供給され、記憶される。 The 1 / 16-compressed motion vector (representative value of the motion vector) obtained as described above is supplied to the base layer motion information buffer 254 and stored.
  ベースレイヤ動き情報バッファ254は、動き情報圧縮部253から供給された、圧縮処理されたベースレイヤの動き情報(1/16圧縮後動きベクトル)を記憶する。ベースレイヤ動き情報バッファ254は、MER内判定部265からの制御信号に応じて、記憶しているベースレイヤの動き情報を、ベースレイヤの動き情報として、マージ処理部252(アベイラビリティ判定部266)に供給する。 The base layer motion information buffer 254 stores the compressed base layer motion information (1 / 16-compressed motion vector) supplied from the motion information compression unit 253. The base layer motion information buffer 254 sends the stored base layer motion information as base layer motion information to the merge processing unit 252 (availability determination unit 266) according to the control signal from the in-MER determination unit 265. Supply.
 動き補償部232は、可逆復号部212から供給されるインター予測に関する情報に基づいて、求めたAMVPモードの候補リスト、および、マージ処理部252から供給された候補リストの中から、エンハンスメントレイヤのカレントブロックの予測動き情報を再構築し、その再構築された予測動き情報を、可逆復号部212から供給される差分動き情報に加算して動き情報を再構築する。 Based on the information on inter prediction supplied from the lossless decoding unit 212, the motion compensation unit 232 determines whether the enhancement layer current from the AMVP mode candidate list obtained and the candidate list supplied from the merge processing unit 252. The predicted motion information of the block is reconstructed, and the reconstructed predicted motion information is added to the difference motion information supplied from the lossless decoding unit 212 to reconstruct the motion information.
  動き補償部232は、このようにして得られたエンハンスメントレイヤのカレントブロックの動き情報を用いて、動き補償を行い、予測画像を生成する。 The heel motion compensation unit 232 performs motion compensation using the motion information of the current block of the enhancement layer obtained in this way, and generates a predicted image.
 なお、図24の例においては、ベースレイヤ動き情報バッファ254には、圧縮されたベースレイヤの動き情報が記憶される例が示されているが、ベースレイヤの動き情報が圧縮されずに記憶されることも可能である。 In the example of FIG. 24, the base layer motion information buffer 254 shows an example in which the compressed base layer motion information is stored, but the base layer motion information is stored without being compressed. It is also possible.
  以上のように、スケーラブル復号装置200は、エンハンスメントレイヤの復号における動き情報の復号において、エンハンスメントレイヤのMER(並列またはパイプラインの処理ブロック)内に隣接ブロックが含まれている場合、エンハンスメントレイヤの隣接ブロックに対応するベースレイヤの対応ブロックを用いて予測動き情報を求める。これにより、動き情報の符号化または復号において、並列処理またはパイプライ処理を行うことができる。 As described above, scalable decoding apparatus 200, when decoding motion information in enhancement layer decoding, includes adjacent neighbors in enhancement layer if the enhancement layer MER (parallel or pipeline processing block) includes an adjacent block. Predictive motion information is obtained using the corresponding block of the base layer corresponding to the block. Thereby, parallel processing or pipeline processing can be performed in encoding or decoding of motion information.
[復号処理の流れ]
  次に、以上のようなスケーラブル復号装置200により実行される各処理の流れについて説明する。最初に、図25のフローチャートを参照して、復号処理の流れの例を説明する。スケーラブル復号装置200は、ピクチャ毎にこの復号処理を実行する。
[Decoding process flow]
Next, the flow of each process executed by the scalable decoding device 200 as described above will be described. First, an example of the flow of decoding processing will be described with reference to the flowchart of FIG. The scalable decoding device 200 executes this decoding process for each picture.
  復号処理が開始されると、ステップS401において、スケーラブル復号装置200の復号制御部202は、最初のレイヤを処理対象とする。 When the decoding process is started, in step S401, the decoding control unit 202 of the scalable decoding device 200 sets the first layer as a processing target.
  ステップS402において、復号制御部202は、処理対象であるカレントレイヤがベースレイヤであるか否かを判定する。カレントレイヤがベースレイヤであると判定された場合、処理は、ステップS403に進む。 In step S402, the decoding control unit 202 determines whether or not the current layer to be processed is a base layer. If it is determined that the current layer is the base layer, the process proceeds to step S403.
  ステップS403において、ベースレイヤ画像復号部203は、ベースレイヤ復号処理を行う。ステップS403の処理が終了すると、処理は、ステップS406に進む。 In step S403, the base layer image decoding unit 203 performs base layer decoding processing. When the process of step S403 ends, the process proceeds to step S406.
  また、ステップS402において、カレントレイヤがエンハンスメントレイヤであると判定された場合、処理はステップS404に進む。ステップS404において、復号制御部202は、カレントレイヤに対応する(すなわち、参照先とする)ベースレイヤを決定する。 If it is determined in step S402 that the current layer is an enhancement layer, the process proceeds to step S404. In step S404, the decoding control unit 202 determines a base layer corresponding to the current layer (that is, a reference destination).
  ステップS405において、エンハンスメントレイヤ画像復号部205は、エンハンスメントレイヤ復号処理を行う。ステップS405の処理が終了すると、処理はステップS406に進む。 In step S405, the enhancement layer image decoding unit 205 performs enhancement layer decoding processing. When the process of step S405 ends, the process proceeds to step S406.
  ステップS406において、復号制御部202は、全てのレイヤを処理したか否かを判定する。未処理のレイヤが存在すると判定された場合、処理はステップS407に進む。 In step S406, the decoding control unit 202 determines whether all layers have been processed. If it is determined that there is an unprocessed layer, the process proceeds to step S407.
  ステップS407において、復号制御部202は、次の未処理のレイヤを処理対象(カレントレイヤ)とする。ステップS407の処理が終了すると、処理はステップS402に戻る。ステップS402乃至ステップS407の処理が繰り返し実行され、各レイヤが復号される。 In step S407, the decoding control unit 202 sets the next unprocessed layer as a processing target (current layer). When the process of step S407 ends, the process returns to step S402. The processing from step S402 to step S407 is repeatedly executed, and each layer is decoded.
  そして、ステップS406において、全てのレイヤが処理されたと判定された場合、復号処理が終了する。 If it is determined in step S406 that all layers have been processed, the decoding process ends.
[ベースレイヤ復号処理の流れ]
  次に、図26のフローチャートを参照して、図25のステップS403において実行されるベースレイヤ復号処理の流れの例を説明する。
[Flow of base layer decoding process]
Next, an example of the flow of the base layer decoding process executed in step S403 of FIG. 25 will be described with reference to the flowchart of FIG.
  ベースレイヤ復号処理が開始されると、ステップS421において、ベースレイヤ画像復号部203の蓄積バッファ211は、符号化側から伝送されたベースレイヤのビットストリームを蓄積する。ステップS422において、可逆復号部212は、蓄積バッファ211から供給されるベースレイヤのビットストリーム(符号化された差分画像情報)を復号する。すなわち、可逆符号化部116により符号化されたIピクチャ、Pピクチャ、並びにBピクチャが復号される。このとき、ヘッダ情報などのビットストリームに含められた差分画像情報以外の各種情報も復号される。 When the base layer decoding process is started, in step S421, the accumulation buffer 211 of the base layer image decoding unit 203 accumulates the base layer bit stream transmitted from the encoding side. In step S422, the lossless decoding unit 212 decodes the base layer bitstream (encoded difference image information) supplied from the accumulation buffer 211. That is, the I picture, P picture, and B picture encoded by the lossless encoding unit 116 are decoded. At this time, various information other than the difference image information included in the bit stream such as header information is also decoded.
  ステップS423において、逆量子化部213は、ステップS422の処理により得られた、量子化された係数を逆量子化する。 In step S423, the inverse quantization unit 213 inversely quantizes the quantized coefficient obtained by the process in step S422.
  ステップS424において、逆直交変換部214は、カレントブロック(カレントTU)を逆直交変換する。 In step S424, the inverse orthogonal transform unit 214 performs inverse orthogonal transform on the current block (current TU).
  ステップS425において、イントラ予測部221若しくは動き補償部222は、予測処理を行い、予測画像を生成する。つまり、可逆復号部212において判定された、符号化の際に適用された予測モードで予測処理が行われる。より具体的には、例えば、符号化の際にイントラ予測が適用された場合、イントラ予測部221が、符号化の際に最適とされたイントラ予測モードで予測画像を生成する。また、例えば、符号化の際にインター予測が適用された場合、動き補償部222が、符号化の際に最適とされたインター予測モードで予測画像を生成する。 In step S425, the intra prediction unit 221 or the motion compensation unit 222 performs a prediction process to generate a predicted image. That is, the prediction process is performed in the prediction mode that is determined in the lossless decoding unit 212 and applied at the time of encoding. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 221 generates a prediction image in the intra prediction mode that is optimized at the time of encoding. For example, when inter prediction is applied at the time of encoding, the motion compensation unit 222 generates a prediction image in an inter prediction mode that is optimized at the time of encoding.
  ステップS426において、演算部215は、ステップS424の逆直交変換処理により生成された差分画像情報に、ステップS425において生成された予測画像を加算する。これにより元の画像が復号される。 In step S426, the calculation unit 215 adds the predicted image generated in step S425 to the difference image information generated by the inverse orthogonal transform process in step S424. As a result, the original image is decoded.
  ステップS427において、デブロッキングフィルタ216は、ステップS426において得られた復号画像に対して、デブロッキングフィルタ処理を行う。これによりブロック歪み等が除去される。ステップS428において、適応オフセットフィルタ224は、デブロッキングフィルタ216からのデブロックフィルタ処理結果に対して、主にリンギングを除去する適応オフセットフィルタ処理を行う。 In step S427, the deblocking filter 216 performs deblocking filter processing on the decoded image obtained in step S426. Thereby, block distortion and the like are removed. In step S428, the adaptive offset filter 224 performs adaptive offset filter processing that mainly removes ringing on the deblocking filter processing result from the deblocking filter 216.
  ステップS429において、画面並べ替えバッファ217は、ステップS428においてリンギングの除去などが行われた画像の並べ替えを行う。すなわち画面並べ替えバッファ112により符号化のために並べ替えられたフレームの順序が、元の表示の順序に並べ替えられる。 In step S429, the screen rearrangement buffer 217 rearranges the images from which ringing has been removed in step S428. That is, the order of frames rearranged for encoding by the screen rearrangement buffer 112 is rearranged in the original display order.
  ステップS430において、D/A変換部218は、ステップS429においてフレームの順序が並べ替えられた画像をD/A変換する。この画像が図示せぬディスプレイに出力され、画像が表示される。 In step S430, the D / A conversion unit 218 performs D / A conversion on the image in which the frame order is rearranged in step S429. This image is output to a display (not shown), and the image is displayed.
  ステップS431において、フレームメモリ219は、ステップS428において適応オフセットフィルタ処理された画像を記憶する。 In step S431, the frame memory 219 stores the image that has been subjected to the adaptive offset filter processing in step S428.
  ステップS432において、動き情報復号部204の動き情報圧縮部253は、ステップS425の予測処理により得られたベースレイヤの動き情報を、16×16精度に圧縮し、その圧縮後の動きベクトル(1/16圧縮後動きベクトル)を、ベースレイヤの動き情報として、ベースレイヤ動き情報バッファ254に供給する。 In step S432, the motion information compression unit 253 of the motion information decoding unit 204 compresses the base layer motion information obtained by the prediction process in step S425 to 16 × 16 accuracy, and the compressed motion vector (1 / 16-compressed motion vectors) is supplied to the base layer motion information buffer 254 as base layer motion information.
  ステップS433において、動き情報復号部204のベースレイヤ動き情報バッファ254は、ステップS432において圧縮処理されたベースレイヤの動き情報を記憶する。 In step S433, the base layer motion information buffer 254 of the motion information decoding unit 204 stores the base layer motion information compressed in step S432.
  ステップS433の処理が終了すると、ベースレイヤ復号処理が終了し、処理は図25に戻る。ベースレイヤ復号処理は、例えば、ピクチャ単位で実行される。つまり、カレントレイヤの各ピクチャに対してベースレイヤ復号処理が実行される。ただし、ベースレイヤ復号処理内の各処理は、それぞれの処理単位毎に行われる。 処理 When the process of step S433 ends, the base layer decoding process ends, and the process returns to FIG. The base layer decoding process is executed in units of pictures, for example. That is, the base layer decoding process is executed for each picture in the current layer. However, each process in the base layer decoding process is performed for each processing unit.
[エンハンスメントレイヤ復号処理の流れ]
  次に、図27のフローチャートを参照して、図25のステップS405において実行されるエンハンスメントレイヤ復号処理の流れの例を説明する。
[Enhancement layer decoding process flow]
Next, an example of the flow of enhancement layer decoding processing executed in step S405 of FIG. 25 will be described with reference to the flowchart of FIG.
  エンハンスメントレイヤ復号処理のステップS451乃至ステップS454、並びに、ステップS456乃至ステップS461の各処理は、ベースレイヤ復号処理のステップS421乃至ステップS424、並びに、ステップS426乃至ステップS431の各処理と同様に実行される。ただし、エンハンスメントレイヤ復号処理の各処理は、エンハンスメントレイヤ画像復号部205の各処理部により、エンハンスメントレイヤ符号化データに対して行われる。 Steps S451 to S454 of enhancement layer decoding processing and steps S456 to S461 are executed in the same manner as steps S421 to S424 and steps S426 to S431 of base layer decoding processing. . However, each process of the enhancement layer decoding process is performed on the enhancement layer encoded data by each processing unit of the enhancement layer image decoding unit 205.
  なお、ステップS455において、イントラ予測部221および動き補償部232は、エンハンスメントレイヤ符号化データに対して、予測処理を行う。この予測処理の詳細については図28を参照して後述する。 Note that in step S455, the intra prediction unit 221 and the motion compensation unit 232 perform prediction processing on the enhancement layer encoded data. Details of this prediction processing will be described later with reference to FIG.
  ステップS461の処理が終了すると、エンハンスメントレイヤ復号処理が終了され、処理は図25に戻る。エンハンスメントレイヤ復号処理は、例えば、ピクチャ単位で実行される。つまり、カレントレイヤの各ピクチャに対してエンハンスメントレイヤ復号処理が実行される。ただし、エンハンスメントレイヤ復号処理内の各処理は、それぞれの処理単位毎に行われる。 処理 When the process of step S461 ends, the enhancement layer decoding process ends, and the process returns to FIG. The enhancement layer decoding process is executed in units of pictures, for example. That is, the enhancement layer decoding process is executed for each picture in the current layer. However, each process in the enhancement layer decoding process is performed for each processing unit.
[予測処理の流れ]
  次に、図28のフローチャートを参照して、図27のステップS455において実行される予測処理の流れの例を説明する。
[Prediction process flow]
Next, an example of the flow of prediction processing executed in step S455 of FIG. 27 will be described with reference to the flowchart of FIG.
  予測処理が開始されると、動き補償部232は、ステップS481において、予測モードがインター予測であるか否かを判定する。インター予測であると判定した場合、処理はステップS482に進む。 When the wrinkle prediction process is started, the motion compensation unit 232 determines in step S481 whether or not the prediction mode is inter prediction. When it determines with it being inter prediction, a process progresses to step S482.
  ステップS482において、動き補償部232は、動き情報復号処理を行い、カレントブロックの動き情報を再構築する。この動き情報復号処理の詳細については図29を参照して後述する。 In step S482, the motion compensation unit 232 performs motion information decoding processing to reconstruct the motion information of the current block. Details of the motion information decoding process will be described later with reference to FIG.
  ステップS483において、動き補償部232は、ステップS482の処理により得られた動き情報を用いて動き補償を行い、予測画像を生成する。予測画像が生成されると、予測処理が終了し、処理は図27に戻る。 In step S483, the motion compensation unit 232 performs motion compensation using the motion information obtained by the process in step S482, and generates a predicted image. When the predicted image is generated, the prediction process ends, and the process returns to FIG.
  また、ステップS481において、イントラ予測であると判定された場合、処理はステップS484に進む。ステップS484において、イントラ予測部221は、符号化の際に採用されたイントラ予測モードである最適イントラ予測モードで予測画像を生成する。ステップS484の処理が終了すると、予測処理が終了し、処理は図27に戻る。 In addition, when it is determined in step S481 that the prediction is intra prediction, the process proceeds to step S484. In step S484, the intra prediction unit 221 generates a prediction image in the optimal intra prediction mode that is the intra prediction mode employed at the time of encoding. When the process of step S484 ends, the prediction process ends, and the process returns to FIG.
[動き情報復号処理の流れ]
  次に、図29のフローチャートを参照して、図28のステップS482において実行される動き情報復号処理の流れの例を説明する。
[Flow of motion information decoding process]
Next, an example of the flow of the motion information decoding process executed in step S482 in FIG. 28 will be described with reference to the flowchart in FIG.
  動き情報復号処理が開始されると、動き補償部232は、ステップS501において、符号化側から伝送された、エンハンスメントレイヤにおける動き情報の符号化・復号に関する情報であるプレディクタ情報を、可逆復号部212から取得する。 When the motion information decoding process is started, the motion compensation unit 232 transmits the predictor information, which is information related to encoding / decoding of motion information in the enhancement layer, transmitted from the encoding side in step S501, to the lossless decoding unit 212. Get from.
  ステップS502において、動き補償部232は、そのプレディクタ情報に基づいて、採用された予測動き情報がAMVPモードであるか否かを判定する。AMVPモードであると判定された場合、処理はステップS503に進む。 In step S502, the motion compensation unit 232 determines whether the employed predicted motion information is in the AMVP mode based on the predictor information. If it is determined that the AMVP mode is set, the process proceeds to step S503.
  ステップS503において、動き補償部232は、AMVP処理を行い、AMVPモードの予測動き情報の候補を設定する。AMVP処理が終了すると、処理はステップS505に進む。 In step S503, the motion compensation unit 232 performs AMVP processing and sets a candidate for predicted motion information in the AMVP mode. When the AMVP process ends, the process proceeds to step S505.
  また、ステップS502において、AMVPモードでないと判定された場合、処理はステップS504に進む。 If it is determined in step S502 that the mode is not AMVP mode, the process proceeds to step S504.
  ステップS504において、マージ処理部252は、マージ処理を行い、マージモードの予測動き情報の候補を設定する。マージ処理の詳細については図30を参照して後述する。マージ処理が終了すると、処理はステップS505に進む。 In step S504, the merge processing unit 252 performs a merge process, and sets prediction motion information candidates in the merge mode. Details of the merge processing will be described later with reference to FIG. When the merge process ends, the process proceeds to step S505.
  ステップS505において、動き補償部232は、ステップS503若しくはステップS504の処理結果を用いて、カレントブロックの予測動き情報を再構築する。 In step S505, the motion compensation unit 232 reconstructs the predicted motion information of the current block using the processing result in step S503 or step S504.
  ステップS506において、動き補償部232は、ステップS505において得られた予測動き情報、および、可逆復号部212から取得した差分動き情報を用いて、カレントブロックの動き情報を再構築する。動き補償部232は、その動き情報を用いて、予測画像を生成する。 In step S506, the motion compensation unit 232 reconstructs the motion information of the current block using the predicted motion information obtained in step S505 and the difference motion information acquired from the lossless decoding unit 212. The motion compensation unit 232 generates a predicted image using the motion information.
  ステップS507において、隣接動き情報バッファ263は、エンハンスメントレイヤのカレントブロックの動き情報を記憶する。 In step S507, the adjacent motion information buffer 263 stores the motion information of the current block of the enhancement layer.
  ステップS507の処理が終了すると、動き情報復号処理が終了し、処理は図28に戻る。 処理 When the process of step S507 ends, the motion information decoding process ends, and the process returns to FIG.
[マージ処理の流れ]
  次に、図30のフローチャートを参照して、図29のステップS504において実行されるマージ処理の流れの例を説明する。
[Flow of merge processing]
Next, an example of the flow of merge processing executed in step S504 in FIG. 29 will be described with reference to the flowchart in FIG.
  マージ処理が開始されると、パラレルマージ復号部251は、ステップS521において、符号化側から送られてきたMER情報を、可逆復号部212および動き補償部232を介して受け取って復号を行う。パラレルマージ復号部251は、復号したMER情報を、マージ処理部252のMER情報バッファ264を介してMER内判定部265に供給する。 When the merge processing is started, the parallel merge decoding unit 251 receives the MER information sent from the encoding side via the lossless decoding unit 212 and the motion compensation unit 232 in step S521 and performs decoding. The parallel merge decoding unit 251 supplies the decoded MER information to the in-MER determination unit 265 via the MER information buffer 264 of the merge processing unit 252.
 ステップS522において、MER内判定部265は、隣接動き情報バッファ263からの隣接PUのアドレス情報とMER情報バッファ264に蓄積されているMER情報に基づいて、隣接PUがMER内であるか否かを判定する。ステップS522において、隣接PUがMER内であると判定された場合、MER内判定部265は、ベースレイヤ動き情報バッファ254に制御信号を送信し、処理は、ステップS523に進む。 In step S522, the in-MER determination unit 265 determines whether the adjacent PU is in the MER based on the address information of the adjacent PU from the adjacent motion information buffer 263 and the MER information stored in the MER information buffer 264. judge. If it is determined in step S522 that the adjacent PU is in the MER, the in-MER determination unit 265 transmits a control signal to the base layer motion information buffer 254, and the process proceeds to step S523.
 ステップS523において、ベースレイヤ動き情報バッファ254は、隣接PUのベースレイヤにおけるコロケーテッドPUを検出する。なお、この検出方法は、上述したように、エンハンスメントレイヤにおいて、隣接PUの中央に位置する画素を検出し、これに対応するベースレイヤにおける画素を含むPUを、隣接PUに対応するコロケーテッド(co-located)PUであるとする。 In step S523, the base layer motion information buffer 254 detects a collocated PU in the base layer of the adjacent PU. As described above, this detection method detects a pixel located in the center of an adjacent PU in the enhancement layer, and determines a PU including a pixel in the base layer corresponding thereto as a collocated (co- located) PU.
 あるいは、隣接PUの中央ではなく、左上に位置する画素を用いて、隣接PUに対応するコロケーテッド(co-located)PUの検出処理を行ってもよい。 Alternatively, the co-located PU detection process corresponding to the adjacent PU may be performed using a pixel located at the upper left instead of the center of the adjacent PU.
 ベースレイヤ動き情報バッファ254は、ステップS523により検出されたコロケーテッド(co-located)PUを、ベースレイヤ動きベクトル情報として、アベイラビリティ判定部266に供給する。 The base layer motion information buffer 254 supplies the co-located PU detected in step S523 to the availability determination unit 266 as base layer motion vector information.
 ステップS524において、アベイラビリティ判定部266は、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルであるか否かを判定する。ステップS524において、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルであると判定された場合、アベイラビリティ判定部266は、ベースレイヤ動きベクトル情報をスケーリング部262に供給し、処理は、ステップS525に進む。 In step S524, the availability determination unit 266 determines whether or not the motion information regarding the collocated PU in the base layer is available. When it is determined in step S524 that the motion information regarding the collocated PU in the base layer is available, the availability determination unit 266 supplies the base layer motion vector information to the scaling unit 262, and the process proceeds to step S525.
 ステップS525において、スケーリング部262は、アベイラビリティ判定部266からのベースレイヤ動きベクトル情報を候補予測動きベクトルバッファ261に供給し、ベースレイヤにおける隣接動き情報を候補予測リストに追加する。 In step S525, the scaling unit 262 supplies the base layer motion vector information from the availability determination unit 266 to the candidate motion vector predictor buffer 261, and adds adjacent motion information in the base layer to the candidate prediction list.
 なお、このとき、スケーリング部262は、スペーシャルスケーラビリティの場合、アベイラビリティ判定部266からのベースレイヤ動きベクトル情報に対して、スペーシャルスケーラビリティ比に応じたスケーリング処理を行う。 At this time, in the case of spatial scalability, the scaling unit 262 performs scaling processing according to the spatial scalability ratio on the base layer motion vector information from the availability determination unit 266.
 ステップS525の処理が終了すると、マージ処理が終了し、処理は図29に戻る。また、図30のステップS524において、ベースレイヤにおけるコロケーテッドPUに関する動き情報がアベイラブルではないと判定された場合、ステップS525はスキップされ、マージ処理が終了し、処理は図29に戻る。なお、この場合には、例えば、従来と同様に、図8を参照して上述したコンバインドマージなどで候補リストが補填される。 When the process of step S525 is completed, the merge process is completed, and the process returns to FIG. If it is determined in step S524 of FIG. 30 that the motion information related to the collocated PU in the base layer is not available, step S525 is skipped, the merge process ends, and the process returns to FIG. In this case, for example, the candidate list is supplemented by the combined merge described above with reference to FIG.
 一方、ステップS522において、隣接PUがMER内ではない、すなわち、MER外であると判定された場合、MER内判定部265は、隣接動き情報バッファ263に制御信号を送信し、処理は、ステップS526に進む。 On the other hand, when it is determined in step S522 that the adjacent PU is not in the MER, that is, outside the MER, the in-MER determination unit 265 transmits a control signal to the adjacent motion information buffer 263, and the process is performed in step S526. Proceed to
 ステップS526において、隣接動き情報バッファ263は、MER内判定部265からの制御信号に応じて、隣接PU動きベクトル情報を候補予測動きベクトルバッファ261に供給し、エンハンスメントレイヤにおける隣接動き情報を候補予測リストに追加する。 In step S526, the adjacent motion information buffer 263 supplies the adjacent PU motion vector information to the candidate prediction motion vector buffer 261 according to the control signal from the in-MER determination unit 265, and the adjacent motion information in the enhancement layer is the candidate prediction list. Add to
 ステップS526の処理が終了すると、マージ処理が終了し、処理は図29に戻る。 When the process of step S526 is completed, the merge process is completed, and the process returns to FIG.
  以上のように各処理を実行することにより、スケーラブル復号装置200は、動きベクトルの復号において並列処理またはパイプライン処理を行うことができる。 By executing each process as described above, the scalable decoding device 200 can perform parallel processing or pipeline processing in motion vector decoding.
 なお、上記説明においては、説明の便宜上、動きベクトル復号処理のうち、動き情報復号部204において、マージモードの予測動き情報の候補リストを生成し、それ以外の処理(AMVPの処理や動きベクトルの再構成処理)などは、動き補償部232で行う例を説明した。しかしながら、例えば、図29を参照して上述したそれ以外の処理も動き補償部232で行うようにしてもよい。 In the above description, for convenience of explanation, in the motion vector decoding process, the motion information decoding unit 204 generates a candidate list of prediction motion information in merge mode, and performs other processes (AMVP process and motion vector In the example described above, the reconstruction processing) is performed by the motion compensation unit 232. However, for example, the motion compensation unit 232 may perform other processing described above with reference to FIG.
  また、上記説明においては、本技術をマージについて適用する例を説明してきたが、本技術は、AMVPに適用することもできる。 In the above description, an example in which the present technology is applied to merging has been described, but the present technology can also be applied to AMVP.
  <3.その他>
  以上においては、スケーラブル符号化により画像データが階層化されて複数レイヤ化されるように説明したが、そのレイヤ数は任意である。また、例えば、図31の例に示されるように、一部のピクチャが階層化されるようにしてもよい。また、以上においては、符号化・復号において、エンハンスメントレイヤは、ベースレイヤの情報を利用して処理されるように説明したが、これに限らず、エンハンスメントレイヤが、処理済の他のエンハンスメントレイヤの情報を利用して処理されるようにしてもよい。
<3. Other>
In the above description, it has been described that image data is hierarchized into a plurality of layers by scalable coding, but the number of layers is arbitrary. Further, for example, as shown in the example of FIG. 31, some pictures may be hierarchized. Further, in the above description, in the encoding / decoding, the enhancement layer has been described as being processed using the information of the base layer. However, the enhancement layer is not limited to this, and other enhancement layers that have been processed are processed. Processing may be performed using information.
  また、以上に説明したレイヤには、多視点画像符号化・復号におけるビューも含まれる。つまり、本技術は、多視点画像符号化・多視点画像復号に適用することができる。図32は、多視点画像符号化方式の一例を示す。 In addition, the layers described above include views in multi-view image encoding / decoding. That is, the present technology can be applied to multi-view image encoding / multi-view image decoding. FIG. 32 shows an example of the multi-view image encoding method.
  図32に示されるように、多視点画像は、複数の視点(ビュー)の画像を含み、その複数の視点のうちの所定の1つの視点の画像が、ベースビューの画像に指定されている。ベースビューの画像以外の各視点の画像は、ノンベースビューの画像として扱われる。 As shown in FIG. 32, a multi-viewpoint image includes images of a plurality of viewpoints (views), and an image of a predetermined one viewpoint among the plurality of viewpoints is designated as a base-view image. Each viewpoint image other than the base view image is treated as a non-base view image.
  図32のような多視点画像を符号化・復号する場合、各ビューの画像を符号化・復号するが、この各ビューの符号化・復号に対して、上述した方法を適用するようにしてもよい。つまり、動き情報等を、このような多視点符号化・復号における複数のビューにおいて共有するようにしてもよい。 When encoding / decoding a multi-view image as shown in FIG. 32, each view image is encoded / decoded. The above-described method may be applied to the encoding / decoding of each view. Good. That is, motion information or the like may be shared among a plurality of views in such multi-viewpoint encoding / decoding.
  例えば、ベースビューについては、自身のビューの動き情報のみを用いて予測動き情報の候補を生成するようにし、ノンベースビューについては、ベースビューの動き情報も利用して予測動き情報を生成するようにする。 For example, for the base view, prediction motion information candidates are generated using only the motion information of the own view, and for the non-base view, the motion information of the base view is also used to generate the prediction motion information. To.
  このようにすることにより、上述した階層符号化・復号の場合と同様に、多視点符号化・復号においても、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 By doing this, parallel processing or pipeline processing can be performed in motion vector encoding or decoding in multi-view encoding / decoding as in the case of hierarchical encoding / decoding described above.
  以上のように、本技術の適用範囲は、スケーラブルな符号化・復号方式に基づくあらゆる画像符号化装置及び画像復号装置に適用することができる。 As described above, the application range of the present technology can be applied to any image encoding device and image decoding device based on a scalable encoding / decoding method.
  また、本技術は、例えば、MPEG、H.26x等の様に、離散コサイン変換等の直交変換と動き補償によって圧縮された画像情報(ビットストリーム)を、衛星放送、ケーブルテレビジョン、インターネット、または携帯電話機などのネットワークメディアを介して受信する際に用いられる画像符号化装置および画像復号装置に適用することができる。また、本技術は、光、磁気ディスク、およびフラッシュメモリのような記憶メディア上で処理する際に用いられる画像符号化装置および画像復号装置に適用することができる。 本 Moreover, the present technology is disclosed in, for example, MPEG, H.264, and the like. When receiving image information (bitstream) compressed by orthogonal transformation such as discrete cosine transformation and motion compensation, such as 26x, via network media such as satellite broadcasting, cable television, the Internet, or mobile phones. The present invention can be applied to an image encoding device and an image decoding device used in the above. In addition, the present technology can be applied to an image encoding device and an image decoding device that are used when processing on a storage medium such as an optical, magnetic disk, and flash memory.
  <4.第3の実施の形態>
[コンピュータ]
  上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここでコンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータ等が含まれる。
<4. Third Embodiment>
[Computer]
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 that can execute various functions by installing a computer incorporated in dedicated hardware and various programs.
  図33は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 33 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.
  図33に示されるコンピュータ800において、CPU(Central Processing Unit)801、ROM(Read Only Memory)802、RAM(Random Access Memory)803は、バス804を介して相互に接続されている。 In a computer 800 shown in FIG. 33, a CPU (Central Processing Unit) 801, a ROM (Read Only Memory) 802, and a RAM (Random Access Memory) 803 are connected to each other via a bus 804.
  バス804にはまた、入出力インタフェース810も接続されている。入出力インタフェース810には、入力部811、出力部812、記憶部813、通信部814、およびドライブ815が接続されている。 An input / output interface 810 is also connected to the bus 804. An input unit 811, an output unit 812, a storage unit 813, a communication unit 814, and a drive 815 are connected to the input / output interface 810.
  入力部811は、例えば、キーボード、マウス、マイクロホン、タッチパネル、入力端子などよりなる。出力部812は、例えば、ディスプレイ、スピーカ、出力端子などよりなる。記憶部813は、例えば、ハードディスク、RAMディスク、不揮発性のメモリなどよりなる。通信部814は、例えば、ネットワークインタフェースよりなる。ドライブ815は、磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリなどのリムーバブルメディア821を駆動する。 The bag input unit 811 includes, for example, a keyboard, a mouse, a microphone, a touch panel, an input terminal, and the like. The output unit 812 includes, for example, a display, a speaker, an output terminal, and the like. The storage unit 813 includes, for example, a hard disk, a RAM disk, a nonvolatile memory, and the like. The communication unit 814 includes a network interface, for example. The drive 815 drives a removable medium 821 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  以上のように構成されるコンピュータでは、CPU801が、例えば、記憶部813に記憶されているプログラムを、入出力インタフェース810およびバス804を介して、RAM803にロードして実行することにより、上述した一連の処理が行われる。RAM803にはまた、CPU801が各種の処理を実行する上において必要なデータなども適宜記憶される。 In the computer configured as described above, the CPU 801 loads the program stored in the storage unit 813 into the RAM 803 via the input / output interface 810 and the bus 804 and executes the program, for example. Is performed. The RAM 803 also appropriately stores data necessary for the CPU 801 to execute various processes.
  コンピュータ(CPU801)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア821に記録して適用することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。 The program executed by the computer (CPU 801) can be recorded and applied to, for example, a removable medium 821 as a package medium or the like. The program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
  コンピュータでは、プログラムは、リムーバブルメディア821をドライブ815に装着することにより、入出力インタフェース810を介して、記憶部813にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部814で受信し、記憶部813にインストールすることができる。その他、プログラムは、ROM802や記憶部813に、あらかじめインストールしておくことができる。 In the computer, the program can be installed in the storage unit 813 via the input / output interface 810 by attaching the removable medium 821 to the drive 815. The program can be received by the communication unit 814 via a wired or wireless transmission medium and installed in the storage unit 813. In addition, the program can be installed in the ROM 802 or the storage unit 813 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.
  また、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。 Further, in the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but may be performed in parallel or It also includes processes that are executed individually.
  また、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)等)の集合を意味し、全ての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、1つの筐体の中に複数のモジュールが収納されている1つの装置は、いずれも、システムである。 In addition, in this specification, the system means a set of a plurality of components (devices, modules (parts), etc.), and it does not matter whether all the components are in the same housing. Accordingly, a plurality of devices housed in separate housings and connected via a network and a single device housing a plurality of modules in one housing are all systems. .
  また、以上において、1つの装置(または処理部)として説明した構成を分割し、複数の装置(または処理部)として構成するようにしてもよい。逆に、以上において複数の装置(または処理部)として説明した構成をまとめて1つの装置(または処理部)として構成されるようにしてもよい。また、各装置(または各処理部)の構成に上述した以外の構成を付加するようにしてももちろんよい。さらに、システム全体としての構成や動作が実質的に同じであれば、ある装置(または処理部)の構成の一部を他の装置(または他の処理部)の構成に含めるようにしてもよい。 In the above description, the configuration described as one device (or processing unit) may be divided and configured as a plurality of devices (or processing units). Conversely, the configurations described above as a plurality of devices (or processing units) may be combined into a single device (or processing unit). Of course, a configuration other than that described above may be added to the configuration of each device (or each processing unit). Furthermore, if the configuration and operation of the entire system are substantially the same, a part of the configuration of a certain device (or processing unit) may be included in the configuration of another device (or other processing unit). .
  以上、添付図面を参照しながら本開示の好適な実施形態について詳細に説明したが、本開示の技術的範囲はかかる例に限定されない。本開示の技術分野における通常の知識を有する者であれば、請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本開示の技術的範囲に属するものと了解される。 The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings, but the technical scope of the present disclosure is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field of the present disclosure can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that it belongs to the technical scope of the present disclosure.
  例えば、本技術は、1つの機能を、ネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 For example, the present technology can take a configuration of cloud computing in which one function is shared by a plurality of devices via a network and is jointly processed.
  また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。 In addition, each step described in the above flowchart can be executed by one apparatus or can be shared by a plurality of apparatuses.
  さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Furthermore, 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.
  上述した実施形態に係る画像符号化装置及び画像復号装置は、衛星放送、ケーブルTVなどの有線放送、インターネット上での配信、及びセルラー通信による端末への配信などにおける送信機若しくは受信機、光ディスク、磁気ディスク及びフラッシュメモリなどの媒体に画像を記録する記録装置、又は、これら記憶媒体から画像を再生する再生装置などの様々な電子機器に応用され得る。以下、4つの応用例について説明する。 An image encoding device and an image decoding device according to the above-described embodiments include a transmitter or a receiver in optical broadcasting, satellite broadcasting, cable broadcasting such as cable TV, distribution on the Internet, and distribution to terminals by cellular communication, etc. The present invention can be applied to various electronic devices such as a recording device that records an image on a medium such as a magnetic disk and a flash memory, or a playback device that reproduces an image from these storage media. Hereinafter, four application examples will be described.
  <5.応用例>
[第1の応用例:テレビジョン受像機]
  図34は、上述した実施形態を適用したテレビジョン装置の概略的な構成の一例を示している。テレビジョン装置900は、アンテナ901、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、表示部906、音声信号処理部907、スピーカ908、外部インタフェース909、制御部910、ユーザインタフェース911、及びバス912を備える。
<5. Application example>
[First application example: Television receiver]
FIG. 34 shows an example of a schematic configuration of a television apparatus to which the above-described embodiment 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, an external interface 909, a control unit 910, a user interface 911, And a bus 912.
  チューナ902は、アンテナ901を介して受信される放送信号から所望のチャンネルの信号を抽出し、抽出した信号を復調する。そして、チューナ902は、復調により得られた符号化ビットストリームをデマルチプレクサ903へ出力する。即ち、チューナ902は、画像が符号化されている符号化ストリームを受信する、テレビジョン装置900における伝送部としての役割を有する。 The tuner 902 extracts a signal of a desired channel from a broadcast signal received via the antenna 901, and demodulates the extracted signal. Then, the tuner 902 outputs the encoded bit stream obtained by the demodulation to the demultiplexer 903. That is, the tuner 902 has a role as a transmission unit in the television device 900 that receives an encoded stream in which an image is encoded.
  デマルチプレクサ903は、符号化ビットストリームから視聴対象の番組の映像ストリーム及び音声ストリームを分離し、分離した各ストリームをデコーダ904へ出力する。また、デマルチプレクサ903は、符号化ビットストリームからEPG(Electronic Program Guide)などの補助的なデータを抽出し、抽出したデータを制御部910に供給する。なお、デマルチプレクサ903は、符号化ビットストリームがスクランブルされている場合には、デスクランブルを行ってもよい。 The demultiplexer 903 separates the video stream and audio stream of the viewing target program from the encoded bit stream, and outputs each separated stream to the decoder 904. Further, the demultiplexer 903 extracts auxiliary data such as EPG (Electronic Program Guide) from the encoded bit stream, and supplies the extracted data to the control unit 910. Note that the demultiplexer 903 may perform descrambling when the encoded bit stream is scrambled.
  デコーダ904は、デマルチプレクサ903から入力される映像ストリーム及び音声ストリームを復号する。そして、デコーダ904は、復号処理により生成される映像データを映像信号処理部905へ出力する。また、デコーダ904は、復号処理により生成される音声データを音声信号処理部907へ出力する。 The decoder 904 decodes the video stream and audio stream input from the demultiplexer 903. Then, the decoder 904 outputs the video data generated by the decoding process to the video signal processing unit 905. In addition, the decoder 904 outputs audio data generated by the decoding process to the audio signal processing unit 907.
  映像信号処理部905は、デコーダ904から入力される映像データを再生し、表示部906に映像を表示させる。また、映像信号処理部905は、ネットワークを介して供給されるアプリケーション画面を表示部906に表示させてもよい。また、映像信号処理部905は、映像データについて、設定に応じて、例えばノイズ除去などの追加的な処理を行ってもよい。さらに、映像信号処理部905は、例えばメニュー、ボタン又はカーソルなどのGUI(Graphical User Interface)の画像を生成し、生成した画像を出力画像に重畳してもよい。 The video signal processing unit 905 reproduces the video data input from the decoder 904 and causes the display unit 906 to display the video. In addition, the video signal processing unit 905 may cause the display unit 906 to display an application screen supplied via a network. Further, the video signal processing unit 905 may perform additional processing such as noise removal on the video data according to the setting. Furthermore, the video signal processing unit 905 may generate a GUI (Graphical User Interface) image such as a menu, a button, or a cursor, and superimpose the generated image on the output image.
  表示部906は、映像信号処理部905から供給される駆動信号により駆動され、表示デバイス(例えば、液晶ディスプレイ、プラズマディスプレイ又はOELD(Organic ElectroLuminescence Display)(有機ELディスプレイ)など)の映像面上に映像又は画像を表示する。 The display unit 906 is driven by a drive signal supplied from the video signal processing unit 905, and displays an image on a video screen of a display device (for example, a liquid crystal display, a plasma display, or an OELD (Organic ElectroLuminescence Display) (organic EL display)). Or an image is displayed.
  音声信号処理部907は、デコーダ904から入力される音声データについてD/A変換及び増幅などの再生処理を行い、スピーカ908から音声を出力させる。また、音声信号処理部907は、音声データについてノイズ除去などの追加的な処理を行ってもよい。 The audio signal processing unit 907 performs reproduction processing such as D / A conversion and amplification on the audio data input from the decoder 904, and outputs audio from the speaker 908. The audio signal processing unit 907 may perform additional processing such as noise removal on the audio data.
  外部インタフェース909は、テレビジョン装置900と外部機器又はネットワークとを接続するためのインタフェースである。例えば、外部インタフェース909を介して受信される映像ストリーム又は音声ストリームが、デコーダ904により復号されてもよい。即ち、外部インタフェース909もまた、画像が符号化されている符号化ストリームを受信する、テレビジョン装置900における伝送部としての役割を有する。 The external interface 909 is an interface for connecting the television device 900 to an external device or a network. For example, a video stream or an audio stream received via the external interface 909 may be decoded by the decoder 904. That is, the external interface 909 also has a role as a transmission unit in the television apparatus 900 that receives an encoded stream in which an image is encoded.
  制御部910は、CPUなどのプロセッサ、並びにRAM及びROMなどのメモリを有する。メモリは、CPUにより実行されるプログラム、プログラムデータ、EPGデータ、及びネットワークを介して取得されるデータなどを記憶する。メモリにより記憶されるプログラムは、例えば、テレビジョン装置900の起動時にCPUにより読み込まれ、実行される。CPUは、プログラムを実行することにより、例えばユーザインタフェース911から入力される操作信号に応じて、テレビジョン装置900の動作を制御する。 The bag control unit 910 includes a processor such as a CPU and memories such as a RAM and a ROM. The memory stores a program executed by the CPU, program data, EPG data, data acquired via a network, and the like. For example, the program stored in the memory is read and executed by the CPU when the television apparatus 900 is activated. The CPU executes the program to control the operation of the television device 900 according to an operation signal input from the user interface 911, for example.
  ユーザインタフェース911は、制御部910と接続される。ユーザインタフェース911は、例えば、ユーザがテレビジョン装置900を操作するためのボタン及びスイッチ、並びに遠隔制御信号の受信部などを有する。ユーザインタフェース911は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部910へ出力する。 The user interface 911 is connected to the control unit 910. The user interface 911 includes, for example, buttons and switches for the user to operate the television device 900, a remote control signal receiving unit, and the like. The user interface 911 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 910.
  バス912は、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、音声信号処理部907、外部インタフェース909及び制御部910を相互に接続する。 A bus 912 connects a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, an audio signal processing unit 907, an external interface 909, and a control unit 910 to each other.
  このように構成されたテレビジョン装置900において、デコーダ904は、上述した実施形態に係るスケーラブル復号装置200の機能を有する。それにより、テレビジョン装置900での画像の復号に際し、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 In the television device 900 configured as described above, the decoder 904 has the function of the scalable decoding device 200 according to the above-described embodiment. Thereby, when decoding an image by the television apparatus 900, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
[第2の応用例:携帯電話機]
  図35は、上述した実施形態を適用した携帯電話機の概略的な構成の一例を示している。携帯電話機920は、アンテナ921、通信部922、音声コーデック923、スピーカ924、マイクロホン925、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、制御部931、操作部932、及びバス933を備える。
[Second application example: mobile phone]
FIG. 35 shows an example of a schematic configuration of a mobile phone to which the above-described embodiment is applied. A cellular phone 920 includes an antenna 921, a communication unit 922, an audio codec 923, a speaker 924, a microphone 925, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, a control unit 931, an operation A portion 932 and a bus 933.
  アンテナ921は、通信部922に接続される。スピーカ924及びマイクロホン925は、音声コーデック923に接続される。操作部932は、制御部931に接続される。バス933は、通信部922、音声コーデック923、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、及び制御部931を相互に接続する。 The cage antenna 921 is connected to the communication unit 922. The speaker 924 and the microphone 925 are connected to the audio codec 923. The operation unit 932 is connected to the control unit 931. The bus 933 connects the communication unit 922, the audio codec 923, the camera unit 926, the image processing unit 927, the demultiplexing unit 928, the recording / reproducing unit 929, the display unit 930, and the control unit 931 to each other.
  携帯電話機920は、音声通話モード、データ通信モード、撮影モード及びテレビ電話モードを含む様々な動作モードで、音声信号の送受信、電子メール又は画像データの送受信、画像の撮像、及びデータの記録などの動作を行う。 The mobile phone 920 has various operation modes including a voice call mode, a data communication mode, a shooting mode, and a videophone mode, and is used for sending and receiving voice signals, sending and receiving e-mail or image data, taking images, and recording data. Perform the action.
  音声通話モードにおいて、マイクロホン925により生成されるアナログ音声信号は、音声コーデック923に供給される。音声コーデック923は、アナログ音声信号を音声データへ変換し、変換された音声データをA/D変換し圧縮する。そして、音声コーデック923は、圧縮後の音声データを通信部922へ出力する。通信部922は、音声データを符号化及び変調し、送信信号を生成する。そして、通信部922は、生成した送信信号を、アンテナ921を介して基地局(図示せず)へ送信する。また、通信部922は、アンテナ921を介して受信される無線信号を増幅し及び周波数変換し、受信信号を取得する。そして、通信部922は、受信信号を復調及び復号して音声データを生成し、生成した音声データを音声コーデック923へ出力する。音声コーデック923は、音声データを伸張し及びD/A変換し、アナログ音声信号を生成する。そして、音声コーデック923は、生成した音声信号をスピーカ924に供給して音声を出力させる。 In the voice call mode, the analog voice signal generated by the microphone 925 is supplied to the voice codec 923. The audio codec 923 converts an analog audio signal into audio data, A / D converts the compressed audio data, and compresses it. Then, the audio codec 923 outputs the compressed audio data to the communication unit 922. The communication unit 922 encodes and modulates the audio data and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921. In addition, the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal. Then, the communication unit 922 demodulates and decodes the received signal to generate audio data, and outputs the generated audio data to the audio codec 923. The audio codec 923 decompresses the audio data and performs D / A conversion to generate an analog audio signal. Then, the audio codec 923 supplies the generated audio signal to the speaker 924 to output audio.
  また、データ通信モードにおいて、例えば、制御部931は、操作部932を介するユーザによる操作に応じて、電子メールを構成する文字データを生成する。また、制御部931は、文字を表示部930に表示させる。また、制御部931は、操作部932を介するユーザからの送信指示に応じて電子メールデータを生成し、生成した電子メールデータを通信部922へ出力する。通信部922は、電子メールデータを符号化及び変調し、送信信号を生成する。そして、通信部922は、生成した送信信号を、アンテナ921を介して基地局(図示せず)へ送信する。また、通信部922は、アンテナ921を介して受信される無線信号を増幅し及び周波数変換し、受信信号を取得する。そして、通信部922は、受信信号を復調及び復号して電子メールデータを復元し、復元した電子メールデータを制御部931へ出力する。制御部931は、表示部930に電子メールの内容を表示させると共に、電子メールデータを記録再生部929の記憶媒体に記憶させる。 In addition, in the data communication mode, for example, the control unit 931 generates character data constituting an e-mail in response to an operation by the user via the operation unit 932. In addition, the control unit 931 causes the display unit 930 to display characters. In addition, the control unit 931 generates e-mail data in response to a transmission instruction from the user via the operation unit 932, and outputs the generated e-mail data to the communication unit 922. The communication unit 922 encodes and modulates email data and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921. In addition, the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal. Then, the communication unit 922 demodulates and decodes the received signal to restore the email data, and outputs the restored email data to the control unit 931. The control unit 931 displays the content of the electronic mail on the display unit 930 and stores the electronic mail data in the storage medium of the recording / reproducing unit 929.
  記録再生部929は、読み書き可能な任意の記憶媒体を有する。例えば、記憶媒体は、RAM又はフラッシュメモリなどの内蔵型の記憶媒体であってもよく、ハードディスク、磁気ディスク、光磁気ディスク、光ディスク、USB(Universal Serial Bus)メモリ、又はメモリカードなどの外部装着型の記憶媒体であってもよい。 The recording / reproducing unit 929 has a readable / writable arbitrary storage medium. For example, the storage medium may be a built-in storage medium such as a RAM or a flash memory, or an externally mounted type such as a hard disk, magnetic disk, magneto-optical disk, optical disk, USB (Universal Serial Bus) memory, or memory card. It may be a storage medium.
  また、撮影モードにおいて、例えば、カメラ部926は、被写体を撮像して画像データを生成し、生成した画像データを画像処理部927へ出力する。画像処理部927は、カメラ部926から入力される画像データを符号化し、符号化ストリームを記憶再生部929の記憶媒体に記憶させる。 In the shooting mode, for example, the camera unit 926 images a subject to generate image data, and outputs the generated image data to the image processing unit 927. The image processing unit 927 encodes the image data input from the camera unit 926 and stores the encoded stream in the storage medium of the storage / playback unit 929.
  また、テレビ電話モードにおいて、例えば、多重分離部928は、画像処理部927により符号化された映像ストリームと、音声コーデック923から入力される音声ストリームとを多重化し、多重化したストリームを通信部922へ出力する。通信部922は、ストリームを符号化及び変調し、送信信号を生成する。そして、通信部922は、生成した送信信号を、アンテナ921を介して基地局(図示せず)へ送信する。また、通信部922は、アンテナ921を介して受信される無線信号を増幅し及び周波数変換し、受信信号を取得する。これら送信信号及び受信信号には、符号化ビットストリームが含まれ得る。そして、通信部922は、受信信号を復調及び復号してストリームを復元し、復元したストリームを多重分離部928へ出力する。多重分離部928は、入力されるストリームから映像ストリーム及び音声ストリームを分離し、映像ストリームを画像処理部927、音声ストリームを音声コーデック923へ出力する。画像処理部927は、映像ストリームを復号し、映像データを生成する。映像データは、表示部930に供給され、表示部930により一連の画像が表示される。音声コーデック923は、音声ストリームを伸張し及びD/A変換し、アナログ音声信号を生成する。そして、音声コーデック923は、生成した音声信号をスピーカ924に供給して音声を出力させる。 Further, in the videophone mode, for example, the demultiplexing unit 928 multiplexes the video stream encoded by the image processing unit 927 and the audio stream input from the audio codec 923, and the multiplexed stream is the communication unit 922. Output to. The communication unit 922 encodes and modulates the stream and generates a transmission signal. Then, the communication unit 922 transmits the generated transmission signal to a base station (not shown) via the antenna 921. In addition, the communication unit 922 amplifies a radio signal received via the antenna 921 and performs frequency conversion to acquire a received signal. These transmission signal and reception signal may include an encoded bit stream. Then, the communication unit 922 demodulates and decodes the received signal to restore the stream, and outputs the restored stream to the demultiplexing unit 928. The demultiplexing unit 928 separates the video stream and the audio stream from the input stream, and outputs the video stream to the image processing unit 927 and the audio stream to the audio codec 923. The image processing unit 927 decodes the video stream and generates video data. The video data is supplied to the display unit 930, and a series of images is displayed on the display unit 930. The audio codec 923 decompresses the audio stream and performs D / A conversion to generate an analog audio signal. Then, the audio codec 923 supplies the generated audio signal to the speaker 924 to output audio.
  このように構成された携帯電話機920において、画像処理部927は、上述した実施形態に係るスケーラブル符号化装置100及びスケーラブル復号装置200の機能を有する。それにより、携帯電話機920での画像の符号化及び復号に際し、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 In the cellular phone 920 configured as described above, the image processing unit 927 has the functions of the scalable encoding device 100 and the scalable decoding device 200 according to the above-described embodiment. Accordingly, when encoding and decoding an image with the mobile phone 920, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
[第3の応用例:記録再生装置]
  図36は、上述した実施形態を適用した記録再生装置の概略的な構成の一例を示している。記録再生装置940は、例えば、受信した放送番組の音声データ及び映像データを符号化して記録媒体に記録する。また、記録再生装置940は、例えば、他の装置から取得される音声データ及び映像データを符号化して記録媒体に記録してもよい。また、記録再生装置940は、例えば、ユーザの指示に応じて、記録媒体に記録されているデータをモニタ及びスピーカ上で再生する。このとき、記録再生装置940は、音声データ及び映像データを復号する。
[Third application example: recording / reproducing apparatus]
FIG. 36 shows an example of a schematic configuration of a recording / reproducing apparatus to which the above-described embodiment is applied. For example, the recording / reproducing device 940 encodes audio data and video data of a received broadcast program and records the encoded data on a recording medium. In addition, the recording / reproducing device 940 may encode audio data and video data acquired from another device and record them on a recording medium, for example. In addition, the recording / reproducing device 940 reproduces data recorded on the recording medium on a monitor and a speaker, for example, in accordance with a user instruction. At this time, the recording / reproducing device 940 decodes the audio data and the video data.
  記録再生装置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 942, an encoder 943, an HDD (Hard Disk Drive) 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) 948, a control unit 949, and a user interface. 950.
  チューナ941は、アンテナ(図示せず)を介して受信される放送信号から所望のチャンネルの信号を抽出し、抽出した信号を復調する。そして、チューナ941は、復調により得られた符号化ビットストリームをセレクタ946へ出力する。即ち、チューナ941は、記録再生装置940における伝送部としての役割を有する。 Tuner 941 extracts a signal of a desired channel from a broadcast signal received via an antenna (not shown), and demodulates the extracted signal. Then, the tuner 941 outputs the encoded bit stream obtained by the demodulation to the selector 946. That is, the tuner 941 serves as a transmission unit in the recording / reproducing apparatus 940.
  外部インタフェース942は、記録再生装置940と外部機器又はネットワークとを接続するためのインタフェースである。外部インタフェース942は、例えば、IEEE1394インタフェース、ネットワークインタフェース、USBインタフェース、又はフラッシュメモリインタフェースなどであってよい。例えば、外部インタフェース942を介して受信される映像データ及び音声データは、エンコーダ943へ入力される。即ち、外部インタフェース942は、記録再生装置940における伝送部としての役割を有する。 The external interface 942 is an interface for connecting the recording / reproducing device 940 to an external device or a network. The external interface 942 may be, for example, an IEEE1394 interface, a network interface, a USB interface, or a flash memory interface. For example, video data and audio data received via the external interface 942 are input to the encoder 943. That is, the external interface 942 serves as a transmission unit in the recording / reproducing device 940.
  エンコーダ943は、外部インタフェース942から入力される映像データ及び音声データが符号化されていない場合に、映像データ及び音声データを符号化する。そして、エンコーダ943は、符号化ビットストリームをセレクタ946へ出力する。 Encoder 943 encodes video data and audio data when video data and audio data input from external interface 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
  HDD944は、映像及び音声などのコンテンツデータが圧縮された符号化ビットストリーム、各種プログラムおよびその他のデータを内部のハードディスクに記録する。また、HDD944は、映像及び音声の再生時に、これらデータをハードディスクから読み出す。 The HDD 944 records an encoded bit stream in which content data such as video and audio are compressed, various programs, and other data on an internal hard disk. Further, the HDD 944 reads out these data from the hard disk when reproducing video and audio.
  ディスクドライブ945は、装着されている記録媒体へのデータの記録及び読み出しを行う。ディスクドライブ945に装着される記録媒体は、例えばDVDディスク(DVD-Video、DVD-RAM、DVD-R、DVD-RW、DVD+R、DVD+RW等)又はBlu-ray(登録商標)ディスクなどであってよい。 The disk drive 945 records and reads data to and from the mounted recording medium. The recording medium mounted on the disk drive 945 is, for example, a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.) or a Blu-ray (registered trademark) disk. It may be.
  セレクタ946は、映像及び音声の記録時には、チューナ941又はエンコーダ943から入力される符号化ビットストリームを選択し、選択した符号化ビットストリームをHDD944又はディスクドライブ945へ出力する。また、セレクタ946は、映像及び音声の再生時には、HDD944又はディスクドライブ945から入力される符号化ビットストリームをデコーダ947へ出力する。 The selector 946 selects an encoded bit stream input from the tuner 941 or the encoder 943 when recording video and audio, and outputs the selected encoded bit stream to the HDD 944 or the disk drive 945. In addition, the selector 946 outputs the encoded bit stream input from the HDD 944 or the disk drive 945 to the decoder 947 during video and audio reproduction.
  デコーダ947は、符号化ビットストリームを復号し、映像データ及び音声データを生成する。そして、デコーダ947は、生成した映像データをOSD948へ出力する。また、デコーダ904は、生成した音声データを外部のスピーカへ出力する。 The decoder 947 decodes the encoded bit stream and generates video data and audio data. Then, the decoder 947 outputs the generated video data to the OSD 948. The decoder 904 outputs the generated audio data to an external speaker.
  OSD948は、デコーダ947から入力される映像データを再生し、映像を表示する。また、OSD948は、表示する映像に、例えばメニュー、ボタン又はカーソルなどのGUIの画像を重畳してもよい。 The OSD 948 reproduces the video data input from the decoder 947 and displays the video. Further, the OSD 948 may superimpose a GUI image such as a menu, a button, or a cursor on the video to be displayed.
  制御部949は、CPUなどのプロセッサ、並びにRAM及びROMなどのメモリを有する。メモリは、CPUにより実行されるプログラム、及びプログラムデータなどを記憶する。メモリにより記憶されるプログラムは、例えば、記録再生装置940の起動時にCPUにより読み込まれ、実行される。CPUは、プログラムを実行することにより、例えばユーザインタフェース950から入力される操作信号に応じて、記録再生装置940の動作を制御する。 The bag control unit 949 includes a processor such as a CPU and memories such as a RAM and a ROM. The memory stores a program executed by the CPU, program data, and the like. The program stored in the memory is read and executed by the CPU when the recording / reproducing apparatus 940 is activated, for example. The CPU controls the operation of the recording / reproducing apparatus 940 in accordance with an operation signal input from the user interface 950, for example, by executing the program.
  ユーザインタフェース950は、制御部949と接続される。ユーザインタフェース950は、例えば、ユーザが記録再生装置940を操作するためのボタン及びスイッチ、並びに遠隔制御信号の受信部などを有する。ユーザインタフェース950は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部949へ出力する。 The user interface 950 is connected to the control unit 949. The user interface 950 includes, for example, buttons and switches for the user to operate the recording / reproducing device 940, a remote control signal receiving unit, and the like. The user interface 950 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 949.
  このように構成された記録再生装置940において、エンコーダ943は、上述した実施形態に係るスケーラブル符号化装置100の機能を有する。また、デコーダ947は、上述した実施形態に係るスケーラブル復号装置200の機能を有する。それにより、記録再生装置940での画像の符号化及び復号に際し、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 In the recording / reproducing apparatus 940 configured as above, the encoder 943 has the function of the scalable encoding apparatus 100 according to the above-described embodiment. The decoder 947 has the function of the scalable decoding device 200 according to the above-described embodiment. Thereby, when encoding and decoding an image in the recording / reproducing apparatus 940, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
[第4の応用例:撮像装置]
  図37は、上述した実施形態を適用した撮像装置の概略的な構成の一例を示している。撮像装置960は、被写体を撮像して画像を生成し、画像データを符号化して記録媒体に記録する。
[Fourth Application Example: Imaging Device]
FIG. 37 shows an example of a schematic configuration of an imaging apparatus to which the above-described embodiment is applied. The imaging device 960 images a subject to generate an image, encodes the image data, and records it on a recording medium.
  撮像装置960は、光学ブロック961、撮像部962、信号処理部963、画像処理部964、表示部965、外部インタフェース966、メモリ967、メディアドライブ968、OSD969、制御部970、ユーザインタフェース971、及びバス972を備える。 The imaging device 960 includes an optical block 961, an imaging unit 962, a signal processing unit 963, an image processing unit 964, a display unit 965, an external interface 966, a memory 967, a media drive 968, an OSD 969, a control unit 970, a user interface 971, and a bus. 972.
  光学ブロック961は、撮像部962に接続される。撮像部962は、信号処理部963に接続される。表示部965は、画像処理部964に接続される。ユーザインタフェース971は、制御部970に接続される。バス972は、画像処理部964、外部インタフェース966、メモリ967、メディアドライブ968、OSD969、及び制御部970を相互に接続する。 The optical block 961 is connected to the imaging unit 962. The imaging unit 962 is connected to the signal processing unit 963. The display unit 965 is connected to the image processing unit 964. The user interface 971 is connected to the control unit 970. The bus 972 connects the image processing unit 964, the external interface 966, the memory 967, the media drive 968, the OSD 969, and the control unit 970 to each other.
  光学ブロック961は、フォーカスレンズ及び絞り機構などを有する。光学ブロック961は、被写体の光学像を撮像部962の撮像面に結像させる。撮像部962は、CCD(Charge Coupled Device)又はCMOS(Complementary Metal Oxide Semiconductor)などのイメージセンサを有し、撮像面に結像した光学像を光電変換によって電気信号としての画像信号に変換する。そして、撮像部962は、画像信号を信号処理部963へ出力する。 The optical block 961 includes a focus lens and a diaphragm mechanism. The optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 962. The imaging unit 962 includes an image sensor such as a CCD (Charge-Coupled Device) or a CMOS (Complementary Metal-Oxide Semiconductor), and converts an optical image formed on the imaging surface into an image signal as an electrical signal by photoelectric conversion. Then, the imaging unit 962 outputs the image signal to the signal processing unit 963.
  信号処理部963は、撮像部962から入力される画像信号に対してニー補正、ガンマ補正、色補正などの種々のカメラ信号処理を行う。信号処理部963は、カメラ信号処理後の画像データを画像処理部964へ出力する。 The eyelid signal processing unit 963 performs various camera signal processing such as knee correction, gamma correction, and color correction on the image signal input from the imaging unit 962. The signal processing unit 963 outputs the image data after the camera signal processing to the image processing unit 964.
  画像処理部964は、信号処理部963から入力される画像データを符号化し、符号化データを生成する。そして、画像処理部964は、生成した符号化データを外部インタフェース966又はメディアドライブ968へ出力する。また、画像処理部964は、外部インタフェース966又はメディアドライブ968から入力される符号化データを復号し、画像データを生成する。そして、画像処理部964は、生成した画像データを表示部965へ出力する。また、画像処理部964は、信号処理部963から入力される画像データを表示部965へ出力して画像を表示させてもよい。また、画像処理部964は、OSD969から取得される表示用データを、表示部965へ出力する画像に重畳してもよい。 The haze image processing unit 964 encodes the image data input from the signal processing unit 963 to generate encoded data. Then, the image processing unit 964 outputs the generated encoded data to the external interface 966 or the media drive 968. The image processing unit 964 also decodes encoded data input from the external interface 966 or the media drive 968 to generate image data. Then, the image processing unit 964 outputs the generated image data to the display unit 965. In addition, the image processing unit 964 may display the image by outputting the image data input from the signal processing unit 963 to the display unit 965. Further, the image processing unit 964 may superimpose display data acquired from the OSD 969 on an image output to the display unit 965.
  OSD969は、例えばメニュー、ボタン又はカーソルなどのGUIの画像を生成して、生成した画像を画像処理部964へ出力する。 The OSD 969 generates a GUI image such as a menu, a button, or a cursor, for example, and outputs the generated image to the image processing unit 964.
  外部インタフェース966は、例えばUSB入出力端子として構成される。外部インタフェース966は、例えば、画像の印刷時に、撮像装置960とプリンタとを接続する。また、外部インタフェース966には、必要に応じてドライブが接続される。ドライブには、例えば、磁気ディスク又は光ディスクなどのリムーバブルメディアが装着され、リムーバブルメディアから読み出されるプログラムが、撮像装置960にインストールされ得る。さらに、外部インタフェース966は、LAN又はインターネットなどのネットワークに接続されるネットワークインタフェースとして構成されてもよい。即ち、外部インタフェース966は、撮像装置960における伝送部としての役割を有する。 The external interface 966 is configured as a USB input / output terminal, for example. The external interface 966 connects the imaging device 960 and a printer, for example, when printing an image. Further, a drive is connected to the external interface 966 as necessary. For example, a removable medium such as a magnetic disk or an optical disk is attached to the drive, and a program read from the removable medium can be installed in the imaging device 960. Further, the external interface 966 may be configured as a network interface connected to a network such as a LAN or the Internet. That is, the external interface 966 has a role as a transmission unit in the imaging device 960.
  メディアドライブ968に装着される記録媒体は、例えば、磁気ディスク、光磁気ディスク、光ディスク、又は半導体メモリなどの、読み書き可能な任意のリムーバブルメディアであってよい。また、メディアドライブ968に記録媒体が固定的に装着され、例えば、内蔵型ハードディスクドライブ又はSSD(Solid State Drive)のような非可搬性の記憶部が構成されてもよい。 The recording medium loaded in the media drive 968 may be any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory. In addition, a recording medium may be fixedly mounted on the media drive 968, and a non-portable storage unit such as an internal hard disk drive or an SSD (Solid State Drive) may be configured.
  制御部970は、CPUなどのプロセッサ、並びにRAM及びROMなどのメモリを有する。メモリは、CPUにより実行されるプログラム、及びプログラムデータなどを記憶する。メモリにより記憶されるプログラムは、例えば、撮像装置960の起動時にCPUにより読み込まれ、実行される。CPUは、プログラムを実行することにより、例えばユーザインタフェース971から入力される操作信号に応じて、撮像装置960の動作を制御する。 The bag control unit 970 includes a processor such as a CPU and memories such as a RAM and a ROM. The memory stores a program executed by the CPU, program data, and the like. The program stored in the memory is read and executed by the CPU when the imaging device 960 is activated, for example. For example, the CPU controls the operation of the imaging device 960 according to an operation signal input from the user interface 971 by executing the program.
  ユーザインタフェース971は、制御部970と接続される。ユーザインタフェース971は、例えば、ユーザが撮像装置960を操作するためのボタン及びスイッチなどを有する。ユーザインタフェース971は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部970へ出力する。 The user interface 971 is connected to the control unit 970. The user interface 971 includes, for example, buttons and switches for the user to operate the imaging device 960. The user interface 971 detects an operation by the user via these components, generates an operation signal, and outputs the generated operation signal to the control unit 970.
  このように構成された撮像装置960において、画像処理部964は、上述した実施形態に係るスケーラブル符号化装置100及びスケーラブル復号装置200の機能を有する。それにより、撮像装置960での画像の符号化及び復号に際し、動きベクトルの符号化または復号において並列処理またはパイプライン処理を行うことができる。 In the imaging device 960 configured as described above, the image processing unit 964 has the functions of the scalable encoding device 100 and the scalable decoding device 200 according to the above-described embodiment. Thereby, when encoding and decoding an image by the imaging device 960, parallel processing or pipeline processing can be performed in encoding or decoding of a motion vector.
  <6.スケーラブル符号化の応用例>
[第1のシステム]
  次に、スケーラブル符号化(階層符号化)されたスケーラブル符号化データの具体的な利用例について説明する。スケーラブル符号化は、例えば、図38に示される例のように、伝送するデータの選択のために利用される。
<6. Application example of scalable coding>
[First system]
Next, a specific usage example of scalable encoded data that has been subjected to scalable encoding (hierarchical encoding) will be described. The scalable coding is used for selection of data to be transmitted, for example, as in the example shown in FIG.
  図38に示されるデータ伝送システム1000において、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを読み出し、ネットワーク1003を介して、パーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置に配信する。 In the data transmission system 1000 shown in FIG. 38, 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 that 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 high-quality data unnecessarily, a high-quality image is not always obtained in the terminal device, which 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として伝送する。 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 that 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 delays and overflows can be suppressed, and unnecessary increases in the load on terminal devices and communication media 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 mobile 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 number 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.
  そして、以上のようなデータ伝送システム1000においても、第1の実施の形態および第2の実施の形態において上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、第1の実施の形態および第2の実施の形態において上述した効果と同様の効果を得ることができる。 In the data transmission system 1000 as described above, the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above in the first embodiment and the second embodiment. Effects similar to those described above in the first embodiment and the second embodiment can be obtained.
[第2のシステム]
  また、スケーラブル符号化は、例えば、図39に示される例のように、複数の通信媒体を介する伝送のために利用される。
[Second system]
Also, scalable coding is used for transmission via a plurality of communication media as in the example shown in FIG. 39, for example.
  図39に示されるデータ伝送システム1100において、放送局1101は、地上波放送1111により、ベースレイヤのスケーラブル符号化データ(BL)1121を伝送する。また、放送局1101は、有線若しくは無線またはその両方の通信網よりなる任意のネットワーク1112を介して、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する(例えばパケット化して伝送する)。 39. In the data transmission system 1100 shown in FIG. 39, a broadcasting station 1101 transmits base layer scalable encoded data (BL) 1121 by terrestrial broadcasting 1111. 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を受け取る。 Terminal device 1102 has a reception function of terrestrial broadcast 1111 broadcasted by broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via 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, for example, different communication media for each layer. 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の利用可能帯域幅に応じて切り替えるようにしてもよい。もちろん、任意のレイヤのデータについて同様である。 In addition, depending on the situation, a 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.
  そして、以上のようなデータ伝送システム1100においても、第1の実施の形態および第2の実施の形態において上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、第1の実施の形態および第2の実施の形態において上述した効果と同様の効果を得ることができる。 In the data transmission system 1100 as described above, the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above in the first and second embodiments. Effects similar to those described above in the first embodiment and the second embodiment can be obtained.
[第3のシステム]
  また、スケーラブル符号化は、例えば、図40に示される例のように、符号化データの記憶に利用される。
[Third system]
Further, scalable encoding is used for storing encoded data as in the example shown in FIG. 40, for example.
  図40に示される撮像システム1200において、撮像装置1201は、被写体1211を撮像して得られた画像データをスケーラブル符号化し、スケーラブル符号化データ(BL+EL)1221として、スケーラブル符号化データ記憶装置1202に供給する。 In the imaging system 1200 illustrated in FIG. 40, the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as a 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, it is assumed 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に伝送するようにしてもよい。 It should be noted that whether it is the normal time or the attention time may be determined by the scalable encoded data storage device 1202 analyzing the 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に供給するようにしてもよい。 In addition, 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 description, the surveillance camera has been described as an example. However, the use of the imaging system 1200 is arbitrary and is not limited to the surveillance camera.
  そして、以上のような撮像システム1200においても、第1の実施の形態および第2の実施の形態において上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、第1の実施の形態および第2の実施の形態において上述した効果と同様の効果を得ることができる。 In the imaging system 1200 as described above, the first technique and the second embodiment are applied in the same manner as the application to the hierarchical encoding / decoding described above, whereby the first technique is applied. Effects similar to those described above in the second embodiment and the second embodiment can be obtained.
  なお、本技術は、予め用意された解像度等が互いに異なる複数の符号化データの中から適切なものをセグメント単位で選択して使用する、例えばMPEG DASH等のようなHTTPストリーミングにも適用することができる。つまり、このような複数の符号化データ間で、符号化や復号に関する情報を共有することもできる。 Note that the present technology can also be applied to HTTP streaming such as MPEGASHDASH, for example, by selecting an appropriate piece of data from a plurality of encoded data with different resolutions prepared in advance. Can do. That is, information regarding encoding and decoding can be shared among a plurality of such encoded data.
  また、本明細書では、各種情報が、符号化ストリームに多重化されて、符号化側から復号側へ伝送される例について説明した。しかしながら、これら情報を伝送する手法はかかる例に限定されない。例えば、これら情報は、符号化ビットストリームに多重化されることなく、符号化ビットストリームと関連付けられた別個のデータとして伝送され又は記録されてもよい。ここで、「関連付ける」という用語は、ビットストリームに含まれる画像(スライス若しくはブロックなど、画像の一部であってもよい)と当該画像に対応する情報とを復号時にリンクさせ得るようにすることを意味する。即ち、情報は、画像(又はビットストリーム)とは別の伝送路上で伝送されてもよい。また、情報は、画像(又はビットストリーム)とは別の記録媒体(又は同一の記録媒体の別の記録エリア)に記録されてもよい。さらに、情報と画像(又はビットストリーム)とは、例えば、複数フレーム、1フレーム、又はフレーム内の一部分などの任意の単位で互いに関連付けられてよい。 In addition, in the present specification, an example in which various types of information are multiplexed into an 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.
  以上、添付図面を参照しながら本開示の好適な実施形態について詳細に説明したが、本開示はかかる例に限定されない。本開示の属する技術の分野における通常の知識を有する者であれば、請求の範囲に記載された技術的思想の範疇内において、各種の変更例または修正例に想到し得ることは明らかであり、これらについても、当然に本開示の技術的範囲に属するものと了解される。 The preferred embodiments of the present disclosure have been described above in detail with reference to the accompanying drawings, but the present disclosure is not limited to such examples. It is obvious that a person having ordinary knowledge in the technical field to which the present disclosure belongs can come up with various changes or modifications within the scope of the technical idea described in the claims. Of course, it is understood that these also belong to the technical scope of the present disclosure.
 なお、本技術は以下のような構成も取ることができる。
 (1) 複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取る受け取り部と、
 カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記受け取り部により受け取られた動き情報符号化データを復号する動き情報復号部と、
 前記動き情報復号部により動き情報符号化データが復号されて得られた動き情報を用いて、前記受け取り部により受け取られた前記階層画像符号化データを復号する復号部と
  を備える画像処理装置。
 (2)  前記動き情報符号化データは、マージ(Merge)モードにより符号化されている
 前記(1)に記載の画像処理装置。
 (3) 前記動き情報符号化データは、AMVP(Advanced Motion Vector Prediction)モードにより符号化されている
 前記(1)に記載の画像処理装置。
 (4) 前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
 前記(1)乃至(3)のいずれかに記載の画像処理装置。
 (5) 前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
 前記(1)乃至(3)のいずれかに記載の画像処理装置。
 (6) 前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている
 前記(1)乃至(5)のいずれかに記載の画像処理装置。
 (7) 前記動き情報復号部は、並列またはパイプラインの処理により、前記受け取り部により受け取られた動き情報符号化データを復号する
 前記(1)乃至(6)のいずれかに記載の画像処理装置。
 (8) 画像処理装置が、
 複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取り、
 カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、受け取られた動き情報符号化データを復号し、
 動き情報符号化データが復号されて得られた動き情報を用いて、受け取られた前記階層画像符号化データを復号する
  を含む画像処理方法。
 (9) 複数階層化された画像データを、動き情報を用いて符号化する符号化部と、
  カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する動き情報符号化部と、
  前記符号化部により前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報符号化部により前記動き情報が符号化されて得られた動き情報符号化データとを伝送する伝送部と
  を備える画像処理装置。
 (10) 前記動き情報符号化部は、マージ(Merge)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
 前記(9)に記載の画像処理装置。
 (11) 前記動き情報符号化部は、AMVP(Advanced Motion Vector Prediction)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
 前記(9)に記載の画像処理装置。
 (12) 前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
 前記(9)乃至(11)のいずれかに記載の画像処理装置。
 (13) 前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
 前記(9)乃至(11)のいずれかに記載の画像処理装置。
 (14) 前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている
 前記(9)乃至(13)のいずれかに記載の画像処理装置。
 (15) 前記動き情報符号化部は、並列またはパイプラインの処理により、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
 前記(9)乃至(14)のいずれかに記載の画像処理装置。
 (16) 画像処理装置が、
  複数階層化された画像データを、動き情報を用いて符号化し、
  カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記画像データの符号化に用いられた前記動き情報を符号化し、
  前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報が符号化されて得られた動き情報符号化データとを伝送する
 画像処理方法。
In addition, this technique can also take the following structures.
(1) a receiving unit that receives hierarchical image encoded data obtained by encoding image data that has been formed into a plurality of hierarchies, and motion information encoded data obtained by encoding motion information used for encoding the image data; ,
In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy A motion information decoding unit that references the motion information of the corresponding block corresponding to the adjacent reference block and decodes the motion information encoded data received by the receiving unit;
An image processing apparatus comprising: a decoding unit that decodes the hierarchical image encoded data received by the receiving unit using motion information obtained by decoding motion information encoded data by the motion information decoding unit.
(2) The image processing device according to (1), wherein the motion information encoded data is encoded in a merge mode.
(3) The image processing device according to (1), wherein the motion information encoded data is encoded by an AMVP (Advanced Motion Vector Prediction) mode.
(4) In the lower hierarchy, the motion information decoding unit defines, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the center of the adjacent reference block in the current hierarchy as the corresponding block. The image processing device according to any one of (1) to (3), wherein block motion information is referred to.
(5) The motion information decoding unit, as the corresponding block corresponding to the adjacent reference block, the block including the pixel corresponding to the pixel located in the upper left of the adjacent reference block in the current layer in the lower layer The image processing device according to any one of (1) to (3), wherein block motion information is referred to.
(6) The image processing apparatus according to any one of (1) to (5), wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
(7) The image processing device according to any one of (1) to (6), wherein the motion information decoding unit decodes the motion information encoded data received by the receiving unit by parallel or pipeline processing. .
(8) The image processing apparatus is
Receiving hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and motion information encoded data obtained by encoding motion information used for encoding the image data;
In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, decoding the received motion information encoded data;
An image processing method comprising: decoding received hierarchical image encoded data using motion information obtained by decoding motion information encoded data.
(9) an encoding unit that encodes image data that has been hierarchized using motion information;
In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy A motion information encoding unit that references the motion information of a corresponding block corresponding to an adjacent reference block and encodes the motion information used for encoding the image data by the encoding unit;
The encoded image data obtained by encoding the image data by the encoding unit and the motion information encoded data obtained by encoding the motion information by the motion information encoding unit are transmitted. An image processing apparatus comprising: a transmission unit.
(10) The motion information encoding unit includes an adjacent reference block adjacent to a current block in the processing block and referred to motion information in a merge or parallel processing block in a merge mode. And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer The image processing apparatus according to (9).
(11) The motion information encoding unit is adjacent to the current block in the processing block in a parallel or pipeline processing block in an AMVP (Advanced Motion Vector Prediction) mode, and an adjacent reference block to which motion information is referred. In the lower layer of the current layer, the motion information used for encoding the image data by the encoding unit with reference to the motion information of the corresponding block corresponding to the adjacent reference block The image processing apparatus according to (9).
(12) The motion information encoding unit may include, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer. The image processing device according to any one of (9) to (11), wherein the motion information of the corresponding block is referred to.
(13) The motion information encoding unit may include, as the corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer. The image processing device according to any one of (9) to (11), wherein the motion information of the corresponding block is referred to.
(14) The image processing apparatus according to any one of (9) to (13), wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
(15) The motion information encoding unit encodes the motion information used for encoding the image data by the encoding unit through parallel or pipeline processing. (9) to (14) The image processing apparatus according to any one of the above.
(16) The image processing apparatus
Encode multi-layered image data using motion information,
In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, encoding the motion information used for encoding the image data;
An image processing method for transmitting hierarchical image encoded data obtained by encoding the image data and motion information encoded data obtained by encoding the motion information.
  100  スケーラブル符号化装置,  101  共通情報生成部,  102  符号化制御部,  103  ベースレイヤ画像符号化部,  104  動き情報符号化部,  105  エンハンスメントレイヤ画像符号化部,  116  可逆符号化部,  125  動き予測・補償部,  135  動き予測・補償部,  151  パラレルマージ設定部,  152  マージ処理部,  153  動き情報圧縮部,  154  ベースレイヤ動き情報バッファ,  161  候補予測動きベクトルバッファ部,  162  スケーリング部,  163  隣接動き情報バッファ,  164  MER情報バッファ,  165  MER内判定部,  166  アベイラビリティ判定部,  200  スケーラブル復号装置,  201  共通情報取得部,  202  復号制御部,  203  ベースレイヤ画像復号部,  204  動き情報復号部,  205  エンハンスメントレイヤ画像復号部,  212  可逆復号部,  222  動き補償部,  232  動き補償部,  251  パラレルマージ復号部,  252  マージ処理部,  253  動き情報圧縮部,  254  ベースレイヤ動き情報バッファ,  261  候補予測動きベクトルバッファ,  262  スケーリング部,  263  隣接動き情報バッファ,  264  MER情報バッファ,  265 MER内判定部,  266  アベイラビリティ判定部 100 ケ ー scalable encoding device, 101 common information generation unit, 102 encoding control unit, 103 base layer image encoding unit, 104 motion information encoding unit, 105 enhancement layer image encoding unit, 116 lossless encoding unit, 125 motion prediction・ Compensation unit, 135 motion prediction / compensation unit, 151 parallel merge setting unit, 152 merge processing unit, 153 motion information compression unit, 154 base layer motion information buffer, 161 candidate prediction motion vector buffer unit, 162 scaling unit, 163 adjacent motion Information buffer, 164 MER information buffer, 165 decision unit within MER, 166 availability determination unit, 200 scalable decoding device, 201 common information acquisition unit, 202 decoding control unit, 203 base layer image decoding unit, 204 motion information decoding unit, 205 enhancement layer image decoding unit, 212 reversible decoding unit, 222 motion compensation unit, 232 motion compensation unit, 251 parallel merge decoding unit, 252 merge processing unit , 253 motion information compression unit, 254 base layer motion information buffer, 261 candidate prediction motion vector buffer, 262 scaling unit, 263 neighboring motion information buffer, 264 MER information buffer, 265 intra-MER determination unit, 266 availability determination unit

Claims (16)

  1.  複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取る受け取り部と、
     カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記受け取り部により受け取られた動き情報符号化データを復号する動き情報復号部と、
     前記動き情報復号部により動き情報符号化データが復号されて得られた動き情報を用いて、前記受け取り部により受け取られた前記階層画像符号化データを復号する復号部と
      を備える画像処理装置。
    A receiving unit that receives hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and motion information encoded data obtained by encoding motion information used for encoding the image data;
    In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy A motion information decoding unit that references the motion information of the corresponding block corresponding to the adjacent reference block and decodes the motion information encoded data received by the receiving unit;
    An image processing apparatus comprising: a decoding unit that decodes the hierarchical image encoded data received by the receiving unit using motion information obtained by decoding motion information encoded data by the motion information decoding unit.
  2.  前記動き情報符号化データは、マージ(Merge)モードにより符号化されている
     請求項1に記載の画像処理装置。
    The image processing apparatus according to claim 1, wherein the motion information encoded data is encoded in a merge mode.
  3.  前記動き情報符号化データは、AMVP(Advanced Motion Vector Prediction)モードにより符号化されている
     請求項1に記載の画像処理装置。
    The image processing apparatus according to claim 1, wherein the motion information encoded data is encoded by an AMVP (Advanced Motion Vector Prediction) mode.
  4.  前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
     請求項1に記載の画像処理装置。
    The motion information decoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer as a motion of the corresponding block. The image processing apparatus according to claim 1, wherein information is referred to.
  5.  前記動き情報復号部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
     請求項1に記載の画像処理装置。
    The motion information decoding unit, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer, the motion of the corresponding block The image processing apparatus according to claim 1, wherein information is referred to.
  6.  前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている
     請求項1に記載の画像処理装置。
    The image processing apparatus according to claim 1, wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
  7.  前記動き情報復号部は、並列またはパイプラインの処理により、前記受け取り部により受け取られた動き情報符号化データを復号する
     請求項1に記載の画像処理装置。
    The image processing device according to claim 1, wherein the motion information decoding unit decodes the motion information encoded data received by the receiving unit by parallel or pipeline processing.
  8.  画像処理装置が、
     複数階層化された画像データが符号化された階層画像符号化データと、前記画像データの符号化に用いられた動き情報が符号化された動き情報符号化データとを受け取り、
     カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、受け取られた動き情報符号化データを復号し、
     動き情報符号化データが復号されて得られた動き情報を用いて、受け取られた前記階層画像符号化データを復号する
      を含む画像処理方法。
    The image processing device
    Receiving hierarchical image encoded data obtained by encoding a plurality of hierarchized image data, and motion information encoded data obtained by encoding motion information used for encoding the image data;
    In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, decoding the received motion information encoded data;
    An image processing method comprising: decoding received hierarchical image encoded data using motion information obtained by decoding motion information encoded data.
  9.   複数階層化された画像データを、動き情報を用いて符号化する符号化部と、
      カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する動き情報符号化部と、
      前記符号化部により前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報符号化部により前記動き情報が符号化されて得られた動き情報符号化データとを伝送する伝送部と
      を備える画像処理装置。
    An encoding unit that encodes the multi-layered image data using motion information;
    In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy A motion information encoding unit that references the motion information of a corresponding block corresponding to an adjacent reference block and encodes the motion information used for encoding the image data by the encoding unit;
    The encoded image data obtained by encoding the image data by the encoding unit and the motion information encoded data obtained by encoding the motion information by the motion information encoding unit are transmitted. An image processing apparatus comprising: a transmission unit.
  10.  前記動き情報符号化部は、マージ(Merge)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
     請求項9に記載の画像処理装置。
    When the motion information encoding unit includes an adjacent reference block adjacent to the current block in the processing block and referenced to the motion information in the parallel or pipeline processing block in the merge mode The motion information used for encoding the image data by the encoding unit is encoded with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer. The image processing apparatus according to 9.
  11.  前記動き情報符号化部は、AMVP(Advanced Motion Vector Prediction)モードの並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
     請求項9に記載の画像処理装置。
    The motion information encoding unit includes an adjacent reference block adjacent to a current block in the processing block and referred to motion information in a parallel or pipeline processing block in an AMVP (Advanced Motion Vector Prediction) mode. And encoding the motion information used for encoding the image data by the encoding unit with reference to motion information of a corresponding block corresponding to the adjacent reference block in a lower layer of the current layer The image processing apparatus according to claim 9.
  12.  前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの中央に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
     請求項9に記載の画像処理装置。
    The motion information encoding unit includes, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located at the center of the adjacent reference block in the current layer in the lower layer, The image processing apparatus according to claim 9, wherein motion information is referred to.
  13.  前記動き情報符号化部は、前記下位階層において、前記カレント階層における隣接参照ブロックの左上に位置する画素に対応する画素を含むブロックを、前記隣接参照ブロックに対応する対応ブロックとして、前記対応ブロックの動き情報を参照する
     請求項9に記載の画像処理装置。
    The motion information encoding unit uses, as a corresponding block corresponding to the adjacent reference block, a block including a pixel corresponding to a pixel located in the upper left of the adjacent reference block in the current layer in the lower layer. The image processing apparatus according to claim 9, wherein motion information is referred to.
  14.  前記対応ブロックの動き情報は、圧縮された状態でバッファに格納されている
     請求項9に記載の画像処理装置。
    The image processing apparatus according to claim 9, wherein the motion information of the corresponding block is stored in a buffer in a compressed state.
  15.  前記動き情報符号化部は、並列またはパイプラインの処理により、前記符号化部による前記画像データの符号化に用いられた前記動き情報を符号化する
     請求項9に記載の画像処理装置。
    The image processing apparatus according to claim 9, wherein the motion information encoding unit encodes the motion information used for encoding the image data by the encoding unit by parallel or pipeline processing.
  16.   画像処理装置が、
      複数階層化された画像データを、動き情報を用いて符号化し、
      カレント階層において、並列またはパイプラインの処理ブロック内に、前記処理ブロック内のカレントブロックに隣接し、動き情報が参照される隣接参照ブロックが含まれている場合、前記カレント階層の下位階層において、前記隣接参照ブロックに対応する対応ブロックの動き情報を参照して、前記画像データの符号化に用いられた前記動き情報を符号化し、
      前記画像データが符号化されて得られた階層画像符号化データと、前記動き情報が符号化されて得られた動き情報符号化データとを伝送する
     画像処理方法。
    The image processing device
    Encode multi-layered image data using motion information,
    In the current hierarchy, when a parallel or pipeline processing block includes an adjacent reference block that is adjacent to the current block in the processing block and to which motion information is referred, the lower hierarchy of the current hierarchy Referring to the motion information of the corresponding block corresponding to the adjacent reference block, encoding the motion information used for encoding the image data;
    An image processing method for transmitting hierarchical image encoded data obtained by encoding the image data and motion information encoded data obtained by encoding the motion information.
PCT/JP2014/055007 2013-03-12 2014-02-28 Image processing device and method WO2014141899A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-048999 2013-03-12
JP2013048999 2013-03-12

Publications (1)

Publication Number Publication Date
WO2014141899A1 true WO2014141899A1 (en) 2014-09-18

Family

ID=51536572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/055007 WO2014141899A1 (en) 2013-03-12 2014-02-28 Image processing device and method

Country Status (1)

Country Link
WO (1) WO2014141899A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019057886A (en) * 2017-09-22 2019-04-11 キヤノン株式会社 Encoder, encoding method, and program
CN110495175A (en) * 2017-03-31 2019-11-22 明达半导体股份有限公司 Image processing method for being handled the motion information for parallel processing, method and apparatus for the method for being decoded and encoding using the image processing method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012191513A (en) * 2011-03-11 2012-10-04 Sony Corp Image processing apparatus and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012191513A (en) * 2011-03-11 2012-10-04 Sony Corp Image processing apparatus and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHUL KEUN KIM ET AL.: "Non-TE 5: Motion assignment for Intra/Intra BL at enhancement layer", 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 *
MINHUA ZHOU, JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP3 AND ISO/IEC JTC1/SC29/WG11 8TH MEETING, 1 February 2012 (2012-02-01), SAN JOSE, CA , USA *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110495175A (en) * 2017-03-31 2019-11-22 明达半导体股份有限公司 Image processing method for being handled the motion information for parallel processing, method and apparatus for the method for being decoded and encoding using the image processing method
CN110495175B (en) * 2017-03-31 2022-10-18 明达半导体股份有限公司 Image decoding method and image encoding method
JP2019057886A (en) * 2017-09-22 2019-04-11 キヤノン株式会社 Encoder, encoding method, and program

Similar Documents

Publication Publication Date Title
JP6670812B2 (en) Encoding device and encoding method
JP5904268B2 (en) Image processing apparatus and method, recording medium, and program
JP6358475B2 (en) Image decoding apparatus and method, and image encoding apparatus and method
US10412397B2 (en) Image processing device and method
WO2013094385A1 (en) Image processing device and method
JPWO2014050676A1 (en) Image processing apparatus and method
WO2014050731A1 (en) Image processing device and method
US9930353B2 (en) Image decoding device and method
WO2014103774A1 (en) Image processing device and method
WO2014103764A1 (en) Image processing device and method
WO2014141899A1 (en) Image processing device and method
WO2014002900A1 (en) Image processing device, and image processing method
WO2014050732A1 (en) Encoding device, encoding method, decoding device, and decoding method
WO2015098563A1 (en) Image encoding device and method and image decoding device and method
WO2014141964A1 (en) Image processing device and method
WO2014156707A1 (en) Image encoding device and method and image decoding device and 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

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP