WO2014162916A1 - Image encoding apparatus and method, and image decoding apparatus and method - Google Patents

Image encoding apparatus and method, and image decoding apparatus and method Download PDF

Info

Publication number
WO2014162916A1
WO2014162916A1 PCT/JP2014/058160 JP2014058160W WO2014162916A1 WO 2014162916 A1 WO2014162916 A1 WO 2014162916A1 JP 2014058160 W JP2014058160 W JP 2014058160W WO 2014162916 A1 WO2014162916 A1 WO 2014162916A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
unit
encoding
decoding
layer
Prior art date
Application number
PCT/JP2014/058160
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 WO2014162916A1 publication Critical patent/WO2014162916A1/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/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/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/187Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a scalable video layer
    • 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
    • H04N19/33Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
    • 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
    • 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/58Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/159Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction

Definitions

  • the present disclosure relates to an image encoding apparatus and method, and an image decoding apparatus and method, and in particular, an image encoding apparatus and method capable of suppressing an increase in encoding or decoding load, and an image decoding apparatus. And the method.
  • MPEG2 (ISO / IEC 13818-2) is defined as a general-purpose image encoding system, and is a standard that covers both interlaced scanning images and progressive scanning images, as well as standard resolution images and high-definition images.
  • MPEG2 is currently widely used in a wide range of applications for professional and consumer applications.
  • a code amount (bit rate) of 4 to 8 Mbps is assigned to an interlaced scanned image having a standard resolution of 720 ⁇ 480 pixels.
  • a high resolution interlaced scanned image having 1920 ⁇ 1088 pixels is assigned a code amount (bit rate) of 18 to 22 Mbps.
  • bit rate code amount
  • MPEG2 was mainly intended for high-quality encoding suitable for broadcasting, but did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate.
  • bit rate code amount
  • MPEG4 encoding system has been standardized accordingly.
  • the standard was approved as an international standard in December 1998 as ISO / IEC 14496-2.
  • H.26L International Telecommunication Union Telecommunication Standardization Sector
  • Q6 / 16 VCEG Video Coding Expert Group
  • H.26L is known to achieve higher encoding efficiency than the conventional encoding schemes such as MPEG2 and MPEG4, although a large amount of calculation is required for encoding and decoding.
  • Joint ⁇ ⁇ ⁇ ⁇ Model of Enhanced-Compression Video Coding has been implemented based on this H.26L and incorporating functions not supported by H.26L to achieve higher coding efficiency. It was broken.
  • AVC Advanced Video Coding
  • HEVC High Efficiency Video Video Coding
  • JCTVC Joint Collaboration Collaboration Team Video Coding
  • ISO / IEC ISO / IEC
  • the standardization of the encoding method called is being advanced.
  • CommitteeCommitdraft which is a draft version specification, was issued in January 2013 (see Non-Patent Document 1, for example).
  • an interpolation filter for motion compensation is defined.
  • the luminance signal is subjected to motion compensation with 1/4 pixel accuracy using an 8-tap filter.
  • the color difference signal is subjected to motion compensation with 1/8 pixel accuracy using a 4-tap filter.
  • the processing is specified to be within 16-bit accuracy.
  • DCT-IF see, for example, Non-Patent Document 2.
  • Non-Patent Document 3 It has also been proposed to use a 1/8 pixel precision filter as a motion compensation filter (see, for example, Non-Patent Document 3).
  • the conventional image encoding methods such as MPEG-2 and AVC have a scalability function for encoding an image by layering it into a plurality of layers.
  • the same hierarchical coding / hierarchical decoding also referred to as scalable coding / scalable decoding
  • image data to be processed is hierarchized, and a base layer (Base layer) that performs encoding / decoding without referring to other layers and other layers (base
  • Base layer that performs encoding / decoding without referring to other layers and other layers
  • base layer that performs encoding / decoding without referring to other layers and other layers
  • enhancement layer enhancement layer that performs encoding / decoding with reference to a layer or another enhancement layer
  • Non-Patent Document 4 two methods, a method called Ref_idx and a method called TextureBL, are defined as a framework for scalability as described below.
  • the decoded image in the base layer (Baselayer) is stored in the frame memory as a part of the reference frame, and the enhancement layer (Enhancementlayer) is encoded and decoded using this. Done.
  • TextureBL Framework enhancement layer encoding / decoding is performed using a decoded image in the base layer as one of intra prediction modes.
  • JCTVC-L1003_v4 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: Geneva, CH, 14-23 Jan.
  • JCTVC-A124 Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO / IEC JTC1 / SC29 / WG111st Meeting: Dres -23 April, 2010 Toshiyasu Sugio, Takahiro Nishi, "Picture Adaptive 1 / 8-pel Motion Compensation Method", JCTVC-F471, Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG16 WP3 and ISO / IEC JTC1 / SC29 / WG116th : Torino, IT, 14-22 July, 2011 Jianle Chen, Jill Boyce, Yan Ye
  • the interpolation process according to the motion vector accuracy is performed in the motion prediction / compensation process. Stages of redundant filtering were performed. In other words, such redundant filter processing may unnecessarily increase the encoding / decoding load.
  • This disclosure has been made in view of such a situation, and is intended to suppress an increase in encoding or decoding load.
  • a reference image used for encoding image data including a plurality of layers is subjected to filtering processing with accuracy according to the layer of the reference image, and the filtering processing is performed by the filtering unit.
  • An image encoding apparatus comprising: an encoding unit that encodes a current layer of the image data using the reference image.
  • the filter unit may perform an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. it can.
  • the filter unit When the reference image is a current layer image, the filter unit performs the filtering process with 1/4 pixel accuracy, and the reference image is an image of another layer whose resolution is 1 ⁇ 2 of the current layer. In some cases, the filtering process can be performed with 1/8 pixel accuracy.
  • the image processing apparatus further includes a storage unit that stores an image to be used as the reference image, the storage unit stores a plurality of reference frames, and the filter unit reads an image read out from the storage unit as the reference image.
  • the filtering process can be performed with accuracy according to the type of reference frame from which the reference image is read.
  • a transmission unit that transmits information related to the filtering process on the image read from the reference frame of the storage unit as the reference image may be further provided.
  • the transmission unit can transmit control information for specifying a layer of an image stored as a long-term reference frame, which is one of the reference frames, in the storage unit as information relating to the filtering process.
  • the transmission unit transmits information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information uses the image of the long term reference frame as a reference image. Only when this is indicated, the control information can be further transmitted.
  • the storage unit further includes a setting unit that sets a layer of an image stored as a long-term reference frame that is one of the reference frames, and the filter unit reads the reference image from the long-term reference frame.
  • the filtering process can be performed with an accuracy according to the layer set by the setting unit.
  • the filter unit can omit the intra smoothing process for the reference image that is an image of another layer different from the current layer.
  • a reference image used for encoding image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image, and the filtered reference image is And an image encoding method for encoding a current layer of the image data.
  • a filter unit that performs a filtering process with accuracy according to a layer of the reference image on a reference image used for decoding encoded data of image data including a plurality of layers
  • An image decoding apparatus comprising: a decoding unit that performs decoding of a current layer of the encoded data using the filtered reference image.
  • the filter unit may perform an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. it can.
  • the filter unit When the reference image is a current layer image, the filter unit performs the filtering process with 1/4 pixel accuracy, and the reference image is an image of another layer whose resolution is 1 ⁇ 2 of the current layer. In some cases, the filtering process can be performed with 1/8 pixel accuracy.
  • the image processing apparatus further includes a storage unit that stores the reference image, the storage unit stores a plurality of reference frames, and the filter unit performs the reference image on the image read out from the storage unit as the reference image.
  • the filter processing can be performed with an accuracy according to the type of the reference frame from which is read.
  • a receiving unit that receives information related to the filtering process on the image read from the reference frame of the storage unit as the reference image can be further provided.
  • the receiving unit receives control information for specifying a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit as information relating to the filtering process, and the filtering unit includes the reference
  • the filtering process can be performed with an accuracy according to the layer specified by the control information received by the receiving unit.
  • the receiving unit receives information indicating whether the image of the long term reference frame is used as a reference image as information relating to the filtering process, and the information uses the image of the long term reference frame as a reference image.
  • the control information can further be received only when
  • the filter unit further includes an accuracy control unit that determines the accuracy of the filtering process according to the type of the reference frame from which the reference image has been read out and the control information received by the receiving unit.
  • the filtering process can be performed with the accuracy determined by the accuracy control unit.
  • the filter unit can omit the intra smoothing process for the reference image that is an image of another layer different from the current layer.
  • a reference image used for decoding encoded data of image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image.
  • the current layer of the encoded data is decoded using the reference image.
  • filter processing is performed on a reference image used for encoding image data including a plurality of layers with accuracy according to the layer of the reference image, and the filtered reference image is used.
  • the current layer of image data is encoded.
  • a reference image used for decoding encoded data of image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image, and the filtered reference Using the image, the current layer of the encoded data is decoded.
  • an image can be encoded and decoded.
  • an increase in encoding or decoding load can be suppressed.
  • FIG. 8 is a diagram following FIG. 7 for explaining an example of syntax of a sequence parameter set.
  • FIG. 10 is a diagram subsequent to FIG. 9 for explaining an example of syntax of a slice header.
  • FIG. 11 is a diagram illustrating an example of the syntax of a slice header, following FIG. 10. It is a block diagram which shows the main structural examples of an image coding 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 filter control part and the inter estimation part. It is a flowchart explaining the example of the flow of an image 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. FIG. 19 is a flowchart following FIG.
  • FIG. 18 for explaining an example of the flow of the enhancement layer encoding process. It is a flowchart explaining the example of the flow of an inter prediction process. It is a block diagram which shows the main structural examples of an image 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 other structural example of a filter control part and the inter estimation part. It is a flowchart explaining the example of the flow of an image 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. FIG.
  • FIG. 28 is a flowchart subsequent to FIG. 27, illustrating an example of the flow of enhancement layer decoding processing. It is a flowchart explaining the example of the flow of a prediction image generation process. It is a flowchart explaining the example of the flow of an inter prediction process. It is a figure explaining the example of MDIS (Mode
  • FIG. 1 It is a flowchart explaining the example of the flow of an intra prediction process. It is a block diagram which shows the other structural example of an enhancement layer image decoding part. It is a block diagram which shows the other structural example of a filter control part and an intra estimation part. It is a flowchart explaining the other example of the flow of a prediction image generation process. It is a flowchart explaining the other example of the flow of an intra prediction process. It is a figure which shows the example of a multiview image encoding system. It is a figure which shows the main structural examples of the multiview image coding apparatus to which this technique is applied. It is a figure which shows the main structural examples of the multiview image decoding apparatus to which this technique is applied. 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. It is a block diagram which shows an example of a schematic structure of a video set. It is a block diagram which shows an example of a schematic structure of a video processor. It is a block diagram which shows the other example of the schematic structure of a video processor.
  • ⁇ 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.
  • UHD Ultra High Definition
  • a coding unit (Coding Unit)) is defined.
  • CU also called Coding Tree Block (CTB)
  • CTB Coding Tree Block
  • 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 macroblock in the AVC scheme
  • the CU also includes a block (sub-block) in the AVC scheme.
  • “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 a whole set of candidate modes for encoding the block or macroblock
  • D is a 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.
  • FIG. 2 is a diagram illustrating an example of a hierarchical image encoding scheme.
  • the hierarchized image includes images of a plurality of hierarchies (layers) having different predetermined parameter values.
  • a plurality of layers of this hierarchical image are encoded / decoded using only the image of the own layer without using the image of the other layer, and encoded / decoded using the image of the other layer.
  • It consists of a non-base layer (also called enhancement layer) that performs decoding.
  • the non-base layer an image of the base layer may be used, or an image of another non-base layer may be used.
  • the non-base layer is composed of difference image data (difference data) between its own image and an image of another layer so that redundancy is reduced.
  • difference image data difference data
  • an image with lower quality than the original image can be obtained using only the base layer data.
  • an 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 low spatiotemporal resolution or poor image quality is played
  • base layer 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.
  • parameters having a scalability function are arbitrary.
  • the spatial resolution as shown in FIG. 3 may be used as the parameter (spatial scalability).
  • the resolution of the image is different for each layer. That is, as shown in FIG. 3, the enhancement is such that each picture is synthesized with the 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 shown in FIG. 4 may be applied (temporal scalability).
  • the frame rate is different for each layer. That is, in this case, as shown in FIG. 4, 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.
  • a signal-to-noise ratio (SNR (Signal to Noise ratio)) may be applied (SNR ⁇ ⁇ scalability) as a parameter for providing such scalability.
  • SNR Signal-to-noise ratio
  • the SN ratio is different for each layer. That is, as shown in FIG. 5, 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 the enhancement layer (enhancement layer) image compression information is added to this to reconstruct a high PSNR image. It is possible.
  • this number of hierarchies is an example, and the number of hierarchies can be hierarchized.
  • the base layer (base layer) consists of 8-bit (bit) images, and by adding an enhancement layer (enhancement layer) to this, the bit depth scalability (bit-depth ⁇ ⁇ ⁇ scalability) from which a 10-bit (bit) image 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, chroma scalability (chroma) scalability).
  • an interpolation filter for motion compensation as shown in FIG. 6 is defined.
  • the luminance signal is subjected to motion compensation with 1/4 pixel accuracy using an 8-tap filter.
  • the color difference signal is subjected to motion compensation with 1/8 pixel accuracy using a 4-tap filter.
  • the processing is specified to be within 16-bit accuracy.
  • Non-Patent Document 3 proposes using a 1/8 pixel precision filter as a motion compensation filter.
  • Non-Patent Document 4 two methods, a method called Ref_idx and a method called TextureBL, are defined as a framework for scalability as described below. That is, in the reference index framework (Ref_idx Framework), the decoded image in the base layer (Baselayer) is stored in the frame memory as a part of the reference frame, and the enhancement layer (Enhancementlayer) is encoded and decoded using this. Done. In the texture base layer framework (TextureBL Framework), enhancement layer encoding / decoding is performed using a decoded image in the base layer as one of intra prediction modes.
  • Ref_idx Framework the decoded image in the base layer (Baselayer) is stored in the frame memory as a part of the reference frame, and the enhancement layer (Enhancementlayer) is encoded and decoded using this.
  • the texture base layer framework (TextureBL Framework)
  • enhancement layer encoding / decoding is performed using a decoded image in the base layer as one of
  • the interpolation process according to the motion vector accuracy is performed in the motion prediction / compensation process.
  • Stages of redundant filtering were performed. In other words, such redundant filter processing may unnecessarily increase the encoding / decoding load.
  • the up-sampled base layer image is held in a buffer, and in order to store this image, a buffer equivalent to the enhancement layer (Enhancement layer) resolution is required. There was a risk of increasing power consumption.
  • a reference image used for encoding image data composed of a plurality of layers is subjected to filter processing with an accuracy according to the layer of the reference image, and the current layer of the image data is used using the filtered reference image.
  • the filtering process is performed with appropriate accuracy according to the layer of the reference image so that the redundant filtering process as described above is not performed.
  • the reference image is an image of another layer different from the current layer
  • two filter processes of an up-sampling process for the reference image and an interpolation process for motion compensation are necessary. You may make it carry out by the filtering process.
  • the upsampling process is not necessary, and therefore the filter process may be performed with 1/4 pixel accuracy.
  • the filter processing may be performed with 1/8 pixel accuracy.
  • the pixel at the collocated position (position) in the base layer is referred to.
  • the pixel at the 1 ⁇ 2 pixel accuracy position is simultaneously selected.
  • it may be generated using a motion compensation filter.
  • the amount of calculation can be reduced by simultaneously performing the up-sampling process and the motion compensation with decimal pixel accuracy.
  • the filtering process is performed in two stages, the high-frequency component of the signal is lost, and there is a possibility that the scalable coding apparatus may lead to image quality deterioration.
  • the filtering process is performed in one stage. Such loss of high-frequency components can be avoided, and the image quality of the output image in the enhancement layer (Enhancementlayer) can be improved (the reduction in image quality can be suppressed).
  • the resolution ratio between layers is not limited to the above-described example (2 ⁇ Scalability).
  • the present technology can be applied to scalability of any resolution conversion ratio.
  • the filter coefficient in that case can be calculated
  • the filter coefficient in the case of applying the present technology needs to be obtained as a filter processing coefficient including both up-sampling processing and interpolation processing for motion compensation.
  • a storage unit that stores the reference image may be provided, and the filter processing may be performed on the image read out as the reference image from the storage unit as described above. That is, in this case, for example, the base layer image can be stored in the storage unit without being upsampled. Thereby, it is possible to suppress an increase in storage capacity for storing the base layer image.
  • the storage unit may store a plurality of reference frames, and the filtering process may be performed with an accuracy according to the type of the reference frame from which the reference image is read. By doing in this way, the precision of a filter process can be determined easily.
  • a layer of an image stored as a long term reference frame (also referred to as a long-term reference picture) that is one of the reference frames may be set in the storage unit.
  • the filtering process may be performed with an accuracy according to the set layer.
  • An image of a short-term reference frame (also referred to as a short-term reference picture), which is one of the reference frames, is updated every time the current picture to be processed is updated. It is not updated until a new picture is provided that specifies a long term reference frame.
  • the image of the layer is stored in the long term reference frame. That is, the image read from the long term reference frame is the set layer. Therefore, when the reference image is an image read from the long term reference frame, the accuracy of the filtering process can be easily determined from the setting.
  • a layer may be set according to an instruction from the outside such as a user or another device, or a layer may be set based on an input image, information about the input image, or the like.
  • an accuracy control unit that determines the accuracy of the filter processing may be provided.
  • the accuracy control unit can determine the accuracy of the filtering process according to the type of the reference frame from which the reference image is read and the layer setting of the long-term reference frame.
  • information regarding the filtering process on the reference image in the prediction process of the enhancement layer encoding may be supplied to the decoding side.
  • control information for specifying a layer of an image stored in the long term reference frame may be transmitted to the decoding side as information regarding the filtering process.
  • information indicating whether to use a long-term reference frame image as a reference image is transmitted as information related to filtering, and the information indicates that a long-term reference frame image is used as a reference image
  • Only the control information specifying the layer of the image stored in the long term reference frame may be transmitted.
  • ⁇ Syntax> Examples of syntax of a sequence parameter set (SPS (Sequence Parameter Set)) in the case of transmitting information related to filter processing in this way are shown in FIGS.
  • SPS Sequence Parameter Set
  • long_term_ref_pics_present_flag is transmitted as information indicating whether to use a long-term reference frame image as a reference image, and when the value is “1 (true)”, long Ref_layer_id [i] is transmitted by the sequence parameter set as control information for designating the layer of the image stored in the term reference frame.
  • long_term_ref_pics_present_flag and ref_layer_id [i] are transmitted.
  • the transmission of the information may be a picture parameter set (PPS (Picrture Parameter Set)), a video parameter set (VPS (Video Parameter Set)), or other than these. There may be.
  • the encoding method of the referenced layer is not limited to HEVC and is arbitrary.
  • a method other than HEVC, such as AVC, may be used.
  • FIG. 12 is a diagram illustrating an image encoding device that is an aspect of an image processing device to which the present technology is applied.
  • An image encoding device 100 illustrated in FIG. 12 is a device that performs hierarchical image encoding. As illustrated in FIG. 12, the image encoding device 100 includes a base layer image encoding unit 101, an enhancement layer image encoding unit 102, and a multiplexing unit 103.
  • the base layer image encoding unit 101 encodes the base layer image and generates a base layer image encoded stream.
  • the enhancement layer image encoding unit 102 encodes the enhancement layer image, and generates an enhancement layer image encoded stream.
  • the multiplexing unit 103 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 101 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 102 to generate a hierarchical image code Generate a stream.
  • the multiplexing unit 103 transmits the generated hierarchical image encoded stream to the decoding side.
  • Base layer image encoding unit 101 supplies a decoded image (also referred to as a base layer decoded image) obtained in base layer encoding to enhancement layer image encoding unit 102.
  • a decoded image also referred to as a base layer decoded image
  • the enhancement layer image encoding unit 102 acquires and stores the base layer decoded image supplied from the base layer image encoding unit 101.
  • the enhancement layer image encoding unit 102 uses the stored base layer decoded image as a reference image for prediction processing in the enhancement layer encoding.
  • the enhancement layer image encoding unit 102 transmits information on the filter processing for the reference image to the decoding side via the multiplexing unit 103 (as a hierarchical image encoded stream).
  • FIG. 13 is a block diagram illustrating a main configuration example of the base layer image encoding unit 101 of FIG.
  • the base layer image encoding unit 101 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 101 includes a calculation unit 120, a loop filter 121, a frame memory 122, a selection unit 123, an intra prediction unit 124, an inter prediction unit 125, a predicted image selection unit 126, and a rate control unit 127. .
  • 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. Further, the screen rearrangement buffer 112 also supplies the image in which the frame order is rearranged to the intra prediction unit 124 and the inter prediction unit 125.
  • the calculation unit 113 subtracts the prediction image supplied from the intra prediction unit 124 or the inter prediction unit 125 via the prediction image selection unit 126 from the image read from the screen rearrangement buffer 112, and orthogonalizes the difference information.
  • the data is output to the conversion unit 114.
  • 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.
  • the calculation unit 113 subtracts the prediction image supplied from the inter prediction 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 mode of intra prediction from the intra prediction unit 124, and acquires information indicating the mode of inter prediction, difference motion vector information, and the like from the inter prediction unit 125. Further, the lossless encoding unit 116 appropriately generates a base layer NAL (Network Abstraction Layer) unit including a sequence parameter set (SPS), a picture parameter set (PPS), and the like.
  • NAL Network Abstraction Layer
  • 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 adds the prediction image from the intra prediction unit 124 or the inter prediction unit 125 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 119, via the prediction image selection unit 126. Addition is performed to obtain a locally decoded image (decoded image).
  • the decoded image is supplied to the loop filter 121 or the frame memory 122.
  • the loop filter 121 includes a deblocking filter, an adaptive loop filter, and the like, and appropriately performs a filtering process on the reconstructed image supplied from the calculation unit 120.
  • the loop filter 121 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image.
  • the loop filter 121 improves the image quality by performing loop filter processing using a Wiener filter on the deblock filter processing result (reconstructed image from which block distortion has been removed). I do.
  • the loop filter 121 supplies a filter processing result (hereinafter referred to as a decoded image) to the frame memory 122.
  • the loop filter 121 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 121 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 116 and encode the information as necessary.
  • 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 frame memory 122 stores the reconstructed image supplied from the calculation unit 120 and the decoded image supplied from the loop filter 121, 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 supplies the stored decoded image to the inter prediction unit 125 via the selection unit 123 at a predetermined timing or based on a request from the outside such as the inter prediction unit 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 intra prediction unit 124. For example, in the case of inter prediction, the selection unit 123 supplies the reference image (pixel value outside the current picture) supplied from the frame memory 122 to the inter prediction unit 125.
  • the intra prediction unit 124 performs a prediction process on the current picture that is the image of the processing target frame, and generates a predicted image.
  • the intra prediction unit 124 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the intra prediction unit 124 generates a predicted image of the current block that is the processing target of the current picture.
  • the intra prediction unit 124 performs a prediction process (intra-screen prediction (also referred to as intra prediction)) using a reconstructed image supplied as a reference image from the frame memory 122 via the selection unit 123. That is, the intra prediction unit 124 generates a predicted image using pixel values around the current block included in the reconstructed image.
  • the peripheral pixel value used for this intra prediction is the pixel value of the pixel processed in the past of the current picture.
  • a plurality of methods also referred to as intra prediction modes
  • the intra prediction unit 124 performs the intra prediction in the 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 inter prediction unit 125 performs a prediction process on the current picture to generate a predicted image.
  • the inter prediction unit 125 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 125 generates a predicted image of the current block that is the processing target of the current picture.
  • the inter prediction unit 125 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 112 and the image data of the decoded image supplied as a reference image from the frame memory 122.
  • This decoded image is an image of a frame processed before the current picture (another picture that is not the current picture). That is, the inter prediction unit 125 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a prediction image using an image of another picture.
  • inter-screen prediction also referred to as inter prediction
  • This inter prediction consists of motion prediction and motion compensation. More specifically, the inter prediction unit 125 performs motion prediction on the current block using the input image and the reference image, and detects a motion vector. Then, the inter prediction unit 125 performs motion compensation processing according to the detected motion vector using the reference image, and generates a prediction image (inter prediction image information) of the current block.
  • a plurality of methods also referred to as inter prediction modes
  • inter prediction modes are prepared in advance as candidates for the inter prediction (that is, how to generate a predicted image). The inter prediction unit 125 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
  • Inter prediction unit 125 generates a prediction image in all candidate inter prediction modes.
  • the inter prediction unit 125 evaluates the cost function value of each predicted image using the input image supplied from the screen rearrangement buffer 112, information on the generated difference motion vector, and the like, and selects an optimal mode.
  • the inter prediction unit 125 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  • the inter prediction unit 125 supplies information indicating the adopted 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, Encode.
  • the necessary information includes, for example, information on the generated differential motion vector, a flag indicating an index of the motion vector predictor as motion vector predictor information, and the like.
  • 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 prediction image selection unit 126 selects the inter prediction unit 125 as a supply source of the prediction image, and calculates the prediction image supplied from the inter prediction unit 125 as the calculation unit 113 or the calculation unit 120. To supply.
  • 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 base layer image encoding unit 101 performs encoding without referring to other layers. That is, the intra prediction unit 124 and the inter prediction unit 125 do not use decoded images of other layers as reference images.
  • the frame memory 122 also supplies the stored base layer decoded image to the enhancement layer image encoding unit 102.
  • FIG. 14 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 102 of FIG. As shown in FIG. 14, the enhancement layer image encoding unit 102 has basically the same configuration as the base layer image encoding unit 101 of FIG.
  • the enhancement layer image encoding unit 102 includes an A / D conversion unit 131, a screen rearrangement buffer 132, a calculation unit 133, an orthogonal transformation unit 134, a quantization unit 135, and a lossless encoding unit as illustrated in FIG. 136, an accumulation buffer 137, an inverse quantization unit 138, and an inverse orthogonal transform unit 139. Also, the enhancement layer image encoding unit 102 includes a calculation unit 140, a loop filter 141, a frame memory 142, a selection unit 143, an intra prediction unit 144, an inter prediction unit 145, a predicted image selection unit 146, and a rate control unit 147. .
  • a / D conversion units 131 to rate control unit 147 correspond to the A / D conversion unit 111 to rate control unit 127 of FIG. 13 and perform the same processing as the corresponding processing units, respectively.
  • each part of the enhancement layer image encoding unit 102 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the A / D conversion unit 131 to the rate control unit 147, the above description of the A / D conversion unit 111 to the rate control unit 127 of FIG. 13 can be applied.
  • the data to be processed is not the base layer data but the enhancement layer data.
  • the data input source and output destination processing units need to be replaced with the corresponding processing units in the A / D conversion unit 131 through the rate control unit 147 as appropriate.
  • the enhancement layer image encoding unit 102 performs encoding with reference to information of another layer (for example, a base layer). Then, the enhancement layer image encoding unit 102 performs ⁇ 1. The above-described processing is performed in the overview>.
  • the frame memory 142 is ⁇ 1.
  • the processing is performed as a storage unit for storing the reference image described above in the overview>.
  • the frame memory 142 can store a plurality of reference frames, and not only stores the enhancement layer decoded image (also referred to as enhancement layer decoded image) but also the base layer decoded image from the base layer image encoding unit 101. Get and memorize.
  • the frame memory 142 stores the base layer decoded image as, for example, a long term reference frame.
  • the upsampling process of the base layer decoded image is not performed. Therefore, the storage capacity of the frame memory 142 can be reduced.
  • Images stored in the frame memory 142 that is, enhancement layer decoded images and base layer decoded images are used as reference images in the prediction processing by the inter prediction unit 145. That is, the enhancement layer decoded image and the base layer decoded image stored in the frame memory 142 are read as a reference image and supplied to the inter prediction unit 145 via the selection unit 143.
  • the enhancement layer image encoding unit 102 includes a filter control unit 148. ⁇ 1. As described above in Overview>, the filter control unit 148 controls the filtering process on the reference image executed in the inter prediction unit 145. Further, the filter control unit 148 generates information regarding the filter processing, supplies the information to the lossless encoding unit 136, encodes the information, and transmits the encoded information to the decoding side via the accumulation buffer 137.
  • FIG. 15 is a block diagram illustrating a main configuration example of the inter prediction unit 145 and the filter control unit 148 in FIG.
  • FIG. 15 it has a filter processing unit 171, a motion search unit 172, an inter-cost numerical value calculation unit 173 and a mode determination unit 174.
  • the soot filter processing unit 171 performs ⁇ 1. As described above in Overview>, a reference image is read from one of a plurality of reference frames in the frame memory 142, and the reference image is subjected to filter processing.
  • the motion search unit 172 specifies which reference frame image is to be read.
  • the filter processing unit 171 can obtain an image of a desired layer by selecting a reference frame from which an image is read. For example, the filter processing unit 171 acquires an enhancement layer decoded image as a reference image from the short term reference frame in the frame memory 142. Also, for example, the filter processing unit 171 acquires a base layer decoded image from the long term reference frame in the frame memory 142 as a reference image.
  • the filter processing unit 171 performs filter processing on the acquired reference image with accuracy according to the layer of the reference image.
  • the filter processing unit 171 performs interpolation processing for motion compensation on the reference image.
  • upsampling processing and interpolation processing for motion compensation are performed on the reference image.
  • the filter processing unit 171 changes the accuracy according to the layer of the reference image, thereby realizing the filter process for the reference image by a single filter process regardless of the layer of the reference image. Therefore, the filter processing unit 171 can suppress an unnecessary increase in load due to the filter processing, and can suppress an increase in encoding load.
  • the filter processing unit 171 has ⁇ 1. As described above in Overview>, such filter processing is performed according to the control of the filter control unit 148. That is, for example, the filter processing unit 171 acquires the control information supplied from the filter accuracy control unit 183, and performs the filter processing with the accuracy indicated by the control information. The filter processing unit 171 supplies the filtered reference image to the motion search unit 172.
  • the motion search unit 172 performs motion search in all candidate inter prediction modes (also referred to as candidate modes) using the filtered reference image supplied from the filter processing unit 171, and predicts each candidate mode. Generate an image. Note that which layer of the decoded image is used as the reference image depends on the candidate mode. That is, the motion search unit 172 designates a layer of a decoded image to be read as a reference image according to the candidate mode to be processed, to the filter processing unit 171. That is, for example, the motion search unit 172 performs ⁇ 1. As described above in Overview>, the reference frame from which the decoded image is read is designated. The motion search unit 172 supplies information indicating the type of the designated reference frame to the filter control unit 148 (layer determination unit 182). The motion search unit 172 supplies the predicted image of each candidate mode generated as described above to the cost function value calculation unit 173.
  • candidate modes also referred to as candidate modes
  • the cost function value calculation unit 173 calculates the cost function value for each candidate mode predicted image supplied from the motion search unit 172.
  • the cost function value calculation unit 173 supplies the predicted image and its cost function value to the mode determination unit 174 for each candidate mode.
  • the heel mode determination unit 174 determines an optimal inter prediction mode based on the cost function value and the like of each candidate mode supplied from the cost function value calculation unit 173.
  • the mode determination unit 174 determines the candidate mode having the smallest cost function value as the optimal inter prediction mode, supplies the prediction image of that mode to the prediction image selection unit 146, and uses it for encoding of the enhancement layer image. .
  • the mode determination unit 174 supplies information related to the optimal inter prediction mode (also referred to as optimal prediction mode information) to the lossless encoding unit 136. Then, the data is encoded and transmitted to the decoding side via the accumulation buffer 137.
  • the filter control unit 148 includes a setting unit 181, a layer determination unit 182, and a filter accuracy control unit 183.
  • the heel setting unit 181 has ⁇ 1. As described above, the setting relating to the filter processing is performed. For example, the setting unit 181 sets a layer of an image stored in the long term reference frame. The setting unit 181 supplies control information indicating this setting to the layer determination unit 182 and the filter accuracy control unit 183. Note that the setting unit 181 may set the filter accuracy according to the layer of the reference image. For example, the setting unit 181 may set the filter accuracy when the reference image is a base layer and / or the filter accuracy when the reference image is an enhancement layer (current layer). Good. In that case, the setting unit 181 supplies control information indicating such setting of the filter accuracy to the filter accuracy control unit 183.
  • the setting unit 181 supplies the control information to the lossless encoding unit 136 as information regarding the filter processing, encodes the information, and transmits the encoded information to the decoding side via the accumulation buffer 137. Further, for example, the setting unit 181 sets whether or not to use an image of a long term reference frame as a reference image, and uses information indicating the setting (for example, long_term_ref_pics_present_flag) as information related to filter processing. The data is supplied to 136, encoded, and transmitted to the decoding side via the accumulation buffer 137. In this case, the setting unit 181 transmits control information (for example, ref_layer_id [i]) only when the value of the long_term_ref_pics_present_flag is “1 (true)”.
  • control information for example, ref_layer_id [i]
  • the heel layer determination unit 182 performs ⁇ 1.
  • the layer of the reference image is determined as described above in the overview>. For example, based on the setting of the layer of the image of the long term reference frame indicated in the control information acquired from the setting unit 181 and the information related to the type of the reference frame from which the reference image is read supplied from the motion search unit 172, The layer of the reference image is determined. For example, when the type of the reference frame is a short term reference frame, the layer determination unit 182 determines that the reference image layer is an enhancement layer (current layer). For example, when the type of the reference frame is a long-term reference frame, the layer determination unit 182 determines that the reference image layer is a layer set by the setting unit 181. The layer determination unit 182 supplies such a determination result (information indicating the layer of the reference image) to the filter accuracy control unit 183.
  • the filter accuracy control unit 183 is ⁇ 1. As described above in Overview>, the accuracy of the filtering process for the reference image by the filter processing unit 171 is set. For example, the filter accuracy control unit 183 sets the accuracy of this filter processing based on the determination result supplied from the layer determination unit 182 and the control information supplied from the setting unit 181. The filter accuracy control unit 183 supplies control information indicating the set filter accuracy to the filter processing unit 171. As described above, the filter processing unit 171 performs filter processing on the reference image with accuracy according to the control information.
  • the filter processing unit 171 can realize the filter process for the reference image as a single filter process regardless of the layer of the reference image. . Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 142 can be reduced. Further, by transmitting information related to the filter processing to the decoding side, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in decoding load.
  • step S101 the base layer image encoding unit 101 of the image encoding device 100 encodes the base layer image data.
  • step S102 the enhancement layer image encoding unit 102 encodes enhancement layer image data.
  • step S103 the multiplexing unit 103 uses the base layer image encoded stream generated by the process of step S101 and the enhancement layer image encoded stream generated by the process of step S102 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
  • step S103 the image encoding device 100 ends the image encoding process.
  • One picture is processed by such an image encoding process. Therefore, the image encoding device 100 repeatedly executes such image encoding processing for each picture of the moving image data that is hierarchized.
  • the A / D conversion unit 111 of the base layer image encoding unit 101 A / D converts the image of each frame (picture) of the input moving image in step S121. .
  • step S122 the screen rearrangement buffer 112 stores the image that has been A / D converted in step S121, and performs rearrangement from the display order of each picture to the encoding order.
  • step S123 the intra prediction unit 124 performs an intra prediction process in the intra prediction mode.
  • step S124 the inter prediction unit 125 performs inter prediction processing for performing motion prediction, motion compensation, and the like in the inter prediction mode.
  • step S125 the predicted image selection unit 126 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 126 selects either the predicted image generated by the intra prediction in step S123 or the predicted image generated by the inter prediction in step S124.
  • step S126 the calculation unit 113 calculates the difference between the input image whose frame order is rearranged by the process of step S122 and the predicted image selected by the process of step S125. That is, the calculation unit 113 generates image data of a difference image between the input image and the predicted image.
  • the image data of the difference image obtained in this way is reduced in data amount 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 orthogonal transform on the image data of the difference image generated by the process in step S126.
  • step S128 the quantization unit 115 quantizes the orthogonal transform coefficient obtained by the process in step S127, using the quantization parameter calculated by the rate control unit 127.
  • 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.
  • the quantized coefficient also referred to as a quantization coefficient
  • step S130 the inverse orthogonal transform unit 119 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S129.
  • step S131 the calculation unit 120 generates the image data of the reconstructed image by adding the predicted image selected by the process of step S125 to the difference image restored by the process of step S130.
  • step S132 the loop filter 121 performs a loop filter process on the image data of the reconstructed image generated by the process in step S131. Thereby, block distortion and the like of the reconstructed image are removed.
  • step S133 the frame memory 122 stores data such as a decoded image obtained by the process of step S132 and a reconstructed image obtained by the process of step S131.
  • step S134 the lossless encoding unit 116 encodes the quantized coefficient obtained 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.
  • the lossless encoding unit 116 also 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 inter prediction unit 125, and the like, into encoded data. Append.
  • the lossless encoding unit 116 sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
  • step S135 the accumulation buffer 117 accumulates the encoded data obtained by the process in step S134.
  • the 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 S136 the rate control unit 127 causes the quantization unit 115 to prevent overflow or underflow from occurring based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 117 by the process of step S135. Controls the rate of quantization operation. Further, the rate control unit 127 supplies information regarding the quantization parameter to the quantization unit 115.
  • step S137 the inter prediction unit 125 supplies the base layer decoded image obtained in the base layer encoding process as described above to the enhancement layer encoding process.
  • step S137 When the process of step S137 ends, the base layer encoding process ends, and the process returns to FIG.
  • the setting unit 181 of the filter control unit 148 of the enhancement layer image encoding unit 102 stores the image layer stored in the long term reference picture of the frame memory 142 in step S151 of FIG. Set.
  • step S152 the setting unit 181 supplies control information indicating the content of the setting performed in step S151, that is, control information indicating the layer of the image stored in the long-term reference picture, to the lossless encoding unit 136. And transmitted to the decoding side via the storage buffer 137.
  • step S153 the frame memory 142 acquires the base layer decoded image from the base layer image encoding unit 101.
  • step S154 the frame memory 142 stores the base layer decoded image acquired in step S153. At this time, the frame memory 142 stores the acquired base layer decoded image without up-sampling. Therefore, an increase in the storage capacity of the frame memory 142 can be suppressed.
  • step S154 When the process of step S154 is completed, the process proceeds to step S161 of FIG.
  • step S161 of FIG. 19 the A / D conversion unit 111 performs A / D conversion on the image of each frame (picture) of the input moving image of the enhancement layer.
  • step S162 the screen rearrangement buffer 112 stores the image that has been A / D converted in step S161, and performs rearrangement from the display order of each picture to the encoding order.
  • step S163 the intra prediction unit 144 performs an intra prediction process.
  • step S164 the inter prediction unit 145 performs inter prediction processing.
  • steps S165 to S176 correspond to the processes in steps S125 to S136 in FIG. 17 and are executed basically in the same manner as those processes. However, each process of step S125 to step S136 in FIG. 17 is performed on the base layer, whereas each process of step S165 to step S176 is performed on the enhancement layer.
  • step S176 When the process of step S176 ends, the enhancement layer encoding process ends, and the process returns to FIG.
  • the motion search unit 172 of the inter prediction unit 145 selects an unprocessed candidate mode in step S191.
  • step S192 the motion search unit 172 determines the type of the reference frame of the image to be read as the reference image in the candidate mode selected in step S191.
  • step S193 the layer determination unit 182 of the filter control unit 148 is selected in step S191 based on the type of the reference frame determined in step S192 and the layer setting performed in step S151 of FIG. The reference image layer in the candidate mode is determined.
  • step S194 the filter accuracy control unit 183 selects the filter accuracy according to the layer of the reference image determined in step S193.
  • step S195 the filter processing unit 171 reads the reference frame image determined in step S192 of the frame memory 142 as a reference image, and the filter accuracy selected in step S194, that is, the accuracy according to the layer of the reference image. Then, filter processing is performed on the reference image.
  • step S196 the motion search unit 172 performs a motion search using the reference image filtered in step S195, and generates a predicted image.
  • step S197 the cost function value calculation unit 173 calculates the cost function value of this candidate mode using the predicted image obtained by the motion search in step S196.
  • step S198 the motion search unit 172 determines whether all candidate modes have been processed. If it is determined that there is an unprocessed candidate mode, the process returns to step S191 and the subsequent processes are repeated. Each process of step S191 to step S198 is executed for each candidate mode, and if it is determined in step S198 that all candidate modes have been processed, the process proceeds to step S199.
  • step S199 the mode determination unit 174 selects, from among the candidate modes, the mode with the smallest cost function value obtained as described above as the optimal inter prediction mode.
  • step S199 When the process of step S199 ends, the inter prediction process ends, and the process returns to FIG.
  • the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding / decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 142 can be reduced.
  • FIG. 21 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 100 in FIG. 12, which is an aspect of an image processing apparatus to which the present technology is applied.
  • the image decoding apparatus 200 shown in FIG. 21 decodes the encoded data generated by the image encoding apparatus 100 by a decoding method corresponding to the encoding method (that is, hierarchically encoded encoded data is hierarchically decoded). To do).
  • the image decoding device 200 includes a demultiplexing unit 201, a base layer image decoding unit 202, and an enhancement layer image decoding unit 203.
  • the demultiplexing unit 201 receives a layered image encoded stream in which a base layer image encoded stream and an enhancement layer image encoded stream are multiplexed transmitted from the encoding side, demultiplexes them, An image encoded stream and an enhancement layer image encoded stream are extracted.
  • the base layer image decoding unit 202 decodes the base layer image encoded stream extracted by the demultiplexing unit 201 to obtain a base layer image.
  • the enhancement layer image decoding unit 203 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 201 to obtain an enhancement layer image.
  • the base layer image decoding unit 202 supplies the base layer decoded image obtained in the base layer decoding to the enhancement layer image decoding unit 203.
  • the enhancement layer image decoding unit 203 acquires the base layer decoded image supplied from the base layer image decoding unit 202 and stores it.
  • the enhancement layer image decoding unit 203 uses the stored base layer decoded image as a reference image for prediction processing in enhancement layer decoding.
  • the enhancement layer image decoding unit 203 obtains information related to the filter processing on the reference image transmitted from the encoding side via the demultiplexing unit 201, and based on the information, the reference image Perform the filtering process.
  • FIG. 22 is a block diagram illustrating a main configuration example of the base layer image decoding unit 202 of FIG.
  • the base layer image decoding unit 202 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 loop filter 216, a screen rearrangement buffer 217, And a D / A converter 218.
  • the base layer image decoding unit 202 includes a frame memory 219, a selection unit 220, an intra prediction unit 221, an inter prediction unit 222, and a predicted image selection unit 223.
  • the soot storage buffer 211 is also a receiving unit that receives the transmitted encoded data.
  • the accumulation buffer 211 receives and accumulates the transmitted 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 encoded data.
  • the lossless decoding unit 212 decodes the information supplied from the accumulation buffer 211 and encoded by the lossless encoding unit 116 using a decoding method corresponding to the encoding method.
  • 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 determines whether the intra prediction mode is selected as the optimal prediction mode or the inter prediction mode is selected, and information on the optimal prediction mode is stored in the intra prediction unit 221 and the inter prediction unit 222. It is supplied to the mode determined to be selected. That is, for example, when the intra prediction mode is selected as the optimal prediction mode on the encoding side, 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 on the encoding side, information regarding the optimal prediction mode is supplied to the inter prediction unit 222.
  • the lossless decoding unit 212 supplies information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, 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.
  • 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 orthogonal transform coefficient supplied from the inverse quantization unit 213 by a method corresponding to the orthogonal transform method of the orthogonal transform unit 114 as necessary.
  • the inverse orthogonal transform unit 214 is a processing unit similar to the inverse orthogonal transform unit 119.
  • the image data of the difference image is restored by this inverse orthogonal transform process.
  • the restored image data of the difference image corresponds to the image data of the difference image before being orthogonally transformed in the image encoding device.
  • the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 214 is also referred to as decoded residual data.
  • the inverse orthogonal transform unit 214 supplies the decoded residual data to the calculation unit 215. Further, the image data of the predicted image is supplied to the calculation unit 215 from the intra prediction unit 221 or the inter prediction unit 222 via the predicted image selection unit 223.
  • the calculating unit 215 uses the decoded residual data and the image data of the predicted image to obtain image data of a reconstructed image obtained by adding the difference image and the predicted image. This reconstructed image corresponds to the input image before the predicted image is subtracted by the calculation unit 113.
  • the calculation unit 215 supplies the reconstructed image to the loop filter 216.
  • the loop filter 216 appropriately performs loop filter processing including deblock filter processing and adaptive loop filter processing on the supplied reconstructed image to generate a decoded image.
  • the loop filter 216 removes block distortion by performing deblocking filter processing on the reconstructed image.
  • the loop filter 216 performs image quality improvement by performing loop filter processing using a Wiener filter on the deblock filter processing result (reconstructed image from which block distortion has been removed). I do.
  • the type of filter processing performed by the loop filter 216 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 216 may perform filter processing using the filter coefficient supplied from the image encoding device. Furthermore, the loop filter 216 can omit such filter processing and output the input data without performing the filter processing.
  • the loop filter 216 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 217 and the frame memory 219.
  • the screen rearrangement buffer 217 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 217 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 112 in the original display order. That is, the screen rearrangement buffer 217 stores the image data of the decoded images of the frames supplied in the encoding order in that order, and reads the image data of the decoded images of the frames stored in the encoding order in the display order.
  • / A converter 218 The D / A conversion unit 218 performs D / A conversion on the decoded image (digital data) of each frame supplied from the screen rearrangement buffer 217, and outputs it as analog data to a display (not shown) for display.
  • 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 inter prediction unit 222.
  • the data is supplied to the intra prediction unit 221 and the inter prediction unit 222 via the selection unit 220.
  • the intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 212 to the intra prediction unit 221.
  • the intra prediction unit 221 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 124, and generates a predicted image.
  • the intra prediction unit 221 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 219 via the selection unit 220. That is, the intra prediction unit 221 uses this reconstructed image as a reference image (neighboring pixels).
  • the intra prediction unit 221 supplies the generated predicted image to the predicted image selection unit 223.
  • the optimal prediction mode information, motion information, and the like are appropriately supplied from the lossless decoding unit 212 to the inter prediction unit 222.
  • the inter prediction unit 222 performs inter prediction using the decoded image (reference image) acquired from the frame memory 219 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 212. Generate a predicted image.
  • the predicted image selection unit 223 supplies the prediction image supplied from the intra prediction unit 221 or the prediction image supplied from the inter prediction unit 222 to the calculation unit 215. Then, the calculation unit 215 adds the predicted image and the decoded residual data (difference image information) from the inverse orthogonal transform unit 214 to obtain a reconstructed image.
  • the base layer image decoding unit 202 performs decoding without referring to other layers. That is, the intra prediction unit 221 and the inter prediction unit 222 do not use decoded images of other layers as reference images.
  • the frame memory 219 supplies the stored base layer decoded image to the enhancement layer image decoding unit 203.
  • FIG. 23 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 203 of FIG. As shown in FIG. 23, the enhancement layer image decoding unit 203 has basically the same configuration as the base layer image decoding unit 202 of FIG.
  • the enhancement layer image decoding unit 203 includes a storage buffer 231, a lossless decoding unit 232, an inverse quantization unit 233, an inverse orthogonal transform unit 234, a calculation unit 235, a loop filter 236, and a screen rearrangement, as shown in FIG. A buffer 237 and a D / A converter 238 are included.
  • the enhancement layer image decoding unit 203 includes a frame memory 239, a selection unit 240, an intra prediction unit 241, an inter prediction unit 242, and a predicted image selection unit 243.
  • These storage buffers 231 to predicted image selection unit 243 correspond to the storage buffer 211 to predicted image selection unit 223 of FIG. 22 and perform the same processes as the corresponding processing units, respectively.
  • each unit of the enhancement layer image decoding unit 203 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 231 to the predicted image selection unit 243, the description of the storage buffer 211 to the predicted image selection unit 223 of FIG. 22 described above can be applied.
  • the data to be processed is It should be enhancement layer data, not base layer data.
  • the enhancement layer image decoding unit 203 performs decoding with reference to a decoded image of another layer (for example, a base layer). Then, the enhancement layer image decoding unit 203 performs ⁇ 1. The above-described processing is performed in the overview>.
  • the frame memory 239 is ⁇ 1.
  • the processing is performed as a storage unit for storing the reference image described above in the overview>. That is, the frame memory 239 can store a plurality of reference frames, and not only stores the enhancement layer decoded image (also referred to as enhancement layer decoded image) but also stores the base layer decoded image from the base layer image decoding unit 202. Get and remember. At that time, the frame memory 239 stores the base layer decoded image as, for example, a long term reference frame. At this time, the upsampling process of the base layer decoded image is not performed. Therefore, the storage capacity of the frame memory 239 can be reduced.
  • the image stored in the frame memory 239 that is, the enhancement layer decoded image or the base layer decoded image is used as a reference image in the prediction process by the inter prediction unit 242. That is, the enhancement layer decoded image and the base layer decoded image stored in the frame memory 239 are read as a reference image and supplied to the inter prediction unit 242 via the selection unit 240.
  • the enhancement layer image decoding unit 203 has a filter control unit 244. ⁇ 1. As described above in Overview>, the filter control unit 244 controls the filtering process on the reference image executed in the inter prediction unit 242. Further, the filter control unit 244 acquires information related to the filter processing transmitted from the encoding side and extracted by the lossless decoding unit 232. The filter control unit 244 controls the filtering process of the inter prediction unit 242 based on the information related to the filtering process.
  • FIG. 24 is a block diagram illustrating a main configuration example of the inter prediction unit 242 and the filter control unit 244 in FIG.
  • the inter prediction unit 242 includes a difference motion information buffer 271, a motion vector reconstruction unit 272, a filter processing unit 273, and a motion compensation unit 274.
  • the heel difference motion information buffer 271 acquires difference motion information that is supplied from the lossless decoding unit 232 and is encoded information of motion information supplied from the encoding side.
  • the difference motion information buffer 271 holds the acquired difference motion information, and supplies the difference motion information held at a predetermined timing or based on a request to the motion vector reconstruction unit 272.
  • the heel motion vector reconstruction unit 272 obtains a predicted value of the motion information of the current block, adds the predicted value to the differential motion information acquired from the differential motion information buffer 271, and reconstructs the motion information of the current block.
  • the motion vector reconstruction unit 272 supplies the reconstructed motion information to the motion compensation unit 274.
  • the soot filter processing unit 273 is ⁇ 1. As described above in Overview>, a reference image is read from any of a plurality of reference frames in the frame memory 239, and the reference image is subjected to filter processing.
  • the motion compensation unit 274 specifies which reference frame image is to be read.
  • the filter processing unit 273 can obtain an image of a desired layer by selecting a reference frame from which an image is read. For example, the filter processing unit 273 acquires an enhancement layer decoded image from the short term reference frame in the frame memory 239 as the reference image. For example, the filter processing unit 273 acquires a base layer decoded image from the long term reference frame in the frame memory 239 as a reference image.
  • the filter processing unit 273 performs filter processing on the acquired reference image with accuracy according to the layer of the reference image.
  • the filter processing unit 273 performs interpolation processing for motion compensation on the reference image.
  • upsampling processing and interpolation processing for motion compensation are performed on the reference image.
  • the filter processing unit 273 realizes the filter process for the reference image by a single filter process, regardless of the layer of the reference image, by changing the accuracy according to the layer of the reference image. Therefore, the filter processing unit 273 can suppress an unnecessary increase in load due to the filter processing, and can suppress an increase in encoding load.
  • the filter processing unit 273 is ⁇ 1. As described above in Overview>, such filter processing is performed according to the control of the filter control unit 244. That is, for example, the filter processing unit 273 acquires the control information supplied from the filter accuracy control unit 283, and performs the filter processing with the accuracy indicated by the control information. The filter processing unit 273 supplies the filtered reference image to the motion compensation unit 274.
  • the motion compensation unit 274 uses the filtered reference image supplied from the filter processing unit 273 to perform motion compensation in an optimal inter prediction mode (inter prediction mode adopted at the time of encoding) and perform prediction. Generate an image. That is, the motion compensation unit 274 acquires information indicating the optimal inter prediction mode transmitted from the encoding side from the lossless decoding unit 232, controls the filter processing unit 273, and controls the optimal inter prediction mode. A reference image is acquired and filtered. At that time, ⁇ 1. As described above in Overview>, the motion compensation unit 274 designates a layer (reference frame) of a decoded image to be read as a reference image to the filter processing unit 273. The motion compensation unit 274 acquires the filtered reference image from the filter processing unit 273, acquires motion information from the motion vector reconstruction unit 272, and uses them to perform motion compensation for the optimal inter prediction mode. To generate a predicted image.
  • an optimal inter prediction mode inter prediction mode adopted at the time of encoding
  • the motion compensation unit 274 supplies information indicating the type of the designated reference frame to the filter control unit 244 (layer determination unit 282).
  • the motion compensation unit 274 supplies the predicted image in the optimal inter prediction mode generated as described above to the predicted image selection unit 243.
  • the cost function value calculation unit 173 calculates the cost function value for each candidate mode predicted image supplied from the motion search unit 172.
  • the cost function value calculation unit 173 supplies the prediction image and its cost function value for each candidate mode to the mode determination unit 174, and uses them for decoding the enhancement layer encoded data.
  • the filter control unit 244 includes a control information acquisition unit 281, a layer determination unit 282, and a filter accuracy control unit 283.
  • the heel control information acquisition unit 281 has ⁇ 1. As described above in Overview>, information on the filter processing supplied from the encoding side is acquired from the lossless decoding unit 232. For example, the control information acquisition unit 281 includes information indicating whether or not to use an image of a long term reference frame as a reference image (for example, long_term_ref_pics_present_flag), and control information indicating the setting of filter accuracy as information regarding the filter processing (for example, long_term_ref_pics_present_flag). For example, ref_layer_id [i]) is acquired. The control information acquisition unit 281 supplies information regarding the acquired filter processing to the layer determination unit 282 and the filter accuracy control unit 283.
  • the heel layer determination unit 282 performs ⁇ 1.
  • the layer of the reference image is determined as described above in the overview>. For example, based on the setting of the layer of the image of the long term reference frame indicated in the control information acquired from the control information acquisition unit 281 and the information related to the type of the reference frame from which the reference image is read supplied from the motion compensation unit 274 Thus, the layer of the reference image is determined. For example, when the type of the reference frame is a short term reference frame, the layer determination unit 282 determines that the layer of the reference image is an enhancement layer (current layer). For example, when the type of the reference frame is a long term reference frame, the layer determination unit 282 determines that the layer of the reference image is a layer indicated by the control information supplied from the control information acquisition unit 281. The layer determination unit 282 supplies such a determination result (information indicating the layer of the reference image) to the filter accuracy control unit 283.
  • the filter accuracy control unit 283 is ⁇ 1. As described above in Overview>, the accuracy of the filtering process for the reference image by the filter processing unit 273 is set. For example, the filter accuracy control unit 283 sets the accuracy of this filter processing based on the determination result supplied from the layer determination unit 282 and the control information supplied from the control information acquisition unit 281. The filter accuracy control unit 283 supplies control information indicating the set filter accuracy to the filter processing unit 273. As described above, the filter processing unit 273 performs filter processing on the reference image with accuracy according to the control information.
  • the filter processing unit 273 can realize the filter process for the reference image as a single filter process regardless of the layer of the reference image. . Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 239 can be reduced.
  • step S201 the demultiplexing unit 201 of the image decoding device 200 demultiplexes the layered image encoded stream transmitted from the encoding side for each layer.
  • step S202 the base layer image decoding unit 202 decodes the base layer image encoded stream extracted by the process in step S201.
  • the base layer image decoding unit 202 outputs base layer image data generated by this decoding.
  • step S203 the enhancement layer image decoding unit 203 decodes the enhancement layer image encoded stream extracted by the process in step S201.
  • the enhancement layer image decoding unit 203 outputs enhancement layer image data generated by the decoding.
  • step S203 the image decoding device 200 ends the image decoding process.
  • One picture is processed by such an image decoding process. Therefore, the image decoding apparatus 200 repeatedly executes such an image decoding process for each picture of hierarchized moving image data.
  • step S221 the accumulation buffer 211 accumulates the transmitted bit stream (encoded data).
  • step S222 the lossless decoding unit 212 decodes the bit stream (encoded data) supplied from the accumulation buffer 211. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 116 is decoded. At this time, various information other than the image data included in the bit stream such as header information is also decoded.
  • step S223 the inverse quantization unit 213 inversely quantizes the quantized coefficient obtained by the process in step S222.
  • step S224 the inverse orthogonal transform unit 214 performs inverse orthogonal transform on the coefficient inversely quantized in step S223.
  • the intra prediction unit 221 or the inter prediction 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. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 222 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
  • step S226 the calculation unit 215 adds the predicted image generated in step S226 to the difference image obtained by the inverse orthogonal transform in step S225. Thereby, image data of the reconstructed image is obtained.
  • step S227 the loop filter 216 appropriately performs a loop filter process including a deblock filter process and an adaptive loop filter process on the image data of the reconstructed image obtained by the process in step S227.
  • step S229 the D / A conversion unit 218 performs D / A conversion on the image in which the frame order is rearranged in step S228. This image is output to a display (not shown), and the image is displayed.
  • step S230 the frame memory 219 stores data such as a decoded image obtained by the process of step S227 and a reconstructed image obtained by the process of step S226.
  • step S231 the frame memory 219 supplies the base layer decoded image obtained in the base layer decoding process as described above to the enhancement layer decoding process.
  • step S231 When the process of step S231 ends, the base layer decoding process ends, and the process returns to FIG.
  • control information acquisition unit 281 of the enhancement layer image decoding unit 203 controls control information related to prediction using the base layer residual signal transmitted from the encoding side in step S251 of FIG. To get.
  • step S252 the control information acquisition unit 281 sets an image layer to be stored in the long term reference frame based on the control information acquired in step S251.
  • step S253 the frame memory 239 acquires a base layer decoded image.
  • step S254 the frame memory 239 stores the base layer decoded image acquired in step S253.
  • or step S270 of FIG. 28 respond
  • the generation of the predicted image in step S265 is performed only for the optimal prediction mode employed on the encoding side.
  • the lossless decoding unit 232 determines whether or not the optimal prediction mode is the inter prediction mode in step S281. If it is determined that the mode is the inter prediction mode, the process proceeds to step S282.
  • step S282 the inter prediction unit 242 generates a prediction image by inter prediction.
  • the predicted image generation process ends, and the process returns to FIG.
  • step S281 in FIG. 29 If it is determined in step S281 in FIG. 29 that the optimal prediction mode is not the inter prediction mode, that is, the intra prediction mode, the process proceeds to step S283.
  • step S283 the intra prediction unit 241 generates a predicted image by intra prediction.
  • the predicted image generation process ends, and the process returns to FIG.
  • the motion vector reconstruction unit 272 of the inter prediction unit 242 acquires the difference motion information of the current block from the difference motion information buffer 271 in step S291, and uses the difference motion information to obtain the current motion information. Reconstruct block motion information.
  • step S292 the motion compensation unit 274 determines the type of the reference frame from which the reference image is read in the optimal inter prediction mode.
  • step S293 the layer determination unit 282 of the filter control unit 244 determines the layer of the reference image according to the reference frame determined in step S292.
  • step S294 the filter accuracy control unit 283 selects the filter accuracy according to the layer of the reference image determined in step S293.
  • step S295 the filter processing unit 273 acquires an image from the reference frame determined in step S292 as a reference image, and with respect to the reference image, the accuracy according to the layer of the reference image selected in step S294. And filter processing.
  • step S296 the motion compensation unit 274 performs motion compensation using the reference image filtered in step S295 and the motion information reconstructed in step S291, and generates a predicted image of the current block.
  • step S296 When the process of step S296 ends, the process returns to FIG.
  • the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 239 can be reduced.
  • image data is hierarchized into a plurality of layers by scalable coding, but the number of layers is arbitrary.
  • the enhancement layer is described as being processed using the base layer decoded image in the encoding / decoding.
  • the present invention is not limited to this, and the enhancement layer is decoded by other enhancement layers that have been processed. You may make it process using an image.
  • the frame memory 142 (FIG. 14) of the enhancement layer image encoding unit 102 As with the frame memory 122 (FIG. 13), What is necessary is just to make it supply to the enhancement layer image coding part 102 of this enhancement layer.
  • the frame memory 239 (FIG. 23) of the enhancement layer image decoding unit 203 converts the decoded image of the enhancement layer to the other like the frame memory 219 (FIG. 22). What is necessary is just to make it supply to the enhancement layer image decoding part 203 of this enhancement layer.
  • FIG. 31 is a figure explaining MDIS (Mode Dependent Intra Smoothing) prescribed
  • this filter processing is not applied when the block size of the current block is 4 ⁇ 4.
  • this filtering process is applied to the prediction mode in the 45 degree direction.
  • this filtering process is applied to prediction modes in directions other than three directions close to horizontal and three directions close to vertical.
  • this filter processing is applied to a prediction mode in a direction other than horizontal and vertical.
  • SHVC Test Model 1 SHM
  • Texture BL Texture BL
  • Reference index Reference index
  • Intra Prediction Mode intra prediction modes
  • a predicted image of the current block is generated using pixels (adjacent pixels) around the current block.
  • decoding of the base layer is performed as an image (reference image) of the adjacent pixels.
  • An up-sampled image is used. Therefore, performing [1 2 1] / 4 filter processing on the adjacent pixels (performing the intra-smoothing processing) is a redundant processing, which may unnecessarily increase the processing load.
  • the intra smoothing process [1 2 1] / 4 filter processing for adjacent pixels) may be omitted.
  • Such a present technology can be realized by an image processing apparatus having basically the same configuration as the image processing apparatus described in the first embodiment. That is, for example, the image encoding device 100 (FIG. 12) can implement the present technology described above in the present embodiment.
  • the base layer image coding unit 101 of the image coding device 100 has the same configuration (FIG. 13) as in the first embodiment, but the enhancement layer image coding unit.
  • the enhancement layer image coding unit As shown in FIG. 32, 102 has a configuration different from that of the first embodiment.
  • the enhancement layer image encoding unit 102 in the case of FIG. 32 has basically the same configuration as the enhancement layer image encoding unit 102 in the case of FIG. However, the enhancement layer image encoding unit 102 in the case of FIG. 32 has a filter control unit 348 instead of the filter control unit 148 in the case of FIG.
  • the filter control unit 348 controls the execution of the intra smoothing process in the intra prediction unit 144.
  • ⁇ Filter control unit and intra prediction unit> 33 is a block diagram illustrating a main configuration example of the intra prediction unit 144 and the filter control unit 348 in FIG.
  • the intra prediction unit 144 includes a filter processing unit 371, a predicted image generation unit 372, a cost function calculation unit 373, a prediction mode determination unit 374, and a prediction mode encoding unit 375.
  • the haze filter processing unit 371 reads a reference image (pixels around the current block) from any of the plurality of reference frames in the frame memory 142. For example, in the case of the intra BL mode, the filter processing unit 371 reads an image obtained by up-sampling the base layer decoded image as a reference image. In a mode other than the intra-BL mode, the filter processing unit 371 reads out the enhancement layer decoded image as a reference image.
  • the filter processing unit 371 performs [1 2 1] / 4 filter processing as shown in FIG. 31 on the reference image (peripheral pixels) read in this way (that is, performs intra-smoothing processing).
  • the filter processing unit 371 performs such intra smoothing processing according to the control of the filter control unit 348. That is, for example, when the filter processing unit 371 acquires control information supplied from the filter control unit 348 (a control unit 382 described later) and the execution of the intra smoothing process is instructed by the control information, the reference image (peripheral) [1 2 1] / 4 filter processing is performed on (pixel). Conversely, when the control information acquired from the filter control unit 348 does not instruct execution of the intra smoothing process, the filter processing unit 371 omits [1 2 1] / 4 filter processing for the reference image (neighboring pixels). To do.
  • the filter processing unit 371 omits [1 2 1] / 4 filter processing for an image obtained by up-sampling the decoded image of the base layer read as the reference image.
  • the wrinkle filter processing unit 171 supplies the reference image (peripheral pixels) subjected to the intra-smoothing process or the reference image (peripheral pixels) not subjected to the intra-smoothing process to the predicted image generation unit 372.
  • the predicted image generation unit 372 performs intra prediction using the reference image (the surrounding pixels of the current block) supplied from the filter processing unit 371, and generates a predicted image.
  • the predicted image generation unit 372 sets all modes of intra prediction as candidate modes, performs intra prediction in each candidate mode, and generates predicted images respectively.
  • the predicted image generation unit 372 determines a candidate mode (a candidate mode to be processed) for generating a predicted image and its block size (PU size) as a filter control unit 348 (described later). It supplies to the determination part 381).
  • the filter control unit 348 determines whether or not to perform the intra smoothing process based on the candidate mode and the PU size. In accordance with the determination (control information), the filter processing unit 371 appropriately performs the intra smoothing process as described above.
  • the predicted image generation unit 372 generates a predicted image using the reference image on which the intra smoothing process has been performed (or omitted).
  • the predicted image generation unit 372 supplies information indicating the mode (candidate mode information) and the predicted image (candidate predicted image) of each candidate mode to the cost function calculating unit 373.
  • the cost function calculation unit 373 acquires an input image from the screen rearrangement buffer 132, acquires candidate mode information and a candidate predicted image from the predicted image generation unit 372, and uses them to calculate a cost function value for each candidate mode. To do.
  • the cost function calculation unit 373 supplies information indicating the mode (candidate mode information), a prediction image (candidate prediction image), and a cost function value of each candidate mode to the prediction mode determination unit 374.
  • the prediction mode determination unit 374 selects an optimum mode (optimum intra prediction) from among all candidate modes. Mode).
  • the prediction mode determination unit 374 supplies information indicating the optimal intra prediction mode (intra prediction mode) to the prediction mode encoding unit 375. Also, the prediction mode determination unit 374 selects a candidate prediction image supplied from the cost function calculation unit 373, which corresponds to the optimal intra prediction mode, and selects the prediction image (intra prediction image) as a prediction image. To the unit 146.
  • the prediction mode encoding unit 375 encodes the intra prediction mode supplied from the prediction mode determination unit 374 by a predetermined method, for example, using a most probable mode (MostProbableMode).
  • the prediction mode encoding unit 375 supplies the encoded intra prediction mode to the lossless encoding unit 136.
  • the encoded intra prediction mode is transmitted to the decoding side directly or indirectly, for example, by being included in a bit stream of encoded image data.
  • the filter control unit 348 includes a determination unit 381 and a control unit 382.
  • the eyelid determination unit 381 determines whether or not the candidate mode to be processed notified from the predicted image generation unit 372 is an intra BL (intra BL) mode. When the determination unit 381 determines that the candidate mode to be processed is not the intra BL mode, the determination unit 381 further determines the candidate mode based on the candidate mode to be processed and the PU size notified from the predicted image generation unit 372. It is determined whether or not it is a mode for performing an intra smoothing process. The determination unit 381 supplies these determination results to the control unit 382.
  • intra BL intra BL
  • the control unit 382 Based on the determination result, when the candidate mode to be processed is not the intra BL mode and is a mode for performing the intra smoothing process, the control unit 382 generates control information that instructs execution of the intra smoothing process, It is supplied to the filter processing unit 371. In this case, the filter processing unit 371 performs an intra smoothing process on the reference image (pixels around the current block) acquired from the frame memory 142.
  • the control unit 382 Control information for instructing omission (non-execution) of the smoothing process is generated and supplied to the filter processing unit 371.
  • the filter processing unit 371 omits the intra smoothing process on the reference image (the peripheral pixels of the current block) acquired from the frame memory 142.
  • the filter processing unit 371 can omit an unnecessary intra smoothing process. Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load.
  • step S101 in FIG. 16 is executed in the same manner as in the case of the first embodiment described with reference to the flowchart in FIG. Therefore, the description of this base layer encoding process is omitted.
  • the enhancement layer encoding process in this case which is executed in step S102 of FIG. 16, is executed as in the flowcharts shown in FIGS. 34 and 35, for example, unlike the case of the first embodiment. .
  • An example of the flow of enhancement layer encoding processing will be described with reference to these flowcharts.
  • step S351 to S354 in FIG. 34 are executed in the same manner as the processes in steps S151 to S154 in FIG.
  • step S354 ends, the process proceeds to step S361 of FIG.
  • steps S361 through S376 in FIG. 35 are also executed basically in the same manner as the processes in steps S161 through S176 in FIG.
  • the intra prediction process executed in step S363 is executed as shown in the flowchart of FIG.
  • the details of the inter prediction process in step S364 are arbitrary, and may be executed according to the flow shown in the flowchart of FIG. 20, or may be other than that.
  • step S376 When the process of step S376 ends, the enhancement layer encoding process ends, and the process returns to FIG.
  • step S391 the filter control unit 348 turns on / off the intra smoothing process for candidate modes other than the intra BL mode based on the candidate mode and the block size (PU size). Control. That is, the determination unit 381 determines whether or not each candidate mode other than the intra BL mode is a mode for performing the intra smoothing process, and the control unit 382 performs the intra smoothing process for each candidate mode based on the determination result. Control whether to execute.
  • step S392 the predicted image generation unit 372 generates a predicted image of a candidate mode other than the intra BL mode.
  • the filter processing unit 371 performs the intra smoothing process according to the control in step S391. For example, for the candidate mode controlled to execute the intra-smoothing process in step S391, the filter processing unit 371 performs [1 2 1] / 4 filter processing on the reference image (peripheral pixels of the current block) to obtain the predicted image
  • the generation unit 372 performs intra prediction using the filtered reference image, and generates a predicted image.
  • the filter processing unit 371 omits the [1 2 1] / 4 filter process for the reference image (the peripheral pixels of the current block).
  • the predicted image generation unit 372 performs intra prediction using the reference image from which the filtering process is omitted, and generates a predicted image.
  • the filter control unit 348 turns off the intra smoothing process in step S393. That is, when the determination unit 381 determines that the candidate mode to be processed is the intra BL mode, the control unit 382 controls to omit the intra smoothing process.
  • step S394 the predicted image generation unit 372 generates a predicted image in the intra BL mode.
  • the filter processing unit 371 omits the intra smoothing process according to the control in step S393.
  • the predicted image generation unit 372 performs intra prediction using a reference image from which [1 2 1] / 4 filter processing is omitted, and generates a predicted image.
  • step S395 the cost function calculation unit 373 calculates a cost function value for the predicted image of each candidate mode generated in step S392 and step S394.
  • step S396 the prediction mode determination unit 374 determines an optimal prediction mode based on the cost function value of each candidate mode calculated in step S395. For example, the prediction mode determination unit 374 determines the candidate mode having the minimum cost function value as the optimal prediction mode.
  • step S397 the prediction mode encoding unit 375 encodes an intra prediction mode that is information indicating the mode determined as the optimal prediction mode in step S396.
  • step S397 ends, the intra prediction process ends, and the process returns to FIG.
  • the filter processing unit 371 can omit the intra smoothing process in the intra BL mode in which an image obtained by up-sampling the decoded image of the base layer is used as a reference image. That is, the filter processing unit 371 can omit unnecessary intra smoothing processing. Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load.
  • a prediction image is generated by the same method as that for encoding. That is, for a block in which intra prediction is adopted at the time of encoding, a prediction image is generated by intra prediction in the same mode. For example, a block in which a predicted image is generated in the intra BL mode at the time of encoding is generated in the intra BL mode also in the decoding.
  • intra prediction at the time of such decoding in the intra BL mode, as in the case of intra prediction at the time of encoding, an image obtained by up-sampling a base layer decoded image as an image of a neighboring pixel (reference image) Is used.
  • reference image an image obtained by up-sampling a base layer decoded image as an image of a neighboring pixel (reference image) Is used.
  • applying [1 2 1] / 4 filter processing to neighboring pixels (intra smoothing processing) in the intra BL mode is a redundant process and unnecessarily increases the processing load. There was a fear.
  • the intra smoothing process [1 2 1 ] / 4 filter processing
  • Such a present technology can be realized by an image processing apparatus having basically the same configuration as the image processing apparatus described in the second embodiment. That is, for example, the decoding can be performed by the image decoding apparatus 200 including the demultiplexing unit 201, the base layer image decoding unit 202, and the enhancement layer image decoding unit 203 as described with reference to FIG.
  • the base layer image decoding unit 202 of the image decoding device 200 has the same configuration (FIG. 22) as that of the second embodiment, but the enhancement layer image decoding unit 203 is shown in FIG. As shown, the configuration is different from that of the second embodiment.
  • the enhancement layer image decoding unit 203 in the case of FIG. 37 basically has the same configuration as the enhancement layer image decoding unit 203 in the case of FIG. However, the enhancement layer image decoding unit 203 in the case of FIG. 37 has a filter control unit 444 instead of the filter control unit 244 in the case of FIG.
  • the filter control unit 444 controls the execution of the intra smoothing process in the intra prediction unit 241.
  • ⁇ Filter control unit and intra prediction unit> 38 is a block diagram illustrating a main configuration example of the intra prediction unit 241 and the filter control unit 444 in FIG.
  • the intra prediction unit 241 includes a prediction mode decoding unit 471, a prediction mode information buffer 472, a filter processing unit 473, and a prediction image generation unit 474.
  • the prediction mode decoding unit 471 acquires an encoded intra prediction mode that is information indicating the intra prediction mode supplied from the lossless decoding unit 232.
  • the encoded data (for example, the bit stream) decoded by the image decoding apparatus 200 includes information indicating the employed prediction method (optimum prediction mode). For example, information indicating the adopted intra prediction mode (“encoded intra prediction mode” described in the third embodiment) is included for a block on which intra prediction has been performed.
  • the lossless decoding unit 232 acquires information indicating the optimal prediction mode from the encoded data of the enhancement layer, the lossless decoding unit 232 supplies the information to the intra prediction unit 241 or the inter prediction unit 242. That is, the lossless decoding unit 232 supplies the “encoded intra prediction mode” transmitted from the encoding side to the intra prediction unit 241.
  • the prediction mode decoding unit 471 acquires this “encoded intra prediction mode” and decodes it with a decoding method corresponding to the encoding method. For example, it is assumed that the intra prediction mode is encoded using the most probable mode (MostProbableMode) and the index number is transmitted as “encoded intra prediction mode” at the time of encoding. In this case, the intra prediction mode of the block indicated by the index number is a decoding result of “encoded intra prediction mode”. That is, in this case, the prediction mode decoding unit 471 acquires the intra prediction mode of the block indicated by the index number around the current block from the prediction mode information buffer 472.
  • MostProbableMode most probable mode
  • the prediction mode of the block indicated by the index number is a decoding result of “encoded intra prediction mode”. That is, in this case, the prediction mode decoding unit 471 acquires the intra prediction mode of the block indicated by the index number around the current block from the prediction mode information buffer 472.
  • the prediction mode decoding unit 471 supplies the decoding result of the “encoded intra prediction mode”, that is, the intra prediction mode of the current block to the prediction image generation unit 474. For example, as described above, when the intra prediction mode corresponding to the transmitted index number is acquired, the prediction mode decoding unit 471 supplies the intra prediction mode to the predicted image generation unit 474 as a decoding result.
  • the prediction mode decoding unit 471 supplies the obtained decoding result, that is, the intra prediction mode of the current block, to the prediction mode information buffer 472 for storage.
  • This intra prediction mode can be referred to as the intra prediction mode of the neighboring blocks in the decoding of the prediction mode of other blocks performed by the prediction mode decoding unit 471 thereafter.
  • the prediction mode information buffer 472 stores the intra prediction mode supplied from the prediction mode decoding unit 471. Also, the prediction mode information buffer 472 supplies a request requested by the prediction mode decoding unit 471 to the prediction mode decoding unit 471 from the stored intra prediction modes.
  • the haze filter processing unit 473 reads the reference image (the peripheral pixels of the current block) from any of the plurality of reference frames in the frame memory 239. For example, in the intra BL mode, the filter processing unit 473 reads an image obtained by up-sampling the base layer decoded image as a reference image. In a mode other than the intra BL mode, the filter processing unit 473 reads out the enhancement layer decoded image as a reference image.
  • the filter processing unit 473 performs [1 2 1] / 4 filter processing as shown in FIG. 31 on the reference image (peripheral pixels) read in this way (that is, performs intra-smoothing processing). Note that the filter processing unit 473 performs such intra smoothing processing according to the control of the filter control unit 444.
  • the filter processing unit 473 acquires control information supplied from the filter control unit 444 (a control unit 482 described later) and the execution of the intra smoothing process is instructed by the control information, the reference image (peripheral) [1 2 1] / 4 filter processing is performed on (pixel).
  • the filter processing unit 473 performs [1 2 1] / 4 filter processing on the reference image (neighboring pixels). Is omitted.
  • the filter processing unit 473 omits [1 2 1] / 4 filter processing on an image obtained by up-sampling the decoded image of the base layer read as the reference image.
  • the wrinkle filter processing unit 473 supplies the reference image (peripheral pixels) subjected to the intra smoothing process or the reference image (peripheral pixels) not subjected to the intra smoothing process to the predicted image generation unit 474.
  • the predicted image generation unit 474 performs intra prediction on the intra prediction mode supplied from the prediction mode decoding unit 471 using the reference image (the peripheral pixels of the current block) supplied from the filter processing unit 473, and generates a predicted image. To do.
  • the predicted image generation unit 474 performs intra prediction only in the same mode as in the encoding. That is, since the intra prediction mode (that is, the optimal prediction mode) performed at the time of encoding is known at the time of decoding, the prediction image generation unit 474 performs intra prediction for all candidate modes as in the case of encoding. Intra prediction is performed only for the optimal prediction mode without performing prediction.
  • the predicted image generation unit 474 filters the intra prediction mode of the current block supplied from the prediction mode decoding unit 471 and its block size (PU size) for the execution control of the intra smoothing process of the filter processing unit 473. It supplies to the control part 444 (determination part 481 mentioned later).
  • the predicted image generation unit 474 generates a predicted image using a reference image that has been subjected to intra-smoothing processing by the filter processing unit 473 or omitted in accordance with the control of the filter control unit 444 based on the information.
  • the predicted image generation unit 474 supplies the generated predicted image (intra predicted image) to the predicted image selection unit 243.
  • the filter control unit 444 includes a determination unit 481 and a control unit 482.
  • the determination unit 481 determines that the intra prediction mode (that is, the optimal prediction mode) performed at the time of encoding the current block is the intra BL (intra BL) mode. It is determined whether or not there is.
  • the optimal prediction mode is a mode in which the intra prediction process is performed based on the intra prediction mode and the PU size notified from the prediction image generation unit 474. It is determined whether or not.
  • the determination unit 481 supplies these determination results to the control unit 482.
  • the control unit 482 Based on the determination result, when the optimal prediction mode is not the intra BL mode and is a mode in which the intra smoothing process is performed, the control unit 482 generates control information instructing the execution of the intra smoothing process. This is supplied to the filter processing unit 473. In this case, the filter processing unit 473 performs intra smoothing processing on the reference image (pixels around the current block) acquired from the frame memory 239.
  • the control unit 482 performs the intra smoothing process. Is generated and supplied to the filter processing unit 473. In this case, the filter processing unit 473 omits the intra smoothing process for the reference image (the peripheral pixels of the current block) acquired from the frame memory 239.
  • the filter processing unit 473 can omit an unnecessary intra smoothing process. Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load.
  • step S203 of FIG. 25 is also executed in the same manner as in the case of the second embodiment described with reference to the flowcharts of FIGS. Therefore, the description of this enhancement layer decoding process is omitted.
  • step S481 to S483 in FIG. 39 are executed in the same manner as the processes in steps S281 to S283 in FIG.
  • the intra prediction process executed in step S483 is executed as shown in the flowchart of FIG.
  • the details of the inter prediction process in step S482 are arbitrary, and may be executed according to the flow shown in the flowchart of FIG. 30, or may be other than that.
  • the prediction mode decoding unit 471 decodes the encoded intra prediction mode in step S491 using the intra prediction modes of the neighboring blocks as necessary.
  • step S492 the determination unit 481 of the filter control unit 444 determines whether or not the optimal prediction mode of the current block is the intra BL mode based on the intra prediction mode decoded in step S491. If it is determined that the mode is the intra BL mode, the process proceeds to step S493.
  • step S493 the control unit 482 turns off the intra smoothing process.
  • the filter processing unit 473 omits [1 2 1] / 4 filter processing for the reference image (neighboring pixels). That is, the filter processing unit 473 omits the [1 2 1] / 4 filter processing for an image obtained by up-sampling the decoded image of the base layer read as the reference image.
  • step S492 If it is determined in step S492 that the current mode is not the intra BL mode, the process proceeds to step S494.
  • step S494 the filter control unit 444 controls on / off of the intra smoothing process based on the prediction mode and the PU size. That is, the determination unit 481 determines whether or not it is a mode in which the intra smoothing process is performed for the optimal prediction mode that is not the intra BL mode, and whether or not the control unit 482 executes the intra smoothing process based on the determination result. To control. The filter processing unit 473 appropriately performs the intra smoothing process according to this control. When the process of step S494 ends, the process proceeds to step S495.
  • step S495 the predicted image generation unit 474 generates a predicted image using a reference image on which [1 2 1] / 4 filter processing has been performed or omitted by the processing in step S493 or step S494. .
  • the intra prediction process ends, and the process returns to FIG.
  • the filter processing unit 473 can omit the intra smoothing process in the intra BL mode in which an image obtained by up-sampling the base layer decoded image is used as a reference image. That is, the filter processing unit 473 can omit unnecessary intra smoothing processing. Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load.
  • 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. 41 shows an example of a multi-view image encoding method.
  • the multi-viewpoint image includes images of a plurality of viewpoints (views).
  • the multiple views of this multi-viewpoint image are encoded using the base view that encodes and decodes using only the image of its own view without using the information of other views, and the information of other views.
  • -It consists of a non-base view that performs decoding.
  • Non-base view encoding / decoding may use base view information or other non-base view information.
  • the reference relationship between views in multi-view image encoding / decoding is the same as the reference relationship between layers in hierarchical image encoding / decoding. Therefore, the above-described method may be applied to the encoding / decoding of a multi-view image as shown in FIG.
  • the reference image used for encoding / decoding of image data composed of a plurality of layers is subjected to filter processing with an accuracy corresponding to the layer of the reference image, and the filtered reference image is used for the current layer.
  • Encoding / decoding may be performed. By doing in this way, similarly in the case of a multi-viewpoint image, it is possible to suppress an increase in encoding and decoding loads.
  • FIG. 42 is a diagram illustrating a multi-view image encoding apparatus that performs the multi-view image encoding described above.
  • the multi-view image encoding apparatus 600 includes an encoding unit 601, an encoding unit 602, and a multiplexing unit 603.
  • the cocoon encoding unit 601 encodes the base view image and generates a base view image encoded stream.
  • the encoding unit 602 encodes the non-base view image and generates a non-base view image encoded stream.
  • the multiplexing unit 603 multiplexes the base view image encoded stream generated by the encoding unit 601 and the non-base view image encoded stream generated by the encoding unit 602 to generate a multi-view image encoded stream. To do.
  • the filtering process may be performed with accuracy according to the view of the reference image, and the current view may be encoded using the filtered reference image.
  • the base view (or other non-base view) image used as the reference image is subjected to filter processing with accuracy according to the base view (or other non-base view), and the filtered reference image May be used to encode the enhancement view.
  • the enhancement layer image encoding unit 102 may be applied as the encoding unit 602 of the multi-view image encoding apparatus 600. That is, in the intra BL mode, a predicted image is generated by omitting the intra smoothing process for the base view (or other non-base view) image used as the reference image, and the enhancement view is encoded using the predicted image. May be performed.
  • an increase in encoding load can be suppressed. Also in the case of this multi-view image encoding, an increase in decoding load can be suppressed similarly to the encoding by transmitting information on the view of the reference image to the decoding side.
  • FIG. 43 is a diagram illustrating a multi-view image decoding apparatus that performs the above-described multi-view image decoding.
  • the multi-view image decoding device 610 includes a demultiplexing unit 611, a decoding unit 612, and a decoding unit 613.
  • the demultiplexing unit 611 demultiplexes the multi-view image encoded stream in which the base view image encoded stream and the non-base view image encoded stream are multiplexed, and the base view image encoded stream and the non-base view image The encoded stream is extracted.
  • the decoding unit 612 decodes the base view image encoded stream extracted by the demultiplexing unit 611 to obtain a base view image.
  • the decoding unit 613 decodes the non-base view image encoded stream extracted by the demultiplexing unit 611 to obtain a non-base view image.
  • the base layer image decoding unit 202 (FIG. 22) may be applied as the decoding unit 612 of the multi-view image decoding device 610, and the enhancement layer image decoding unit 203 (FIG. 23) may be applied as the decoding unit 613.
  • the filtering process may be performed with accuracy according to the view of the reference image, and the current view may be decoded using the filtered reference image.
  • the base view (or other non-base view) image used as the reference image is subjected to filter processing with accuracy according to the base view (or other non-base view), and the filtered reference image
  • the enhancement view may be decoded by using.
  • the enhancement layer image decoding unit 203 may be applied as the decoding unit 613 of the multi-view image decoding device 610. That is, in the case of the intra BL mode, a predicted image is generated by omitting the intra smoothing process for the base view (or other non-base view) image used as the reference image, and the enhancement view is decoded using the predicted image. You may make it perform.
  • the series of processes described above can be executed by hardware or can be executed by software.
  • a program constituting the software is installed in the computer.
  • the computer includes, for example, a general-purpose personal computer that can execute various functions by installing a computer incorporated in dedicated hardware and various programs.
  • FIG. 44 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 installed in the storage unit 813 via the input / output interface 810 by attaching the removable medium 821 to the drive 815.
  • This program can also 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 received by the communication unit 814 via a wired or wireless transmission medium and installed in the storage unit 813.
  • this 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.
  • the image encoding device and the image decoding device include, for example, a transmitter or a receiver in cable broadcasting such as satellite broadcasting and cable TV, distribution on the Internet, and distribution to terminals by cellular communication
  • the present invention can be applied to various electronic devices such as a recording device that records an image on a medium such as an optical disk, 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 an optical disk, a magnetic disk, and a flash memory
  • a playback device that reproduces an image from these storage media.
  • FIG. 45 illustrates an example of a schematic configuration of a television device 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 (I / F) unit 909, and a control unit. 910, a user interface (I / F) unit 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 unit 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 unit 909 may be decoded by the decoder 904. That is, the external interface unit 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 controls the operation of the television device 900 according to an operation signal input from the user interface unit 911 by executing the program.
  • the user interface unit 911 is connected to the control unit 910.
  • the user interface unit 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 unit 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.
  • the bus 912 connects the tuner 902, the demultiplexer 903, the decoder 904, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910 to each other.
  • the decoder 904 has the function of the image decoding apparatus 200 (FIG. 21) according to the above-described embodiment. Thereby, an increase in the image decoding load in the television apparatus 900 can be suppressed.
  • FIG. 46 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 recording / 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 image encoding device 100 (FIG. 12) and the image decoding device 200 (FIG. 21) according to the above-described embodiment. Accordingly, an increase in storage capacity necessary for image encoding and decoding in the mobile phone 920 can be suppressed.
  • FIG. 47 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 (I / F) unit 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, and a control. Part 949 and a user interface (I / F) part 950.
  • I / F external interface
  • 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 unit 942 is an interface for connecting the recording / reproducing device 940 to an external device or a network.
  • the external interface unit 942 may be, for example, an IEEE (Institute of Electrical and Electronic Engineers) 1394 interface, a network interface, a USB interface, or a flash memory interface.
  • IEEE Institute of Electrical and Electronic Engineers 1394 interface
  • a network interface e.g., a USB interface
  • a flash memory interface e.g., a flash memory interface.
  • video data and audio data received via the external interface unit 942 are input to the encoder 943. That is, the external interface unit 942 has a role as a transmission unit in the recording / reproducing apparatus 940.
  • Encoder 943 encodes video data and audio data when video data and audio data input from external interface unit 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
  • HDD 944 records an encoded bit stream in which content data such as video and audio is 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 on a recording medium loaded.
  • Recording media mounted on the disk drive 945 are, for example, DVD (Digital Versatile Disc) discs (DVD-Video, DVD-RAM (DVD-Random Access Memory), DVD-R (DVD-Recordable), DVD-RW (DVD-). Rewritable), DVD + R (DVD + Recordable), DVD + RW (DVD + Rewritable), etc.) or Blu-ray (registered trademark) disc.
  • 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 947 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 executes the program to control the operation of the recording / reproducing device 940 in accordance with, for example, an operation signal input from the user interface unit 950.
  • the user interface unit 950 is connected to the control unit 949.
  • the user interface unit 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 unit 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 image encoding apparatus 100 (FIG. 12) according to the above-described embodiment.
  • the decoder 947 has the function of the image decoding device 200 (FIG. 21) according to the above-described embodiment.
  • FIG. 48 illustrates 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 (I / F) unit 966, a memory unit 967, a media drive 968, an OSD 969, and a control unit 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 unit 971 is connected to the control unit 970.
  • the bus 972 connects the image processing unit 964, the external interface unit 966, the memory unit 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 unit 966 or the media drive 968. In addition, the image processing unit 964 decodes encoded data input from the external interface unit 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 unit 966 is configured as a USB input / output terminal, for example.
  • the external interface unit 966 connects the imaging device 960 and a printer, for example, when printing an image.
  • a drive is connected to the external interface unit 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 unit 966 may be configured as a network interface connected to a network such as a LAN or the Internet. That is, the external interface unit 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 unit 971 by executing the program.
  • the user interface unit 971 is connected to the control unit 970.
  • the user interface unit 971 includes, for example, buttons and switches for the user to operate the imaging device 960.
  • the user interface unit 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 image encoding device 100 (FIG. 12) and the image decoding device 200 (FIG. 21) according to the above-described embodiment. Thereby, an increase in image encoding / decoding load in the imaging device 960 can be suppressed.
  • 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 with reference to FIGS.
  • the effect similar to the effect mentioned above with reference to can be acquired.
  • scalable coding is used for transmission via a plurality of communication media, for example, as in the example shown in FIG.
  • 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 with reference to FIGS. Effects similar to those described above with reference to FIGS. 1 to 40 can be obtained.
  • scalable encoding is used for storing encoded data as in the example shown in FIG. 51, for example.
  • the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
  • the scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
  • the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
  • the imaging device 1201 is a surveillance camera.
  • the monitoring target for example, an intruder
  • the content of the captured image is likely to be unimportant, so reduction of the data amount is given priority, and the image data (scalable coding) Data) is stored in low quality.
  • the image quality is given priority and the image data (scalable) (Encoded data) is stored with high quality.
  • 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 present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above with reference to FIGS.
  • the effect similar to the effect mentioned above with reference can be acquired.
  • 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.
  • FIG. 52 illustrates an example of a schematic configuration of a video set to which the present technology is applied.
  • the video set 1300 shown in FIG. 52 has such a multi-functional configuration, and a device having a function related to image encoding and decoding (either or both of them) can be used for the function. It is a combination of devices having other related functions.
  • the video set 1300 includes a module group such as a video module 1311, an external memory 1312, a power management module 1313, and a front-end module 1314, and an associated module 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
  • a cocoon module is a component that has several functions that are related to each other and that have a coherent function.
  • the specific physical configuration is arbitrary. For example, a plurality of processors each having a function, electronic circuit elements such as resistors and capacitors, and other devices arranged on a wiring board or the like can be considered. . It is also possible to combine the module with another module, a processor, or the like to form a new module.
  • the video module 1311 is a combination of configurations having functions related to image processing, and includes an application processor, a video processor, a broadband modem 1333, and an RF module 1334.
  • the processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by an SoC (System On Chip), and for example, there is also a system LSI (Large Scale Integration) or the like.
  • the configuration having the predetermined function may be a logic circuit (hardware configuration), a CPU, a ROM, a RAM, and the like, and a program (software configuration) executed using them. , Or a combination of both.
  • a processor has a logic circuit and a CPU, ROM, RAM, etc., a part of the function is realized by a logic circuit (hardware configuration), and other functions are executed by the CPU (software configuration) It may be realized by.
  • the application processor 1331 in FIG. 52 is a processor that executes an application related to image processing.
  • the application executed in the application processor 1331 not only performs arithmetic processing to realize a predetermined function, but also can control the internal and external configurations of the video module 1311 such as the video processor 1332 as necessary. .
  • the video processor 1332 is a processor having a function related to image encoding / decoding (one or both of them).
  • the broadband modem 1333 is a processor (or module) that performs processing related to wired or wireless (or both) broadband communication performed via a broadband line such as the Internet or a public telephone line network.
  • the broadband modem 1333 digitally modulates data to be transmitted (digital signal) to convert it into an analog signal, or demodulates the received analog signal to convert it into data (digital signal).
  • the broadband modem 1333 can digitally modulate and demodulate arbitrary information such as image data processed by the video processor 1332, a stream obtained by encoding the image data, an application program, setting data, and the like.
  • the RF module 1334 is a module that performs frequency conversion, modulation / demodulation, amplification, filter processing, and the like on an RF (Radio RF Frequency) signal transmitted and received via an antenna. For example, the RF module 1334 generates an RF signal by performing frequency conversion or the like on the baseband signal generated by the broadband modem 1333. Further, for example, the RF module 1334 generates a baseband signal by performing frequency conversion or the like on the RF signal received via the front end module 1314.
  • RF Radio RF Frequency
  • the application processor 1331 and the video processor 1332 may be integrated into a single processor.
  • the external memory 1312 is a module having a storage device that is provided outside the video module 1311 and is used by the video module 1311.
  • the storage device of the external memory 1312 may be realized by any physical configuration, but is generally used for storing a large amount of data such as image data in units of frames. For example, it is desirable to realize it with a relatively inexpensive and large-capacity semiconductor memory such as DRAM (Dynamic Random Access Memory).
  • the power management module 1313 manages and controls power supply to the video module 1311 (each component in the video module 1311).
  • the front end module 1314 is a module that provides the RF module 1334 with a front end function (a circuit on a transmitting / receiving end on the antenna side). As illustrated in FIG. 52, the front end module 1314 includes, for example, an antenna unit 1351, a filter 1352, and an amplification unit 1353.
  • Antenna unit 1351 has an antenna for transmitting and receiving a radio signal and its peripheral configuration.
  • the antenna unit 1351 transmits the signal supplied from the amplification unit 1353 as a radio signal, and supplies the received radio signal to the filter 1352 as an electric signal (RF signal).
  • the filter 1352 performs a filtering process on the RF signal received via the antenna unit 1351 and supplies the processed RF signal to the RF module 1334.
  • the amplifying unit 1353 amplifies the RF signal supplied from the RF module 1334 and supplies the amplified RF signal to the antenna unit 1351.
  • Connectivity 1321 is a module having a function related to connection with the outside.
  • the physical configuration of the connectivity 1321 is arbitrary.
  • the connectivity 1321 has a configuration having a communication function other than the communication standard supported by the broadband modem 1333, an external input / output terminal, and the like.
  • the communication 1321 is compliant with wireless communication standards such as Bluetooth (registered trademark), IEEE 802.11 (for example, Wi-Fi (Wireless Fidelity, registered trademark)), NFC (Near Field Communication), IrDA (InfraRed Data Association), etc. You may make it have a module which has a function, an antenna etc. which transmit / receive the signal based on the standard.
  • the connectivity 1321 has a module having a communication function compliant with a wired communication standard such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or a terminal compliant with the standard. You may do it.
  • the connectivity 1321 may have other data (signal) transmission functions such as analog input / output terminals.
  • the connectivity 1321 may include a data (signal) transmission destination device.
  • the drive 1321 reads and writes data to and from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory (not only a removable medium drive, but also a hard disk, SSD (Solid State Drive) NAS (including Network Attached Storage) and the like.
  • the connectivity 1321 may include an image or audio output device (a monitor, a speaker, or the like).
  • the eyelid camera 1322 is a module having a function of capturing an image of a subject and obtaining image data of the subject.
  • Image data obtained by imaging by the camera 1322 is supplied to, for example, a video processor 1332 and encoded.
  • the sensor 1323 includes, for example, a voice sensor, an ultrasonic sensor, an optical sensor, an illuminance sensor, an infrared sensor, an image sensor, a rotation sensor, an angle sensor, an angular velocity sensor, a velocity sensor, an acceleration sensor, an inclination sensor, a magnetic identification sensor, an impact sensor, It is a module having an arbitrary sensor function such as a temperature sensor.
  • the data detected by the sensor 1323 is supplied to the application processor 1331 and used by an application or the like.
  • the configuration described above as a module may be realized as a processor, or conversely, the configuration described as a processor may be realized as a module.
  • the present technology can be applied to the video processor 1332 as described later. Therefore, the video set 1300 can be implemented as a set to which the present technology is applied.
  • FIG. 53 shows an example of a schematic configuration of a video processor 1332 (FIG. 52) to which the present technology is applied.
  • the video processor 1332 receives the video signal and the audio signal, encodes them in a predetermined method, decodes the encoded video data and audio data, A function of reproducing and outputting an audio signal.
  • the video processor 1332 includes a video input processing unit 1401, a first image enlargement / reduction unit 1402, a second image enlargement / reduction unit 1403, a video output processing unit 1404, a frame memory 1405, and a memory control unit 1406.
  • the video processor 1332 includes an encoding / decoding engine 1407, video ES (ElementaryElementStream) buffers 1408A and 1408B, and audio ES buffers 1409A and 1409B.
  • the video processor 1332 includes an audio encoder 1410, an audio decoder 1411, a multiplexing unit (MUX (Multiplexer)) 1412, a demultiplexing unit (DMUX (Demultiplexer)) 1413, and a stream buffer 1414.
  • MUX Multiplexing unit
  • DMUX Demultiplexer
  • the video input processing unit 1401 acquires a video signal input from, for example, the connectivity 1321 (FIG. 52) and converts it into digital image data.
  • the first image enlargement / reduction unit 1402 performs format conversion, image enlargement / reduction processing, and the like on the image data.
  • the second image enlargement / reduction unit 1403 performs image enlargement / reduction processing on the image data in accordance with the format of the output destination via the video output processing unit 1404, or is the same as the first image enlargement / reduction unit 1402. Format conversion and image enlargement / reduction processing.
  • the video output processing unit 1404 performs format conversion, conversion to an analog signal, and the like on the image data, and outputs the reproduced video signal to, for example, the connectivity 1321 (FIG. 52).
  • the frame memory 1405 is a memory for image data shared by the video input processing unit 1401, the first image scaling unit 1402, the second image scaling unit 1403, the video output processing unit 1404, and the encoding / decoding engine 1407. .
  • the frame memory 1405 is realized as a semiconductor memory such as a DRAM, for example.
  • the memory control unit 1406 receives the synchronization signal from the encoding / decoding engine 1407, and controls the writing / reading access to the frame memory 1405 according to the access schedule to the frame memory 1405 written in the access management table 1406A.
  • the access management table 1406A is updated by the memory control unit 1406 in accordance with processing executed by the encoding / decoding engine 1407, the first image enlargement / reduction unit 1402, the second image enlargement / reduction unit 1403, and the like.
  • the encoding / decoding engine 1407 performs encoding processing of image data and decoding processing of a video stream that is data obtained by encoding the image data. For example, the encoding / decoding engine 1407 encodes the image data read from the frame memory 1405 and sequentially writes the data as a video stream in the video ES buffer 1408A. Further, for example, the video stream is sequentially read from the video ES buffer 1408B, decoded, and sequentially written in the frame memory 1405 as image data.
  • the encoding / decoding engine 1407 uses the frame memory 1405 as a work area in the encoding and decoding. Also, the encoding / decoding engine 1407 outputs a synchronization signal to the memory control unit 1406, for example, at a timing at which processing for each macroblock is started.
  • the video ES buffer 1408A buffers the video stream generated by the encoding / decoding engine 1407 and supplies the buffered video stream to the multiplexing unit (MUX) 1412.
  • the video ES buffer 1408B buffers the video stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered video stream to the encoding / decoding engine 1407.
  • the audio ES buffer 1409A buffers the audio stream generated by the audio encoder 1410 and supplies the buffered audio stream to the multiplexing unit (MUX) 1412.
  • the audio ES buffer 1409B buffers the audio stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered audio stream to the audio decoder 1411.
  • the audio encoder 1410 converts, for example, an audio signal input from the connectivity 1321 (FIG. 52), for example, into a digital format, and encodes the audio signal according to a predetermined method such as an MPEG audio method or an AC3 (Audio Code number 3) method.
  • the audio encoder 1410 sequentially writes an audio stream, which is data obtained by encoding an audio signal, in the audio ES buffer 1409A.
  • the audio decoder 1411 decodes the audio stream supplied from the audio ES buffer 1409B, performs conversion to an analog signal, for example, and supplies the reproduced audio signal to, for example, the connectivity 1321 (FIG. 52).
  • Multiplexer (MUX) 1412 multiplexes the video stream and the audio stream.
  • the multiplexing method (that is, the format of the bit stream generated by multiplexing) is arbitrary.
  • the multiplexing unit (MUX) 1412 can also add predetermined header information or the like to the bit stream. That is, the multiplexing unit (MUX) 1412 can convert the stream format by multiplexing. For example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream to convert it into a transport stream that is a bit stream in a transfer format. Further, for example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream, thereby converting the data into file format data (file data) for recording.
  • the demultiplexing unit (DMUX) 1413 demultiplexes the bit stream in which the video stream and the audio stream are multiplexed by a method corresponding to the multiplexing by the multiplexing unit (MUX) 1412. That is, the demultiplexer (DMUX) 1413 extracts the video stream and the audio stream from the bit stream read from the stream buffer 1414 (separates the video stream and the audio stream). That is, the demultiplexer (DMUX) 1413 can convert the stream format by demultiplexing (inverse conversion of the conversion by the multiplexer (MUX) 1412). For example, the demultiplexing unit (DMUX) 1413 obtains the transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG.
  • the demultiplexer (DMUX) 1413 obtains the file data read from various recording media by the connectivity 1321 (FIG. 52) via the stream buffer 1414 and demultiplexes the file data, for example, It can be converted into a video stream and an audio stream.
  • the stream buffer 1414 buffers the bit stream.
  • the stream buffer 1414 buffers the transport stream supplied from the multiplexing unit (MUX) 1412 and, for example, at the predetermined timing or based on a request from the outside, for example, the connectivity 1321 or the broadband modem 1333 (whichever Are also supplied to FIG.
  • MUX multiplexing unit
  • the stream buffer 1414 buffers the file data supplied from the multiplexing unit (MUX) 1412 and, for example, the connectivity 1321 (FIG. 52) or the like at a predetermined timing or based on an external request or the like. To be recorded on various recording media.
  • MUX multiplexing unit
  • the connectivity 1321 FIG. 52
  • the stream buffer 1414 buffers the transport stream acquired through, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 52), and performs reverse processing at a predetermined timing or based on an external request or the like.
  • the data is supplied to a multiplexing unit (DMUX) 1413.
  • DMUX multiplexing unit
  • the stream buffer 1414 buffers file data read from various recording media in, for example, the connectivity 1321 (FIG. 52), and performs a demultiplexing unit at a predetermined timing or based on a request from the outside. (DMUX) 1413.
  • DMUX demultiplexing unit
  • a video signal input from the connectivity 1321 (FIG. 52) or the like to the video processor 1332 is converted into digital image data of a predetermined format such as 4: 2: 2Y / Cb / Cr format by the video input processing unit 1401.
  • the data is sequentially written in the frame memory 1405.
  • This digital image data is read by the first image enlargement / reduction unit 1402 or the second image enlargement / reduction unit 1403, and format conversion to a predetermined method such as 4: 2: 0Y / Cb / Cr method and enlargement / reduction processing are performed. Is written again in the frame memory 1405.
  • This image data is encoded by the encoding / decoding engine 1407 and written as a video stream in the video ES buffer 1408A.
  • an audio signal input to the video processor 1332 from the connectivity 1321 (FIG. 52) or the like is encoded by the audio encoder 1410 and written as an audio stream in the audio ES buffer 1409A.
  • the video stream of the video ES buffer 1408A and the audio stream of the audio ES buffer 1409A are read and multiplexed by the multiplexing unit (MUX) 1412 and converted into a transport stream or file data.
  • the transport stream generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414 and then output to the external network via, for example, the connectivity 1321 or the broadband modem 1333 (both of which are shown in FIG. 52).
  • the file data generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414, and then output to, for example, the connectivity 1321 (FIG. 52) and recorded on various recording media.
  • a transport stream input from an external network to the video processor 1332 via the connectivity 1321 or the broadband modem 1333 (both in FIG. 52) is buffered in the stream buffer 1414 and then demultiplexed (DMUX) 1413 is demultiplexed.
  • DMUX demultiplexed
  • file data read from various recording media in the connectivity 1321 (FIG. 52) and input to the video processor 1332 is buffered in the stream buffer 1414 and then demultiplexed by the demultiplexer (DMUX) 1413. It becomes. That is, the transport stream or file data input to the video processor 1332 is separated into a video stream and an audio stream by the demultiplexer (DMUX) 1413.
  • the audio stream is supplied to the audio decoder 1411 via the audio ES buffer 1409B and decoded to reproduce the audio signal.
  • the video stream is written to the video ES buffer 1408B, and then sequentially read and decoded by the encoding / decoding engine 1407, and written to the frame memory 1405.
  • the decoded image data is enlarged / reduced by the second image enlargement / reduction unit 1403 and written to the frame memory 1405.
  • the decoded image data is read out to the video output processing unit 1404, format-converted to a predetermined system such as 4: 2: 2Y / Cb / Cr system, and further converted into an analog signal to be converted into a video signal. Is played out.
  • the present technology when the present technology is applied to the video processor 1332 configured as described above, the present technology according to each embodiment described above may be applied to the encoding / decoding engine 1407. That is, for example, the encoding / decoding engine 1407 has the functions of the image encoding device 100 (FIG. 12) according to the first embodiment and the image decoding device 200 (FIG. 21) according to the second embodiment. You can do it. For example, the encoding / decoding engine 1407 has the functions of the image encoding device 100 (FIG. 12) according to the third embodiment and the image decoding device 200 (FIG. 21) according to the fourth embodiment. It may be.
  • the encoding / decoding engine 1407 may have the functions of the multi-view image encoding device 600 (FIG. 42) and the multi-view image decoding device 610 (FIG. 43) according to the fifth embodiment. .
  • the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  • the present technology (that is, the functions of the image encoding device and the image decoding device according to each embodiment described above) may be realized by hardware such as a logic circuit. It may be realized by software such as an embedded program, or may be realized by both of them.
  • FIG. 54 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 52) to which the present technology is applied.
  • the video processor 1332 has a function of encoding and decoding video data by a predetermined method.
  • the video processor 1332 includes a control unit 1511, a display interface 1512, a display engine 1513, an image processing engine 1514, and an internal memory 1515.
  • the video processor 1332 includes a codec engine 1516, a memory interface 1517, a multiplexing / demultiplexing unit (MUX DMUX) 1518, a network interface 1519, and a video interface 1520.
  • MUX DMUX multiplexing / demultiplexing unit
  • the eyelid control unit 1511 controls the operation of each processing unit in the video processor 1332 such as the display interface 1512, the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the control unit 1511 includes, for example, a main CPU 1531, a sub CPU 1532, and a system controller 1533.
  • the main CPU 1531 executes a program and the like for controlling the operation of each processing unit in the video processor 1332.
  • the main CPU 1531 generates a control signal according to the program and supplies it to each processing unit (that is, controls the operation of each processing unit).
  • the sub CPU 1532 plays an auxiliary role of the main CPU 1531.
  • the sub CPU 1532 executes a child process such as a program executed by the main CPU 1531, a subroutine, or the like.
  • the system controller 1533 controls operations of the main CPU 1531 and the sub CPU 1532 such as designating a program to be executed by the main CPU 1531 and the sub CPU 1532.
  • the display interface 1512 outputs image data to, for example, the connectivity 1321 (FIG. 52) or the like under the control of the control unit 1511.
  • the display interface 1512 converts image data of digital data into an analog signal, and outputs it to a monitor device or the like of the connectivity 1321 (FIG. 52) as a reproduced video signal or as image data of the digital data.
  • the display engine 1513 Under the control of the control unit 1511, the display engine 1513 performs various conversion processes such as format conversion, size conversion, color gamut conversion, and the like so as to match the image data with hardware specifications such as a monitor device that displays the image. I do.
  • the eyelid image processing engine 1514 performs predetermined image processing such as filter processing for improving image quality on the image data under the control of the control unit 1511.
  • the internal memory 1515 is a memory provided inside the video processor 1332 that is shared by the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the internal memory 1515 is used, for example, for data exchange performed between the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the internal memory 1515 stores data supplied from the display engine 1513, the image processing engine 1514, or the codec engine 1516, and stores the data as needed (eg, upon request). This is supplied to the image processing engine 1514 or the codec engine 1516.
  • the internal memory 1515 may be realized by any storage device, but is generally used for storing a small amount of data such as image data or parameters in units of blocks. It is desirable to realize a semiconductor memory having a relatively small capacity but a high response speed (for example, as compared with the external memory 1312) such as “Static Random Access Memory”.
  • the codec engine 1516 performs processing related to encoding and decoding of image data.
  • the encoding / decoding scheme supported by the codec engine 1516 is arbitrary, and the number thereof may be one or plural.
  • the codec engine 1516 may be provided with codec functions of a plurality of encoding / decoding schemes, and may be configured to perform encoding of image data or decoding of encoded data using one selected from them.
  • the codec engine 1516 includes, for example, MPEG-2 video 1541, AVC / H.2641542, HEVC / H.2651543, HEVC / H.265 (Scalable) 1544, as function blocks for processing related to the codec.
  • HEVC / H.265 (Multi-view) 1545 and MPEG-DASH 1551 are included.
  • “MPEG-2” Video 1541 is a functional block that encodes and decodes image data in the MPEG-2 format.
  • AVC / H.2641542 is a functional block that encodes and decodes image data using the AVC method.
  • HEVC / H.2651543 is a functional block that encodes and decodes image data using the HEVC method.
  • HEVC / H.265 (Scalable) 1544 is a functional block that performs scalable encoding and scalable decoding of image data using the HEVC method.
  • HEVC / H.265 (Multi-view) 1545 is a functional block that multi-view encodes or multi-view decodes image data using the HEVC method.
  • MPEG-DASH 1551 is a functional block that transmits and receives image data in the MPEG-DASH (MPEG-Dynamic Adaptive Streaming over HTTP) method.
  • MPEG-DASH is a technology for streaming video using HTTP (HyperText Transfer Protocol), and selects and transmits appropriate data from multiple encoded data with different resolutions prepared in advance in segments. This is one of the features.
  • MPEG-DASH 1551 generates a stream compliant with the standard, controls transmission of the stream, and the like.
  • MPEG-2 Video 1541 to HEVC / H.265 (Multi-view) 1545 described above are used. Is used.
  • the memory interface 1517 is an interface for the external memory 1312. Data supplied from the image processing engine 1514 or the codec engine 1516 is supplied to the external memory 1312 via the memory interface 1517. The data read from the external memory 1312 is supplied to the video processor 1332 (the image processing engine 1514 or the codec engine 1516) via the memory interface 1517.
  • a multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes and demultiplexes various data related to images such as a bit stream of encoded data, image data, and a video signal.
  • This multiplexing / demultiplexing method is arbitrary.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 can not only combine a plurality of data into one but also add predetermined header information or the like to the data.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 not only divides one data into a plurality of data but also adds predetermined header information or the like to each divided data. it can.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 can convert the data format by multiplexing / demultiplexing.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes the bitstream, thereby transporting the transport stream, which is a bit stream in a transfer format, or data in a file format for recording (file data).
  • the transport stream which is a bit stream in a transfer format, or data in a file format for recording (file data).
  • file data file format for recording
  • the network interface 1519 is an interface for a broadband modem 1333, connectivity 1321 (both of which are shown in FIG. 52), and the like.
  • the video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are FIG. 52).
  • the transport stream is transmitted to the multiplexing / demultiplexing unit (MUX DMUX) via the network interface 1519. ) 1518 to be demultiplexed and decoded by the codec engine 1516.
  • MUX DMUX multiplexing / demultiplexing unit
  • the image data obtained by decoding by the codec engine 1516 is subjected to predetermined image processing by the image processing engine 1514, subjected to predetermined conversion by the display engine 1513, and connected to, for example, the connectivity 1321 (see FIG. 52) etc., and the image is displayed on the monitor.
  • image data obtained by decoding by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by a multiplexing / demultiplexing unit (MUX DMUX) 1518, converted into file data, and video
  • MUX DMUX multiplexing / demultiplexing unit
  • the data is output to, for example, the connectivity 1321 (FIG. 52) via the interface 1520 and recorded on various recording media.
  • encoded data file data obtained by encoding image data read from a recording medium (not shown) by the connectivity 1321 (FIG. 52) is multiplexed / demultiplexed via the video interface 1520. Is supplied to a unit (MUX DMUX) 1518, demultiplexed, and decoded by the codec engine 1516.
  • Image data obtained by decoding by the codec engine 1516 is subjected to predetermined image processing by the image processing engine 1514, subjected to predetermined conversion by the display engine 1513, and, for example, connectivity 1321 via the display interface 1512 (FIG. 52). And the image is displayed on the monitor.
  • image data obtained by decoding by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by the multiplexing / demultiplexing unit (MUX DMUX) 1518, and converted into a transport stream,
  • MUX DMUX multiplexing / demultiplexing unit
  • the connectivity 1321 and the broadband modem 1333 are supplied via the network interface 1519 and transmitted to other devices (not shown).
  • image data and other data are exchanged between the processing units in the video processor 1332 using, for example, the internal memory 1515 and the external memory 1312.
  • the power management module 1313 controls power supply to the control unit 1511, for example.
  • the present technology when the present technology is applied to the video processor 1332 configured as described above, the present technology according to each of the above-described embodiments may be applied to the codec engine 1516. That is, for example, the codec engine 1516 includes functional blocks that implement the image encoding device 100 (FIG. 12) according to the first embodiment and the image decoding device 200 (FIG. 21) according to the second embodiment. What should I do? Further, for example, the codec engine 1516 includes functional blocks for realizing the image encoding device 100 (FIG. 12) according to the third embodiment and the image decoding device 200 (FIG. 21) according to the fourth embodiment. You may do it.
  • the codec engine 1516 may include a functional block for realizing the multi-view image encoding device 600 (FIG. 42) and the multi-view image decoding device 610 (FIG. 43) according to the fifth embodiment. Good.
  • the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  • the present technology (that is, the functions of the image encoding device and the image decoding device according to each of the above-described embodiments) may be realized by hardware such as a logic circuit or an embedded program. It may be realized by software such as the above, or may be realized by both of them.
  • the configuration of the video processor 1332 is arbitrary and may be other than the two examples described above.
  • the video processor 1332 may be configured as one semiconductor chip, but may be configured as a plurality of semiconductor chips. For example, a three-dimensional stacked LSI in which a plurality of semiconductors are stacked may be used. Further, it may be realized by a plurality of LSIs.
  • the video set 1300 can be incorporated into various devices that process image data.
  • the video set 1300 can be incorporated in the television device 900 (FIG. 45), the mobile phone 920 (FIG. 46), the recording / reproducing device 940 (FIG. 47), the imaging device 960 (FIG. 48), or the like.
  • the apparatus can obtain the same effects as those described above with reference to FIGS.
  • the video set 1300 includes, for example, terminal devices such as the personal computer 1004, the AV device 1005, the tablet device 1006, and the mobile phone 1007 in the data transmission system 1000 in FIG. 49, the broadcasting station 1101 in the data transmission system 1100 in FIG. It can also be incorporated into the terminal device 1102, the imaging device 1201 in the imaging system 1200 of FIG. 51, the scalable encoded data storage device 1202, and the like.
  • terminal devices such as the personal computer 1004, the AV device 1005, the tablet device 1006, and the mobile phone 1007 in the data transmission system 1000 in FIG. 49
  • the broadcasting station 1101 in the data transmission system 1100 in FIG. It can also be incorporated into the terminal device 1102, the imaging device 1201 in the imaging system 1200 of FIG. 51, the scalable encoded data storage device 1202, and the like.
  • the apparatus can obtain the same effects as those described above with reference to FIGS.
  • each configuration of the video set 1300 described above can be implemented as a configuration to which the present technology is applied as long as it includes the video processor 1332.
  • the video processor 1332 can be implemented as a video processor to which the present technology is applied.
  • the processor, the video module 1311 and the like indicated by the dotted line 1341 can be implemented as a processor or a module to which the present technology is applied.
  • the video module 1311, the external memory 1312, the power management module 1313, and the front end module 1314 can be combined and implemented as a video unit 1361 to which the present technology is applied. In any case, the same effects as those described above with reference to FIGS. 1 to 44 can be obtained.
  • any configuration including the video processor 1332 can be incorporated into various devices that process image data, as in the case of the video set 1300.
  • a video processor 1332 a processor indicated by a dotted line 1341, a video module 1311, or a video unit 1361, a television device 900 (FIG. 45), a mobile phone 920 (FIG. 46), a recording / playback device 940 (FIG. 47), Imaging device 960 (FIG. 48), terminal devices such as personal computer 1004, AV device 1005, tablet device 1006, and mobile phone 1007 in data transmission system 1000 in FIG. 49, broadcast station 1101 and terminal in data transmission system 1100 in FIG.
  • the apparatus 1102 can be incorporated into the apparatus 1102, the imaging apparatus 1201 in the imaging system 1200 of FIG. 51, the scalable encoded data storage apparatus 1202, and the like. Then, by incorporating any configuration to which the present technology is applied, the apparatus can obtain the same effects as those described above with reference to FIGS. 1 to 44 as in the case of the video set 1300. .
  • 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 filter unit that performs a filtering process on a reference image used for encoding image data including a plurality of layers with accuracy according to the layer of the reference image;
  • An image encoding device comprising: an encoding unit that encodes a current layer of the image data using the reference image filtered by the filter unit.
  • the filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process.
  • the image encoding device according to any one of (3) to (9).
  • the filter unit includes: If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy, When the reference image is an image of another layer whose resolution is 1/2 of the current layer, the filter processing is performed with 1/8 pixel accuracy. (1), (2), (4) to (9) The image encoding device according to any one of the above. (4) A storage unit for storing an image as the reference image is further provided, The storage unit stores a plurality of reference frames, The filter unit performs the filtering process on the image read as the reference image from the storage unit with accuracy according to the type of reference frame from which the reference image is read (1) to (3), (5) The image encoding device according to any one of (9).
  • the image processing apparatus further includes a transmission unit that transmits information related to the filtering process on the image read from the reference frame of the storage unit as the reference image.
  • a transmission unit that transmits information related to the filtering process on the image read from the reference frame of the storage unit as the reference image.
  • the transmission unit transmits control information for designating a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit as information relating to the filtering process.
  • the image encoding device according to any one of (7) to (9).
  • the transmission unit transmits information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information refers to an image of the long term reference frame.
  • the image encoding device according to any one of (1) to (6), (8), and (9), wherein the control information is further transmitted only when it is indicated that it is used as (1) to (6).
  • the image processing apparatus further includes a setting unit that sets a layer of an image stored as a long term reference frame that is one of the reference frames in the storage unit, When the reference image is an image read from the long-term reference frame, the filter unit performs the filtering process with accuracy according to the layer set by the setting unit.
  • (1) to (7), ( 9) The image encoding device according to any one of the above.
  • a filter unit that performs a filtering process on a reference image used for decoding encoded data of image data including a plurality of layers with accuracy according to the layer of the reference image;
  • An image decoding apparatus comprising: a decoding unit that performs decoding of a current layer of the encoded data using the reference image filtered by the filter unit.
  • the filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process.
  • the image decoding device according to any one of (13) to (19).
  • the filter unit includes: If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy, When the reference image is an image of another layer whose resolution is 1 ⁇ 2 of the current layer, the filter processing is performed with 1/8 pixel accuracy. (11), (12), (14) to (19) The image decoding device according to any one of the above. (14) A storage unit for storing the reference image is further provided, The storage unit stores a plurality of reference frames, The filter unit performs the filtering process on the image read out as the reference image from the storage unit with an accuracy according to the type of the reference frame from which the reference image is read out (11) to (13), (15) The image decoding device according to any one of (19).
  • the image processing apparatus may further include a receiving unit that receives information regarding the filtering process for the image read from the reference frame of the storage unit as the reference image.
  • the image decoding apparatus described in 1.
  • the receiving unit receives control information for designating a layer of an image stored as a long-term reference frame, which is one of the reference frames, in the storage unit as information relating to the filtering process.
  • the filter unit performs the filtering process with accuracy according to a layer specified by the control information received by the receiving unit.
  • the image decoding device according to any one of 11) to (15) and (17) to (19).
  • the reception unit receives information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information uses the image of the long term reference frame as a reference image.
  • the image decoding device according to any one of (11) to (16), (18), and (19), which further receives the control information only when it indicates use.
  • It further includes an accuracy control unit that determines the accuracy of the filtering process according to the type of the reference frame from which the reference image is read out and the control information received by the receiving unit,
  • the image decoding device according to any one of (11) to (17) and (19), wherein the filter unit performs the filtering process with the accuracy determined by the accuracy control unit.
  • 100 image encoding device 101 base layer image coder, 102 enhancement layer image coder, 103 multiplexing unit, 142 frame memory, filter control unit, filter processing unit, setting unit, layer determination unit, 183 filter accuracy control unit, 200 image decoding device, 201 demultiplexing unit, 202 base layer image decoding unit, 203 enhancement layer image decoding unit, ⁇ ⁇ ⁇ frame memory, 244 filter control unit, 273 filter processing unit, 281 control information acquisition unit , 282 layer determination unit 282, 283 filter accuracy control unit

Landscapes

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

Abstract

The present disclosure relates to an image encoding apparatus and method and an image decoding apparatus and method for allowing for suppressing the increase of load of encoding or decoding. Included are: a filter unit that performs, with a degree of precision that is in accordance with the layer of a reference image to be used for encoding image data consisting of a plurality of layers, a filter processing of the reference image; and an encoding unit that uses the reference image, which has been subjected to the filter processing performed by the filter unit, to encode a current layer of the image data. The present disclosure can be applied to an image processing apparatus, such as, for example, an image encoding apparatus for encoding image data such that the image data is scalable or an image decoding apparatus for decoding encoded data in which image data has been encoded such that the image data is scalable.

Description

画像符号化装置および方法、並びに、画像復号装置および方法Image encoding apparatus and method, and image decoding apparatus and method
  本開示は画像符号化装置および方法、並びに、画像復号装置および方法に関し、特に、符号化または復号の負荷の増大を抑制することができるようにした画像符号化装置および方法、並びに、画像復号装置および方法に関する。 The present disclosure relates to an image encoding apparatus and method, and an image decoding apparatus and method, and in particular, an image encoding apparatus and method capable of suppressing an increase in encoding or decoding load, and an image decoding apparatus. And the method.
  近年、画像情報をデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮する符号化方式を採用して画像を圧縮符号する装置が普及しつつある。この符号化方式には、例えば、MPEG(Moving Picture Experts Group)などがある。 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).
  特に、MPEG2(ISO/IEC 13818-2)は、汎用画像符号化方式として定義されており、飛び越し走査画像及び順次走査画像の双方、並びに標準解像度画像及び高精細画像を網羅する標準である。例えば、MPEG2は、プロフェッショナル用途及びコンシューマ用途の広範なアプリケーションに現在広く用いられている。MPEG2圧縮方式を用いることにより、例えば720×480画素を持つ標準解像度の飛び越し走査画像であれば4乃至8Mbpsの符号量(ビットレート)が割り当てられる。また、MPEG2圧縮方式を用いることにより、例えば1920×1088画素を持つ高解像度の飛び越し走査画像であれば18乃至22 Mbpsの符号量(ビットレート)が割り当てられる。これにより、高い圧縮率と良好な画質の実現が可能である。 In particular, MPEG2 (ISO / IEC 13818-2) is defined as a general-purpose image encoding system, and is a standard that covers both interlaced scanning images and progressive scanning images, as well as standard resolution images and high-definition images. For example, MPEG2 is currently widely used in a wide range of applications for professional and consumer applications. By using the MPEG2 compression method, for example, a code amount (bit rate) of 4 to 8 Mbps is assigned to an interlaced scanned image having a standard resolution of 720 × 480 pixels. Further, by using the MPEG2 compression method, for example, a high resolution interlaced scanned image having 1920 × 1088 pixels is assigned a code amount (bit rate) of 18 to 22 Mbps. As a result, a high compression rate and good image quality can be realized.
  MPEG2は主として放送用に適合する高画質符号化を対象としていたが、MPEG1より低い符号量(ビットレート)、つまりより高い圧縮率の符号化方式には対応していなかった。携帯端末の普及により、今後そのような符号化方式のニーズは高まると思われ、これに対応してMPEG4符号化方式の標準化が行われた。画像符号化方式に関しては、1998年12月にISO/IEC 14496-2としてその規格が国際標準に承認された。 MPEG2 was mainly intended for high-quality encoding suitable for broadcasting, but did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate. With the widespread use of mobile terminals, the need for such an encoding system is expected to increase in the future, and the MPEG4 encoding system has been standardized accordingly. Regarding the image coding system, the standard was approved as an international standard in December 1998 as ISO / IEC 14496-2.
  更に、近年、当初テレビ会議用の画像符号化を目的として、H.26L (ITU-T(International Telecommunication Union Telecommunication Standardization Sector) Q6/16 VCEG(Video Coding Expert Group))という標準の規格化が進められた。H.26LはMPEG2やMPEG4といった従来の符号化方式に比べ、その符号化、復号化により多くの演算量が要求されるものの、より高い符号化効率が実現されることが知られている。また、現在、MPEG4の活動の一環として、このH.26Lをベースに、H.26Lではサポートされない機能をも取り入れ、より高い符号化効率を実現する標準化がJoint Model of Enhanced-Compression Video Codingとして行われた。 Furthermore, in recent years, the standardization of H.26L (ITU-T (International Telecommunication Union Telecommunication Standardization Sector) Q6 / 16 VCEG (Video Coding Expert Group)) has been promoted for the purpose of initial video coding for video conferences. It was. H.26L is known to achieve higher encoding efficiency than the conventional encoding schemes such as MPEG2 and MPEG4, although a large amount of calculation is required for encoding and decoding. In addition, as part of MPEG4 activities, Joint 取 り 入 れ Model of Enhanced-Compression Video Coding has been implemented based on this H.26L and incorporating functions not supported by H.26L to achieve higher coding efficiency. It was broken.
  標準化のスケジュールとしては、2003年3月にはH.264及びMPEG-4 Part10 (Advanced Video Coding、以下AVCと記す)という名の元に国際標準となった。 The standardization schedule became an international standard in March 2003 under the names H.264 and MPEG-4 Part 10 (Advanced Video Coding, hereinafter referred to as AVC).
  さらに、このH.264/AVCの拡張として、RGBや4:2:2、4:4:4といった、業務用に必要な符号化ツールや、MPEG-2で規定されていた8x8DCTや量子化マトリクスをも含んだFRExt (Fidelity Range Extension) の標準化が2005年2月に完了した。これにより、H.264/AVCを用いて、映画に含まれるフィルムノイズをも良好に表現することが可能な符号化方式となって、Blu-Ray Disc(商標)等の幅広いアプリケーションに用いられる運びとなった。 Furthermore, this H. As an extension of H.264 / AVC, FRExt including RGB, 4: 2: 2, 4: 4: 4 coding tools necessary for business use, 8x8DCT and quantization matrix defined by MPEG-2 (FidelityFiRange Extension) standardization was completed in February 2005. As a result, H.C. Using 264 / AVC, it has become an encoding method that can express film noise contained in movies well, and has been used in a wide range of applications such as Blu-Ray Disc (trademark).
  しかしながら、昨今、ハイビジョン画像の4倍の、4000×2000画素程度の画像を圧縮したい、あるいは、インターネットのような、限られた伝送容量の環境において、ハイビジョン画像を配信したいといった、更なる高圧縮率符号化に対するニーズが高まっている。このため、先述の、ITU-T傘下のVCEGにおいて、符号化効率の改善に関する検討が継続され行なわれている。 However, these days, we want to compress images with a resolution of 4000 x 2000 pixels, which is four times higher than high-definition images, or deliver high-definition images in a limited transmission capacity environment such as the Internet. There is a growing need for encoding. For this reason, in the above-mentioned VCEG under the ITU-T, studies on improving the coding efficiency are being continued.
  そこで、現在、AVCより更なる符号化効率の向上を目的として、ITU-Tと、ISO/IECの共同の標準化団体であるJCTVC(Joint Collaboration Team - Video Coding)により、HEVC(High Efficiency Video Coding)と呼ばれる符号化方式の標準化が進められている。HEVC規格については、2013年1月にドラフト版仕様であるCommittee draftが発行されている(例えば、非特許文献1参照)。 Therefore, HEVC (High Efficiency Video Video Coding) is now being developed by JCTVC (Joint Collaboration Collaboration Team Video Coding), a joint standardization organization of ITU-T and ISO / IEC, with the aim of further improving coding efficiency over AVC. The standardization of the encoding method called is being advanced. Regarding the HEVC standard, CommitteeCommitdraft, which is a draft version specification, was issued in January 2013 (see Non-Patent Document 1, for example).
  HEVCにおいては、動き補償のための内挿フィルタが定められている。例えば、輝度信号は、8タップ(tap)フィルタを用いて、1/4画素精度の動き補償を行う。また、色差信号は、4タップ(tap)フィルタを用いて、1/8画素精度の動き補償を行う。いずれも、処理が16ビット(bit)精度に収まるよう規定されている。これらの係数は、DCT-IFと呼ばれる手法により設計されたものである(例えば、非特許文献2参照)。 In HEVC, an interpolation filter for motion compensation is defined. For example, the luminance signal is subjected to motion compensation with 1/4 pixel accuracy using an 8-tap filter. The color difference signal is subjected to motion compensation with 1/8 pixel accuracy using a 4-tap filter. In both cases, the processing is specified to be within 16-bit accuracy. These coefficients are designed by a technique called DCT-IF (see, for example, Non-Patent Document 2).
  また、動き補償フィルタとして1/8画素精度のフィルタを用いることも提案されている(例えば、非特許文献3参照)。 It has also been proposed to use a 1/8 pixel precision filter as a motion compensation filter (see, for example, Non-Patent Document 3).
  ところで、これまでの、MPEG-2やAVCといった画像符号化方式は、画像を複数のレイヤに階層化して符号化するスケーラビリティ(scalability)機能を有していた。HEVCにおいても同様の階層符号化・階層復号(スケーラブル符号化・スケーラブル復号とも称する)が提案されている。 By the way, the conventional image encoding methods such as MPEG-2 and AVC have a scalability function for encoding an image by layering it into a plurality of layers. In the HEVC, the same hierarchical coding / hierarchical decoding (also referred to as scalable coding / scalable decoding) has been proposed.
  このようなスケーラブル符号化・スケーラブル復号においては、処理対象の画像データは、階層化され、他のレイヤを参照せずに符号化・復号を行うベースレイヤ(Base layer)と、他のレイヤ(ベースレイヤ若しくは他のエンハンスメントレイヤ)を参照して符号化・復号を行うエンハンスメントレイヤ(Enhancement layer)を有する。 In such scalable encoding / scalable decoding, image data to be processed is hierarchized, and a base layer (Base layer) that performs encoding / decoding without referring to other layers and other layers (base An enhancement layer (enhancement layer) that performs encoding / decoding with reference to a layer or another enhancement layer is included.
  例えば、空間解像度がスケーラブルな(レイヤ間で空間解像度が異なる)スペーシャルスケーラビリティ(Spatial Scalability)の場合、ベースレイヤ(Baselayer)の画像をエンハンスメントレイヤの処理に利用するためには、そのベースレイヤの画像をアップサンプル処理する必要がある。このアップサンプル処理において、上述した動き補償のための内挿フィルタと同様の、DCT-IFにより設計されたフィルタを用いることが提案されている(例えば、非特許文献4参照)。 For example, in the case of spatial scalability (Spatial Scalability) where the spatial resolution is scalable (the spatial resolution differs between layers), in order to use the base layer image for processing the enhancement layer, the image of the base layer Need to upsample processing. In this upsampling process, it has been proposed to use a filter designed by DCT-IF, similar to the interpolation filter for motion compensation described above (see, for example, Non-Patent Document 4).
  ところで、この非特許文献4においては、以下に述べる通り、スケーラビリティ(Scalability)のフレームワーク(Framework)として、Ref_idxと呼ばれる方法と、TextureBLと呼ばれる方法の、2つの方法が規定されている。 By the way, in Non-Patent Document 4, two methods, a method called Ref_idx and a method called TextureBL, are defined as a framework for scalability as described below.
  すなわち、参照インデックスフレームワーク(Ref_idx Framework)においては、ベースレイヤ(Baselayer)における復号画像を、参照フレームの一部としてフレームメモリに格納し、これを用いてエンハンスメントレイヤ(Enhancementlayer)の符号化・復号が行われる。 That is, in the reference index framework (Ref_idx Framework), the decoded image in the base layer (Baselayer) is stored in the frame memory as a part of the reference frame, and the enhancement layer (Enhancementlayer) is encoded and decoded using this. Done.
  また、テクスチャベースレイヤフレームワーク(TextureBL Framework)においては、イントラ予測モードの1つとして、ベースレイヤ(Baselayer)における復号画像を用いてエンハンスメントレイヤ(Enhancementlayer)の符号化・復号が行われる。 In the texture base layer framework (TextureBL Framework), enhancement layer encoding / decoding is performed using a decoded image in the base layer as one of intra prediction modes.
  しかしながら、参照インデックスフレームワーク(Ref_idx Framework)においては、ベースレイヤにおける復号画像のアップサンプル処理が行われた後、動き予測・補償処理において、動きベクトル精度に応じた内挿処理が行われるという、2段階の冗長なフィルタ処理が行われていた。すなわち、このような冗長なフィルタ処理により、符号化・復号の負荷が、不要に増大する恐れがあった。 However, in the reference index framework (Ref_idx Framework), after the up-sampling process of the decoded image in the base layer is performed, the interpolation process according to the motion vector accuracy is performed in the motion prediction / compensation process. Stages of redundant filtering were performed. In other words, such redundant filter processing may unnecessarily increase the encoding / decoding load.
  本開示は、このような状況に鑑みてなされたものであり、符号化または復号の負荷の増大を抑制することができるようにするものである。 This disclosure has been made in view of such a situation, and is intended to suppress an increase in encoding or decoding load.
  本技術の一側面は、複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う符号化部とを備える画像符号化装置である。 According to one aspect of the present technology, a reference image used for encoding image data including a plurality of layers is subjected to filtering processing with accuracy according to the layer of the reference image, and the filtering processing is performed by the filtering unit. An image encoding apparatus comprising: an encoding unit that encodes a current layer of the image data using the reference image.
  前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行うことができる。 When the reference image is an image of another layer different from the current layer, the filter unit may perform an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. it can.
  前記フィルタ部は、前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行うことができる。 When the reference image is a current layer image, the filter unit performs the filtering process with 1/4 pixel accuracy, and the reference image is an image of another layer whose resolution is ½ of the current layer. In some cases, the filtering process can be performed with 1/8 pixel accuracy.
  前記参照画像とする画像を記憶する記憶部をさらに備え、前記記憶部は、複数の参照フレームを記憶し、前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行うことができる。 The image processing apparatus further includes a storage unit that stores an image to be used as the reference image, the storage unit stores a plurality of reference frames, and the filter unit reads an image read out from the storage unit as the reference image. The filtering process can be performed with accuracy according to the type of reference frame from which the reference image is read.
  前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を伝送する伝送部をさらに備えることができる。 伝 送 A transmission unit that transmits information related to the filtering process on the image read from the reference frame of the storage unit as the reference image may be further provided.
  前記伝送部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を伝送することができる。 The transmission unit can transmit control information for specifying a layer of an image stored as a long-term reference frame, which is one of the reference frames, in the storage unit as information relating to the filtering process.
  前記伝送部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を伝送し、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに伝送することができる。 The transmission unit transmits information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information uses the image of the long term reference frame as a reference image. Only when this is indicated, the control information can be further transmitted.
  前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを設定する設定部をさらに備え、前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記設定部が設定したレイヤに応じた精度で前記フィルタ処理を行うことができる。 The storage unit further includes a setting unit that sets a layer of an image stored as a long-term reference frame that is one of the reference frames, and the filter unit reads the reference image from the long-term reference frame. In the case of an image, the filtering process can be performed with an accuracy according to the layer set by the setting unit.
  前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略することができる。 In the case of the intra BL mode, the filter unit can omit the intra smoothing process for the reference image that is an image of another layer different from the current layer.
  本技術の一側面は、また、複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、前記フィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う画像符号化方法である。 In one aspect of the present technology, a reference image used for encoding image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image, and the filtered reference image is And an image encoding method for encoding a current layer of the image data.
  本技術の他の側面は、複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う復号部とを備える画像復号装置である。 According to another aspect of the present technology, a filter unit that performs a filtering process with accuracy according to a layer of the reference image on a reference image used for decoding encoded data of image data including a plurality of layers, and the filter unit An image decoding apparatus comprising: a decoding unit that performs decoding of a current layer of the encoded data using the filtered reference image.
  前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行うことができる。 When the reference image is an image of another layer different from the current layer, the filter unit may perform an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. it can.
  前記フィルタ部は、前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行うことができる。 When the reference image is a current layer image, the filter unit performs the filtering process with 1/4 pixel accuracy, and the reference image is an image of another layer whose resolution is ½ of the current layer. In some cases, the filtering process can be performed with 1/8 pixel accuracy.
  前記参照画像を記憶する記憶部をさらに備え、前記記憶部は、複数の参照フレームを記憶し、前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行うことができる。 The image processing apparatus further includes a storage unit that stores the reference image, the storage unit stores a plurality of reference frames, and the filter unit performs the reference image on the image read out from the storage unit as the reference image. The filter processing can be performed with an accuracy according to the type of the reference frame from which is read.
  前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を受け取る受け取り部をさらに備えることができる。 受 け 取 り A receiving unit that receives information related to the filtering process on the image read from the reference frame of the storage unit as the reference image can be further provided.
  前記受け取り部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を受け取り、前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記受け取り部により受け取られた前記制御情報により指定されるレイヤに応じた精度で前記フィルタ処理を行うことができる。 The receiving unit receives control information for specifying a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit as information relating to the filtering process, and the filtering unit includes the reference When the image is an image read from the long term reference frame, the filtering process can be performed with an accuracy according to the layer specified by the control information received by the receiving unit.
  前記受け取り部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を受け取り、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに受け取ることができる。 The receiving unit receives information indicating whether the image of the long term reference frame is used as a reference image as information relating to the filtering process, and the information uses the image of the long term reference frame as a reference image. The control information can further be received only when
  前記参照画像が読み出された参照フレームの種類、および、前記受け取り部により受け取られた前記制御情報に応じて、前記フィルタ処理の精度を決定する精度制御部をさらに備え、前記フィルタ部は、前記精度制御部により決定された精度で前記フィルタ処理を行うことができる。 The filter unit further includes an accuracy control unit that determines the accuracy of the filtering process according to the type of the reference frame from which the reference image has been read out and the control information received by the receiving unit. The filtering process can be performed with the accuracy determined by the accuracy control unit.
  前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略することができる。 In the case of the intra BL mode, the filter unit can omit the intra smoothing process for the reference image that is an image of another layer different from the current layer.
  本技術の他の側面は、また、複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、前記フィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う画像復号方法である。 According to another aspect of the present technology, a reference image used for decoding encoded data of image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image. In the image decoding method, the current layer of the encoded data is decoded using the reference image.
  本技術の一側面においては、複数レイヤよりなる画像データの符号化に用いる参照画像に対して、参照画像のレイヤに応じた精度でフィルタ処理が行われ、フィルタ処理された参照画像を用いて、画像データのカレントレイヤの符号化が行われる。 In one aspect of the present technology, filter processing is performed on a reference image used for encoding image data including a plurality of layers with accuracy according to the layer of the reference image, and the filtered reference image is used. The current layer of image data is encoded.
  本技術の他の側面においては、複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、参照画像のレイヤに応じた精度でフィルタ処理が行われ、そのフィルタ処理された参照画像を用いて、符号化データのカレントレイヤの復号が行われる。 In another aspect of the present technology, a reference image used for decoding encoded data of image data including a plurality of layers is subjected to filter processing with accuracy according to the layer of the reference image, and the filtered reference Using the image, the current layer of the encoded data is decoded.
  本開示によれば、画像を符号化・復号することができる。特に、符号化または復号の負荷の増大を抑制することができる。 According to the present disclosure, an image can be encoded and decoded. In particular, an increase in encoding or decoding load can be suppressed.
コーディングユニットの構成例を説明する図である。It is a figure explaining the structural example of a coding unit. 階層画像符号化方式の例を示す図である。It is a figure which shows the example of a hierarchy image coding system. スペーシャルなスケーラブル符号化の例を説明する図である。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. 動き補償のための内挿フィルタの例を示す図である。It is a figure which shows the example of the interpolation filter for motion compensation. シーケンスパラメータセットのシンタクスの例を説明する図である。It is a figure explaining the example of the syntax of a sequence parameter set. シーケンスパラメータセットのシンタクスの例を説明する、図7に続く図である。FIG. 8 is a diagram following FIG. 7 for explaining an example of syntax of a sequence parameter set. スライスヘッダのシンタクスの例を説明する図である。It is a figure explaining the example of the syntax of a slice header. スライスヘッダのシンタクスの例を説明する、図9に続く図である。FIG. 10 is a diagram subsequent to FIG. 9 for explaining an example of syntax of a slice header. スライスヘッダのシンタクスの例を説明する、図10に続く図である。FIG. 11 is a diagram illustrating an example of the syntax of a slice header, following FIG. 10. 画像符号化装置の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an image coding 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 filter control part and the inter estimation part. 画像符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an image 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. エンハンスメントレイヤ符号化処理の流れの例を説明する、図18に続くフローチャートである。FIG. 19 is a flowchart following FIG. 18 for explaining an example of the flow of the enhancement layer encoding process. インター予測処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an inter prediction process. 画像復号装置の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an image 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 other structural example of a filter control part and the inter estimation part. 画像復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an image 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. エンハンスメントレイヤ復号処理の流れの例を説明する、図27に続くフローチャートである。FIG. 28 is a flowchart subsequent to FIG. 27, illustrating an example of the flow of enhancement layer decoding processing. 予測画像生成処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a prediction image generation process. インター予測処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an inter prediction process. MDIS(Mode Dependent Intra Smoothing)の例を説明する図である。It is a figure explaining the example of MDIS (Mode | Dependent | Intra | Smoothing). エンハンスメントレイヤ画像符号化部の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of an enhancement layer image coding part. フィルタ制御部およびイントラ予測部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of a filter control part and an intra estimation part. エンハンスメントレイヤ符号化処理の流れの、他の例を説明するフローチャートである。It is a flowchart explaining the other example of the flow of an enhancement layer encoding process. エンハンスメントレイヤ符号化処理の流れの、他の例を説明する、図34に続くフローチャートである。FIG. 35 is a flowchart following FIG. 34 for explaining another example of the flow of the enhancement layer encoding process. イントラ予測処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an intra prediction process. エンハンスメントレイヤ画像復号部の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of an enhancement layer image decoding part. フィルタ制御部およびイントラ予測部の他の構成例を示すブロック図である。It is a block diagram which shows the other structural example of a filter control part and an intra estimation part. 予測画像生成処理の流れの、他の例を説明するフローチャートである。It is a flowchart explaining the other example of the flow of a prediction image generation process. イントラ予測処理の流れの、他の例を説明するフローチャートである。It is a flowchart explaining the other example of the flow of an intra prediction process. 多視点画像符号化方式の例を示す図である。It is a figure which shows the example of a multiview image encoding system. 本技術を適用した多視点画像符号化装置の主な構成例を示す図である。It is a figure which shows the main structural examples of the multiview image coding apparatus to which this technique is applied. 本技術を適用した多視点画像復号装置の主な構成例を示す図である。It is a figure which shows the main structural examples of the multiview image decoding apparatus to which this technique is applied. コンピュータの主な構成例を示すブロック図である。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. ビデオセットの概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of a video set. ビデオプロセッサの概略的な構成の一例を示すブロック図である。It is a block diagram which shows an example of a schematic structure of a video processor. ビデオプロセッサの概略的な構成の他の例を示すブロック図である。It is a block diagram which shows the other example of the schematic structure of a video processor.
  以下、本開示を実施するための形態(以下実施の形態とする)について説明する。なお、説明は以下の順序で行う。
  1.概要
  2.第1の実施の形態(画像符号化装置)
  3.第2の実施の形態(画像復号装置)
  4.第3の実施の形態(画像符号化装置)
  5.第4の実施の形態(画像復号装置)
  6.第5の実施の形態(多視点画像符号化・多視点画像復号装置)
  7.第6の実施の形態(コンピュータ)
  8.応用例
  9.スケーラブル符号化の応用例
  10.第7の実施の形態(セット・ユニット・モジュール・プロセッサ)
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.
1. Overview 2. First Embodiment (Image Encoding Device)
3. Second embodiment (image decoding apparatus)
4). Third Embodiment (Image Encoding Device)
5. Fourth embodiment (image decoding apparatus)
6). Fifth embodiment (multi-view image encoding / multi-view image decoding apparatus)
7). Sixth embodiment (computer)
8). Application example 9. 10. Application example of scalable coding Seventh embodiment (set unit module processor)
  <1.概要>
    <符号化方式>
  以下においては、HEVC(High Efficiency Video Coding)方式の画像符号化・復号に適用する場合を例に、本技術を説明する。
<1. 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, also called Coding Tree Block (CTB), 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に分割される。 Within 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 macroblock in the AVC scheme, and the CU also includes a block (sub-block) in the AVC scheme. 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 equation (1).
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
  ここで、Ωは、当該ブロック乃至マクロブロックを符号化するための候補モードの全体集合、Dは、当該予測モードで符号化した場合の、復号画像と入力画像の差分エネルギーである。λは、量子化パラメータの関数として与えられるLagrange未定乗数である。Rは、直交変換係数を含んだ、当該モードで符号化した場合の総符号量である。 Here, Ω is a whole set of candidate modes for encoding the block or macroblock, and D is a 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 above-described parameters D and R are calculated, so 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 expressed as the following equation (2).
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
  ここで、Dは、High Complexity Modeの場合と異なり、予測画像と入力画像の差分エネルギーとなる。QP2Quant(QP)は、量子化パラメータQPの関数として与えられ、HeaderBitは、直交変換係数を含まない、動きベクトルや、モードといった、Headerに属する情報に関する符号量である。 D 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より低い演算量での実現が可能である。 In other words, in Low Complexity Mode, it is necessary to perform prediction processing for each candidate mode, but it is not necessary to perform decoding processing because there is no need for decoding images. For this reason, it is possible to realize with a calculation amount lower than that of High Complexity Mode.
    <階層符号化>
  ところで、これまでの、MPEG2、AVCといった画像符号化方式は、スケーラビリティ(scalability)機能を有していた。スケーラブル符号化(階層符号化)とは、画像を複数レイヤ化(階層化)し、レイヤ毎に符号化する方式である。図2は、階層画像符号化方式の一例を示す図である。
<Hierarchical coding>
By the way, the conventional image coding methods such as MPEG2 and AVC have a scalability function. Scalable encoding (hierarchical encoding) is a scheme in which an image is divided into a plurality of layers (hierarchical) and encoded for each layer. FIG. 2 is a diagram illustrating an example of a hierarchical image encoding scheme.
  図2に示されるように、画像の階層化においては、スケーラビリティ機能を有する所定のパラメータを基準として1の画像が複数の階層(レイヤ)に分割される。つまり、階層化された画像(階層画像)は、その所定のパラメータの値が互いに異なる複数の階層(レイヤ)の画像を含む。この階層画像の複数のレイヤは、他のレイヤの画像を利用せずに自身のレイヤの画像のみを用いて符号化・復号を行うベースレイヤと、他のレイヤの画像を利用して符号化・復号を行うノンベースレイヤ(エンハンスメントレイヤとも称する)とによりなる。ノンベースレイヤは、ベースレイヤの画像を利用するようにしても良いし、他のノンベースレイヤの画像を利用するようにしてもよい。 As shown in FIG. 2, in image hierarchization, one image is divided into a plurality of hierarchies (layers) based on a predetermined parameter having a scalability function. That is, the hierarchized image (hierarchical image) includes images of a plurality of hierarchies (layers) having different predetermined parameter values. A plurality of layers of this hierarchical image are encoded / decoded using only the image of the own layer without using the image of the other layer, and encoded / decoded using the image of the other layer. It consists of a non-base layer (also called enhancement layer) that performs decoding. As the non-base layer, an image of the base layer may be used, or an image of another non-base layer may be used.
  一般的に、ノンベースレイヤは、冗長性が低減されるように、自身の画像と、他のレイヤの画像との差分画像のデータ(差分データ)により構成される。例えば、1の画像をベースレイヤとノンベースレイヤ(エンハンスメントレイヤとも称する)に2階層化した場合、ベースレイヤのデータのみで元の画像よりも低品質な画像が得られ、ベースレイヤのデータとノンベースレイヤのデータを合成することで、元の画像(すなわち高品質な画像)が得られる。 Generally, the non-base layer is composed of difference image data (difference data) between its own image and an image of another layer so that redundancy is reduced. For example, when one image is divided into two layers of a base layer and a non-base layer (also referred to as an enhancement layer), an image with lower quality than the original image can be obtained using only the base layer data. By synthesizing the base layer data, an original image (that is, a high-quality image) can be obtained.
  このように画像を階層化することにより、状況に応じて多様な品質の画像を容易に得ることができる。例えば携帯電話のような、処理能力の低い端末に対しては、ベースレイヤ(base layer)のみの画像圧縮情報を伝送し、空間時間解像度の低い、或いは、画質の良くない動画像を再生し、テレビやパーソナルコンピュータのような、処理能力の高い端末に対しては、ベースレイヤ(base layer)に加えて、エンハンスメントレイヤ(enhancement layer)の画像圧縮情報を伝送し、空間時間解像度の高い、或いは、画質の高い動画像を再生するといったように、トランスコード処理を行うことなく、端末やネットワークの能力に応じた画像圧縮情報を、サーバから送信することが可能となる。 By layering images in this way, images of various qualities can be easily obtained according to 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 low spatiotemporal resolution or poor image quality is played 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.
    <スケーラブルなパラメータ>
  このような階層画像符号化・階層画像復号(スケーラブル符号化・スケーラブル復号)において、スケーラビリティ(scalability)機能を有するパラメータは、任意である。例えば、図3に示されるような空間解像度をそのパラメータとしてもよい(spatial scalability)。このスペーシャルスケーラビリティ(spatial scalability)の場合、レイヤ毎に画像の解像度が異なる。つまり、図3に示されるように、各ピクチャが、元の画像より空間的に低解像度のベースレイヤと、ベースレイヤの画像と合成することにより元の画像(元の空間解像度)が得られるエンハンスメントレイヤの2階層に階層化される。もちろん、この階層数は一例であり、任意の階層数に階層化することができる。
<Scalable parameters>
In such hierarchical image encoding / hierarchical image decoding (scalable encoding / scalable decoding), parameters having a scalability function are arbitrary. For example, the spatial resolution as shown in FIG. 3 may be used as the parameter (spatial scalability). In the case of this spatial scalability, the resolution of the image is different for each layer. That is, as shown in FIG. 3, the enhancement is such that each picture is synthesized with the 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.
  また、このようなスケーラビリティ性を持たせるパラメータとして、他には、例えば、図4に示されるような、時間解像度を適用しても良い(temporal scalability)。このテンポラルスケーラビリティ(temporal scalability)の場合、レイヤ毎にフレームレートが異なる。つまり、この場合、図4に示されるように、互いに異なるフレームレートのレイヤに階層化されており、低フレームレートのレイヤに、高フレームレートのレイヤを加えることで、より高フレームレートの動画像を得ることができ、全てのレイヤを加えることで、元の動画像(元のフレームレート)を得ることができる。この階層数は一例であり、任意の階層数に階層化することができる。 In addition, as a parameter for providing such scalability, for example, temporal resolution as shown in FIG. 4 may be applied (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. 4, 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比が異なる。つまり、図5に示されるように、各ピクチャが、元の画像よりSNRの低いベースレイヤと、ベースレイヤの画像と合成することにより元の画像(元のSNR)が得られるエンハンスメントレイヤの2階層に階層化される。すなわち、ベースレイヤ(base layer)画像圧縮情報においては、低PSNRの画像に関する情報が伝送されており、これに、エンハンスメントレイヤ(enhancement layer)画像圧縮情報を加えることで、高PSNR画像を再構築することが可能である。もちろん、この階層数は一例であり、任意の階層数に階層化することができる。 Furthermore, for example, a signal-to-noise ratio (SNR (Signal to Noise ratio)) may be applied (SNR せ る scalability) as a parameter for providing such scalability. In the case of this SNR scalability (SNR scalability), the SN ratio is different for each layer. That is, as shown in FIG. 5, 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 the enhancement layer (enhancement layer) image compression information is added to this to reconstruct a high PSNR image. 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, parameters other than the above-described example may be used for the scalability. For example, the base layer (base layer) consists of 8-bit (bit) images, and by adding an enhancement layer (enhancement layer) to this, the bit depth scalability (bit-depth ら れ る scalability) from which a 10-bit (bit) image 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, chroma scalability (chroma) scalability).
    <動き補償のための内挿フィルタ>
  HEVCにおいては、図6に示されるような動き補償のための内挿フィルタが定められている。例えば、輝度信号は、8タップ(tap)フィルタを用いて、1/4画素精度の動き補償を行う。また、色差信号は、4タップ(tap)フィルタを用いて、1/8画素精度の動き補償を行う。いずれも、処理が16ビット(bit)精度に収まるよう規定されている。これらの係数は、非特許文献2に記載されているようにDCT-IFと呼ばれる手法により設計されたものである。
<Interpolation filter for motion compensation>
In HEVC, an interpolation filter for motion compensation as shown in FIG. 6 is defined. For example, the luminance signal is subjected to motion compensation with 1/4 pixel accuracy using an 8-tap filter. The color difference signal is subjected to motion compensation with 1/8 pixel accuracy using a 4-tap filter. In both cases, the processing is specified to be within 16-bit accuracy. These coefficients are designed by a technique called DCT-IF as described in Non-Patent Document 2.
  また、非特許文献3には、動き補償フィルタとして1/8画素精度のフィルタを用いることも提案されている。 Also, Non-Patent Document 3 proposes using a 1/8 pixel precision filter as a motion compensation filter.
  ところで、空間解像度がスケーラブルな(レイヤ間で空間解像度が異なる)スペーシャルスケーラビリティ(Spatial Scalability)の場合、ベースレイヤ(Baselayer)の画像をエンハンスメントレイヤの処理に利用するためには、そのベースレイヤの画像をアップサンプル処理する必要がある。非特許文献4においては、このアップサンプル処理において、上述した動き補償のための内挿フィルタと同様の、DCT-IFにより設計されたフィルタを用いることが提案されている。 By the way, in the case of spatial scalability (Spatial Scalability) where the spatial resolution is scalable (the spatial resolution differs between layers), in order to use the base layer image for the enhancement layer processing, the image of the base layer Need to upsample processing. In Non-Patent Document 4, it is proposed to use a filter designed by DCT-IF, similar to the interpolation filter for motion compensation described above, in this upsampling process.
  また、この非特許文献4においては、以下に述べる通り、スケーラビリティ(Scalability)のフレームワーク(Framework)として、Ref_idxと呼ばれる方法と、TextureBLと呼ばれる方法の、2つの方法が規定されている。すなわち、参照インデックスフレームワーク(Ref_idx Framework)においては、ベースレイヤ(Baselayer)における復号画像を、参照フレームの一部としてフレームメモリに格納し、これを用いてエンハンスメントレイヤ(Enhancementlayer)の符号化・復号が行われる。また、テクスチャベースレイヤフレームワーク(TextureBL Framework)においては、イントラ予測モードの1つとして、ベースレイヤ(Baselayer)における復号画像を用いてエンハンスメントレイヤ(Enhancementlayer)の符号化・復号が行われる。 In Non-Patent Document 4, two methods, a method called Ref_idx and a method called TextureBL, are defined as a framework for scalability as described below. That is, in the reference index framework (Ref_idx Framework), the decoded image in the base layer (Baselayer) is stored in the frame memory as a part of the reference frame, and the enhancement layer (Enhancementlayer) is encoded and decoded using this. Done. In the texture base layer framework (TextureBL Framework), enhancement layer encoding / decoding is performed using a decoded image in the base layer as one of intra prediction modes.
  しかしながら、参照インデックスフレームワーク(Ref_idx Framework)においては、ベースレイヤにおける復号画像のアップサンプル処理が行われた後、動き予測・補償処理において、動きベクトル精度に応じた内挿処理が行われるという、2段階の冗長なフィルタ処理が行われていた。すなわち、このような冗長なフィルタ処理により、符号化・復号の負荷が、不要に増大する恐れがあった。また、この場合、アップサンプルしたベースレイヤの画像をバッファに保持することになり、この画像を記憶するために、エンハンスメントレイヤ(Enhancementlayer)の解像度相当のバッファが必要になり、これにより、回路規模や消費電力を増大させてしまう恐れがあった。 However, in the reference index framework (Ref_idx Framework), after the up-sampling process of the decoded image in the base layer is performed, the interpolation process according to the motion vector accuracy is performed in the motion prediction / compensation process. Stages of redundant filtering were performed. In other words, such redundant filter processing may unnecessarily increase the encoding / decoding load. In this case, the up-sampled base layer image is held in a buffer, and in order to store this image, a buffer equivalent to the enhancement layer (Enhancement layer) resolution is required. There was a risk of increasing power consumption.
    <フィルタ処理>
  そこで、複数レイヤよりなる画像データの符号化に用いる参照画像に対して、その参照画像のレイヤに応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、画像データのカレントレイヤの符号化・復号を行うようにする。
<Filter processing>
Therefore, a reference image used for encoding image data composed of a plurality of layers is subjected to filter processing with an accuracy according to the layer of the reference image, and the current layer of the image data is used using the filtered reference image. Are encoded / decoded.
  つまり、上述したような冗長なフィルタ処理が行われないように、参照画像のレイヤに応じて適切な精度でフィルタ処理を行うようにする。例えば、参照画像がカレントレイヤと異なる他のレイヤの画像である場合、参照画像に対するアップサンプル処理と動き補償のための内挿処理との2つのフィルタ処理が必要であるが、これらを、単一のフィルタ処理により行うようにしてもよい。 That is, the filtering process is performed with appropriate accuracy according to the layer of the reference image so that the redundant filtering process as described above is not performed. For example, when the reference image is an image of another layer different from the current layer, two filter processes of an up-sampling process for the reference image and an interpolation process for motion compensation are necessary. You may make it carry out by the filtering process.
  このようにすることにより、フィルタ処理による負荷の不要な増大を抑制することができる。つまり、このようにすることにより、符号化・復号の負荷の増大を抑制することができる。 に す る In this way, an unnecessary increase in load due to the filter processing can be suppressed. That is, by doing so, an increase in encoding / decoding load can be suppressed.
  例えば、参照画像が処理対象であるカレントレイヤ(例えばエンハンスメントレイヤ)の画像である場合、アップサンプル処理は不要であるので、1/4画素精度でフィルタ処理を行うようにしてもよい。また、例えば、ベースレイヤの解像度がエンハンスメントレイヤの解像度の1/2であり、参照画像が、他のレイヤ(例えばベースレイヤ)の画像である場合、アップサンプル処理が必要になるので、その分を考慮して、1/8画素精度でフィルタ処理を行うようにしてもよい。 For example, when the reference image is an image of the current layer (for example, enhancement layer) to be processed, the upsampling process is not necessary, and therefore the filter process may be performed with 1/4 pixel accuracy. In addition, for example, when the resolution of the base layer is 1/2 of the resolution of the enhancement layer and the reference image is an image of another layer (for example, the base layer), up-sampling processing is necessary. In consideration, the filter processing may be performed with 1/8 pixel accuracy.
  また、イントラ予測処理を行う場合には、ベースレイヤにおけるコロケーテッド(Collocated)の位置(position)にある画素を参照することになるが、この時、同時に、1/2画素精度の位置にある画素を、動き補償フィルタを用いて生成するようにしてもよい。 In addition, when performing the intra prediction process, the pixel at the collocated position (position) in the base layer is referred to. At this time, the pixel at the ½ pixel accuracy position is simultaneously selected. Alternatively, it may be generated using a motion compensation filter.
  以上のように、アップサンプル処理と、小数画素精度の動き補償を同時に行うことにより、演算量を削減することができる。また、フィルタ処理を2段階で行う場合、信号の持つ高域成分が失われ、スケーラブル符号化装置では画質劣化に繋がる恐れがあったが、以上のように、1段階のフィルタ処理とすることで、このような高域成分の損失を回避することができ、エンハンスメントレイヤ(Enhancementlayer)における出力画像の画質を向上させることができる(画質の低減を抑制することができる)。 As described above, the amount of calculation can be reduced by simultaneously performing the up-sampling process and the motion compensation with decimal pixel accuracy. In addition, when the filtering process is performed in two stages, the high-frequency component of the signal is lost, and there is a possibility that the scalable coding apparatus may lead to image quality deterioration. However, as described above, the filtering process is performed in one stage. Such loss of high-frequency components can be avoided, and the image quality of the output image in the enhancement layer (Enhancementlayer) can be improved (the reduction in image quality can be suppressed).
  なお、レイヤ間の解像度比は、上述した例(2x Scalability)に限らない。本技術は、任意の解像度変換比のスケーラビリティ(Scalability)に適用することができる。その場合のフィルタ係数は、例えば、非特許文献4に記載の方法により求めることができる。ただし、本技術を適用する場合のフィルタ係数は、アップサンプル処理と動き補償のための内挿処理との両方を含むフィルタ処理の係数として求める必要がある。 Note that the resolution ratio between layers is not limited to the above-described example (2 × Scalability). The present technology can be applied to scalability of any resolution conversion ratio. The filter coefficient in that case can be calculated | required by the method of a nonpatent literature 4, for example. However, the filter coefficient in the case of applying the present technology needs to be obtained as a filter processing coefficient including both up-sampling processing and interpolation processing for motion compensation.
  また、例えば、この参照画像を記憶する記憶部を設け、その記憶部から参照画像として読み出された画像に対して、上述したようにフィルタ処理を行うようにしてもよい。つまり、この場合、例えば、ベースレイヤの画像をアップサンプル処理せずに記憶部に記憶することができる。これにより、ベースレイヤの画像を格納するための記憶容量の増大を抑制することができる。 In addition, for example, a storage unit that stores the reference image may be provided, and the filter processing may be performed on the image read out as the reference image from the storage unit as described above. That is, in this case, for example, the base layer image can be stored in the storage unit without being upsampled. Thereby, it is possible to suppress an increase in storage capacity for storing the base layer image.
  さらに、この記憶部が複数の参照フレームを記憶するようにし、参照画像が読み出される参照フレームの種類に応じた精度でフィルタ処理を行うようにしてもよい。このようにすることにより、容易にフィルタ処理の精度を決定することができる。 In addition, the storage unit may store a plurality of reference frames, and the filtering process may be performed with an accuracy according to the type of the reference frame from which the reference image is read. By doing in this way, the precision of a filter process can be determined easily.
  また、この記憶部に参照フレームの1つであるロングターム参照フレーム(長時間参照ピクチャとも称する)として記憶される画像のレイヤを設定するようにしてもよい。そして、参照画像がロングターム参照フレームから読み出された画像である場合、その設定のレイヤに応じた精度でフィルタ処理が行われるようにしてもよい。 In addition, a layer of an image stored as a long term reference frame (also referred to as a long-term reference picture) that is one of the reference frames may be set in the storage unit. When the reference image is an image read from the long term reference frame, the filtering process may be performed with an accuracy according to the set layer.
  参照フレームの1つであるショートターム参照フレーム(短時間参照ピクチャとも称する)の画像は、処理対象であるカレントピクチャが更新される度に、更新されるが、ロングターム参照フレームの画像は、このロングターム参照フレームを指定する新たなピクチャが提供されるまで更新されない。上述したようなレイヤの設定により、このロングターム参照フレームには、そのレイヤの画像が格納されることになる。つまり、ロングターム参照フレームから読み出された画像は、その設定されたレイヤである。したがって、参照画像がロングターム参照フレームから読み出された画像である場合、その設定から、容易にフィルタ処理の精度を決定することができる。 An image of a short-term reference frame (also referred to as a short-term reference picture), which is one of the reference frames, is updated every time the current picture to be processed is updated. It is not updated until a new picture is provided that specifies a long term reference frame. By setting the layer as described above, the image of the layer is stored in the long term reference frame. That is, the image read from the long term reference frame is the set layer. Therefore, when the reference image is an image read from the long term reference frame, the accuracy of the filtering process can be easily determined from the setting.
  なお、このロングターム参照フレームの画像のレイヤの設定方法は任意である。例えば、ユーザや他の装置等、外部からの指示に従ってレイヤが設定されるようにしても良いし、入力画像や入力画像に関する情報等に基づいてレイヤが設定されるようにしてもよい。 Note that the method of setting the image layer of this long term reference frame is arbitrary. For example, a layer may be set according to an instruction from the outside such as a user or another device, or a layer may be set based on an input image, information about the input image, or the like.
  また、フィルタ処理の精度を決定する精度制御部を設けるようにしてもよい。この精度制御部は、例えば、参照画像が読み出された参照フレームの種類と、ロングターム参照フレームのレイヤの設定とに応じて、フィルタ処理の精度を決定することができる。 Further, an accuracy control unit that determines the accuracy of the filter processing may be provided. For example, the accuracy control unit can determine the accuracy of the filtering process according to the type of the reference frame from which the reference image is read and the layer setting of the long-term reference frame.
  さらに、このエンハンスメントレイヤの符号化の予測処理における参照画像へのフィルタ処理に関する情報を復号側に供給するようにしてもよい。例えば、そのフィルタ処理に関する情報として、ロングターム参照フレームに格納される画像のレイヤを指定する制御情報を復号側に伝送するようにしてもよい。また、例えば、フィルタ処理に関する情報として、参照画像としてロングターム参照フレームの画像を使用するかを示す情報を伝送し、その情報が、参照画像としてロングターム参照フレームの画像を使用することを示す場合のみ、ロングターム参照フレームに格納される画像のレイヤを指定する制御情報をさらに伝送するようにしてもよい。 Furthermore, information regarding the filtering process on the reference image in the prediction process of the enhancement layer encoding may be supplied to the decoding side. For example, control information for specifying a layer of an image stored in the long term reference frame may be transmitted to the decoding side as information regarding the filtering process. In addition, for example, when information indicating whether to use a long-term reference frame image as a reference image is transmitted as information related to filtering, and the information indicates that a long-term reference frame image is used as a reference image Only the control information specifying the layer of the image stored in the long term reference frame may be transmitted.
  このようなフィルタ処理に関する情報を復号側に伝送することにより、復号の際にも、符号化の際と同様に、フィルタ処理を行うことができる。つまり、符号化・復号の負荷の増大を抑制することができる。 情報 By transmitting information related to such filter processing to the decoding side, it is possible to perform filter processing in decoding as well as in encoding. That is, an increase in encoding / decoding load can be suppressed.
    <シンタクス>
  このようにフィルタ処理に関する情報を伝送する場合の、シーケンスパラメータセット(SPS(Sequence Parameter Set))のシンタクスの例を図7および図8に示す。この例の場合、図8に示されるように、参照画像としてロングターム参照フレームの画像を使用するかを示す情報として、long_term_ref_pics_present_flagが伝送され、その値が「1(真)」である場合、ロングターム参照フレームに格納される画像のレイヤを指定する制御情報として、ref_layer_id[i]が、シーケンスパラメータセットにより伝送される。
<Syntax>
Examples of syntax of a sequence parameter set (SPS (Sequence Parameter Set)) in the case of transmitting information related to filter processing in this way are shown in FIGS. In the case of this example, as shown in FIG. 8, long_term_ref_pics_present_flag is transmitted as information indicating whether to use a long-term reference frame image as a reference image, and when the value is “1 (true)”, long Ref_layer_id [i] is transmitted by the sequence parameter set as control information for designating the layer of the image stored in the term reference frame.
  このようにすることにより、参照画像としてロングターム参照フレームの画像を使用しない場合に、ロングターム参照フレームに格納される画像のレイヤを指定する制御情報の伝送を省略することができ、符号化効率の低減を抑制することができる。 In this way, when an image of a long term reference frame is not used as a reference image, transmission of control information for specifying a layer of an image stored in the long term reference frame can be omitted, and the encoding efficiency can be omitted. Can be suppressed.
  なお、このようなフィルタ処理に関する情報の伝送は、シーケンスパラメータセット以外において行うようにしてもよい。例えば、スライスヘッダにおいて伝送されるようにしてもよい。図9乃至図11は、スライスヘッダ(slice_segment_header)のシンタクスの例を示す図である。 It should be noted that transmission of information relating to such filter processing may be performed outside of the sequence parameter set. For example, it may be transmitted in a slice header. 9 to 11 are diagrams illustrating an example of syntax of a slice header (slice_segment_header).
  図9に示されるように、この場合も、シーケンスパラメータセットの場合と同様に、long_term_ref_pics_present_flagとref_layer_id[i]が伝送される。なお、これらの情報の伝送は、ピクチャパラメータセット(PPS(Picrture Parameter Set))であってもよいし、ビデオパラメータセット(VPS(Video Parameter Set))であってもよいし、また、これら以外であっても良い。 示 As shown in FIG. 9, in this case, as in the case of the sequence parameter set, long_term_ref_pics_present_flag and ref_layer_id [i] are transmitted. The transmission of the information may be a picture parameter set (PPS (Picrture Parameter Set)), a video parameter set (VPS (Video Parameter Set)), or other than these. There may be.
  なお、参照されるレイヤ(ベースレイヤ)の符号化方式は、HEVCに限定されず、任意である。例えば、AVC等、HEVC以外の方式であってもよい。 Note that the encoding method of the referenced layer (base layer) is not limited to HEVC and is arbitrary. For example, a method other than HEVC, such as AVC, may be used.
  <2.第1の実施の形態>
    <画像符号化装置>
  次に、以上のような本技術を実現する装置とその方法について説明する。図12は、本技術を適用した画像処理装置の一態様である、画像符号化装置を示す図である。図12に示される画像符号化装置100は、階層画像符号化を行う装置である。図12に示されるように、画像符号化装置100は、ベースレイヤ画像符号化部101、エンハンスメントレイヤ画像符号化部102、および多重化部103を有する。
<2. First Embodiment>
<Image encoding device>
Next, an apparatus and method for realizing the present technology as described above will be described. FIG. 12 is a diagram illustrating an image encoding device that is an aspect of an image processing device to which the present technology is applied. An image encoding device 100 illustrated in FIG. 12 is a device that performs hierarchical image encoding. As illustrated in FIG. 12, the image encoding device 100 includes a base layer image encoding unit 101, an enhancement layer image encoding unit 102, and a multiplexing unit 103.
  ベースレイヤ画像符号化部101は、ベースレイヤ画像を符号化し、ベースレイヤ画像符号化ストリームを生成する。エンハンスメントレイヤ画像符号化部102は、エンハンスメントレイヤ画像を符号化し、エンハンスメントレイヤ画像符号化ストリームを生成する。多重化部103は、ベースレイヤ画像符号化部101において生成されたベースレイヤ画像符号化ストリームと、エンハンスメントレイヤ画像符号化部102において生成されたエンハンスメントレイヤ画像符号化ストリームとを多重化し、階層画像符号化ストリームを生成する。多重化部103は、生成した階層画像符号化ストリームを復号側に伝送する。 The base layer image encoding unit 101 encodes the base layer image and generates a base layer image encoded stream. The enhancement layer image encoding unit 102 encodes the enhancement layer image, and generates an enhancement layer image encoded stream. The multiplexing unit 103 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 101 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 102 to generate a hierarchical image code Generate a stream. The multiplexing unit 103 transmits the generated hierarchical image encoded stream to the decoding side.
  ベースレイヤ画像符号化部101は、ベースレイヤの符号化において得られた復号画像(ベースレイヤ復号画像とも称する)を、エンハンスメントレイヤ画像符号化部102に供給する。 Base layer image encoding unit 101 supplies a decoded image (also referred to as a base layer decoded image) obtained in base layer encoding to enhancement layer image encoding unit 102.
  エンハンスメントレイヤ画像符号化部102は、ベースレイヤ画像符号化部101から供給されるベースレイヤ復号画像を取得し、記憶する。エンハンスメントレイヤ画像符号化部102は、その記憶したベースレイヤ復号画像を参照画像として、エンハンスメントレイヤの符号化における予測処理に用いる。 The enhancement layer image encoding unit 102 acquires and stores the base layer decoded image supplied from the base layer image encoding unit 101. The enhancement layer image encoding unit 102 uses the stored base layer decoded image as a reference image for prediction processing in the enhancement layer encoding.
  また、エンハンスメントレイヤ画像符号化部102は、その参照画像に対するフィルタ処理に関する情報を、多重化部103を介して(階層画像符号化ストリームとして)、復号側に伝送する。 In addition, the enhancement layer image encoding unit 102 transmits information on the filter processing for the reference image to the decoding side via the multiplexing unit 103 (as a hierarchical image encoded stream).
    <ベースレイヤ画像符号化部>
  図13は、図12のベースレイヤ画像符号化部101の主な構成例を示すブロック図である。図13に示されるように、ベースレイヤ画像符号化部101は、A/D変換部111、画面並べ替えバッファ112、演算部113、直交変換部114、量子化部115、可逆符号化部116、蓄積バッファ117、逆量子化部118、および逆直交変換部119を有する。また、ベースレイヤ画像符号化部101は、演算部120、ループフィルタ121、フレームメモリ122、選択部123、イントラ予測部124、インター予測部125、予測画像選択部126、およびレート制御部127を有する。
<Base layer image encoding unit>
FIG. 13 is a block diagram illustrating a main configuration example of the base layer image encoding unit 101 of FIG. As illustrated in FIG. 13, the base layer image encoding unit 101 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 101 includes a calculation unit 120, a loop filter 121, a frame memory 122, a selection unit 123, an intra prediction unit 124, an inter prediction unit 125, a predicted image selection unit 126, and a rate control unit 127. .
  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. Further, the screen rearrangement buffer 112 also supplies the image in which the frame order is rearranged to the intra prediction unit 124 and the inter prediction unit 125.
  演算部113は、画面並べ替えバッファ112から読み出された画像から、予測画像選択部126を介してイントラ予測部124若しくはインター予測部125から供給される予測画像を減算し、その差分情報を直交変換部114に出力する。例えば、イントラ符号化が行われる画像の場合、演算部113は、画面並べ替えバッファ112から読み出された画像から、イントラ予測部124から供給される予測画像を減算する。また、例えば、インター符号化が行われる画像の場合、演算部113は、画面並べ替えバッファ112から読み出された画像から、インター予測部125から供給される予測画像を減算する。 The calculation unit 113 subtracts the prediction image supplied from the intra prediction unit 124 or the inter prediction unit 125 via the prediction image selection unit 126 from the image read from the screen rearrangement buffer 112, and orthogonalizes the difference information. The data is output to the conversion 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 inter prediction 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(Network Abstraction Layer)ユニットを適宜生成する。 Furthermore, the lossless encoding unit 116 acquires information indicating the mode of intra prediction from the intra prediction unit 124, and acquires information indicating the mode of inter prediction, difference motion vector information, and the like from the inter prediction unit 125. Further, the lossless encoding unit 116 appropriately generates a base layer NAL (Network Abstraction Layer) 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 adds the prediction image from the intra prediction unit 124 or the inter prediction unit 125 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 119, via the prediction image selection unit 126. Addition is performed to obtain a locally decoded image (decoded image). The decoded image is supplied to the loop filter 121 or the frame memory 122.
  ループフィルタ121は、デブロックフィルタや適応ループフィルタ等を含み、演算部120から供給される再構成画像に対して適宜フィルタ処理を行う。例えば、ループフィルタ121は、再構成画像に対してデブロックフィルタ処理を行うことにより再構成画像のブロック歪を除去する。また、例えば、ループフィルタ121は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。ループフィルタ121は、フィルタ処理結果(以下、復号画像と称する)をフレームメモリ122に供給する。 The loop filter 121 includes a deblocking filter, an adaptive loop filter, and the like, and appropriately performs a filtering process on the reconstructed image supplied from the calculation unit 120. For example, the loop filter 121 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image. In addition, for example, the loop filter 121 improves the image quality by performing loop filter processing using a Wiener filter on the deblock filter processing result (reconstructed image from which block distortion has been removed). I do. The loop filter 121 supplies a filter processing result (hereinafter referred to as a decoded image) to the frame memory 122.
  なお、ループフィルタ121が、再構成画像に対してさらに、他の任意のフィルタ処理を行うようにしてもよい。また、ループフィルタ121は、必要に応じて、フィルタ処理に用いたフィルタ係数等の情報を可逆符号化部116に供給し、それを符号化させるようにすることもできる。 Note that the loop filter 121 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 121 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 116 and encode the information as necessary.
  フレームメモリ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.
  より具体的には、フレームメモリ122は、演算部120から供給される再構成画像と、ループフィルタ121から供給される復号画像とをそれぞれ記憶する。フレームメモリ122は、所定のタイミングにおいて、若しくは、イントラ予測部124等の外部からの要求に基づいて、記憶している再構成画像を、選択部123を介してイントラ予測部124に供給する。また、フレームメモリ122は、所定のタイミングにおいて、若しくは、インター予測部125等の外部からの要求に基づいて、記憶している復号画像を、選択部123を介して、インター予測部125に供給する。 More specifically, the frame memory 122 stores the reconstructed image supplied from the calculation unit 120 and the decoded image supplied from the loop filter 121, 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. In addition, the frame memory 122 supplies the stored decoded image to the inter prediction unit 125 via the selection unit 123 at a predetermined timing or based on a request from the outside such as the inter prediction unit 125. .
  選択部123は、フレームメモリ122から供給される参照画像の供給先を選択する。例えば、イントラ予測の場合、選択部123は、フレームメモリ122から供給される参照画像(カレントピクチャ内の画素値)をイントラ予測部124に供給する。また、例えば、インター予測の場合、選択部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 intra prediction unit 124. For example, in the case of inter prediction, the selection unit 123 supplies the reference image (pixel value outside the current picture) supplied from the frame memory 122 to the inter prediction unit 125.
  イントラ予測部124は、処理対象のフレームの画像であるカレントピクチャについて、予測処理を行い、予測画像を生成する。イントラ予測部124は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、イントラ予測部124は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、イントラ予測部124は、選択部123を介してフレームメモリ122から参照画像として供給される再構成画像を用いて予測処理(画面内予測(イントラ予測とも称する))を行う。つまり、イントラ予測部124は、再構成画像に含まれる、カレントブロックの周辺の画素値を用いて予測画像を生成する。このイントラ予測に利用される周辺画素値は、カレントピクチャの、過去に処理された画素の画素値である。このイントラ予測には(すなわち、予測画像の生成の仕方には)、複数の方法(イントラ予測モードとも称する)が、候補として予め用意されている。イントラ予測部124は、この予め用意された複数のイントラ予測モードでこのイントラ予測を行う。 The intra prediction unit 124 performs a prediction process on the current picture that is the image of the processing target frame, and generates a predicted image. The intra prediction unit 124 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the intra prediction unit 124 generates a predicted image of the current block that is the processing target of the current picture. At that time, the intra prediction unit 124 performs a prediction process (intra-screen prediction (also referred to as intra prediction)) using a reconstructed image supplied as a reference image from the frame memory 122 via the selection unit 123. That is, the intra prediction unit 124 generates a predicted image using pixel values around the current block included in the reconstructed image. The peripheral pixel value used for this intra prediction is the pixel value of the pixel processed in the past of the current picture. For this intra prediction (that is, how to generate a predicted image), a plurality of methods (also referred to as intra prediction modes) are prepared in advance as candidates. The intra prediction unit 124 performs the intra prediction in the 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は、カレントピクチャについて、予測処理を行い、予測画像を生成する。インター予測部125は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、インター予測部125は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、インター予測部125は、画面並べ替えバッファ112から供給される入力画像の画像データと、フレームメモリ122から参照画像として供給される復号画像の画像データとを用いて、予測処理を行う。この復号画像は、カレントピクチャより前に処理されたフレームの画像(カレントピクチャでない他のピクチャ)である。つまり、インター予測部125は、他のピクチャの画像を用いて予測画像を生成する予測処理(画面間予測(インター予測とも称する))を行う。 The inter prediction unit 125 performs a prediction process on the current picture to generate a predicted image. The inter prediction unit 125 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 125 generates a predicted image of the current block that is the processing target of the current picture. At this time, the inter prediction unit 125 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 112 and the image data of the decoded image supplied as a reference image from the frame memory 122. This decoded image is an image of a frame processed before the current picture (another picture that is not the current picture). That is, the inter prediction unit 125 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a prediction image using an image of another picture.
  このインター予測は、動き予測と動き補償よりなる。より具体的には、インター予測部125は、入力画像と参照画像を用いて、カレントブロックについて動き予測を行い、動きベクトルを検出する。そして、インター予測部125は、参照画像を用いて、検出された動きベクトルに応じて動き補償処理を行い、カレントブロックの予測画像(インター予測画像情報)を生成する。このインター予測には(すなわち、予測画像の生成の仕方には)、複数の方法(インター予測モードとも称する)が、候補として予め用意されている。インター予測部125は、この予め用意された複数のインター予測モードでこのようなインター予測を行う。 This inter prediction consists of motion prediction and motion compensation. More specifically, the inter prediction unit 125 performs motion prediction on the current block using the input image and the reference image, and detects a motion vector. Then, the inter prediction unit 125 performs motion compensation processing according to the detected motion vector using the reference image, and generates a prediction image (inter prediction image information) of the current block. A plurality of methods (also referred to as inter prediction modes) are prepared in advance as candidates for the inter prediction (that is, how to generate a predicted image). The inter prediction unit 125 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
  インター予測部125は、候補となる全てのインター予測モードで予測画像を生成する。インター予測部125は、画面並べ替えバッファ112から供給される入力画像と、生成した差分動きベクトルの情報などを用いて、各予測画像のコスト関数値を評価し、最適なモードを選択する。インター予測部125は、最適なインター予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部126に供給する。 Inter prediction unit 125 generates a prediction image in all candidate inter prediction modes. The inter prediction unit 125 evaluates the cost function value of each predicted image using the input image supplied from the screen rearrangement buffer 112, information on the generated difference motion vector, and the like, and selects an optimal mode. When the optimal inter prediction mode is selected, the inter prediction unit 125 supplies the predicted image generated in the optimal mode to the predicted image selection unit 126.
  インター予測部125は、採用されたインター予測モードを示す情報や、符号化データを復号する際に、そのインター予測モードで処理を行うために必要な情報等を可逆符号化部116に供給し、符号化させる。必要な情報としては、例えば、生成された差分動きベクトルの情報や、予測動きベクトル情報として予測動きベクトルのインデックスを示すフラグなどがある。 The inter prediction unit 125 supplies information indicating the adopted 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, Encode. The necessary information includes, for example, information on the generated differential motion vector, a flag indicating an index of the motion vector predictor as motion vector predictor information, and the like.
  予測画像選択部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 prediction image selection unit 126 selects the inter prediction unit 125 as a supply source of the prediction image, and calculates the prediction image supplied from the inter prediction unit 125 as the calculation unit 113 or the calculation unit 120. To supply.
  レート制御部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.
  なお、ベースレイヤ画像符号化部101は、他のレイヤを参照せずに符号化を行う。つまり、イントラ予測部124およびインター予測部125は、他のレイヤの復号画像を参照画像として利用しない。 Note that the base layer image encoding unit 101 performs encoding without referring to other layers. That is, the intra prediction unit 124 and the inter prediction unit 125 do not use decoded images of other layers as reference images.
  また、フレームメモリ122は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤ画像符号化部102に供給する。 The frame memory 122 also supplies the stored base layer decoded image to the enhancement layer image encoding unit 102.
    <エンハンスメントレイヤ画像符号化部>
  図14は、図12のエンハンスメントレイヤ画像符号化部102の主な構成例を示すブロック図である。図14に示されるように、エンハンスメントレイヤ画像符号化部102は、図13のベースレイヤ画像符号化部101と基本的に同様の構成を有する。
<Enhancement layer image encoding unit>
FIG. 14 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 102 of FIG. As shown in FIG. 14, the enhancement layer image encoding unit 102 has basically the same configuration as the base layer image encoding unit 101 of FIG.
  つまり、エンハンスメントレイヤ画像符号化部102は、図14に示されるように、A/D変換部131、画面並べ替えバッファ132、演算部133、直交変換部134、量子化部135、可逆符号化部136、蓄積バッファ137、逆量子化部138、および逆直交変換部139を有する。また、エンハンスメントレイヤ画像符号化部102は、演算部140、ループフィルタ141、フレームメモリ142、選択部143、イントラ予測部144、インター予測部145、予測画像選択部146、およびレート制御部147を有する。 That is, the enhancement layer image encoding unit 102 includes an A / D conversion unit 131, a screen rearrangement buffer 132, a calculation unit 133, an orthogonal transformation unit 134, a quantization unit 135, and a lossless encoding unit as illustrated in FIG. 136, an accumulation buffer 137, an inverse quantization unit 138, and an inverse orthogonal transform unit 139. Also, the enhancement layer image encoding unit 102 includes a calculation unit 140, a loop filter 141, a frame memory 142, a selection unit 143, an intra prediction unit 144, an inter prediction unit 145, a predicted image selection unit 146, and a rate control unit 147. .
  これらのA/D変換部131乃至レート制御部147は、図13のA/D変換部111乃至レート制御部127に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像符号化部102の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、A/D変換部131乃至レート制御部147の処理の説明として、上述した図13のA/D変換部111乃至レート制御部127についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、A/D変換部131乃至レート制御部147の中の対応する処理部に置き換えて読む必要がある。 These A / D conversion units 131 to rate control unit 147 correspond to the A / D conversion unit 111 to rate control unit 127 of FIG. 13 and perform the same processing as the corresponding processing units, respectively. However, each part of the enhancement layer image encoding unit 102 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the A / D conversion unit 131 to the rate control unit 147, the above description of the A / D conversion unit 111 to the rate control unit 127 of FIG. 13 can be applied. The data to be processed is not the base layer data but the enhancement layer data. In addition, the data input source and output destination processing units need to be replaced with the corresponding processing units in the A / D conversion unit 131 through the rate control unit 147 as appropriate.
  なお、エンハンスメントレイヤ画像符号化部102は、他のレイヤ(例えばベースレイヤ)の情報を参照して符号化を行う。そして、エンハンスメントレイヤ画像符号化部102は、<1.概要>において上述した処理を行う。 Note that the enhancement layer image encoding unit 102 performs encoding with reference to information of another layer (for example, a base layer). Then, the enhancement layer image encoding unit 102 performs <1. The above-described processing is performed in the overview>.
  例えば、フレームメモリ142は、<1.概要>において上述した参照画像を記憶する記憶部として処理を行う。つまり、フレームメモリ142は、複数の参照フレームを記憶することができ、エンハンスメントレイヤの復号画像(エンハンスメントレイヤ復号画像とも称する)を記憶するだけでなく、ベースレイヤ画像符号化部101からベースレイヤ復号画像を取得し、記憶する。その際、フレームメモリ142は、このベースレイヤ復号画像を、例えば、ロングターム参照フレームとして記憶する。このとき、ベースレイヤ復号画像のアップサンプル処理は行われない。したがって、フレームメモリ142の記憶容量を低減させることができる。 For example, the frame memory 142 is <1. The processing is performed as a storage unit for storing the reference image described above in the overview>. In other words, the frame memory 142 can store a plurality of reference frames, and not only stores the enhancement layer decoded image (also referred to as enhancement layer decoded image) but also the base layer decoded image from the base layer image encoding unit 101. Get and memorize. At that time, the frame memory 142 stores the base layer decoded image as, for example, a long term reference frame. At this time, the upsampling process of the base layer decoded image is not performed. Therefore, the storage capacity of the frame memory 142 can be reduced.
  フレームメモリ142に記憶された画像、すなわち、エンハンスメントレイヤ復号画像やベースレイヤ復号画像は、インター予測部145による予測処理において、参照画像として利用される。すなわち、フレームメモリ142に格納されるエンハンスメントレイヤ復号画像やベースレイヤ復号画像は、参照画像として読みだされ、選択部143を介してインター予測部145に供給される。 Images stored in the frame memory 142, that is, enhancement layer decoded images and base layer decoded images are used as reference images in the prediction processing by the inter prediction unit 145. That is, the enhancement layer decoded image and the base layer decoded image stored in the frame memory 142 are read as a reference image and supplied to the inter prediction unit 145 via the selection unit 143.
  エンハンスメントレイヤ画像符号化部102は、フィルタ制御部148を有する。<1.概要>において上述したように、フィルタ制御部148は、インター予測部145において実行される参照画像に対するフィルタ処理を制御する。また、フィルタ制御部148は、このフィルタ処理に関する情報を生成し、可逆符号化部136に供給し、符号化させ、蓄積バッファ137を介して復号側に伝送させる。 The enhancement layer image encoding unit 102 includes a filter control unit 148. <1. As described above in Overview>, the filter control unit 148 controls the filtering process on the reference image executed in the inter prediction unit 145. Further, the filter control unit 148 generates information regarding the filter processing, supplies the information to the lossless encoding unit 136, encodes the information, and transmits the encoded information to the decoding side via the accumulation buffer 137.
    <フィルタ制御部とインター予測部>
  図15は、図14のインター予測部145およびフィルタ制御部148の主な構成例を示すブロック図である。
<Filter control unit and inter prediction unit>
FIG. 15 is a block diagram illustrating a main configuration example of the inter prediction unit 145 and the filter control unit 148 in FIG.
  図15に示されるように、フィルタ処理部171、動き探索部172、コスト間数値算出部173、およびモード判定部174を有する。 有 す る As shown in FIG. 15, it has a filter processing unit 171, a motion search unit 172, an inter-cost numerical value calculation unit 173 and a mode determination unit 174.
  フィルタ処理部171は、<1.概要>において上述したように、フレームメモリ142の複数の参照フレームのいずれかから参照画像を読み出し、その参照画像に対してフィルタ処理を行う。どの参照フレームの画像を読み出すかは動き探索部172に指定される。フィルタ処理部171は、画像を読み出す参照フレームを選択することにより、所望のレイヤの画像を得ることができる。例えば、フィルタ処理部171は、参照画像として、エンハンスメントレイヤ復号画像を、フレームメモリ142のショートターム参照フレームから取得する。また、例えば、フィルタ処理部171は、参照画像として、ベースレイヤ復号画像を、フレームメモリ142のロングターム参照フレームから取得する。 The soot filter processing unit 171 performs <1. As described above in Overview>, a reference image is read from one of a plurality of reference frames in the frame memory 142, and the reference image is subjected to filter processing. The motion search unit 172 specifies which reference frame image is to be read. The filter processing unit 171 can obtain an image of a desired layer by selecting a reference frame from which an image is read. For example, the filter processing unit 171 acquires an enhancement layer decoded image as a reference image from the short term reference frame in the frame memory 142. Also, for example, the filter processing unit 171 acquires a base layer decoded image from the long term reference frame in the frame memory 142 as a reference image.
  <1.概要>において上述したように、フィルタ処理部171は、取得した参照画像に対して、その参照画像のレイヤに応じた精度でフィルタ処理を行う。例えば、フィルタ処理部171は、参照画像がエンハンスメントレイヤの復号画像(エンハンスメントレイヤ復号画像とも称する)である場合、その参照画像に対して動き補償のための内挿処理を行うが、参照画像がベースレイヤ復号画像である場合、その参照画像に対してアップサンプル処理と動き補償のための内挿処理とを行う。フィルタ処理部171は、参照画像のレイヤに応じて精度を変えることにより、参照画像がどのレイヤである場合も、参照画像に対するフィルタ処理を、単一のフィルタ処理により実現する。したがって、フィルタ処理部171は、フィルタ処理による負荷の不要な増大を抑制し、符号化の負荷の増大を抑制することができる。 <1. As described above in Overview>, the filter processing unit 171 performs filter processing on the acquired reference image with accuracy according to the layer of the reference image. For example, when the reference image is an enhancement layer decoded image (also referred to as an enhancement layer decoded image), the filter processing unit 171 performs interpolation processing for motion compensation on the reference image. In the case of a layer decoded image, upsampling processing and interpolation processing for motion compensation are performed on the reference image. The filter processing unit 171 changes the accuracy according to the layer of the reference image, thereby realizing the filter process for the reference image by a single filter process regardless of the layer of the reference image. Therefore, the filter processing unit 171 can suppress an unnecessary increase in load due to the filter processing, and can suppress an increase in encoding load.
  なお、フィルタ処理部171は、<1.概要>において上述したように、このようなフィルタ処理を、フィルタ制御部148の制御に従って行う。つまり、例えば、フィルタ処理部171は、フィルタ精度制御部183から供給される制御情報を取得し、その制御情報に示される精度でフィルタ処理を行う。フィルタ処理部171は、フィルタ処理された参照画像を、動き探索部172に供給する。 Note that the filter processing unit 171 has <1. As described above in Overview>, such filter processing is performed according to the control of the filter control unit 148. That is, for example, the filter processing unit 171 acquires the control information supplied from the filter accuracy control unit 183, and performs the filter processing with the accuracy indicated by the control information. The filter processing unit 171 supplies the filtered reference image to the motion search unit 172.
  動き探索部172は、フィルタ処理部171から供給される、フィルタ処理された参照画像を用いて、候補となる全てのインター予測モード(候補モードとも称する)で動き探索を行い、各候補モードの予測画像を生成する。なお、どのレイヤの復号画像を参照画像とするかは、候補モードによって決まる。つまり、動き探索部172は、フィルタ処理部171に対して、処理対象の候補モードに応じて、参照画像として読み出す復号画像のレイヤを指定する。つまり、例えば、動き探索部172は、<1.概要>において上述したように、復号画像を読み出す参照フレームを指定する。動き探索部172は、指定した参照フレームの種類を示す情報を、フィルタ制御部148(レイヤ判定部182)に供給する。動き探索部172は、以上のように生成した各候補モードの予測画像を、コスト関数値算出部173に供給する。 The motion search unit 172 performs motion search in all candidate inter prediction modes (also referred to as candidate modes) using the filtered reference image supplied from the filter processing unit 171, and predicts each candidate mode. Generate an image. Note that which layer of the decoded image is used as the reference image depends on the candidate mode. That is, the motion search unit 172 designates a layer of a decoded image to be read as a reference image according to the candidate mode to be processed, to the filter processing unit 171. That is, for example, the motion search unit 172 performs <1. As described above in Overview>, the reference frame from which the decoded image is read is designated. The motion search unit 172 supplies information indicating the type of the designated reference frame to the filter control unit 148 (layer determination unit 182). The motion search unit 172 supplies the predicted image of each candidate mode generated as described above to the cost function value calculation unit 173.
  コスト関数値算出部173は、コスト関数値算出部173は、動き探索部172から供給される各候補モードの予測画像についてコスト関数値を算出する。コスト関数値算出部173は、各候補モードについて予測画像とそのコスト関数値とをモード判定部174に供給する。 The cost function value calculation unit 173 calculates the cost function value for each candidate mode predicted image supplied from the motion search unit 172. The cost function value calculation unit 173 supplies the predicted image and its cost function value to the mode determination unit 174 for each candidate mode.
  モード判定部174は、コスト関数値算出部173から供給された各候補モードのコスト関数値等に基づいて最適なインター予測モードを判定する。モード判定部174は、コスト関数値が最少となる候補モードを最適なインター予測モードと判定し、そのモードの予測画像を予測画像選択部146に供給し、エンハンスメントレイヤの画像の符号化に利用させる。なお、予測画像選択部146によりそのインター予測の予測画像が選択されると、モード判定部174は、その最適なインター予測モードに関する情報(最適予測モード情報とも称する)を可逆符号化部136に供給し、符号化させ、蓄積バッファ137を介して復号側に伝送させる。 The heel mode determination unit 174 determines an optimal inter prediction mode based on the cost function value and the like of each candidate mode supplied from the cost function value calculation unit 173. The mode determination unit 174 determines the candidate mode having the smallest cost function value as the optimal inter prediction mode, supplies the prediction image of that mode to the prediction image selection unit 146, and uses it for encoding of the enhancement layer image. . When the predicted image of the inter prediction is selected by the predicted image selection unit 146, the mode determination unit 174 supplies information related to the optimal inter prediction mode (also referred to as optimal prediction mode information) to the lossless encoding unit 136. Then, the data is encoded and transmitted to the decoding side via the accumulation buffer 137.
  図15に示されるように、フィルタ制御部148は、設定部181、レイヤ判定部182、およびフィルタ精度制御部183を有する。 As shown in FIG. 15, the filter control unit 148 includes a setting unit 181, a layer determination unit 182, and a filter accuracy control unit 183.
  設定部181は、<1.概要>において上述したようにフィルタ処理に関する設定を行う。例えば、設定部181は、ロングターム参照フレームに格納する画像のレイヤを設定する。設定部181は、この設定を示す制御情報をレイヤ判定部182およびフィルタ精度制御部183に供給する。なお、設定部181が、参照画像のレイヤに応じたフィルタ精度を設定するようにしてもよい。例えば、設定部181が、参照画像がベースレイヤである場合のフィルタ精度と、参照画像がエンハンスメントレイヤ(カレントレイヤ)である場合のフィルタ精度とをそれぞれ、若しくはいずれか一方を設定するようにしてもよい。その場合、設定部181は、そのようなフィルタ精度の設定を示す制御情報をフィルタ精度制御部183に供給する。 The heel setting unit 181 has <1. As described above, the setting relating to the filter processing is performed. For example, the setting unit 181 sets a layer of an image stored in the long term reference frame. The setting unit 181 supplies control information indicating this setting to the layer determination unit 182 and the filter accuracy control unit 183. Note that the setting unit 181 may set the filter accuracy according to the layer of the reference image. For example, the setting unit 181 may set the filter accuracy when the reference image is a base layer and / or the filter accuracy when the reference image is an enhancement layer (current layer). Good. In that case, the setting unit 181 supplies control information indicating such setting of the filter accuracy to the filter accuracy control unit 183.
  また、例えば、設定部181は、フィルタ処理に関する情報として、この制御情報を可逆符号化部136に供給し、符号化させ、蓄積バッファ137を介して復号側に伝送させる。さらに、例えば、設定部181は、参照画像としてロングターム参照フレームの画像を使用するか否かを設定し、その設定を示す情報(例えば、long_term_ref_pics_present_flag)を、フィルタ処理に関する情報として、可逆符号化部136に供給し、符号化させ、蓄積バッファ137を介して復号側に伝送させる。その場合、設定部181は、そのlong_term_ref_pics_present_flagの値が「1(真)」である場合のみ、制御情報(例えば、ref_layer_id[i])を伝送させる。 In addition, for example, the setting unit 181 supplies the control information to the lossless encoding unit 136 as information regarding the filter processing, encodes the information, and transmits the encoded information to the decoding side via the accumulation buffer 137. Further, for example, the setting unit 181 sets whether or not to use an image of a long term reference frame as a reference image, and uses information indicating the setting (for example, long_term_ref_pics_present_flag) as information related to filter processing. The data is supplied to 136, encoded, and transmitted to the decoding side via the accumulation buffer 137. In this case, the setting unit 181 transmits control information (for example, ref_layer_id [i]) only when the value of the long_term_ref_pics_present_flag is “1 (true)”.
  レイヤ判定部182は、<1.概要>において上述したように参照画像のレイヤを判定する。例えば、設定部181から取得した制御情報に示されるロングターム参照フレームの画像のレイヤの設定と、動き探索部172から供給される、参照画像が読み出される参照フレームの種類に関する情報とに基づいて、参照画像のレイヤを判定する。例えば、レイヤ判定部182は、参照フレームの種類がショートターム参照フレームである場合、参照画像のレイヤがエンハンスメントレイヤ(カレントレイヤ)であると判定する。また、例えば、レイヤ判定部182は、参照フレームの種類がロングターム参照フレームである場合、参照画像のレイヤが設定部181により設定されたレイヤであると判定する。レイヤ判定部182は、このような判定結果(参照画像のレイヤを示す情報)をフィルタ精度制御部183に供給する。 The heel layer determination unit 182 performs <1. The layer of the reference image is determined as described above in the overview>. For example, based on the setting of the layer of the image of the long term reference frame indicated in the control information acquired from the setting unit 181 and the information related to the type of the reference frame from which the reference image is read supplied from the motion search unit 172, The layer of the reference image is determined. For example, when the type of the reference frame is a short term reference frame, the layer determination unit 182 determines that the reference image layer is an enhancement layer (current layer). For example, when the type of the reference frame is a long-term reference frame, the layer determination unit 182 determines that the reference image layer is a layer set by the setting unit 181. The layer determination unit 182 supplies such a determination result (information indicating the layer of the reference image) to the filter accuracy control unit 183.
  フィルタ精度制御部183は、<1.概要>において上述したようにフィルタ処理部171による参照画像に対するフィルタ処理の精度を設定する。例えば、フィルタ精度制御部183は、レイヤ判定部182から供給される判定結果と、設定部181から供給される制御情報とに基づいて、このフィルタ処理の精度を設定する。フィルタ精度制御部183は、その設定したフィルタ精度を示す制御情報を、フィルタ処理部171に供給する。上述したように、フィルタ処理部171は、この制御情報に従った精度で参照画像に対するフィルタ処理を行う。 The filter accuracy control unit 183 is <1. As described above in Overview>, the accuracy of the filtering process for the reference image by the filter processing unit 171 is set. For example, the filter accuracy control unit 183 sets the accuracy of this filter processing based on the determination result supplied from the layer determination unit 182 and the control information supplied from the setting unit 181. The filter accuracy control unit 183 supplies control information indicating the set filter accuracy to the filter processing unit 171. As described above, the filter processing unit 171 performs filter processing on the reference image with accuracy according to the control information.
  以上のように参照画像のレイヤに応じてフィルタ精度を制御することにより、フィルタ処理部171は、参照画像のレイヤに関わらず、参照画像に対するフィルタ処理を単一のフィルタ処理として実現することができる。したがって、画像符号化装置100(エンハンスメントレイヤ画像符号化部102)は、符号化の負荷の増大を抑制することができる。また、エンハンスメントレイヤの画質の低減を抑制することができる。さらに、フレームメモリ142の記憶容量を低減させることができる。また、フィルタ処理に関する情報を復号側に伝送させることにより、したがって、画像符号化装置100(エンハンスメントレイヤ画像符号化部102)は、復号の負荷の増大を抑制することができる。 As described above, by controlling the filter accuracy according to the layer of the reference image, the filter processing unit 171 can realize the filter process for the reference image as a single filter process regardless of the layer of the reference image. . Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 142 can be reduced. Further, by transmitting information related to the filter processing to the decoding side, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in decoding load.
    <画像符号化処理の流れ>
  次に、以上のような画像符号化装置100により実行される各処理の流れについて説明する。最初に、図16のフローチャートを参照して、画像符号化処理の流れの例を説明する。
<Flow of image encoding process>
Next, the flow of each process executed by the image encoding device 100 as described above will be described. First, an example of the flow of image encoding processing will be described with reference to the flowchart of FIG.
  画像符号化処理が開始されると、ステップS101において、画像符号化装置100のベースレイヤ画像符号化部101は、ベースレイヤの画像データを符号化する。 When the heel image encoding process is started, in step S101, the base layer image encoding unit 101 of the image encoding device 100 encodes the base layer image data.
  ステップS102において、エンハンスメントレイヤ画像符号化部102は、エンハンスメントレイヤの画像データを符号化する。 In step S102, the enhancement layer image encoding unit 102 encodes enhancement layer image data.
  ステップS103において、多重化部103は、ステップS101の処理により生成されたベースレイヤ画像符号化ストリームと、ステップS102の処理により生成されたエンハンスメントレイヤ画像符号化ストリームとを(すなわち、各レイヤのビットストリームを)多重化し、1系統の階層画像符号化ストリームを生成する。 In step S103, the multiplexing unit 103 uses the base layer image encoded stream generated by the process of step S101 and the enhancement layer image encoded stream generated by the process of step S102 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
  ステップS103の処理が終了すると、画像符号化装置100は、画像符号化処理を終了する。このような画像符号化処理により1ピクチャが処理される。したがって、画像符号化装置100は、このような画像符号化処理を階層化された動画像データの各ピクチャについて繰り返し実行する。 終了 When the process of step S103 ends, the image encoding device 100 ends the image encoding process. One picture is processed by such an image encoding process. Therefore, the image encoding device 100 repeatedly executes such image encoding processing for each picture of the moving image data that is hierarchized.
    <ベースレイヤ符号化処理の流れ>
  次に、図16のステップS101において、ベースレイヤ画像符号化部101により実行されるベースレイヤ符号化処理の流れの例を、図17のフローチャートを参照して説明する。
<Flow of base layer encoding process>
Next, an example of the flow of the base layer encoding process executed by the base layer image encoding unit 101 in step S101 of FIG. 16 will be described with reference to the flowchart of FIG.
  ベースレイヤ符号化処理が開始されると、ベースレイヤ画像符号化部101のA/D変換部111は、ステップS121において、入力された動画像の各フレーム(ピクチャ)の画像をA/D変換する。 When the base layer encoding process is started, the A / D conversion unit 111 of the base layer image encoding unit 101 A / D converts the image of each frame (picture) of the input moving image in step S121. .
  ステップS122において、画面並べ替えバッファ112は、ステップS121においてA/D変換された画像を記憶し、各ピクチャの表示する順番から符号化する順番への並べ替えを行う。 In step S122, the screen rearrangement buffer 112 stores the image that has been A / D converted in step S121, and performs rearrangement from the display order of each picture to the encoding order.
  ステップS123において、イントラ予測部124は、イントラ予測モードのイントラ予測処理を行う。 In step S123, the intra prediction unit 124 performs an intra prediction process in the intra prediction mode.
  ステップS124において、インター予測部125は、インター予測モードでの動き予測や動き補償等を行うインター予測処理を行う。 In step S124, the inter prediction unit 125 performs inter prediction processing for performing motion prediction, motion compensation, and the like in the inter prediction mode.
  ステップS125において、予測画像選択部126は、コスト関数値等に基づいて、予測画像を選択する。つまり、予測画像選択部126は、ステップS123のイントラ予測により生成された予測画像と、ステップS124のインター予測により生成された予測画像のいずれか一方を選択する。 In step S125, the predicted image selection unit 126 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 126 selects either the predicted image generated by the intra prediction in step S123 or the predicted image generated by the inter prediction in step S124.
  ステップS126において、演算部113は、ステップS122の処理によりフレーム順を並び替えられた入力画像と、ステップS125の処理により選択された予測画像との差分を演算する。つまり、演算部113は、入力画像と予測画像との差分画像の画像データを生成する。このようにして求められた差分画像の画像データは、元の画像データに比べてデータ量が低減される。したがって、画像をそのまま符号化する場合に較べて、データ量を圧縮することができる。 In step S126, the calculation unit 113 calculates the difference between the input image whose frame order is rearranged by the process of step S122 and the predicted image selected by the process of step S125. That is, the calculation unit 113 generates image data of a difference image between the input image and the predicted image. The image data of the difference image obtained in this way is reduced in data amount 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の処理により生成された差分画像の画像データを直交変換する。 In step S127, the orthogonal transform unit 114 performs orthogonal transform on the image data of the difference image generated by the process in step S126.
  ステップS128において、量子化部115は、レート制御部127により算出された量子化パラメータを用いて、ステップS127の処理により得られた直交変換係数を量子化する。 In step S128, the quantization unit 115 quantizes the orthogonal transform coefficient obtained by the process in step S127, using the quantization parameter calculated by the rate control unit 127.
  ステップS129において、逆量子化部118は、ステップS128の処理により生成された量子化された係数(量子化係数とも称する)を、量子化部115の特性に対応する特性で逆量子化する。 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.
  ステップS130において、逆直交変換部119は、ステップS129の処理により得られた直交変換係数を逆直交変換する。 In step S130, the inverse orthogonal transform unit 119 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S129.
  ステップS131において、演算部120は、ステップS130の処理により復元された差分画像に、ステップS125の処理により選択された予測画像を加算することにより、再構成画像の画像データを生成する。 In step S131, the calculation unit 120 generates the image data of the reconstructed image by adding the predicted image selected by the process of step S125 to the difference image restored by the process of step S130.
  ステップS132においてループフィルタ121は、ステップS131の処理により生成された再構成画像の画像データにループフィルタ処理を行う。これにより、再構成画像のブロック歪み等が除去される。 In step S132, the loop filter 121 performs a loop filter process on the image data of the reconstructed image generated by the process in step S131. Thereby, block distortion and the like of the reconstructed image are removed.
  ステップS133において、フレームメモリ122は、ステップS132の処理により得られた復号画像やステップS131の処理により得られた再構成画像等のデータを記憶する。 In step S133, the frame memory 122 stores data such as a decoded image obtained by the process of step S132 and a reconstructed image obtained by the process of step S131.
  ステップS134において、可逆符号化部116は、ステップS128の処理により得られた、量子化された係数を符号化する。すなわち、差分画像に対応するデータに対して、可変長符号化や算術符号化等の可逆符号化が行われる。 In step S134, the lossless encoding unit 116 encodes the quantized coefficient obtained 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. In other words, the lossless encoding unit 116 also 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 inter prediction unit 125, and the like, into encoded data. Append.
  さらに、可逆符号化部116は、各種ナルユニット等のシンタクス要素も設定し、符号化し、符号化データに付加する。 Further, the lossless encoding unit 116 sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
  ステップS135において蓄積バッファ117は、ステップS134の処理により得られた符号化データを蓄積する。蓄積バッファ117に蓄積された符号化データは、適宜読み出され、伝送路や記録媒体を介して復号側に伝送される。 In step S135, the accumulation buffer 117 accumulates the encoded data obtained by the process in step S134. The 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.
  ステップS136においてレート制御部127は、ステップS135の処理により蓄積バッファ117に蓄積された符号化データの符号量(発生符号量)に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部115の量子化動作のレートを制御する。また、レート制御部127は、量子化パラメータに関する情報を、量子化部115に供給する。 In step S136, the rate control unit 127 causes the quantization unit 115 to prevent overflow or underflow from occurring based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 117 by the process of step S135. Controls the rate of quantization operation. Further, the rate control unit 127 supplies information regarding the quantization parameter to the quantization unit 115.
  ステップS137において、インター予測部125は、以上のようなベースレイヤ符号化処理において得られたベースレイヤ復号画像を、エンハンスメントレイヤの符号化処理に供給する。 In step S137, the inter prediction unit 125 supplies the base layer decoded image obtained in the base layer encoding process as described above to the enhancement layer encoding process.
  ステップS137の処理が終了すると、ベースレイヤ符号化処理が終了し、処理は図16に戻る。 処理 When the process of step S137 ends, the base layer encoding process ends, and the process returns to FIG.
    <エンハンスメントレイヤ符号化処理の流れ>
  次に、図16のステップS102において、エンハンスメントレイヤ画像符号化部102により実行されるエンハンスメントレイヤ符号化処理の流れの例を、図18および図19のフローチャートを参照して説明する。
<Enhancement layer coding process flow>
Next, an example of the flow of the enhancement layer encoding process executed by the enhancement layer image encoding unit 102 in step S102 of FIG. 16 will be described with reference to the flowcharts of FIGS.
  エンハンスメントレイヤ符号化処理が開始されると、エンハンスメントレイヤ画像符号化部102のフィルタ制御部148の設定部181は、図18のステップS151において、フレームメモリ142のロングターム参照ピクチャに格納する画像のレイヤを設定する。 When the enhancement layer encoding process is started, the setting unit 181 of the filter control unit 148 of the enhancement layer image encoding unit 102 stores the image layer stored in the long term reference picture of the frame memory 142 in step S151 of FIG. Set.
  ステップS152において、設定部181は、ステップS151において行った設定の内容を示す制御情報、すなわち、ロングターム参照ピクチャに格納する画像のレイヤを示す制御情報を、可逆符号化部136に供給し、符号化させ、蓄積バッファ137を介して復号側に伝送させる。 In step S152, the setting unit 181 supplies control information indicating the content of the setting performed in step S151, that is, control information indicating the layer of the image stored in the long-term reference picture, to the lossless encoding unit 136. And transmitted to the decoding side via the storage buffer 137.
  ステップS153において、フレームメモリ142は、ベースレイヤ画像符号化部101からベースレイヤ復号画像を取得する。 In step S153, the frame memory 142 acquires the base layer decoded image from the base layer image encoding unit 101.
  ステップS154において、フレームメモリ142は、ステップS153において取得したベースレイヤ復号画像を記憶する。このとき、フレームメモリ142は、取得したベースレイヤ復号画像をアップサンプルせずに記憶する。したがって、フレームメモリ142の記憶容量の増大を抑制することができる。 In step S154, the frame memory 142 stores the base layer decoded image acquired in step S153. At this time, the frame memory 142 stores the acquired base layer decoded image without up-sampling. Therefore, an increase in the storage capacity of the frame memory 142 can be suppressed.
  ステップS154の処理が終了すると、処理は、図19のステップS161に進む。 When the process of step S154 is completed, the process proceeds to step S161 of FIG.
  図19のステップS161において、A/D変換部111は、入力されたエンハンスメントレイヤの動画像の各フレーム(ピクチャ)の画像をA/D変換する。 In step S161 of FIG. 19, the A / D conversion unit 111 performs A / D conversion on the image of each frame (picture) of the input moving image of the enhancement layer.
  ステップS162において、画面並べ替えバッファ112は、ステップS161においてA/D変換された画像を記憶し、各ピクチャの表示する順番から符号化する順番への並べ替えを行う。 In step S162, the screen rearrangement buffer 112 stores the image that has been A / D converted in step S161, and performs rearrangement from the display order of each picture to the encoding order.
  ステップS163において、イントラ予測部144は、イントラ予測処理を行う。 In step S163, the intra prediction unit 144 performs an intra prediction process.
  ステップS164において、インター予測部145は、インター予測処理を行う。 In step S164, the inter prediction unit 145 performs inter prediction processing.
  ステップS165乃至ステップS176の各処理は、図17のステップS125乃至ステップS136の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図17のステップS125乃至ステップS136の各処理がベースレイヤに対して行われたのに対し、ステップS165乃至ステップS176の各処理は、エンハンスメントレイヤに対して行われる。 The processes in steps S165 to S176 correspond to the processes in steps S125 to S136 in FIG. 17 and are executed basically in the same manner as those processes. However, each process of step S125 to step S136 in FIG. 17 is performed on the base layer, whereas each process of step S165 to step S176 is performed on the enhancement layer.
  ステップS176の処理が終了すると、エンハンスメントレイヤ符号化処理が終了し、処理は、図16に戻る。 When the process of step S176 ends, the enhancement layer encoding process ends, and the process returns to FIG.
    <インター予測処理の流れ>
  次に、図19のステップS164において実行されるインター予測処理の流れの例を、図20のフローチャートを参照して説明する。
<Flow of inter prediction processing>
Next, an example of the flow of the inter prediction process executed in step S164 of FIG. 19 will be described with reference to the flowchart of FIG.
  インター予測処理が開始されると、インター予測部145の動き探索部172は、ステップS191において、未処理の候補モードを選択する。 When the inter prediction process is started, the motion search unit 172 of the inter prediction unit 145 selects an unprocessed candidate mode in step S191.
  ステップS192において、動き探索部172は、ステップS191において選択された候補モードにおいて、参照画像として読み出す画像の参照フレームの種類を判別する。 In step S192, the motion search unit 172 determines the type of the reference frame of the image to be read as the reference image in the candidate mode selected in step S191.
  ステップS193において、フィルタ制御部148のレイヤ判定部182は、ステップS192において判別された参照フレームの種類と、図18のステップS151において行われたレイヤの設定とに基づいて、ステップS191において選択された候補モードにおける参照画像のレイヤを判定する。 In step S193, the layer determination unit 182 of the filter control unit 148 is selected in step S191 based on the type of the reference frame determined in step S192 and the layer setting performed in step S151 of FIG. The reference image layer in the candidate mode is determined.
  ステップS194において、フィルタ精度制御部183は、ステップS193において判定された参照画像のレイヤに応じて、フィルタ精度を選択する。 In step S194, the filter accuracy control unit 183 selects the filter accuracy according to the layer of the reference image determined in step S193.
  ステップS195において、フィルタ処理部171は、フレームメモリ142の、ステップS192において判別された参照フレームの画像を参照画像として読み出し、ステップS194において選択されたフィルタ精度、すなわち、参照画像のレイヤに応じた精度で、その参照画像に対するフィルタ処理を行う。 In step S195, the filter processing unit 171 reads the reference frame image determined in step S192 of the frame memory 142 as a reference image, and the filter accuracy selected in step S194, that is, the accuracy according to the layer of the reference image. Then, filter processing is performed on the reference image.
  ステップS196において、動き探索部172は、ステップS195においてフィルタ処理された参照画像を用いて動き探索を行い、予測画像を生成する。 In step S196, the motion search unit 172 performs a motion search using the reference image filtered in step S195, and generates a predicted image.
  ステップS197において、コスト関数値算出部173は、ステップS196の動き探索により得られた予測画像を用いて、この候補モードのコスト関数値を算出する。 In step S197, the cost function value calculation unit 173 calculates the cost function value of this candidate mode using the predicted image obtained by the motion search in step S196.
  ステップS198において、動き探索部172は、全ての候補モードを処理したか否かを判定する。未処理の候補モードが存在すると判定された場合、処理は、ステップS191に戻り、それ以降の処理を繰り返す。各候補モードについてステップS191乃至ステップS198の各処理が実行され、ステップS198において、全ての候補モードを処理したと判定された場合、処理は、ステップS199に進む。 In step S198, the motion search unit 172 determines whether all candidate modes have been processed. If it is determined that there is an unprocessed candidate mode, the process returns to step S191 and the subsequent processes are repeated. Each process of step S191 to step S198 is executed for each candidate mode, and if it is determined in step S198 that all candidate modes have been processed, the process proceeds to step S199.
  ステップS199において、モード判定部174は、各候補モードの中から、以上のように得られたコスト関数値が最小となるモードを最適なインター予測モードとして選択する。 In step S199, the mode determination unit 174 selects, from among the candidate modes, the mode with the smallest cost function value obtained as described above as the optimal inter prediction mode.
  ステップS199の処理が終了すると、インター予測処理が終了し、処理は、図19に戻る。 処理 When the process of step S199 ends, the inter prediction process ends, and the process returns to FIG.
  以上のように各処理が実行されることにより、画像符号化装置100(エンハンスメントレイヤ画像符号化部102)は、符号化・復号の負荷の増大を抑制することができる。また、エンハンスメントレイヤの画質の低減を抑制することができる。さらに、フレームメモリ142の記憶容量を低減させることができる。 By performing each process as described above, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding / decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 142 can be reduced.
  <3.第2の実施の形態>
    <画像復号装置>
  次に、以上のように符号化された符号化データの復号について説明する。図21は、本技術を適用した画像処理装置の一態様である、図12の画像符号化装置100に対応する画像復号装置の主な構成例を示すブロック図である。図21に示される画像復号装置200は、画像符号化装置100が生成した符号化データを、その符号化方法に対応する復号方法で復号する(すなわち、階層符号化された符号化データを階層復号する)。図21に示されるように、画像復号装置200は、逆多重化部201、ベースレイヤ画像復号部202、およびエンハンスメントレイヤ画像復号部203を有する。
<3. Second Embodiment>
<Image decoding device>
Next, decoding of the encoded data encoded as described above will be described. FIG. 21 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 100 in FIG. 12, which is an aspect of an image processing apparatus to which the present technology is applied. The image decoding apparatus 200 shown in FIG. 21 decodes the encoded data generated by the image encoding apparatus 100 by a decoding method corresponding to the encoding method (that is, hierarchically encoded encoded data is hierarchically decoded). To do). As illustrated in FIG. 21, the image decoding device 200 includes a demultiplexing unit 201, a base layer image decoding unit 202, and an enhancement layer image decoding unit 203.
  逆多重化部201は、符号化側から伝送された、ベースレイヤ画像符号化ストリームとエンハンスメントレイヤ画像符号化ストリームとが多重化された階層画像符号化ストリームを受け取り、それを逆多重化し、ベースレイヤ画像符号化ストリームと、エンハンスメントレイヤ画像符号化ストリームとを抽出する。ベースレイヤ画像復号部202は、逆多重化部201により抽出されたベースレイヤ画像符号化ストリームを復号し、ベースレイヤ画像を得る。エンハンスメントレイヤ画像復号部203は、逆多重化部201により抽出されたエンハンスメントレイヤ画像符号化ストリームを復号し、エンハンスメントレイヤ画像を得る。 The demultiplexing unit 201 receives a layered image encoded stream in which a base layer image encoded stream and an enhancement layer image encoded stream are multiplexed transmitted from the encoding side, demultiplexes them, An image encoded stream and an enhancement layer image encoded stream are extracted. The base layer image decoding unit 202 decodes the base layer image encoded stream extracted by the demultiplexing unit 201 to obtain a base layer image. The enhancement layer image decoding unit 203 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 201 to obtain an enhancement layer image.
  ベースレイヤ画像復号部202は、ベースレイヤの復号において得られたベースレイヤ復号画像を、エンハンスメントレイヤ画像復号部203に供給する。 The base layer image decoding unit 202 supplies the base layer decoded image obtained in the base layer decoding to the enhancement layer image decoding unit 203.
  エンハンスメントレイヤ画像復号部203は、ベースレイヤ画像復号部202から供給されるベースレイヤ復号画像を取得し、記憶する。エンハンスメントレイヤ画像復号部203は、その記憶したベースレイヤ復号画像を参照画像として、エンハンスメントレイヤの復号における予測処理に用いる。その予測処理の際、エンハンスメントレイヤ画像復号部203は、符号化側から伝送される、その参照画像に対するフィルタ処理に関する情報を、逆多重化部201を介して取得し、その情報に基づいて参照画像のフィルタ処理を行う。 The enhancement layer image decoding unit 203 acquires the base layer decoded image supplied from the base layer image decoding unit 202 and stores it. The enhancement layer image decoding unit 203 uses the stored base layer decoded image as a reference image for prediction processing in enhancement layer decoding. During the prediction process, the enhancement layer image decoding unit 203 obtains information related to the filter processing on the reference image transmitted from the encoding side via the demultiplexing unit 201, and based on the information, the reference image Perform the filtering process.
    <ベースレイヤ画像復号部>
  図22は、図21のベースレイヤ画像復号部202の主な構成例を示すブロック図である。図22に示されるようにベースレイヤ画像復号部202は、蓄積バッファ211、可逆復号部212、逆量子化部213、逆直交変換部214、演算部215、ループフィルタ216、画面並べ替えバッファ217、およびD/A変換部218を有する。また、ベースレイヤ画像復号部202は、フレームメモリ219、選択部220、イントラ予測部221、インター予測部222、および予測画像選択部223を有する。
<Base layer image decoding unit>
FIG. 22 is a block diagram illustrating a main configuration example of the base layer image decoding unit 202 of FIG. As shown in FIG. 22, the base layer image decoding unit 202 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 loop filter 216, a screen rearrangement buffer 217, And a D / A converter 218. The base layer image decoding unit 202 includes a frame memory 219, a selection unit 220, an intra prediction unit 221, an inter prediction unit 222, and a predicted image selection unit 223.
  蓄積バッファ211は、伝送されてきた符号化データを受け取る受け取り部でもある。蓄積バッファ211は、伝送されてきた符号化データを受け取って、蓄積し、所定のタイミングにおいてその符号化データを可逆復号部212に供給する。この符号化データには、予測モード情報などの復号に必要な情報が付加されている。 The soot storage buffer 211 is also a receiving unit that receives the transmitted encoded data. The accumulation buffer 211 receives and accumulates the transmitted 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 encoded data.
  可逆復号部212は、蓄積バッファ211より供給された、可逆符号化部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 using a decoding method corresponding to the encoding method. The lossless decoding unit 212 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 213.
  また、可逆復号部212は、最適な予測モードにイントラ予測モードが選択されたかインター予測モードが選択されたかを判定し、その最適な予測モードに関する情報を、イントラ予測部221およびインター予測部222の内、選択されたと判定したモードの方に供給する。つまり、例えば、符号化側において最適な予測モードとしてイントラ予測モードが選択された場合、その最適な予測モードに関する情報がイントラ予測部221に供給される。また、例えば、符号化側において最適な予測モードとしてインター予測モードが選択された場合、その最適な予測モードに関する情報がインター予測部222に供給される。 Further, the lossless decoding unit 212 determines whether the intra prediction mode is selected as the optimal prediction mode or the inter prediction mode is selected, and information on the optimal prediction mode is stored in the intra prediction unit 221 and the inter prediction unit 222. It is supplied to the mode determined to be selected. That is, for example, when the intra prediction mode is selected as the optimal prediction mode on the encoding side, 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 on the encoding side, information regarding the optimal prediction mode is supplied to the inter prediction unit 222.
  さらに、可逆復号部212は、例えば、量子化行列や量子化パラメータ等の、逆量子化に必要な情報を逆量子化部213に供給する。 Furthermore, the lossless decoding unit 212 supplies information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, to the inverse quantization unit 213, for example.
  逆量子化部213は、可逆復号部212により復号されて得られた量子化された係数データを、量子化部115の量子化方式に対応する方式で逆量子化する。なお、この逆量子化部213は、逆量子化部118と同様の処理部である。 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.
  逆量子化部213は、得られた係数データを逆直交変換部214に供給する。 The inverse quantization unit 213 supplies the obtained coefficient data to the inverse orthogonal transform unit 214.
  逆直交変換部214は、逆量子化部213から供給される直交変換係数を、必要に応じて、直交変換部114の直交変換方式に対応する方式で逆直交変換する。なお、この逆直交変換部214は、逆直交変換部119と同様の処理部である。 The inverse orthogonal transform unit 214 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 213 by a method corresponding to the orthogonal transform method of the orthogonal transform unit 114 as necessary. The inverse orthogonal transform unit 214 is a processing unit similar to the inverse orthogonal transform unit 119.
  この逆直交変換処理により差分画像の画像データが復元される。この復元された差分画像の画像データは、画像符号化装置において直交変換される前の差分画像の画像データに対応する。以下においては、この、逆直交変換部214の逆直交変換処理により得られた、復元された差分画像の画像データを、復号残差データとも称する。逆直交変換部214は、この復号残差データを、演算部215に供給する。また、演算部215には、予測画像選択部223を介して、イントラ予測部221若しくはインター予測部222から予測画像の画像データが供給される。 差分 The image data of the difference image is restored by this inverse orthogonal transform process. The restored image data of the difference image corresponds to the image data of the difference image before being orthogonally transformed in the image encoding device. Hereinafter, the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 214 is also referred to as decoded residual data. The inverse orthogonal transform unit 214 supplies the decoded residual data to the calculation unit 215. Further, the image data of the predicted image is supplied to the calculation unit 215 from the intra prediction unit 221 or the inter prediction unit 222 via the predicted image selection unit 223.
  演算部215は、この復号残差データと予測画像の画像データとを用いて、差分画像と予測画像とを加算した再構成画像の画像データを得る。この再構成画像は、演算部113により予測画像が減算される前の入力画像に対応する。演算部215は、その再構成画像をループフィルタ216に供給する。 The calculating unit 215 uses the decoded residual data and the image data of the predicted image to obtain image data of a reconstructed image obtained by adding the difference image and the predicted image. This reconstructed image corresponds to the input image before the predicted image is subtracted by the calculation unit 113. The calculation unit 215 supplies the reconstructed image to the loop filter 216.
  ループフィルタ216は、供給された再構成画像に対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜施して復号画像を生成する。例えば、ループフィルタ216は、再構成画像に対してデブロックフィルタ処理を行うことにより、ブロック歪を除去する。また、例えば、ループフィルタ216は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。 The loop filter 216 appropriately performs loop filter processing including deblock filter processing and adaptive loop filter processing on the supplied reconstructed image to generate a decoded image. For example, the loop filter 216 removes block distortion by performing deblocking filter processing on the reconstructed image. In addition, for example, the loop filter 216 performs image quality improvement by performing loop filter processing using a Wiener filter on the deblock filter processing result (reconstructed image from which block distortion has been removed). I do.
  なお、ループフィルタ216が行うフィルタ処理の種類は任意であり、上述した以外のフィルタ処理を行ってもよい。また、ループフィルタ216が、画像符号化装置から供給されたフィルタ係数を用いてフィルタ処理を行うようにしてもよい。さらに、ループフィルタ216が、このようなフィルタ処理を省略し、入力されたデータをフィルタ処理せずに出力することもできる。 Note that the type of filter processing performed by the loop filter 216 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 216 may perform filter processing using the filter coefficient supplied from the image encoding device. Furthermore, the loop filter 216 can omit such filter processing and output the input data without performing the filter processing.
  ループフィルタ216は、フィルタ処理結果である復号画像(若しくは再構成画像)を画面並べ替えバッファ217およびフレームメモリ219に供給する。 The loop filter 216 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 217 and the frame memory 219.
  画面並べ替えバッファ217は、復号画像についてフレームの順番の並べ替えを行う。すなわち、画面並べ替えバッファ217は、画面並べ替えバッファ112により符号化順に並べ替えられた各フレームの画像を、元の表示順に並べ替える。つまり、画面並べ替えバッファ217は、符号化順に供給される各フレームの復号画像の画像データを、その順に記憶し、符号化順に記憶した各フレームの復号画像の画像データを、表示順に読み出してD/A変換部218に供給する。D/A変換部218は、画面並べ替えバッファ217から供給された各フレームの復号画像(デジタルデータ)をD/A変換し、アナログデータとして、図示せぬディスプレイに出力し、表示させる。 The screen rearrangement buffer 217 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 217 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 112 in the original display order. That is, the screen rearrangement buffer 217 stores the image data of the decoded images of the frames supplied in the encoding order in that order, and reads the image data of the decoded images of the frames stored in the encoding order in the display order. / A converter 218. The D / A conversion unit 218 performs D / A conversion on the decoded image (digital data) of each frame supplied from the screen rearrangement buffer 217, and outputs it as analog data to a display (not shown) for display.
  フレームメモリ219は、供給される復号画像を記憶し、所定のタイミングにおいて、若しくは、イントラ予測部221やインター予測部222等の外部の要求に基づいて、記憶している復号画像を参照画像として、選択部220を介してイントラ予測部221やインター予測部222に供給する。 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 inter prediction unit 222. The data is supplied to the intra prediction unit 221 and the inter prediction unit 222 via the selection unit 220.
  イントラ予測部221には、イントラ予測モード情報等が可逆復号部212から適宜供給される。イントラ予測部221は、イントラ予測部124において用いられたイントラ予測モード(最適イントラ予測モード)でイントラ予測を行い、予測画像を生成する。その際、イントラ予測部221は、選択部220を介してフレームメモリ219から供給される再構成画像の画像データを用いてイントラ予測を行う。すなわち、イントラ予測部221は、この再構成画像を参照画像(周辺画素)として利用する。イントラ予測部221は、生成した予測画像を予測画像選択部223に供給する。 The intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 212 to the intra prediction unit 221. The intra prediction unit 221 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 124, and generates a predicted image. At that time, the intra prediction unit 221 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 219 via the selection unit 220. That is, the intra prediction unit 221 uses this reconstructed image as a reference image (neighboring pixels). The intra prediction unit 221 supplies the generated predicted image to the predicted image selection unit 223.
  インター予測部222には、最適予測モード情報や動き情報等が可逆復号部212から適宜供給される。インター予測部222は、可逆復号部212から取得された最適予測モード情報が示すインター予測モード(最適インター予測モード)で、フレームメモリ219から取得した復号画像(参照画像)を用いてインター予測を行い、予測画像を生成する。 The optimal prediction mode information, motion information, and the like are appropriately supplied from the lossless decoding unit 212 to the inter prediction unit 222. The inter prediction unit 222 performs inter prediction using the decoded image (reference image) acquired from the frame memory 219 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 212. Generate a predicted image.
  予測画像選択部223は、イントラ予測部221から供給される予測画像またはインター予測部222から供給される予測画像を、演算部215に供給する。そして、演算部215においては、その予測画像と逆直交変換部214からの復号残差データ(差分画像情報)とが加算されて再構成画像が得られる。 The predicted image selection unit 223 supplies the prediction image supplied from the intra prediction unit 221 or the prediction image supplied from the inter prediction unit 222 to the calculation unit 215. Then, the calculation unit 215 adds the predicted image and the decoded residual data (difference image information) from the inverse orthogonal transform unit 214 to obtain a reconstructed image.
  なお、ベースレイヤ画像復号部202は、他のレイヤを参照せずに復号を行う。つまり、イントラ予測部221およびインター予測部222は、他のレイヤの復号画像を参照画像として利用しない。 Note that the base layer image decoding unit 202 performs decoding without referring to other layers. That is, the intra prediction unit 221 and the inter prediction unit 222 do not use decoded images of other layers as reference images.
  また、フレームメモリ219は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤ画像復号部203に供給する。 The frame memory 219 supplies the stored base layer decoded image to the enhancement layer image decoding unit 203.
    <エンハンスメントレイヤ画像復号部>
  図23は、図21のエンハンスメントレイヤ画像復号部203の主な構成例を示すブロック図である。図23に示されるように、エンハンスメントレイヤ画像復号部203は、図22のベースレイヤ画像復号部202と基本的に同様の構成を有する。
<Enhancement layer image decoding unit>
FIG. 23 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 203 of FIG. As shown in FIG. 23, the enhancement layer image decoding unit 203 has basically the same configuration as the base layer image decoding unit 202 of FIG.
  つまり、エンハンスメントレイヤ画像復号部203は、図23に示されるように、蓄積バッファ231、可逆復号部232、逆量子化部233、逆直交変換部234、演算部235、ループフィルタ236、画面並べ替えバッファ237、およびD/A変換部238を有する。また、エンハンスメントレイヤ画像復号部203は、フレームメモリ239、選択部240、イントラ予測部241、インター予測部242、および予測画像選択部243を有する。 That is, the enhancement layer image decoding unit 203 includes a storage buffer 231, a lossless decoding unit 232, an inverse quantization unit 233, an inverse orthogonal transform unit 234, a calculation unit 235, a loop filter 236, and a screen rearrangement, as shown in FIG. A buffer 237 and a D / A converter 238 are included. The enhancement layer image decoding unit 203 includes a frame memory 239, a selection unit 240, an intra prediction unit 241, an inter prediction unit 242, and a predicted image selection unit 243.
  これらの蓄積バッファ231乃至予測画像選択部243は、図22の蓄積バッファ211乃至予測画像選択部223に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像復号部203の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、蓄積バッファ231乃至予測画像選択部243の処理の説明として、上述した図22の蓄積バッファ211乃至予測画像選択部223についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、エンハンスメントレイヤ画像復号部203の、対応する処理部に置き換えて読む必要がある。 These storage buffers 231 to predicted image selection unit 243 correspond to the storage buffer 211 to predicted image selection unit 223 of FIG. 22 and perform the same processes as the corresponding processing units, respectively. However, each unit of the enhancement layer image decoding unit 203 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 231 to the predicted image selection unit 243, the description of the storage buffer 211 to the predicted image selection unit 223 of FIG. 22 described above can be applied. In this case, the data to be processed is It should be enhancement layer data, not base layer data. In addition, it is necessary to replace the data input source and output destination processing units with the corresponding processing units of the enhancement layer image decoding unit 203 as appropriate.
  なお、エンハンスメントレイヤ画像復号部203は、他のレイヤ(例えばベースレイヤ)の復号画像を参照して復号を行う。そして、エンハンスメントレイヤ画像復号部203は、<1.概要>において上述した処理を行う。 Note that the enhancement layer image decoding unit 203 performs decoding with reference to a decoded image of another layer (for example, a base layer). Then, the enhancement layer image decoding unit 203 performs <1. The above-described processing is performed in the overview>.
  例えば、フレームメモリ239は、<1.概要>において上述した参照画像を記憶する記憶部として処理を行う。つまり、フレームメモリ239は、複数の参照フレームを記憶することができ、エンハンスメントレイヤの復号画像(エンハンスメントレイヤ復号画像とも称する)を記憶するだけでなく、ベースレイヤ画像復号部202からベースレイヤ復号画像を取得し、記憶する。その際、フレームメモリ239は、このベースレイヤ復号画像を、例えば、ロングターム参照フレームとして記憶する。このとき、ベースレイヤ復号画像のアップサンプル処理は行われない。したがって、フレームメモリ239の記憶容量を低減させることができる。 For example, the frame memory 239 is <1. The processing is performed as a storage unit for storing the reference image described above in the overview>. That is, the frame memory 239 can store a plurality of reference frames, and not only stores the enhancement layer decoded image (also referred to as enhancement layer decoded image) but also stores the base layer decoded image from the base layer image decoding unit 202. Get and remember. At that time, the frame memory 239 stores the base layer decoded image as, for example, a long term reference frame. At this time, the upsampling process of the base layer decoded image is not performed. Therefore, the storage capacity of the frame memory 239 can be reduced.
  フレームメモリ239に記憶された画像、すなわち、エンハンスメントレイヤ復号画像やベースレイヤ復号画像は、インター予測部242による予測処理において、参照画像として利用される。すなわち、フレームメモリ239に格納されるエンハンスメントレイヤ復号画像やベースレイヤ復号画像は、参照画像として読みだされ、選択部240を介してインター予測部242に供給される。 The image stored in the frame memory 239, that is, the enhancement layer decoded image or the base layer decoded image is used as a reference image in the prediction process by the inter prediction unit 242. That is, the enhancement layer decoded image and the base layer decoded image stored in the frame memory 239 are read as a reference image and supplied to the inter prediction unit 242 via the selection unit 240.
  エンハンスメントレイヤ画像復号部203は、フィルタ制御部244を有する。<1.概要>において上述したように、フィルタ制御部244は、インター予測部242において実行される参照画像に対するフィルタ処理を制御する。また、フィルタ制御部244は、符号化側から伝送され、可逆復号部232において抽出された、このフィルタ処理に関する情報を取得する。フィルタ制御部244は、そのフィルタ処理に関する情報に基づいて、インター予測部242のフィルタ処理を制御する。 The enhancement layer image decoding unit 203 has a filter control unit 244. <1. As described above in Overview>, the filter control unit 244 controls the filtering process on the reference image executed in the inter prediction unit 242. Further, the filter control unit 244 acquires information related to the filter processing transmitted from the encoding side and extracted by the lossless decoding unit 232. The filter control unit 244 controls the filtering process of the inter prediction unit 242 based on the information related to the filtering process.
    <フィルタ制御部とインター予測部>
  図24は、図23のインター予測部242およびフィルタ制御部244の主な構成例を示すブロック図である。
<Filter control unit and inter prediction unit>
FIG. 24 is a block diagram illustrating a main configuration example of the inter prediction unit 242 and the filter control unit 244 in FIG.
  図24に示されるように、インター予測部242は、差分動き情報バッファ271、動きベクトル再構築部272、フィルタ処理部273、および動き補償部274を有する。 As shown in FIG. 24, the inter prediction unit 242 includes a difference motion information buffer 271, a motion vector reconstruction unit 272, a filter processing unit 273, and a motion compensation unit 274.
  差分動き情報バッファ271は、可逆復号部232から供給される、符号化側から供給された動き情報の符号化情報である差分動き情報を取得する。差分動き情報バッファ271は、取得した差分動き情報を保持し、所定のタイミングにおいて、若しくは、要求に基づいて保持している差分動き情報を動きベクトル再構築部272に供給する。 The heel difference motion information buffer 271 acquires difference motion information that is supplied from the lossless decoding unit 232 and is encoded information of motion information supplied from the encoding side. The difference motion information buffer 271 holds the acquired difference motion information, and supplies the difference motion information held at a predetermined timing or based on a request to the motion vector reconstruction unit 272.
  動きベクトル再構築部272は、カレントブロックの動き情報の予測値を求め、その予測値を、差分動き情報バッファ271から取得した差分動き情報に加算し、カレントブロックの動き情報を再構築する。動きベクトル再構築部272は、再構築した動き情報を動き補償部274に供給する。 The heel motion vector reconstruction unit 272 obtains a predicted value of the motion information of the current block, adds the predicted value to the differential motion information acquired from the differential motion information buffer 271, and reconstructs the motion information of the current block. The motion vector reconstruction unit 272 supplies the reconstructed motion information to the motion compensation unit 274.
  フィルタ処理部273は、<1.概要>において上述したように、フレームメモリ239の複数の参照フレームのいずれかから参照画像を読み出し、その参照画像に対してフィルタ処理を行う。どの参照フレームの画像を読み出すかは動き補償部274により指定される。フィルタ処理部273は、画像を読み出す参照フレームを選択することにより、所望のレイヤの画像を得ることができる。例えば、フィルタ処理部273は、参照画像として、エンハンスメントレイヤ復号画像を、フレームメモリ239のショートターム参照フレームから取得する。また、例えば、フィルタ処理部273は、参照画像として、ベースレイヤ復号画像を、フレームメモリ239のロングターム参照フレームから取得する。 The soot filter processing unit 273 is <1. As described above in Overview>, a reference image is read from any of a plurality of reference frames in the frame memory 239, and the reference image is subjected to filter processing. The motion compensation unit 274 specifies which reference frame image is to be read. The filter processing unit 273 can obtain an image of a desired layer by selecting a reference frame from which an image is read. For example, the filter processing unit 273 acquires an enhancement layer decoded image from the short term reference frame in the frame memory 239 as the reference image. For example, the filter processing unit 273 acquires a base layer decoded image from the long term reference frame in the frame memory 239 as a reference image.
  <1.概要>において上述したように、フィルタ処理部273は、取得した参照画像に対して、その参照画像のレイヤに応じた精度でフィルタ処理を行う。例えば、フィルタ処理部273は、参照画像がエンハンスメントレイヤの復号画像(エンハンスメントレイヤ復号画像とも称する)である場合、その参照画像に対して動き補償のための内挿処理を行うが、参照画像がベースレイヤ復号画像である場合、その参照画像に対してアップサンプル処理と動き補償のための内挿処理とを行う。フィルタ処理部273は、参照画像のレイヤに応じて精度を変えることにより、参照画像がどのレイヤである場合も、参照画像に対するフィルタ処理を、単一のフィルタ処理により実現する。したがって、フィルタ処理部273は、フィルタ処理による負荷の不要な増大を抑制し、符号化の負荷の増大を抑制することができる。 <1. As described above in Overview>, the filter processing unit 273 performs filter processing on the acquired reference image with accuracy according to the layer of the reference image. For example, when the reference image is an enhancement layer decoded image (also referred to as an enhancement layer decoded image), the filter processing unit 273 performs interpolation processing for motion compensation on the reference image. In the case of a layer decoded image, upsampling processing and interpolation processing for motion compensation are performed on the reference image. The filter processing unit 273 realizes the filter process for the reference image by a single filter process, regardless of the layer of the reference image, by changing the accuracy according to the layer of the reference image. Therefore, the filter processing unit 273 can suppress an unnecessary increase in load due to the filter processing, and can suppress an increase in encoding load.
  なお、フィルタ処理部273は、<1.概要>において上述したように、このようなフィルタ処理を、フィルタ制御部244の制御に従って行う。つまり、例えば、フィルタ処理部273は、フィルタ精度制御部283から供給される制御情報を取得し、その制御情報に示される精度でフィルタ処理を行う。フィルタ処理部273は、フィルタ処理された参照画像を、動き補償部274に供給する。 Note that the filter processing unit 273 is <1. As described above in Overview>, such filter processing is performed according to the control of the filter control unit 244. That is, for example, the filter processing unit 273 acquires the control information supplied from the filter accuracy control unit 283, and performs the filter processing with the accuracy indicated by the control information. The filter processing unit 273 supplies the filtered reference image to the motion compensation unit 274.
  動き補償部274は、フィルタ処理部273から供給される、フィルタ処理された参照画像を用いて、最適なインター予測モード(符号化の際に採用されたインター予測モード)で動き補償を行い、予測画像を生成する。つまり、動き補償部274は、符号化側から伝送された最適なインター予測モードを示す情報を、可逆復号部232から取得し、フィルタ処理部273を制御して、その最適なインター予測モードについての参照画像を取得させ、フィルタ処理させる。その際、<1.概要>において上述したように、動き補償部274は、フィルタ処理部273に対して、参照画像として読み出す復号画像のレイヤ(参照フレーム)を指定する。動き補償部274は、フィルタ処理部273から、そのフィルタ処理された参照画像を取得し、動きベクトル再構築部272から動き情報を取得し、それらを用いて最適なインター予測モードについての動き補償を行い、予測画像を生成する。 The motion compensation unit 274 uses the filtered reference image supplied from the filter processing unit 273 to perform motion compensation in an optimal inter prediction mode (inter prediction mode adopted at the time of encoding) and perform prediction. Generate an image. That is, the motion compensation unit 274 acquires information indicating the optimal inter prediction mode transmitted from the encoding side from the lossless decoding unit 232, controls the filter processing unit 273, and controls the optimal inter prediction mode. A reference image is acquired and filtered. At that time, <1. As described above in Overview>, the motion compensation unit 274 designates a layer (reference frame) of a decoded image to be read as a reference image to the filter processing unit 273. The motion compensation unit 274 acquires the filtered reference image from the filter processing unit 273, acquires motion information from the motion vector reconstruction unit 272, and uses them to perform motion compensation for the optimal inter prediction mode. To generate a predicted image.
  なお、動き補償部274は、指定した参照フレームの種類を示す情報を、フィルタ制御部244(レイヤ判定部282)に供給する。動き補償部274は、以上のように生成した最適なインター予測モードの予測画像を、予測画像選択部243に供給する。 Note that the motion compensation unit 274 supplies information indicating the type of the designated reference frame to the filter control unit 244 (layer determination unit 282). The motion compensation unit 274 supplies the predicted image in the optimal inter prediction mode generated as described above to the predicted image selection unit 243.
  コスト関数値算出部173は、コスト関数値算出部173は、動き探索部172から供給される各候補モードの予測画像についてコスト関数値を算出する。コスト関数値算出部173は、各候補モードについて予測画像とそのコスト関数値とをモード判定部174に供給し、エンハンスメントレイヤの符号化データの復号に利用させる。 The cost function value calculation unit 173 calculates the cost function value for each candidate mode predicted image supplied from the motion search unit 172. The cost function value calculation unit 173 supplies the prediction image and its cost function value for each candidate mode to the mode determination unit 174, and uses them for decoding the enhancement layer encoded data.
  図24に示されるように、フィルタ制御部244は、制御情報取得部281、レイヤ判定部282、およびフィルタ精度制御部283を有する。 As shown in FIG. 24, the filter control unit 244 includes a control information acquisition unit 281, a layer determination unit 282, and a filter accuracy control unit 283.
  制御情報取得部281は、<1.概要>において上述したように、符号化側から供給されるフィルタ処理に関する情報を、可逆復号部232から取得する。例えば、制御情報取得部281は、このフィルタ処理に関する情報として、参照画像としてロングターム参照フレームの画像を使用するか否かを示す情報(例えば、long_term_ref_pics_present_flag)や、フィルタ精度の設定を示す制御情報(例えば、ref_layer_id[i])を取得する。制御情報取得部281は、取得したフィルタ処理に関する情報を、レイヤ判定部282やフィルタ精度制御部283に供給する。 The heel control information acquisition unit 281 has <1. As described above in Overview>, information on the filter processing supplied from the encoding side is acquired from the lossless decoding unit 232. For example, the control information acquisition unit 281 includes information indicating whether or not to use an image of a long term reference frame as a reference image (for example, long_term_ref_pics_present_flag), and control information indicating the setting of filter accuracy as information regarding the filter processing (for example, long_term_ref_pics_present_flag). For example, ref_layer_id [i]) is acquired. The control information acquisition unit 281 supplies information regarding the acquired filter processing to the layer determination unit 282 and the filter accuracy control unit 283.
  レイヤ判定部282は、<1.概要>において上述したように参照画像のレイヤを判定する。例えば、制御情報取得部281から取得した制御情報に示されるロングターム参照フレームの画像のレイヤの設定と、動き補償部274から供給される、参照画像が読み出される参照フレームの種類に関する情報とに基づいて、参照画像のレイヤを判定する。例えば、レイヤ判定部282は、参照フレームの種類がショートターム参照フレームである場合、参照画像のレイヤがエンハンスメントレイヤ(カレントレイヤ)であると判定する。また、例えば、レイヤ判定部282は、参照フレームの種類がロングターム参照フレームである場合、参照画像のレイヤが制御情報取得部281から供給された制御情報により示されるレイヤであると判定する。レイヤ判定部282は、このような判定結果(参照画像のレイヤを示す情報)をフィルタ精度制御部283に供給する。 The heel layer determination unit 282 performs <1. The layer of the reference image is determined as described above in the overview>. For example, based on the setting of the layer of the image of the long term reference frame indicated in the control information acquired from the control information acquisition unit 281 and the information related to the type of the reference frame from which the reference image is read supplied from the motion compensation unit 274 Thus, the layer of the reference image is determined. For example, when the type of the reference frame is a short term reference frame, the layer determination unit 282 determines that the layer of the reference image is an enhancement layer (current layer). For example, when the type of the reference frame is a long term reference frame, the layer determination unit 282 determines that the layer of the reference image is a layer indicated by the control information supplied from the control information acquisition unit 281. The layer determination unit 282 supplies such a determination result (information indicating the layer of the reference image) to the filter accuracy control unit 283.
  フィルタ精度制御部283は、<1.概要>において上述したようにフィルタ処理部273による参照画像に対するフィルタ処理の精度を設定する。例えば、フィルタ精度制御部283は、レイヤ判定部282から供給される判定結果と、制御情報取得部281から供給される制御情報とに基づいて、このフィルタ処理の精度を設定する。フィルタ精度制御部283は、その設定したフィルタ精度を示す制御情報を、フィルタ処理部273に供給する。上述したように、フィルタ処理部273は、この制御情報に従った精度で参照画像に対するフィルタ処理を行う。 The filter accuracy control unit 283 is <1. As described above in Overview>, the accuracy of the filtering process for the reference image by the filter processing unit 273 is set. For example, the filter accuracy control unit 283 sets the accuracy of this filter processing based on the determination result supplied from the layer determination unit 282 and the control information supplied from the control information acquisition unit 281. The filter accuracy control unit 283 supplies control information indicating the set filter accuracy to the filter processing unit 273. As described above, the filter processing unit 273 performs filter processing on the reference image with accuracy according to the control information.
  以上のように参照画像のレイヤに応じてフィルタ精度を制御することにより、フィルタ処理部273は、参照画像のレイヤに関わらず、参照画像に対するフィルタ処理を単一のフィルタ処理として実現することができる。したがって、画像復号装置200(エンハンスメントレイヤ画像復号部203)は、復号の負荷の増大を抑制することができる。また、エンハンスメントレイヤの画質の低減を抑制することができる。さらに、フレームメモリ239の記憶容量を低減させることができる。 As described above, by controlling the filter accuracy according to the layer of the reference image, the filter processing unit 273 can realize the filter process for the reference image as a single filter process regardless of the layer of the reference image. . Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 239 can be reduced.
    <画像復号処理の流れ>
  次に、以上のような画像復号装置200により実行される各処理の流れについて説明する。最初に、図25のフローチャートを参照して、画像復号処理の流れの例を説明する。
<Flow of image decoding process>
Next, the flow of each process executed by the image decoding apparatus 200 as described above will be described. First, an example of the flow of image decoding processing will be described with reference to the flowchart of FIG.
  画像復号処理が開始されると、ステップS201において、画像復号装置200の逆多重化部201は、符号化側から伝送される階層画像符号化ストリームをレイヤ毎に逆多重化する。 When the image decoding process is started, in step S201, the demultiplexing unit 201 of the image decoding device 200 demultiplexes the layered image encoded stream transmitted from the encoding side for each layer.
  ステップS202において、ベースレイヤ画像復号部202は、ステップS201の処理により抽出されたベースレイヤ画像符号化ストリームを復号する。ベースレイヤ画像復号部202は、この復号により生成されたベースレイヤ画像のデータを出力する。 In step S202, the base layer image decoding unit 202 decodes the base layer image encoded stream extracted by the process in step S201. The base layer image decoding unit 202 outputs base layer image data generated by this decoding.
  ステップS203において、エンハンスメントレイヤ画像復号部203は、ステップS201の処理により抽出されたエンハンスメントレイヤ画像符号化ストリームを復号する。エンハンスメントレイヤ画像復号部203は、この復号により生成されたエンハンスメントレイヤ画像のデータを出力する。 In step S203, the enhancement layer image decoding unit 203 decodes the enhancement layer image encoded stream extracted by the process in step S201. The enhancement layer image decoding unit 203 outputs enhancement layer image data generated by the decoding.
  ステップS203の処理が終了すると、画像復号装置200は、画像復号処理を終了する。このような画像復号処理により1ピクチャが処理される。したがって、画像復号装置200は、このような画像復号処理を階層化された動画像データの各ピクチャについて繰り返し実行する。 終了 When the process of step S203 ends, the image decoding device 200 ends the image decoding process. One picture is processed by such an image decoding process. Therefore, the image decoding apparatus 200 repeatedly executes such an image decoding process for each picture of hierarchized moving image data.
    <ベースレイヤ復号処理の流れ>
  次に、図25のステップS202において、ベースレイヤ画像復号部202により実行されるベースレイヤ復号処理の流れの例を、図26のフローチャートを参照して説明する。
<Flow of base layer decoding process>
Next, an example of the flow of the base layer decoding process executed by the base layer image decoding unit 202 in step S202 of FIG. 25 will be described with reference to the flowchart of FIG.
  ベースレイヤ復号処理が開始されると、ステップS221において、蓄積バッファ211は、伝送されてきたビットストリーム(符号化データ)を蓄積する。ステップS222において、可逆復号部212は、蓄積バッファ211から供給されるビットストリーム(符号化データ)を復号する。すなわち、可逆符号化部116により符号化されたIピクチャ、Pピクチャ、並びにBピクチャ等の画像データが復号される。このとき、ヘッダ情報などのビットストリームに含められた画像データ以外の各種情報も復号される。 When the base layer decoding process is started, in step S221, the accumulation buffer 211 accumulates the transmitted bit stream (encoded data). In step S222, the lossless decoding unit 212 decodes the bit stream (encoded data) supplied from the accumulation buffer 211. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 116 is decoded. At this time, various information other than the image data included in the bit stream such as header information is also decoded.
  ステップS223において、逆量子化部213は、ステップS222の処理により得られた、量子化された係数を逆量子化する。 In step S223, the inverse quantization unit 213 inversely quantizes the quantized coefficient obtained by the process in step S222.
  ステップS224において、逆直交変換部214は、ステップS223において逆量子化された係数を逆直交変換する。 In step S224, the inverse orthogonal transform unit 214 performs inverse orthogonal transform on the coefficient inversely quantized in step S223.
  ステップS225において、イントラ予測部221若しくはインター予測部222は、予測処理を行い、予測画像を生成する。つまり、可逆復号部212において判定された、符号化の際に適用された予測モードで予測処理が行われる。より具体的には、例えば、符号化の際にイントラ予測が適用された場合、イントラ予測部221が、符号化の際に最適とされたイントラ予測モードで予測画像を生成する。また、例えば、符号化の際にインター予測が適用された場合、インター予測部222が、符号化の際に最適とされたインター予測モードで予測画像を生成する。 In step S225, the intra prediction unit 221 or the inter prediction 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. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 222 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
  ステップS226において、演算部215は、ステップS225において逆直交変換されて得られた差分画像に、ステップS226において生成された予測画像を加算する。これにより再構成画像の画像データが得られる。 In step S226, the calculation unit 215 adds the predicted image generated in step S226 to the difference image obtained by the inverse orthogonal transform in step S225. Thereby, image data of the reconstructed image is obtained.
  ステップS227において、ループフィルタ216は、ステップS227の処理により得られた再構成画像の画像データに対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜行う。 In step S227, the loop filter 216 appropriately performs a loop filter process including a deblock filter process and an adaptive loop filter process on the image data of the reconstructed image obtained by the process in step S227.
  ステップS228において、画面並べ替えバッファ217は、ステップS227においてフィルタ処理された再構成画像の各フレームの並べ替えを行う。すなわち、符号化の際に並べ替えられたフレームの順序が、元の表示の順序に並べ替えられる。 In step S228, the screen rearrangement buffer 217 rearranges each frame of the reconstructed image filtered in step S227. That is, the order of frames rearranged at the time of encoding is rearranged in the original display order.
  ステップS229において、D/A変換部218は、ステップS228においてフレームの順序が並べ替えられた画像をD/A変換する。この画像が図示せぬディスプレイに出力され、画像が表示される。 In step S229, the D / A conversion unit 218 performs D / A conversion on the image in which the frame order is rearranged in step S228. This image is output to a display (not shown), and the image is displayed.
  ステップS230において、フレームメモリ219は、ステップS227の処理により得られた復号画像やステップS226の処理により得られた再構成画像等のデータを記憶する。 In step S230, the frame memory 219 stores data such as a decoded image obtained by the process of step S227 and a reconstructed image obtained by the process of step S226.
  ステップS231において、フレームメモリ219は、以上のようなベースレイヤの復号処理において得られたベースレイヤ復号画像を、エンハンスメントレイヤの復号処理に供給する。 In step S231, the frame memory 219 supplies the base layer decoded image obtained in the base layer decoding process as described above to the enhancement layer decoding process.
  ステップS231の処理が終了すると、ベースレイヤ復号処理が終了し、処理は図25に戻る。 処理 When the process of step S231 ends, the base layer decoding process ends, and the process returns to FIG.
    <エンハンスメントレイヤ復号処理の流れ>
  次に、図25のステップS203において、エンハンスメントレイヤ画像復号部203により実行されるエンハンスメントレイヤ復号処理の流れの例を、図27および図28のフローチャートを参照して説明する。
<Flow of enhancement layer decoding processing>
Next, an example of the flow of the enhancement layer decoding process executed by the enhancement layer image decoding unit 203 in step S203 of FIG. 25 will be described with reference to the flowcharts of FIGS.
  エンハンスメントレイヤ復号処理が開始されると、エンハンスメントレイヤ画像復号部203の制御情報取得部281は、図27のステップS251において、符号化側から伝送されるベースレイヤ残差信号を用いた予測に関する制御情報を取得する。 When the enhancement layer decoding process is started, the control information acquisition unit 281 of the enhancement layer image decoding unit 203 controls control information related to prediction using the base layer residual signal transmitted from the encoding side in step S251 of FIG. To get.
  ステップS252において、制御情報取得部281は、ステップS251において取得された制御情報に基づいて、ロングターム参照フレームに格納する画像のレイヤを設定する。 In step S252, the control information acquisition unit 281 sets an image layer to be stored in the long term reference frame based on the control information acquired in step S251.
  ステップS253において、フレームメモリ239は、ベースレイヤ復号画像を取得する。 In step S253, the frame memory 239 acquires a base layer decoded image.
  ステップS254において、フレームメモリ239は、ステップS253において取得したベースレイヤ復号画像を記憶する。 In step S254, the frame memory 239 stores the base layer decoded image acquired in step S253.
  図28のステップS261乃至ステップS270の各処理は、図26のステップS221乃至ステップS230の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、ステップS265の予測画像の生成は、符号化側で採用された最適な予測モードについてのみ行われる。 Each process of step S261 thru | or step S270 of FIG. 28 respond | corresponds to each process of step S221 thru | or step S230 of FIG. 26, and is performed basically similarly to those processes. However, the generation of the predicted image in step S265 is performed only for the optimal prediction mode employed on the encoding side.
    <予測画像生成処理の流れ>
  次に、図29のフローチャートを参照して、図28のステップS265において実行される予測画像生成処理の流れの例を説明する。
<Flow of predicted image generation processing>
Next, an example of the flow of predicted image generation processing executed in step S265 of FIG. 28 will be described with reference to the flowchart of FIG.
  予測画像生成処理が開始されると、可逆復号部232は、ステップS281において、最適な予測モードがインター予測モードであるか否かを判定する。インター予測モードであると判定された場合、処理は、ステップS282に進む。 When the predictive image generation process is started, the lossless decoding unit 232 determines whether or not the optimal prediction mode is the inter prediction mode in step S281. If it is determined that the mode is the inter prediction mode, the process proceeds to step S282.
  ステップS282において、インター予測部242は、インター予測により予測画像を生成する。ステップS282の処理が終了すると、予測画像生成処理が終了し、処理は、図28に戻る。 In step S282, the inter prediction unit 242 generates a prediction image by inter prediction. When the process of step S282 ends, the predicted image generation process ends, and the process returns to FIG.
  また、図29のステップS281において、最適な予測モードがインター予測モードでない、すなわち、イントラ予測モードであると判定された場合、処理は、ステップS283に進む。 If it is determined in step S281 in FIG. 29 that the optimal prediction mode is not the inter prediction mode, that is, the intra prediction mode, the process proceeds to step S283.
  ステップS283において、イントラ予測部241は、イントラ予測により予測画像を生成する。ステップS283の処理が終了すると、予測画像生成処理が終了し、処理は、図28に戻る。 In step S283, the intra prediction unit 241 generates a predicted image by intra prediction. When the process of step S283 ends, the predicted image generation process ends, and the process returns to FIG.
    <インター予測処理の流れ>
  次に、図30のフローチャートを参照して、図29のステップS282において実行されるインター予測処理の流れの例を説明する。
<Flow of inter prediction processing>
Next, an example of the flow of the inter prediction process executed in step S282 in FIG. 29 will be described with reference to the flowchart in FIG.
  インター予測処理が開始されると、インター予測部242の動きベクトル再構築部272は、ステップS291において、差分動き情報バッファ271からカレントブロックの差分動き情報を取得し、その差分動き情報を用いてカレントブロックの動き情報を再構築する。 When the inter prediction process is started, the motion vector reconstruction unit 272 of the inter prediction unit 242 acquires the difference motion information of the current block from the difference motion information buffer 271 in step S291, and uses the difference motion information to obtain the current motion information. Reconstruct block motion information.
  ステップS292において、動き補償部274は、最適なインター予測モードにおける、参照画像を読み出す参照フレームの種類を判別する。 In step S292, the motion compensation unit 274 determines the type of the reference frame from which the reference image is read in the optimal inter prediction mode.
  ステップS293において、フィルタ制御部244のレイヤ判定部282は、ステップS292において判別された参照フレームに従って、参照画像のレイヤを判定する。 In step S293, the layer determination unit 282 of the filter control unit 244 determines the layer of the reference image according to the reference frame determined in step S292.
  ステップS294において、フィルタ精度制御部283は、ステップS293において判定された参照画像のレイヤに応じてフィルタの精度を選択する。 In step S294, the filter accuracy control unit 283 selects the filter accuracy according to the layer of the reference image determined in step S293.
  ステップS295において、フィルタ処理部273は、ステップS292において判別された参照フレームから画像を、参照画像として取得し、その参照画像に対して、ステップS294において選択された参照画像のレイヤに応じた精度で、フィルタ処理を行う。 In step S295, the filter processing unit 273 acquires an image from the reference frame determined in step S292 as a reference image, and with respect to the reference image, the accuracy according to the layer of the reference image selected in step S294. And filter processing.
  ステップS296において、動き補償部274は、ステップS295においてフィルタ処理された参照画像と、ステップS291において再構築された動き情報を用いて動き補償を行い、カレントブロックの予測画像を生成する。 In step S296, the motion compensation unit 274 performs motion compensation using the reference image filtered in step S295 and the motion information reconstructed in step S291, and generates a predicted image of the current block.
  ステップS296の処理が終了すると、処理は、図29に戻る。 処理 When the process of step S296 ends, the process returns to FIG.
  以上のように各処理が実行されることにより、画像復号装置200(エンハンスメントレイヤ画像復号部203)は、復号の負荷の増大を抑制することができる。また、エンハンスメントレイヤの画質の低減を抑制することができる。さらに、フレームメモリ239の記憶容量を低減させることができる。 By performing each process as described above, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load. In addition, it is possible to suppress a reduction in image quality of the enhancement layer. Furthermore, the storage capacity of the frame memory 239 can be reduced.
  以上においては、スケーラブル符号化により画像データが階層化されて複数レイヤ化されるように説明したが、そのレイヤ数は任意である。また、以上においては、符号化・復号において、エンハンスメントレイヤは、ベースレイヤ復号画像を用いて処理されるように説明したが、これに限らず、エンハンスメントレイヤが、処理済の他のエンハンスメントレイヤの復号画像を用いて処理されるようにしてもよい。 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. In the above description, the enhancement layer is described as being processed using the base layer decoded image in the encoding / decoding. However, the present invention is not limited to this, and the enhancement layer is decoded by other enhancement layers that have been processed. You may make it process using an image.
  例えば、図12の画像符号化装置100の場合、エンハンスメントレイヤ画像符号化部102のフレームメモリ142(図14)が、フレームメモリ122(図13)と同様に、そのエンハンスメントレイヤの復号画像を、他のエンハンスメントレイヤのエンハンスメントレイヤ画像符号化部102に供給するようにすればよい。 For example, in the case of the image encoding device 100 in FIG. 12, the frame memory 142 (FIG. 14) of the enhancement layer image encoding unit 102, as with the frame memory 122 (FIG. 13), What is necessary is just to make it supply to the enhancement layer image coding part 102 of this enhancement layer.
  また、例えば、図21の画像復号装置200の場合、エンハンスメントレイヤ画像復号部203のフレームメモリ239(図23)が、フレームメモリ219(図22)と同様に、そのエンハンスメントレイヤの復号画像を、他のエンハンスメントレイヤのエンハンスメントレイヤ画像復号部203に供給するようにすればよい。 Further, for example, in the case of the image decoding device 200 of FIG. 21, the frame memory 239 (FIG. 23) of the enhancement layer image decoding unit 203 converts the decoded image of the enhancement layer to the other like the frame memory 219 (FIG. 22). What is necessary is just to make it supply to the enhancement layer image decoding part 203 of this enhancement layer.
  <4.第3の実施の形態>
    <イントラ予測におけるフィルタ処理>
  ところで、図31は、HEVCにおいて規定されているMDIS(Mode Dependent Intra Smoothing)を説明する図である。
<4. Third Embodiment>
<Filter processing in intra prediction>
By the way, FIG. 31 is a figure explaining MDIS (Mode Dependent Intra Smoothing) prescribed | regulated in HEVC.
  AVCの場合、イントラ8×8予測モードにおいて、カレントブロックの周辺画素に対して、図31に示されるように、[1 2 1]/4フィルタ処理が行われる(イントラスムージング処理とも称する)。これに対して、HEVCにおいては、ブロックサイズ(PUサイズ)と予測モードに応じて、このフィルタ処理のオン・オフ(on/off)(すなわち、このフィルタ処理を適用するか否か)が決定される。 In the case of AVC, in the intra 8 × 8 prediction mode, [1 行 わ 2 1] / 4 filter processing is performed on the peripheral pixels of the current block as shown in FIG. 31 (also referred to as intra-smoothing processing). On the other hand, in HEVC, on / off of this filtering process (that is, whether to apply this filtering process) is determined according to the block size (PU size) and the prediction mode. The
  より具体的には、カレントブロックのブロックサイズが4×4の場合、このフィルタ処理は適用されない。カレントブロックのブロックサイズが8×8の場合、45度方向の予測モードに対して、このフィルタ処理が適用される。カレントブロックのブロックサイズが16×16の場合、水平(horizontal)に近い3方向、並びに、垂直(vertical)に近い3方向以外の方向の予測モードに対して、このフィルタ処理が適用される。カレントブロックのブロックサイズが32×32の場合、水平(horizontal)および垂直(vertical)以外の方向の予測モードに対して、このフィルタ処理が適用される。 More specifically, this filter processing is not applied when the block size of the current block is 4 × 4. When the block size of the current block is 8 × 8, this filtering process is applied to the prediction mode in the 45 degree direction. When the block size of the current block is 16 × 16, this filtering process is applied to prediction modes in directions other than three directions close to horizontal and three directions close to vertical. When the block size of the current block is 32 × 32, this filter processing is applied to a prediction mode in a direction other than horizontal and vertical.
  ところで、SHVC Test Model 1(SHM)では、テクスチャBL(TextureBL)とリファレンスインデックス(Ref_index)という2つのフレームワーク(framework)があるが、テクスチャBLにおいては、イントラ予測モード(Intra Prediction Mode)の1つとして、ベースレイヤ(Baselayer)の復号画像をアップサンプル(upsample)した画像が予測画像に用いられる「イントラBL(IntraBL)モード」が存在する。 By the way, in SHVC Test Model 1 (SHM), there are two frameworks (texture BL) and reference index (Ref_index), but in texture BL, one of intra prediction modes (Intra Prediction Mode). As an example, there is an “IntraBL mode” in which an image obtained by upsampling a decoded image of a base layer (Baselayer) is used as a predicted image.
  イントラ予測においては、カレントブロック周辺の画素(隣接画素)を用いてカレントブロックの予測画像が生成されるが、このイントラBLモードの場合、この隣接画素の画像(参照画像)として、ベースレイヤの復号画像をアップサンプルした画像が用いられる。したがって、その隣接画素に[1 2 1]/4フィルタ処理を施すこと(イントラスムージング処理を行うこと)は冗長な処理となり、不要に処理の負荷が増大する恐れがあった。 In intra prediction, a predicted image of the current block is generated using pixels (adjacent pixels) around the current block. In this intra BL mode, decoding of the base layer is performed as an image (reference image) of the adjacent pixels. An up-sampled image is used. Therefore, performing [1 2 1] / 4 filter processing on the adjacent pixels (performing the intra-smoothing processing) is a redundant processing, which may unnecessarily increase the processing load.
  そこで、カレントブロック(カレントPU)がイントラBLモードである場合、イントラスムージング処理(隣接画素に対する[1 2 1]/4フィルタ処理)を省略するようにしてもよい。 Therefore, when the current block (current PU) is in the intra BL mode, the intra smoothing process ([1 2 1] / 4 filter processing for adjacent pixels) may be omitted.
  このようにすることにより、不要なイントラスムージング処理を省略することができるので、上述したイントラスムージング処理を伴う符号化処理の不要な負荷の増大を抑制することができる。 に す る By doing in this way, unnecessary intra smoothing processing can be omitted, so that it is possible to suppress an increase in unnecessary load of the encoding processing accompanying the above-described intra smoothing processing.
    <画像符号化装置>
  このような本技術は、第1の実施の形態において説明した画像処理装置と基本的に同様の構成の画像処理装置により実現することができる。つまり、例えば、画像符号化装置100(図12)は、本実施の形態において上述した本技術を実現することができる。
<Image encoding device>
Such a present technology can be realized by an image processing apparatus having basically the same configuration as the image processing apparatus described in the first embodiment. That is, for example, the image encoding device 100 (FIG. 12) can implement the present technology described above in the present embodiment.
  ただし、本実施の形態の場合、画像符号化装置100のベースレイヤ画像符号化部101は、第1の実施の形態のときと同様の構成(図13)を有するが、エンハンスメントレイヤ画像符号化部102は、例えば図32に示されるように、第1の実施の形態のときと異なる構成を有する。 However, in the case of the present embodiment, the base layer image coding unit 101 of the image coding device 100 has the same configuration (FIG. 13) as in the first embodiment, but the enhancement layer image coding unit. For example, as shown in FIG. 32, 102 has a configuration different from that of the first embodiment.
  図32の場合のエンハンスメントレイヤ画像符号化部102は、基本的に図14の場合のエンハンスメントレイヤ画像符号化部102と同様の構成を有する。ただし、図32の場合のエンハンスメントレイヤ画像符号化部102は、図14の場合のフィルタ制御部148の代わりにフィルタ制御部348を有する。フィルタ制御部348は、イントラ予測部144におけるイントラスムージング処理の実行を制御する。 The enhancement layer image encoding unit 102 in the case of FIG. 32 has basically the same configuration as the enhancement layer image encoding unit 102 in the case of FIG. However, the enhancement layer image encoding unit 102 in the case of FIG. 32 has a filter control unit 348 instead of the filter control unit 148 in the case of FIG. The filter control unit 348 controls the execution of the intra smoothing process in the intra prediction unit 144.
    <フィルタ制御部とイントラ予測部>
  図33は、図32のイントラ予測部144およびフィルタ制御部348の主な構成例を示すブロック図である。
<Filter control unit and intra prediction unit>
33 is a block diagram illustrating a main configuration example of the intra prediction unit 144 and the filter control unit 348 in FIG.
  図33に示されるように、イントラ予測部144は、フィルタ処理部371、予測画像生成部372、コスト関数算出部373、予測モード判定部374、および予測モード符号化部375を有する。 As shown in FIG. 33, the intra prediction unit 144 includes a filter processing unit 371, a predicted image generation unit 372, a cost function calculation unit 373, a prediction mode determination unit 374, and a prediction mode encoding unit 375.
  フィルタ処理部371は、フレームメモリ142の複数の参照フレームのいずれかから参照画像(カレントブロックの周辺画素)を読み出す。例えば、イントラBLモードの場合、フィルタ処理部371は、ベースレイヤの復号画像をアップサンプルした画像を参照画像として読み出す。また、イントラBLモード以外のモードの場合、フィルタ処理部371は、エンハンスメントレイヤの復号画像を参照画像として読み出す。 The haze filter processing unit 371 reads a reference image (pixels around the current block) from any of the plurality of reference frames in the frame memory 142. For example, in the case of the intra BL mode, the filter processing unit 371 reads an image obtained by up-sampling the base layer decoded image as a reference image. In a mode other than the intra-BL mode, the filter processing unit 371 reads out the enhancement layer decoded image as a reference image.
  フィルタ処理部371は、このように読み出した参照画像(周辺画素)に対して図31に示されるような[1 2 1]/4フィルタ処理を行う(つまり、イントラスムージング処理を行う)。 The filter processing unit 371 performs [1 2 1] / 4 filter processing as shown in FIG. 31 on the reference image (peripheral pixels) read in this way (that is, performs intra-smoothing processing).
  なお、フィルタ処理部371は、このようなイントラスムージング処理を、フィルタ制御部348の制御に従って行う。つまり、例えば、フィルタ処理部371は、フィルタ制御部348(後述する制御部382)から供給される制御情報を取得し、その制御情報によりイントラスムージング処理の実行が指示される場合、参照画像(周辺画素)に対して[1 2 1]/4フィルタ処理を行う。逆に、フィルタ制御部348から取得した制御情報が、イントラスムージング処理の実行を指示していない場合、フィルタ処理部371は、参照画像(周辺画素)に対する[1 2 1]/4フィルタ処理を省略する。 Note that the filter processing unit 371 performs such intra smoothing processing according to the control of the filter control unit 348. That is, for example, when the filter processing unit 371 acquires control information supplied from the filter control unit 348 (a control unit 382 described later) and the execution of the intra smoothing process is instructed by the control information, the reference image (peripheral) [1 2 1] / 4 filter processing is performed on (pixel). Conversely, when the control information acquired from the filter control unit 348 does not instruct execution of the intra smoothing process, the filter processing unit 371 omits [1 2 1] / 4 filter processing for the reference image (neighboring pixels). To do.
  例えば、イントラBLモードの場合、フィルタ処理部371は、参照画像として読み出したベースレイヤの復号画像をアップサンプルした画像に対する[1 2 1]/4フィルタ処理を省略する。 For example, in the case of the intra BL mode, the filter processing unit 371 omits [1 2 1] / 4 filter processing for an image obtained by up-sampling the decoded image of the base layer read as the reference image.
  フィルタ処理部171は、イントラスムージング処理を行った参照画像(周辺画素)、若しくは、イントラスムージング処理を行わなかった(省略した)参照画像(周辺画素)を、予測画像生成部372に供給する。 The wrinkle filter processing unit 171 supplies the reference image (peripheral pixels) subjected to the intra-smoothing process or the reference image (peripheral pixels) not subjected to the intra-smoothing process to the predicted image generation unit 372.
  予測画像生成部372は、フィルタ処理部371から供給された参照画像(カレントブロックの周辺画素)を用いて、イントラ予測を行い、予測画像を生成する。予測画像生成部372は、イントラ予測の全てのモードを候補モードとし、各候補モードでイントラ予測を行い、それぞれ予測画像を生成する。 The predicted image generation unit 372 performs intra prediction using the reference image (the surrounding pixels of the current block) supplied from the filter processing unit 371, and generates a predicted image. The predicted image generation unit 372 sets all modes of intra prediction as candidate modes, performs intra prediction in each candidate mode, and generates predicted images respectively.
  各候補モードの予測画像を生成するにあたって、予測画像生成部372は、予測画像を生成する候補モード(処理対象の候補モード)と、そのブロックサイズ(PUサイズ)とをフィルタ制御部348(後述する判定部381)に供給する。フィルタ制御部348は、その候補モードとPUサイズに基づいて、イントラスムージング処理を行うか否かを決定する。フィルタ処理部371は、その決定(制御情報)に従って、上述したようにイントラスムージング処理を適宜行う。予測画像生成部372は、このようにしてイントラスムージング処理が行われた(若しくは省略された)参照画像を用いて予測画像を生成する。 In generating a predicted image of each candidate mode, the predicted image generation unit 372 determines a candidate mode (a candidate mode to be processed) for generating a predicted image and its block size (PU size) as a filter control unit 348 (described later). It supplies to the determination part 381). The filter control unit 348 determines whether or not to perform the intra smoothing process based on the candidate mode and the PU size. In accordance with the determination (control information), the filter processing unit 371 appropriately performs the intra smoothing process as described above. The predicted image generation unit 372 generates a predicted image using the reference image on which the intra smoothing process has been performed (or omitted).
  予測画像生成部372は、各候補モードの、モードを示す情報(候補モード情報)と予測画像(候補予測画像)とをコスト関数算出部373に供給する。 The predicted image generation unit 372 supplies information indicating the mode (candidate mode information) and the predicted image (candidate predicted image) of each candidate mode to the cost function calculating unit 373.
  コスト関数算出部373は、画面並べ替えバッファ132から入力画像を取得し、予測画像生成部372から候補モード情報と候補予測画像を取得し、それらを用いて、各候補モードについてコスト関数値を算出する。コスト関数算出部373は、各候補モードの、モードを示す情報(候補モード情報)と予測画像(候補予測画像)とコスト関数値とを予測モード判定部374に供給する。 The cost function calculation unit 373 acquires an input image from the screen rearrangement buffer 132, acquires candidate mode information and a candidate predicted image from the predicted image generation unit 372, and uses them to calculate a cost function value for each candidate mode. To do. The cost function calculation unit 373 supplies information indicating the mode (candidate mode information), a prediction image (candidate prediction image), and a cost function value of each candidate mode to the prediction mode determination unit 374.
  予測モード判定部374は、コスト関数算出部373から供給された候補モード情報とコスト関数値に基づいて、全ての候補モードの中でコスト関数値が最小となるモードを最適なモード(最適イントラ予測モード)と判定する。予測モード判定部374は、その最適イントラ予測モードを示す情報(イントラ予測モード)を予測モード符号化部375に供給する。また、予測モード判定部374は、コスト関数算出部373から供給された候補予測画像の中から、その最適イントラ予測モードに対応するものを選択し、その予測画像(イントラ予測画像)を予測画像選択部146に供給する。 Based on the candidate mode information and the cost function value supplied from the cost function calculation unit 373, the prediction mode determination unit 374 selects an optimum mode (optimum intra prediction) from among all candidate modes. Mode). The prediction mode determination unit 374 supplies information indicating the optimal intra prediction mode (intra prediction mode) to the prediction mode encoding unit 375. Also, the prediction mode determination unit 374 selects a candidate prediction image supplied from the cost function calculation unit 373, which corresponds to the optimal intra prediction mode, and selects the prediction image (intra prediction image) as a prediction image. To the unit 146.
  予測モード符号化部375は、予測モード判定部374から供給されたイントラ予測モードを、例えば、モストプロバブルモード(MostProbableMode)を用いる等、所定の方法で符号化する。予測モード符号化部375は、符号化されたイントラ予測モードを可逆符号化部136に供給する。この符号化されたイントラ予測モードは、例えば、符号化された画像データのビットストリームに含められる等して、直接的または間接的に復号側に伝送される。 The prediction mode encoding unit 375 encodes the intra prediction mode supplied from the prediction mode determination unit 374 by a predetermined method, for example, using a most probable mode (MostProbableMode). The prediction mode encoding unit 375 supplies the encoded intra prediction mode to the lossless encoding unit 136. The encoded intra prediction mode is transmitted to the decoding side directly or indirectly, for example, by being included in a bit stream of encoded image data.
  また、フィルタ制御部348は、判定部381および制御部382を有する。 In addition, the filter control unit 348 includes a determination unit 381 and a control unit 382.
  判定部381は、予測画像生成部372から通知された処理対象の候補モードがイントラBL(intra BL)モードであるか否かを判定する。そして、判定部381は、処理対象の候補モードがイントラBLモードでないと判定された場合、さらに、予測画像生成部372から通知された処理対象の候補モードとPUサイズに基づいて、その候補モードについてイントラスムージング処理を行うモードであるか否かを判定する。判定部381は、これらの判定結果を制御部382に供給する。 The eyelid determination unit 381 determines whether or not the candidate mode to be processed notified from the predicted image generation unit 372 is an intra BL (intra BL) mode. When the determination unit 381 determines that the candidate mode to be processed is not the intra BL mode, the determination unit 381 further determines the candidate mode based on the candidate mode to be processed and the PU size notified from the predicted image generation unit 372. It is determined whether or not it is a mode for performing an intra smoothing process. The determination unit 381 supplies these determination results to the control unit 382.
  その判定結果に基づいて、処理対象の候補モードがイントラBLモードでなく、かつ、イントラスムージング処理を行うモードである場合、制御部382は、イントラスムージング処理の実行を指示する制御情報を生成し、それをフィルタ処理部371に供給する。この場合、フィルタ処理部371は、フレームメモリ142から取得した参照画像(カレントブロックの周辺画素)に対するイントラスムージング処理を実行する。 Based on the determination result, when the candidate mode to be processed is not the intra BL mode and is a mode for performing the intra smoothing process, the control unit 382 generates control information that instructs execution of the intra smoothing process, It is supplied to the filter processing unit 371. In this case, the filter processing unit 371 performs an intra smoothing process on the reference image (pixels around the current block) acquired from the frame memory 142.
  また、判定部381の判定結果に基づいて、処理対象の候補モードがイントラBLモードであるか、または、イントラBLモードではないがイントラスムージング処理を行わないモードである場合、制御部382は、イントラスムージング処理の省略(不実行)を指示する制御情報を生成し、それをフィルタ処理部371に供給する。この場合、フィルタ処理部371は、フレームメモリ142から取得した参照画像(カレントブロックの周辺画素)に対するイントラスムージング処理を省略する。 In addition, based on the determination result of the determination unit 381, when the candidate mode to be processed is the intra BL mode or the mode that is not the intra BL mode but does not perform the intra smoothing process, the control unit 382 Control information for instructing omission (non-execution) of the smoothing process is generated and supplied to the filter processing unit 371. In this case, the filter processing unit 371 omits the intra smoothing process on the reference image (the peripheral pixels of the current block) acquired from the frame memory 142.
  以上のように、イントラ予測においても、参照画像のレイヤに応じてフィルタ処理の実行を制御することにより、例えば、ベースレイヤの復号画像をアップサンプルした画像が参照画像として用いられるイントラBLモードにおけるイントラスムージング処理を省略するようにすることにより、フィルタ処理部371は、不要なイントラスムージング処理を省略することができる。したがって、画像符号化装置100(エンハンスメントレイヤ画像符号化部102)は、符号化の負荷の増大を抑制することができる。 As described above, also in intra prediction, by controlling the execution of filter processing according to the layer of the reference image, for example, the intra BL mode in which an image obtained by up-sampling the decoded image of the base layer is used as the reference image. By omitting the smoothing process, the filter processing unit 371 can omit an unnecessary intra smoothing process. Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load.
    <画像符号化処理の流れ>
  次に、この場合の画像符号化装置100により実行される各処理の流れについて説明する。この場合も画像符号化処理は、図16のフローチャートを参照して説明した第1の実施の形態の場合と同様に実行される。したがって、この画像符号化処理の説明は省略する。
<Flow of image encoding process>
Next, the flow of each process executed by the image encoding device 100 in this case will be described. Also in this case, the image encoding process is executed in the same manner as in the case of the first embodiment described with reference to the flowchart of FIG. Therefore, the description of this image encoding process is omitted.
    <ベースレイヤ符号化処理の流れ>
  また、図16のステップS101において実行されるベースレイヤ符号化処理も、図17のフローチャートを参照して説明した第1の実施の形態の場合と同様に実行される。したがって、このベースレイヤ符号化処理の説明は省略する。
<Flow of base layer encoding process>
Also, the base layer encoding process executed in step S101 in FIG. 16 is executed in the same manner as in the case of the first embodiment described with reference to the flowchart in FIG. Therefore, the description of this base layer encoding process is omitted.
    <エンハンスメントレイヤ符号化処理の流れ>
  ただし、図16のステップS102において実行される、この場合のエンハンスメントレイヤ符号化処理は、第1の実施の形態の場合と異なり、例えば、図34および図35に示されるフローチャートのように実行される。これらのフローチャートを参照して、エンハンスメントレイヤ符号化処理の流れの例を説明する。
<Enhancement layer coding process flow>
However, the enhancement layer encoding process in this case, which is executed in step S102 of FIG. 16, is executed as in the flowcharts shown in FIGS. 34 and 35, for example, unlike the case of the first embodiment. . An example of the flow of enhancement layer encoding processing will be described with reference to these flowcharts.
  エンハンスメントレイヤ符号化処理が開始されると、図34のステップS351乃至ステップS354の各処理が、図18のステップS151乃至ステップS154の各処理と同様に実行される。ステップS354の処理が終了すると、処理は、図35のステップS361に進む。 When the enhancement layer encoding process is started, the processes in steps S351 to S354 in FIG. 34 are executed in the same manner as the processes in steps S151 to S154 in FIG. When the process of step S354 ends, the process proceeds to step S361 of FIG.
  図35のステップS361乃至ステップS376の各処理も、図19のステップS161乃至ステップS176の各処理と基本的に同様に実行される。ただし、ステップS363において実行されるイントラ予測処理は、後述する図36のフローチャートのように実行される。また、ステップS364のインター予測処理の詳細は任意であり、図20のフローチャートに示されるような流れで実行されるようにしてもよいし、それ以外であってもよい。 The processes in steps S361 through S376 in FIG. 35 are also executed basically in the same manner as the processes in steps S161 through S176 in FIG. However, the intra prediction process executed in step S363 is executed as shown in the flowchart of FIG. Further, the details of the inter prediction process in step S364 are arbitrary, and may be executed according to the flow shown in the flowchart of FIG. 20, or may be other than that.
  ステップS376の処理が終了すると、エンハンスメントレイヤ符号化処理が終了し、処理は、図16に戻る。 処理 When the process of step S376 ends, the enhancement layer encoding process ends, and the process returns to FIG.
    <イントラ予測処理の流れ>
  次に、図35のステップS363において実行されるイントラ予測処理の流れの例を、図36のフローチャートを参照して説明する。
<Flow of intra prediction processing>
Next, an example of the flow of the intra prediction process executed in step S363 in FIG. 35 will be described with reference to the flowchart in FIG.
  イントラ予測処理が開始されると、フィルタ制御部348は、ステップS391において、イントラBLモード以外の候補モードについて、その候補モードとブロックサイズ(PUサイズ)に基づいて、イントラスムージング処理のオン/オフを制御する。つまり、判定部381が、イントラBLモード以外の各候補モードについてイントラスムージング処理を行うモードであるか否かを判定し、制御部382がその判定結果に基づいて、各候補モードについて、イントラスムージング処理を実行するか否かを制御する。 When the intra prediction process is started, in step S391, the filter control unit 348 turns on / off the intra smoothing process for candidate modes other than the intra BL mode based on the candidate mode and the block size (PU size). Control. That is, the determination unit 381 determines whether or not each candidate mode other than the intra BL mode is a mode for performing the intra smoothing process, and the control unit 382 performs the intra smoothing process for each candidate mode based on the determination result. Control whether to execute.
  ステップS392において、予測画像生成部372は、イントラBLモード以外の候補モードの予測画像を生成する。その際、フィルタ処理部371は、ステップS391の制御にしたがってイントラスムージング処理を行う。例えば、ステップS391においてイントラスムージング処理を実行するように制御された候補モードについて、フィルタ処理部371は、参照画像(カレントブロックの周辺画素)に対する[1 2 1]/4フィルタ処理を行い、予測画像生成部372は、そのフィルタ処理された参照画像を用いてイントラ予測を行い、予測画像を生成する。また、例えば、ステップS391においてイントラスムージング処理を省略するように制御された候補モードについて、フィルタ処理部371は、参照画像(カレントブロックの周辺画素)に対する[1 2 1]/4フィルタ処理を省略し、予測画像生成部372は、そのフィルタ処理が省略された参照画像を用いてイントラ予測を行い、予測画像を生成する。 In step S392, the predicted image generation unit 372 generates a predicted image of a candidate mode other than the intra BL mode. At that time, the filter processing unit 371 performs the intra smoothing process according to the control in step S391. For example, for the candidate mode controlled to execute the intra-smoothing process in step S391, the filter processing unit 371 performs [1 2 1] / 4 filter processing on the reference image (peripheral pixels of the current block) to obtain the predicted image The generation unit 372 performs intra prediction using the filtered reference image, and generates a predicted image. For example, for the candidate mode controlled to omit the intra smoothing process in step S391, the filter processing unit 371 omits the [1 2 1] / 4 filter process for the reference image (the peripheral pixels of the current block). The predicted image generation unit 372 performs intra prediction using the reference image from which the filtering process is omitted, and generates a predicted image.
  このようにして、イントラBLモード以外の各候補モードの予測画像が生成されると、ステップS393において、フィルタ制御部348は、イントラスムージング処理をオフにする。つまり、判定部381が、処理対象の候補モードがイントラBLモードであると判定すると、制御部382が、イントラスムージング処理を省略するように制御する。 In this way, when the prediction images of the candidate modes other than the intra BL mode are generated, the filter control unit 348 turns off the intra smoothing process in step S393. That is, when the determination unit 381 determines that the candidate mode to be processed is the intra BL mode, the control unit 382 controls to omit the intra smoothing process.
  ステップS394において、予測画像生成部372は、イントラBLモードの予測画像を生成する。その際、フィルタ処理部371は、ステップS393の制御にしたがってイントラスムージング処理を省略する。予測画像生成部372は、[1 2 1]/4フィルタ処理が省略された参照画像を用いてイントラ予測を行い、予測画像を生成する。 In step S394, the predicted image generation unit 372 generates a predicted image in the intra BL mode. At this time, the filter processing unit 371 omits the intra smoothing process according to the control in step S393. The predicted image generation unit 372 performs intra prediction using a reference image from which [1 2 1] / 4 filter processing is omitted, and generates a predicted image.
  ステップS395において、コスト関数算出部373は、ステップS392およびステップS394において生成された各候補モードの予測画像についてコスト関数値を算出する。 In step S395, the cost function calculation unit 373 calculates a cost function value for the predicted image of each candidate mode generated in step S392 and step S394.
  ステップS396において、予測モード判定部374は、ステップS395において算出された各候補モードのコスト関数値に基づいて、最適な予測モードを決定する。例えば予測モード判定部374は、そのコスト関数値が最小となる候補モードを最適予測モードに決定する。 In step S396, the prediction mode determination unit 374 determines an optimal prediction mode based on the cost function value of each candidate mode calculated in step S395. For example, the prediction mode determination unit 374 determines the candidate mode having the minimum cost function value as the optimal prediction mode.
  ステップS397において、予測モード符号化部375は、ステップS396において最適予測モードに決定されたモードを示す情報であるイントラ予測モードを符号化する。 In step S397, the prediction mode encoding unit 375 encodes an intra prediction mode that is information indicating the mode determined as the optimal prediction mode in step S396.
  ステップS397の処理が終了すると、イントラ予測処理が終了し、処理は、図35に戻る。 When the process of step S397 ends, the intra prediction process ends, and the process returns to FIG.
  以上のように各処理が実行されることにより、フィルタ処理部371は、ベースレイヤの復号画像をアップサンプルした画像が参照画像として用いられるイントラBLモードにおけるイントラスムージング処理を省略することができる。つまり、フィルタ処理部371は、不要なイントラスムージング処理を省略することができる。したがって、画像符号化装置100(エンハンスメントレイヤ画像符号化部102)は、符号化の負荷の増大を抑制することができる。 By performing each process as described above, the filter processing unit 371 can omit the intra smoothing process in the intra BL mode in which an image obtained by up-sampling the decoded image of the base layer is used as a reference image. That is, the filter processing unit 371 can omit unnecessary intra smoothing processing. Therefore, the image encoding device 100 (enhancement layer image encoding unit 102) can suppress an increase in encoding load.
  <5.第4の実施の形態>
    <イントラ予測におけるフィルタ処理>
  第3の実施の形態においては、本技術を符号化におけるイントラ予測に適用する場合について説明したが、本技術は、それに限らず、復号におけるイントラ予測にも適用することができる。
<5. Fourth Embodiment>
<Filter processing in intra prediction>
In the third embodiment, a case has been described in which the present technology is applied to intra prediction in encoding. However, the present technology is not limited thereto, and can also be applied to intra prediction in decoding.
  画像符号化装置100により生成された符号化データを復号する場合、その符号化の際と同様の方法で予測画像が生成される。つまり、符号化の際にイントラ予測が採用されたブロックについては、同様のモードでイントラ予測により予測画像が生成される。例えば、符号化の際にイントラBLモードで予測画像が生成されたブロックは、復号の際もイントラBLモードで予測画像が生成される。 When decoding the encoded data generated by the heel image encoding device 100, a prediction image is generated by the same method as that for encoding. That is, for a block in which intra prediction is adopted at the time of encoding, a prediction image is generated by intra prediction in the same mode. For example, a block in which a predicted image is generated in the intra BL mode at the time of encoding is generated in the intra BL mode also in the decoding.
  このような復号の際のイントラ予測の場合も、イントラBLモードでは、符号化の際のイントラ予測の場合と同様に、隣接画素の画像(参照画像)としてベースレイヤの復号画像をアップサンプルした画像が用いられる。つまり、復号の際のイントラ予測でも、イントラBLモードにおいて隣接画素に[1 2 1]/4フィルタ処理を施すこと(イントラスムージング処理を行うこと)は冗長な処理となり、不要に処理の負荷が増大する恐れがあった。 Also in the case of intra prediction at the time of such decoding, in the intra BL mode, as in the case of intra prediction at the time of encoding, an image obtained by up-sampling a base layer decoded image as an image of a neighboring pixel (reference image) Is used. In other words, even in intra prediction at the time of decoding, applying [1 2 1] / 4 filter processing to neighboring pixels (intra smoothing processing) in the intra BL mode is a redundant process and unnecessarily increases the processing load. There was a fear.
  そこで、復号の際のイントラ予測の場合も、符号化の際のイントラ予測の場合と同様に、カレントブロック(カレントPU)がイントラBLモードである場合、イントラスムージング処理(隣接画素に対する[1 2 1]/4フィルタ処理)を省略するようにしてもよい。 Therefore, in the case of intra prediction at the time of decoding, as in the case of intra prediction at the time of encoding, if the current block (current PU) is in the intra BL mode, the intra smoothing process ([1 2 1 ] / 4 filter processing) may be omitted.
  このようにすることにより、不要なイントラスムージング処理を省略することができるので、上述したイントラスムージング処理を伴う復号処理の不要な負荷の増大を抑制することができる。 に す る By doing in this way, unnecessary intra smoothing processing can be omitted, so that it is possible to suppress an increase in unnecessary load of the decoding processing accompanying the above-described intra smoothing processing.
    <画像復号装置>
  このような本技術は、第2の実施の形態において説明した画像処理装置と基本的に同様の構成の画像処理装置により実現することができる。つまり、例えば、図21を参照して説明したような、逆多重化部201、ベースレイヤ画像復号部202、およびエンハンスメントレイヤ画像復号部203を有する画像復号装置200により、復号することができる。
<Image decoding device>
Such a present technology can be realized by an image processing apparatus having basically the same configuration as the image processing apparatus described in the second embodiment. That is, for example, the decoding can be performed by the image decoding apparatus 200 including the demultiplexing unit 201, the base layer image decoding unit 202, and the enhancement layer image decoding unit 203 as described with reference to FIG.
  ただし、その場合、画像復号装置200のベースレイヤ画像復号部202は、第2の実施の形態のときと同様の構成(図22)を有するが、エンハンスメントレイヤ画像復号部203は、例えば図37に示されるように、第2の実施の形態のときと異なる構成を有する。 However, in this case, the base layer image decoding unit 202 of the image decoding device 200 has the same configuration (FIG. 22) as that of the second embodiment, but the enhancement layer image decoding unit 203 is shown in FIG. As shown, the configuration is different from that of the second embodiment.
  図37の場合のエンハンスメントレイヤ画像復号部203は、基本的に図23の場合のエンハンスメントレイヤ画像復号部203と同様の構成を有する。ただし、図37の場合のエンハンスメントレイヤ画像復号部203は、図23の場合のフィルタ制御部244の代わりにフィルタ制御部444を有する。フィルタ制御部444は、イントラ予測部241におけるイントラスムージング処理の実行を制御する。 The enhancement layer image decoding unit 203 in the case of FIG. 37 basically has the same configuration as the enhancement layer image decoding unit 203 in the case of FIG. However, the enhancement layer image decoding unit 203 in the case of FIG. 37 has a filter control unit 444 instead of the filter control unit 244 in the case of FIG. The filter control unit 444 controls the execution of the intra smoothing process in the intra prediction unit 241.
    <フィルタ制御部とイントラ予測部>
  図38は、図37のイントラ予測部241およびフィルタ制御部444の主な構成例を示すブロック図である。
<Filter control unit and intra prediction unit>
38 is a block diagram illustrating a main configuration example of the intra prediction unit 241 and the filter control unit 444 in FIG.
  図38に示されるように、イントラ予測部241は、予測モード復号部471、予測モード情報バッファ472、フィルタ処理部473、および予測画像生成部474を有する。 38, the intra prediction unit 241 includes a prediction mode decoding unit 471, a prediction mode information buffer 472, a filter processing unit 473, and a prediction image generation unit 474.
  予測モード復号部471は、可逆復号部232から供給されるイントラ予測モードを示す情報である符号化されたイントラ予測モードを取得する。画像復号装置200が復号する符号化データ(例えばそのビットストリーム)には、採用された予測方法(最適予測モード)を示す情報が含まれる。例えば、イントラ予測が行われたブロックについて、採用されたイントラ予測モードを示す情報(第3の実施の形態において説明した「符号化されたイントラ予測モード」)が含まれる。可逆復号部232は、エンハンスメントレイヤの符号化データから、その最適予測モードを示す情報を取得すると、それを、イントラ予測部241若しくはインター予測部242に供給する。つまり、可逆復号部232は、イントラ予測部241に、符号化側から伝送された「符号化されたイントラ予測モード」を供給する。 The prediction mode decoding unit 471 acquires an encoded intra prediction mode that is information indicating the intra prediction mode supplied from the lossless decoding unit 232. The encoded data (for example, the bit stream) decoded by the image decoding apparatus 200 includes information indicating the employed prediction method (optimum prediction mode). For example, information indicating the adopted intra prediction mode (“encoded intra prediction mode” described in the third embodiment) is included for a block on which intra prediction has been performed. When the lossless decoding unit 232 acquires information indicating the optimal prediction mode from the encoded data of the enhancement layer, the lossless decoding unit 232 supplies the information to the intra prediction unit 241 or the inter prediction unit 242. That is, the lossless decoding unit 232 supplies the “encoded intra prediction mode” transmitted from the encoding side to the intra prediction unit 241.
  予測モード復号部471は、この「符号化されたイントラ予測モード」を取得すると、それを符号化方法に対応する復号方法で復号する。例えば、符号化の際に、イントラ予測モードがモストプロバブルモード(MostProbableMode)を用いて符号化され、「符号化されたイントラ予測モード」としてインデックス番号が伝送されるとする。この場合、そのインデックス番号が示すブロックのイントラ予測モードが、「符号化されたイントラ予測モード」の復号結果である。つまり、この場合、予測モード復号部471は、予測モード情報バッファ472から、カレントブロック周辺の、インデックス番号が示すブロックのイントラ予測モードを取得する。 The prediction mode decoding unit 471 acquires this “encoded intra prediction mode” and decodes it with a decoding method corresponding to the encoding method. For example, it is assumed that the intra prediction mode is encoded using the most probable mode (MostProbableMode) and the index number is transmitted as “encoded intra prediction mode” at the time of encoding. In this case, the intra prediction mode of the block indicated by the index number is a decoding result of “encoded intra prediction mode”. That is, in this case, the prediction mode decoding unit 471 acquires the intra prediction mode of the block indicated by the index number around the current block from the prediction mode information buffer 472.
  予測モード復号部471は、「符号化されたイントラ予測モード」の復号結果、すなわち、カレントブロックのイントラ予測モードを予測画像生成部474に供給する。例えば、上述したように、伝送されたインデックス番号に対応するイントラ予測モードを取得すると、予測モード復号部471は、そのイントラ予測モードを、復号結果として予測画像生成部474に供給する。 The prediction mode decoding unit 471 supplies the decoding result of the “encoded intra prediction mode”, that is, the intra prediction mode of the current block to the prediction image generation unit 474. For example, as described above, when the intra prediction mode corresponding to the transmitted index number is acquired, the prediction mode decoding unit 471 supplies the intra prediction mode to the predicted image generation unit 474 as a decoding result.
  また、予測モード復号部471は、求めた復号結果、すなわち、カレントブロックのイントラ予測モードを予測モード情報バッファ472に供給し、記憶させる。このイントラ予測モードは、予測モード復号部471がそれ以降に行う他のブロックの予測モードの復号において、周辺ブロックのイントラ予測モードとして参照されることができる。 Also, the prediction mode decoding unit 471 supplies the obtained decoding result, that is, the intra prediction mode of the current block, to the prediction mode information buffer 472 for storage. This intra prediction mode can be referred to as the intra prediction mode of the neighboring blocks in the decoding of the prediction mode of other blocks performed by the prediction mode decoding unit 471 thereafter.
  予測モード情報バッファ472は、予測モード復号部471から供給されるイントラ予測モードを記憶する。また、予測モード情報バッファ472は、記憶しているイントラ予測モードの中から、予測モード復号部471により要求されたものを予測モード復号部471に供給する。 The prediction mode information buffer 472 stores the intra prediction mode supplied from the prediction mode decoding unit 471. Also, the prediction mode information buffer 472 supplies a request requested by the prediction mode decoding unit 471 to the prediction mode decoding unit 471 from the stored intra prediction modes.
  フィルタ処理部473は、フレームメモリ239の複数の参照フレームのいずれかから参照画像(カレントブロックの周辺画素)を読み出す。例えば、イントラBLモードの場合、フィルタ処理部473は、ベースレイヤの復号画像をアップサンプルした画像を参照画像として読み出す。また、イントラBLモード以外のモードの場合、フィルタ処理部473は、エンハンスメントレイヤの復号画像を参照画像として読み出す。 The haze filter processing unit 473 reads the reference image (the peripheral pixels of the current block) from any of the plurality of reference frames in the frame memory 239. For example, in the intra BL mode, the filter processing unit 473 reads an image obtained by up-sampling the base layer decoded image as a reference image. In a mode other than the intra BL mode, the filter processing unit 473 reads out the enhancement layer decoded image as a reference image.
  フィルタ処理部473は、このように読み出した参照画像(周辺画素)に対して図31に示されるような[1 2 1]/4フィルタ処理を行う(つまり、イントラスムージング処理を行う)。なお、フィルタ処理部473は、このようなイントラスムージング処理を、フィルタ制御部444の制御に従って行う。 The filter processing unit 473 performs [1 2 1] / 4 filter processing as shown in FIG. 31 on the reference image (peripheral pixels) read in this way (that is, performs intra-smoothing processing). Note that the filter processing unit 473 performs such intra smoothing processing according to the control of the filter control unit 444.
  つまり、例えば、フィルタ処理部473は、フィルタ制御部444(後述する制御部482)から供給される制御情報を取得し、その制御情報によりイントラスムージング処理の実行が指示される場合、参照画像(周辺画素)に対して[1 2 1]/4フィルタ処理を行う。逆に、例えば、フィルタ制御部444から取得した制御情報が、イントラスムージング処理の実行を指示していない場合、フィルタ処理部473は、参照画像(周辺画素)に対する[1 2 1]/4フィルタ処理を省略する。例えば、イントラBLモードの場合、フィルタ処理部473は、参照画像として読み出したベースレイヤの復号画像をアップサンプルした画像に対する[1 2 1]/4フィルタ処理を省略する。 That is, for example, when the filter processing unit 473 acquires control information supplied from the filter control unit 444 (a control unit 482 described later) and the execution of the intra smoothing process is instructed by the control information, the reference image (peripheral) [1 2 1] / 4 filter processing is performed on (pixel). On the other hand, for example, when the control information acquired from the filter control unit 444 does not instruct execution of the intra smoothing process, the filter processing unit 473 performs [1 2 1] / 4 filter processing on the reference image (neighboring pixels). Is omitted. For example, in the intra BL mode, the filter processing unit 473 omits [1 2 1] / 4 filter processing on an image obtained by up-sampling the decoded image of the base layer read as the reference image.
  フィルタ処理部473は、イントラスムージング処理を行った参照画像(周辺画素)、若しくは、イントラスムージング処理を行わなかった(省略した)参照画像(周辺画素)を、予測画像生成部474に供給する。 The wrinkle filter processing unit 473 supplies the reference image (peripheral pixels) subjected to the intra smoothing process or the reference image (peripheral pixels) not subjected to the intra smoothing process to the predicted image generation unit 474.
  予測画像生成部474は、予測モード復号部471から供給されるイントラ予測モードについて、フィルタ処理部473から供給された参照画像(カレントブロックの周辺画素)を用いてイントラ予測を行い、予測画像を生成する。予測画像生成部474は、符号化の際と同じモードでのみイントラ予測を行う。つまり、復号の際には、符号化の際に行われたイントラ予測モード(すなわち最適予測モード)が既知であるため、予測画像生成部474は、符号化の場合のように全候補モードについてイントラ予測を行わずに、その最適予測モードについてのみイントラ予測を行う。 The predicted image generation unit 474 performs intra prediction on the intra prediction mode supplied from the prediction mode decoding unit 471 using the reference image (the peripheral pixels of the current block) supplied from the filter processing unit 473, and generates a predicted image. To do. The predicted image generation unit 474 performs intra prediction only in the same mode as in the encoding. That is, since the intra prediction mode (that is, the optimal prediction mode) performed at the time of encoding is known at the time of decoding, the prediction image generation unit 474 performs intra prediction for all candidate modes as in the case of encoding. Intra prediction is performed only for the optimal prediction mode without performing prediction.
  なお、予測画像生成部474は、フィルタ処理部473のイントラスムージング処理の実行制御の為に、予測モード復号部471から供給されたカレントブロックのイントラ予測モードとそのブロックサイズ(PUサイズ)とをフィルタ制御部444(後述する判定部481)に供給する。予測画像生成部474は、それらの情報に基づくフィルタ制御部444の制御に従ってフィルタ処理部473によりイントラスムージング処理が行われた、若しくは、省略された参照画像を用いて、予測画像を生成する。 Note that the predicted image generation unit 474 filters the intra prediction mode of the current block supplied from the prediction mode decoding unit 471 and its block size (PU size) for the execution control of the intra smoothing process of the filter processing unit 473. It supplies to the control part 444 (determination part 481 mentioned later). The predicted image generation unit 474 generates a predicted image using a reference image that has been subjected to intra-smoothing processing by the filter processing unit 473 or omitted in accordance with the control of the filter control unit 444 based on the information.
  予測画像生成部474は、生成した予測画像(イントラ予測画像)を予測画像選択部243に供給する。 The predicted image generation unit 474 supplies the generated predicted image (intra predicted image) to the predicted image selection unit 243.
  また、フィルタ制御部444は、判定部481および制御部482を有する。 Moreover, the filter control unit 444 includes a determination unit 481 and a control unit 482.
  判定部481は、予測画像生成部474から通知されたイントラ予測モードに基づいて、カレントブロックの符号化の際に行われたイントラ予測モード(すなわち最適予測モード)がイントラBL(intra BL)モードであるか否かを判定する。そして、判定部481は、イントラBLモードでないと判定された場合、さらに、予測画像生成部474から通知されたイントラ予測モードとPUサイズに基づいて、最適予測モードがイントラスムージング処理を行うモードであるか否かを判定する。判定部481は、これらの判定結果を制御部482に供給する。 Based on the intra prediction mode notified from the predicted image generation unit 474, the determination unit 481 determines that the intra prediction mode (that is, the optimal prediction mode) performed at the time of encoding the current block is the intra BL (intra BL) mode. It is determined whether or not there is. When the determination unit 481 determines that the mode is not the intra BL mode, the optimal prediction mode is a mode in which the intra prediction process is performed based on the intra prediction mode and the PU size notified from the prediction image generation unit 474. It is determined whether or not. The determination unit 481 supplies these determination results to the control unit 482.
  その判定結果に基づいて、最適予測モードがイントラBLモードでなく、かつ、イントラスムージング処理を行うモードである場合、制御部482は、イントラスムージング処理の実行を指示する制御情報を生成し、それをフィルタ処理部473に供給する。この場合、フィルタ処理部473は、フレームメモリ239から取得した参照画像(カレントブロックの周辺画素)に対するイントラスムージング処理を実行する。 Based on the determination result, when the optimal prediction mode is not the intra BL mode and is a mode in which the intra smoothing process is performed, the control unit 482 generates control information instructing the execution of the intra smoothing process. This is supplied to the filter processing unit 473. In this case, the filter processing unit 473 performs intra smoothing processing on the reference image (pixels around the current block) acquired from the frame memory 239.
  また、判定部481の判定結果に基づいて、最適予測モードがイントラBLモードであるか、または、イントラBLモードではないがイントラスムージング処理を行わないモードである場合、制御部482は、イントラスムージング処理の省略(不実行)を指示する制御情報を生成し、それをフィルタ処理部473に供給する。この場合、フィルタ処理部473は、フレームメモリ239から取得した参照画像(カレントブロックの周辺画素)に対するイントラスムージング処理を省略する。 Further, based on the determination result of the determination unit 481, when the optimal prediction mode is the intra BL mode or the mode that is not the intra BL mode but does not perform the intra smoothing process, the control unit 482 performs the intra smoothing process. Is generated and supplied to the filter processing unit 473. In this case, the filter processing unit 473 omits the intra smoothing process for the reference image (the peripheral pixels of the current block) acquired from the frame memory 239.
  以上のように、イントラ予測においても、参照画像のレイヤに応じてフィルタ処理の実行を制御することにより、例えば、ベースレイヤの復号画像をアップサンプルした画像が参照画像として用いられるイントラBLモードにおけるイントラスムージング処理を省略するようにすることにより、フィルタ処理部473は、不要なイントラスムージング処理を省略することができる。したがって、画像復号装置200(エンハンスメントレイヤ画像復号部203)は、復号の負荷の増大を抑制することができる。 As described above, even in intra prediction, by controlling the execution of filter processing according to the layer of the reference image, for example, an intra BL mode in which an image obtained by up-sampling the decoded image of the base layer is used as a reference image. By omitting the smoothing process, the filter processing unit 473 can omit an unnecessary intra smoothing process. Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load.
    <画像復号処理の流れ>
  次に、この場合の画像復号装置200により実行される各処理の流れについて説明する。この場合も画像復号処理は、図25のフローチャートを参照して説明した第2の実施の形態の場合と同様に実行される。したがって、この画像復号処理の説明は省略する。
<Flow of image decoding process>
Next, the flow of each process executed by the image decoding apparatus 200 in this case will be described. Also in this case, the image decoding process is executed in the same manner as in the case of the second embodiment described with reference to the flowchart of FIG. Therefore, the description of this image decoding process is omitted.
    <ベースレイヤ復号処理の流れ>
  また、図25のステップS202において実行されるベースレイヤ復号処理も、図26のフローチャートを参照して説明した第2の実施の形態の場合と同様に実行される。したがって、このベースレイヤ復号処理の説明は省略する。
<Flow of base layer decoding process>
Also, the base layer decoding process executed in step S202 of FIG. 25 is executed in the same manner as in the second embodiment described with reference to the flowchart of FIG. Therefore, the description of this base layer decoding process is omitted.
    <エンハンスメントレイヤ復号処理の流れ>
  さらに、図25のステップS203において実行されるエンハンスメントレイヤ復号処理も、図27および図28のフローチャートを参照して説明した第2の実施の形態の場合と同様に実行される。したがって、このエンハンスメントレイヤ復号処理の説明は省略する。
<Flow of enhancement layer decoding processing>
Furthermore, the enhancement layer decoding process executed in step S203 of FIG. 25 is also executed in the same manner as in the case of the second embodiment described with reference to the flowcharts of FIGS. Therefore, the description of this enhancement layer decoding process is omitted.
    <予測画像生成処理の流れ>
  ただし、図28のステップS265において実行される、この場合の予測画像生成処理は、第2の実施の形態の場合と異なり、例えば、図39に示されるフローチャートのように実行される。このフローチャートを参照して、予測画像生成処理の流れの例を説明する。
<Flow of predicted image generation processing>
However, the predicted image generation process in this case, which is executed in step S265 of FIG. 28, is executed as in the flowchart shown in FIG. 39, for example, unlike the case of the second embodiment. An example of the flow of predicted image generation processing will be described with reference to this flowchart.
  予測画像生成処理が開始されると、図39のステップS481乃至ステップS483の各処理が、図29のステップS281乃至ステップS283の各処理と同様に実行される。ただし、ステップS483において実行されるイントラ予測処理は、後述する図40のフローチャートのように実行される。また、ステップS482のインター予測処理の詳細は任意であり、図30のフローチャートに示されるような流れで実行されるようにしてもよいし、それ以外であってもよい。ステップS482若しくはステップS483の処理が終了すると、予測画像生成処理が終了し、処理は、図28に戻る。 When the predicted image generation process is started, the processes in steps S481 to S483 in FIG. 39 are executed in the same manner as the processes in steps S281 to S283 in FIG. However, the intra prediction process executed in step S483 is executed as shown in the flowchart of FIG. Further, the details of the inter prediction process in step S482 are arbitrary, and may be executed according to the flow shown in the flowchart of FIG. 30, or may be other than that. When the process of step S482 or step S483 ends, the predicted image generation process ends, and the process returns to FIG.
    <イントラ予測処理の流れ>
  次に、図39のステップS483において実行されるイントラ予測処理の流れの例を、図40のフローチャートを参照して説明する。
<Flow of intra prediction processing>
Next, an example of the flow of intra prediction processing executed in step S483 in FIG. 39 will be described with reference to the flowchart in FIG.
  イントラ予測処理が開始されると、予測モード復号部471は、ステップS491において、必要に応じて周辺ブロックのイントラ予測モードを用いて、符号化されたイントラ予測モードを復号する。 When the intra prediction process is started, the prediction mode decoding unit 471 decodes the encoded intra prediction mode in step S491 using the intra prediction modes of the neighboring blocks as necessary.
  ステップS492において、フィルタ制御部444の判定部481は、ステップS491において復号されたイントラ予測モードに基づいて、カレントブロックの最適予測モードがイントラBLモードであるか否かを判定する。イントラBLモードであると判定された場合、処理は、ステップS493に進む。 In step S492, the determination unit 481 of the filter control unit 444 determines whether or not the optimal prediction mode of the current block is the intra BL mode based on the intra prediction mode decoded in step S491. If it is determined that the mode is the intra BL mode, the process proceeds to step S493.
  ステップS493において、制御部482は、イントラスムージング処理をオフにする。この制御により、フィルタ処理部473は、参照画像(周辺画素)に対する[1 2 1]/4フィルタ処理を省略する。つまり、フィルタ処理部473は、参照画像として読み出したベースレイヤの復号画像をアップサンプルした画像に対する[1 2 1]/4フィルタ処理を省略する。ステップS493の処理が終了すると、処理は、ステップS495に進む。 In step S493, the control unit 482 turns off the intra smoothing process. By this control, the filter processing unit 473 omits [1 2 1] / 4 filter processing for the reference image (neighboring pixels). That is, the filter processing unit 473 omits the [1 2 1] / 4 filter processing for an image obtained by up-sampling the decoded image of the base layer read as the reference image. When the process of step S493 ends, the process proceeds to step S495.
  また、ステップS492において、イントラBLモードでないと判定された場合、処理は、ステップS494に進む。 If it is determined in step S492 that the current mode is not the intra BL mode, the process proceeds to step S494.
  ステップS494において、フィルタ制御部444は、予測モードとPUサイズに基づいてイントラスムージング処理のオン/オフを制御する。つまり、判定部481が、イントラBLモードでない最適予測モードについてイントラスムージング処理を行うモードであるか否かを判定し、制御部482がその判定結果に基づいて、イントラスムージング処理を実行するか否かを制御する。フィルタ処理部473は、この制御にしたがってイントラスムージング処理を適宜行う。ステップS494の処理が終了すると、処理は、ステップS495に進む。 In step S494, the filter control unit 444 controls on / off of the intra smoothing process based on the prediction mode and the PU size. That is, the determination unit 481 determines whether or not it is a mode in which the intra smoothing process is performed for the optimal prediction mode that is not the intra BL mode, and whether or not the control unit 482 executes the intra smoothing process based on the determination result. To control. The filter processing unit 473 appropriately performs the intra smoothing process according to this control. When the process of step S494 ends, the process proceeds to step S495.
  ステップS495において、予測画像生成部474は、ステップS493若しくはステップS494の処理により、[1 2 1]/4フィルタ処理が行われた、若しくは、省略された参照画像を用いて、予測画像を生成する。ステップS495の処理が終了すると、イントラ予測処理が終了し、処理は、図39に戻る。 In step S495, the predicted image generation unit 474 generates a predicted image using a reference image on which [1 2 1] / 4 filter processing has been performed or omitted by the processing in step S493 or step S494. . When the process of step S495 ends, the intra prediction process ends, and the process returns to FIG.
  以上のように各処理が実行されることにより、フィルタ処理部473は、ベースレイヤの復号画像をアップサンプルした画像が参照画像として用いられるイントラBLモードにおけるイントラスムージング処理を省略することができる。つまり、フィルタ処理部473は、不要なイントラスムージング処理を省略することができる。したがって、画像復号装置200(エンハンスメントレイヤ画像復号部203)は、復号の負荷の増大を抑制することができる。 By performing each process as described above, the filter processing unit 473 can omit the intra smoothing process in the intra BL mode in which an image obtained by up-sampling the base layer decoded image is used as a reference image. That is, the filter processing unit 473 can omit unnecessary intra smoothing processing. Therefore, the image decoding apparatus 200 (enhancement layer image decoding unit 203) can suppress an increase in decoding load.
  本技術の適用範囲は、スケーラブルな符号化・復号方式に基づくあらゆる画像符号化装置及び画像復号装置に適用することができる。 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.
  <6.第5の実施の形態>
    <多視点画像符号化・多視点画像復号への適用>
  上述した一連の処理は、多視点画像符号化・多視点画像復号に適用することができる。図41は、多視点画像符号化方式の一例を示す。
<6. Fifth embodiment>
<Application to multi-view image coding and multi-view image decoding>
The series of processes described above can be applied to multi-view image encoding / multi-view image decoding. FIG. 41 shows an example of a multi-view image encoding method.
  図41に示されるように、多視点画像は、複数の視点(ビュー(view))の画像を含む。この多視点画像の複数のビューは、他のビューの情報を利用せずに自身のビューの画像のみを用いて符号化・復号を行うベースビューと、他のビューの情報を利用して符号化・復号を行うノンベースビューとによりなる。ノンベースビューの符号化・復号は、ベースビューの情報を利用するようにしても良いし、他のノンベースビューの情報を利用するようにしてもよい。 As shown in FIG. 41, the multi-viewpoint image includes images of a plurality of viewpoints (views). The multiple views of this multi-viewpoint image are encoded using the base view that encodes and decodes using only the image of its own view without using the information of other views, and the information of other views. -It consists of a non-base view that performs decoding. Non-base view encoding / decoding may use base view information or other non-base view information.
  つまり、多視点画像符号化・復号におけるビュー間の参照関係は、階層画像符号化・復号におけるレイヤ間の参照関係と同様である。したがって、図41のような多視点画像の符号化・復号において、上述した方法を適用するようにしてもよい。つまり、複数レイヤよりなる画像データの符号化・復号に用いる参照画像に対して、その参照画像のレイヤに応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、カレントレイヤの符号化・復号を行うようにしてもよい。このようにすることにより、多視点画像の場合も同様に、符号化や復号の負荷の増大を抑制することができる。 That is, the reference relationship between views in multi-view image encoding / decoding is the same as the reference relationship between layers in hierarchical image encoding / decoding. Therefore, the above-described method may be applied to the encoding / decoding of a multi-view image as shown in FIG. In other words, the reference image used for encoding / decoding of image data composed of a plurality of layers is subjected to filter processing with an accuracy corresponding to the layer of the reference image, and the filtered reference image is used for the current layer. Encoding / decoding may be performed. By doing in this way, similarly in the case of a multi-viewpoint image, it is possible to suppress an increase in encoding and decoding loads.
    <多視点画像符号化装置>
  図42は、上述した多視点画像符号化を行う多視点画像符号化装置を示す図である。図42に示されるように、多視点画像符号化装置600は、符号化部601、符号化部602、および多重化部603を有する。
<Multi-view image encoding device>
FIG. 42 is a diagram illustrating a multi-view image encoding apparatus that performs the multi-view image encoding described above. As illustrated in FIG. 42, the multi-view image encoding apparatus 600 includes an encoding unit 601, an encoding unit 602, and a multiplexing unit 603.
  符号化部601は、ベースビュー画像を符号化し、ベースビュー画像符号化ストリームを生成する。符号化部602は、ノンベースビュー画像を符号化し、ノンベースビュー画像符号化ストリームを生成する。多重化部603は、符号化部601において生成されたベースビュー画像符号化ストリームと、符号化部602において生成されたノンベースビュー画像符号化ストリームとを多重化し、多視点画像符号化ストリームを生成する。 The cocoon encoding unit 601 encodes the base view image and generates a base view image encoded stream. The encoding unit 602 encodes the non-base view image and generates a non-base view image encoded stream. The multiplexing unit 603 multiplexes the base view image encoded stream generated by the encoding unit 601 and the non-base view image encoded stream generated by the encoding unit 602 to generate a multi-view image encoded stream. To do.
  この多視点画像符号化装置600の符号化部601としてベースレイヤ画像符号化部101(図13)を適用し、符号化部602としてエンハンスメントレイヤ画像符号化部102(図14)を適用してもよい。つまり、参照画像のビューに応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、カレントビューの符号化を行うようにしてもよい。例えば、参照画像として用いられるベースビュー(若しくは他のノンベースビュー)の画像に対して、ベースビュー(若しくは他のノンベースビュー)に応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、エンハンスメントビューの符号化を行うようにしてもよい。 Even if the base layer image encoding unit 101 (FIG. 13) is applied as the encoding unit 601 of the multi-view image encoding apparatus 600, and the enhancement layer image encoding unit 102 (FIG. 14) is applied as the encoding unit 602. Good. In other words, the filtering process may be performed with accuracy according to the view of the reference image, and the current view may be encoded using the filtered reference image. For example, the base view (or other non-base view) image used as the reference image is subjected to filter processing with accuracy according to the base view (or other non-base view), and the filtered reference image May be used to encode the enhancement view.
  また、この多視点画像符号化装置600の符号化部602としてエンハンスメントレイヤ画像符号化部102(図32)を適用してもよい。つまり、イントラBLモードの場合、参照画像として用いられるベースビュー(若しくは他のノンベースビュー)の画像に対するイントラスムージング処理を省略して予測画像を生成し、その予測画像を用いてエンハンスメントビューの符号化を行うようにしてもよい。 In addition, the enhancement layer image encoding unit 102 (FIG. 32) may be applied as the encoding unit 602 of the multi-view image encoding apparatus 600. That is, in the intra BL mode, a predicted image is generated by omitting the intra smoothing process for the base view (or other non-base view) image used as the reference image, and the enhancement view is encoded using the predicted image. May be performed.
  このようにすることにより、符号化の負荷の増大を抑制することができる。なお、この多視点画像符号化の場合も、この参照画像のビューに関する情報を復号側に伝送することにより、復号の負荷の増大も、符号化の際と同様に抑制することができる。 In this way, an increase in encoding load can be suppressed. Also in the case of this multi-view image encoding, an increase in decoding load can be suppressed similarly to the encoding by transmitting information on the view of the reference image to the decoding side.
    <多視点画像復号装置>
  図43は、上述した多視点画像復号を行う多視点画像復号装置を示す図である。図43に示されるように、多視点画像復号装置610は、逆多重化部611、復号部612、および復号部613を有する。
<Multi-viewpoint image decoding device>
FIG. 43 is a diagram illustrating a multi-view image decoding apparatus that performs the above-described multi-view image decoding. As illustrated in FIG. 43, the multi-view image decoding device 610 includes a demultiplexing unit 611, a decoding unit 612, and a decoding unit 613.
  逆多重化部611は、ベースビュー画像符号化ストリームとノンベースビュー画像符号化ストリームとが多重化された多視点画像符号化ストリームを逆多重化し、ベースビュー画像符号化ストリームと、ノンベースビュー画像符号化ストリームとを抽出する。復号部612は、逆多重化部611により抽出されたベースビュー画像符号化ストリームを復号し、ベースビュー画像を得る。復号部613は、逆多重化部611により抽出されたノンベースビュー画像符号化ストリームを復号し、ノンベースビュー画像を得る。 The demultiplexing unit 611 demultiplexes the multi-view image encoded stream in which the base view image encoded stream and the non-base view image encoded stream are multiplexed, and the base view image encoded stream and the non-base view image The encoded stream is extracted. The decoding unit 612 decodes the base view image encoded stream extracted by the demultiplexing unit 611 to obtain a base view image. The decoding unit 613 decodes the non-base view image encoded stream extracted by the demultiplexing unit 611 to obtain a non-base view image.
  この多視点画像復号装置610の復号部612としてベースレイヤ画像復号部202(図22)を適用し、復号部613としてエンハンスメントレイヤ画像復号部203(図23)を適用してもよい。つまり、参照画像のビューに応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、カレントビューの復号を行うようにしてもよい。例えば、参照画像として用いられるベースビュー(若しくは他のノンベースビュー)の画像に対して、ベースビュー(若しくは他のノンベースビュー)に応じた精度でフィルタ処理を行い、そのフィルタ処理された参照画像を用いて、エンハンスメントビューの復号を行うようにしてもよい。 The base layer image decoding unit 202 (FIG. 22) may be applied as the decoding unit 612 of the multi-view image decoding device 610, and the enhancement layer image decoding unit 203 (FIG. 23) may be applied as the decoding unit 613. In other words, the filtering process may be performed with accuracy according to the view of the reference image, and the current view may be decoded using the filtered reference image. For example, the base view (or other non-base view) image used as the reference image is subjected to filter processing with accuracy according to the base view (or other non-base view), and the filtered reference image The enhancement view may be decoded by using.
  また、この多視点画像復号装置610の復号部613としてエンハンスメントレイヤ画像復号部203(図37)を適用してもよい。つまり、イントラBLモードの場合、参照画像として用いられるベースビュー(若しくは他のノンベースビュー)の画像に対するイントラスムージング処理を省略して予測画像を生成し、その予測画像を用いてエンハンスメントビューの復号を行うようにしてもよい。 In addition, the enhancement layer image decoding unit 203 (FIG. 37) may be applied as the decoding unit 613 of the multi-view image decoding device 610. That is, in the case of the intra BL mode, a predicted image is generated by omitting the intra smoothing process for the base view (or other non-base view) image used as the reference image, and the enhancement view is decoded using the predicted image. You may make it perform.
  このようにすることにより、復号の負荷の増大を抑制することができる。 に す る In this way, an increase in decoding load can be suppressed.
  <7.第6の実施の形態>
    <コンピュータ>
  上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここでコンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータ等が含まれる。
<7. Sixth 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.
  図44は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 44 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.
  図44に示されるコンピュータ800において、CPU(Central Processing Unit)801、ROM(Read Only Memory)802、RAM(Random Access Memory)803は、バス804を介して相互に接続されている。 44. In a computer 800 shown in FIG. 44, 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に記録して適用することができる。その場合、プログラムは、リムーバブルメディア821をドライブ815に装着することにより、入出力インタフェース810を介して、記憶部813にインストールすることができる。 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. In that case, 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.
  また、このプログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することもできる。その場合、プログラムは、有線または無線の伝送媒体を介して、通信部814で受信し、記憶部813にインストールすることができる。 This program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting. In that case, the program can be received by the communication unit 814 via a wired or wireless transmission medium and installed in the storage unit 813.
  その他、このプログラムは、ROM802や記憶部813に、あらかじめインストールしておくこともできる。 In addition, this 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つの応用例について説明する。 The image encoding device and the image decoding device according to the above-described embodiments include, for example, a transmitter or a receiver in cable broadcasting such as satellite broadcasting and cable TV, distribution on the Internet, and distribution to terminals by cellular communication, The present invention can be applied to various electronic devices such as a recording device that records an image on a medium such as an optical disk, 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.
  <8.応用例>
    <第1の応用例:テレビジョン受像機>
  図45は、上述した実施形態を適用したテレビジョン装置の概略的な構成の一例を示している。テレビジョン装置900は、アンテナ901、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、表示部906、音声信号処理部907、スピーカ908、外部インタフェース(I/F)部909、制御部910、ユーザインタフェース(I/F)部911、及びバス912を備える。
<8. Application example>
<First Application Example: Television Receiver>
FIG. 45 illustrates an example of a schematic configuration of a television device 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 (I / F) unit 909, and a control unit. 910, a user interface (I / F) unit 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 unit 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 unit 909 may be decoded by the decoder 904. That is, the external interface unit 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. For example, the CPU controls the operation of the television device 900 according to an operation signal input from the user interface unit 911 by executing the program.
  ユーザインタフェース部911は、制御部910と接続される。ユーザインタフェース部911は、例えば、ユーザがテレビジョン装置900を操作するためのボタン及びスイッチ、並びに遠隔制御信号の受信部などを有する。ユーザインタフェース部911は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部910へ出力する。 The user interface unit 911 is connected to the control unit 910. The user interface unit 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 unit 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を相互に接続する。 The bus 912 connects the tuner 902, the demultiplexer 903, the decoder 904, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910 to each other.
  このように構成されたテレビジョン装置900において、デコーダ904は、上述した実施形態に係る画像復号装置200(図21)の機能を有する。それにより、テレビジョン装置900での画像の復号の負荷の増大を抑制することができる。 に お い て In the television apparatus 900 configured as described above, the decoder 904 has the function of the image decoding apparatus 200 (FIG. 21) according to the above-described embodiment. Thereby, an increase in the image decoding load in the television apparatus 900 can be suppressed.
    <第2の応用例:携帯電話機>
  図46は、上述した実施形態を適用した携帯電話機の概略的な構成の一例を示している。携帯電話機920は、アンテナ921、通信部922、音声コーデック923、スピーカ924、マイクロホン925、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、制御部931、操作部932、及びバス933を備える。
<Second application example: mobile phone>
FIG. 46 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 recording / 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(図12)や画像復号装置200(図21)の機能を有する。それにより、携帯電話機920での画像の符号化および復号に必要な記憶容量の増大を抑制することができる。 In the cellular phone 920 configured as described above, the image processing unit 927 has the functions of the image encoding device 100 (FIG. 12) and the image decoding device 200 (FIG. 21) according to the above-described embodiment. Accordingly, an increase in storage capacity necessary for image encoding and decoding in the mobile phone 920 can be suppressed.
    <第3の応用例:記録再生装置>
  図47は、上述した実施形態を適用した記録再生装置の概略的な構成の一例を示している。記録再生装置940は、例えば、受信した放送番組の音声データ及び映像データを符号化して記録媒体に記録する。また、記録再生装置940は、例えば、他の装置から取得される音声データ及び映像データを符号化して記録媒体に記録してもよい。また、記録再生装置940は、例えば、ユーザの指示に応じて、記録媒体に記録されているデータをモニタ及びスピーカ上で再生する。このとき、記録再生装置940は、音声データおよび映像データを復号する。
<Third application example: recording / reproducing apparatus>
FIG. 47 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、外部インタフェース(I/F)部942、エンコーダ943、HDD(Hard Disk Drive)944、ディスクドライブ945、セレクタ946、デコーダ947、OSD(On-Screen Display)948、制御部949、およびユーザインタフェース(I/F)部950を備える。 The recording / reproducing apparatus 940 includes a tuner 941, an external interface (I / F) unit 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, and a control. Part 949 and a user interface (I / F) part 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は、例えば、IEEE(Institute of Electrical and Electronic Engineers)1394インタフェース、ネットワークインタフェース、USBインタフェース、又はフラッシュメモリインタフェースなどであってよい。例えば、外部インタフェース部942を介して受信される映像データおよび音声データは、エンコーダ943へ入力される。即ち、外部インタフェース部942は、記録再生装置940における伝送部としての役割を有する。 The external interface unit 942 is an interface for connecting the recording / reproducing device 940 to an external device or a network. The external interface unit 942 may be, for example, an IEEE (Institute of Electrical and Electronic Engineers) 1394 interface, a network interface, a USB interface, or a flash memory interface. For example, video data and audio data received via the external interface unit 942 are input to the encoder 943. That is, the external interface unit 942 has a role as a transmission unit in the recording / reproducing apparatus 940.
  エンコーダ943は、外部インタフェース部942から入力される映像データおよび音声データが符号化されていない場合に、映像データおよび音声データを符号化する。そして、エンコーダ943は、符号化ビットストリームをセレクタ946へ出力する。 Encoder 943 encodes video data and audio data when video data and audio data input from external interface unit 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
  HDD944は、映像および音声などのコンテンツデータが圧縮された符号化ビットストリーム、各種プログラムおよびその他のデータを内部のハードディスクに記録する。また、HDD944は、映像および音声の再生時に、これらデータをハードディスクから読み出す。 HDD 944 records an encoded bit stream in which content data such as video and audio is 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(Digital Versatile Disc)ディスク(DVD-Video、DVD-RAM(DVD - Random Access Memory)、DVD-R(DVD - Recordable)、DVD-RW(DVD - Rewritable)、DVD+R(DVD + Recordable)、DVD+RW(DVD + Rewritable)等)又はBlu-ray(登録商標)ディスクなどであってよい。 The disk drive 945 records and reads data on a recording medium loaded. Recording media mounted on the disk drive 945 are, for example, DVD (Digital Versatile Disc) discs (DVD-Video, DVD-RAM (DVD-Random Access Memory), DVD-R (DVD-Recordable), DVD-RW (DVD-). Rewritable), DVD + R (DVD + Recordable), DVD + RW (DVD + Rewritable), etc.) or Blu-ray (registered trademark) disc.
  セレクタ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へ出力する。また、デコーダ947は、生成した音声データを外部のスピーカへ出力する。 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 947 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 executes the program to control the operation of the recording / reproducing device 940 in accordance with, for example, an operation signal input from the user interface unit 950.
  ユーザインタフェース部950は、制御部949と接続される。ユーザインタフェース部950は、例えば、ユーザが記録再生装置940を操作するためのボタンおよびスイッチ、並びに遠隔制御信号の受信部などを有する。ユーザインタフェース部950は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部949へ出力する。 The user interface unit 950 is connected to the control unit 949. The user interface unit 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 unit 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(図12)の機能を有する。また、デコーダ947は、上述した実施形態に係る画像復号装置200(図21)の機能を有する。それにより、記録再生装置940での画像の符号化・復号の負荷の増大を抑制することができる。 In the thus configured recording / reproducing apparatus 940, the encoder 943 has the function of the image encoding apparatus 100 (FIG. 12) according to the above-described embodiment. The decoder 947 has the function of the image decoding device 200 (FIG. 21) according to the above-described embodiment. As a result, an increase in image encoding / decoding load in the recording / reproducing apparatus 940 can be suppressed.
    <第4の応用例:撮像装置>
  図48は、上述した実施形態を適用した撮像装置の概略的な構成の一例を示している。撮像装置960は、被写体を撮像して画像を生成し、画像データを符号化して記録媒体に記録する。
<Fourth Application Example: Imaging Device>
FIG. 48 illustrates 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、外部インタフェース(I/F)部966、メモリ部967、メディアドライブ968、OSD969、制御部970、ユーザインタフェース(I/F)部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 (I / F) unit 966, a memory unit 967, a media drive 968, an OSD 969, and a control unit 970. A user interface (I / F) unit 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 unit 971 is connected to the control unit 970. The bus 972 connects the image processing unit 964, the external interface unit 966, the memory unit 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 unit 966 or the media drive 968. In addition, the image processing unit 964 decodes encoded data input from the external interface unit 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 unit 966 is configured as a USB input / output terminal, for example. The external interface unit 966 connects the imaging device 960 and a printer, for example, when printing an image. Further, a drive is connected to the external interface unit 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. Furthermore, the external interface unit 966 may be configured as a network interface connected to a network such as a LAN or the Internet. That is, the external interface unit 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 unit 971 by executing the program.
  ユーザインタフェース部971は、制御部970と接続される。ユーザインタフェース部971は、例えば、ユーザが撮像装置960を操作するためのボタン及びスイッチなどを有する。ユーザインタフェース部971は、これら構成要素を介してユーザによる操作を検出して操作信号を生成し、生成した操作信号を制御部970へ出力する。 The user interface unit 971 is connected to the control unit 970. The user interface unit 971 includes, for example, buttons and switches for the user to operate the imaging device 960. The user interface unit 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(図12)や画像復号装置200(図21)の機能を有する。それにより、撮像装置960での画像の符号化・復号の負荷の増大を抑制することができる。 In the imaging device 960 configured as described above, the image processing unit 964 has the functions of the image encoding device 100 (FIG. 12) and the image decoding device 200 (FIG. 21) according to the above-described embodiment. Thereby, an increase in image encoding / decoding load in the imaging device 960 can be suppressed.
  <9.スケーラブル符号化の応用例>
    <第1のシステム>
  次に、スケーラブル符号化(階層(画像)符号化)されたスケーラブル符号化データの具体的な利用例について説明する。スケーラブル符号化は、例えば、図49に示される例のように、伝送するデータの選択のために利用される。
<9. Application example of scalable coding>
<First system>
Next, a specific usage example of scalable encoded data that has been subjected to scalable encoding (hierarchical (image) encoding) will be described. The scalable coding is used for selection of data to be transmitted as in the example shown in FIG. 49, for example.
  図49に示されるデータ伝送システム1000において、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを読み出し、ネットワーク1003を介して、パーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置に配信する。 In the data transmission system 1000 shown in FIG. 49, 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.
  そして、図49のようなデータ伝送システム1000においても、図1乃至図40を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図40を参照して上述した効果と同様の効果を得ることができる。 In the data transmission system 1000 as shown in FIG. 49, the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above with reference to FIGS. The effect similar to the effect mentioned above with reference to can be acquired.
    <第2のシステム>
  また、スケーラブル符号化は、例えば、図50に示される例のように、複数の通信媒体を介する伝送のために利用される。
<Second system>
Further, scalable coding is used for transmission via a plurality of communication media, for example, as in the example shown in FIG.
  図50に示されるデータ伝送システム1100において、放送局1101は、地上波放送1111により、ベースレイヤのスケーラブル符号化データ(BL)1121を伝送する。また、放送局1101は、有線若しくは無線またはその両方の通信網よりなる任意のネットワーク1112を介して、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する(例えばパケット化して伝送する)。 In the data transmission system 1100 shown in FIG. 50, 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.
  そして、以上のような図50のようなデータ伝送システム1100においても、図1乃至図40を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図40を参照して上述した効果と同様の効果を得ることができる。 In the data transmission system 1100 as shown in FIG. 50 as described above, the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above with reference to FIGS. Effects similar to those described above with reference to FIGS. 1 to 40 can be obtained.
    <第3のシステム>
  また、スケーラブル符号化は、例えば、図51に示される例のように、符号化データの記憶に利用される。
<Third system>
Further, scalable encoding is used for storing encoded data as in the example shown in FIG. 51, for example.
  図51に示される撮像システム1200において、撮像装置1201は、被写体1211を撮像して得られた画像データをスケーラブル符号化し、スケーラブル符号化データ(BL+EL)1221として、スケーラブル符号化データ記憶装置1202に供給する。 In the imaging system 1200 illustrated in FIG. 51, the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
  スケーラブル符号化データ記憶装置1202は、撮像装置1201から供給されるスケーラブル符号化データ(BL+EL)1221を、状況に応じた品質で記憶する。例えば、通常時の場合、スケーラブル符号化データ記憶装置1202は、スケーラブル符号化データ(BL+EL)1221からベースレイヤのデータを抽出し、低品質でデータ量の少ないベースレイヤのスケーラブル符号化データ(BL)1222として記憶する。これに対して、例えば、注目時の場合、スケーラブル符号化データ記憶装置1202は、高品質でデータ量の多いスケーラブル符号化データ(BL+EL)1221のまま記憶する。 The scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
  このようにすることにより、スケーラブル符号化データ記憶装置1202は、必要な場合のみ、画像を高画質に保存することができるので、画質劣化による画像の価値の低減を抑制しながら、データ量の増大を抑制することができ、記憶領域の利用効率を向上させることができる。 By doing so, the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
  例えば、撮像装置1201が監視カメラであるとする。撮像画像に監視対象(例えば侵入者)が写っていない場合(通常時の場合)、撮像画像の内容は重要でない可能性が高いので、データ量の低減が優先され、その画像データ(スケーラブル符号化データ)は、低品質に記憶される。これに対して、撮像画像に監視対象が被写体1211として写っている場合(注目時の場合)、その撮像画像の内容は重要である可能性が高いので、画質が優先され、その画像データ(スケーラブル符号化データ)は、高品質に記憶される。 For example, 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.
  そして、図51のような撮像システム1200においても、図1乃至図40を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図40を参照して上述した効果と同様の効果を得ることができる。 In the imaging system 1200 as shown in FIG. 51, the present technology is applied in the same manner as the application to the hierarchical encoding / decoding described above with reference to FIGS. The effect similar to the effect mentioned above with reference can be acquired.
  なお、本技術は、予め用意された解像度等が互いに異なる複数の符号化データの中から適切なものをセグメント単位で選択して使用する、例えば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.
  <10.第7の実施の形態>
    <実施のその他の例>
  以上において本技術を適用する装置やシステム等の例を説明したが、本技術は、これに限らず、このような装置またはシステムを構成する装置に搭載するあらゆる構成、例えば、システムLSI(Large Scale Integration)等としてのプロセッサ、複数のプロセッサ等を用いるモジュール、複数のモジュール等を用いるユニット、ユニットにさらにその他の機能を付加したセット等(すなわち、装置の一部の構成)として実施することもできる。
<10. Seventh Embodiment>
<Other examples of implementation>
In the above, examples of devices and systems to which the present technology is applied have been described. However, the present technology is not limited thereto, and any configuration mounted on such devices or devices constituting the system, for example, a system LSI (Large Scale) Integration) etc., a module using a plurality of processors, etc., a unit using a plurality of modules, etc., a set in which other functions are added to the unit, etc. (that is, a partial configuration of the apparatus) .
    <ビデオセット>
  本技術をセットとして実施する場合の例について、図52を参照して説明する。図52は、本技術を適用したビデオセットの概略的な構成の一例を示している。
<Video set>
An example of implementing the present technology as a set will be described with reference to FIG. FIG. 52 illustrates an example of a schematic configuration of a video set to which the present technology is applied.
  近年、電子機器の多機能化が進んでおり、その開発や製造において、その一部の構成を販売や提供等として実施する場合、1機能を有する構成として実施を行う場合だけでなく、関連する機能を有する複数の構成を組み合わせ、複数の機能を有する1セットとして実施を行う場合も多く見られるようになってきた。 In recent years, multi-functionalization of electronic devices has progressed, and in the development and manufacture, when implementing a part of the configuration as sales or provision, etc., not only when implementing as a configuration having one function, but also related In many cases, a plurality of configurations having functions are combined and implemented as a set having a plurality of functions.
  図52に示されるビデオセット1300は、このような多機能化された構成であり、画像の符号化や復号(いずれか一方でもよいし、両方でも良い)に関する機能を有するデバイスに、その機能に関連するその他の機能を有するデバイスを組み合わせたものである。 The video set 1300 shown in FIG. 52 has such a multi-functional configuration, and a device having a function related to image encoding and decoding (either or both of them) can be used for the function. It is a combination of devices having other related functions.
  図52に示されるように、ビデオセット1300は、ビデオモジュール1311、外部メモリ1312、パワーマネージメントモジュール1313、およびフロントエンドモジュール1314等のモジュール群と、コネクティビティ1321、カメラ1322、およびセンサ1323等の関連する機能を有するデバイスとを有する。 As shown in FIG. 52, the video set 1300 includes a module group such as a video module 1311, an external memory 1312, a power management module 1313, and a front-end module 1314, and an associated module 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
  モジュールは、互いに関連するいくつかの部品的機能をまとめ、まとまりのある機能を持った部品としたものである。具体的な物理的構成は任意であるが、例えば、それぞれ機能を有する複数のプロセッサ、抵抗やコンデンサ等の電子回路素子、その他のデバイス等を配線基板等に配置して一体化したものが考えられる。また、モジュールに他のモジュールやプロセッサ等を組み合わせて新たなモジュールとすることも考えられる。 A cocoon module is a component that has several functions that are related to each other and that have a coherent function. The specific physical configuration is arbitrary. For example, a plurality of processors each having a function, electronic circuit elements such as resistors and capacitors, and other devices arranged on a wiring board or the like can be considered. . It is also possible to combine the module with another module, a processor, or the like to form a new module.
  図52の例の場合、ビデオモジュール1311は、画像処理に関する機能を有する構成を組み合わせたものであり、アプリケーションプロセッサ、ビデオプロセッサ、ブロードバンドモデム1333、およびRFモジュール1334を有する。 In the example of FIG. 52, the video module 1311 is a combination of configurations having functions related to image processing, and includes an application processor, a video processor, a broadband modem 1333, and an RF module 1334.
  プロセッサは、所定の機能を有する構成をSoC(System On a Chip)により半導体チップに集積したものであり、例えばシステムLSI(Large Scale Integration)等と称されるものもある。この所定の機能を有する構成は、論理回路(ハードウエア構成)であってもよいし、CPU、ROM、RAM等と、それらを用いて実行されるプログラム(ソフトウエア構成)であってもよいし、その両方を組み合わせたものであってもよい。例えば、プロセッサが、論理回路とCPU、ROM、RAM等とを有し、機能の一部を論理回路(ハードウエア構成)により実現し、その他の機能をCPUにおいて実行されるプログラム(ソフトウエア構成)により実現するようにしてもよい。 The processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by an SoC (System On Chip), and for example, there is also a system LSI (Large Scale Integration) or the like. The configuration having the predetermined function may be a logic circuit (hardware configuration), a CPU, a ROM, a RAM, and the like, and a program (software configuration) executed using them. , Or a combination of both. For example, a processor has a logic circuit and a CPU, ROM, RAM, etc., a part of the function is realized by a logic circuit (hardware configuration), and other functions are executed by the CPU (software configuration) It may be realized by.
  図52のアプリケーションプロセッサ1331は、画像処理に関するアプリケーションを実行するプロセッサである。このアプリケーションプロセッサ1331において実行されるアプリケーションは、所定の機能を実現するために、演算処理を行うだけでなく、例えばビデオプロセッサ1332等、ビデオモジュール1311内外の構成を必要に応じて制御することもできる。 The application processor 1331 in FIG. 52 is a processor that executes an application related to image processing. The application executed in the application processor 1331 not only performs arithmetic processing to realize a predetermined function, but also can control the internal and external configurations of the video module 1311 such as the video processor 1332 as necessary. .
  ビデオプロセッサ1332は、画像の符号化・復号(その一方若しくは両方)に関する機能を有するプロセッサである。 The video processor 1332 is a processor having a function related to image encoding / decoding (one or both of them).
  ブロードバンドモデム1333は、インターネットや公衆電話回線網等の広帯域の回線を介して行われる有線若しくは無線(またはその両方)の広帯域通信に関する処理を行うプロセッサ(若しくはモジュール)である。例えば、ブロードバンドモデム1333は、送信するデータ(デジタル信号)をデジタル変調する等してアナログ信号に変換したり、受信したアナログ信号を復調してデータ(デジタル信号)に変換したりする。例えば、ブロードバンドモデム1333は、ビデオプロセッサ1332が処理する画像データや画像データが符号化されたストリーム、アプリケーションプログラム、設定データ等、任意の情報をデジタル変調・復調することができる。 The broadband modem 1333 is a processor (or module) that performs processing related to wired or wireless (or both) broadband communication performed via a broadband line such as the Internet or a public telephone line network. For example, the broadband modem 1333 digitally modulates data to be transmitted (digital signal) to convert it into an analog signal, or demodulates the received analog signal to convert it into data (digital signal). For example, the broadband modem 1333 can digitally modulate and demodulate arbitrary information such as image data processed by the video processor 1332, a stream obtained by encoding the image data, an application program, setting data, and the like.
  RFモジュール1334は、アンテナを介して送受信されるRF(Radio Frequency)信号に対して、周波数変換、変復調、増幅、フィルタ処理等を行うモジュールである。例えば、RFモジュール1334は、ブロードバンドモデム1333により生成されたベースバンド信号に対して周波数変換等を行ってRF信号を生成する。また、例えば、RFモジュール1334は、フロントエンドモジュール1314を介して受信されたRF信号に対して周波数変換等を行ってベースバンド信号を生成する。 The RF module 1334 is a module that performs frequency conversion, modulation / demodulation, amplification, filter processing, and the like on an RF (Radio RF Frequency) signal transmitted and received via an antenna. For example, the RF module 1334 generates an RF signal by performing frequency conversion or the like on the baseband signal generated by the broadband modem 1333. Further, for example, the RF module 1334 generates a baseband signal by performing frequency conversion or the like on the RF signal received via the front end module 1314.
  なお、図52において点線1341に示されるように、アプリケーションプロセッサ1331とビデオプロセッサ1332を、一体化し、1つのプロセッサとして構成されるようにしてもよい。 Note that, as indicated by a dotted line 1341 in FIG. 52, the application processor 1331 and the video processor 1332 may be integrated into a single processor.
  外部メモリ1312は、ビデオモジュール1311の外部に設けられた、ビデオモジュール1311により利用される記憶デバイスを有するモジュールである。この外部メモリ1312の記憶デバイスは、どのような物理構成により実現するようにしてもよいが、一般的にフレーム単位の画像データのような大容量のデータの格納に利用されることが多いので、例えばDRAM(Dynamic Random Access Memory)のような比較的安価で大容量の半導体メモリにより実現するのが望ましい。 The external memory 1312 is a module having a storage device that is provided outside the video module 1311 and is used by the video module 1311. The storage device of the external memory 1312 may be realized by any physical configuration, but is generally used for storing a large amount of data such as image data in units of frames. For example, it is desirable to realize it with a relatively inexpensive and large-capacity semiconductor memory such as DRAM (Dynamic Random Access Memory).
  パワーマネージメントモジュール1313は、ビデオモジュール1311(ビデオモジュール1311内の各構成)への電力供給を管理し、制御する。 The power management module 1313 manages and controls power supply to the video module 1311 (each component in the video module 1311).
  フロントエンドモジュール1314は、RFモジュール1334に対してフロントエンド機能(アンテナ側の送受信端の回路)を提供するモジュールである。図52に示されるように、フロントエンドモジュール1314は、例えば、アンテナ部1351、フィルタ1352、および増幅部1353を有する。 The front end module 1314 is a module that provides the RF module 1334 with a front end function (a circuit on a transmitting / receiving end on the antenna side). As illustrated in FIG. 52, the front end module 1314 includes, for example, an antenna unit 1351, a filter 1352, and an amplification unit 1353.
  アンテナ部1351は、無線信号を送受信するアンテナおよびその周辺の構成を有する。アンテナ部1351は、増幅部1353から供給される信号を無線信号として送信し、受信した無線信号を電気信号(RF信号)としてフィルタ1352に供給する。フィルタ1352は、アンテナ部1351を介して受信されたRF信号に対してフィルタ処理等を行い、処理後のRF信号をRFモジュール1334に供給する。増幅部1353は、RFモジュール1334から供給されるRF信号を増幅し、アンテナ部1351に供給する。 Antenna unit 1351 has an antenna for transmitting and receiving a radio signal and its peripheral configuration. The antenna unit 1351 transmits the signal supplied from the amplification unit 1353 as a radio signal, and supplies the received radio signal to the filter 1352 as an electric signal (RF signal). The filter 1352 performs a filtering process on the RF signal received via the antenna unit 1351 and supplies the processed RF signal to the RF module 1334. The amplifying unit 1353 amplifies the RF signal supplied from the RF module 1334 and supplies the amplified RF signal to the antenna unit 1351.
  コネクティビティ1321は、外部との接続に関する機能を有するモジュールである。コネクティビティ1321の物理構成は、任意である。例えば、コネクティビティ1321は、ブロードバンドモデム1333が対応する通信規格以外の通信機能を有する構成や、外部入出力端子等を有する。 Connectivity 1321 is a module having a function related to connection with the outside. The physical configuration of the connectivity 1321 is arbitrary. For example, the connectivity 1321 has a configuration having a communication function other than the communication standard supported by the broadband modem 1333, an external input / output terminal, and the like.
  例えば、コネクティビティ1321が、Bluetooth(登録商標)、IEEE 802.11(例えばWi-Fi(Wireless Fidelity、登録商標))、NFC(Near Field Communication)、IrDA(InfraRed Data Association)等の無線通信規格に準拠する通信機能を有するモジュールや、その規格に準拠した信号を送受信するアンテナ等を有するようにしてもよい。また、例えば、コネクティビティ1321が、USB(Universal Serial Bus)、HDMI(登録商標)(High-Definition Multimedia Interface)等の有線通信規格に準拠する通信機能を有するモジュールや、その規格に準拠した端子を有するようにしてもよい。さらに、例えば、コネクティビティ1321が、アナログ入出力端子等のその他のデータ(信号)伝送機能等を有するようにしてもよい。 For example, the communication 1321 is compliant with wireless communication standards such as Bluetooth (registered trademark), IEEE 802.11 (for example, Wi-Fi (Wireless Fidelity, registered trademark)), NFC (Near Field Communication), IrDA (InfraRed Data Association), etc. You may make it have a module which has a function, an antenna etc. which transmit / receive the signal based on the standard. Further, for example, the connectivity 1321 has a module having a communication function compliant with a wired communication standard such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or a terminal compliant with the standard. You may do it. Further, for example, the connectivity 1321 may have other data (signal) transmission functions such as analog input / output terminals.
  なお、コネクティビティ1321が、データ(信号)の伝送先のデバイスを含むようにしてもよい。例えば、コネクティビティ1321が、磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリ等の記録媒体に対してデータの読み出しや書き込みを行うドライブ(リムーバブルメディアのドライブだけでなく、ハードディスク、SSD(Solid State Drive)、NAS(Network Attached Storage)等も含む)を有するようにしてもよい。また、コネクティビティ1321が、画像や音声の出力デバイス(モニタやスピーカ等)を有するようにしてもよい。 It should be noted that the connectivity 1321 may include a data (signal) transmission destination device. For example, the drive 1321 reads and writes data to and from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory (not only a removable medium drive, but also a hard disk, SSD (Solid State Drive) NAS (including Network Attached Storage) and the like. In addition, the connectivity 1321 may include an image or audio output device (a monitor, a speaker, or the like).
  カメラ1322は、被写体を撮像し、被写体の画像データを得る機能を有するモジュールである。カメラ1322の撮像により得られた画像データは、例えば、ビデオプロセッサ1332に供給されて符号化される。 The eyelid camera 1322 is a module having a function of capturing an image of a subject and obtaining image data of the subject. Image data obtained by imaging by the camera 1322 is supplied to, for example, a video processor 1332 and encoded.
  センサ1323は、例えば、音声センサ、超音波センサ、光センサ、照度センサ、赤外線センサ、イメージセンサ、回転センサ、角度センサ、角速度センサ、速度センサ、加速度センサ、傾斜センサ、磁気識別センサ、衝撃センサ、温度センサ等、任意のセンサ機能を有するモジュールである。センサ1323により検出されたデータは、例えば、アプリケーションプロセッサ1331に供給されてアプリケーション等により利用される。 The sensor 1323 includes, for example, a voice sensor, an ultrasonic sensor, an optical sensor, an illuminance sensor, an infrared sensor, an image sensor, a rotation sensor, an angle sensor, an angular velocity sensor, a velocity sensor, an acceleration sensor, an inclination sensor, a magnetic identification sensor, an impact sensor, It is a module having an arbitrary sensor function such as a temperature sensor. For example, the data detected by the sensor 1323 is supplied to the application processor 1331 and used by an application or the like.
  以上においてモジュールとして説明した構成をプロセッサとして実現するようにしてもよいし、逆にプロセッサとして説明した構成をモジュールとして実現するようにしてもよい。 The configuration described above as a module may be realized as a processor, or conversely, the configuration described as a processor may be realized as a module.
  以上のような構成のビデオセット1300において、後述するようにビデオプロセッサ1332に本技術を適用することができる。したがって、ビデオセット1300は、本技術を適用したセットとして実施することができる。 In the video set 1300 configured as described above, the present technology can be applied to the video processor 1332 as described later. Therefore, the video set 1300 can be implemented as a set to which the present technology is applied.
    <ビデオプロセッサの構成例>
  図53は、本技術を適用したビデオプロセッサ1332(図52)の概略的な構成の一例を示している。
<Example of video processor configuration>
FIG. 53 shows an example of a schematic configuration of a video processor 1332 (FIG. 52) to which the present technology is applied.
  図53の例の場合、ビデオプロセッサ1332は、ビデオ信号およびオーディオ信号の入力を受けてこれらを所定の方式で符号化する機能と、符号化されたビデオデータおよびオーディオデータを復号し、ビデオ信号およびオーディオ信号を再生出力する機能とを有する。 In the case of the example of FIG. 53, the video processor 1332 receives the video signal and the audio signal, encodes them in a predetermined method, decodes the encoded video data and audio data, A function of reproducing and outputting an audio signal.
  図53に示されるように、ビデオプロセッサ1332は、ビデオ入力処理部1401、第1画像拡大縮小部1402、第2画像拡大縮小部1403、ビデオ出力処理部1404、フレームメモリ1405、およびメモリ制御部1406を有する。また、ビデオプロセッサ1332は、エンコード・デコードエンジン1407、ビデオES(Elementary Stream)バッファ1408Aおよび1408B、並びに、オーディオESバッファ1409Aおよび1409Bを有する。さらに、ビデオプロセッサ1332は、オーディオエンコーダ1410、オーディオデコーダ1411、多重化部(MUX(Multiplexer))1412、逆多重化部(DMUX(Demultiplexer))1413、およびストリームバッファ1414を有する。 As shown in FIG. 53, the video processor 1332 includes a video input processing unit 1401, a first image enlargement / reduction unit 1402, a second image enlargement / reduction unit 1403, a video output processing unit 1404, a frame memory 1405, and a memory control unit 1406. Have The video processor 1332 includes an encoding / decoding engine 1407, video ES (ElementaryElementStream) buffers 1408A and 1408B, and audio ES buffers 1409A and 1409B. Further, the video processor 1332 includes an audio encoder 1410, an audio decoder 1411, a multiplexing unit (MUX (Multiplexer)) 1412, a demultiplexing unit (DMUX (Demultiplexer)) 1413, and a stream buffer 1414.
  ビデオ入力処理部1401は、例えばコネクティビティ1321(図52)等から入力されたビデオ信号を取得し、デジタル画像データに変換する。第1画像拡大縮小部1402は、画像データに対してフォーマット変換や画像の拡大縮小処理等を行う。第2画像拡大縮小部1403は、画像データに対して、ビデオ出力処理部1404を介して出力する先でのフォーマットに応じて画像の拡大縮小処理を行ったり、第1画像拡大縮小部1402と同様のフォーマット変換や画像の拡大縮小処理等を行ったりする。ビデオ出力処理部1404は、画像データに対して、フォーマット変換やアナログ信号への変換等を行って、再生されたビデオ信号として例えばコネクティビティ1321(図52)等に出力する。 The video input processing unit 1401 acquires a video signal input from, for example, the connectivity 1321 (FIG. 52) and converts it into digital image data. The first image enlargement / reduction unit 1402 performs format conversion, image enlargement / reduction processing, and the like on the image data. The second image enlargement / reduction unit 1403 performs image enlargement / reduction processing on the image data in accordance with the format of the output destination via the video output processing unit 1404, or is the same as the first image enlargement / reduction unit 1402. Format conversion and image enlargement / reduction processing. The video output processing unit 1404 performs format conversion, conversion to an analog signal, and the like on the image data, and outputs the reproduced video signal to, for example, the connectivity 1321 (FIG. 52).
  フレームメモリ1405は、ビデオ入力処理部1401、第1画像拡大縮小部1402、第2画像拡大縮小部1403、ビデオ出力処理部1404、およびエンコード・デコードエンジン1407によって共用される画像データ用のメモリである。フレームメモリ1405は、例えばDRAM等の半導体メモリとして実現される。 The frame memory 1405 is a memory for image data shared by the video input processing unit 1401, the first image scaling unit 1402, the second image scaling unit 1403, the video output processing unit 1404, and the encoding / decoding engine 1407. . The frame memory 1405 is realized as a semiconductor memory such as a DRAM, for example.
  メモリ制御部1406は、エンコード・デコードエンジン1407からの同期信号を受けて、アクセス管理テーブル1406Aに書き込まれたフレームメモリ1405へのアクセススケジュールに従ってフレームメモリ1405に対する書き込み・読み出しのアクセスを制御する。アクセス管理テーブル1406Aは、エンコード・デコードエンジン1407、第1画像拡大縮小部1402、第2画像拡大縮小部1403等で実行される処理に応じて、メモリ制御部1406により更新される。 The memory control unit 1406 receives the synchronization signal from the encoding / decoding engine 1407, and controls the writing / reading access to the frame memory 1405 according to the access schedule to the frame memory 1405 written in the access management table 1406A. The access management table 1406A is updated by the memory control unit 1406 in accordance with processing executed by the encoding / decoding engine 1407, the first image enlargement / reduction unit 1402, the second image enlargement / reduction unit 1403, and the like.
  エンコード・デコードエンジン1407は、画像データのエンコード処理、並びに、画像データが符号化されたデータであるビデオストリームのデコード処理を行う。例えば、エンコード・デコードエンジン1407は、フレームメモリ1405から読み出した画像データを符号化し、ビデオストリームとしてビデオESバッファ1408Aに順次書き込む。また、例えば、ビデオESバッファ1408Bからビデオストリームを順次読み出して復号し、画像データとしてフレームメモリ1405に順次書き込む。エンコード・デコードエンジン1407は、これらの符号化や復号において、フレームメモリ1405を作業領域として使用する。また、エンコード・デコードエンジン1407は、例えばマクロブロック毎の処理を開始するタイミングで、メモリ制御部1406に対して同期信号を出力する。 The encoding / decoding engine 1407 performs encoding processing of image data and decoding processing of a video stream that is data obtained by encoding the image data. For example, the encoding / decoding engine 1407 encodes the image data read from the frame memory 1405 and sequentially writes the data as a video stream in the video ES buffer 1408A. Further, for example, the video stream is sequentially read from the video ES buffer 1408B, decoded, and sequentially written in the frame memory 1405 as image data. The encoding / decoding engine 1407 uses the frame memory 1405 as a work area in the encoding and decoding. Also, the encoding / decoding engine 1407 outputs a synchronization signal to the memory control unit 1406, for example, at a timing at which processing for each macroblock is started.
  ビデオESバッファ1408Aは、エンコード・デコードエンジン1407によって生成されたビデオストリームをバッファリングして、多重化部(MUX)1412に供給する。ビデオESバッファ1408Bは、逆多重化部(DMUX)1413から供給されたビデオストリームをバッファリングして、エンコード・デコードエンジン1407に供給する。 The video ES buffer 1408A buffers the video stream generated by the encoding / decoding engine 1407 and supplies the buffered video stream to the multiplexing unit (MUX) 1412. The video ES buffer 1408B buffers the video stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered video stream to the encoding / decoding engine 1407.
  オーディオESバッファ1409Aは、オーディオエンコーダ1410によって生成されたオーディオストリームをバッファリングして、多重化部(MUX)1412に供給する。オーディオESバッファ1409Bは、逆多重化部(DMUX)1413から供給されたオーディオストリームをバッファリングして、オーディオデコーダ1411に供給する。 The audio ES buffer 1409A buffers the audio stream generated by the audio encoder 1410 and supplies the buffered audio stream to the multiplexing unit (MUX) 1412. The audio ES buffer 1409B buffers the audio stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered audio stream to the audio decoder 1411.
  オーディオエンコーダ1410は、例えばコネクティビティ1321(図52)等から入力されたオーディオ信号を例えばデジタル変換し、例えばMPEGオーディオ方式やAC3(AudioCode number 3)方式等の所定の方式で符号化する。オーディオエンコーダ1410は、オーディオ信号が符号化されたデータであるオーディオストリームをオーディオESバッファ1409Aに順次書き込む。オーディオデコーダ1411は、オーディオESバッファ1409Bから供給されたオーディオストリームを復号し、例えばアナログ信号への変換等を行って、再生されたオーディオ信号として例えばコネクティビティ1321(図52)等に供給する。 The audio encoder 1410 converts, for example, an audio signal input from the connectivity 1321 (FIG. 52), for example, into a digital format, and encodes the audio signal according to a predetermined method such as an MPEG audio method or an AC3 (Audio Code number 3) method. The audio encoder 1410 sequentially writes an audio stream, which is data obtained by encoding an audio signal, in the audio ES buffer 1409A. The audio decoder 1411 decodes the audio stream supplied from the audio ES buffer 1409B, performs conversion to an analog signal, for example, and supplies the reproduced audio signal to, for example, the connectivity 1321 (FIG. 52).
  多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化する。この多重化の方法(すなわち、多重化により生成されるビットストリームのフォーマット)は任意である。また、この多重化の際に、多重化部(MUX)1412は、所定のヘッダ情報等をビットストリームに付加することもできる。つまり、多重化部(MUX)1412は、多重化によりストリームのフォーマットを変換することができる。例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、転送用のフォーマットのビットストリームであるトランスポートストリームに変換する。また、例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、記録用のファイルフォーマットのデータ(ファイルデータ)に変換する。 Multiplexer (MUX) 1412 multiplexes the video stream and the audio stream. The multiplexing method (that is, the format of the bit stream generated by multiplexing) is arbitrary. At the time of this multiplexing, the multiplexing unit (MUX) 1412 can also add predetermined header information or the like to the bit stream. That is, the multiplexing unit (MUX) 1412 can convert the stream format by multiplexing. For example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream to convert it into a transport stream that is a bit stream in a transfer format. Further, for example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream, thereby converting the data into file format data (file data) for recording.
  逆多重化部(DMUX)1413は、多重化部(MUX)1412による多重化に対応する方法で、ビデオストリームとオーディオストリームとが多重化されたビットストリームを逆多重化する。つまり、逆多重化部(DMUX)1413は、ストリームバッファ1414から読み出されたビットストリームからビデオストリームとオーディオストリームとを抽出する(ビデオストリームとオーディオストリームとを分離する)。つまり、逆多重化部(DMUX)1413は、逆多重化によりストリームのフォーマットを変換(多重化部(MUX)1412による変換の逆変換)することができる。例えば、逆多重化部(DMUX)1413は、例えばコネクティビティ1321やブロードバンドモデム1333等(いずれも図52)から供給されたトランスポートストリームを、ストリームバッファ1414を介して取得し、逆多重化することにより、ビデオストリームとオーディオストリームとに変換することができる。また、例えば、逆多重化部(DMUX)1413は、例えばコネクティビティ1321により(図52)各種記録媒体から読み出されたファイルデータを、ストリームバッファ1414を介して取得し、逆多重化することにより、ビデオストリームとオーディオストリームとに変換することができる。 The demultiplexing unit (DMUX) 1413 demultiplexes the bit stream in which the video stream and the audio stream are multiplexed by a method corresponding to the multiplexing by the multiplexing unit (MUX) 1412. That is, the demultiplexer (DMUX) 1413 extracts the video stream and the audio stream from the bit stream read from the stream buffer 1414 (separates the video stream and the audio stream). That is, the demultiplexer (DMUX) 1413 can convert the stream format by demultiplexing (inverse conversion of the conversion by the multiplexer (MUX) 1412). For example, the demultiplexing unit (DMUX) 1413 obtains the transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG. 52) via the stream buffer 1414 and demultiplexes the transport stream. Can be converted into a video stream and an audio stream. Further, for example, the demultiplexer (DMUX) 1413 obtains the file data read from various recording media by the connectivity 1321 (FIG. 52) via the stream buffer 1414 and demultiplexes the file data, for example, It can be converted into a video stream and an audio stream.
  ストリームバッファ1414は、ビットストリームをバッファリングする。例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図52)等に供給する。 The stream buffer 1414 buffers the bit stream. For example, the stream buffer 1414 buffers the transport stream supplied from the multiplexing unit (MUX) 1412 and, for example, at the predetermined timing or based on a request from the outside, for example, the connectivity 1321 or the broadband modem 1333 (whichever Are also supplied to FIG.
  また、例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321(図52)等に供給し、各種記録媒体に記録させる。 Further, for example, the stream buffer 1414 buffers the file data supplied from the multiplexing unit (MUX) 1412 and, for example, the connectivity 1321 (FIG. 52) or the like at a predetermined timing or based on an external request or the like. To be recorded on various recording media.
  さらに、ストリームバッファ1414は、例えばコネクティビティ1321やブロードバンドモデム1333等(いずれも図52)を介して取得したトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(DMUX)1413に供給する。 Further, the stream buffer 1414 buffers the transport stream acquired through, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 52), and performs reverse processing at a predetermined timing or based on an external request or the like. The data is supplied to a multiplexing unit (DMUX) 1413.
  また、ストリームバッファ1414は、例えばコネクティビティ1321(図52)等において各種記録媒体から読み出されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(DMUX)1413に供給する。 In addition, the stream buffer 1414 buffers file data read from various recording media in, for example, the connectivity 1321 (FIG. 52), and performs a demultiplexing unit at a predetermined timing or based on a request from the outside. (DMUX) 1413.
  次に、このような構成のビデオプロセッサ1332の動作の例について説明する。例えば、コネクティビティ1321(図52)等からビデオプロセッサ1332に入力されたビデオ信号は、ビデオ入力処理部1401において4:2:2Y/Cb/Cr方式等の所定の方式のデジタル画像データに変換され、フレームメモリ1405に順次書き込まれる。このデジタル画像データは、第1画像拡大縮小部1402または第2画像拡大縮小部1403に読み出されて、4:2:0Y/Cb/Cr方式等の所定の方式へのフォーマット変換および拡大縮小処理が行われ、再びフレームメモリ1405に書き込まれる。この画像データは、エンコード・デコードエンジン1407によって符号化され、ビデオストリームとしてビデオESバッファ1408Aに書き込まれる。 Next, an example of the operation of the video processor 1332 having such a configuration will be described. For example, a video signal input from the connectivity 1321 (FIG. 52) or the like to the video processor 1332 is converted into digital image data of a predetermined format such as 4: 2: 2Y / Cb / Cr format by the video input processing unit 1401. The data is sequentially written in the frame memory 1405. This digital image data is read by the first image enlargement / reduction unit 1402 or the second image enlargement / reduction unit 1403, and format conversion to a predetermined method such as 4: 2: 0Y / Cb / Cr method and enlargement / reduction processing are performed. Is written again in the frame memory 1405. This image data is encoded by the encoding / decoding engine 1407 and written as a video stream in the video ES buffer 1408A.
  また、コネクティビティ1321(図52)等からビデオプロセッサ1332に入力されたオーディオ信号は、オーディオエンコーダ1410によって符号化され、オーディオストリームとして、オーディオESバッファ1409Aに書き込まれる。 In addition, an audio signal input to the video processor 1332 from the connectivity 1321 (FIG. 52) or the like is encoded by the audio encoder 1410 and written as an audio stream in the audio ES buffer 1409A.
  ビデオESバッファ1408Aのビデオストリームと、オーディオESバッファ1409Aのオーディオストリームは、多重化部(MUX)1412に読み出されて多重化され、トランスポートストリーム若しくはファイルデータ等に変換される。多重化部(MUX)1412により生成されたトランスポートストリームは、ストリームバッファ1414にバッファされた後、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図52)等を介して外部ネットワークに出力される。また、多重化部(MUX)1412により生成されたファイルデータは、ストリームバッファ1414にバッファされた後、例えばコネクティビティ1321(図52)等に出力され、各種記録媒体に記録される。 The video stream of the video ES buffer 1408A and the audio stream of the audio ES buffer 1409A are read and multiplexed by the multiplexing unit (MUX) 1412 and converted into a transport stream or file data. The transport stream generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414 and then output to the external network via, for example, the connectivity 1321 or the broadband modem 1333 (both of which are shown in FIG. 52). Also, the file data generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414, and then output to, for example, the connectivity 1321 (FIG. 52) and recorded on various recording media.
  また、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図52)等を介して外部ネットワークからビデオプロセッサ1332に入力されたトランスポートストリームは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。また、例えばコネクティビティ1321(図52)等において各種記録媒体から読み出され、ビデオプロセッサ1332に入力されたファイルデータは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。つまり、ビデオプロセッサ1332に入力されたトランスポートストリームまたはファイルデータは、逆多重化部(DMUX)1413によりビデオストリームとオーディオストリームとに分離される。 Further, for example, a transport stream input from an external network to the video processor 1332 via the connectivity 1321 or the broadband modem 1333 (both in FIG. 52) is buffered in the stream buffer 1414 and then demultiplexed (DMUX) 1413 is demultiplexed. For example, file data read from various recording media in the connectivity 1321 (FIG. 52) and input to the video processor 1332 is buffered in the stream buffer 1414 and then demultiplexed by the demultiplexer (DMUX) 1413. It becomes. That is, the transport stream or file data input to the video processor 1332 is separated into a video stream and an audio stream by the demultiplexer (DMUX) 1413.
  オーディオストリームは、オーディオESバッファ1409Bを介してオーディオデコーダ1411に供給され、復号されてオーディオ信号が再生される。また、ビデオストリームは、ビデオESバッファ1408Bに書き込まれた後、エンコード・デコードエンジン1407により順次読み出されて復号されてフレームメモリ1405に書き込まれる。復号された画像データは、第2画像拡大縮小部1403によって拡大縮小処理されて、フレームメモリ1405に書き込まれる。そして、復号された画像データは、ビデオ出力処理部1404に読み出されて、4:2:2Y/Cb/Cr方式等の所定の方式にフォーマット変換され、さらにアナログ信号に変換されて、ビデオ信号が再生出力される。 The audio stream is supplied to the audio decoder 1411 via the audio ES buffer 1409B and decoded to reproduce the audio signal. The video stream is written to the video ES buffer 1408B, and then sequentially read and decoded by the encoding / decoding engine 1407, and written to the frame memory 1405. The decoded image data is enlarged / reduced by the second image enlargement / reduction unit 1403 and written to the frame memory 1405. The decoded image data is read out to the video output processing unit 1404, format-converted to a predetermined system such as 4: 2: 2Y / Cb / Cr system, and further converted into an analog signal to be converted into a video signal. Is played out.
  このように構成されるビデオプロセッサ1332に本技術を適用する場合、エンコード・デコードエンジン1407に、上述した各実施形態に係る本技術を適用すればよい。つまり、例えば、エンコード・デコードエンジン1407が、第1の実施の形態に係る画像符号化装置100(図12)や第2の実施の形態に係る画像復号装置200(図21)の機能を有するようにすればよい。また、例えば、エンコード・デコードエンジン1407が、第3の実施の形態に係る画像符号化装置100(図12)や第4の実施の形態に係る画像復号装置200(図21)の機能を有するようにしてもよい。さらに、例えば、エンコード・デコードエンジン1407が、第5の実施の形態に係る多視点画像符号化装置600(図42)や多視点画像復号装置610(図43)の機能を有するようにしてもよい。このようにすることにより、ビデオプロセッサ1332は、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 場合 When the present technology is applied to the video processor 1332 configured as described above, the present technology according to each embodiment described above may be applied to the encoding / decoding engine 1407. That is, for example, the encoding / decoding engine 1407 has the functions of the image encoding device 100 (FIG. 12) according to the first embodiment and the image decoding device 200 (FIG. 21) according to the second embodiment. You can do it. For example, the encoding / decoding engine 1407 has the functions of the image encoding device 100 (FIG. 12) according to the third embodiment and the image decoding device 200 (FIG. 21) according to the fourth embodiment. It may be. Further, for example, the encoding / decoding engine 1407 may have the functions of the multi-view image encoding device 600 (FIG. 42) and the multi-view image decoding device 610 (FIG. 43) according to the fifth embodiment. . In this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  なお、エンコード・デコードエンジン1407において、本技術(すなわち、上述した各実施形態に係る画像符号化装置や画像復号装置の機能)は、論理回路等のハードウエアにより実現するようにしてもよいし、組み込みプログラム等のソフトウエアにより実現するようにしてもよいし、それらの両方により実現するようにしてもよい。 In the encoding / decoding engine 1407, the present technology (that is, the functions of the image encoding device and the image decoding device according to each embodiment described above) may be realized by hardware such as a logic circuit. It may be realized by software such as an embedded program, or may be realized by both of them.
    <ビデオプロセッサの他の構成例>
  図54は、本技術を適用したビデオプロセッサ1332(図52)の概略的な構成の他の例を示している。図54の例の場合、ビデオプロセッサ1332は、ビデオデータを所定の方式で符号化・復号する機能とを有する。
<Other configuration examples of video processor>
FIG. 54 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 52) to which the present technology is applied. In the case of the example in FIG. 54, the video processor 1332 has a function of encoding and decoding video data by a predetermined method.
  より具体的には、図54に示されるように、ビデオプロセッサ1332は、制御部1511、ディスプレイインタフェース1512、ディスプレイエンジン1513、画像処理エンジン1514、および内部メモリ1515を有する。また、ビデオプロセッサ1332は、コーデックエンジン1516、メモリインタフェース1517、多重化・逆多重化部(MUX DMUX)1518、ネットワークインタフェース1519、およびビデオインタフェース1520を有する。 More specifically, as illustrated in FIG. 54, the video processor 1332 includes a control unit 1511, a display interface 1512, a display engine 1513, an image processing engine 1514, and an internal memory 1515. The video processor 1332 includes a codec engine 1516, a memory interface 1517, a multiplexing / demultiplexing unit (MUX DMUX) 1518, a network interface 1519, and a video interface 1520.
  制御部1511は、ディスプレイインタフェース1512、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516等、ビデオプロセッサ1332内の各処理部の動作を制御する。 The eyelid control unit 1511 controls the operation of each processing unit in the video processor 1332 such as the display interface 1512, the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  図54に示されるように、制御部1511は、例えば、メインCPU1531、サブCPU1532、およびシステムコントローラ1533を有する。メインCPU1531は、ビデオプロセッサ1332内の各処理部の動作を制御するためのプログラム等を実行する。メインCPU1531は、そのプログラム等に従って制御信号を生成し、各処理部に供給する(つまり、各処理部の動作を制御する)。サブCPU1532は、メインCPU1531の補助的な役割を果たす。例えば、サブCPU1532は、メインCPU1531が実行するプログラム等の子プロセスやサブルーチン等を実行する。システムコントローラ1533は、メインCPU1531およびサブCPU1532が実行するプログラムを指定する等、メインCPU1531およびサブCPU1532の動作を制御する。 As shown in FIG. 54, the control unit 1511 includes, for example, a main CPU 1531, a sub CPU 1532, and a system controller 1533. The main CPU 1531 executes a program and the like for controlling the operation of each processing unit in the video processor 1332. The main CPU 1531 generates a control signal according to the program and supplies it to each processing unit (that is, controls the operation of each processing unit). The sub CPU 1532 plays an auxiliary role of the main CPU 1531. For example, the sub CPU 1532 executes a child process such as a program executed by the main CPU 1531, a subroutine, or the like. The system controller 1533 controls operations of the main CPU 1531 and the sub CPU 1532 such as designating a program to be executed by the main CPU 1531 and the sub CPU 1532.
  ディスプレイインタフェース1512は、制御部1511の制御の下、画像データを例えばコネクティビティ1321(図52)等に出力する。例えば、ディスプレイインタフェース1512は、デジタルデータの画像データをアナログ信号に変換し、再生されたビデオ信号として、またはデジタルデータの画像データのまま、コネクティビティ1321(図52)のモニタ装置等に出力する。 The display interface 1512 outputs image data to, for example, the connectivity 1321 (FIG. 52) or the like under the control of the control unit 1511. For example, the display interface 1512 converts image data of digital data into an analog signal, and outputs it to a monitor device or the like of the connectivity 1321 (FIG. 52) as a reproduced video signal or as image data of the digital data.
  ディスプレイエンジン1513は、制御部1511の制御の下、画像データに対して、その画像を表示させるモニタ装置等のハードウエアスペックに合わせるように、フォーマット変換、サイズ変換、色域変換等の各種変換処理を行う。 Under the control of the control unit 1511, the display engine 1513 performs various conversion processes such as format conversion, size conversion, color gamut conversion, and the like so as to match the image data with hardware specifications such as a monitor device that displays the image. I do.
  画像処理エンジン1514は、制御部1511の制御の下、画像データに対して、例えば画質改善のためのフィルタ処理等、所定の画像処理を施す。 The eyelid image processing engine 1514 performs predetermined image processing such as filter processing for improving image quality on the image data under the control of the control unit 1511.
  内部メモリ1515は、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516により共用される、ビデオプロセッサ1332の内部に設けられたメモリである。内部メモリ1515は、例えば、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516の間で行われるデータの授受に利用される。例えば、内部メモリ1515は、ディスプレイエンジン1513、画像処理エンジン1514、またはコーデックエンジン1516から供給されるデータを格納し、必要に応じて(例えば、要求に応じて)、そのデータを、ディスプレイエンジン1513、画像処理エンジン1514、またはコーデックエンジン1516に供給する。この内部メモリ1515は、どのような記憶デバイスにより実現するようにしてもよいが、一般的にブロック単位の画像データやパラメータ等といった小容量のデータの格納に利用することが多いので、例えばSRAM(Static Random Access Memory)のような比較的(例えば外部メモリ1312と比較して)小容量だが応答速度が高速な半導体メモリにより実現するのが望ましい。 The internal memory 1515 is a memory provided inside the video processor 1332 that is shared by the display engine 1513, the image processing engine 1514, and the codec engine 1516. The internal memory 1515 is used, for example, for data exchange performed between the display engine 1513, the image processing engine 1514, and the codec engine 1516. For example, the internal memory 1515 stores data supplied from the display engine 1513, the image processing engine 1514, or the codec engine 1516, and stores the data as needed (eg, upon request). This is supplied to the image processing engine 1514 or the codec engine 1516. The internal memory 1515 may be realized by any storage device, but is generally used for storing a small amount of data such as image data or parameters in units of blocks. It is desirable to realize a semiconductor memory having a relatively small capacity but a high response speed (for example, as compared with the external memory 1312) such as “Static Random Access Memory”.
  コーデックエンジン1516は、画像データの符号化や復号に関する処理を行う。このコーデックエンジン1516が対応する符号化・復号の方式は任意であり、その数は1つであってもよいし、複数であってもよい。例えば、コーデックエンジン1516は、複数の符号化・復号方式のコーデック機能を備え、その中から選択されたもので画像データの符号化若しくは符号化データの復号を行うようにしてもよい。 The codec engine 1516 performs processing related to encoding and decoding of image data. The encoding / decoding scheme supported by the codec engine 1516 is arbitrary, and the number thereof may be one or plural. For example, the codec engine 1516 may be provided with codec functions of a plurality of encoding / decoding schemes, and may be configured to perform encoding of image data or decoding of encoded data using one selected from them.
  図54に示される例において、コーデックエンジン1516は、コーデックに関する処理の機能ブロックとして、例えば、MPEG-2 Video1541、AVC/H.2641542、HEVC/H.2651543、HEVC/H.265(Scalable)1544、HEVC/H.265(Multi-view)1545、およびMPEG-DASH1551を有する。 In the example shown in FIG. 54, the codec engine 1516 includes, for example, MPEG-2 video 1541, AVC / H.2641542, HEVC / H.2651543, HEVC / H.265 (Scalable) 1544, as function blocks for processing related to the codec. HEVC / H.265 (Multi-view) 1545 and MPEG-DASH 1551 are included.
  MPEG-2 Video1541は、画像データをMPEG-2方式で符号化したり復号したりする機能ブロックである。AVC/H.2641542は、画像データをAVC方式で符号化したり復号したりする機能ブロックである。HEVC/H.2651543は、画像データをHEVC方式で符号化したり復号したりする機能ブロックである。HEVC/H.265(Scalable)1544は、画像データをHEVC方式でスケーラブル符号化したりスケーラブル復号したりする機能ブロックである。HEVC/H.265(Multi-view)1545は、画像データをHEVC方式で多視点符号化したり多視点復号したりする機能ブロックである。 “MPEG-2” Video 1541 is a functional block that encodes and decodes image data in the MPEG-2 format. AVC / H.2641542 is a functional block that encodes and decodes image data using the AVC method. HEVC / H.2651543 is a functional block that encodes and decodes image data using the HEVC method. HEVC / H.265 (Scalable) 1544 is a functional block that performs scalable encoding and scalable decoding of image data using the HEVC method. HEVC / H.265 (Multi-view) 1545 is a functional block that multi-view encodes or multi-view decodes image data using the HEVC method.
  MPEG-DASH1551は、画像データをMPEG-DASH(MPEG-Dynamic Adaptive Streaming over HTTP)方式で送受信する機能ブロックである。MPEG-DASHは、HTTP(HyperText Transfer Protocol)を使ってビデオのストリーミングを行う技術であり、予め用意された解像度等が互いに異なる複数の符号化データの中から適切なものをセグメント単位で選択し伝送することを特徴の1つとする。MPEG-DASH1551は、規格に準拠するストリームの生成やそのストリームの伝送制御等を行い、画像データの符号化・復号については、上述したMPEG-2 Video1541乃至HEVC/H.265(Multi-view)1545を利用する。 “MPEG-DASH 1551” is a functional block that transmits and receives image data in the MPEG-DASH (MPEG-Dynamic Adaptive Streaming over HTTP) method. MPEG-DASH is a technology for streaming video using HTTP (HyperText Transfer Protocol), and selects and transmits appropriate data from multiple encoded data with different resolutions prepared in advance in segments. This is one of the features. MPEG-DASH 1551 generates a stream compliant with the standard, controls transmission of the stream, and the like. For encoding / decoding of image data, MPEG-2 Video 1541 to HEVC / H.265 (Multi-view) 1545 described above are used. Is used.
  メモリインタフェース1517は、外部メモリ1312用のインタフェースである。画像処理エンジン1514やコーデックエンジン1516から供給されるデータは、メモリインタフェース1517を介して外部メモリ1312に供給される。また、外部メモリ1312から読み出されたデータは、メモリインタフェース1517を介してビデオプロセッサ1332(画像処理エンジン1514若しくはコーデックエンジン1516)に供給される。 The memory interface 1517 is an interface for the external memory 1312. Data supplied from the image processing engine 1514 or the codec engine 1516 is supplied to the external memory 1312 via the memory interface 1517. The data read from the external memory 1312 is supplied to the video processor 1332 (the image processing engine 1514 or the codec engine 1516) via the memory interface 1517.
  多重化・逆多重化部(MUX DMUX)1518は、符号化データのビットストリーム、画像データ、ビデオ信号等、画像に関する各種データの多重化や逆多重化を行う。この多重化・逆多重化の方法は任意である。例えば、多重化の際に、多重化・逆多重化部(MUX DMUX)1518は、複数のデータを1つにまとめるだけでなく、所定のヘッダ情報等をそのデータに付加することもできる。また、逆多重化の際に、多重化・逆多重化部(MUX DMUX)1518は、1つのデータを複数に分割するだけでなく、分割した各データに所定のヘッダ情報等を付加することもできる。つまり、多重化・逆多重化部(MUX DMUX)1518は、多重化・逆多重化によりデータのフォーマットを変換することができる。例えば、多重化・逆多重化部(MUX DMUX)1518は、ビットストリームを多重化することにより、転送用のフォーマットのビットストリームであるトランスポートストリームや、記録用のファイルフォーマットのデータ(ファイルデータ)に変換することができる。もちろん、逆多重化によりその逆変換も可能である。 A multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes and demultiplexes various data related to images such as a bit stream of encoded data, image data, and a video signal. This multiplexing / demultiplexing method is arbitrary. For example, at the time of multiplexing, the multiplexing / demultiplexing unit (MUX DMUX) 1518 can not only combine a plurality of data into one but also add predetermined header information or the like to the data. Further, in the demultiplexing, the multiplexing / demultiplexing unit (MUX DMUX) 1518 not only divides one data into a plurality of data but also adds predetermined header information or the like to each divided data. it can. That is, the multiplexing / demultiplexing unit (MUX DMUX) 1518 can convert the data format by multiplexing / demultiplexing. For example, the multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes the bitstream, thereby transporting the transport stream, which is a bit stream in a transfer format, or data in a file format for recording (file data). Can be converted to Of course, the inverse transformation is also possible by demultiplexing.
  ネットワークインタフェース1519は、例えばブロードバンドモデム1333やコネクティビティ1321(いずれも図52)等向けのインタフェースである。ビデオインタフェース1520は、例えばコネクティビティ1321やカメラ1322(いずれも図52)等向けのインタフェースである。 The network interface 1519 is an interface for a broadband modem 1333, connectivity 1321 (both of which are shown in FIG. 52), and the like. The video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are FIG. 52).
  次に、このようなビデオプロセッサ1332の動作の例について説明する。例えば、コネクティビティ1321やブロードバンドモデム1333(いずれも図52)等を介して外部ネットワークからトランスポートストリームを受信すると、そのトランスポートストリームは、ネットワークインタフェース1519を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、例えば、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図52)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてファイルデータに変換され、ビデオインタフェース1520を介して例えばコネクティビティ1321(図52)等に出力され、各種記録媒体に記録される。 Next, an example of the operation of the video processor 1332 will be described. For example, when a transport stream is received from an external network via the connectivity 1321 or the broadband modem 1333 (both of which are shown in FIG. 52), the transport stream is transmitted to the multiplexing / demultiplexing unit (MUX DMUX) via the network interface 1519. ) 1518 to be demultiplexed and decoded by the codec engine 1516. For example, the image data obtained by decoding by the codec engine 1516 is subjected to predetermined image processing by the image processing engine 1514, subjected to predetermined conversion by the display engine 1513, and connected to, for example, the connectivity 1321 (see FIG. 52) etc., and the image is displayed on the monitor. Also, for example, image data obtained by decoding by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by a multiplexing / demultiplexing unit (MUX DMUX) 1518, converted into file data, and video The data is output to, for example, the connectivity 1321 (FIG. 52) via the interface 1520 and recorded on various recording media.
  さらに、例えば、コネクティビティ1321(図52)等により図示せぬ記録媒体から読み出された、画像データが符号化された符号化データのファイルデータは、ビデオインタフェース1520を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図52)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてトランスポートストリームに変換され、ネットワークインタフェース1519を介して例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図52)等に供給され図示せぬ他の装置に伝送される。 Further, for example, encoded data file data obtained by encoding image data read from a recording medium (not shown) by the connectivity 1321 (FIG. 52) is multiplexed / demultiplexed via the video interface 1520. Is supplied to a unit (MUX DMUX) 1518, demultiplexed, and decoded by the codec engine 1516. Image data obtained by decoding by the codec engine 1516 is subjected to predetermined image processing by the image processing engine 1514, subjected to predetermined conversion by the display engine 1513, and, for example, connectivity 1321 via the display interface 1512 (FIG. 52). And the image is displayed on the monitor. Also, for example, image data obtained by decoding by the codec engine 1516 is re-encoded by the codec engine 1516, multiplexed by the multiplexing / demultiplexing unit (MUX DMUX) 1518, and converted into a transport stream, For example, the connectivity 1321 and the broadband modem 1333 (both in FIG. 52) are supplied via the network interface 1519 and transmitted to other devices (not shown).
  なお、ビデオプロセッサ1332内の各処理部の間での画像データやその他のデータの授受は、例えば、内部メモリ1515や外部メモリ1312を利用して行われる。また、パワーマネージメントモジュール1313は、例えば制御部1511への電力供給を制御する。 Note that image data and other data are exchanged between the processing units in the video processor 1332 using, for example, the internal memory 1515 and the external memory 1312. The power management module 1313 controls power supply to the control unit 1511, for example.
  このように構成されるビデオプロセッサ1332に本技術を適用する場合、コーデックエンジン1516に、上述した各実施形態に係る本技術を適用すればよい。つまり、例えば、コーデックエンジン1516が、第1の実施の形態に係る画像符号化装置100(図12)や第2の実施の形態に係る画像復号装置200(図21)を実現する機能ブロックを有するようにすればよい。また、例えば、コーデックエンジン1516が、第3の実施の形態に係る画像符号化装置100(図12)や第4の実施の形態に係る画像復号装置200(図21)を実現する機能ブロックを有するようにしてもよい。さらに、例えば、コーデックエンジン1516が、第5の実施の形態に係る多視点画像符号化装置600(図42)や多視点画像復号装置610(図43)を実現する機能ブロックを有するようにしてもよい。このようにすることにより、ビデオプロセッサ1332は、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 場合 When the present technology is applied to the video processor 1332 configured as described above, the present technology according to each of the above-described embodiments may be applied to the codec engine 1516. That is, for example, the codec engine 1516 includes functional blocks that implement the image encoding device 100 (FIG. 12) according to the first embodiment and the image decoding device 200 (FIG. 21) according to the second embodiment. What should I do? Further, for example, the codec engine 1516 includes functional blocks for realizing the image encoding device 100 (FIG. 12) according to the third embodiment and the image decoding device 200 (FIG. 21) according to the fourth embodiment. You may do it. Further, for example, the codec engine 1516 may include a functional block for realizing the multi-view image encoding device 600 (FIG. 42) and the multi-view image decoding device 610 (FIG. 43) according to the fifth embodiment. Good. In this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  なお、コーデックエンジン1516において、本技術(すなわち、上述した各実施形態に係る画像符号化装置や画像復号装置の機能)は、論理回路等のハードウエアにより実現するようにしてもよいし、組み込みプログラム等のソフトウエアにより実現するようにしてもよいし、それらの両方により実現するようにしてもよい。 Note that in the codec engine 1516, the present technology (that is, the functions of the image encoding device and the image decoding device according to each of the above-described embodiments) may be realized by hardware such as a logic circuit or an embedded program. It may be realized by software such as the above, or may be realized by both of them.
  以上にビデオプロセッサ1332の構成を2例示したが、ビデオプロセッサ1332の構成は任意であり、上述した2例以外のものであってもよい。また、このビデオプロセッサ1332は、1つの半導体チップとして構成されるようにしてもよいが、複数の半導体チップとして構成されるようにしてもよい。例えば、複数の半導体を積層する3次元積層LSIとしてもよい。また、複数のLSIにより実現されるようにしてもよい。 Although two examples of the configuration of the video processor 1332 have been described above, the configuration of the video processor 1332 is arbitrary and may be other than the two examples described above. The video processor 1332 may be configured as one semiconductor chip, but may be configured as a plurality of semiconductor chips. For example, a three-dimensional stacked LSI in which a plurality of semiconductors are stacked may be used. Further, it may be realized by a plurality of LSIs.
    <装置への適用例> <Application example to equipment>
  ビデオセット1300は、画像データを処理する各種装置に組み込むことができる。例えば、ビデオセット1300は、テレビジョン装置900(図45)、携帯電話機920(図46)、記録再生装置940(図47)、撮像装置960(図48)等に組み込むことができる。ビデオセット1300を組み込むことにより、その装置は、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 The video set 1300 can be incorporated into various devices that process image data. For example, the video set 1300 can be incorporated in the television device 900 (FIG. 45), the mobile phone 920 (FIG. 46), the recording / reproducing device 940 (FIG. 47), the imaging device 960 (FIG. 48), or the like. By incorporating the video set 1300, the apparatus can obtain the same effects as those described above with reference to FIGS.
  また、ビデオセット1300は、例えば、図49のデータ伝送システム1000におけるパーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置、図50のデータ伝送システム1100における放送局1101および端末装置1102、並びに、図51の撮像システム1200における撮像装置1201およびスケーラブル符号化データ記憶装置1202等にも組み込むことができる。ビデオセット1300を組み込むことにより、その装置は、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 In addition, the video set 1300 includes, for example, terminal devices such as the personal computer 1004, the AV device 1005, the tablet device 1006, and the mobile phone 1007 in the data transmission system 1000 in FIG. 49, the broadcasting station 1101 in the data transmission system 1100 in FIG. It can also be incorporated into the terminal device 1102, the imaging device 1201 in the imaging system 1200 of FIG. 51, the scalable encoded data storage device 1202, and the like. By incorporating the video set 1300, the apparatus can obtain the same effects as those described above with reference to FIGS.
  なお、上述したビデオセット1300の各構成の一部であっても、ビデオプロセッサ1332を含むものであれば、本技術を適用した構成として実施することができる。例えば、ビデオプロセッサ1332のみを本技術を適用したビデオプロセッサとして実施することができる。また、例えば、上述したように点線1341により示されるプロセッサやビデオモジュール1311等を本技術を適用したプロセッサやモジュール等として実施することができる。さらに、例えば、ビデオモジュール1311、外部メモリ1312、パワーマネージメントモジュール1313、およびフロントエンドモジュール1314を組み合わせ、本技術を適用したビデオユニット1361として実施することもできる。いずれの構成の場合であっても、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 Note that even a part of each configuration of the video set 1300 described above can be implemented as a configuration to which the present technology is applied as long as it includes the video processor 1332. For example, only the video processor 1332 can be implemented as a video processor to which the present technology is applied. Further, for example, as described above, the processor, the video module 1311 and the like indicated by the dotted line 1341 can be implemented as a processor or a module to which the present technology is applied. Furthermore, for example, the video module 1311, the external memory 1312, the power management module 1313, and the front end module 1314 can be combined and implemented as a video unit 1361 to which the present technology is applied. In any case, the same effects as those described above with reference to FIGS. 1 to 44 can be obtained.
  つまり、ビデオプロセッサ1332を含むものであればどのような構成であっても、ビデオセット1300の場合と同様に、画像データを処理する各種装置に組み込むことができる。例えば、ビデオプロセッサ1332、点線1341により示されるプロセッサ、ビデオモジュール1311、または、ビデオユニット1361を、テレビジョン装置900(図45)、携帯電話機920(図46)、記録再生装置940(図47)、撮像装置960(図48)、図49のデータ伝送システム1000におけるパーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置、図50のデータ伝送システム1100における放送局1101および端末装置1102、並びに、図51の撮像システム1200における撮像装置1201およびスケーラブル符号化データ記憶装置1202等に組み込むことができる。そして、本技術を適用したいずれかの構成を組み込むことにより、その装置は、ビデオセット1300の場合と同様に、図1乃至図44を参照して上述した効果と同様の効果を得ることができる。 That is, any configuration including the video processor 1332 can be incorporated into various devices that process image data, as in the case of the video set 1300. For example, a video processor 1332, a processor indicated by a dotted line 1341, a video module 1311, or a video unit 1361, a television device 900 (FIG. 45), a mobile phone 920 (FIG. 46), a recording / playback device 940 (FIG. 47), Imaging device 960 (FIG. 48), terminal devices such as personal computer 1004, AV device 1005, tablet device 1006, and mobile phone 1007 in data transmission system 1000 in FIG. 49, broadcast station 1101 and terminal in data transmission system 1100 in FIG. It can be incorporated into the apparatus 1102, the imaging apparatus 1201 in the imaging system 1200 of FIG. 51, the scalable encoded data storage apparatus 1202, and the like. Then, by incorporating any configuration to which the present technology is applied, the apparatus can obtain the same effects as those described above with reference to FIGS. 1 to 44 as in the case of the video set 1300. .
  また、本明細書では、各種情報が、符号化ストリームに多重化されて、符号化側から復号側へ伝送される例について説明した。しかしながら、これら情報を伝送する手法はかかる例に限定されない。例えば、これら情報は、符号化ビットストリームに多重化されることなく、符号化ビットストリームと関連付けられた別個のデータとして伝送され又は記録されてもよい。ここで、「関連付ける」という用語は、ビットストリームに含まれる画像(スライス若しくはブロックなど、画像の一部であってもよい)と当該画像に対応する情報とを復号時にリンクさせ得るようにすることを意味する。即ち、情報は、画像(又はビットストリーム)とは別の伝送路上で伝送されてもよい。また、情報は、画像(又はビットストリーム)とは別の記録媒体(又は同一の記録媒体の別の記録エリア)に記録されてもよい。さらに、情報と画像(又はビットストリーム)とは、例えば、複数フレーム、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.
  なお、本技術は以下のような構成も取ることができる。
  (1)  複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、
  前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う符号化部と
  を備える画像符号化装置。
  (2)  前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行う
  (1)、(3)乃至(9)のいずれかに記載の画像符号化装置。
  (3)  前記フィルタ部は、
    前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、
    前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行う
  (1)、(2)、(4)乃至(9)のいずれかに記載の画像符号化装置。
  (4)  前記参照画像とする画像を記憶する記憶部をさらに備え、
  前記記憶部は、複数の参照フレームを記憶し、
  前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行う
  (1)乃至(3)、(5)乃至(9)のいずれかに記載の画像符号化装置。
  (5)  前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を伝送する伝送部をさらに備える
  (1)乃至(4)、(6)乃至(9)のいずれかに記載の画像符号化装置。
  (6)  前記伝送部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を伝送する
  (1)乃至(5)、(7)乃至(9)のいずれかに記載の画像符号化装置。
  (7)  前記伝送部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を伝送し、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに伝送する
  (1)乃至(6)、(8)、(9)のいずれかに記載の画像符号化装置。
  (8)  前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを設定する設定部をさらに備え、
  前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記設定部が設定したレイヤに応じた精度で前記フィルタ処理を行う
  (1)乃至(7)、(9)のいずれかに記載の画像符号化装置。
  (9)  前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略する
  (1)乃至(8)のいずれかに記載の画像符号化装置。
  (10)  複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、
  前記フィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う
  画像符号化方法。
  (11)  複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、
  前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う復号部と
  を備える画像復号装置。
  (12)  前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行う
  (11)、(13)乃至(19)のいずれかに記載の画像復号装置。
  (13)  前記フィルタ部は、
    前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、
    前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行う
  (11)、(12)、(14)乃至(19)のいずれかに記載の画像復号装置。
  (14)  前記参照画像を記憶する記憶部をさらに備え、
  前記記憶部は、複数の参照フレームを記憶し、
  前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行う
  (11)乃至(13)、(15)乃至(19)のいずれかに記載の画像復号装置。
  (15)  前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を受け取る受け取り部をさらに備える
  (11)乃至(14)、(16)乃至(19)のいずれかに記載の画像復号装置。
  (16)  前記受け取り部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を受け取り、
  前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記受け取り部により受け取られた前記制御情報により指定されるレイヤに応じた精度で前記フィルタ処理を行う
  (11)乃至(15)、(17)乃至(19)のいずれかに記載の画像復号装置。
  (17)  前記受け取り部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を受け取り、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに受け取る
  (11)乃至(16)、(18)、(19)のいずれかに記載の画像復号装置。
  (18)  前記参照画像が読み出された参照フレームの種類、および、前記受け取り部により受け取られた前記制御情報に応じて、前記フィルタ処理の精度を決定する精度制御部をさらに備え、
  前記フィルタ部は、前記精度制御部により決定された精度で前記フィルタ処理を行う
  (11)乃至(17)、(19)のいずれかに記載の画像復号装置。
  (19)  前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略する
  (11)乃至(18)のいずれかに記載の画像復号装置。
  (20)  複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、
  前記フィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う
  画像復号方法。
In addition, this technique can also take the following structures.
(1) A filter unit that performs a filtering process on a reference image used for encoding image data including a plurality of layers with accuracy according to the layer of the reference image;
An image encoding device comprising: an encoding unit that encodes a current layer of the image data using the reference image filtered by the filter unit.
(2) When the reference image is an image of another layer different from the current layer, the filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. (1) The image encoding device according to any one of (3) to (9).
(3) The filter unit includes:
If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy,
When the reference image is an image of another layer whose resolution is 1/2 of the current layer, the filter processing is performed with 1/8 pixel accuracy. (1), (2), (4) to (9) The image encoding device according to any one of the above.
(4) A storage unit for storing an image as the reference image is further provided,
The storage unit stores a plurality of reference frames,
The filter unit performs the filtering process on the image read as the reference image from the storage unit with accuracy according to the type of reference frame from which the reference image is read (1) to (3), (5) The image encoding device according to any one of (9).
(5) The image processing apparatus further includes a transmission unit that transmits information related to the filtering process on the image read from the reference frame of the storage unit as the reference image. (1) to (4) An image encoding apparatus according to claim 1.
(6) The transmission unit transmits control information for designating a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit as information relating to the filtering process. (5) The image encoding device according to any one of (7) to (9).
(7) The transmission unit transmits information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information refers to an image of the long term reference frame. The image encoding device according to any one of (1) to (6), (8), and (9), wherein the control information is further transmitted only when it is indicated that it is used as (1) to (6).
(8) The image processing apparatus further includes a setting unit that sets a layer of an image stored as a long term reference frame that is one of the reference frames in the storage unit,
When the reference image is an image read from the long-term reference frame, the filter unit performs the filtering process with accuracy according to the layer set by the setting unit. (1) to (7), ( 9) The image encoding device according to any one of the above.
(9) The image code according to any one of (1) to (8), wherein in the intra BL mode, the filter unit omits an intra smoothing process for the reference image that is an image of another layer different from the current layer. Device.
(10) Filtering the reference image used for encoding the image data composed of a plurality of layers with accuracy according to the layer of the reference image,
An image encoding method for encoding a current layer of the image data using the filtered reference image.
(11) A filter unit that performs a filtering process on a reference image used for decoding encoded data of image data including a plurality of layers with accuracy according to the layer of the reference image;
An image decoding apparatus comprising: a decoding unit that performs decoding of a current layer of the encoded data using the reference image filtered by the filter unit.
(12) When the reference image is an image of another layer different from the current layer, the filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process. (11) The image decoding device according to any one of (13) to (19).
(13) The filter unit includes:
If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy,
When the reference image is an image of another layer whose resolution is ½ of the current layer, the filter processing is performed with 1/8 pixel accuracy. (11), (12), (14) to (19) The image decoding device according to any one of the above.
(14) A storage unit for storing the reference image is further provided,
The storage unit stores a plurality of reference frames,
The filter unit performs the filtering process on the image read out as the reference image from the storage unit with an accuracy according to the type of the reference frame from which the reference image is read out (11) to (13), (15) The image decoding device according to any one of (19).
(15) The image processing apparatus may further include a receiving unit that receives information regarding the filtering process for the image read from the reference frame of the storage unit as the reference image. The image decoding apparatus described in 1.
(16) The receiving unit receives control information for designating a layer of an image stored as a long-term reference frame, which is one of the reference frames, in the storage unit as information relating to the filtering process.
When the reference image is an image read from the long-term reference frame, the filter unit performs the filtering process with accuracy according to a layer specified by the control information received by the receiving unit. The image decoding device according to any one of 11) to (15) and (17) to (19).
(17) The reception unit receives information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information uses the image of the long term reference frame as a reference image. The image decoding device according to any one of (11) to (16), (18), and (19), which further receives the control information only when it indicates use.
(18) It further includes an accuracy control unit that determines the accuracy of the filtering process according to the type of the reference frame from which the reference image is read out and the control information received by the receiving unit,
The image decoding device according to any one of (11) to (17) and (19), wherein the filter unit performs the filtering process with the accuracy determined by the accuracy control unit.
(19) The image decoding unit according to any one of (11) to (18), wherein in the intra BL mode, the filter unit omits an intra smoothing process for the reference image that is an image of another layer different from the current layer. apparatus.
(20) Filtering the reference image used for decoding the encoded data of the image data composed of a plurality of layers with accuracy according to the layer of the reference image,
An image decoding method for decoding a current layer of the encoded data using the filtered reference image.
  100  画像符号化装置,  101  ベースレイヤ画像符号化部,  102  エンハンスメントレイヤ画像符号化部,  103  多重化部,  142  フレームメモリ,  148  フィルタ制御部,  171  フィルタ処理部,  181  設定部,  182  レイヤ判定部,  183  フィルタ精度制御部,  200  画像復号装置,  201  逆多重化部,  202  ベースレイヤ画像復号部,  203  エンハンスメントレイヤ画像復号部,  239  フレームメモリ,  244  フィルタ制御部,  273  フィルタ処理部,  281  制御情報取得部,  282  レイヤ判定部282,  283  フィルタ精度制御部 100 image encoding device, 101 base layer image coder, 102 enhancement layer image coder, 103 multiplexing unit, 142 frame memory, filter control unit, filter processing unit, setting unit, layer determination unit, 183 filter accuracy control unit, 200 image decoding device, 201 demultiplexing unit, 202 base layer image decoding unit, 203 enhancement layer image decoding unit, メ モ リ frame memory, 244 filter control unit, 273 filter processing unit, 281 control information acquisition unit , 282 layer determination unit 282, 283 filter accuracy control unit

Claims (20)

  1.   複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、
      前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う符号化部と
      を備える画像符号化装置。
    A filter unit that performs a filtering process with accuracy according to the layer of the reference image with respect to a reference image used for encoding image data including a plurality of layers;
    An image encoding device comprising: an encoding unit that encodes a current layer of the image data using the reference image filtered by the filter unit.
  2.   前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行う
      請求項1に記載の画像符号化装置。
    The filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process when the reference image is an image of another layer different from the current layer. 2. The image encoding device according to 1.
  3.   前記フィルタ部は、
        前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、
        前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行う
      請求項2に記載の画像符号化装置。
    The filter unit is
    If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy,
    The image encoding device according to claim 2, wherein when the reference image is an image of another layer whose resolution is 1/2 of the current layer, the filter processing is performed with 1/8 pixel accuracy.
  4.   前記参照画像とする画像を記憶する記憶部をさらに備え、
      前記記憶部は、複数の参照フレームを記憶し、
      前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行う
      請求項1に記載の画像符号化装置。
    A storage unit for storing an image as the reference image;
    The storage unit stores a plurality of reference frames,
    The image code according to claim 1, wherein the filter unit performs the filtering process on the image read out as the reference image from the storage unit with accuracy according to a type of a reference frame from which the reference image is read out. Device.
  5.   前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を伝送する伝送部をさらに備える
      請求項4に記載の画像符号化装置。
    The image coding apparatus according to claim 4, further comprising: a transmission unit configured to transmit information related to the filtering process on an image read from a reference frame of the storage unit as the reference image.
  6.   前記伝送部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を伝送する
      請求項5に記載の画像符号化装置。
    The image according to claim 5, wherein the transmission unit transmits control information that designates a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit, as information relating to the filtering process. Encoding device.
  7.   前記伝送部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を伝送し、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに伝送する
      請求項6に記載の画像符号化装置。
    The transmission unit transmits information indicating whether the image of the long term reference frame is used as a reference image as information regarding the filtering process, and the information uses the image of the long term reference frame as a reference image. The image encoding device according to claim 6, wherein the control information is further transmitted only when indicating the above.
  8.   前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを設定する設定部をさらに備え、
      前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記設定部が設定したレイヤに応じた精度で前記フィルタ処理を行う
      請求項4に記載の画像符号化装置。
    A setting unit configured to set a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit;
    5. The image encoding according to claim 4, wherein, when the reference image is an image read from the long-term reference frame, the filter unit performs the filtering process with accuracy according to a layer set by the setting unit. apparatus.
  9.   前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略する
      請求項1に記載の画像符号化装置。
    The image encoding device according to claim 1, wherein in the intra BL mode, the filter unit omits an intra smoothing process for the reference image that is an image of another layer different from the current layer.
  10.   複数レイヤよりなる画像データの符号化に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、
      前記フィルタ処理された前記参照画像を用いて、前記画像データのカレントレイヤの符号化を行う
      画像符号化方法。
    For a reference image used for encoding image data composed of a plurality of layers, filter processing is performed with accuracy according to the layer of the reference image,
    An image encoding method for encoding a current layer of the image data using the filtered reference image.
  11.   複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行うフィルタ部と、
      前記フィルタ部によりフィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う復号部と
      を備える画像復号装置。
    A filter unit that performs filtering on the reference image used for decoding the encoded data of the image data composed of a plurality of layers with accuracy according to the layer of the reference image;
    An image decoding apparatus comprising: a decoding unit that performs decoding of a current layer of the encoded data using the reference image filtered by the filter unit.
  12.   前記フィルタ部は、前記参照画像がカレントレイヤと異なる他のレイヤの画像である場合、前記参照画像に対するアップサンプル処理と動き補償のための内挿処理とを、単一のフィルタ処理により行う
      請求項11に記載の画像復号装置。
    The filter unit performs an upsampling process and an interpolation process for motion compensation on the reference image by a single filter process when the reference image is an image of another layer different from the current layer. 11. The image decoding device according to 11.
  13.   前記フィルタ部は、
        前記参照画像がカレントレイヤの画像である場合、1/4画素精度で前記フィルタ処理を行い、
        前記参照画像が、解像度がカレントレイヤの1/2である他のレイヤの画像である場合、1/8画素精度で前記フィルタ処理を行う
      請求項12に記載の画像復号装置。
    The filter unit is
    If the reference image is an image of the current layer, perform the filtering process with 1/4 pixel accuracy,
    The image decoding device according to claim 12, wherein when the reference image is an image of another layer whose resolution is ½ of the current layer, the filter processing is performed with 1/8 pixel accuracy.
  14.   前記参照画像を記憶する記憶部をさらに備え、
      前記記憶部は、複数の参照フレームを記憶し、
      前記フィルタ部は、前記記憶部から前記参照画像として読み出された画像に対して、前記参照画像が読み出される参照フレームの種類に応じた精度で前記フィルタ処理を行う
      請求項11に記載の画像復号装置。
    A storage unit for storing the reference image;
    The storage unit stores a plurality of reference frames,
    The image decoding according to claim 11, wherein the filter unit performs the filtering process on an image read out as the reference image from the storage unit with accuracy according to a type of a reference frame from which the reference image is read out. apparatus.
  15.   前記参照画像として前記記憶部の参照フレームから読み出された画像に対する前記フィルタ処理に関する情報を受け取る受け取り部をさらに備える
      請求項14に記載の画像復号装置。
    The image decoding device according to claim 14, further comprising a receiving unit that receives information regarding the filter processing on an image read from a reference frame of the storage unit as the reference image.
  16.   前記受け取り部は、前記フィルタ処理に関する情報として、前記記憶部に前記参照フレームの1つであるロングターム参照フレームとして記憶される画像のレイヤを指定する制御情報を受け取り、
      前記フィルタ部は、前記参照画像が前記ロングターム参照フレームから読み出された画像である場合、前記受け取り部により受け取られた前記制御情報により指定されるレイヤに応じた精度で前記フィルタ処理を行う
      請求項15に記載の画像復号装置。
    The receiving unit receives control information for designating a layer of an image stored as a long-term reference frame that is one of the reference frames in the storage unit, as information relating to the filtering process,
    When the reference image is an image read from the long-term reference frame, the filter unit performs the filtering process with an accuracy according to a layer specified by the control information received by the receiving unit. Item 15. The image decoding device according to Item 15.
  17.   前記受け取り部は、前記フィルタ処理に関する情報として、前記ロングターム参照フレームの画像を参照画像として使用するかを示す情報を受け取り、前記情報が、前記ロングターム参照フレームの画像を参照画像として使用することを示す場合のみ、前記制御情報をさらに受け取る
      請求項16に記載の画像復号装置。
    The receiving unit receives information indicating whether the image of the long term reference frame is used as a reference image as information relating to the filtering process, and the information uses the image of the long term reference frame as a reference image. The image decoding apparatus according to claim 16, further receiving the control information only when indicating.
  18.   前記参照画像が読み出された参照フレームの種類、および、前記受け取り部により受け取られた前記制御情報に応じて、前記フィルタ処理の精度を決定する精度制御部をさらに備え、
      前記フィルタ部は、前記精度制御部により決定された精度で前記フィルタ処理を行う
      請求項16に記載の画像復号装置。
    An accuracy control unit that determines the accuracy of the filtering process according to the type of the reference frame from which the reference image is read out and the control information received by the receiving unit;
    The image decoding device according to claim 16, wherein the filter unit performs the filtering process with the accuracy determined by the accuracy control unit.
  19.   前記フィルタ部は、イントラBLモードの場合、カレントレイヤと異なる他のレイヤの画像である前記参照画像に対するイントラスムージング処理を省略する
      請求項11に記載の画像復号装置。
    The image decoding device according to claim 11, wherein, in the intra BL mode, the filter unit omits an intra smoothing process for the reference image that is an image of another layer different from the current layer.
  20.   複数レイヤよりなる画像データの符号化データの復号に用いる参照画像に対して、前記参照画像のレイヤに応じた精度でフィルタ処理を行い、
      前記フィルタ処理された前記参照画像を用いて、前記符号化データのカレントレイヤの復号を行う
      画像復号方法。
    Filtering the reference image used for decoding the encoded data of the image data composed of a plurality of layers with accuracy according to the layer of the reference image,
    An image decoding method for decoding a current layer of the encoded data using the filtered reference image.
PCT/JP2014/058160 2013-04-03 2014-03-25 Image encoding apparatus and method, and image decoding apparatus and method WO2014162916A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2013077662 2013-04-03
JP2013-077662 2013-04-03
JP2013120611 2013-06-07
JP2013-120611 2013-06-07

Publications (1)

Publication Number Publication Date
WO2014162916A1 true WO2014162916A1 (en) 2014-10-09

Family

ID=51658214

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/058160 WO2014162916A1 (en) 2013-04-03 2014-03-25 Image encoding apparatus and method, and image decoding apparatus and method

Country Status (1)

Country Link
WO (1) WO2014162916A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020106186A1 (en) * 2018-11-19 2020-05-28 Huawei Technologies Co., Ltd. Method and apparatus for hierarchical signaling of enabling and disabling prediction mechanisms for video coding

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000041261A (en) * 1998-07-23 2000-02-08 Sony Corp Device and method for decoding image
JP2011077721A (en) * 2009-09-29 2011-04-14 Victor Co Of Japan Ltd Image encoding device, image decoding device, image encoding method, and image decoding method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000041261A (en) * 1998-07-23 2000-02-08 Sony Corp Device and method for decoding image
JP2011077721A (en) * 2009-09-29 2011-04-14 Victor Co Of Japan Ltd Image encoding device, image decoding device, image encoding method, and image decoding method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
TAKAHIRO KIMOTO: "CE 3: inter-layer texture prediction", JOINT VIDEO TEAM (JVT) OF ISO/IEC MPEG & ITU-T VCEG (ISO/ IEC JTC1/SC29/WG11 AND ITU-T SG 16 Q.6), DOCUMENT: JVT-P303, July 2005 (2005-07-01), Retrieved from the Internet <URL:http://wftp3.itu.int/av-arch/jvt-site/2005_07_Poznan/JVT-P303.zip> [retrieved on 20140521] *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020106186A1 (en) * 2018-11-19 2020-05-28 Huawei Technologies Co., Ltd. Method and apparatus for hierarchical signaling of enabling and disabling prediction mechanisms for video coding
US11438629B2 (en) 2018-11-19 2022-09-06 Huawei Technologies Co., Ltd. Method and apparatus for hierarchical signaling of enabling and disabling prediction mechanisms for video coding

Similar Documents

Publication Publication Date Title
JP6780761B2 (en) Image coding device and method
JP6607414B2 (en) Image coding apparatus and method
JP6287035B2 (en) Decoding device and decoding method
KR102336932B1 (en) Image processing device and method
WO2015137145A1 (en) Image coding device and method, and image decoding device and method
JP6497562B2 (en) Image coding apparatus and method
WO2015098561A1 (en) Decoding device, decoding method, coding device, and coding method
WO2015053116A1 (en) Decoding device, decoding method, encoding device, and encoding method
JP2015005899A (en) Decoder and decoding method, encoder and encoding method
JP6654434B2 (en) Image processing apparatus and method
WO2015064403A1 (en) Image processing device and method
WO2014103764A1 (en) Image processing device and method
WO2015053112A1 (en) Decoding device and decoding method, and encoding device and encoding method
WO2015098559A1 (en) Decoding device, decoding method, encoding device, and encoding method
JP6477930B2 (en) Encoding apparatus and encoding method
WO2014208326A1 (en) Image encoding device and method, and image decoding device and method
WO2014162916A1 (en) Image encoding apparatus and method, and image decoding apparatus and method
WO2015064401A1 (en) Image processing device and method
WO2015098563A1 (en) Image encoding device and method and image decoding device and method
WO2015053111A1 (en) Decoding device and decoding method, and encoding device and encoding method
JP2015050738A (en) Decoder and decoding method, encoder and encoding method
WO2014156707A1 (en) Image encoding device and method and image decoding device and method
JP2017158206A (en) Image processing apparatus, method, and program
JP2016096457A (en) Image processor and 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: 14778790

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP