WO2015005136A1 - Image encoding device and method, and image decoding device and method - Google Patents

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

Info

Publication number
WO2015005136A1
WO2015005136A1 PCT/JP2014/067120 JP2014067120W WO2015005136A1 WO 2015005136 A1 WO2015005136 A1 WO 2015005136A1 JP 2014067120 W JP2014067120 W JP 2014067120W WO 2015005136 A1 WO2015005136 A1 WO 2015005136A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
unit
color difference
encoding
image data
Prior art date
Application number
PCT/JP2014/067120
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 WO2015005136A1 publication Critical patent/WO2015005136A1/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/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/46Embedding additional information in the video signal during the compression process
    • 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/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/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/186Methods 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 colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/96Tree coding, e.g. quad-tree coding

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 reduction in image quality due to encoding or decoding, and an image decoding apparatus. And methods.
  • ITU-T International Telecommunication Union Telecommunication Standardization Sector
  • ISO / IEC International Organization for Standardization
  • AVC Advanced Video Coding
  • JCTVC Joint Collaboration Team-Video Coding
  • Non-Patent Document 1 a joint standardization organization of International Electrotechnical Commission
  • the present disclosure has been made in view of such a situation, and is intended to suppress a reduction in image quality due to encoding or decoding.
  • One aspect of the present technology provides a generation unit that generates a plurality of color difference phase information related to the phase of a color difference signal of image data including a plurality of layers, a coding unit that encodes each layer of the image data, and the generation unit. And a transmission unit that transmits a plurality of the color difference phase information and the encoded data of the image data generated by the encoding unit.
  • the generation unit further generates index information indicating which of the plurality of color difference phase information to apply to each picture, and the transmission unit further transmits the index information. Can do.
  • the transmission unit can transmit a plurality of the color difference phase information and the index information in a sequence parameter set (SPS (Sequence Parameter Set)).
  • SPS Sequence Parameter Set
  • the generation unit may further generate information indicating the number of the color difference phase information, and the transmission unit may further transmit information indicating the number of the color difference phase information generated by the generation unit.
  • the generation unit When the image data is an interlaced image, and the encoding unit field encodes the image data, the generation unit generates the color difference phase information for each of a top field and a bottom field, and the transmission unit Can transmit the color difference phase information of both fields generated by the generation unit.
  • the generation unit further includes control information for performing control so that up-sampling of the image data is performed on a field basis.
  • the transmission unit may further transmit the control information generated by the generation unit.
  • a color difference phase setting unit that sets the phase of the color difference signal of the image data is further provided, and the generation unit can generate color difference phase information indicating the phase of the color difference signal set by the color difference phase setting unit.
  • An upsampling control unit that controls upsampling of the image data so as to apply the phase of the chrominance signal set by the chrominance phase setting unit, and a base layer of the image data according to control of the upsampling control unit
  • An upsampling unit for upsampling can be further provided.
  • a downsampling control unit that controls downsampling of the image data so as to apply the phase of the chrominance signal set by the chrominance phase setting unit, and an enhancement layer of the image data according to control of the downsampling control unit
  • a downsampling unit for downsampling can be further provided.
  • One aspect of the present technology also generates a plurality of color difference phase information related to the phase of the color difference signal of the image data composed of a plurality of layers, encodes each layer of the image data, and a plurality of the generated color difference phase information, It is an image encoding method for transmitting the generated encoded data of the image data.
  • Another aspect of the present technology is an acquisition unit that acquires encoded data of image data including a plurality of layers, and a plurality of color difference phase information related to a phase of a color difference signal of the image data, and a plurality of acquired by the acquisition unit
  • An upsampling control unit that controls upsampling of decoded image data of the encoded data so as to apply the phase of the chrominance signal indicated by any of the chrominance phase information, and according to the control of the upsampling control unit,
  • An upsampling unit that upsamples the base layer of the decoded image data, and the upsampling image data obtained by upsampling the base layer of the decoded image data by the upsampling unit.
  • a decoding unit that decodes the enhancement layer of the encoded data. It is a device.
  • the acquisition unit further acquires index information indicating which of the plurality of color difference phase information to apply to each picture, and the upsampling control unit uses the index information.
  • the color difference phase information to be applied can be designated.
  • the acquisition unit can acquire the chrominance phase information for each picture transmitted in a picture parameter set (PPS (Picture Parameter Set)).
  • PPS Picture Parameter Set
  • the acquisition unit further acquires information indicating the number of the color difference phase information, and the color difference phase information acquired by the acquisition unit based on the information indicating the number of the color difference phase information acquired by the acquisition unit
  • the color difference phase information number determination unit for determining the number of the color difference phase information may be further provided.
  • the acquisition unit further acquires control information for performing control so that upsampling of the image data is performed on a field basis, and the upsampling control unit is configured to acquire the decoded image data according to the control information acquired by the acquisition unit. Can control upsampling.
  • Another aspect of the present technology also obtains encoded data of image data including a plurality of layers and a plurality of color difference phase information related to a phase of a color difference signal of the image data, and the obtained plurality of the color difference phase information.
  • a base layer encoding unit that encodes a base layer of image data and generates encoded data, and the code obtained by encoding the image data by the base layer encoding unit
  • An up-sample image of the decoded image data is generated by performing an up-sample of each frame of the decoded image data obtained by decoding the encoded data by a method corresponding to a method of a frame rate conversion process performed on the image data.
  • An image encoding device comprising: an upsampling unit; and an enhancement layer encoding unit that generates an encoded data by encoding an enhancement layer of the image data using the upsampled image generated by the upsampling unit. is there.
  • each of the decoded image data obtained by decoding the encoded data obtained by encoding a base layer of the image data, generating encoded data, and encoding the image data is provided.
  • the frame up-sampling is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, the up-sampled image of the decoded image data is generated, and the generated up-sampled image is used.
  • a base layer decoding unit that decodes encoded data obtained by encoding a base layer of image data, and a base obtained by decoding the decoded data by the base layer decoding unit.
  • An upsampling unit that performs upsampling of each frame of the decoded image data of the layer by a method according to a scanning method frame rate conversion method performed on the image data, and generates an upsampled image of the decoded image data;
  • An image decoding apparatus comprising: an enhancement layer decoding unit that decodes encoded data in which an enhancement layer of the image data is encoded using the upsampled image generated by the upsampling unit.
  • the encoded data obtained by encoding the base layer of the image data is decoded, and each frame of the decoded image data of the base layer obtained by decoding the decoded data is uploaded.
  • the sample is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, an upsample image of the decoded image data is generated, and the image is generated using the generated upsample image.
  • This is an image decoding method for decoding encoded data obtained by encoding an enhancement layer of data.
  • a plurality of color difference phase information related to the phase of the color difference signal of the image data including a plurality of layers is generated, each layer of the image data is encoded, and the generated plurality of color difference phase information is generated.
  • the encoded data of the image data is transmitted.
  • encoded data of image data including a plurality of layers and a plurality of color difference phase information regarding the phase of a color difference signal of the image data are acquired, and any one of the acquired plurality of color difference phase information
  • the up-sampling of the decoded image data of the encoded data is controlled so as to apply the phase of the chrominance signal indicated by, the base layer of the decoded image data is up-sampled according to the control, and the base layer of the decoded image data is up-sampled
  • the enhancement layer of the acquired encoded data is decoded using the upsampled image data obtained in this way.
  • the base layer of the image data is encoded, the encoded data is generated, and each frame of the decoded image data obtained by decoding the encoded data is obtained by encoding the image data.
  • Up-sampling is performed by a method corresponding to the scanning method frame rate conversion processing method performed on the image data, an up-sample image of the decoded image data is generated, and the generated up-sample image is used to generate the image data.
  • the enhancement layer is encoded to generate encoded data.
  • the encoded data obtained by encoding the base layer of the image data is decoded, and the up-sample of each frame of the decoded image data of the base layer obtained by decoding the decoded data is performed. This is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, an upsampled image of the decoded image data is generated, and an enhancement layer of the image data is generated using the generated upsampled image.
  • the encoded data that has been encoded is decoded.
  • an image can be encoded / decoded.
  • reduction in image quality due to encoding or decoding can be suppressed.
  • 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.
  • 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 can be assigned to an interlaced scanned image having a standard resolution having 720 ⁇ 480 pixels.
  • a code amount (bit rate) of 18 to 22 Mbps can be allocated. As a result, a high compression rate and good image quality can be realized.
  • MPEG2 was mainly intended for high-quality encoding suitable for broadcasting, but it did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate. With the widespread use of mobile terminals, the need for such an encoding system is expected to increase in the future, and the MPEG4 encoding system has been standardized accordingly. Regarding the image coding system, 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
  • JCTVC Joint Collaboration Team-Video Coding
  • ISO / IEC International Organization for Standardization // International Electrotechnical Commission
  • HEVC High Efficiency Video Coding
  • ⁇ Coding unit> In the AVC (Advanced Video Coding) method, a hierarchical structure is defined by macroblocks and sub-macroblocks. However, a macro block of 16 ⁇ 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: 4000 pixels ⁇ 2000 pixels
  • a coding unit (Coding Unit)) is defined.
  • CU is also called Coding Tree Block (CTB) and is a partial area of a picture unit image that plays the same role as a macroblock in the AVC method.
  • CTB Coding Tree Block
  • the latter is fixed to a size of 16 ⁇ 16 pixels, whereas the size of the former is not fixed, and is specified in the image compression information in each sequence.
  • the maximum size (LCU (Largest Coding Unit)) and the minimum size (SCU (Smallest Coding Unit)) are specified.
  • the LCU size is 128 and the maximum hierarchical depth is 5.
  • split_flag is “1”
  • the 2Nx2N CU is divided into NxN CUs that are one level below.
  • the CU is divided into prediction units (Prediction Units (PU)) that are regions (partial regions of images in units of pictures) that are processing units of intra or inter prediction, and are regions that are processing units of orthogonal transformation It is divided into transform units (Transform Unit (TU)), which is (a partial area of an image in units of pictures).
  • Prediction Units PU
  • transform Unit Transform Unit
  • a macro block in the AVC method corresponds to an LCU
  • a block (sub block) corresponds to a CU. Then you can think.
  • a motion compensation block in the AVC method can be considered to correspond to a PU.
  • the size of the LCU of the highest hierarchy is generally set larger than the macro block of the AVC method, for example, 128 ⁇ 128 pixels.
  • the LCU also includes a macro block in the AVC method
  • the CU also includes a block (sub-block) in the AVC method.
  • “block” used in the following description indicates an arbitrary partial area in the picture, and its size, shape, characteristics, and the like are not limited. That is, the “block” includes an arbitrary area (processing unit) such as a TU, PU, SCU, CU, LCU, sub-block, macroblock, or slice. Of course, other partial areas (processing units) are also included. When it is necessary to limit the size, processing unit, etc., it will be described as appropriate.
  • CTU Coding Tree Unit
  • CTB Coding Tree Block
  • CU Coding ⁇ Unit
  • CB Coding ⁇ ⁇ ⁇ ⁇ Block
  • JM Job Model
  • JM JM
  • High Complexity Mode Low Complexity Mode.
  • a cost function value for each prediction mode Mode is calculated, and a prediction mode that minimizes the cost function value is selected as the optimum mode for the block or macroblock.
  • is the difference energy between the decoded image and the input image when the entire set D of candidate modes for encoding the block or macroblock is 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.
  • the multiple layers of this hierarchical image use the base layer (base layer) that encodes and decodes using only the image of its own layer without using the image of the other layer, and the image of the other layer.
  • a non-base layer also referred to as an enhancement 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
  • 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.
  • a 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)) as shown in FIG. 5 may be applied as a parameter for providing such scalability (SNR-scalability).
  • SNR-scalability the SNR scalability
  • the SN ratio is different for each layer. That is, in this case, as shown in FIG. 5, each picture is combined with a base layer having an SNR lower than that of the original image and an enhancement layer in which the original image (original SNR) is obtained by combining with the base layer image. Are divided into two layers.
  • 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 parameters for providing scalability may be other than the examples described above.
  • 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) that can obtain a 10-bit (bit) image is 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).
  • ⁇ Phase of color difference signal in scalable encoding / decoding> in the case of scalable encoding / decoding, a base layer image (decoded image obtained in base layer encoding / decoding). For example, it can be used as a reference image. In this case, for example, in the case of spatial scalability, there is a method of up-sampling the base layer image to match the enhancement layer resolution.
  • Non-Patent Document 2 proposed a method for transmitting the phase of the color difference signal in the enhancement layer image compression information to be output.
  • Non-Patent Document 2 proposes a syntax as shown in FIG. 7 in order to support various phases of color difference signals as shown in FIG.
  • sampling_grid_information including information such as horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, chroma_phase_y, etc., as shown in FIG. 7B, is shown in FIG.
  • SPS Sequence Parameter Set
  • the up-sampling process is performed by applying the phase of the color difference signal indicated in the information regarding the phase of the color difference signal to be transmitted in this way.
  • the up-sampling process is performed by applying the phase of the color difference signal indicated in the information regarding the phase of the color difference signal transmitted in this way.
  • the phase of the color difference signal in the interlaced image whose scanning method is interlaced is as shown in FIG. 8, for example.
  • squares indicate luminance signals and circles indicate color difference signals.
  • the phase of the color difference signal of the interlaced image is as in the example shown in A of FIG.
  • the phase of the color difference signal of the interlaced image is as shown in the example shown in B of FIG. 8 or C of FIG.
  • FIG. 8B shows an example of the phase of the color difference signal in the top field
  • FIG. 8C shows an example of the phase of the color difference signal in the bottom field.
  • Non-Patent Document 2 only frame-based upsampling processing can be specified.
  • color difference phase information for top field and color difference phase information for bottom field are To be transmitted.
  • the top field color difference phase information is applied and the bottom field is processed.
  • the color difference phase information for the bottom field is applied.
  • phase of the color difference signal can be more accurately reflected in the upsampling process performed in the field-based encoding / decoding, and a more accurate upsampled image can be obtained. Therefore, reduction in image quality due to encoding and decoding can be suppressed.
  • information indicating which color difference phase information is applied to each picture may be transmitted together with a plurality of color difference phase information.
  • an index may be assigned to each color difference phase information, and which color difference phase information is applied to each picture may be designated by the index.
  • the index information specifying the index assigned to the color difference phase information of the top field picture is transmitted to the field picture of the top field, and the color difference phase information of the bottom field picture is transmitted to the field picture of the bottom field.
  • Index information for designating an index assigned to the ID may be transmitted. By doing so, it is possible to easily indicate which color difference phase information is applied to each picture with an index having a small amount of data. Therefore, an increase in code amount can be suppressed.
  • a plurality of color difference phase information and index information indicating an index of color difference phase information to be applied for each picture may be transmitted.
  • a plurality of color difference phase information is transmitted in a sequence parameter set (SPS), and index information indicating an index of color difference phase information applied to the picture is transmitted in each picture parameter set (PPS). Also good. By doing in this way, the increase in code amount can be suppressed.
  • SPS sequence parameter set
  • PPS picture parameter set
  • information indicating the number of pieces of color difference phase information to be transmitted may be transmitted.
  • control information for controlling the upsampling of image data to be performed on a field basis may be transmitted.
  • control information for controlling the upsampling process to be performed on a field basis instead of a frame basis may be transmitted.
  • FIG. 9 shows an example of syntax related to the phase of such a color difference signal.
  • sampling_glid_information () is transmitted in a sequence parameter set (SPS) (for example, sps_extension ()).
  • SPS sequence parameter set
  • sampling_glid_information includes the following information.
  • num_phase_offset Information indicating the number of color difference phase information.
  • field_base_upsampling_flag Control information that controls to perform upsampling on a field basis.
  • horizontal_phase_offset16 Information indicating the horizontal offset of the phase.
  • vertical_phase_offset16 Information indicating the offset in the vertical direction of the phase.
  • chroma_phase_x_flag Information indicating whether or not to perform a phase shift in the horizontal direction of the color difference signal.
  • chroma_phase_y Information indicating whether or not to perform a phase shift in the vertical direction of the color difference signal.
  • phase_offset_idx Indicates an index assigned to color difference phase information.
  • horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, and chroma_phase_y are transmitted as color difference phase information.
  • a plurality of these pieces of information are transmitted, and an index (phase_offset_idx) is assigned to each piece of information.
  • phase_offset_idx (index information) is transmitted in a picture parameter set (PPS) (for example, pps_extension ()). That is, in each picture parameter set (PPS), an index of chrominance phase information applied to the picture is designated.
  • PPS picture parameter set
  • chrominance phase information applied to the picture may be transmitted.
  • chrominance phase information having a data amount larger than that of index information is transmitted for each picture, so that the code amount may increase as compared with the above example, but the sequence parameter set ( SPS) reference becomes unnecessary, and control related to upsampling can be facilitated.
  • the syntax shown in FIG. 7 may be transmitted in the picture parameter set (PPS), and the description thereof will be omitted.
  • FIG. 10 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. 10 is a device that performs hierarchical image encoding (scalable encoding) with spatial scalability.
  • the image coding apparatus 100 includes a color difference phase control unit 101, a downsampling unit 102, a base layer image coding unit 103, an upsampling unit 104, an enhancement layer image coding unit 105, and a multiplexing Part 106.
  • the color difference phase control unit 101 controls the phase setting in the down-sampling processing of the color difference signal by the down-sampling unit 102 and the phase setting in the up-sampling processing of the color difference signal by the up-sampling unit 104.
  • the color difference phase control unit 101 obtains image information such as whether or not an interlaced image is obtained from a high-resolution enhancement layer image input to the image encoding device 100, and the phase of the color difference signal based on the image information or the like. Set.
  • the color difference phase control unit 101 supplies the color difference phase control information, which is control information indicating the setting of the phase of the color difference signal, to the downsampling unit 102.
  • the color difference phase control unit 101 also supplies the color difference phase control information to the upsampling unit 104.
  • the color difference phase control unit 101 further generates transmission information (also referred to as color difference phase information) regarding the phase of the set color difference signal, and a sequence parameter set (SPS) or picture parameter set (PPS) including the color difference phase information. Etc. header information is generated.
  • the chrominance phase control unit 101 supplies the generated header information to the enhancement layer image encoding unit 105, and transmits it to the decoding side as an enhancement layer bit stream (enhancement layer image encoded stream).
  • the downsampling unit 102 downsamples the enhancement layer image and generates a base layer image having a lower resolution than the enhancement layer image.
  • the down-sampling unit 102 applies the setting of the phase of the color-difference signal indicated by the color-difference phase control information supplied from the color-difference phase control unit 101, that is, performs the down-sampling process of the color difference signal according to the control of the color difference phase control unit 101. Do. By doing so, the phase of the color difference signal of the base layer image can be made the same as that of the color difference signal of the enhancement layer image. That is, a more accurate base layer image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
  • the down-sample unit 102 supplies the generated base layer image to the base layer image encoding unit 103.
  • the base layer image encoding unit 103 encodes the base layer image supplied from the downsampling unit 102, and generates a base layer image encoded stream.
  • the base layer image encoding unit 103 supplies the generated base layer image encoded stream to the multiplexing unit 106.
  • the base layer image encoding unit 103 also supplies a decoded image (also referred to as a base layer decoded image) generated in the encoding of the base layer image to the upsampling unit 104.
  • the upsampling unit 104 upsamples the low-resolution base layer decoded image supplied from the base layer image coding unit 103, and generates an upsampled image having the same resolution as the enhancement layer image.
  • the upsampling unit 104 applies the phase setting of the color difference signal indicated by the color difference phase control information supplied from the color difference phase control unit 101, that is, performs the upsampling process of the color difference signal according to the control of the color difference phase control unit 101. Do. By doing so, the phase of the color difference signal of the upsampled image can be made the same as that of the base layer decoded image (that is, the phase difference signal of the enhancement layer image can be made the same). That is, a more accurate upsampled image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
  • the upsample unit 104 supplies the generated upsample image to the enhancement layer image encoding unit 105.
  • the enhancement layer image encoding unit 105 encodes the enhancement layer image input to the image encoding device 100, and generates an enhancement layer image encoded stream.
  • the enhancement layer image encoding unit 105 uses the upsample image supplied from the upsample unit 104 as a reference image for prediction processing and the like.
  • the enhancement layer image encoding unit 105 includes the header information supplied from the color difference phase control unit 101 in the enhancement layer image encoded stream.
  • the enhancement layer image encoding unit 105 supplies the generated enhancement layer image encoded stream to the multiplexing unit 106.
  • the multiplexing unit 106 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 103 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 105 to generate a hierarchical image code Generate a stream.
  • the multiplexing unit 106 transmits the generated hierarchical image encoded stream to the decoding side.
  • FIG. 11 is a block diagram illustrating a main configuration example of the color difference phase control unit 101 of FIG.
  • the color difference phase control unit 101 includes a scanning method determination unit 121, an encoding method setting unit 122, a color difference phase setting unit 123, a downsample color difference phase control unit 124, an upsample color difference phase control unit 125, A color difference phase information generation unit 126 and an enhancement layer header information generation unit 127 are included.
  • the scanning method determination unit 121 acquires image information of an enhancement layer image input to the image encoding device 100, and determines whether the scanning method of the enhancement layer image (that is, the input image to be encoded) is interlaced. To do.
  • the scanning method determination unit 121 sends the determination result, that is, information indicating the scanning method of the input image (information indicating whether the input image is an interlaced image) to the color difference phase setting unit 123 and the color difference phase information generation unit 126. Supply.
  • the encoding method setting unit 122 is, for example, an encoding method of encoding in the base layer image encoding unit 103 or the enhancement layer image encoding unit 105 according to an instruction from the outside such as a user or a predetermined setting. Set.
  • the encoding method indicates field-based encoding / frame-based encoding. That is, the encoding scheme setting unit 122 sets whether to perform field-based encoding or frame-based encoding in the base layer image encoding unit 103 and the enhancement layer image encoding unit 105.
  • the encoding scheme setting unit 122 uses information indicating the set encoding scheme (that is, information indicating whether to perform field-based encoding or frame-based encoding) as a chrominance phase setting unit 123 and a chrominance phase information generation unit 126. To supply.
  • the chrominance phase setting unit 123 is based on information supplied from the scanning method determination unit 121 and the encoding method setting unit 122, that is, whether or not the enhancement layer image is an interlaced image.
  • the phase of the color difference signal is set depending on whether the encoding is performed by encoding or frame encoding.
  • the color difference phase setting unit 123 sets the phase of the color difference signal for each field picture of the top field and the bottom field. That is, in this case, the color difference phase setting unit 123 sets a plurality of phases of the color difference signal for a single sequence. For example, when the input image is an interlaced image and is frame-encoded, the color difference phase setting unit 123 sets the phase of the color difference signal for the frame picture. That is, the color difference phase setting unit 123 sets one phase of the color difference signal for a single sequence.
  • the color difference phase setting unit 123 sets the phase of the color difference signal for the frame picture. That is, the color difference phase setting unit 123 sets one phase of the color difference signal for a single sequence.
  • the color difference phase setting unit 123 supplies information indicating the phase of the set color difference signal (color difference phase) to the downsample color difference phase control unit 124, the upsample color difference phase control unit 125, and the color difference phase information generation unit 126. For example, when the input image is an interlaced image and is frame-encoded, the color difference phase setting unit 123 instructs the downsample color difference phase control unit 124 to perform the downsample processing on the field basis, and The up-sampling color difference phase control unit 125 is instructed to perform the up-sampling process.
  • the downsample color difference phase control unit 124 generates color difference phase control information using the color difference phase supplied from the color difference phase setting unit 123, and supplies it to the downsample unit 102. That is, the downsample color difference phase control unit 124 controls the phase setting of the downsample processing of the color difference signal by the downsample unit 102.
  • the downsample chrominance phase control unit 124 sets a plurality of chrominance signals set for a single sequence in the downsampling processing of the topfield chrominance signal.
  • the phase of the color difference signal set for the top field is controlled to be applied, and the phase of the color difference signal set for the bottom field is applied in the down-sampling processing of the color difference signal of the bottom field.
  • the downsample color difference phase control unit 124 uses a single set for a single sequence in the downsample processing of the frame color difference signal. The control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
  • the downsample chrominance phase control unit 124 uses a single sequence set for a single sequence in the downsample processing of the chrominance signal of the frame. Control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
  • the down-sample color difference phase control unit 124 can control the down-sample processing so as to suppress the occurrence of a phase shift and obtain a more accurate base layer image.
  • the down-sample color difference phase control unit 124 may further control the down-sample unit 102 so that the down-sampling process is performed on a field basis. Good. By doing so, it is possible to perform down-sampling processing using pixel values at the same time, and to obtain a more accurate base layer image.
  • the upsample chrominance phase control unit 125 generates chrominance phase control information using the chrominance phase supplied from the chrominance phase setting unit 123 and supplies it to the upsampling unit 104. That is, the upsample color difference phase control unit 125 controls the phase setting of the upsample process of the color difference signal by the upsample unit 104.
  • the upsample chrominance phase control unit 125 performs a chrominance signal that is set in plural for a single sequence in the upsample processing of the chrominance signal in the top field.
  • the phase of the color difference signal set for the top field is controlled to be applied, and the phase of the color difference signal set for the bottom field is applied in the upsampling processing of the color difference signal of the bottom field.
  • the upsample color difference phase control unit 125 performs a single set for a single sequence in the upsample processing of the frame color difference signal. The control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
  • the upsample color difference phase control unit 125 performs a single set for a single sequence in the upsample processing of the frame color difference signal. Control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
  • the upsample color difference phase control unit 125 can control the upsample processing so as to suppress the occurrence of phase shift and the like and obtain a more accurate upsample image.
  • the upsample color difference phase control unit 125 may further control the upsampler unit 104 to perform the upsample process on a field basis. Good. By doing so, it is possible to perform up-sampling processing using pixel values at the same time, and it is possible to obtain a more accurate up-sampled image.
  • the color difference phase information generation unit 126 generates color difference phase information for transmission using the color difference phase supplied from the color difference phase setting unit 123.
  • the chrominance phase information generation unit 126 is based on information supplied from the scanning method determination unit 121 and the encoding method setting unit 122, that is, whether or not the enhancement layer image is an interlaced image, whether each layer of the input image is a field. Color difference phase information is generated depending on whether encoding is performed by base encoding or frame encoding.
  • the chrominance phase information generation unit 126 generates chrominance phase information such as the syntax of the example of FIG. 9A as described in the first embodiment, for example.
  • the chrominance phase information generation unit 126 can also set horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, and chroma_phase_y as chrominance phase information.
  • the color difference phase information is not limited to these.
  • the chrominance phase information may not include some of these, the chrominance phase information may include information other than these, or the chrominance phase information may be configured only by information other than these. It may be.
  • the color difference phase information generation unit 126 can also assign an index (phase_offset_idx) to these color difference phase information. For example, when the input image is an interlaced image and is field-encoded, the chrominance phase information generation unit 126 generates a plurality of chrominance phase information for one sequence (the chrominance phase information for the top field and the bottom field). Color difference phase information may be generated), and different indexes may be assigned to the color difference phase information for each field.
  • the color difference phase information generation unit 126 when the input image is frame-encoded, the color difference phase information generation unit 126 generates one color difference phase information (color difference phase information for a frame picture) for one sequence, and the color difference phase information is included in the color difference phase information.
  • An index may be assigned to each other.
  • the chrominance phase information generation unit 126 may set the chrominance phase information to be applied to each picture using index information (phase_offset_idx) as in the example of FIG. 9B.
  • the chrominance phase information generation unit 126 generates information (num_phase_offset) indicating the number of chrominance phase information as in the syntax of the example of FIG. 9A described in the first embodiment, for example. Also good.
  • the chrominance phase information generation unit 126 performs upsampling as in the syntax of the example of FIG. 9A described in the first embodiment.
  • Control information (field_base_upsampling_flag) for controlling the processing to be performed on a field basis may be generated.
  • the color difference phase information generation unit 126 supplies the color difference phase information generated as described above to the enhancement layer header information generation unit 127.
  • the enhancement layer header information generation unit 127 generates header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including information supplied from the color difference phase information generation unit 126.
  • header information sequence parameter set (SPS), picture parameter set (PPS), etc.
  • the enhancement layer header information generation unit 127 generates a sequence parameter set (SPS) including the syntax sampling_glid_information () shown in A of FIG. Further, the enhancement layer header information generation unit 127 generates, for example, a picture parameter set (PPS) including the syntax shown in B of FIG.
  • SPS sequence parameter set
  • PPS picture parameter set
  • the enhancement layer header information generation unit 127 supplies the generated header information to the enhancement layer image encoding unit 105, and transmits chrominance phase information and the like as an enhancement layer image encoded stream to the decoding side.
  • the chrominance phase information generation unit 126 suppresses the occurrence of phase shift and the like so that an accurate upsampled image can be obtained at the time of decoding. Can be. That is, it is possible to suppress a reduction in image quality due to decoding.
  • the enhancement layer header information generation unit 127 has been described as generating header information as in the example of FIG. 9, but the present invention is not limited to this example.
  • color difference phase information applied to the picture may be stored in each picture parameter set (PPS). That is, the enhancement layer header information generation unit 127 may generate a picture parameter set (PPS) including color difference phase information applied to the picture.
  • PPS picture parameter set
  • FIG. 12 is a block diagram illustrating a main configuration example of the base layer image encoding unit 103 in FIG.
  • the base layer image encoding unit 103 includes a screen rearrangement buffer 131, a calculation unit 132, an orthogonal transformation unit 133, a quantization unit 134, a lossless encoding unit 135, a storage buffer 136, and an inverse quantization.
  • a unit 137 and an inverse orthogonal transform unit 138 is an inverse orthogonal transform unit 138.
  • the base layer image encoding unit 103 also includes a calculation unit 139, a loop filter 140, a frame memory 141, a selection unit 142, an intra prediction unit 143, an inter prediction unit 144, a predicted image selection unit 145, and a rate control unit 146. .
  • the screen rearrangement buffer 131 stores the input image data (base layer image information), and the frame images stored in the display order are encoded according to GOP (Group Of Picture). The images rearranged in order and the image in which the order of the frames is rearranged are supplied to the calculation unit 132. In addition, the screen rearrangement buffer 131 also supplies the image in which the frame order is rearranged to the intra prediction unit 143 and the inter prediction unit 144.
  • GOP Group Of Picture
  • the calculation unit 132 subtracts the prediction image supplied from the intra prediction unit 143 or the inter prediction unit 144 via the prediction image selection unit 145 from the image read from the screen rearrangement buffer 131, and orthogonalizes the difference information.
  • the data is output to the conversion unit 133.
  • the calculation unit 132 subtracts the prediction image supplied from the intra prediction unit 143 from the image read from the screen rearrangement buffer 131.
  • the calculation unit 132 subtracts the prediction image supplied from the inter prediction unit 144 from the image read from the screen rearrangement buffer 131.
  • the orthogonal transform unit 133 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computing unit 132.
  • the orthogonal transform unit 133 supplies the transform coefficient to the quantization unit 134.
  • the quantization unit 134 quantizes the transform coefficient supplied from the orthogonal transform unit 133.
  • the quantization unit 134 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 146, and performs the quantization.
  • the quantization unit 134 supplies the quantized transform coefficient to the lossless encoding unit 135.
  • the lossless encoding unit 135 encodes the transform coefficient quantized by the quantization unit 134 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 146, this code amount becomes the target value set by the rate control unit 146 (or approximates the target value).
  • the lossless encoding unit 135 acquires information indicating the mode of intra prediction from the intra prediction unit 143, and acquires information indicating the mode of inter prediction, differential motion vector information, and the like from the inter prediction unit 144. Further, the lossless encoding unit 135 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 135 encodes these various types of information using an arbitrary encoding method, and sets (multiplexes) the encoded information (also referred to as an encoded stream) as a part.
  • the lossless encoding unit 135 supplies the encoded data obtained by encoding to the accumulation buffer 136 for accumulation.
  • Examples of the encoding method of the lossless encoding unit 135 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 accumulation buffer 136 temporarily holds the encoded stream (base layer image encoded stream) supplied from the lossless encoding unit 135.
  • the accumulation buffer 136 outputs the held base layer image encoded stream to the multiplexing unit 106 (FIG. 10) at a predetermined timing. That is, the accumulation buffer 136 is also a transmission unit that transmits the base layer image encoded stream.
  • the transform coefficient quantized by the quantization unit 134 is also supplied to the inverse quantization unit 137.
  • the inverse quantization unit 137 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 134.
  • the inverse quantization unit 137 supplies the obtained transform coefficient to the inverse orthogonal transform unit 138.
  • the inverse orthogonal transform unit 138 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 137 by a method corresponding to the orthogonal transform process by the orthogonal transform unit 133.
  • the inversely orthogonal transformed output (restored difference information) is supplied to the calculation unit 139.
  • the calculation unit 139 adds the prediction image from the intra prediction unit 143 or the inter prediction unit 144 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 138, via the prediction image selection unit 145. Addition is performed to obtain a locally decoded image (decoded image).
  • the decoded image is supplied to the loop filter 140 or the frame memory 141.
  • the loop filter 140 includes a deblock filter, an adaptive loop filter, and the like, and appropriately performs a filtering process on the reconstructed image supplied from the calculation unit 139.
  • the loop filter 140 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image.
  • the loop filter 140 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 loop filter 140 supplies a filter processing result (hereinafter referred to as a decoded image) to the frame memory 141.
  • the loop filter 140 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 140 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 135 and encode it as necessary.
  • the frame memory 141 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 142 at a predetermined timing.
  • the frame memory 141 stores the reconstructed image supplied from the calculation unit 139 and the decoded image supplied from the loop filter 140, respectively.
  • the frame memory 141 supplies the stored reconstructed image to the intra prediction unit 143 via the selection unit 142 at a predetermined timing or based on a request from the outside such as the intra prediction unit 143.
  • the frame memory 141 supplies the stored decoded image to the inter prediction unit 144 via the selection unit 142 at a predetermined timing or based on a request from the outside such as the inter prediction unit 144. .
  • the selection unit 142 selects a reference image supply destination supplied from the frame memory 141.
  • the selection unit 142 supplies a reference image (a pixel value in the current picture or a base layer decoded image) supplied from the frame memory 141 to the intra prediction unit 143.
  • the selection unit 142 supplies a reference image (a decoded image or a base layer decoded image outside the current picture of the enhancement layer) supplied from the frame memory 141 to the inter prediction unit 144.
  • the intra prediction unit 143 performs a prediction process on a current picture that is an image of a processing target frame to generate a predicted image.
  • the intra prediction unit 143 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the intra prediction unit 143 generates a predicted image of the current block that is the processing target of the current picture.
  • the intra prediction unit 143 performs prediction processing (intra-screen prediction (also referred to as intra prediction)) using a reconstructed image supplied as a reference image from the frame memory 141 via the selection unit 142. That is, the intra prediction unit 143 generates a prediction 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 143 performs this intra prediction in the plurality of intra prediction modes prepared in advance.
  • the intra prediction unit 143 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 131, and selects the optimum mode. select. When the intra prediction unit 143 selects the optimal intra prediction mode, the intra prediction unit 143 supplies the predicted image generated in the optimal mode to the predicted image selection unit 145.
  • the intra prediction unit 143 appropriately supplies the intra prediction mode information indicating the adopted intra prediction mode to the lossless encoding unit 135 to be encoded.
  • the inter prediction unit 144 performs prediction processing on the current picture and generates a predicted image.
  • the inter prediction unit 144 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 144 generates a predicted image of the current block that is the processing target of the current picture.
  • the inter prediction unit 144 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 131 and the image data of the decoded image supplied as a reference image from the frame memory 141.
  • 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 144 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a predicted 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 144 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 144 uses the reference image to perform motion compensation processing according to the detected motion vector, 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 144 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
  • the inter prediction unit 144 generates a prediction image in all candidate inter prediction modes.
  • the inter prediction unit 144 evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 131, 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 144 supplies the predicted image generated in the optimal mode to the predicted image selection unit 145.
  • the inter prediction unit 144 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 135 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 145 selects a supply source of the predicted image to be supplied to the calculation unit 132 or the calculation unit 139.
  • the predicted image selection unit 145 selects the intra prediction unit 143 as the supply source of the predicted image, and supplies the predicted image supplied from the intra prediction unit 143 to the calculation unit 132 and the calculation unit 139.
  • the predicted image selection unit 145 selects the inter prediction unit 144 as a supply source of the predicted image, and calculates the predicted image supplied from the inter prediction unit 144 as the calculation unit 132 or the calculation unit 139. To supply.
  • the rate control unit 146 controls the quantization operation rate of the quantization unit 134 based on the code amount of the encoded data stored in the storage buffer 136 so that overflow or underflow does not occur.
  • the base layer image encoding unit 103 performs encoding without referring to other layers. That is, the intra prediction unit 143 and the inter prediction unit 144 do not use decoded images of other layers as reference images.
  • the frame memory 141 supplies the stored base layer decoded image to the upsampling unit 104 so as to be used for enhancement layer encoding.
  • FIG. 13 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 105 in FIG. 10. As shown in FIG. 13, the enhancement layer image encoding unit 105 has basically the same configuration as the base layer image encoding unit 103 of FIG.
  • the enhancement layer image encoding unit 105 includes a screen rearrangement buffer 151, a calculation unit 152, an orthogonal transformation unit 153, a quantization unit 154, a lossless encoding unit 155, a storage buffer 156, and an inverse buffer, as shown in FIG.
  • a quantization unit 157 and an inverse orthogonal transform unit 158 are included.
  • the enhancement layer image encoding unit 105 includes a calculation unit 159, a loop filter 160, a frame memory 161, a selection unit 162, an intra prediction unit 163, an inter prediction unit 164, a predicted image selection unit 165, and a rate control unit 166. .
  • These screen rearrangement buffer 151 to rate control unit 166 correspond to the screen rearrangement buffer 131 to rate control unit 146 of FIG. 12, and perform the same processing as the corresponding processing unit, respectively.
  • each part of the enhancement layer image encoding unit 105 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the screen rearrangement buffer 151 to the rate control unit 166, the above description of the screen rearrangement buffer 131 to the rate control unit 146 of FIG. 12 can be applied. Needs to be enhancement layer data, not base layer data. Further, it is necessary to read the data input source and output destination processing units by replacing them with corresponding processing units in the screen rearrangement buffer 151 through the rate control unit 166, as appropriate.
  • the enhancement layer image encoding unit 105 performs encoding with reference to information on other layers (for example, a base layer).
  • the frame memory 161 stores the upsample image supplied from the upsample unit 104.
  • the frame memory 161 supplies the base layer decoded image as a reference image to the intra prediction unit 163 or the inter prediction unit 164 via the selection unit 162 in the intra BL mode, the reference index mode, or the like.
  • the lossless encoding unit 155 obtains header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including the color difference phase information supplied from the color difference phase control unit 101, and enhances it. It is included in the encoded image stream (header information thereof) and supplied to the accumulation buffer 156 (transmitted to the decoding side).
  • header information sequence parameter set (SPS), picture parameter set (PPS), etc.
  • the image coding apparatus 100 is provided by generating the color difference phase control unit 101 that generates information related to the phase of the color difference signal in the upsampling and transmits the information to the decoding side. Can suppress a reduction in image quality due to decoding.
  • the color difference phase control unit 101 controls the phase setting of the color difference signal in the down-sampling process or the up-sampling process, so that the image encoding apparatus 100 performs the encoding. Reduction in image quality can be suppressed.
  • the enhancement layer image is input to the image encoding device 100 and the enhancement layer image is down-sampled to generate the base layer image.
  • a sample-processed base layer image and enhancement layer image may be input.
  • step S101 the color difference phase control unit 101 of the image encoding apparatus 100 performs settings relating to the phase (color difference phase) of the color difference signal for the downsampling process and the upsampling process.
  • step S102 the downsampling unit 102 applies the color difference phase set in step S101, downsamples an enhancement layer image having a higher resolution than the base layer image input to the image encoding device 100, and A base layer image having a resolution lower than that of the enhancement layer image is generated.
  • step S103 the base layer image encoding unit 103 encodes the base layer image data obtained by the processing in step S102.
  • step S104 the up-sampling unit 104 applies the color difference phase set in step S101, up-samples the base layer decoded image obtained by encoding the base layer image performed in step S103, and performs enhancement. An upsampled image having a resolution corresponding to the resolution of the layer image is obtained.
  • step S105 the color difference phase control unit 101 generates color difference phase information for transmission using the color difference phase set in step S101.
  • step S106 the enhancement layer image encoding unit 105 encodes the enhancement layer image data.
  • the enhancement layer image encoding unit 105 includes the header information including the color difference phase information generated in step S105 in the encoded stream.
  • step S107 the multiplexing unit 106 combines the base layer image encoded stream generated by the process of step S103 and the enhancement layer image encoded stream generated by the process of step S106 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
  • 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. However, it is not necessary to perform processing for all pictures, such as generation of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  • the scanning method determination unit 121 (FIG. 11) of the color difference phase control unit 101 scans the input image (enhancement layer image) (whether it is an interlaced image) in step S111. Determine.
  • step S112 the encoding method setting unit 122 sets an encoding method (field encoding or frame encoding) for encoding each layer image.
  • step S113 the color difference phase setting unit 123 determines whether or not the input image is an interlaced image according to the determination result in step S111. If it is determined that the image is an interlaced image, the process proceeds to step S114.
  • step S114 the color difference phase setting unit 123 determines whether or not the encoding scheme set in step S112 is field encoding. If it is determined that the field encoding is performed, the process proceeds to step S115.
  • step S115 the color difference phase setting unit 123 sets the color difference phase of each field (top field and bottom field). That is, the color difference phase setting unit 123 sets a plurality of color difference phases for one sequence.
  • step S116 the downsample color difference phase control unit 124 controls the downsampling process so that the color difference phase set in step S115 is applied to each field. Further, the upsample color difference phase control unit 125 controls the upsampling process so that the color difference phase set in step S115 is applied to each field.
  • step S116 When the process of step S116 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • step S114 in FIG. 15 If it is determined in step S114 in FIG. 15 that the frame encoding is performed, the process proceeds to step S117.
  • step S117 the color difference phase setting unit 123 sets the color difference phase of the frame. That is, the color difference phase setting unit 123 sets a single color difference phase for one sequence.
  • step S118 the downsample color difference phase control unit 124 applies the color difference phase set in step S117, and controls the downsampling process so as to perform the downsampling process for each field. Further, the upsample color difference phase control unit 125 applies the color difference phase set in step S117, and controls the upsampling process so as to perform the upsampling process for each field.
  • step S118 When the process of step S118 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • step S113 in FIG. 15 If it is determined in step S113 in FIG. 15 that the input image is not an interlaced image (a progressive image), the process proceeds to step S119.
  • step S119 the color difference phase setting unit 123 sets the color difference phase of the frame. That is, the color difference phase setting unit 123 sets a single color difference phase for one sequence.
  • step S120 the downsample color difference phase control unit 124 applies the color difference phase set in step S119, and controls the downsampling process so as to perform the downsampling process for each frame. Further, the upsample color difference phase control unit 125 applies the color difference phase set in step S119 and controls the upsampling process so as to perform the upsampling process for each frame.
  • step S120 When the process of step S120 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • the screen rearrangement buffer 131 of the base layer image encoding unit 103 stores each frame (picture) of the moving image input in step S131, and the display order of each picture To the order of encoding.
  • step S132 the intra prediction unit 143 performs intra prediction processing in the intra prediction mode.
  • step S133 the inter prediction unit 144 performs inter prediction processing for performing motion prediction and motion compensation in the inter prediction mode.
  • step S134 the predicted image selection unit 145 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 145 selects either the predicted image generated by the intra prediction in step S132 or the predicted image generated by the inter prediction in step S133.
  • step S135 the calculation unit 132 calculates the difference between the input image whose frame order is rearranged by the process of step S131 and the predicted image selected by the process of step S134. That is, the calculation unit 132 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 S136 the orthogonal transform unit 133 performs orthogonal transform on the image data of the difference image generated by the process in step S135.
  • step S137 the quantization unit 134 quantizes the orthogonal transform coefficient obtained by the processing in step S136, using the quantization parameter calculated by the rate control unit 146.
  • step S138 the inverse quantization unit 137 inversely quantizes the quantized coefficient (also referred to as a quantization coefficient) generated by the process in step S137 with characteristics corresponding to the characteristics of the quantization unit 134.
  • the quantized coefficient also referred to as a quantization coefficient
  • step S139 the inverse orthogonal transform unit 138 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S138.
  • step S140 the calculation unit 139 generates image data of the reconstructed image by adding the predicted image selected in the process in step S134 to the difference image restored in the process in step S139.
  • step S141 the loop filter 140 performs a loop filter process on the image data of the reconstructed image generated by the process of step S140. Thereby, block distortion and the like of the reconstructed image are removed.
  • the frame memory 141 stores data such as a decoded image (base layer decoded image) obtained by the process of step S141 and a reconstructed image obtained by the process of step S140.
  • step S143 the lossless encoding unit 135 encodes the quantized coefficient obtained by the process in step S137. 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 135 encodes information regarding the prediction mode of the prediction image selected by the process of step S134, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 135 also encodes the optimal intra prediction mode information supplied from the intra prediction unit 143 or the information according to the optimal inter prediction mode supplied from the inter prediction unit 144, and the like into encoded data. Append.
  • the lossless encoding unit 135 also sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
  • step S144 the accumulation buffer 136 accumulates the encoded data (base layer image encoded stream) obtained by the process in step S143.
  • the base layer image encoded stream stored in the storage buffer 136 is appropriately read out, supplied to the multiplexing unit 106 (FIG. 10), multiplexed with the enhancement layer image encoded stream, and then transmitted to a transmission path or recording medium. Is transmitted to the decoding side.
  • step S145 the rate control unit 146 causes the quantization unit 134 to prevent overflow or underflow from occurring based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 136 by the processing in step S144. Controls the rate of quantization operation. Further, the rate control unit 146 supplies information regarding the quantization parameter to the quantization unit 134.
  • step S146 the frame memory 141 supplies the stored base layer decoded image to the upsampling unit 104.
  • step S146 When the process of step S146 is completed, the base layer encoding process is completed, and the process returns to FIG.
  • the color difference phase information generation unit 126 (FIG. 11) of the color difference phase control unit 101 interlaces the input image according to the processing result of the color difference phase setting processing (FIG. 15) in step S151. It is determined whether it is an image. If it is determined that the image is an interlaced image, the process proceeds to step S152.
  • step S152 the color difference phase information generation unit 126 determines whether or not the encoding method is field encoding according to the processing result of the color difference phase setting process (FIG. 15). If it is determined that the field encoding is performed, the process proceeds to step S153.
  • step S153 the chrominance phase information generation unit 126 uses the chrominance phase of each field (top field and bottom field) set in step S115 (FIG. 15), and the chrominance phase of each field (top field and bottom field). Information is generated (for example, the syntax of FIG. 9). That is, the color difference phase information generation unit 126 generates a plurality of color difference phase information for one sequence. At this time, as in the example of FIG. 9, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
  • the enhancement layer header information generation unit 127 displays the color difference phase information of each field (top field and bottom field) generated in step S153, such as a sequence parameter set (SPS) and a picture parameter set (PPS). Including (when information indicating the number of color-difference phase information is generated, information indicating the number of color-difference phase information is also included) to generate enhancement layer header information.
  • SPS sequence parameter set
  • PPS picture parameter set
  • step S154 When the process of step S154 is completed, the process proceeds to step S158.
  • step S152 If it is determined in step S152 that the encoding method is frame encoding, the process proceeds to step S155.
  • step S155 the color difference phase information generation unit 126 generates control information (sampling information) for performing control so that the upsampling process is performed on a field basis.
  • control information for performing control so that the upsampling process is performed on a field basis.
  • the color difference phase information generation unit 126 generates field_base_upsampling_flag as shown in the example of FIG. 9A as the sampling information.
  • step S156 the color difference phase information generation unit 126 generates the color difference phase information of the frame picture using the color difference phase of the frame picture set in step S117 (FIG. 15) (for example, the syntax of FIG. 9). That is, the color difference phase information generation unit 126 generates one color difference phase information for one sequence. At this time, as in the example of FIG. 9, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
  • the enhancement layer header information generation unit 127 includes the color difference phase information of the frame picture generated in step S156, such as a sequence parameter set (SPS) or a picture parameter set (PPS) (number of color difference phase information). If the information indicating the color difference phase information is also included), enhancement layer header information is generated.
  • SPS sequence parameter set
  • PPS picture parameter set
  • step S157 When the process of step S157 is completed, the process proceeds to step S158.
  • step S151 If it is determined in step S151 that the input image is not an interlaced image (a progressive image), the process proceeds to step S156. That is, in step S156, the chrominance phase information generation unit 126 generates chrominance phase information of the frame picture using the chrominance phase of the frame picture set in step S117 (FIG. 15). Also in this case, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
  • the enhancement layer header information generation unit 127 includes the color difference phase information of the frame picture generated in step S156 (when information indicating the number of color difference phase information is generated, the number of the color difference phase information is displayed. Header information of the enhancement layer is generated.
  • step S158 the enhancement layer header information generation unit 127 supplies the header information generated in step S154 or step S157 to the encoding process of the enhancement layer image, and transmits it.
  • step S158 When the process of step S158 is completed, the color difference phase information generation process is completed, and the process returns to FIG.
  • the frame memory 161 of the enhancement layer image encoding unit 105 receives the base layer decoded image supplied from the base layer image encoding unit 103 in step S146 of FIG. 14 in step S161.
  • the upsampled image upsampled in step S104 of FIG. 14 is acquired.
  • step S162 the frame memory 161 stores the upsampled image acquired in step S161.
  • the frame memory 161 stores this upsampled image in the long term reference frame.
  • steps S163 to S174 correspond to the processes in steps S131 to S142 in FIG. 16 and are executed basically in the same manner as those processes. However, each process in FIG. 16 is performed on the base layer, whereas each process in FIG. 18 is performed on the enhancement layer.
  • step S175 the lossless encoding unit 155 acquires header information including color difference phase information supplied in step S158 of FIG.
  • step S176 to step S178 corresponds to each process of step S143 to step S145 of FIG. 16, and is executed basically in the same manner as those processes. However, each process in FIG. 16 is performed on the base layer, whereas each process in FIG. 18 is performed on the enhancement layer.
  • the lossless encoding unit 155 also includes the header information acquired in step S175 in the encoded stream. That is, the header information acquired in step S175 is also transmitted to the decoding side.
  • step S178 When the process of step S178 is finished, the enhancement layer encoding process is finished, and the process returns to FIG.
  • the image encoding device 100 can suppress a reduction in image quality due to encoding / decoding.
  • FIG. 19 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 100 in FIG. 10, which is an aspect of an image processing apparatus to which the present technology is applied.
  • the image decoding apparatus 200 shown in FIG. 19 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 apparatus 200 includes a demultiplexing unit 201, a color difference phase control unit 202, a base layer image decoding unit 203, an upsampling unit 204, and an enhancement layer image decoding unit 205.
  • 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 color difference phase control unit 202 controls the phase setting in the upsampling processing of the color difference signal by the upsampling unit 204.
  • the color difference phase control unit 202 obtains header information such as a sequence parameter set (SPS) and a picture parameter set (PPS) of the enhancement layer image encoded stream supplied from the enhancement layer image decoding unit 205.
  • the color difference phase control unit 202 sets the phase of the color difference signal of the upsampling process by the upsampling unit 204 based on the color difference phase information included in the header information.
  • the color difference phase control unit 202 supplies color difference phase control information, which is control information indicating the setting of the phase of the color difference signal, to the upsampling unit 204.
  • the base layer image decoding unit 203 decodes the base layer image encoded stream extracted by the demultiplexing unit 201 to obtain a base layer image (decoded image).
  • the base layer image decoding unit 203 outputs the obtained base layer image to the outside of the image decoding device 200. Also, the base layer image decoding unit 203 supplies the base layer decoded image obtained in the decoding of the base layer to the upsampling unit 204.
  • the upsampling unit 204 upsamples the low resolution base layer decoded image supplied from the base layer image decoding unit 203, and generates an upsampled image having the same resolution as the enhancement layer image.
  • the upsampling unit 204 applies the setting of the phase of the color difference signal indicated by the color difference phase control information supplied from the color difference phase control unit 202, that is, performs upsampling processing of the color difference signal according to the control of the color difference phase control unit 202. Do. By doing so, the phase of the color difference signal of the upsampled image can be made the same as that of the base layer decoded image (that is, the phase difference signal of the enhancement layer image can be made the same). That is, a more accurate upsampled image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
  • the upsampling unit 204 supplies the generated upsampled image to the enhancement layer image decoding unit 205.
  • the enhancement layer image decoding unit 205 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 201, and obtains an enhancement layer image (decoded image) having a resolution higher than that of the base layer image.
  • the enhancement layer image decoding unit 205 outputs the obtained enhancement layer image to the outside of the image decoding device 200.
  • the enhancement layer image decoding unit 205 extracts header information from the enhancement layer image encoded stream extracted by the demultiplexing unit 201 and supplies it to the color difference phase control unit 202.
  • FIG. 20 is a block diagram illustrating a main configuration example of the color difference phase control unit 202 of FIG. As illustrated in FIG. 20, the color difference phase control unit 202 includes a color difference phase information number determination unit 221, a sampling method determination unit 222, and an upsample color difference phase control unit 223.
  • the chrominance phase information number determination unit 221 performs processing based on information indicating the number of chrominance phase information included in the header information supplied from the enhancement layer image decoding unit 205 (num_phase_offset in the case of FIG. 9A). It is determined whether the color difference phase information set in the current sequence is singular or plural.
  • the color difference phase information number determination unit 221 supplies header information including the color difference phase information and control information indicating that a plurality of pieces of color difference phase information exist to the upsample color difference phase control unit 223. If it is determined that the color difference phase information is singular, the color difference phase information number determination unit 221 supplies header information including the color difference phase information and control information indicating that the color difference phase information is singular to the sampling method determination unit 222. .
  • the sampling method determination unit 222 is based on control information (field_base_upsampling_flag in the case of the example of FIG. 9A) that controls the upsampling included in the header information supplied from the color difference phase information number determination unit 221 to be performed on a field basis.
  • control information field_base_upsampling_flag in the case of the example of FIG. 9A
  • the sampling method of up-sampling processing (whether it is performed on a field basis or a frame basis) is determined.
  • the sampling method determination unit 222 includes header information including chrominance phase information, control information indicating that the chrominance phase information is singular, and upsampling sampling method (whether performed on a field basis or a frame basis).
  • the designated control information is supplied to the upsampled color difference phase control unit 223.
  • the upsample chrominance phase control unit 223 uses the header information and control information supplied from the chrominance phase information number determination unit 221 or the sampling method determination unit 222 to set the phase setting of the chrominance signal in the upsampling process of the upsampling unit 204.
  • Color difference phase control information to be controlled is generated and supplied to the up-sampling unit 204. That is, the upsample color difference phase control unit 223 controls the phase setting of the upsample processing of the color difference signal by the upsample unit 204.
  • the upsample chrominance phase control unit 223 includes the top-field chrominance signal.
  • control is performed so that the setting for the top field is applied among the color difference phase information set for a single sequence.
  • Control to apply settings.
  • the upsample chrominance phase control unit 223 performs single chrominance phase information set for a single sequence in the upsampling processing of the chrominance signal of a frame, that is, Upsampling to apply settings for frame picture Controlling the pole tip 204.
  • the upsample color difference phase control unit 223 controls the upsample unit 204 to perform the upsample process on a field basis.
  • the chrominance phase information is singular and the up-sampling process is specified to be performed on a frame basis by the control information specifying the sampling method, that is, the image of the encoded image data is interlaced.
  • the image is not an image (a progressive image) (in other words, when the base layer image decoding unit 203 or the enhancement layer image decoding unit 205 performs frame decoding on encoded data obtained by frame-coding progressive image data)
  • the upsample chrominance phase control unit 223 performs upsampling so as to apply a single chrominance phase information set for a single sequence, that is, a setting for a frame picture, in an upsampling process of a frame chrominance signal.
  • the sample unit 204 is controlled.
  • the upsample color difference phase control unit 223 controls the upsample unit 204 so that the upsample processing is performed on a frame basis.
  • the upsample color-difference phase control unit 223 can control the upsample processing so as to suppress the occurrence of phase shift and the like and obtain a more accurate upsample image.
  • FIG. 21 is a block diagram illustrating a main configuration example of the base layer image decoding unit 203 in FIG.
  • the base layer image decoding unit 203 includes a storage buffer 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 buffer 237.
  • the base layer image decoding unit 203 includes a frame memory 238, a selection unit 239, an intra prediction unit 240, an inter prediction unit 241, and a predicted image selection unit 242.
  • the accumulation buffer 231 is also a receiving unit that receives transmitted encoded data (a base layer image encoded stream supplied from the demultiplexing unit 201).
  • the accumulation buffer 231 receives and accumulates the transmitted encoded data, and supplies the encoded data to the lossless decoding unit 232 at a predetermined timing.
  • Information necessary for decoding such as prediction mode information is added to the encoded data.
  • the lossless decoding unit 232 decodes the information supplied from the accumulation buffer 231 and encoded by the lossless encoding unit 135 using a decoding method corresponding to the encoding method.
  • the lossless decoding unit 232 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 233.
  • the lossless decoding unit 232 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 240 and the inter prediction unit 241. 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 (intra prediction mode information) regarding the optimal prediction mode is supplied to the intra prediction unit 240. For example, when the inter prediction mode is selected as the optimal prediction mode on the encoding side, information (inter prediction mode information) regarding the optimal prediction mode is supplied to the inter prediction unit 241.
  • the lossless decoding unit 232 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the encoded data, and supplies the extracted information to the inverse quantization unit 233.
  • the inverse quantization unit 233 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 232 using a method corresponding to the quantization method of the quantization unit 134.
  • the inverse quantization unit 233 is a processing unit similar to the inverse quantization unit 137.
  • the inverse quantization unit 233 supplies the obtained coefficient data (orthogonal transform coefficient) to the inverse orthogonal transform unit 234.
  • the inverse orthogonal transform unit 234 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 233 according to a method corresponding to the orthogonal transform method of the orthogonal transform unit 133 as necessary.
  • the inverse orthogonal transform unit 234 is a processing unit similar to the inverse orthogonal transform unit 138.
  • 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 on the encoding side.
  • the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 234 is also referred to as decoded residual data.
  • the inverse orthogonal transform unit 234 supplies the decoded residual data to the calculation unit 235. Further, the image data of the prediction image is supplied to the calculation unit 235 from the intra prediction unit 240 or the inter prediction unit 241 via the prediction image selection unit 242.
  • the calculation unit 235 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 132.
  • the computing unit 235 supplies the reconstructed image to the loop filter 236.
  • the loop filter 236 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 236 removes block distortion by performing deblocking filter processing on the reconstructed image.
  • the loop filter 236 performs image quality improvement by performing loop filter processing on the deblock filter processing result (reconstructed image from which block distortion has been removed) using a Wiener filter (Wiener Filter). I do.
  • the type of filter processing performed by the loop filter 236 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 236 may perform filter processing using the filter coefficient supplied from the image encoding device. Further, the loop filter 236 can omit such filter processing and output the input data without performing the filter processing.
  • the loop filter 236 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 237 and the frame memory 238.
  • the screen rearrangement buffer 237 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 237 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 131 in the original display order. That is, the screen rearrangement buffer 237 stores the image data of the decoded image of each frame supplied in the encoding order, and reads out and outputs the image data of the decoded image of each frame stored in the encoding order in the display order. To do.
  • the frame memory 238 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 240 or the inter prediction unit 241.
  • the data is supplied to the intra prediction unit 240 and the inter prediction unit 241 via the selection unit 239.
  • Intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 232 to the intra prediction unit 240.
  • the intra prediction unit 240 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 143, and generates a predicted image.
  • the intra prediction unit 240 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 238 via the selection unit 239. That is, the intra prediction unit 240 uses this reconstructed image as a reference image (neighboring pixels).
  • the intra prediction unit 240 supplies the generated predicted image to the predicted image selection unit 242.
  • the inter prediction unit 241 is appropriately supplied with optimal prediction mode information, motion information, and the like from the lossless decoding unit 232.
  • the inter prediction unit 241 performs inter prediction using the decoded image (reference image) acquired from the frame memory 238 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 232. Generate a predicted image.
  • the prediction image selection unit 242 supplies the prediction image supplied from the intra prediction unit 240 or the prediction image supplied from the inter prediction unit 241 to the calculation unit 235. And in the calculating part 235, the prediction image and the decoding residual data (difference image information) from the inverse orthogonal transformation part 234 are added, and a reconstructed image is obtained.
  • the base layer image decoding unit 203 performs decoding without referring to other layers. That is, the intra prediction unit 240 and the inter prediction unit 241 do not use decoded images of other layers as reference images.
  • the frame memory 238 supplies the stored base layer decoded image to the upsampling unit 204 in order to use the decoded base layer image for enhancement layer decoding.
  • FIG. 22 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 205 of FIG. As shown in FIG. 22, the enhancement layer image decoding unit 205 has basically the same configuration as the base layer image decoding unit 203 of FIG.
  • the enhancement layer image decoding unit 205 includes a storage buffer 251, a lossless decoding unit 252, an inverse quantization unit 253, an inverse orthogonal transform unit 254, a calculation unit 255, a loop filter 256, and a screen arrangement as illustrated in FIG. A replacement buffer 257 is provided. Further, the enhancement layer image decoding unit 205 includes a frame memory 258, a selection unit 259, an intra prediction unit 260, an inter prediction unit 261, and a predicted image selection unit 262.
  • accumulation buffer 251 through predicted image selection unit 262 correspond to the storage buffer 231 through predicted image selection unit 242 in FIG. 21, and perform the same processing as the corresponding processing unit, respectively.
  • each unit of the enhancement layer image decoding unit 205 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 251 to the predicted image selection unit 262, the description of the storage buffer 231 to the predicted image selection unit 242 of FIG. 21 described above can be applied.
  • the data to be processed is It should be enhancement layer data, not base layer data.
  • the data input source and output destination processing units need to be appropriately replaced with the corresponding processing units of the enhancement layer image decoding unit 205 and read.
  • the enhancement layer image decoding unit 205 performs decoding with reference to a decoded image of another layer (for example, a base layer).
  • the frame memory 258 stores the upsample image supplied from the upsample unit 204.
  • the frame memory 258 supplies the base layer decoded image as a reference image to the intra prediction unit 260 or the inter prediction unit 261 via the selection unit 259 in the intra BL mode, the reference index mode, or the like.
  • the lossless decoding unit 252 extracts header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including color difference phase information from the enhancement layer image encoded stream supplied from the accumulation buffer 251; It is supplied to the color difference phase control unit 202 (transmitted to the decoding side).
  • header information sequence parameter set (SPS), picture parameter set (PPS), etc.
  • the image decoding device 200 can suppress a reduction in image quality due to decoding.
  • step S201 the demultiplexing unit 201 of the image decoding apparatus 200 reverses the hierarchical image encoded stream obtained by multiplexing the encoded stream of each layer transmitted from the encoding side. Multiplexed and converted into an encoded stream for each layer.
  • step S202 the base layer image decoding unit 203 decodes the base layer image encoded stream obtained in step S201.
  • the base layer image decoding unit 203 outputs base layer image data generated by this decoding.
  • the enhancement layer image decoding unit 205 receives header information (for example, a sequence parameter set (SPS) or a picture parameter set (PPS)) including color difference phase information from the enhancement layer image encoded stream obtained in step S201. Extract.
  • header information for example, a sequence parameter set (SPS) or a picture parameter set (PPS)
  • step S204 the color difference phase control unit 202 controls the phase setting of the color difference signal in the Apple sample processing based on the color difference phase information included in the header information extracted in step S203.
  • step S205 the upsampling unit 204 applies the phase setting of the color difference signal controlled in step S203, upsamples the base layer decoded image obtained in step S202, and generates an upsampled image.
  • step S206 the enhancement layer image decoding unit 205 decodes the enhancement layer image encoded stream obtained in step S201.
  • the enhancement layer image decoding unit 205 outputs enhancement layer image data generated by this decoding.
  • 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. However, it is not necessary to perform processing on all the pictures, such as extraction of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  • step S211 the accumulation buffer 231 of the base layer image decoding unit 203 accumulates the transmitted base layer encoded stream.
  • the lossless decoding unit 232 decodes the base layer encoded stream supplied from the accumulation buffer 231. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 135 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 S213 the inverse quantization unit 233 inversely quantizes the quantized coefficient obtained by the process in step S212.
  • step S214 the inverse orthogonal transform unit 234 performs inverse orthogonal transform on the coefficient inversely quantized in step S213.
  • the intra prediction unit 240 and the inter prediction unit 241 perform prediction processing and generate a prediction image. That is, the prediction process is performed in the prediction mode applied at the time of encoding, which is determined by the lossless decoding unit 232. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 240 generates a prediction image in the intra prediction mode optimized at the time of encoding. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 241 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
  • step S216 the calculation unit 235 adds the predicted image generated in step S215 to the difference image obtained by the inverse orthogonal transform in step S214. Thereby, image data of the reconstructed image is obtained.
  • step S217 the loop filter 236 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 S216.
  • step S218 the screen rearrangement buffer 237 rearranges each frame of the reconstructed image filtered in step S217. That is, the order of frames rearranged at the time of encoding is rearranged in the original display order and output.
  • step S219 the frame memory 238 stores data such as the decoded image obtained by the process of step S217 and the reconstructed image obtained by the process of step S216.
  • step S220 the frame memory 238 supplies the stored base layer decoded image to the upsampling unit 204.
  • step S220 When the process of step S220 is completed, the base layer decoding process is terminated, and the process returns to FIG.
  • the color difference phase information number determination unit 221 determines the number of color difference phase information included in the header information extracted from the enhancement layer image encoded stream in step S203 (FIG. 23) in step S231. Whether there are a plurality of pieces of color difference phase information set for the current sequence to be processed is determined. If it is determined that there are a plurality of processes, the process proceeds to step S232.
  • step S232 the upsampled color difference phase control unit 223 sets the color difference phase for each field indicated in the color difference phase information included in the header information extracted from the enhancement layer image encoded stream. That is, the upsampled color difference phase control unit 223 applies the setting for the top field to the top field, and applies the setting for the bottom field to the bottom field.
  • step S233 the upsample chrominance phase control unit 223 performs control so that upsampling is performed for each field using the chrominance phase setting as described above.
  • the upsample chrominance phase control unit 223 controls the upsample processing, causes the topfield base layer decoded image to be subjected to the upsample processing using the chrominance phase set for the top field, and the bottom field. Up-sampling processing is performed on the base layer decoded image using the color difference phase set for the bottom field.
  • step S233 When the process of step S233 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • step S231 If it is determined in step S231 that the number of color difference phase information is singular, the process proceeds to step S234.
  • step S234 the sampling method determination unit 222 performs field-based upsampling based on control information that controls the upsampling included in the header information extracted from the enhancement layer image encoded stream to be performed on a field basis. Determine whether or not. If it is determined by the control information that upsampling on a field basis is indicated, the process proceeds to step S235.
  • step S235 the upsampled color difference phase control unit 223 sets a single color difference phase. That is, the upsampled color difference phase control unit 223 converts the single color difference phase indicated by the single color difference phase information included in the header information extracted from the enhancement layer image encoded stream to each current sequence to be processed. Applies to frame pictures.
  • step S236 the up-sample color difference phase control unit 223 performs control so that up-sampling is performed for each field using the color difference phase setting as described above.
  • the upsample chrominance phase control unit 223 controls the upsampling process, and uses the single chrominance phase set for each frame picture of the current sequence for the base layer decoded image as a field. Let the base do.
  • step S236 When the process of step S236 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • step S234 If it is determined in step S234 that upsampling is to be performed on a frame basis, the process proceeds to step S237.
  • step S237 the upsampled color difference phase control unit 223 sets a single color difference phase. That is, the upsampled color difference phase control unit 223 converts the single color difference phase indicated by the single color difference phase information included in the header information extracted from the enhancement layer image encoded stream to each current sequence to be processed. Applies to frame pictures.
  • step S2308 the up-sample color difference phase control unit 223 performs control to perform up-sample for each frame using the color difference phase setting as described above.
  • the upsample chrominance phase control unit 223 controls the upsampling process, and performs the upsampling process on the base layer decoded image using the single chrominance phase set for each frame picture of the current sequence. Let the base do.
  • step S238 When the process of step S238 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  • the frame memory 238 of the enhancement layer image decoding unit 205 acquires the upsampled image obtained by the process of step S205 (FIG. 23) in step S241.
  • step S242 the frame memory 238 stores the upsampled image acquired in step S241.
  • the frame memory 238 stores this upsampled image in the long term reference frame.
  • step S243 to step S251 corresponds to each process of step S211 to step S219 in FIG. 24 and is executed basically in the same manner as those processes. However, each process in FIG. 24 is performed on the enhancement layer, whereas each process in FIG. 24 is performed on the enhancement layer.
  • step S252 When the process of step S252 is completed, the enhancement layer decoding process is completed, and the process returns to FIG.
  • the image decoding apparatus 200 can suppress a reduction in image quality due to decoding.
  • Fourth Embodiment> ⁇ Upsampling of 2: 3 pull-up image>
  • a method of performing 3 pull-up processing and using the signal as input to the image compression information has been performed.
  • FIG. 27A shows a top field (also referred to as a first field) and a bottom field (also referred to as a second field) of some frames (frames A to D) of a moving image of a progressive scanning method (24p format) with a frame rate of 24 Hz. Example).
  • the 24p moving image has no time difference between the fields of each frame (between the top field and the bottom field) (the images in both fields are the same).
  • FIG. 27B shows an example of a state in which the 24p format moving image shown in FIG. 27A is pulled up 2: 3 and converted to a frame rate 60 Hz interlace scanning (60i format) moving image.
  • FIG. 27B in the case of 2: 3 pull-up processing, by repeating the first field (top field) and the second field (bottom field) of the B frame and the D frame, respectively, Realize format conversion from 24p to 60i. That is, a frame composed of the top field of frame B and the bottom field of frame C and a frame composed of the top field of frame C and the bottom field of frame D are generated instead of frame C of 24p.
  • a base layer of image data is encoded, and an upsample of each frame of decoded image data obtained by decoding the encoded data of the base layer obtained by the encoding is subjected to scanning method frame rate conversion performed on the image data.
  • An up-sample image of decoded image data is generated by a method according to the processing method, and an enhancement layer of the image data is encoded using the generated up-sample image to generate encoded data.
  • the upsampling of each frame can be performed by an appropriate method, so that deterioration of the image quality of the upsampled image is suppressed, thereby reducing the prediction accuracy and consequently reducing the coding efficiency. Can be suppressed.
  • the upsampling method indicates, for example, field-based or frame-based. That is, according to the scanning method frame rate conversion processing method performed on the image data, whether up-sampling is performed on a field basis (per field) or on a frame basis (per frame) Be controlled.
  • the scanning method frame rate conversion processing is processing for converting the frame rate and scanning method of a moving image, and indicates, for example, 2: 3 pull-up processing.
  • the conversion ratio is arbitrary, and the scanning method frame rate conversion process may be other than the 2: 3 pull-up process.
  • 2: 3 pull-up processing will be described as an example.
  • FIG. 28 shows an example of up-sampling the 60i format moving image obtained by performing the 2: 3 pull-up process on the 24p format moving image shown in FIG. 27B.
  • a frame having no time difference between the first field and the second field is upsampled on a frame basis
  • a frame having a time difference between the first field and the second field is upsampled on a field basis.
  • ⁇ Which frame field has a time difference is determined based on the conversion pattern of the scanning method frame rate conversion process performed on the image data. For example, when a 2: 3 pull-up is performed on a moving image to be encoded, the conversion pattern shown in FIG. 27B is repeated every five frames. Therefore, for all frames of the moving image to be encoded, the frames of frame numbers 0, 1, and 4 are up-sampled on a frame basis as shown in FIG. 28, and the frames of frame numbers 2 and 3 are field-based.
  • the pattern to be upsampled in step 5 may be repeated every 5 frames.
  • FIG. 29 shows an example of the state of the upsampling process.
  • FIG. 29 shows an example (2 ⁇ scalability) of upsampling the resolution by a factor of two.
  • the solid line indicates the first field
  • the broken line indicates the second field.
  • FIG. 29A shows an example of the enhancement layer configuration
  • FIG. 29B and FIG. 29C show an example of the base layer configuration.
  • the enhancement layer is composed of ET0, EB0, ET1, EB1, ET2, EB2, ET3, and EB3.
  • ET0 and ET1 are BT0
  • ET2 and ET3 correspond to BT1
  • EB2 and EB3 correspond to BB1.
  • the base layer is made to correspond to a half-phase pixel for each field as shown in FIG. 29B, the phase becomes an unequal interval phase when viewed as a frame. . Therefore, as shown in FIG. 29C, it is necessary to correspond to a 1/4 phase pixel for the first field and a 3/4 phase pixel for the second field.
  • the up-sampling method as described above is controlled only when the current picture of the image data to be processed has been subjected to 2: 3 pull-up processing. can do.
  • the up-sampling method as described above can be omitted.
  • an appropriate method of up-sampling processing can be selected, and reduction in coding efficiency can be suppressed (2: 3 pull-up processing).
  • Input images that are not up-processed can also be processed appropriately). Further, an increase in unnecessary processing load can be suppressed, and an increase in processing time and cost can be suppressed.
  • the control of the upsampling method as described above can be performed not only in the encoding device but also in the decoding device.
  • the control method whether it is performed on a field basis or a frame basis
  • information regarding upsampling may be transmitted from the encoding device to the decoding device.
  • This upsampling information may include information indicating whether upsampling is performed on a field basis or a frame basis for each frame.
  • This information is information indicating the content actually selected in the encoding device. That is, in the encoding device, information indicating whether the up-sampling of each frame has been performed on a field basis or on a frame basis is transmitted to the decoding device.
  • the upsampling information may include phase information regarding the upsampling.
  • This information is information indicating the phase in the upsampling actually performed in the encoding apparatus. That is, in the encoding device, information indicating in which phase the upsampling of each frame has been performed is transmitted to the decoding device.
  • the upsample information includes two pieces of phase information regarding upsamples when the upsample is performed on a field basis, and includes one phase information regarding upsamples when the upsample is performed on a frame basis. It may be.
  • the information indicating the number of phase information relating to the transmitted upsample may be information indicating whether the upsample of each frame is performed on a field basis or a frame basis.
  • Such up-sampling information may be transmitted by being included in header information of a bit stream of encoded data obtained by encoding image data.
  • the upsample information may be transmitted in a picture parameter set (PPS ((Picture Parameter Set))).
  • PPS Picture Parameter Set
  • PPS_extension extension part of the picture parameter set.
  • FIG. 31 and FIG. 32 are diagrams illustrating an example of syntax of a picture parameter set (PPS).
  • the number of sampling_grid_information that is phase information related to the upsample included in the picture parameter set is two, which indicates that the upsampling is performed on the field basis in the encoding apparatus.
  • FIG. 33 is a diagram illustrating an example of syntax for transmitting sampling_grid_information which is phase information regarding upsampling.
  • sampling_grid_information that is phase information related to upsampling includes horizontal_phase_offset16 that is information indicating a phase offset in the horizontal direction, vertical_phase_offset16 that is information indicating a phase offset in the vertical direction, and horizontal of the color difference signal.
  • Chroma_phase_x_flag which is information indicating whether or not to perform a phase shift in the direction
  • chroma_phase_y which is information indicating whether or not to perform a phase shift in the vertical direction of the color difference signal.
  • phase_offset_idx indicates an index assigned to the color difference phase information.
  • this sampling_grid_information may include any information and is not limited to the example of FIG.
  • the upsample information may be transmitted in, for example, a slice header.
  • up-sampling information having the same value may be included in each slice header (Slice Header). By doing so, the redundancy of the upsample information can be increased, and the error resistance can be improved (more reliable transmission).
  • ⁇ Encoding> The present technology described above may be applied only when image data is hierarchically encoded and both the base layer (Baselayer) and the enhancement layer (Enhancementlayer) are subjected to frame-based encoding. Good. In other words, when field-based encoding is performed, upsampling may be performed on a field basis for any picture (regardless of whether there is a time difference between fields).
  • the present technology described above can be applied even when the encoding method is different between the base layer (Baselayer) and the enhancement layer (Enhancementlayer) of the image data.
  • the present technology can also be applied when the base layer encoding scheme is AVC and the enhancement layer encoding scheme is HEVC.
  • the number of layers for layer encoding is arbitrary, and may be three or more layers. Of course, the same applies to the decoding method.
  • FIG. 34 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 300 illustrated in FIG. 34 is a device that performs hierarchical image encoding (scalable encoding) with spatial scalability. As illustrated in FIG. 34, the image encoding device 300 includes a base layer image encoding unit 301, an upsampling unit 302, an enhancement layer image encoding unit 303, and a multiplexing unit 304.
  • the base layer image encoding unit 301 encodes the base layer image input to the image encoding device 100, and generates a base layer image encoded stream.
  • the base layer image encoding unit 301 supplies the generated base layer image encoded stream to the multiplexing unit 304.
  • the base layer image encoding unit 301 also supplies a decoded image (also referred to as a base layer decoded image) generated in the encoding of the base layer image to the upsampling unit 302.
  • the upsampling unit 302 upsamples the low-resolution base layer decoded image supplied from the base layer image encoding unit 301, and generates an upsampled image having the same resolution as the enhancement layer image. At this time, the up-sampling unit 302 converts the up-sampling of each frame of the base layer decoded image data into a method according to the scanning frame rate conversion processing (for example, 2: 3 pull-up processing) performed on the base layer image To do. In this way, each frame can be appropriately upsampled regardless of the presence or absence of a time difference between fields, so that deterioration of the upsampled image can be suppressed. Therefore, reduction in prediction accuracy can be suppressed, and reduction in encoding efficiency can be suppressed.
  • the scanning frame rate conversion processing for example, 2: 3 pull-up processing
  • the upsampling unit 302 supplies the generated upsampled image to the enhancement layer image encoding unit 303.
  • the upsampling unit 302 also generates upsampling information that is information related to the upsampling performed by the upsampling unit 302 and supplies the upsampling information to the enhancement layer image encoding unit 303.
  • the enhancement layer image encoding unit 303 encodes the enhancement layer image input to the image encoding device 100, and generates an enhancement layer image encoded stream.
  • the enhancement layer image encoding unit 303 uses the upsample image supplied from the upsample unit 302 as a reference image for prediction processing and the like. Further, the enhancement layer image encoding unit 303 includes the upsample information supplied from the upsample unit 302 in the enhancement layer image encoded stream.
  • the enhancement layer image encoding unit 303 supplies the generated enhancement layer image encoded stream to the multiplexing unit 304.
  • the multiplexing unit 304 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 301 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 303 to generate a hierarchical image code Generate a stream.
  • the multiplexing unit 304 transmits the generated hierarchical image encoded stream to the decoding side.
  • FIG. 35 is a block diagram illustrating a main configuration example of the base layer image encoding unit 301 in FIG. 34.
  • the base layer image encoding unit 301 includes a screen rearrangement buffer 311, a calculation unit 312, an orthogonal transformation unit 313, a quantization unit 314, a lossless encoding unit 315, an accumulation buffer 316, and an inverse quantization.
  • the base layer image encoding unit 301 includes a calculation unit 319, a loop filter 320, a frame memory 321, a selection unit 322, an intra prediction unit 323, an inter prediction unit 324, a predicted image selection unit 325, and a rate control unit 326. .
  • the screen rearrangement buffer 311 stores the input image data (base layer image information), and the frame images in the stored display order are encoded according to GOP (Group Of Picture). The images rearranged in order and the image in which the order of the frames is rearranged are supplied to the calculation unit 312. The screen rearrangement buffer 311 also supplies the image in which the frame order is rearranged to the intra prediction unit 323 and the inter prediction unit 324.
  • the calculation unit 312 subtracts the prediction image supplied from the intra prediction unit 323 or the inter prediction unit 324 via the prediction image selection unit 325 from the image read from the screen rearrangement buffer 311, and orthogonalizes the difference information.
  • the data is output to the conversion unit 313.
  • the calculation unit 312 subtracts the predicted image supplied from the intra prediction unit 323 from the image read from the screen rearrangement buffer 311.
  • the calculation unit 312 subtracts the prediction image supplied from the inter prediction unit 324 from the image read from the screen rearrangement buffer 311.
  • the orthogonal transform unit 313 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computation unit 312.
  • the orthogonal transform unit 313 supplies the transform coefficient to the quantization unit 314.
  • the quantization unit 314 quantizes the transform coefficient supplied from the orthogonal transform unit 313.
  • the quantization unit 314 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 326, and performs the quantization.
  • the quantization unit 314 supplies the quantized transform coefficient to the lossless encoding unit 315.
  • the lossless encoding unit 315 encodes the transform coefficient quantized by the quantization unit 314 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 326, the code amount becomes the target value set by the rate control unit 326 (or approximates the target value).
  • the lossless encoding unit 315 acquires information indicating the mode of intra prediction from the intra prediction unit 323, and acquires information indicating the mode of inter prediction, difference motion vector information, and the like from the inter prediction unit 324. Further, the lossless encoding unit 315 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 315 encodes these various types of information using an arbitrary encoding method, and sets (multiplexes) the encoded information (also referred to as an encoded stream) as a part.
  • the lossless encoding unit 315 supplies the encoded data obtained by encoding to the accumulation buffer 316 for accumulation.
  • Examples of the encoding method of the lossless encoding unit 315 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 accumulation buffer 316 temporarily holds the encoded stream (base layer image encoded stream) supplied from the lossless encoding unit 315.
  • the accumulation buffer 316 outputs the held base layer image encoded stream to the multiplexing unit 304 (FIG. 34) at a predetermined timing. That is, the accumulation buffer 316 is also a transmission unit that transmits a base layer image encoded stream.
  • the transform coefficient quantized by the quantization unit 314 is also supplied to the inverse quantization unit 317.
  • the inverse quantization unit 317 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 314.
  • the inverse quantization unit 317 supplies the obtained transform coefficient to the inverse orthogonal transform unit 138.
  • the inverse orthogonal transform unit 318 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 317 by a method corresponding to the orthogonal transform processing by the orthogonal transform unit 313.
  • the inversely orthogonally transformed output (restored difference information) is supplied to the calculation unit 319.
  • the calculation unit 319 adds the prediction image from the intra prediction unit 323 or the inter prediction unit 324 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 318, via the prediction image selection unit 325. Addition is performed to obtain a locally decoded image (decoded image).
  • the decoded image is supplied to the loop filter 320 or the frame memory 321.
  • the loop filter 320 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 319.
  • the loop filter 320 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image.
  • the loop filter 320 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 320 supplies the filter processing result (hereinafter referred to as a decoded image) to the frame memory 321.
  • the loop filter 320 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 320 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 315 and encode the information as necessary.
  • the frame memory 321 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 322 at a predetermined timing.
  • the frame memory 321 stores the reconstructed image supplied from the calculation unit 319 and the decoded image supplied from the loop filter 320, respectively.
  • the frame memory 321 supplies the stored reconstructed image to the intra prediction unit 323 via the selection unit 322 at a predetermined timing or based on an external request from the intra prediction unit 323 or the like.
  • the frame memory 321 supplies the stored decoded image to the inter prediction unit 324 via the selection unit 322 at a predetermined timing or based on a request from the outside such as the inter prediction unit 324. .
  • the selection unit 322 selects a reference image supply destination supplied from the frame memory 321. For example, in the case of intra prediction, the selection unit 322 supplies a reference image (a pixel value in the current picture or a base layer decoded image) supplied from the frame memory 321 to the intra prediction unit 323. For example, in the case of inter prediction, the selection unit 322 supplies a reference image (a decoded image or a base layer decoded image outside the current picture of the enhancement layer) supplied from the frame memory 321 to the inter prediction unit 324.
  • the intra prediction unit 323 performs prediction processing on a current picture that is an image of a processing target frame, and generates a predicted image.
  • the intra prediction unit 323 performs this prediction processing for each predetermined block (with blocks as processing units). That is, the intra prediction unit 323 generates a prediction image of the current block that is the processing target of the current picture.
  • the intra prediction unit 323 performs prediction processing (intra-screen prediction (also referred to as intra prediction)) using the reconstructed image supplied as a reference image from the frame memory 321 via the selection unit 322. That is, the intra prediction unit 323 generates a predicted image using pixel values around the current block that are 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 323 performs the intra prediction in the plurality of intra prediction modes prepared in advance.
  • the intra prediction unit 323 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 311, and selects the optimum mode. select. When the intra prediction unit 323 selects the optimal intra prediction mode, the intra prediction unit 323 supplies the predicted image generated in the optimal mode to the predicted image selection unit 325.
  • the intra prediction unit 323 supplies the intra prediction mode information indicating the adopted intra prediction mode and the like to the lossless encoding unit 315 as appropriate, and performs encoding.
  • the inter prediction unit 324 performs prediction processing on the current picture and generates a predicted image.
  • the inter prediction unit 324 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 324 generates a predicted image of the current block that is the processing target of the current picture.
  • the inter prediction unit 324 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 311 and the image data of the decoded image supplied as a reference image from the frame memory 321.
  • 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 324 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a predicted 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 324 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 324 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 324 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
  • the inter prediction unit 324 generates a prediction image in all candidate inter prediction modes.
  • the inter prediction unit 324 evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 311 and information on the generated differential motion vector, and selects an optimal mode. When the optimal inter prediction mode is selected, the inter prediction unit 324 supplies the prediction image generated in the optimal mode to the prediction image selection unit 325.
  • the inter prediction unit 324 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 315 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 325 selects a supply source of a predicted image to be supplied to the calculation unit 312 or the calculation unit 319.
  • the predicted image selection unit 325 selects the intra prediction unit 323 as the supply source of the predicted image, and supplies the predicted image supplied from the intra prediction unit 323 to the calculation unit 312 and the calculation unit 319.
  • the predicted image selection unit 325 selects the inter prediction unit 324 as a supply source of the predicted image, and calculates the predicted image supplied from the inter prediction unit 324 as the calculation unit 312 or the calculation unit 319. To supply.
  • the rate control unit 326 controls the quantization operation rate of the quantization unit 314 based on the code amount of the encoded data stored in the storage buffer 316 so that no overflow or underflow occurs.
  • the base layer image encoding unit 301 performs encoding without referring to other layers. That is, the intra prediction unit 323 and the inter prediction unit 324 do not use decoded images of other layers as reference images.
  • the frame memory 321 supplies the stored base layer decoded image to the up-sampling unit 302 in order to use it for the enhancement layer encoding.
  • the lossless encoding unit 315 upsamples 2: 3 pull-up information (for example, duplicate_flag (FIG. 30)) that is information related to the 2: 3 pull-up processing performed on the image data to be encoded. Supplied to the unit 302.
  • FIG. 36 is a block diagram illustrating a main configuration example of the upsampling unit 302 of FIG.
  • the up-sampling unit 302 includes a 2: 3 pull-up information buffer 331, a base layer decoded image buffer 332, an up-sample switching unit 333, a field base up sampler 334, a frame base up sampler 335, and an up A sample information supply unit 336 is provided.
  • the 2: 3 pull-up information buffer 331 is a storage unit having an arbitrary storage medium such as a RAM (Random Access Memory), a flash memory, and a hard disk.
  • the 2: 3 pull-up information buffer 331 acquires and stores the 2: 3 pull-up information supplied from the lossless encoding unit 315 of the base layer image encoding unit 301, for example.
  • the 2: 3 pull-up information buffer 331 stores the 2: 3 pull-up information stored at a predetermined timing, for example, based on a predetermined event such as an instruction from the outside such as another processing unit or a user. Read out and supply it to the upsample switching unit 333.
  • the base layer decoded image buffer 332 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk.
  • the base layer decoded image buffer 332 acquires and stores the base layer decoded image supplied from the frame memory 321 of the base layer image encoding unit 301, for example.
  • the base layer decoded image buffer 332 reads out the stored base layer decoded image, for example, at a predetermined timing or based on a predetermined event such as an instruction from the outside such as another processing unit or a user. This is supplied to the upsample switching unit 333.
  • the upsample switching unit 333 supplies the base layer decoded image read destination (upsampled) from the base layer decoded image buffer 332 based on the content of the 2: 3 pull-up information. (Method is switched) (Supply destination (upsampling method) is selected).
  • the upsample switching unit 333 supplies the base layer decoded image read from the base layer decoded image buffer 332 to either the field base upsampler 334 or the frame base upsampler 335 (the selected one). Further, the upsample switching unit 333 generates upsample information including the contents of the control and supplies the upsample information to the upsample information supply unit 336.
  • the upsample switching unit 333 supplies the base layer decoded image to the field base upsampler 334 when the current picture to be processed is upsampled on the field basis. Further, the upsample switching unit 333 supplies the base layer decoded image to the frame base upsampler 335 when the current picture to be processed is upsampled on a frame basis.
  • the field base upsampler 334 upsamples the base layer decoded image supplied from the upsample switching unit 333 on a field basis to generate an upsampled image.
  • the field base upsampler 334 supplies the generated upsampled image to the frame memory 361 of the enhancement layer image encoding unit 303.
  • the frame base upsampler 335 upsamples the base layer decoded image supplied from the upsample switching unit 333 on a frame basis to generate an upsampled image.
  • the frame base upsampler 335 supplies the generated upsampled image to the frame memory 361 of the enhancement layer image encoding unit 303.
  • the upsample information supply unit 336 acquires the upsample information supplied from the upsample switching unit 333, supplies the upsample information to the lossless encoding unit 355 of the enhancement layer image encoding unit 303, and includes it in the header information of the encoded data. Let it transmit.
  • FIG. 37 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 303 in FIG. 34. As shown in FIG. 37, the enhancement layer image encoding unit 303 has basically the same configuration as the base layer image encoding unit 301 of FIG.
  • the enhancement layer image encoding unit 303 includes a screen rearrangement buffer 351, a calculation unit 352, an orthogonal transformation unit 353, a quantization unit 354, a lossless encoding unit 355, an accumulation buffer 356, and an inverse buffer as illustrated in FIG.
  • a quantization unit 357 and an inverse orthogonal transform unit 358 are included.
  • the enhancement layer image encoding unit 303 includes a calculation unit 359, a loop filter 360, a frame memory 361, a selection unit 362, an intra prediction unit 363, an inter prediction unit 364, a predicted image selection unit 365, and a rate control unit 366. .
  • These screen rearrangement buffer 351 through rate control unit 366 correspond to screen rearrangement buffer 311 through rate control unit 326 in FIG. 35 and perform the same processing as the corresponding processing unit, respectively.
  • each unit of the enhancement layer image encoding unit 303 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the screen rearranging buffer 351 to the rate control unit 366, the description of the screen rearranging buffer 311 to the rate control unit 326 of FIG. 35 described above can be applied. Needs to be enhancement layer data, not base layer data. Further, it is necessary to read the data input source and output destination processing units by replacing them with corresponding processing units in the screen rearrangement buffer 351 through the rate control unit 366, as appropriate.
  • the enhancement layer image encoding unit 303 performs encoding with reference to information on other layers (for example, a base layer).
  • the frame memory 361 stores the upsample image supplied from the upsample unit 302.
  • the frame memory 361 supplies the base layer decoded image as a reference image to the intra prediction unit 363 or the inter prediction unit 364 via the selection unit 362 in the intra BL mode, the reference index mode, or the like.
  • the lossless encoding unit 355 acquires the upsample information supplied from the upsample unit 302, and includes it in the enhancement image encoded stream (header information thereof) and supplies it to the accumulation buffer 356 (decoding). To the side).
  • the upsampling unit 302 (upsampling switching unit 333) controls the upsampling method of the base layer decoded image data as described in the fourth embodiment.
  • the image encoding device 300 can suppress a decrease in encoding efficiency. In other words, the image encoding device 300 can suppress a reduction in image quality due to decoding.
  • step S301 the base layer image encoding unit 103 of the image encoding device 300 encodes the input base layer image.
  • step S302 the upsampling unit 302 upsamples the base layer decoded image obtained in step S301, and obtains an upsampled image having a resolution corresponding to the resolution of the enhancement layer image. Further, the upsample unit 302 generates upsample information.
  • step S303 the enhancement layer image encoding unit 303 encodes enhancement layer image data.
  • the enhancement layer image encoding unit 303 performs encoding using the upsampled image generated in step S302. Further, the enhancement layer image encoding unit 303 includes the upsample information generated in step S302 in the header information of the enhancement layer image encoded stream.
  • step S304 the multiplexing unit 304 uses the base layer image encoded stream generated by the process of step S301 and the enhancement layer image encoded stream generated by the process of step S303 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
  • the image encoding device 300 ends the image encoding process.
  • One picture is processed by such an image encoding process. Therefore, the image coding apparatus 300 repeatedly executes such image coding processing for each picture of the hierarchized moving image data. However, it is not necessary to perform processing for all pictures, such as generation of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  • the screen rearrangement buffer 311 of the base layer image encoding unit 301 stores each frame (picture) of the input moving image and displays each picture in step S311. Rearrange from the order to the encoding order.
  • step S312 the intra prediction unit 323 performs an intra prediction process in the intra prediction mode.
  • step S313 the inter prediction unit 324 performs inter prediction processing for performing motion prediction, motion compensation, and the like in the inter prediction mode.
  • step S314 the predicted image selection unit 325 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 325 selects one of the predicted image generated by the intra prediction in step S312 and the predicted image generated by the inter prediction in step S313.
  • step S315 the calculation unit 312 calculates a difference between the input image whose frame order is rearranged by the process of step S311 and the predicted image selected by the process of step S314. That is, the calculation unit 312 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 S316 the orthogonal transform unit 313 performs orthogonal transform on the image data of the difference image generated by the process in step S315.
  • step S317 the quantization unit 314 quantizes the orthogonal transform coefficient obtained by the process in step S316, using the quantization parameter calculated by the rate control unit 326.
  • step S318 the inverse quantization unit 317 inversely quantizes the quantized coefficient generated by the process in step S317 (also referred to as a quantization coefficient) with characteristics corresponding to the characteristics of the quantization unit 314.
  • step S319 the inverse orthogonal transform unit 318 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S318.
  • step S320 the calculation unit 319 generates the image data of the reconstructed image by adding the predicted image selected by the process of step S314 to the difference image restored by the process of step S319.
  • step S321 the loop filter 320 performs loop filter processing on the image data of the reconstructed image generated by the processing in step S320. Thereby, block distortion and the like of the reconstructed image are removed.
  • the frame memory 321 stores data such as a decoded image (base layer decoded image) obtained by the process of step S321 and a reconstructed image obtained by the process of step S320.
  • step S323 the lossless encoding unit 315 encodes the quantized coefficient obtained by the process in step S317. 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 315 encodes information regarding the prediction mode of the prediction image selected by the process of step S314, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 315 also encodes the optimal intra prediction mode information supplied from the intra prediction unit 323 or the information corresponding to the optimal inter prediction mode supplied from the inter prediction unit 324, and the like into encoded data. Append.
  • the lossless encoding unit 315 also sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
  • step S324 the accumulation buffer 316 accumulates the encoded data (base layer image encoded stream) obtained by the process in step S323.
  • the base layer image encoded stream stored in the storage buffer 316 is appropriately read out, supplied to the multiplexing unit 304 (FIG. 34), multiplexed with the enhancement layer image encoded stream, and then transmitted to the transmission path or recording medium. Is transmitted to the decoding side.
  • step S325 the rate control unit 326 causes the quantization unit 314 to prevent overflow or underflow based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 316 by the process in step S324. Controls the rate of quantization operation. Further, the rate control unit 326 supplies information regarding the quantization parameter to the quantization unit 314.
  • step S326 the frame memory 321 supplies the stored base layer decoded image to the upsampling unit 302. Further, the lossless encoding unit 315 supplies 2: 3 pull-up information regarding the image data to be encoded to the up-sampling unit 302.
  • step S326 ends, the base layer encoding process ends, and the process returns to FIG.
  • the base layer decoded image buffer 332 of the upsampling unit 302 acquires the base layer decoded image data supplied by the process of step S326 of FIG. 39 in step S331.
  • step S332 the base layer decoded image buffer 332 stores the data of the base layer decoded image acquired by the process of step S331.
  • step S333 the 2: 3 pull-up information buffer 331 acquires the 2: 3 pull-up information supplied by the process of step S326 in FIG.
  • step S334 the 2: 3 pull-up information buffer 331 stores the 2: 3 pull-up information acquired by the process of step S333.
  • step S335 the up-sample switching unit 333 reads out the 2: 3 pull-up information stored in the 2: 3 pull-up information buffer 331 by the processing in step S334 from the 2: 3 pull-up information buffer 331. 3. Based on the pull-up information, it is determined whether to upsample the current picture to be processed on a field basis.
  • the upsampling switching unit 333 selects whether to upsample the current picture on a field basis or on a frame basis, as described in the fourth embodiment, based on the 2: 3 pull-up information. For example, when it is determined that upsampling of the current picture is performed on a field basis, such as when the current picture is a picture having a time difference between fields, the process proceeds to step S336.
  • step S336 the field base upsampler 334 reads the base layer decoded image data stored in the base layer decoded image buffer 332 by the processing in step S332 via the upsample switching unit 333, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a field basis. That is, the field base upsampler 334 upsamples the first field (top field) and the second field (bottom field) of the current picture of the base layer decoded image.
  • the field-based upsampler 334 further generates upsample information that is information about the upsample.
  • This up-sample information includes up-sample method identification information indicating that up-sampling has been performed on a field basis, and phase information (that is, two pieces of phase information) regarding the up-sample of each field.
  • step S337 the field base upsampler 334 supplies the upsampled image generated by the processing in step S336 (upsampled by the field base) to the frame memory 361 of the enhancement layer image encoding unit 303.
  • step S338 the upsample information supply unit 336 supplies the upsample information generated by the process of step S336 to the lossless encoding unit 355 of the enhancement layer image encoding unit 303. That is, the upsample information supply unit 336 supplies upsample method identification information and two pieces of phase information as upsample information.
  • step S338 When the process of step S338 is completed, the upsampling process is terminated, and the process returns to FIG.
  • step S335 If it is determined in step S335 that the current picture is upsampled on a frame basis, for example, if the current picture is a picture with no time difference between fields, the process proceeds to step S339.
  • step S339 the frame base upsampler 335 reads the base layer decoded image data stored in the base layer decoded image buffer 332 by the processing in step S332 via the upsample switching unit 333, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a frame basis. That is, the frame base upsampler 335 upsamples the current picture of the base layer decoded image as a frame.
  • the frame base upsampler 335 further generates upsample information that is information about the upsample.
  • This upsampling information includes upsampling method identification information indicating that the upsampling has been performed on a frame basis, and phase information (that is, one phase information) regarding the upsampling of the frame.
  • step S340 the frame base upsampler 335 supplies the upsampled image generated by the processing in step S339 (upsampled on the frame base) to the frame memory 361 of the enhancement layer image encoding unit 303.
  • step S341 the upsample information supply unit 336 supplies the upsample information generated by the process of step S339 to the lossless encoding unit 355 of the enhancement layer image encoding unit 303. That is, the upsample information supply unit 336 supplies upsample method identification information and one phase information as upsample information.
  • step S341 ends, the upsampling process ends, and the process returns to FIG.
  • the frame memory 361 of the enhancement layer image encoding unit 303 upsamples the base layer decoded image supplied in step S351 by the process of step S337 or step S340 of FIG. Get an image.
  • step S352 the frame memory 361 stores the upsampled image acquired in step S351.
  • corresponds to each process of step S311 thru
  • each process of FIG. 39 is performed with respect to the base layer, whereas each process of FIG. 41 is performed with respect to the enhancement layer.
  • step S365 the lossless encoding unit 355 acquires the upsample information supplied in step S338 or step S341 of FIG.
  • step S366 to step S368 corresponds to each process of step S323 to step S325 of FIG. 39 and is executed basically in the same manner as those processes. However, each process of FIG. 39 is performed with respect to the base layer, whereas each process of FIG. 41 is performed with respect to the enhancement layer.
  • the lossless encoding unit 355 also includes the upsample information acquired in step S365 in the encoded stream (its header information and the like). That is, the upsample information acquired in step S375 is also transmitted to the decoding side of the encoded stream.
  • step S368 When the process of step S368 is finished, the enhancement layer encoding process is finished, and the process returns to FIG.
  • the image encoding device 300 can suppress a decrease in encoding efficiency. In other words, the image encoding device 300 can suppress a reduction in image quality due to encoding / decoding.
  • up-sampling may be controlled in the decoding apparatus basically in the same manner as in the case of the encoding apparatus described in the fourth or fifth embodiment. However, in the case of a decoding apparatus, up-sampling may be controlled using up-sampling information supplied from the encoding side.
  • FIG. 42 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 300 in FIG. 34, which is an aspect of an image processing apparatus to which the present technology is applied.
  • the image decoding apparatus 400 shown in FIG. 42 decodes the encoded data generated by the image encoding apparatus 300 by a decoding method corresponding to the encoding method (that is, hierarchically encoded encoded data) To do).
  • the image decoding apparatus 400 includes a demultiplexing unit 401, a base layer image decoding unit 402, an upsampling unit 403, and an enhancement layer image decoding unit 404.
  • the demultiplexing unit 401 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 402 decodes the base layer image encoded stream extracted by the demultiplexing unit 401 to obtain a base layer image (decoded image).
  • the base layer image decoding unit 402 outputs the obtained base layer image to the outside of the image decoding device 400. Also, the base layer image decoding unit 402 supplies the base layer decoded image obtained in the decoding of the base layer to the upsampling unit 403.
  • the upsampling unit 403 performs upsampling processing on the low-resolution base layer decoded image supplied from the base layer image decoding unit 402, and generates an upsampled image having the same resolution as the enhancement layer image. At that time, the up-sampling unit 403 converts the up-sampling of each frame of the base layer decoded image into a scanning scheme frame rate conversion process (for example, 2: 3 pull-up process) performed on the base layer image on the encoding side. Perform according to the method. That is, the upsampling unit 403 upsamples the base layer decoded image by a method based on the upsampling information supplied from the image coding apparatus 300. The upsample information is supplied from the enhancement layer image decoding unit 404.
  • the upsampling unit 403 supplies the generated upsampled image to the enhancement layer image decoding unit 404.
  • the enhancement layer image decoding unit 404 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 401, and obtains an enhancement layer image (decoded image) having a resolution higher than that of the base layer image.
  • the enhancement layer image decoding unit 404 uses the upsampled image supplied from the upsampling unit 403 as a reference image for prediction processing and the like.
  • the enhancement layer image decoding unit 404 outputs the obtained enhancement layer image to the outside of the image decoding device 400.
  • the enhancement layer image decoding unit 404 extracts upsample information from the enhancement layer image encoded stream extracted by the demultiplexing unit 401, and supplies it to the upsampler unit 403.
  • FIG. 43 is a block diagram illustrating a main configuration example of the base layer image decoding unit 402 of FIG.
  • the base layer image decoding unit 402 includes a storage buffer 411, a lossless decoding unit 412, an inverse quantization unit 413, an inverse orthogonal transform unit 414, a calculation unit 415, a loop filter 416, and a screen rearrangement buffer 417.
  • the base layer image decoding unit 402 includes a frame memory 418, a selection unit 419, an intra prediction unit 420, an inter prediction unit 421, and a predicted image selection unit 422.
  • the accumulation buffer 411 is also a receiving unit that receives transmitted encoded data (a base layer image encoded stream supplied from the demultiplexing unit 401).
  • the accumulation buffer 411 receives and accumulates the transmitted encoded data, and supplies the encoded data to the lossless decoding unit 412 at a predetermined timing.
  • Information necessary for decoding such as prediction mode information is added to the encoded data.
  • the lossless decoding unit 412 decodes the information supplied from the accumulation buffer 411 and encoded by the lossless encoding unit 315 using a decoding method corresponding to the encoding method.
  • the lossless decoding unit 412 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 413.
  • the lossless decoding unit 412 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 420 and the inter prediction unit 421. 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 (intra prediction mode information) regarding the optimal prediction mode is supplied to the intra prediction unit 420. For example, when the inter prediction mode is selected as the optimal prediction mode on the encoding side, information (inter prediction mode information) regarding the optimal prediction mode is supplied to the inter prediction unit 421.
  • the lossless decoding unit 412 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the encoded data, and supplies the extracted information to the inverse quantization unit 413.
  • the inverse quantization unit 413 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 412 using a method corresponding to the quantization method of the quantization unit 314.
  • the inverse quantization unit 413 is a processing unit similar to the inverse quantization unit 317.
  • the inverse quantization unit 413 supplies the obtained coefficient data (orthogonal transform coefficient) to the inverse orthogonal transform unit 414.
  • the inverse orthogonal transform unit 414 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 413 by a method corresponding to the orthogonal transform method of the orthogonal transform unit 313 as necessary.
  • the inverse orthogonal transform unit 414 is a processing unit similar to the inverse orthogonal transform unit 318.
  • 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 on the encoding side.
  • the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 234 is also referred to as decoded residual data.
  • the inverse orthogonal transform unit 414 supplies the decoded residual data to the calculation unit 415.
  • the image data of the predicted image is supplied from the intra prediction unit 420 or the inter prediction unit 421 to the calculation unit 415 via the predicted image selection unit 422.
  • the calculation unit 415 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 312. The calculation unit 415 supplies the reconstructed image to the loop filter 416.
  • the loop filter 416 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 416 removes block distortion by performing deblocking filter processing on the reconstructed image.
  • the loop filter 416 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 416 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 416 may perform a filter process using the filter coefficient supplied from the image encoding device. Furthermore, the loop filter 416 can omit such filter processing and output the input data without performing the filter processing.
  • the loop filter 416 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 417 and the frame memory 418.
  • the screen rearrangement buffer 417 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 417 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 311 in the original display order. That is, the screen rearrangement buffer 417 stores the image data of the decoded image of each frame supplied in the encoding order, reads the image data of the decoded image of each frame stored in the encoding order in the display order, and outputs it. To do.
  • the frame memory 418 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 420 or the inter prediction unit 421.
  • the data is supplied to the intra prediction unit 420 and the inter prediction unit 421 via the selection unit 419.
  • Intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 412 to the intra prediction unit 420.
  • the intra prediction unit 420 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 323, and generates a predicted image.
  • the intra prediction unit 420 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 418 via the selection unit 419. That is, the intra prediction unit 420 uses this reconstructed image as a reference image (neighboring pixels).
  • the intra prediction unit 420 supplies the generated predicted image to the predicted image selection unit 422.
  • the inter prediction unit 421 is appropriately supplied with optimal prediction mode information, motion information, and the like from the lossless decoding unit 412.
  • the inter prediction unit 421 performs inter prediction using the decoded image (reference image) acquired from the frame memory 418 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 412. Generate a predicted image.
  • the prediction image selection unit 422 supplies the prediction image supplied from the intra prediction unit 420 or the prediction image supplied from the inter prediction unit 421 to the calculation unit 415. Then, in the calculation unit 415, the predicted image and the decoded residual data (difference image information) from the inverse orthogonal transform unit 414 are added to obtain a reconstructed image.
  • the base layer image decoding unit 402 performs decoding without referring to other layers. That is, the intra prediction unit 420 and the inter prediction unit 421 do not use decoded images of other layers as reference images.
  • the frame memory 418 supplies the stored base layer decoded image to the upsampling unit 403 in order to use the decoded base layer image for enhancement layer decoding.
  • FIG. 44 is a block diagram illustrating a main configuration example of the upsampling unit 403 in FIG.
  • the upsample unit 403 includes a base layer decoded image buffer 431, an upsample switching unit 432, an upsample information buffer 433, a field base upsampler 434, and a frame base upsampler 435.
  • the base layer decoded image buffer 431 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk.
  • the base layer decoded image buffer 431 acquires and stores the base layer decoded image supplied from the frame memory 418 of the base layer image decoding unit 402, for example.
  • the base layer decoded image buffer 431 reads the stored base layer decoded image at a predetermined timing, for example, or based on a predetermined event such as an instruction from the outside of another processing unit or a user, for example. This is supplied to the upsample switching unit 432.
  • the upsample switching unit 432 Based on the upsample information transmitted from the encoding side, the upsample switching unit 432, as described in the fourth embodiment, the upsample of the base layer decoded image read from the base layer decoded image buffer 431. Select a method. That is, the base layer decoded image buffer 431 switches the supply destination (upsampling method) of the base layer decoded image (selects the supply destination (upsampling method)).
  • the upsample switching unit 432 When the upsample switching unit 432 reads the upsample information stored in the upsample information buffer 433, the upsample switching unit 432 converts the base layer decoded image read from the base layer decoded image buffer 431 into the field base up based on the upsample information. This is supplied to one of the sampler 434 and the frame base up sampler 435 (the selected one).
  • the up-sample switching unit 432 supplies the base layer decoded image to the field base up-sampler 434. Also, the upsample switching unit 432 supplies the base layer decoded image to the frame base upsampler 435 when upsampling the current picture to be processed on a frame basis.
  • the upsample information buffer 433 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk.
  • the upsample information buffer 433 acquires and stores the upsample information (upsample information transmitted from the encoding side) supplied from the lossless decoding unit 452 of the enhancement layer image decoding unit 404, for example.
  • the upsample information buffer 433 reads out the stored upsample information at a predetermined timing, for example, based on a predetermined event such as an instruction from the outside such as another processing unit or a user, and upsamples it. This is supplied to the switching unit 432.
  • the field base upsampler 434 upsamples the base layer decoded image supplied from the upsample switching unit 432 on a field basis to generate an upsampled image.
  • the field base upsampler 434 supplies the generated upsampled image to the frame memory 458 of the enhancement layer image decoding unit 404.
  • the frame base upsampler 435 upsamples the base layer decoded image supplied from the upsample switching unit 432 on a frame basis to generate an upsampled image.
  • the frame base upsampler 435 supplies the generated upsampled image to the frame memory 458 of the enhancement layer image decoding unit 404.
  • FIG. 45 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 404 of FIG. As shown in FIG. 45, the enhancement layer image decoding unit 404 has basically the same configuration as the base layer image decoding unit 402 of FIG.
  • the enhancement layer image decoding unit 404 includes, as shown in FIG. 45, a storage buffer 451, a lossless decoding unit 452, an inverse quantization unit 453, an inverse orthogonal transform unit 454, a calculation unit 455, a loop filter 456, and a screen arrangement.
  • a replacement buffer 457 is provided.
  • the enhancement layer image decoding unit 404 includes a frame memory 458, a selection unit 459, an intra prediction unit 460, an inter prediction unit 461, and a predicted image selection unit 462.
  • accumulation buffer 451 through predicted image selection unit 462 correspond to the storage buffer 411 through predicted image selection unit 422 in FIG. 43, and perform the same processing as the corresponding processing unit, respectively.
  • each unit of the enhancement layer image decoding unit 404 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 451 to the predicted image selection unit 462, the description of the storage buffer 411 to the predicted image selection unit 422 of FIG. 43 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 404 performs decoding with reference to a decoded image of another layer (for example, a base layer).
  • the frame memory 458 stores the upsample image supplied from the upsample unit 403.
  • the frame memory 458 supplies the base layer decoded image as a reference image to the intra prediction unit 460 or the inter prediction unit 461 via the selection unit 459 in the intra BL mode, the reference index mode, or the like.
  • the lossless decoding unit 452 extracts the upsample information transmitted from the encoding side from the enhancement layer image encoded stream supplied from the accumulation buffer 451, and supplies it to the upsampling unit 403 (decoding side). To transmit).
  • the image decoding apparatus 400 suppresses the reduction in the encoding efficiency. Can do. In other words, the image decoding apparatus 400 can suppress a reduction in image quality due to decoding.
  • step S401 the demultiplexing unit 401 of the image decoding device 400 reverses the hierarchical image encoded stream obtained by multiplexing the encoded stream of each layer transmitted from the encoding side. Multiplexed and converted into an encoded stream for each layer.
  • step S402 the base layer image decoding unit 402 decodes the base layer image encoded stream obtained in step S401.
  • the base layer image decoding unit 402 outputs base layer image data generated by this decoding.
  • step S403 the upsampling unit 403 upsamples the base layer decoded image obtained in the process of step S402 based on the upsample information supplied from the encoding side, and generates an upsampled image.
  • step S404 the enhancement layer image decoding unit 404 decodes the enhancement layer image encoded stream obtained in step S401. At that time, the enhancement layer image decoding unit 404 performs decoding using the upsampled image obtained by the process of step S403. The enhancement layer image decoding unit 404 outputs enhancement layer image data generated by this decoding.
  • step S404 the image decoding device 400 ends the image decoding process.
  • One picture is processed by such an image decoding process. Therefore, the image decoding apparatus 400 repeatedly executes such image decoding processing for each picture of the hierarchized moving image data. However, it is not necessary to perform processing for all pictures, and processing that can be omitted may be omitted as appropriate.
  • step S411 the accumulation buffer 411 of the base layer image decoding unit 402 accumulates the transmitted base layer encoded stream.
  • the lossless decoding unit 412 decodes the base layer encoded stream supplied from the accumulation buffer 411. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 315 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 S413 the inverse quantization unit 413 inversely quantizes the quantized coefficient obtained by the process in step S412.
  • step S414 the inverse orthogonal transform unit 414 performs inverse orthogonal transform on the coefficient inversely quantized in step S413.
  • step S415 the intra prediction unit 420 and the inter prediction unit 421 perform prediction processing to generate a predicted image. That is, the prediction process is performed in the prediction mode applied at the time of encoding, which is determined by the lossless decoding unit 412. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 420 generates a prediction image in the intra prediction mode optimized at the time of encoding. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 421 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
  • step S416 the calculation unit 415 adds the predicted image generated in step S415 to the difference image obtained by the inverse orthogonal transform in step S414. Thereby, image data of the reconstructed image is obtained.
  • step S417 the loop filter 416 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 of step S416.
  • step S4108 the screen rearrangement buffer 417 rearranges each frame of the reconstructed image filtered in step S417. That is, the order of frames rearranged at the time of encoding is rearranged in the original display order and output.
  • step S419 the frame memory 418 stores data such as a decoded image obtained by the process of step S417 and a reconstructed image obtained by the process of step S416.
  • step S420 the frame memory 418 supplies the stored base layer decoded image to the upsampling unit 403.
  • step S420 the base layer decoding process is terminated, and the process returns to FIG.
  • the base layer decoded image buffer 431 of the upsampling unit 403 acquires the base layer decoded image data supplied by the process of step S420 of FIG. 47 in step S431.
  • step S432 the base layer decoded image buffer 431 stores the data of the base layer decoded image acquired by the process of step S431.
  • step S433 the upsample information buffer 433 acquires the upsample information supplied from the enhancement layer image decoding unit 404.
  • the upsample information buffer 433 stores the upsample information acquired by the process of step S433.
  • This up-sampling information is transmitted from the encoding side, and includes information related to up-sampling processing at the time of encoding.
  • this upsampling information includes upsampling method identification information indicating whether upsampling processing has been performed on a field basis or a frame basis, and (one (Or two) phase information and the like are included.
  • step S435 the upsample switching unit 432 reads the upsample information stored in the upsample information buffer 433 by the processing in step S434 from the upsample information buffer 433, and is the processing target based on the upsample information. It is determined whether to upsample the current picture on a field basis.
  • the upsample switching unit 432 selects whether to upsample the current picture on a field basis or on a frame basis, as described in the fourth embodiment, based on the upsample information. For example, when it is determined that upsampling of the current picture is performed on a field basis, such as when the current picture is a picture having a time difference between fields, the process proceeds to step S436.
  • step S436 the field base upsampler 434 reads the base layer decoded image data stored in the base layer decoded image buffer 431 by the processing in step S432 via the upsample switching unit 432, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a field basis. That is, the field base upsampler 434 upsamples the first field (top field) and the second field (bottom field) of the current picture of the base layer decoded image.
  • step S437 the field base upsampler 434 supplies the upsampled image generated by the processing in step S436 (upsampled by the field base) to the frame memory 458 of the enhancement layer image decoding unit 404.
  • step S437 When the process of step S437 is completed, the upsampling process is terminated, and the process returns to FIG.
  • step S435 If it is determined in step S435 that the current picture is up-sampled on a frame basis, for example, if the current picture is a picture with no time difference between fields, the process proceeds to step S438.
  • step S438 the frame base upsampler 435 reads the base layer decoded image data stored in the base layer decoded image buffer 431 by the processing in step S432 via the upsample switching unit 432, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a frame basis. That is, the frame base upsampler 435 upsamples the current picture of the base layer decoded image as a frame.
  • step S439 the frame base upsampler 435 supplies the upsampled image generated by the processing in step S438 (upsampled on the frame base) to the frame memory 458 of the enhancement layer image decoding unit 404.
  • step S439 When the process of step S439 is completed, the upsampling process is terminated, and the process returns to FIG.
  • the accumulation buffer 451 of the enhancement layer image decoding unit 404 accumulates the transmitted enhancement layer encoded stream in step S451.
  • step S452 the lossless decoding unit 452 decodes the enhancement layer encoded stream supplied from the accumulation buffer 451. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 355 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 S453 the lossless decoding unit 452 extracts upsample information from the enhancement layer encoded stream supplied from the accumulation buffer 451 and supplies it to the upsampler unit 403.
  • the upsampling unit 403 performs upsampling of the base layer decoded image using this upsampling information, and generates an upsampled image. Then, the upsampled image is supplied to the enhancement layer image decoding unit 404.
  • step S454 the frame memory 458 acquires the upsampled image obtained by the processing in step S403 (FIG. 46).
  • step S455 the frame memory 458 stores the upsampled image acquired in step S454.
  • step S456 to step S462 corresponds to each process of step S413 to step S419 in FIG. 47, and is executed basically in the same manner as those processes. However, each process of FIG. 47 is performed with respect to the base layer, whereas each process of FIG. 49 is performed with respect to the enhancement layer.
  • step S462 ends, the enhancement layer decoding process ends, and the process returns to FIG.
  • the image decoding apparatus 400 can suppress a reduction in encoding efficiency. In other words, the image decoding apparatus 400 can suppress a reduction in image quality due to decoding.
  • the applicable range of the present technology can be applied to any image encoding device and image decoding device based on a scalable encoding / decoding method.
  • this technology is, for example, MPEG, H.264.
  • image information bitstream
  • 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. 50 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 in encoding / decoding of a multi-view image as shown in FIG. That is, in encoding / decoding of image data including a plurality of layers, a plurality of pieces of color difference phase information relating to the phase of the color difference signal may be generated and transmitted. By doing in this way, similarly in the case of a multi-viewpoint image, it is possible to suppress a reduction in image quality due to encoding and decoding.
  • FIG. 51 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 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.
  • FIG. 52 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 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. 53 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 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. In that case, the program can be received by the communication unit 814 and installed in the storage unit 813.
  • 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 and installed in the storage unit 813.
  • this program can be installed in advance in the ROM 802 or the storage unit 813.
  • 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).
  • the configurations described above as a plurality of devices (or processing units) may be combined into a single device (or processing unit).
  • a configuration other than that described above may be added to the configuration of each device (or each processing unit).
  • 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 device or can be shared by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • 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. 54 shows an example of a schematic configuration of a television apparatus to which the above-described embodiment is applied.
  • the television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, an external interface (I / F) unit 909, and a control unit. 910, a user interface (I / F) unit 911, and a bus 912.
  • Tuner 902 extracts a signal of a desired channel from a broadcast signal received via 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 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 device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment. Thereby, reduction in image quality due to image decoding in the television device 900 can be suppressed.
  • FIG. 55 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 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.
  • the control unit 931 generates character data constituting the e-mail in response to an operation by the user via the operation unit 932.
  • the control unit 931 causes the display unit 930 to display characters.
  • 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.
  • 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, supplies the electronic mail data to the recording / reproducing unit 929, and writes the data in the storage medium.
  • the recording / reproducing unit 929 has an arbitrary readable / writable 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, supplies the encoded stream to the recording / reproducing unit 929, and writes the encoded stream in the storage medium.
  • the recording / reproducing unit 929 reads out the encoded stream recorded in the storage medium and outputs the encoded stream to the image processing unit 927.
  • the image processing unit 927 decodes the encoded stream input from the recording / reproducing unit 929, supplies the image data to the display unit 930, and displays the image.
  • 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 includes an image encoding device (for example, the image encoding device 100 or the image encoding device 300) or an image decoding device (for example, image decoding) according to the above-described embodiment. Functions of the apparatus 200 and the image decoding apparatus 400). Accordingly, it is possible to suppress a reduction in image quality due to image encoding or decoding on the mobile phone 920.
  • FIG. 56 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.
  • the encoder 943 encodes video data and audio data when the video data and audio data input from the external interface unit 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
  • the HDD 944 records an encoded bit stream in which content data such as video and audio are compressed, various programs, and other data on an internal hard disk. Further, the HDD 944 reads out these data from the hard disk when reproducing video and audio.
  • the disk drive 945 performs recording and reading of data to and from the mounted recording medium.
  • 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.
  • 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.
  • the 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 (for example, the image encoding apparatus 100 or the image encoding apparatus 300) according to the above-described embodiment.
  • the decoder 947 has a function of the image decoding device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment.
  • FIG. 57 shows an example of a schematic configuration of an imaging apparatus to which the above-described embodiment is applied.
  • the imaging device 960 images a subject to generate an image, encodes the image data, and records it on a recording medium.
  • the imaging device 960 includes an optical block 961, an imaging unit 962, a signal processing unit 963, an image processing unit 964, a display unit 965, an external interface (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 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 image processing unit 964 encodes the image data input from the signal processing unit 963 and generates 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, 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 mounted on 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 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 includes an image encoding device (for example, the image encoding device 100 or the image encoding device 300) or an image decoding device (for example, an image) according to the above-described embodiment. Functions of the decoding device 200 and the image decoding device 400). Accordingly, it is possible to suppress a reduction in image quality due to image encoding or decoding in the imaging device 960.
  • 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.
  • the distribution server 1002 selects an appropriate layer according to the capability of the terminal device that transmits data, the communication environment, and the like, and reads the data of the layer. For example, the distribution server 1002 reads high-quality scalable encoded data (BL + EL) 1011 from the scalable encoded data storage unit 1001 and transmits it to the personal computer 1004 and the tablet device 1006 with high processing capability as they are. . On the other hand, for example, the distribution server 1002 extracts base layer data from the scalable encoded data (BL + EL) 1011 for the AV device 1005 and the cellular phone 1007 having a low processing capability, and performs scalable encoding. Although it is data of the same content as the data (BL + EL) 1011, it is transmitted as scalable encoded data (BL) 1012 having a lower quality than the scalable encoded data (BL + EL) 1011.
  • BL scalable encoded data
  • scalable encoded data By using scalable encoded data in this way, the amount of data can be easily adjusted, so that the occurrence of 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 numbers of the scalable encoded data storage unit 1001, the distribution server 1002, the network 1003, and the terminal devices are arbitrary.
  • the example in which the distribution server 1002 transmits data to the terminal device has been described, but the usage example is not limited to this.
  • the data transmission system 1000 may be any system as long as it transmits a scalable encoded data to a terminal device by selecting an appropriate layer according to the capability of the terminal device or a communication environment. Can be applied to the system.
  • 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
  • the terminal apparatus 1102 has a reception function of the terrestrial broadcast 1111 broadcast by the broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via the terrestrial broadcast 1111.
  • the terminal apparatus 1102 further has a communication function for performing communication via the network 1112, and receives enhancement layer scalable encoded data (EL) 1122 transmitted via the network 1112.
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded data
  • the terminal device 1102 decodes the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 according to, for example, a user instruction, and obtains or stores a base layer image. Or transmit to other devices.
  • BL base layer scalable encoded data
  • the terminal device 1102 for example, in response to a user instruction, the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 and the enhancement layer scalable encoded acquired via the network 1112 Data (EL) 1122 is combined to obtain scalable encoded data (BL + EL), or decoded to obtain an enhancement layer image, stored, or transmitted to another device.
  • BL base layer scalable encoded data
  • EL enhancement layer scalable encoded acquired via the network 1112 Data
  • the scalable encoded data can be transmitted via a communication medium that is different for each layer, for example. Therefore, the load can be distributed, and the occurrence of delay and overflow can be suppressed.
  • the communication medium used for transmission may be selected for each layer. For example, scalable encoded data (BL) 1121 of a base layer having a relatively large amount of data is transmitted via a communication medium having a wide bandwidth, and scalable encoded data (EL) 1122 having a relatively small amount of data is transmitted. You may make it transmit via a communication medium with a narrow bandwidth. Further, for example, the communication medium for transmitting the enhancement layer scalable encoded data (EL) 1122 is switched between the network 1112 and the terrestrial broadcast 1111 according to the available bandwidth of the network 1112. May be. Of course, the same applies to data of an arbitrary layer.
  • the number of layers is arbitrary, and the number of communication media used for transmission is also arbitrary.
  • the number of terminal devices 1102 serving as data distribution destinations is also arbitrary.
  • broadcasting from the broadcasting station 1101 has been described as an example, but the usage example is not limited to this.
  • the data transmission system 1100 can be applied to any system as long as it is a system that divides scalable encoded data into a plurality of layers and transmits them through a plurality of lines.
  • 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 encoding is used for storing encoded data as in the example shown in FIG. 60, for example.
  • the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
  • the scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
  • the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
  • the imaging device 1201 is a surveillance camera.
  • the monitoring target for example, an intruder
  • the content of the captured image is likely to be unimportant, so reduction of the data amount is given priority, and the image data (scalable coding) Data) is stored in low quality.
  • the image quality is given priority and the image data (scalable) (Encoded data) is stored with high quality.
  • whether it is normal time or attention time may be determined by the scalable encoded data storage device 1202 analyzing an image, for example.
  • the imaging apparatus 1201 may make a determination, and the determination result may be transmitted to the scalable encoded data storage device 1202.
  • the criterion for determining whether the time is normal or noting is arbitrary, and the content of the image as the criterion is arbitrary. Of course, conditions other than the contents of the image can also be used as the criterion. For example, it may be switched according to the volume or waveform of the recorded sound, may be switched at every predetermined time, or may be switched by an external instruction such as a user instruction.
  • the number of states is arbitrary, for example, normal, slightly attention, attention, very attention, etc.
  • three or more states may be switched.
  • the upper limit number of states to be switched depends on the number of layers of scalable encoded data.
  • the imaging apparatus 1201 may determine the number of layers for scalable coding according to the state. For example, in a normal case, the imaging apparatus 1201 may generate base layer scalable encoded data (BL) 1222 with low quality and a small amount of data, and supply the scalable encoded data storage apparatus 1202 to the scalable encoded data storage apparatus 1202. For example, when attention is paid, the imaging device 1201 generates scalable encoded data (BL + EL) 1221 having a high quality and a large amount of data, and supplies the scalable encoded data storage device 1202 to the scalable encoded data storage device 1202. May be.
  • BL base layer scalable encoded data
  • BL + EL scalable encoded data
  • the monitoring camera has been described as an example.
  • the use of the imaging system 1200 is arbitrary and is not limited to the monitoring camera.
  • the 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. 61 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. 61 has such a multi-functional configuration, and a device having a function relating 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 a connectivity 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
  • a module is a component that has several functions that are related to each other and that has 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.
  • a processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by a SoC (System On a Chip), and for example, there is a system LSI (Large Scale Integration).
  • 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 61 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 converts the data (digital signal) transmitted by wired or wireless (or both) broadband communication via a broadband line such as the Internet or a public telephone line network into an analog signal by digitally modulating the data.
  • the analog signal received by the broadband communication is demodulated and converted into data (digital signal).
  • the broadband modem 1333 processes 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 Frequency) signal transmitted / 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 Frequency
  • the application processor 1331 and the video processor 1332 may be integrated into a single processor.
  • the external memory 1312 is a module that is provided outside the video module 1311 and has a storage device 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 (circuit on the transmitting / receiving end on the antenna side). As shown in FIG. 61, the front end module 1314 includes, for example, an antenna unit 1351, a filter 1352, and an amplification unit 1353.
  • the 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 camera 1322 is a module having a function of capturing 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 as a module in the above 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. 62 shows an example of a schematic configuration of a video processor 1332 (FIG. 61) to which the present technology is applied.
  • the video processor 1332 receives the input of 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, for example, a video signal input from the connectivity 1321 (FIG. 61) 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. 61).
  • 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 write / read 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. 61), 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, for example, an analog signal, and supplies the reproduced audio signal to, for example, the connectivity 1321 (FIG. 61).
  • the multiplexing unit (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).
  • the demultiplexer (DMUX) 1413 obtains the transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 61) 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 demultiplexing unit (DMUX) 1413 obtains, for example, file data read from various recording media by the connectivity 1321 (FIG. 61) via the stream buffer 1414, and demultiplexes the file data. It can be converted into a video stream and an audio stream.
  • 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 Is 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, connectivity 1321 (FIG. 61) 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
  • connectivity 1321 FIG. 61
  • 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. 61), 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 the connectivity 1321 (FIG. 61), for example, and at a predetermined timing or based on an external request or the like, a demultiplexing unit (DMUX) 1413.
  • DMUX demultiplexing unit
  • a video signal input from the connectivity 1321 (FIG. 61) 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 into 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. 61) 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, file data, or the like.
  • 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 and the broadband modem 1333 (both of which are shown in FIG. 61).
  • 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. 61) and recorded on various recording media.
  • the transport stream input from the external network to the video processor 1332 via the connectivity 1321 or the broadband modem 1333 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. 61) 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 may have the functions of the image encoding device 100, the image decoding device 200, the image encoding device 300, or the image decoding device 400. In this way, 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. 63 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 61) to which the present technology is applied.
  • the video processor 1332 has a function of encoding / 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 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. 61) 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 of the connectivity 1321 (FIG. 61) or the like as a reproduced video signal or as image data of 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 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 in 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 Video1541 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 using 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 performs multiplexing and demultiplexing of 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, for example, a broadband modem 1333, connectivity 1321 (both are FIG. 61), and the like.
  • the video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are shown in FIG. 61).
  • 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.
  • 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. 61) 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. 61) through 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. 61) or the like is multiplexed / demultiplexed via the video interface 1520.
  • 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 (FIG. 61) via the display interface 1512. 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 another device (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 or 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 embodiment described above may be applied to the codec engine 1516. That is, for example, the codec engine 1516 may have function blocks that implement the image encoding device 100, the image decoding device 200, the image encoding device 300, and the image decoding device 400. In this way, 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.
  • 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. 54), the mobile phone 920 (FIG. 55), the recording / reproducing device 940 (FIG. 56), the imaging device 960 (FIG. 57), 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. 58, 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. 60, 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. 58, 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. 60, 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.
  • the video processor 1332 can implement as a structure to which this technique is applied.
  • the video processor 1332 can be implemented as a video processor to which the present technology is applied.
  • the processor or the video module 1311 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 49 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. 54), a mobile phone 920 (FIG. 55), a recording / playback device 940 (FIG. 56), Image pickup apparatus 960 (FIG. 57), terminal devices such as personal computer 1004, AV device 1005, tablet device 1006, and mobile phone 1007 in data transmission system 1000 in FIG. 58, 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. 60, 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 49 as in the case of the video set 1300. .
  • this technique selects and uses an appropriate one of a plurality of pieces of encoded data having different resolutions prepared in advance for each segment, for example, an HTTP streaming content such as MPEG DASH to be described later
  • the present invention can also be applied to a reproduction system and a Wi-Fi standard wireless communication system.
  • FIG. 64 is an explanatory diagram showing the configuration of the content reproduction system.
  • the content reproduction system includes content servers 1610 and 1611, a network 1612, and a content reproduction device 1620 (client device).
  • the content servers 1610 and 1611 and the content playback device 1620 are connected via a network 1612.
  • the network 1612 is a wired or wireless transmission path for information transmitted from a device connected to the network 1612.
  • the network 1612 may include a public line network such as the Internet, a telephone line network, a satellite communication network, various local area networks (LAN) including Ethernet (registered trademark), a wide area network (WAN), and the like.
  • the network 1612 may include a dedicated line network such as IP-VPN (Internet Protocol-Virtual Private Network).
  • the content server 1610 encodes the content data, and generates and stores the encoded data and a data file including the meta information of the encoded data.
  • the encoded data corresponds to “mdat” and the meta information corresponds to “moov”.
  • the content data may be music data such as music, lectures and radio programs, video data such as movies, television programs, video programs, photographs, documents, pictures and charts, games and software, etc. .
  • the content server 1610 generates a plurality of data files at different bit rates for the same content.
  • the content server 1611 includes the URL information of the content server 1610 in the content playback device 1620, including information on parameters to be added to the URL by the content playback device 1620. Send.
  • this matter will be specifically described with reference to FIG.
  • FIG. 65 is an explanatory diagram showing a data flow in the content reproduction system of FIG.
  • the content server 1610 encodes the same content data at different bit rates, and generates, for example, a 2 Mbps file A, a 1.5 Mbps file B, and a 1 Mbps file C as shown in FIG. In comparison, file A has a high bit rate, file B has a standard bit rate, and file C has a low bit rate.
  • the encoded data of each file is divided into a plurality of segments.
  • the encoded data of file A is divided into segments “A1”, “A2”, “A3”,... “An”
  • the encoded data of file B is “B1”, “B2”, “B3”,... “Bn” is segmented
  • the encoded data of file C is segmented as “C1”, “C2”, “C3”,. .
  • Each segment consists of one or more video encoded data and audio encoded data that can be reproduced independently, starting with an MP4 sync sample (for example, IDR-picture for AVC / H.264 video encoding). It may be constituted by. For example, when video data of 30 frames per second is encoded by a GOP (Group of Picture) having a fixed length of 15 frames, each segment is 2 seconds worth of video and audio encoded data corresponding to 4 GOPs. Alternatively, it may be video and audio encoded data for 10 seconds corresponding to 20 GOP.
  • an MP4 sync sample for example, IDR-picture for AVC / H.264 video encoding.
  • GOP Group of Picture
  • each segment is 2 seconds worth of video and audio encoded data corresponding to 4 GOPs.
  • it may be video and audio encoded data for 10 seconds corresponding to 20 GOP.
  • the playback range (the range of time position from the beginning of the content) by the segments with the same arrangement order in each file is the same.
  • the playback ranges of the segment “A2”, the segment “B2”, and the segment “C2” are the same and each segment is encoded data for 2 seconds
  • the segment “A2”, the segment “B2”, and The playback range of the segment “C2” is 2 to 4 seconds for the content.
  • the content server 1610 When the content server 1610 generates the file A to the file C composed of such a plurality of segments, the content server 1610 stores the file A to the file C. Then, as shown in FIG. 65, the content server 1610 sequentially transmits segments constituting different files to the content playback device 1620, and the content playback device 1620 performs streaming playback of the received segments.
  • the content server 1610 transmits a playlist file (MPD: MediaMPPresentation Description) including the bit rate information and access information of each encoded data to the content playback device 1620, and the content playback device 1620. Selects one of a plurality of bit rates based on the MPD, and requests the content server 1610 to transmit a segment corresponding to the selected bit rate.
  • MPD MediaMPPresentation Description
  • FIG. 66 is an explanatory diagram showing a specific example of MPD.
  • MPD includes access information regarding a plurality of encoded data having different bit rates (BANDWIDTH).
  • BANDWIDTH bit rates
  • the MPD shown in FIG. 66 indicates that each encoded data of 256 Kbps, 1.024 Mbps, 1.384 Mbps, 1.536 Mbps, and 2.048 Mbps exists, and includes access information regarding each encoded data.
  • the content playback device 1620 can dynamically change the bit rate of encoded data to be streamed based on the MPD.
  • the content playback device 1620 is not limited to such an example.
  • the content playback device 1620 is an information processing device such as a PC (Personal Computer), a home video processing device (DVD recorder, VCR, etc.), a PDA (Personal Digital Assistant), a home game device, or a home appliance. Also good.
  • the content playback device 1620 may be an information processing device such as a mobile phone, a PHS (Personal Handyphone System), a portable music playback device, a portable video processing device, or a portable game device.
  • FIG. 67 is a functional block diagram showing the configuration of the content server 1610.
  • the content server 1610 includes a file generation unit 1631, a storage unit 1632, and a communication unit 1633.
  • the file generation unit 1631 includes an encoder 1641 that encodes content data, and generates a plurality of encoded data having the same content and different bit rates, and the MPD described above. For example, when the file generation unit 1631 generates encoded data of 256 Kbps, 1.024 Mbps, 1.384 Mbps, 1.536 Mbps, and 2.048 Mbps, the MPD as illustrated in FIG. 66 is generated.
  • the storage unit 1632 stores a plurality of encoded data and MPD having different bit rates generated by the file generation unit 1631.
  • the storage unit 1632 may be a storage medium such as a nonvolatile memory, a magnetic disk, an optical disk, and an MO (Magneto-Optical) disk.
  • Non-volatile memory includes, for example, EEPROM (Electrically Erasable Programmable Read-Only ⁇ Memory) and EPROM (Erasable Programmable ROM).
  • Examples of the magnetic disk include a hard disk and a disk type magnetic disk.
  • Examples of the optical disc include CD (Compact Disc), DVD-R (Digital Versatile Disc Recordable), and BD (Blu-Ray Disc (registered trademark)).
  • the communication unit 1633 is an interface with the content reproduction device 1620 and communicates with the content reproduction device 1620 via the network 1612. More specifically, the communication unit 1633 has a function as an HTTP server that communicates with the content reproduction device 1620 according to HTTP. For example, the communication unit 1633 transmits the MPD to the content reproduction device 1620, extracts encoded data requested from the content reproduction device 1620 based on the MPD according to HTTP from the storage unit 1632, and transmits the encoded data to the content reproduction device 1620 as an HTTP response. Transmit encoded data.
  • FIG. 68 is a functional block diagram showing the configuration of the content reproduction apparatus 1620.
  • the content playback device 1620 includes a communication unit 1651, a storage unit 1652, a playback unit 1653, a selection unit 1654, and a current location acquisition unit 1656.
  • the communication unit 1651 is an interface with the content server 1610, requests data from the content server 1610, and acquires data from the content server 1610. More specifically, the communication unit 1651 has a function as an HTTP client that communicates with the content reproduction device 1620 according to HTTP. For example, the communication unit 1651 can selectively acquire an MPD or encoded data segment from the content server 1610 by using HTTP Range.
  • the storage unit 1652 stores various information related to content reproduction. For example, the segments acquired from the content server 1610 by the communication unit 1651 are sequentially buffered. The segments of the encoded data buffered in the storage unit 1652 are sequentially supplied to the reproduction unit 1653 by FIFO (First In First Out).
  • FIFO First In First Out
  • the storage unit 1652 adds a parameter to the URL by the communication unit 1651 based on an instruction to add a parameter to the URL of the content described in the MPD requested from the content server 1611 described later, and accesses the URL.
  • the definition to do is memorized.
  • the playback unit 1653 sequentially plays back the segments supplied from the storage unit 1652. Specifically, the playback unit 1653 performs segment decoding, DA conversion, rendering, and the like.
  • the selection unit 1654 sequentially selects, in the same content, which segment of the encoded data to acquire corresponding to which bit rate included in the MPD. For example, when the selection unit 1654 sequentially selects the segments “A1”, “B2”, and “A3” according to the bandwidth of the network 1612, the communication unit 1651 causes the segment “A1” from the content server 1610 as illustrated in FIG. ”,“ B2 ”, and“ A3 ”are acquired sequentially.
  • the current location acquisition unit 1656 acquires the current position of the content playback device 1620, and may be configured with a module that acquires the current location, such as a GPS (Global Positioning System) receiver.
  • the current location acquisition unit 1656 may acquire the current position of the content reproduction device 1620 using a wireless network.
  • FIG. 69 is an explanatory diagram showing a configuration example of the content server 1611. As illustrated in FIG. 69, the content server 1611 includes a storage unit 1671 and a communication unit 1672.
  • the storage unit 1671 stores the MPD URL information.
  • the MPD URL information is transmitted from the content server 1611 to the content reproduction device 1620 in response to a request from the content reproduction device 1620 that requests content reproduction.
  • the storage unit 1671 stores definition information when the content playback device 1620 adds a parameter to the URL described in the MPD.
  • the communication unit 1672 is an interface with the content reproduction device 1620 and communicates with the content reproduction device 1620 via the network 1612. That is, the communication unit 1672 receives an MPD URL information request from the content reproduction device 1620 that requests content reproduction, and transmits the MPD URL information to the content reproduction device 1620.
  • the MPD URL transmitted from the communication unit 1672 includes information for adding a parameter by the content reproduction device 1620.
  • the parameters added to the MPD URL by the content playback device 1620 can be variously set by definition information shared by the content server 1611 and the content playback device 1620. For example, information such as the current position of the content playback device 1620, the user ID of the user who uses the content playback device 1620, the memory size of the content playback device 1620, the storage capacity of the content playback device 1620, and the like. Can be added to the MPD URL.
  • the encoder 1641 of the content server 1610 has the function of the image encoding device (for example, the image encoding device 100 or the image encoding device 300) according to the above-described embodiment.
  • the playback unit 1653 of the content playback device 1620 has the function of the image decoding device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment.
  • transmission / reception of data encoded by the present technology can suppress a reduction in image quality due to encoding / decoding.
  • wireless packet transmission / reception is performed until a specific application is operated after a P2P (Peer to Peer) connection is established.
  • P2P Peer to Peer
  • wireless packet transmission / reception is performed from the time when the specific application to be used is specified until the P2P connection is established and the specific application is operated. Thereafter, after connection in the second layer, radio packet transmission / reception is performed when a specific application is started.
  • 70 and 71 are examples of wireless packet transmission / reception from the establishment of the above-described P2P (Peer to Peer) connection until a specific application is operated, and shows an example of communication processing by each device serving as the basis of wireless communication. It is a sequence chart. Specifically, an example of a procedure for establishing a direct connection leading to a connection based on the Wi-Fi Direct (Direct) standard (sometimes referred to as Wi-Fi P2P) standardized by the Wi-Fi Alliance is shown.
  • Direct Wi-Fi Direct
  • Wi-Fi Direct multiple wireless communication devices detect each other's presence (Device Discovery, Service Discovery).
  • WPS Wi-Fi Protected Setup
  • Wi-Fi Direct a communication group is formed by determining whether a plurality of wireless communication devices play a role as a parent device (Group Owner) or a child device (Client).
  • some packet transmission / reception is omitted.
  • packet exchange for using WPS is necessary, and packet exchange is also necessary for exchange of Authentication Request / Response.
  • FIG. 70 and FIG. 71 illustration of these packet exchanges is omitted, and only the second and subsequent connections are shown.
  • 70 and 71 show examples of communication processing between the first wireless communication device 1701 and the second wireless communication device 1702, but the same applies to communication processing between other wireless communication devices.
  • Device Discovery is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1711).
  • the first wireless communication device 1701 transmits a Probe request (response request signal) and receives a Probe response (response signal) for the Probe request from the second wireless communication device 1702.
  • the first wireless communication device 1701 and the second wireless communication device 1702 can discover each other's presence.
  • Device Discovery can acquire the device name and type (TV, PC, smartphone, etc.) of the other party.
  • Service Discovery is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1712).
  • the first wireless communication device 1701 transmits a Service Discovery Query that inquires about the service supported by the second wireless communication device 1702 discovered by Device Discovery.
  • the first wireless communication device 1701 receives a Service Discovery Response from the second wireless communication device 1702, thereby acquiring a service supported by the second wireless communication device 1702.
  • a service or the like that can be executed by the other party can be acquired by Service Discovery.
  • Services that can be executed by the other party are, for example, service and protocol (DLNA (Digital Living Network Alliance) DMR (Digital Media Renderer), etc.).
  • DLNA Digital Living Network Alliance
  • DMR Digital Media Renderer
  • connection partner selection operation (connection partner selection operation) is performed by the user (1713).
  • This connection partner selection operation may occur only in one of the first wireless communication device 1701 and the second wireless communication device 1702.
  • a connection partner selection screen is displayed on the display unit of the first wireless communication device 1701, and the second wireless communication device 1702 is selected as a connection partner on the connection partner selection screen by a user operation.
  • Group Owner Negotiation is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1714).
  • 70 and 71 show an example in which the first wireless communication device 1701 becomes the group owner (Group Owner) 1715 and the second wireless communication device 1702 becomes the client (Client) 1716 based on the result of Group Owner Negotiation.
  • L2 (second layer) link establishment
  • Secure link establishment (1718)
  • L4 setup (1720) on L3 by IP ⁇ Address Assignment (1719), SSDP (Simple Service Discovery Protocol) or the like is sequentially performed.
  • L2 (layer2) means the second layer (data link layer)
  • L3 (layer3) means the third layer (network layer)
  • L4 (layer4) means the fourth layer (transport layer) ).
  • the user designates or activates a specific application (application designation / activation operation) (1721).
  • This application designation / activation operation may occur only in one of the first wireless communication device 1701 and the second wireless communication device 1702.
  • an application designation / startup operation screen is displayed on the display unit of the first wireless communication apparatus 1701, and a specific application is selected by a user operation on the application designation / startup operation screen.
  • connection between AP (Access Point) and STA (Station) is performed within the scope of the specifications before Wi-Fi Direct (standardized by IEEE802.11).
  • Wi-Fi Direct standardized by IEEE802.11.
  • connection partner when searching for a connection candidate partner in Device Discovery or Service Discovery (option), information on the connection partner can be acquired.
  • the information of the connection partner is, for example, a basic device type, a corresponding specific application, or the like. And based on the acquired information of a connection other party, a user can be made to select a connection other party.
  • This mechanism can be expanded to realize a wireless communication system in which a specific application is specified before connection at the second layer, a connection partner is selected, and the specific application is automatically started after this selection. Is possible.
  • An example of the sequence leading to the connection in such a case is shown in FIG.
  • FIG. 72 shows a configuration example of a frame format (frame format) transmitted and received in this communication process.
  • FIG. 72 is a diagram schematically illustrating a configuration example of a frame format transmitted and received in communication processing by each device that is the basis of the present technology. That is, FIG. 72 shows a configuration example of a MAC frame for establishing a connection in the second layer. Specifically, it is an example of a frame format of Association Request / Response (1787) for realizing the sequence shown in FIG.
  • the MAC frame shown in FIG. 72 is basically the Association Request / Response frame format described in sections 7.2.3.4 and 7.2.3.5 of the IEEE802.11-2007 specification. However, the difference is that it includes not only Information (Element (hereinafter abbreviated as IE) defined in the IEEE802.11 specification but also its own extended IE.
  • IE Information
  • IE Type Information Element ID (1761)
  • Length field (1762) and the OUI field (1763) follow, followed by vendor specific content (1764).
  • Vendor specific content a field indicating the type of vendor specific IE (IE type (1765)) is first provided. Then, it is conceivable that a plurality of subelements (1766) can be stored thereafter.
  • the contents of the subelement (1766) include the name (1767) of a specific application to be used and the role of the device (1768) when the specific application is operating.
  • information such as a port number used for the control of a specific application (information for L4 setup) (1769) and information about Capability (Capability information) in the specific application may be included.
  • the Capability information is information for specifying, for example, that audio transmission / reproduction is supported, video transmission / reproduction, and the like when the specific application to be specified is DLNA.
  • 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 generation unit that generates a plurality of pieces of color difference phase information related to the phase of the color difference signal of the image data including a plurality of layers;
  • An encoding unit for encoding each layer of the image data;
  • An image encoding apparatus comprising: a transmission unit configured to transmit a plurality of pieces of color difference phase information generated by the generation unit and encoded data of the image data generated by the encoding unit.
  • the generation unit further generates, in each picture, index information indicating which of the plurality of color difference phase information is to be applied, The image encoding device according to (1), wherein the transmission unit further transmits the index information.
  • the image encoding apparatus transmits a plurality of the color difference phase information and the index information in a sequence parameter set (SPS (Sequence Parameter Set)).
  • the transmission unit transmits a plurality of the color difference phase information in a sequence parameter set (SPS (Sequence Parameter Set)) and transmits the index information in a picture parameter set (PPS (Picture Parameter Set)).
  • the image encoding device according to any one of (3) to (3).
  • the generation unit further generates information indicating the number of the color difference phase information,
  • the image transmission device according to any one of (1) to (4), wherein the transmission unit further transmits information indicating the number of the color difference phase information generated by the generation unit.
  • the generation unit generates the color difference phase information for each picture, The image encoding device according to any one of (1) to (5), wherein the transmission unit transmits the color difference phase information in a picture parameter set (PPS (Picture Parameter Set)).
  • PPS Picture Parameter Set
  • the generation unit generates the color difference phase information for each of a top field and a bottom field, The image transmission apparatus according to any one of (1) to (6), wherein the transmission unit transmits the color difference phase information of both fields generated by the generation unit.
  • the generation unit further generates control information for controlling the upsampling of the image data to be performed on a field basis,
  • the image transmission device according to any one of (1) to (7), wherein the transmission unit further transmits the control information generated by the generation unit.
  • a color difference phase setting unit that sets the phase of the color difference signal of the image data;
  • the image encoding device according to any one of (1) to (8), wherein the generation unit generates color difference phase information indicating a phase of the color difference signal set by the color difference phase setting unit.
  • an upsampling control unit that controls upsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
  • the image coding device according to any one of (1) to (9), further comprising: an upsampling unit that upsamples a base layer of the image data according to control of the upsampling control unit.
  • a downsampling control unit that controls downsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
  • the image coding apparatus according to any one of (1) to (10), further comprising: a downsampling unit that downsamples an enhancement layer of the image data according to control of the downsampling control unit.
  • An acquisition unit that acquires encoded data of image data including a plurality of layers and a plurality of color difference phase information related to the phase of the color difference signal of the image data;
  • An upsampling control unit for controlling upsampling of decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the plurality of color difference phase information acquired by the acquisition unit;
  • An upsampling unit that upsamples a base layer of the decoded image data according to the control of the upsampling control unit;
  • a decoding unit that decodes the enhancement layer of the encoded data acquired by the acquisition unit using the upsampled image data obtained by upsampling the base layer of the decoded image data by the upsampling unit.
  • the acquisition unit further acquires, in each picture, index information indicating which of the plurality of color difference phase information is to be applied,
  • the upsampling control unit specifies the color difference phase information to be applied using the index information.
  • the image decoding device according to any one of (15) to (19).
  • the acquisition unit acquires a plurality of the color difference phase information and the index information transmitted in a sequence parameter set (SPS (Sequence Parameter Set)). (13), (14), (16) to (19 The image decoding device according to any one of the above.
  • SPS Sequence Parameter Set
  • the acquisition unit includes a plurality of the color difference phase information transmitted in a sequence parameter set (SPS (Sequence Parameter Set)), and the index information transmitted in a picture parameter set (PPS (Picture Parameter Set)).
  • SPS Sequence Parameter Set
  • PPS Picture Parameter Set
  • the image decoding device according to any one of (13) to (15) and (17) to (19).
  • the acquisition unit acquires the chrominance phase information for each picture transmitted in a picture parameter set (PPS (Picture Parameter Set)).
  • PPS Picture Parameter Set
  • the acquisition unit further acquires information indicating the number of the color difference phase information, A color difference phase information number determination unit that determines the number of color difference phase information acquired by the acquisition unit based on information indicating the number of color difference phase information acquired by the acquisition unit. 17) The image decoding device according to any one of (19). (19) The acquisition unit further acquires control information for controlling the upsampling of the image data to be performed on a field basis, The image decoding device according to any one of (13) to (18), wherein the upsampling control unit controls upsampling of the decoded image data in accordance with the control information acquired by the acquisition unit.
  • a base layer encoding unit that encodes a base layer of image data and generates encoded data
  • An upsample of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data by the base layer encoding unit is subjected to a scanning scheme frame rate conversion process performed on the image data.
  • An upsampling unit for generating an upsampled image of the decoded image data;
  • An image encoding apparatus comprising: an enhancement layer encoding unit that encodes an enhancement layer of the image data using the upsampled image generated by the upsampling unit and generates encoded data.
  • the image encoding device (21), wherein the upsampling unit performs the upsampling on a field basis or a frame basis.
  • the upsampling unit includes: A frame having no time difference between the first field and the second field of the decoded image data is subjected to the upsampling on a frame basis, The image coding apparatus according to (21) or (22), wherein the frame having a time difference between the first field and the second field performs the upsampling on a field basis.
  • the image encoding device according to any one of (21) to (23), wherein the scanning method frame rate conversion processing is a 2: 3 pull-up.
  • the upsampling unit performs the upsampling on a field basis or a frame basis based on information indicating whether the 2: 3 pull-up of the encoded data of the base layer has been performed.
  • the information on the upsample includes the phase information on the upsample when the upsample is performed on a frame basis.
  • the information on the upsample is stored in a slice header of each slice of the current picture of the encoded data when the current picture includes a plurality of slices.
  • (21) to (31) The image encoding device described.
  • the upsampling unit includes: When the base layer encoding unit and the enhancement layer encoding unit perform frame encoding, the up-sampling is performed on a field basis or a frame basis, The image encoding device according to any one of (21) to (32), wherein when the base layer encoding unit and the enhancement layer encoding unit perform field encoding, the upsampling is performed on a field basis.
  • the image encoding device according to any one of (21) to (33), wherein the base layer encoding unit and the enhancement layer encoding unit encode the image data using different encoding methods.
  • (35) Encode the base layer of image data to generate encoded data;
  • the up-sampling of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data is performed by a method according to the scanning method frame rate conversion processing method performed on the image data.
  • a base layer decoding unit that decodes encoded data obtained by encoding a base layer of image data; The upsampling of each frame of the decoded image data of the base layer obtained by decoding the decoded data by the base layer decoding unit according to the scanning method frame rate conversion processing method performed on the image data
  • An image decoding apparatus comprising: an enhancement layer decoding unit that decodes encoded data obtained by encoding an enhancement layer of the image data using the upsampled image generated by the upsampling unit.
  • the image decoding device according to (36), wherein the upsampling unit performs the upsampling on a field basis or a frame basis.
  • the upsampling part A frame having no time difference between the first field and the second field of the decoded image data is subjected to the upsampling on a frame basis,
  • An acquisition unit that acquires information about the upsample is further provided, The upsampling unit selects whether to perform the upsampling on a field basis or a frame basis on the basis of information on the upsampling acquired by the acquisition unit.
  • An image decoding apparatus according to claim 1.
  • the image decoding device according to any one of (36) to (40), wherein the information related to the upsample includes information indicating whether the upsample is performed on a field basis or a frame basis.
  • the image decoding device according to any one of (36) to (41), wherein the information about the upsample includes one phase information about the upsample when the upsample is performed on a frame basis.
  • the image decoding device according to any one of (36) to (42), wherein the information about the upsample includes two pieces of phase information about the upsample when the upsample is performed on a field basis.
  • the upsampling part When the base layer decoding unit and the enhancement layer decoding unit perform frame decoding, the up-sampling is performed on a field basis or a frame basis, The image decoding device according to any one of (36) to (46), wherein when the base layer decoding unit and the enhancement layer decoding unit perform field decoding, the up-sampling is performed on a field basis. (48) The image decoding device according to any one of (36) to (47), wherein the base layer decoding unit and the enhancement layer decoding unit decode the encoded data using different decoding methods.

Abstract

The present disclosure pertains to an image encoding device and method and an image decoding device and method with which a reduction in image quality due to encoding or decoding can be suppressed. The image encoding device is equipped with: a generation unit that generates multiple instances of color difference phase information pertaining to the phase of a color difference signal of image data comprising multiple layers; an encoding unit that encodes each layer of the image data; and a transmission unit that transmits the multiple instances of color difference phase information generated by the generation unit and the encoded data generated for the image data by the encoding unit. The present disclosure for example can be applied to an image processing device such as an image encoding device that scalably encodes image data, or an image decoding device that decodes encoded data wherein image data has been scalably encoded.

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 reduction in image quality due to encoding or decoding, and an image decoding apparatus. And methods.
 近年、MPEG-4 Part10 (Advanced Video Coding、以下AVCと記す)より更なる符号化効率の向上を目的として、ITU-T(International Telecommunication Union Telecommunication Standardization Sector)と、ISO/IEC(International Organization for Standardization / International Electrotechnical Commission)の共同の標準化団体であるJCTVC(Joint Collaboration Team - Video Coding)により、HEVC(High Efficiency Video Coding)と呼ばれる符号化方式の標準化が進められている(例えば、非特許文献1参照)。 In recent years, ITU-T (International Telecommunication Union Telecommunication Standardization Sector) and ISO / IEC (International Organization for Standardization) / In order to further improve coding efficiency than MPEG-4 Part 10 (Advanced Video Coding, hereinafter referred to as AVC). Standardization of coding method called HEVC (High Efficiency Video Coding) is being promoted by JCTVC (Joint Collaboration Team-Video Coding), a joint standardization organization of International Electrotechnical Commission (see Non-Patent Document 1, for example) .
 ところでAVCやHEVC等の画像符号化方式は、スケーラブル機能を有している。そのスケーラブルな符号化や復号において行われるアップサンプル処理では、色差信号の位相を考慮する必要がある。そこで、色差信号の位相を、出力となるエンハンスメントレイヤ画像圧縮情報において伝送する方法が提案された(例えば、非特許文献2参照)。 By the way, image encoding methods such as AVC and HEVC have a scalable function. In the upsampling process performed in the scalable encoding and decoding, it is necessary to consider the phase of the color difference signal. In view of this, a method has been proposed in which the phase of the color difference signal is transmitted in enhancement layer image compression information to be output (see, for example, Non-Patent Document 2).
 ところで、走査方式がインターレースの画像(インターレース画像)のデータをフィールドベースで符号化(フィールド符号化)する場合、単一のシーケンスの中でも複数種類の色差信号の位相が存在する。しかしながら、非特許文献2に記載の方法では、単一のシーケンスにおいては単一の色差信号位相しか伝送することができず、色差信号のアップサンプル処理において位相を正確に反映させることができない恐れがあった。そのため、位相が不正確なアップサンプル画像を用いて符号化や復号が行われる恐れがあり、結果として復号画像の画質が大幅に低減する恐れがあった。 By the way, when data of an interlaced image (interlaced image) is encoded on a field basis (field encoding), there are multiple types of color difference signal phases in a single sequence. However, in the method described in Non-Patent Document 2, only a single color difference signal phase can be transmitted in a single sequence, and there is a possibility that the phase cannot be accurately reflected in the upsampling processing of the color difference signal. there were. Therefore, there is a possibility that encoding or decoding is performed using an upsampled image with an incorrect phase, and as a result, the image quality of the decoded image may be significantly reduced.
 本開示は、このような状況に鑑みてなされたものであり、符号化または復号による画質の低減を抑制することができるようにするものである。 The present disclosure has been made in view of such a situation, and is intended to suppress a reduction in image quality due to encoding or decoding.
 本技術の一側面は、複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報を複数生成する生成部と、前記画像データの各レイヤを符号化する符号化部と、前記生成部により生成された複数の前記色差位相情報と、前記符号化部により生成された前記画像データの符号化データとを伝送する伝送部とを備える画像符号化装置である。 One aspect of the present technology provides a generation unit that generates a plurality of color difference phase information related to the phase of a color difference signal of image data including a plurality of layers, a coding unit that encodes each layer of the image data, and the generation unit. And a transmission unit that transmits a plurality of the color difference phase information and the encoded data of the image data generated by the encoding unit.
 前記生成部は、各ピクチャにおいて、複数の前記色差位相情報の内のいずれの前記色差位相情報を適用するかを示すインデックス情報をさらに生成し、前記伝送部は、前記インデックス情報をさらに伝送することができる。 The generation unit further generates index information indicating which of the plurality of color difference phase information to apply to each picture, and the transmission unit further transmits the index information. Can do.
 前記伝送部は、複数の前記色差位相情報および前記インデックス情報を、シーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送することができる。 The transmission unit can transmit a plurality of the color difference phase information and the index information in a sequence parameter set (SPS (Sequence Parameter Set)).
 前記生成部は、前記色差位相情報の数を示す情報をさらに生成し、前記伝送部は、前記生成部により生成された前記色差位相情報の数を示す情報をさらに伝送することができる。 The generation unit may further generate information indicating the number of the color difference phase information, and the transmission unit may further transmit information indicating the number of the color difference phase information generated by the generation unit.
 前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフィールド符号化する場合、前記生成部は、トップフィールドとボトムフィールドのそれぞれについて前記色差位相情報を生成し、前記伝送部は、前記生成部が生成した両フィールドの前記色差位相情報を伝送することができる。 When the image data is an interlaced image, and the encoding unit field encodes the image data, the generation unit generates the color difference phase information for each of a top field and a bottom field, and the transmission unit Can transmit the color difference phase information of both fields generated by the generation unit.
 前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフレーム符号化する場合、前記生成部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに生成し、前記伝送部は、前記生成部により生成された前記制御情報をさらに伝送することができる。 When the image data is an interlaced image and the encoding unit performs frame encoding on the image data, the generation unit further includes control information for performing control so that up-sampling of the image data is performed on a field basis. The transmission unit may further transmit the control information generated by the generation unit.
 前記画像データの色差信号の位相を設定する色差位相設定部をさらに備え、前記生成部は、前記色差位相設定部により設定された前記色差信号の位相を示す色差位相情報を生成することができる。 A color difference phase setting unit that sets the phase of the color difference signal of the image data is further provided, and the generation unit can generate color difference phase information indicating the phase of the color difference signal set by the color difference phase setting unit.
 前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのアップサンプルを制御するアップサンプル制御部と、前記アップサンプル制御部の制御に従って、前記画像データのベースレイヤをアップサンプルするアップサンプル部とをさらに備えることができる。 An upsampling control unit that controls upsampling of the image data so as to apply the phase of the chrominance signal set by the chrominance phase setting unit, and a base layer of the image data according to control of the upsampling control unit An upsampling unit for upsampling can be further provided.
 前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのダウンサンプルを制御するダウンサンプル制御部と、前記ダウンサンプル制御部の制御に従って、前記画像データのエンハンスメントレイヤをダウンサンプルするダウンサンプル部とをさらに備えることができる。 A downsampling control unit that controls downsampling of the image data so as to apply the phase of the chrominance signal set by the chrominance phase setting unit, and an enhancement layer of the image data according to control of the downsampling control unit A downsampling unit for downsampling can be further provided.
 本技術の一側面は、また、複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報を複数生成し、前記画像データの各レイヤを符号化し、生成された複数の前記色差位相情報と、生成された前記画像データの符号化データとを伝送する画像符号化方法である。 One aspect of the present technology also generates a plurality of color difference phase information related to the phase of the color difference signal of the image data composed of a plurality of layers, encodes each layer of the image data, and a plurality of the generated color difference phase information, It is an image encoding method for transmitting the generated encoded data of the image data.
 本技術の他の側面は、複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得する取得部と、前記取得部により取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御するアップサンプル制御部と、前記アップサンプル制御部の制御に従って、前記復号画像データのベースレイヤをアップサンプルするアップサンプル部と、前記アップサンプル部により前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、前記取得部により取得された前記符号化データのエンハンスメントレイヤを復号する復号部とを備える画像復号装置である。 Another aspect of the present technology is an acquisition unit that acquires encoded data of image data including a plurality of layers, and a plurality of color difference phase information related to a phase of a color difference signal of the image data, and a plurality of acquired by the acquisition unit An upsampling control unit that controls upsampling of decoded image data of the encoded data so as to apply the phase of the chrominance signal indicated by any of the chrominance phase information, and according to the control of the upsampling control unit, An upsampling unit that upsamples the base layer of the decoded image data, and the upsampling image data obtained by upsampling the base layer of the decoded image data by the upsampling unit. A decoding unit that decodes the enhancement layer of the encoded data. It is a device.
 前記取得部は、各ピクチャにおいて、複数の前記色差位相情報の内のいずれの前記色差位相情報を適用するかを示すインデックス情報をさらに取得し、前記アップサンプル制御部は、前記インデックス情報を用いて、適用する前記色差位相情報を指定することができる。 The acquisition unit further acquires index information indicating which of the plurality of color difference phase information to apply to each picture, and the upsampling control unit uses the index information. The color difference phase information to be applied can be designated.
 前記取得部は、ピクチャパラメータセット(PPS(Picture Parameter Set))において伝送された、ピクチャ毎の前記色差位相情報を取得することができる。 The acquisition unit can acquire the chrominance phase information for each picture transmitted in a picture parameter set (PPS (Picture Parameter Set)).
 前記取得部は、前記色差位相情報の数を示す情報をさらに取得し、前記取得部により取得された前記色差位相情報の数を示す情報に基づいて、前記取得部により取得される前記色差位相情報の数を判定する色差位相情報数判定部をさらに備えることができる。 The acquisition unit further acquires information indicating the number of the color difference phase information, and the color difference phase information acquired by the acquisition unit based on the information indicating the number of the color difference phase information acquired by the acquisition unit The color difference phase information number determination unit for determining the number of the color difference phase information may be further provided.
 前記取得部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに取得し、前記アップサンプル制御部は、前記取得部により取得された前記制御情報に従って、前記復号画像データのアップサンプルを制御することができる。 The acquisition unit further acquires control information for performing control so that upsampling of the image data is performed on a field basis, and the upsampling control unit is configured to acquire the decoded image data according to the control information acquired by the acquisition unit. Can control upsampling.
 本技術の他の側面は、また、複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得し、取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御し、その制御に従って、前記復号画像データのベースレイヤをアップサンプルし、前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、取得された前記符号化データのエンハンスメントレイヤを復号する画像復号方法である。 Another aspect of the present technology also obtains encoded data of image data including a plurality of layers and a plurality of color difference phase information related to a phase of a color difference signal of the image data, and the obtained plurality of the color difference phase information. To control the upsampling of the decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the above, up-sample the base layer of the decoded image data according to the control, This is an image decoding method for decoding an enhancement layer of the obtained encoded data using upsampled image data obtained by upsampling a data base layer.
 本技術のさらに他の側面は、画像データのベースレイヤを符号化し、符号化データを生成するベースレイヤ符号化部と、前記ベースレイヤ符号化部による前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成するエンハンスメントレイヤ符号化部とを備える画像符号化装置である。 According to still another aspect of the present technology, a base layer encoding unit that encodes a base layer of image data and generates encoded data, and the code obtained by encoding the image data by the base layer encoding unit An up-sample image of the decoded image data is generated by performing an up-sample of each frame of the decoded image data obtained by decoding the encoded data by a method corresponding to a method of a frame rate conversion process performed on the image data. An image encoding device comprising: an upsampling unit; and an enhancement layer encoding unit that generates an encoded data by encoding an enhancement layer of the image data using the upsampled image generated by the upsampling unit. is there.
 本技術のさらに他の側面は、また、画像データのベースレイヤを符号化し、符号化データを生成し、前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成する画像符号化方法である。 According to still another aspect of the present technology, each of the decoded image data obtained by decoding the encoded data obtained by encoding a base layer of the image data, generating encoded data, and encoding the image data is provided. The frame up-sampling is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, the up-sampled image of the decoded image data is generated, and the generated up-sampled image is used. An image encoding method for encoding an enhancement layer of the image data and generating encoded data.
 本技術のさらに他の側面は、画像データのベースレイヤが符号化された符号化データを復号するベースレイヤ復号部と、前記ベースレイヤ復号部により、前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号するエンハンスメントレイヤ復号部とを備える画像復号装置である。 According to still another aspect of the present technology, a base layer decoding unit that decodes encoded data obtained by encoding a base layer of image data, and a base obtained by decoding the decoded data by the base layer decoding unit. An upsampling unit that performs upsampling of each frame of the decoded image data of the layer by a method according to a scanning method frame rate conversion method performed on the image data, and generates an upsampled image of the decoded image data; An image decoding apparatus comprising: an enhancement layer decoding unit that decodes encoded data in which an enhancement layer of the image data is encoded using the upsampled image generated by the upsampling unit.
 本技術のさらに他の側面は、また、画像データのベースレイヤが符号化された符号化データを復号し、前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号する画像復号方法である。 According to still another aspect of the present technology, the encoded data obtained by encoding the base layer of the image data is decoded, and each frame of the decoded image data of the base layer obtained by decoding the decoded data is uploaded. The sample is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, an upsample image of the decoded image data is generated, and the image is generated using the generated upsample image. This is an image decoding method for decoding encoded data obtained by encoding an enhancement layer of data.
 本技術の一側面においては、複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報が複数生成され、画像データの各レイヤが符号化され、生成された複数の色差位相情報と、生成された画像データの符号化データとが伝送される。 In one aspect of the present technology, a plurality of color difference phase information related to the phase of the color difference signal of the image data including a plurality of layers is generated, each layer of the image data is encoded, and the generated plurality of color difference phase information is generated. The encoded data of the image data is transmitted.
 本技術の他の側面においては、複数レイヤよりなる画像データの符号化データと、画像データの色差信号の位相に関する複数の色差位相情報とが取得され、取得された複数の色差位相情報のいずれかにより示される色差信号の位相を適用するように符号化データの復号画像データのアップサンプルが制御され、その制御に従って、復号画像データのベースレイヤがアップサンプルされ、復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、取得された符号化データのエンハンスメントレイヤが復号される。 In another aspect of the present technology, encoded data of image data including a plurality of layers and a plurality of color difference phase information regarding the phase of a color difference signal of the image data are acquired, and any one of the acquired plurality of color difference phase information The up-sampling of the decoded image data of the encoded data is controlled so as to apply the phase of the chrominance signal indicated by, the base layer of the decoded image data is up-sampled according to the control, and the base layer of the decoded image data is up-sampled The enhancement layer of the acquired encoded data is decoded using the upsampled image data obtained in this way.
 本技術のさらに他の側面においては、画像データのベースレイヤが符号化され、符号化データが生成され、画像データの符号化において得られる、符号化データが復号された復号画像データの各フレームのアップサンプルが、画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行われ、復号画像データのアップサンプル画像が生成され、生成されたアップサンプル画像を用いて、画像データのエンハンスメントレイヤが符号化され、符号化データが生成される。 In still another aspect of the present technology, the base layer of the image data is encoded, the encoded data is generated, and each frame of the decoded image data obtained by decoding the encoded data is obtained by encoding the image data. Up-sampling is performed by a method corresponding to the scanning method frame rate conversion processing method performed on the image data, an up-sample image of the decoded image data is generated, and the generated up-sample image is used to generate the image data. The enhancement layer is encoded to generate encoded data.
 本技術のさらに他の側面においては、画像データのベースレイヤが符号化された符号化データが復号され、復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルが、画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行われ、復号画像データのアップサンプル画像が生成され、生成されたアップサンプル画像を用いて、画像データのエンハンスメントレイヤが符号化された符号化データが復号される。 In still another aspect of the present technology, the encoded data obtained by encoding the base layer of the image data is decoded, and the up-sample of each frame of the decoded image data of the base layer obtained by decoding the decoded data is performed. This is performed by a method according to the scanning method frame rate conversion processing method performed on the image data, an upsampled image of the decoded image data is generated, and an enhancement layer of the image data is generated using the generated upsampled image. The encoded data that has been encoded is decoded.
 本開示によれば、画像を符号化・復号することができる。特に、符号化または復号による画質の低減を抑制することができる。 According to the present disclosure, an image can be encoded / decoded. In particular, reduction in image quality due to encoding or decoding 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 explaining the example of the phase of a color difference signal. 色差信号の位相に関するシンタクスの例を説明する図である。It is a figure explaining the example of the syntax regarding the phase of a color difference signal. 色差信号の位相の例を説明する図である。It is a figure explaining the example of the phase of a color difference signal. 色差信号の位相に関するシンタクスの例を説明する図である。It is a figure explaining the example of the syntax regarding the phase of a color difference signal. 画像符号化装置の主な構成例を示すブロック図である。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 color difference phase control part. ベースレイヤ画像符号化部の主な構成例を示すブロック図である。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 flowchart explaining the example of the flow of an image encoding process. 色差位相設定処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of a color difference phase setting 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 a color difference phase information generation process. エンハンスメントレイヤ符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer encoding 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 color difference phase control part. ベースレイヤ画像復号部の主な構成例を示すブロック図である。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 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 a color difference phase setting process. エンハンスメントレイヤ復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer decoding process. 2:3プルアップの様子の例を説明する図である。It is a figure explaining the example of the mode of 2: 3 pull-up. アップサンプルの様子の例を説明する図である。It is a figure explaining the example of the mode of an up sample. アップサンプルにおける位相の例を説明する図である。It is a figure explaining the example of the phase in an up sample. 2:3プルアップ情報の例を示す図である。It is a figure which shows the example of 2: 3 pull-up information. ピクチャパラメータセットのシンタクスの例を示す図である。It is a figure which shows the example of the syntax of a picture parameter set. ピクチャパラメータセットのシンタクスの例を示す図である。It is a figure which shows the example of the syntax of a picture parameter set. 位相情報の例を示す図である。It is a figure which shows the example of phase information. 画像符号化装置の主な構成例を示すブロック図である。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 up sample part. エンハンスメントレイヤ画像符号化部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an enhancement layer image coding 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 upsampling process. エンハンスメントレイヤ符号化処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer encoding 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 up sample part. エンハンスメントレイヤ画像復号部の主な構成例を示すブロック図である。It is a block diagram which shows the main structural examples of an enhancement layer image decoding 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 upsampling process. エンハンスメントレイヤ復号処理の流れの例を説明するフローチャートである。It is a flowchart explaining the example of the flow of an enhancement layer decoding 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. コンテンツ再生システムの構成を示した説明図である。It is explanatory drawing which showed the structure of the content reproduction system. コンテンツ再生システムにおけるデータの流れを示した説明図である。It is explanatory drawing which showed the flow of the data in a content reproduction system. MPDの具体例を示した説明図である。It is explanatory drawing which showed the specific example of MPD. コンテンツ再生システムのコンテンツサーバの構成を示した機能ブロック図である。It is the functional block diagram which showed the structure of the content server of a content reproduction system. コンテンツ再生システムのコンテンツ再生装置の構成を示した機能ブロック図である。It is the functional block diagram which showed the structure of the content reproduction apparatus of a content reproduction system. コンテンツ再生システムのコンテンツサーバの構成を示した機能ブロック図である。It is the functional block diagram which showed the structure of the content server of a content reproduction system. 無線通信システムの各装置による通信処理例を示すシーケンスチャートである。It is a sequence chart which shows the example of a communication process by each apparatus of a radio | wireless communications system. 無線通信システムの各装置による通信処理例を示すシーケンスチャートである。It is a sequence chart which shows the example of a communication process by each apparatus of a radio | wireless communications system. 無線通信システムの各装置による通信処理において送受信されるフレームフォーマット(frame format)の構成例を模式的に示す図である。It is a figure which shows typically the structural example of the frame format (frame | format | format) transmitted / received in the communication processing by each apparatus of a radio | wireless communications system. 無線通信システムの各装置による通信処理例を示すシーケンスチャートである。It is a sequence chart which shows the example of a communication process by each apparatus of a radio | wireless communications system.
 以下、本開示を実施するための形態(以下実施の形態とする)について説明する。なお、説明は以下の順序で行う。
 1.第1の実施の形態(インターレース画像の色差信号の位相)
 2.第2の実施の形態(画像符号化装置)
 3.第3の実施の形態(画像復号装置)
 4.第4の実施の形態(2:3プルアップ画像のアップサンプリング)
 5.第5の実施の形態(画像符号化装置)
 6.第6の実施の形態(画像復号装置)
 7.第7の実施の形態(多視点画像符号化・多視点画像復号装置)
 8.第8の実施の形態(コンピュータ)
 9.第9の実施の形態(応用例)
 10.第10の実施の形態(スケーラブル符号化の応用例)
 11.第11の実施の形態(セット・ユニット・モジュール・プロセッサ)
 12.第12の実施の形態(MPEG-DASHのコンテンツ再生システムの応用例)
 13.第13の実施の形態(Wi-Fi規格の無線通信システムの応用例)
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. First embodiment (phase of color difference signal of interlaced image)
2. Second Embodiment (Image Encoding Device)
3. Third Embodiment (Image Decoding Device)
4). Fourth embodiment (2: 3 pull-up image upsampling)
5. Fifth embodiment (image coding apparatus)
6). Sixth embodiment (image decoding apparatus)
7). Seventh embodiment (multi-view image encoding / multi-view image decoding apparatus)
8). Eighth Embodiment (Computer)
9. Ninth embodiment (application example)
10. Tenth Embodiment (Application Example of Scalable Coding)
11. Eleventh embodiment (set unit module processor)
12 Twelfth embodiment (application example of MPEG-DASH content playback system)
13. Thirteenth embodiment (application example of Wi-Fi standard wireless communication system)
 <1.第1の実施の形態>
  <画像符号化の標準化の流れ>
<1. First Embodiment>
<Image coding standardization process>
 近年、画像情報をデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮する符号化方式を採用して画像を圧縮符号する装置が普及しつつある。この符号化方式には、例えば、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圧縮方式を用いることにより、例えば720x480画素を持つ標準解像度の飛び越し走査画像であれば4乃至8Mbpsの符号量(ビットレート)を割り当てることができる。また、MPEG2圧縮方式を用いることにより、例えば1920x1088画素を持つ高解像度の飛び越し走査画像であれば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 can be assigned to an interlaced scanned image having a standard resolution having 720 × 480 pixels. Further, by using the MPEG2 compression method, for example, in the case of a high-resolution interlaced scanned image having 1920 × 1088 pixels, a code amount (bit rate) of 18 to 22 Mbps can be allocated. 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 it did not support encoding methods with a lower code amount (bit rate) than MPEG1, that is, a higher compression rate. With the widespread use of mobile terminals, the need for such an encoding system is expected to increase in the future, and the MPEG4 encoding system has been standardized accordingly. Regarding the 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倍の、4000x2000画素程度の画像を圧縮したい、あるいは、インターネットのような、限られた伝送容量の環境において、ハイビジョン画像を配信したいといった、更なる高圧縮率符号化に対するニーズが高まっている。このため、先述の、ITU-T傘下のVCEGにおいて、符号化効率の改善に関する検討が継続され行なわれている。 However, these days, we want to compress images with a resolution of about 4000x2000 pixels, which is four times higher than high-definition images, or to deliver high-definition images in a limited transmission capacity environment such as the Internet. The need for is growing. 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(International Organization for Standardization / International Electrotechnical Commission)の共同の標準化団体であるJCTVC(Joint Collaboration Team - Video Coding)により、HEVC(High Efficiency Video Coding)と呼ばれる符号化方式の標準化が進められている。HEVC規格については、2013年1月にドラフト版仕様であるCommittee draftが発行されている(例えば、非特許文献1参照)。 Therefore, JCTVC (Joint Collaboration Team-Video Coding), which is a joint standardization organization of ITU-T and ISO / IEC (International Organization for Standardization // International Electrotechnical Commission), is currently aimed at further improving coding efficiency from AVC. ), Standardization of an encoding method called HEVC (High Efficiency Video Coding) is being promoted. Regarding the HEVC standard, CommitteeCommitdraft, which is a draft version specification, was issued in January 2013 (see Non-Patent Document 1, for example).
  <符号化方式>
 以下においては、HEVC(High Efficiency Video Coding)方式の画像符号化・復号に適用する場合を例に、本技術を説明する。
<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)方式においては、マクロブロックとサブマクロブロックによる階層構造が規定されている。しかしながら、16x16画素のマクロブロックでは、次世代符号化方式の対象となるような、UHD(Ultra High Definition;4000画素x2000画素)といった大きな画枠に対して最適ではない。
<Coding unit>
In the AVC (Advanced Video Coding) method, a hierarchical structure is defined by macroblocks and sub-macroblocks. However, a macro block of 16 × 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方式におけるマクロブロックと同様の役割を果たす、ピクチャ単位の画像の部分領域である。後者は、16x16画素の大きさに固定されているのに対し、前者の大きさは固定されておらず、それぞれのシーケンスにおいて、画像圧縮情報中において指定されることになる。 CU is also called Coding Tree Block (CTB) and is a partial area of a picture unit image that plays the same role as a macroblock in the AVC method. The latter is fixed to a size of 16 × 16 pixels, whereas the size of the former is not fixed, and is specified in the image compression information in each sequence.
 例えば、出力となる符号化データに含まれるシーケンスパラメータセット(SPS(Sequence Parameter Set))において、CUの最大サイズ(LCU(Largest Coding Unit))と最小サイズ(SCU(Smallest Coding Unit))が規定される。 For example, in the sequence parameter set (SPS (Sequence Parameter Co)) included in the output encoded data, the maximum size (LCU (Largest Coding Unit)) and the minimum size (SCU (Smallest Coding Unit)) are specified. The
 それぞれのLCU内においては、SCUのサイズを下回らない範囲で、split-flag=1とすることにより、より小さなサイズのCUに分割することができる。図1の例では、LCUの大きさが128であり、最大階層深度が5となる。2Nx2Nの大きさのCUは、split_flagの値が「1」である時、1つ下の階層となる、NxNの大きさのCUに分割される。 In each LCU, split-flag = 1 can be divided into smaller CUs within a range that does not fall below the SCU size. In the example of FIG. 1, the LCU size is 128 and the maximum hierarchical depth is 5. When the value of split_flag is “1”, the 2Nx2N CU is divided into NxN CUs that are one level below.
 更に、CUは、イントラ若しくはインター予測の処理単位となる領域(ピクチャ単位の画像の部分領域)であるプレディクションユニット(Prediction Unit(PU))に分割され、また、直交変換の処理単位となる領域(ピクチャ単位の画像の部分領域)である、トランスフォームユニット(Transform Unit(TU))に分割される。現在、HEVC方式においては、4x4及び8x8に加え、16x16及び32x32直交変換を用いることが可能である。 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). Currently, in the HEVC system, it is possible to use 16x16 and 32x32 orthogonal transforms in addition to 4x4 and 8x8.
 以上のHEVC方式のように、CUを定義し、そのCUを単位として各種処理を行うような符号化方式の場合、AVC方式におけるマクロブロックはLCUに相当し、ブロック(サブブロック)はCUに相当すると考えることができる。また、AVC方式における動き補償ブロックは、PUに相当すると考えることができる。ただし、CUは、階層構造を有するので、その最上位階層のLCUのサイズは、例えば128x128画素のように、AVC方式のマクロブロックより大きく設定されることが一般的である。 In the case of an encoding method in which a CU is defined and various processes are performed in units of the CU as in the above HEVC method, a macro block in the AVC method corresponds to an LCU, and a block (sub block) corresponds to a CU. Then you can think. A motion compensation block in the AVC method can be considered to correspond to a PU. However, since the CU has a hierarchical structure, the size of the LCU of the highest hierarchy is generally set larger than the macro block of the AVC method, for example, 128 × 128 pixels.
 よって、以下、LCUは、AVC方式におけるマクロブロックをも含むものとし、CUは、AVC方式におけるブロック(サブブロック)をも含むものとする。つまり、以下の説明に用いる「ブロック」は、ピクチャ内の任意の部分領域を示し、その大きさ、形状、および特性等は限定されない。つまり、「ブロック」には、例えば、TU、PU、SCU、CU、LCU、サブブロック、マクロブロック、またはスライス等任意の領域(処理単位)が含まれる。もちろん、これら以外の部分領域(処理単位)も含まれる。サイズや処理単位等を限定する必要がある場合は、適宜説明する。 Therefore, hereinafter, it is assumed that the LCU also includes a macro block in the AVC method, and the CU also includes a block (sub-block) in the AVC method. That is, “block” used in the following description indicates an arbitrary partial area in the picture, and its size, shape, characteristics, and the like are not limited. That is, the “block” includes an arbitrary area (processing unit) such as a TU, PU, SCU, CU, LCU, sub-block, macroblock, or slice. Of course, other partial areas (processing units) are also included. When it is necessary to limit the size, processing unit, etc., it will be described as appropriate.
 また、本明細書において、CTU(Coding Tree Unit)は、LCU(最大数のCU)のCTB(Coding Tree Block)と、そのLCUベース(レベル)で処理するときのパラメータを含む単位であるとする。また、CTUを構成するCU(Coding Unit)は、CB(Coding Block)と、そのCUベース(レベル)で処理するときのパラメータを含む単位であるとする。 Also, in this specification, CTU (Coding Tree Unit) is a unit that includes CTB (Coding Tree Block) of LCU (maximum number of CUs) and parameters when processing on the LCU base (level). . Further, it is assumed that CU (Coding 構成 Unit) constituting the CTU is a unit including CB (Coding パ ラ メ ー タ Block) and parameters for processing in the CU base (level).
  <モード選択>
 ところで、AVCそしてHEVC符号化方式において、より高い符号化効率を達成するには、適切な予測モードの選択が重要である。
<Mode selection>
By the way, in the AVC and HEVC encoding schemes, selection of an appropriate prediction mode is important to achieve higher encoding efficiency.
 かかる選択方式の例として、JM (Joint Model) と呼ばれるH.264/MPEG-4 AVCの参照ソフトウエア (http://iphome.hhi.de/suehring/tml/index.htm において公開されている) に実装されている方法を挙げることが出来る。 As an example of such a selection method, H.264 / MPEG-4 AVC reference software called JM (Joint Model) (published at http://iphome.hhi.de/suehring/tml/index.htm) The method implemented in can be mentioned.
 JMにおいては、以下に述べる、High Complexity Modeと、Low Complexity Modeの2通りのモード判定方法を選択することが可能である。どちらも、それぞれの予測モードModeに関するコスト関数値を算出し、これを最小にする予測モードを当該ブロック乃至マクロブロックに対する最適モードとして選択する。 In JM, it is possible to select the following two mode determination methods: High Complexity Mode and Low Complexity Mode. In both cases, a cost function value for each prediction mode Mode is calculated, and a prediction mode that minimizes the cost function value is selected as the optimum mode for the block or macroblock.
 High Complexity Modeにおけるコスト関数は、以下の式(1)のように示される。 The cost function in High Complexity Mode is shown as the following formula (1).
Figure JPOXMLDOC01-appb-M000001
Figure JPOXMLDOC01-appb-M000001
 ここで、Ωは、当該ブロック乃至マクロブロックを符号化するための候補モードの全体集合Dは、当該予測モードで符号化した場合の、復号画像と入力画像の差分エネルギーである。λは、量子化パラメータの関数として与えられるLagrange未定乗数である。Rは、直交変換係数を含んだ、当該モードで符号化した場合の総符号量である。 Here, Ω is the difference energy between the decoded image and the input image when the entire set D of candidate modes for encoding the block or macroblock is encoded in the prediction mode. λ is a Lagrange undetermined multiplier given as a function of the quantization parameter. R is the total code amount when encoding is performed in this mode, including orthogonal transform coefficients.
 つまり、High Complexity Modeでの符号化を行うには、上記パラメータD及びRを算出するため、全ての候補モードにより、一度、仮エンコード処理を行う必要があり、より高い演算量を要する。 That is, in order to perform encoding in High Complexity Mode, the parameters D and R are calculated, and therefore, it is necessary to perform temporary encoding processing once in all candidate modes, which requires a higher calculation amount.
 Low Complexity Modeにおけるコスト関数は、以下の式(2)のように示される。 The cost function in Low Complexity Mode is shown as the following formula (2).
Figure JPOXMLDOC01-appb-M000002
Figure JPOXMLDOC01-appb-M000002
 ここで、Dは、High Complexity Modeの場合と異なり、予測画像と入力画像の差分エネルギーとなる。QP2Quant(QP)は、量子化パラメータQPの関数として与えられ、HeaderBitは、直交変換係数を含まない、動きベクトルや、モードといった、Headerに属する情報に関する符号量である。 Here, D is the difference energy between the predicted image and the input image, unlike the case of High Complexity Mode. QP2Quant (QP) is given as a function of the quantization parameter QP, and HeaderBit is a code amount related to information belonging to Header, such as a motion vector and mode, which does not include an orthogonal transform coefficient.
 すなわち、Low Complexity Modeにおいては、それぞれの候補モードに関して、予測処理を行う必要があるが、復号画像までは必要ないため、符号化処理まで行う必要はない。このため、High Complexity Modeより低い演算量での実現が可能である。 That is, in the Low Complexity Mode, it is necessary to perform a prediction process for each candidate mode, but it is not necessary to perform the encoding process because the decoded image is not necessary. For this reason, it is possible to realize with a calculation amount lower than 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の画像が複数の階層(レイヤ)に分割される。つまり、階層化された画像(階層画像)は、その所定のパラメータの値が互いに異なる複数の階層(レイヤ)の画像を含む。この階層画像の複数のレイヤは、他のレイヤの画像を利用せずに自身のレイヤの画像のみを用いて符号化・復号を行うベースレイヤ(base layer)と、他のレイヤの画像を利用して符号化・復号を行うノンベースレイヤ(non-base layer)(エンハンスメントレイヤ(Enhancement layer)とも称する)とによりなる。ノンベースレイヤは、ベースレイヤの画像を利用するようにしても良いし、他のノンベースレイヤの画像を利用するようにしてもよい。 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. The multiple layers of this hierarchical image use the base layer (base layer) that encodes and decodes using only the image of its own layer without using the image of the other layer, and the image of the other layer. And a non-base layer (also referred to as an enhancement layer) that performs encoding / 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.
 このように画像を階層化することにより、状況に応じて多様な品質の画像を容易に得ることができる。例えば携帯電話のような、処理能力の低い端末に対しては、ベースレイヤのみの画像圧縮情報を伝送し、空間時間解像度の低い、或いは、画質の良くない動画像を再生し、テレビやパーソナルコンピュータのような、処理能力の高い端末に対しては、ベースレイヤに加えて、エンハンスメントレイヤの画像圧縮情報を伝送し、空間時間解像度の高い、或いは、画質の高い動画像を再生するといったように、トランスコード処理を行うことなく、端末やネットワークの能力に応じた画像圧縮情報を、サーバから送信することが可能となる。 By layering images in this way, it is possible to easily obtain images of various qualities depending on the situation. For terminals with low processing capabilities, such as mobile phones, for example, image compression information of only the base layer is transmitted, and moving images with low spatial time resolution or poor image quality are played back, such as televisions and personal computers. For terminals with high processing capacity, such as transmitting the image compression information of the enhancement layer in addition to the base layer, and playing back a moving image with a high spatio-temporal resolution or high image quality, It is possible to transmit image compression information according to the capabilities of the terminal and the network from the server without performing transcoding processing.
  <スケーラブルなパラメータ>
 このような階層画像符号化・階層画像復号(スケーラブル符号化・スケーラブル復号)において、スケーラビリティ(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, a 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.
 さらに、このようなスケーラビリティ性を持たせるパラメータとして、他には、例えば、図5に示されるような、信号雑音比(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)) as shown in FIG. 5 may be applied as a parameter for providing such scalability (SNR-scalability). In the case of this SNR scalability (SNR scalability), the SN ratio is different for each layer. That is, in this case, as shown in FIG. 5, each picture is combined with a base layer having an SNR lower than that of the original image and an enhancement layer in which the original image (original SNR) is obtained by combining with the base layer image. Are divided into two layers. 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, the parameters for providing scalability may be other than the examples described above. 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) that can obtain a 10-bit (bit) image is 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).
  <スケーラブル符号化・復号における色差信号の位相>
 ところで、スケーラブル符号化・復号の場合、エンハンスメントレイヤの符号化・復号において、ベースレイヤの画像(ベースレイヤの符号化・復号において得られる復号画像)を。例えば参照画像等として利用することができる。その際、例えばスペーシャルスケーラビリティ(Spatial Scalability)の場合、ベースレイヤの画像をアップサンプル処理し、エンハンスメントレイヤの解像度に合わせる方法がある。
<Phase of color difference signal in scalable encoding / decoding>
By the way, in the case of scalable encoding / decoding, in the enhancement layer encoding / decoding, a base layer image (decoded image obtained in base layer encoding / decoding). For example, it can be used as a reference image. In this case, for example, in the case of spatial scalability, there is a method of up-sampling the base layer image to match the enhancement layer resolution.
 このようなアップサンプル処理において色差信号をアップサンプル処理する場合、色差信号の位相を考慮する必要がある。そこで、色差信号の位相を、出力となるエンハンスメントレイヤ画像圧縮情報において伝送する方法が非特許文献2において提案された。 In the case of upsampling a color difference signal in such upsampling processing, it is necessary to consider the phase of the color difference signal. Therefore, Non-Patent Document 2 proposed a method for transmitting the phase of the color difference signal in the enhancement layer image compression information to be output.
 例えばAVCやHEVC等の符号化方式においては、色差信号の位相として図6に示される6通りのパターンが設定可能とされている。図6において、四角が輝度信号を示し、丸が色差信号を示す。そこで、非特許文献2においては、図6に示されるような様々な色差信号の位相をサポートするために、図7に示されるようなシンタクスが提案されている。 For example, in an encoding method such as AVC or HEVC, six patterns shown in FIG. 6 can be set as the phase of the color difference signal. In FIG. 6, squares indicate luminance signals and circles indicate color difference signals. Therefore, Non-Patent Document 2 proposes a syntax as shown in FIG. 7 in order to support various phases of color difference signals as shown in FIG.
 つまり、この方法の場合、色差信号の位相に関する情報として、図7のBに示されるような例えば、horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, chroma_phase_y等の情報を含むsampling_grid_information()が、図7のAに示されるように、シーケンスパラメータセット(SPS(Sequence Parameter Set))の拡張部分(sps_extension())において符号化側から復号側に伝送される。 That is, in the case of this method, sampling_grid_information () including information such as horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, chroma_phase_y, etc., as shown in FIG. 7B, is shown in FIG. As described above, in the extension part (sps_extension ()) of the sequence parameter set (SPS (Sequence Parameter Set)), it is transmitted from the encoding side to the decoding side.
 符号化側においては、このように伝送する色差信号の位相に関する情報に示される色差信号の位相が適用されてアップサンプル処理が行われる。また、復号側においても、このように伝送された色差信号の位相に関する情報に示される色差信号の位相が適用されてアップサンプル処理が行われる。 On the encoding side, the up-sampling process is performed by applying the phase of the color difference signal indicated in the information regarding the phase of the color difference signal to be transmitted in this way. On the decoding side, the up-sampling process is performed by applying the phase of the color difference signal indicated in the information regarding the phase of the color difference signal transmitted in this way.
 ところで、走査方式がインターレースのインターレース画像における色差信号の位相は、例えば図8のようになる。図8において、四角が輝度信号を示し、丸が色差信号を示す。例えばフレーム構造の場合、インターレース画像の色差信号の位相は、図8のAに示される例のようになる。また、例えばフィールド構造の場合、インターレース画像の色差信号の位相は、図8のBや図8のCに示される例のようになる。図8のBは、トップフィールドにおける色差信号の位相の例を示し、図8のCは、ボトムフィールドにおける色差信号の位相の例を示す。 By the way, the phase of the color difference signal in the interlaced image whose scanning method is interlaced is as shown in FIG. 8, for example. In FIG. 8, squares indicate luminance signals and circles indicate color difference signals. For example, in the case of the frame structure, the phase of the color difference signal of the interlaced image is as in the example shown in A of FIG. For example, in the case of the field structure, the phase of the color difference signal of the interlaced image is as shown in the example shown in B of FIG. 8 or C of FIG. FIG. 8B shows an example of the phase of the color difference signal in the top field, and FIG. 8C shows an example of the phase of the color difference signal in the bottom field.
 つまり、このようなインターレース画像をフィールドベースで符号化(フィールド符号化)する場合、図8のBや図8のCに示されるように、単一のシーケンスの中に複数種類の色差信号の位相が存在することになる。しかしながら、非特許文献2に記載の方法では、単一のシーケンスにおいては単一の色差信号位相しか伝送することができず、色差信号のアップサンプル処理において位相を正確に反映させることができない可能性があった。そのため、位相が不正確なアップサンプル画像を用いて符号化や復号が行われる可能性があり、結果として復号画像の画質が大幅に低減してしまう可能性があった。 That is, when such an interlaced image is encoded on a field basis (field encoding), as shown in FIG. 8B or FIG. 8C, the phases of a plurality of types of color difference signals in a single sequence. Will exist. However, with the method described in Non-Patent Document 2, only a single color difference signal phase can be transmitted in a single sequence, and there is a possibility that the phase cannot be accurately reflected in the upsampling processing of the color difference signal. was there. Therefore, there is a possibility that encoding or decoding is performed using an upsampled image with an incorrect phase, and as a result, the image quality of the decoded image may be significantly reduced.
 また、フレームベースで符号化(フレーム符号化)する場合であっても、インターレース画像にはフレーム内に時刻が異なる画素が含まれるため、フレームベースでアップサンプル処理を行うと、複数の時刻の画素を用いて画素が生成される可能性があり、アップサンプル画像の正確性が低減する可能性があった。つまり、より正確なアップサンプル画像を得るためには、アップサンプル処理を、フレームベースですべきでなく、フィールドベースですべきである。 In addition, even when encoding on a frame basis (frame encoding), since interlaced images include pixels with different times in the frame, if upsampling processing is performed on a frame basis, pixels at a plurality of times May generate a pixel, which may reduce the accuracy of the upsampled image. That is, in order to obtain a more accurate upsampled image, the upsampling process should not be frame-based but field-based.
 しかしながら、非特許文献2に記載の方法では、フレームベースのアップサンプル処理しか規定できなかった。フィールドベースでアップサンプル処理を行うためには、上述したように、単一のシーケンスにおいて色差信号の位相を複数適用することができなければならないが、非特許文献2に記載の方法では、単一の位相しか伝送することができなかった。そのためアップサンプル画像がより不正確なものとなり、符号化や復号により画質が大幅に低減してしまう可能性があった。 However, in the method described in Non-Patent Document 2, only frame-based upsampling processing can be specified. In order to perform up-sampling processing on a field basis, as described above, it is necessary to be able to apply a plurality of phases of the color difference signal in a single sequence. It was possible to transmit only the phase. Therefore, the upsampled image becomes more inaccurate, and the image quality may be greatly reduced by encoding and decoding.
  <複数の色差位相に関する情報の伝送>
 そこで、単一のシーケンスに対して、色差信号の位相に関する色差位相情報を複数伝送するようにする。つまり、単一のシーケンスに複数の色差信号の位相を適用することができるように、シーケンス毎に複数の色差位相情報を伝送するようにする。この場合、符号化や復号における各ピクチャのアップサンプル処理において、その複数の色差位相情報のうちいずれかが適用される。
<Transmission of information about multiple color difference phases>
Therefore, a plurality of pieces of color difference phase information related to the phase of the color difference signal are transmitted for a single sequence. That is, a plurality of color difference phase information is transmitted for each sequence so that the phases of a plurality of color difference signals can be applied to a single sequence. In this case, any one of the plurality of color difference phase information is applied in the up-sampling process of each picture in encoding and decoding.
 例えば、インターレース画像のフィールドをピクチャとして符号化・復号するフィールドベースの符号化・復号(フィールド符号化・復号とも称する)において、トップフィールド用の色差位相情報と、ボトムフィールド用の色差位相情報とが伝送されるようにする。そして、フィールド符号化・復号において行われるアップサンプル処理においては、そのような複数の色差位相情報の内、トップフィールドを処理対象とする場合トップフィールド用の色差位相情報が適用され、ボトムフィールドを処理対象とする場合ボトムフィールド用の色差位相情報が適用されるようにする。 For example, in field-based encoding / decoding (also referred to as field encoding / decoding) in which a field of an interlaced image is encoded / decoded as a picture, color difference phase information for top field and color difference phase information for bottom field are To be transmitted. In the upsampling process performed in field encoding / decoding, when the top field is to be processed among the plurality of color difference phase information, the top field color difference phase information is applied and the bottom field is processed. When the target is used, the color difference phase information for the bottom field is applied.
 このようにすることにより、フィールドベース符号化・復号において行われるアップサンプル処理において色差信号の位相をより正確に反映させることができ、より正確なアップサンプル画像を得ることができる。したがって、符号化や復号による画質の低減を抑制することができる。 By doing so, the phase of the color difference signal can be more accurately reflected in the upsampling process performed in the field-based encoding / decoding, and a more accurate upsampled image can be obtained. Therefore, reduction in image quality due to encoding and decoding can be suppressed.
 例えば、複数の色差位相情報とともに、各ピクチャにおいていずれの色差位相情報を適用するかを示す情報を伝送するようにしてもよい。例えば、各色差位相情報にインデックスを割り当て、各ピクチャにおいてどの色差位相情報を適用するかをそのインデックスにより指定するようにしてもよい。例えば、トップフィールドのフィールドピクチャに対して、トップフィールドのピクチャの色差位相情報に割り当てられたインデックスを指定するインデックス情報を伝送し、ボトムフィールドのフィールドピクチャに対して、ボトムフィールドのピクチャの色差位相情報に割り当てられたインデックスを指定するインデックス情報を伝送するようにしてもよい。このようにすることにより、データ量の少ないインデックスにより、各ピクチャにどの色差位相情報を適用するかを容易に示すことができる。したがって符号量の増大を抑制することができる。 For example, information indicating which color difference phase information is applied to each picture may be transmitted together with a plurality of color difference phase information. For example, an index may be assigned to each color difference phase information, and which color difference phase information is applied to each picture may be designated by the index. For example, the index information specifying the index assigned to the color difference phase information of the top field picture is transmitted to the field picture of the top field, and the color difference phase information of the bottom field picture is transmitted to the field picture of the bottom field. Index information for designating an index assigned to the ID may be transmitted. By doing so, it is possible to easily indicate which color difference phase information is applied to each picture with an index having a small amount of data. Therefore, an increase in code amount can be suppressed.
 例えば、シーケンスパラメータセット(SPS)において、複数の色差位相情報と、ピクチャ毎の、適用する色差位相情報のインデックスを示すインデックス情報を伝送するようにしてもよい。 For example, in a sequence parameter set (SPS), a plurality of color difference phase information and index information indicating an index of color difference phase information to be applied for each picture may be transmitted.
 また、例えば、シーケンスパラメータセット(SPS)において、複数の色差位相情報を伝送し、各ピクチャパラメータセット(PPS)において、そのピクチャに適用する色差位相情報のインデックスを示すインデックス情報を伝送するようにしてもよい。このようにすることにより、符号量の増大を抑制することができる。 Also, for example, a plurality of color difference phase information is transmitted in a sequence parameter set (SPS), and index information indicating an index of color difference phase information applied to the picture is transmitted in each picture parameter set (PPS). Also good. By doing in this way, the increase in code amount can be suppressed.
 さらに、例えば、伝送する複数の色差位相情報の数を示す情報を伝送するようにしてもよい。このようにすることにより、復号側において、伝送された色差位相情報の数をより容易に把握することができ、アップサンプル処理の制御を容易にすることができる。 Further, for example, information indicating the number of pieces of color difference phase information to be transmitted may be transmitted. By doing in this way, the number of transmitted color difference phase information can be grasped more easily on the decoding side, and control of upsampling processing can be facilitated.
 また、例えば、画像データのアップサンプルをフィールドベースで行うように制御する制御情報を伝送するようにしてもよい。例えば、インターレース画像をフレーム符号化・復号する場合において、アップサンプル処理をフレームベースでなく、フィールドベースで行うように制御する制御情報を伝送するようにしてもよい。符号化や復号において行われるアップサンプル処理を、このような制御情報に従って行うようにすることにより、より正確なアップサンプル画像を得ることができ、符号化や復号による画質の低減を抑制することができる。 Also, for example, control information for controlling the upsampling of image data to be performed on a field basis may be transmitted. For example, in the case of frame encoding / decoding of an interlaced image, control information for controlling the upsampling process to be performed on a field basis instead of a frame basis may be transmitted. By performing up-sampling processing performed in encoding and decoding according to such control information, a more accurate up-sampled image can be obtained, and reduction in image quality due to encoding and decoding can be suppressed. it can.
 このような色差信号の位相に関するシンタクスの例を図9に示す。例えば、図9のAに示されるように、シーケンスパラメータセット(SPS)(例えばsps_extension())において、sampling_glid_information()が伝送される。 FIG. 9 shows an example of syntax related to the phase of such a color difference signal. For example, as shown in FIG. 9A, sampling_glid_information () is transmitted in a sequence parameter set (SPS) (for example, sps_extension ()).
 この例では、sampling_glid_information()に、以下のような情報が含まれる。
  num_phase_offset:色差位相情報の数を示す情報である。
  field_base_upsampling_flag:アップサンプリングをフィールドベースで行うように制御する制御情報である。
  horizontal_phase_offset16:位相の水平方向のオフセットを示す情報である。
  vertical_phase_offset16:位相の垂直方向のオフセットを示す情報である。
  chroma_phase_x_flag:色差信号の水平方向の位相シフトを行うか否かを示す情報である。
  chroma_phase_y:色差信号の垂直方向の位相シフトを行うか否かを示す情報である。
  phase_offset_idx: 色差位相情報に割り当てられたインデックスを示す。
In this example, sampling_glid_information () includes the following information.
num_phase_offset: Information indicating the number of color difference phase information.
field_base_upsampling_flag: Control information that controls to perform upsampling on a field basis.
horizontal_phase_offset16: Information indicating the horizontal offset of the phase.
vertical_phase_offset16: Information indicating the offset in the vertical direction of the phase.
chroma_phase_x_flag: Information indicating whether or not to perform a phase shift in the horizontal direction of the color difference signal.
chroma_phase_y: Information indicating whether or not to perform a phase shift in the vertical direction of the color difference signal.
phase_offset_idx: Indicates an index assigned to color difference phase information.
 つまり、horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag、およびchroma_phase_yが、色差位相情報として伝送される。これらの情報は、複数伝送され、各情報にインデックス(phase_offset_idx)が割り当てられる。 That is, horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, and chroma_phase_y are transmitted as color difference phase information. A plurality of these pieces of information are transmitted, and an index (phase_offset_idx) is assigned to each piece of information.
 そして、例えば、図9のBに示されるように、ピクチャパラメータセット(PPS)(例えばpps_extension())において、phase_offset_idx(インデックス情報)が伝送される。つまり、各ピクチャパラメータセット(PPS)において、そのピクチャに適用される色差位相情報のインデックスが指定される。 For example, as shown in FIG. 9B, phase_offset_idx (index information) is transmitted in a picture parameter set (PPS) (for example, pps_extension ()). That is, in each picture parameter set (PPS), an index of chrominance phase information applied to the picture is designated.
 また、例えば、各ピクチャパラメータセット(PPS)において、そのピクチャに適用する色差位相情報を伝送するようにしてもよい。このようにすることにより、インデックス情報よりもデータ量が多い色差位相情報をピクチャ毎に伝送することになるため、上述した例の場合よりも符号量が増大する恐れがあるが、シーケンスパラメータセット(SPS)の参照が不要になり、アップサンプルに関する制御を容易にすることができる。 Also, for example, in each picture parameter set (PPS), chrominance phase information applied to the picture may be transmitted. By doing this, chrominance phase information having a data amount larger than that of index information is transmitted for each picture, so that the code amount may increase as compared with the above example, but the sequence parameter set ( SPS) reference becomes unnecessary, and control related to upsampling can be facilitated.
 この場合のシンタクスは、図7に示されるシンタクスをピクチャパラメータセット(PPS)において伝送するようにすればよいので、その説明は省略する。 In this case, the syntax shown in FIG. 7 may be transmitted in the picture parameter set (PPS), and the description thereof will be omitted.
 <2.第2の実施の形態>
  <画像符号化装置>
 次に、以上のような本技術を実現する装置とその方法について説明する。図10は、本技術を適用した画像処理装置の一態様である、画像符号化装置を示す図である。図10に示される画像符号化装置100は、スペーシャルスケーラビリティの階層画像符号化(スケーラブル符号化)を行う装置である。図10に示されるように、画像符号化装置100は、色差位相制御部101、ダウンサンプル部102、ベースレイヤ画像符号化部103、アップサンプル部104、エンハンスメントレイヤ画像符号化部105、および多重化部106を有する。
<2. Second Embodiment>
<Image encoding device>
Next, an apparatus and method for realizing the present technology as described above will be described. FIG. 10 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. 10 is a device that performs hierarchical image encoding (scalable encoding) with spatial scalability. As shown in FIG. 10, the image coding apparatus 100 includes a color difference phase control unit 101, a downsampling unit 102, a base layer image coding unit 103, an upsampling unit 104, an enhancement layer image coding unit 105, and a multiplexing Part 106.
 色差位相制御部101は、ダウンサンプル部102による色差信号のダウンサンプル処理における位相設定と、アップサンプル部104による色差信号のアップサンプル処理における位相設定とを制御する。色差位相制御部101は、画像符号化装置100に入力される高解像度のエンハンスメントレイヤ画像から、インターレース画像であるか否か等の画像情報を得て、その画像情報等に基づいて色差信号の位相を設定する。色差位相制御部101は、その色差信号の位相の設定を示す制御情報である色差位相制御情報をダウンサンプル部102に供給する。また、色差位相制御部101は、その色差位相制御情報をアップサンプル部104にも供給する。 The color difference phase control unit 101 controls the phase setting in the down-sampling processing of the color difference signal by the down-sampling unit 102 and the phase setting in the up-sampling processing of the color difference signal by the up-sampling unit 104. The color difference phase control unit 101 obtains image information such as whether or not an interlaced image is obtained from a high-resolution enhancement layer image input to the image encoding device 100, and the phase of the color difference signal based on the image information or the like. Set. The color difference phase control unit 101 supplies the color difference phase control information, which is control information indicating the setting of the phase of the color difference signal, to the downsampling unit 102. The color difference phase control unit 101 also supplies the color difference phase control information to the upsampling unit 104.
 色差位相制御部101は、さらに、設定した色差信号の位相に関する伝送用の情報(色差位相情報とも称する)を生成し、その色差位相情報を含むシーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等のヘッダ情報を生成する。色差位相制御部101は、生成したヘッダ情報をエンハンスメントレイヤ画像符号化部105に供給し、エンハンスメントレイヤのビットストリーム(エンハンスメントレイヤ画像符号化ストリーム)として復号側に伝送させる。 The color difference phase control unit 101 further generates transmission information (also referred to as color difference phase information) regarding the phase of the set color difference signal, and a sequence parameter set (SPS) or picture parameter set (PPS) including the color difference phase information. Etc. header information is generated. The chrominance phase control unit 101 supplies the generated header information to the enhancement layer image encoding unit 105, and transmits it to the decoding side as an enhancement layer bit stream (enhancement layer image encoded stream).
 ダウンサンプル部102は、エンハンスメントレイヤ画像をダウンサンプル処理し、エンハンスメントレイヤ画像に比べて低解像度のベースレイヤ画像を生成する。ダウンサンプル部102は、色差位相制御部101から供給される色差位相制御情報が示す色差信号の位相の設定を適用して、すなわち、色差位相制御部101の制御に従って、色差信号のダウンサンプル処理を行う。このようにすることにより、ベースレイヤ画像の色差信号の位相を、エンハンスメントレイヤ画像の色差信号と同様にすることができる。つまり、より正確なベースレイヤ画像を得ることができる。したがって、位相ずれ等の発生を抑制し、符号化による画質の低減を抑制することができる。 The downsampling unit 102 downsamples the enhancement layer image and generates a base layer image having a lower resolution than the enhancement layer image. The down-sampling unit 102 applies the setting of the phase of the color-difference signal indicated by the color-difference phase control information supplied from the color-difference phase control unit 101, that is, performs the down-sampling process of the color difference signal according to the control of the color difference phase control unit 101. Do. By doing so, the phase of the color difference signal of the base layer image can be made the same as that of the color difference signal of the enhancement layer image. That is, a more accurate base layer image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
 ダウンサンプル部102は、生成したベースレイヤ画像をベースレイヤ画像符号化部103に供給する。 The down-sample unit 102 supplies the generated base layer image to the base layer image encoding unit 103.
 ベースレイヤ画像符号化部103は、ダウンサンプル部102から供給されたベースレイヤ画像を符号化し、ベースレイヤ画像符号化ストリームを生成する。ベースレイヤ画像符号化部103は、生成したベースレイヤ画像符号化ストリームを多重化部106に供給する。ベースレイヤ画像符号化部103は、また、ベースレイヤ画像の符号化において生成される復号画像(ベースレイヤ復号画像とも称する)をアップサンプル部104に供給する。 The base layer image encoding unit 103 encodes the base layer image supplied from the downsampling unit 102, and generates a base layer image encoded stream. The base layer image encoding unit 103 supplies the generated base layer image encoded stream to the multiplexing unit 106. The base layer image encoding unit 103 also supplies a decoded image (also referred to as a base layer decoded image) generated in the encoding of the base layer image to the upsampling unit 104.
 アップサンプル部104は、ベースレイヤ画像符号化部103から供給される低解像度のベースレイヤ復号画像をアップサンプル処理し、エンハンスメントレイヤ画像と同じ解像度のアップサンプル画像を生成する。アップサンプル部104は、色差位相制御部101から供給される色差位相制御情報が示す色差信号の位相の設定を適用して、すなわち、色差位相制御部101の制御に従って、色差信号のアップサンプル処理を行う。このようにすることにより、アップサンプル画像の色差信号の位相を、ベースレイヤ復号画像の色差信号と同様にすることができる(すなわち、エンハンスメントレイヤ画像の色差信号とも同様にすることができる)。つまり、より正確なアップサンプル画像を得ることができる。したがって、位相ずれ等の発生を抑制し、符号化による画質の低減を抑制することができる。 The upsampling unit 104 upsamples the low-resolution base layer decoded image supplied from the base layer image coding unit 103, and generates an upsampled image having the same resolution as the enhancement layer image. The upsampling unit 104 applies the phase setting of the color difference signal indicated by the color difference phase control information supplied from the color difference phase control unit 101, that is, performs the upsampling process of the color difference signal according to the control of the color difference phase control unit 101. Do. By doing so, the phase of the color difference signal of the upsampled image can be made the same as that of the base layer decoded image (that is, the phase difference signal of the enhancement layer image can be made the same). That is, a more accurate upsampled image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
 アップサンプル部104は、生成したアップサンプル画像をエンハンスメントレイヤ画像符号化部105に供給する。 The upsample unit 104 supplies the generated upsample image to the enhancement layer image encoding unit 105.
 エンハンスメントレイヤ画像符号化部105は、画像符号化装置100に入力されたエンハンスメントレイヤ画像を符号化し、エンハンスメントレイヤ画像符号化ストリームを生成する。その符号化において、エンハンスメントレイヤ画像符号化部105は、アップサンプル部104から供給されるアップサンプル画像を参照画像として予測処理等に用いる。また、エンハンスメントレイヤ画像符号化部105は、色差位相制御部101から供給されるヘッダ情報を、そのエンハンスメントレイヤ画像符号化ストリームに含める。エンハンスメントレイヤ画像符号化部105は、生成したエンハンスメントレイヤ画像符号化ストリームを多重化部106に供給する。 The enhancement layer image encoding unit 105 encodes the enhancement layer image input to the image encoding device 100, and generates an enhancement layer image encoded stream. In the encoding, the enhancement layer image encoding unit 105 uses the upsample image supplied from the upsample unit 104 as a reference image for prediction processing and the like. In addition, the enhancement layer image encoding unit 105 includes the header information supplied from the color difference phase control unit 101 in the enhancement layer image encoded stream. The enhancement layer image encoding unit 105 supplies the generated enhancement layer image encoded stream to the multiplexing unit 106.
 多重化部106は、ベースレイヤ画像符号化部103において生成されたベースレイヤ画像符号化ストリームと、エンハンスメントレイヤ画像符号化部105において生成されたエンハンスメントレイヤ画像符号化ストリームとを多重化し、階層画像符号化ストリームを生成する。多重化部106は、生成した階層画像符号化ストリームを復号側に伝送する。 The multiplexing unit 106 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 103 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 105 to generate a hierarchical image code Generate a stream. The multiplexing unit 106 transmits the generated hierarchical image encoded stream to the decoding side.
  <色差位相制御部>
 図11は、図10の色差位相制御部101の主な構成例を示すブロック図である。図11に示されるように、色差位相制御部101は、走査方式判定部121、符号化方式設定部122、色差位相設定部123、ダウンサンプル色差位相制御部124、アップサンプル色差位相制御部125、色差位相情報生成部126、およびエンハンスメントレイヤヘッダ情報生成部127を有する。
<Color difference phase control unit>
FIG. 11 is a block diagram illustrating a main configuration example of the color difference phase control unit 101 of FIG. As shown in FIG. 11, the color difference phase control unit 101 includes a scanning method determination unit 121, an encoding method setting unit 122, a color difference phase setting unit 123, a downsample color difference phase control unit 124, an upsample color difference phase control unit 125, A color difference phase information generation unit 126 and an enhancement layer header information generation unit 127 are included.
 走査方式判定部121は、画像符号化装置100に入力されるエンハンスメントレイヤ画像の画像情報を取得し、エンハンスメントレイヤ画像(すなわち符号化対象の入力画像)の走査方式がインターレースであるか否かを判定する。走査方式判定部121は、その判定結果、すなわち、入力画像の走査方式を示す情報(入力画像がインターレース画像であるか否かを示す情報)を色差位相設定部123と色差位相情報生成部126に供給する。 The scanning method determination unit 121 acquires image information of an enhancement layer image input to the image encoding device 100, and determines whether the scanning method of the enhancement layer image (that is, the input image to be encoded) is interlaced. To do. The scanning method determination unit 121 sends the determination result, that is, information indicating the scanning method of the input image (information indicating whether the input image is an interlaced image) to the color difference phase setting unit 123 and the color difference phase information generation unit 126. Supply.
 符号化方式設定部122は、例えば、ユーザ等の外部からの指示や予め定められた設定等に応じて、ベースレイヤ画像符号化部103やエンハンスメントレイヤ画像符号化部105における符号化の符号化方式を設定する。ここで符号化方式とは、フィールドベース符号化・フレームベース符号化を示す。つまり、符号化方式設定部122は、ベースレイヤ画像符号化部103やエンハンスメントレイヤ画像符号化部105において、フィールドベース符号化を行うかフレームベース符号化を行うかを設定する。 The encoding method setting unit 122 is, for example, an encoding method of encoding in the base layer image encoding unit 103 or the enhancement layer image encoding unit 105 according to an instruction from the outside such as a user or a predetermined setting. Set. Here, the encoding method indicates field-based encoding / frame-based encoding. That is, the encoding scheme setting unit 122 sets whether to perform field-based encoding or frame-based encoding in the base layer image encoding unit 103 and the enhancement layer image encoding unit 105.
 符号化方式設定部122は、設定した符号化方式を示す情報(つまり、フィールドベース符号化を行うかフレームベース符号化を行うかを示す情報)を色差位相設定部123と色差位相情報生成部126に供給する。 The encoding scheme setting unit 122 uses information indicating the set encoding scheme (that is, information indicating whether to perform field-based encoding or frame-based encoding) as a chrominance phase setting unit 123 and a chrominance phase information generation unit 126. To supply.
 色差位相設定部123は、走査方式判定部121や符号化方式設定部122から供給される情報に基づいて、すなわち、エンハンスメントレイヤ画像がインターレース画像であるか否か、入力画像の各レイヤがフィールドベース符号化により符号化されるかフレーム符号化により符号化されるかに応じて、色差信号の位相の設定を行う。 The chrominance phase setting unit 123 is based on information supplied from the scanning method determination unit 121 and the encoding method setting unit 122, that is, whether or not the enhancement layer image is an interlaced image. The phase of the color difference signal is set depending on whether the encoding is performed by encoding or frame encoding.
 例えば、入力画像がインターレース画像であり、フィールド符号化される場合、色差位相設定部123は、トップフィールドおよびボトムフィールドの各フィールドピクチャについて色差信号の位相を設定する。すなわち、この場合、色差位相設定部123は、単一のシーケンスについて色差信号の位相を複数設定する。また、例えば、入力画像がインターレース画像であり、フレーム符号化される場合、色差位相設定部123は、フレームピクチャについて色差信号の位相を設定する。すなわち、色差位相設定部123は、単一のシーケンスについて色差信号の位相を1つ設定する。さらに、例えば、入力画像がインターレース画像でない(走査方式がプログレッシブであるプログレッシブ画像の)場合、色差位相設定部123は、フレームピクチャについて色差信号の位相を設定する。すなわち、色差位相設定部123は、単一のシーケンスについて色差信号の位相を1つ設定する。 For example, when the input image is an interlaced image and is field-encoded, the color difference phase setting unit 123 sets the phase of the color difference signal for each field picture of the top field and the bottom field. That is, in this case, the color difference phase setting unit 123 sets a plurality of phases of the color difference signal for a single sequence. For example, when the input image is an interlaced image and is frame-encoded, the color difference phase setting unit 123 sets the phase of the color difference signal for the frame picture. That is, the color difference phase setting unit 123 sets one phase of the color difference signal for a single sequence. Further, for example, when the input image is not an interlaced image (a progressive image whose scanning method is progressive), the color difference phase setting unit 123 sets the phase of the color difference signal for the frame picture. That is, the color difference phase setting unit 123 sets one phase of the color difference signal for a single sequence.
 色差位相設定部123は、設定した色差信号の位相を示す情報(色差位相)をダウンサンプル色差位相制御部124、アップサンプル色差位相制御部125、および色差位相情報生成部126に供給する。また、例えば、入力画像がインターレース画像であり、フレーム符号化される場合、色差位相設定部123は、フィールドベースでダウンサンプル処理させるようにダウンサンプル色差位相制御部124に指示を出し、フィールドベースでアップサンプル処理させるようにアップサンプル色差位相制御部125に指示を行う。 The color difference phase setting unit 123 supplies information indicating the phase of the set color difference signal (color difference phase) to the downsample color difference phase control unit 124, the upsample color difference phase control unit 125, and the color difference phase information generation unit 126. For example, when the input image is an interlaced image and is frame-encoded, the color difference phase setting unit 123 instructs the downsample color difference phase control unit 124 to perform the downsample processing on the field basis, and The up-sampling color difference phase control unit 125 is instructed to perform the up-sampling process.
 ダウンサンプル色差位相制御部124は、色差位相設定部123から供給される色差位相を用いて色差位相制御情報を生成し、それをダウンサンプル部102に供給する。つまり、ダウンサンプル色差位相制御部124は、ダウンサンプル部102による色差信号のダウンサンプル処理の位相設定を制御する。 The downsample color difference phase control unit 124 generates color difference phase control information using the color difference phase supplied from the color difference phase setting unit 123, and supplies it to the downsample unit 102. That is, the downsample color difference phase control unit 124 controls the phase setting of the downsample processing of the color difference signal by the downsample unit 102.
 例えば、入力画像がインターレース画像であり、フィールド符号化される場合、ダウンサンプル色差位相制御部124は、トップフィールドの色差信号のダウンサンプル処理において、単一のシーケンスに対して複数設定された色差信号の位相の内、トップフィールド用に設定された色差信号の位相を適用するように制御し、ボトムフィールドの色差信号のダウンサンプル処理において、ボトムフィールド用に設定された色差信号の位相を適用するように制御する。 For example, when the input image is an interlaced image and is field-encoded, the downsample chrominance phase control unit 124 sets a plurality of chrominance signals set for a single sequence in the downsampling processing of the topfield chrominance signal. The phase of the color difference signal set for the top field is controlled to be applied, and the phase of the color difference signal set for the bottom field is applied in the down-sampling processing of the color difference signal of the bottom field. To control.
 また、例えば、入力画像がインターレース画像であり、フレーム符号化される場合、ダウンサンプル色差位相制御部124は、フレームの色差信号のダウンサンプル処理において、単一のシーケンスに対して設定された単一の色差信号の位相、すなわち、フレームピクチャ用に設定された色差信号の位相を適用するように制御する。 Also, for example, when the input image is an interlaced image and is frame-encoded, the downsample color difference phase control unit 124 uses a single set for a single sequence in the downsample processing of the frame color difference signal. The control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
 さらに、例えば、入力画像がインターレース画像でない(プログレッシブ画像である)場合、ダウンサンプル色差位相制御部124は、フレームの色差信号のダウンサンプル処理において、単一のシーケンスに対して設定された単一の色差信号の位相、すなわち、フレームピクチャ用に設定された色差信号の位相を適用するように制御する。 Further, for example, when the input image is not an interlaced image (a progressive image), the downsample chrominance phase control unit 124 uses a single sequence set for a single sequence in the downsample processing of the chrominance signal of the frame. Control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
 以上のように制御することにより、ダウンサンプル色差位相制御部124は、位相ずれ等の発生を抑制し、より正確なベースレイヤ画像が得られるように、ダウンサンプル処理を制御することができる。 By controlling as described above, the down-sample color difference phase control unit 124 can control the down-sample processing so as to suppress the occurrence of a phase shift and obtain a more accurate base layer image.
 なお、入力画像がインターレース画像であり、フレーム符号化される場合、ダウンサンプル色差位相制御部124が、さらに、ダウンサンプル処理をフィールドベースで行うように、ダウンサンプル部102を制御するようにしてもよい。このようにすることにより、同一時間の画素値を用いてダウンサンプル処理させることができ、より正確なベースレイヤ画像が得られるようにすることができる。 When the input image is an interlaced image and is frame-encoded, the down-sample color difference phase control unit 124 may further control the down-sample unit 102 so that the down-sampling process is performed on a field basis. Good. By doing so, it is possible to perform down-sampling processing using pixel values at the same time, and to obtain a more accurate base layer image.
 アップサンプル色差位相制御部125は、色差位相設定部123から供給される色差位相を用いて色差位相制御情報を生成し、それをアップサンプル部104に供給する。つまり、アップサンプル色差位相制御部125は、アップサンプル部104による色差信号のアップサンプル処理の位相設定を制御する。 The upsample chrominance phase control unit 125 generates chrominance phase control information using the chrominance phase supplied from the chrominance phase setting unit 123 and supplies it to the upsampling unit 104. That is, the upsample color difference phase control unit 125 controls the phase setting of the upsample process of the color difference signal by the upsample unit 104.
 例えば、入力画像がインターレース画像であり、フィールド符号化される場合、アップサンプル色差位相制御部125は、トップフィールドの色差信号のアップサンプル処理において、単一のシーケンスに対して複数設定された色差信号の位相の内、トップフィールド用に設定された色差信号の位相を適用するように制御し、ボトムフィールドの色差信号のアップサンプル処理において、ボトムフィールド用に設定された色差信号の位相を適用するように制御する。 For example, when the input image is an interlaced image and is field-encoded, the upsample chrominance phase control unit 125 performs a chrominance signal that is set in plural for a single sequence in the upsample processing of the chrominance signal in the top field. The phase of the color difference signal set for the top field is controlled to be applied, and the phase of the color difference signal set for the bottom field is applied in the upsampling processing of the color difference signal of the bottom field. To control.
 また、例えば、入力画像がインターレース画像であり、フレーム符号化される場合、アップサンプル色差位相制御部125は、フレームの色差信号のアップサンプル処理において、単一のシーケンスに対して設定された単一の色差信号の位相、すなわち、フレームピクチャ用に設定された色差信号の位相を適用するように制御する。 Further, for example, when the input image is an interlaced image and is frame-encoded, the upsample color difference phase control unit 125 performs a single set for a single sequence in the upsample processing of the frame color difference signal. The control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
 さらに、例えば、入力画像がインターレース画像でない(プログレッシブ画像である)場合、アップサンプル色差位相制御部125は、フレームの色差信号のアップサンプル処理において、単一のシーケンスに対して設定された単一の色差信号の位相、すなわち、フレームピクチャ用に設定された色差信号の位相を適用するように制御する。 Furthermore, for example, when the input image is not an interlaced image (a progressive image), the upsample color difference phase control unit 125 performs a single set for a single sequence in the upsample processing of the frame color difference signal. Control is performed so as to apply the phase of the color difference signal, that is, the phase of the color difference signal set for the frame picture.
 以上のように制御することにより、アップサンプル色差位相制御部125は、位相ずれ等の発生を抑制し、より正確なアップサンプル画像が得られるように、アップサンプル処理を制御することができる。 By controlling as described above, the upsample color difference phase control unit 125 can control the upsample processing so as to suppress the occurrence of phase shift and the like and obtain a more accurate upsample image.
 なお、入力画像がインターレース画像であり、フレーム符号化される場合、アップサンプル色差位相制御部125が、さらに、アップサンプル処理をフィールドベースで行うように、アップサンプル部104を制御するようにしてもよい。このようにすることにより、同一時間の画素値を用いてアップサンプル処理させることができ、より正確なアップサンプル画像が得られるようにすることができる。 When the input image is an interlaced image and is frame-encoded, the upsample color difference phase control unit 125 may further control the upsampler unit 104 to perform the upsample process on a field basis. Good. By doing so, it is possible to perform up-sampling processing using pixel values at the same time, and it is possible to obtain a more accurate up-sampled image.
 色差位相情報生成部126は、色差位相設定部123から供給される色差位相を用いて伝送用の色差位相情報を生成する。色差位相情報生成部126は、走査方式判定部121や符号化方式設定部122から供給される情報に基づいて、すなわち、エンハンスメントレイヤ画像がインターレース画像であるか否か、入力画像の各レイヤがフィールドベース符号化により符号化されるかフレーム符号化により符号化されるかに応じて、色差位相情報を生成する。 The color difference phase information generation unit 126 generates color difference phase information for transmission using the color difference phase supplied from the color difference phase setting unit 123. The chrominance phase information generation unit 126 is based on information supplied from the scanning method determination unit 121 and the encoding method setting unit 122, that is, whether or not the enhancement layer image is an interlaced image, whether each layer of the input image is a field. Color difference phase information is generated depending on whether encoding is performed by base encoding or frame encoding.
 色差位相情報生成部126は、例えば、第1の実施の形態において説明したように、図9のAの例のシンタクスのような色差位相情報を生成する。例えば、色差位相情報生成部126は、horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag、およびchroma_phase_yを、色差位相情報として設定することもできる。もちろん、色差位相情報は、これらに限らない。例えば、色差位相情報にこれらの一部が含まれないようにしても良いし、色差位相情報がこれら以外の情報を含むようにしても良いし、色差位相情報がこれら以外の情報のみで構成されるようにしてもよい。 The chrominance phase information generation unit 126 generates chrominance phase information such as the syntax of the example of FIG. 9A as described in the first embodiment, for example. For example, the chrominance phase information generation unit 126 can also set horizontal_phase_offset16, vertical_phase_offset16, chroma_phase_x_flag, and chroma_phase_y as chrominance phase information. Of course, the color difference phase information is not limited to these. For example, the chrominance phase information may not include some of these, the chrominance phase information may include information other than these, or the chrominance phase information may be configured only by information other than these. It may be.
 また、色差位相情報生成部126は、これらの色差位相情報に、インデックス(phase_offset_idx)を割り当てることもできる。例えば、入力画像がインターレース画像であり、フィールド符号化される場合、色差位相情報生成部126が、1つのシーケンスに対して色差位相情報を複数生成し(トップフィールドに対する色差位相情報と、ボトムフィールドに対する色差位相情報とを生成し)、各フィールドに対する色差位相情報に対して互いに異なるインデックスを割り当てるようにしてもよい。 The color difference phase information generation unit 126 can also assign an index (phase_offset_idx) to these color difference phase information. For example, when the input image is an interlaced image and is field-encoded, the chrominance phase information generation unit 126 generates a plurality of chrominance phase information for one sequence (the chrominance phase information for the top field and the bottom field). Color difference phase information may be generated), and different indexes may be assigned to the color difference phase information for each field.
 また、例えば、入力画像がフレーム符号化される場合、色差位相情報生成部126が、1つのシーケンスに対して1つの色差位相情報(フレームピクチャに対する色差位相情報)を生成し、その色差位相情報に対してインデックスを割り当てるようにしてもよい。 For example, when the input image is frame-encoded, the color difference phase information generation unit 126 generates one color difference phase information (color difference phase information for a frame picture) for one sequence, and the color difference phase information is included in the color difference phase information. An index may be assigned to each other.
 そして、色差位相情報生成部126が、図9のBの例のように、各ピクチャについて、適用する色差位相情報をインデックス情報(phase_offset_idx)を用いて設定するようにしてもよい。 Then, the chrominance phase information generation unit 126 may set the chrominance phase information to be applied to each picture using index information (phase_offset_idx) as in the example of FIG. 9B.
 また、色差位相情報生成部126が、例えば、第1の実施の形態において説明した図9のAの例のシンタクスのように、色差位相情報の数を示す情報(num_phase_offset)を生成するようにしてもよい。 Further, the chrominance phase information generation unit 126 generates information (num_phase_offset) indicating the number of chrominance phase information as in the syntax of the example of FIG. 9A described in the first embodiment, for example. Also good.
 さらに、色差位相情報生成部126が、例えば、入力画像がインターレース画像であり、フレーム符号化される場合、第1の実施の形態において説明した図9のAの例のシンタクスのように、アップサンプリング処理をフィールドベースで行うように制御する制御情報(field_base_upsampling_flag)を生成するようにしてもよい。 Further, for example, when the input image is an interlaced image and is frame-encoded, the chrominance phase information generation unit 126 performs upsampling as in the syntax of the example of FIG. 9A described in the first embodiment. Control information (field_base_upsampling_flag) for controlling the processing to be performed on a field basis may be generated.
 色差位相情報生成部126は、以上のように生成した色差位相情報等を、エンハンスメントレイヤヘッダ情報生成部127に供給する。 The color difference phase information generation unit 126 supplies the color difference phase information generated as described above to the enhancement layer header information generation unit 127.
 エンハンスメントレイヤヘッダ情報生成部127は、色差位相情報生成部126から供給される情報を含むヘッダ情報(シーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等)を生成する。 The enhancement layer header information generation unit 127 generates header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including information supplied from the color difference phase information generation unit 126.
 例えば、エンハンスメントレイヤヘッダ情報生成部127は、図9のAに示されるシンタクスsampling_glid_information()を含むシーケンスパラメータセット(SPS)を生成する。また、エンハンスメントレイヤヘッダ情報生成部127は、例えば、図9のBに示されるシンタクスを含むピクチャパラメータセット(PPS)を生成する。 For example, the enhancement layer header information generation unit 127 generates a sequence parameter set (SPS) including the syntax sampling_glid_information () shown in A of FIG. Further, the enhancement layer header information generation unit 127 generates, for example, a picture parameter set (PPS) including the syntax shown in B of FIG.
 エンハンスメントレイヤヘッダ情報生成部127は、生成したヘッダ情報をエンハンスメントレイヤ画像符号化部105に供給し、色差位相情報等をエンハンスメントレイヤ画像符号化ストリームとして復号側に伝送させる。 The enhancement layer header information generation unit 127 supplies the generated header information to the enhancement layer image encoding unit 105, and transmits chrominance phase information and the like as an enhancement layer image encoded stream to the decoding side.
 以上のように色差位相情報等を生成し、復号側に伝送させることにより、色差位相情報生成部126は、位相ずれ等の発生を抑制し、復号の際により正確なアップサンプル画像が得られるようにすることができる。つまり、復号による画質の低減を抑制することができる。 By generating chrominance phase information and the like and transmitting them to the decoding side as described above, the chrominance phase information generation unit 126 suppresses the occurrence of phase shift and the like so that an accurate upsampled image can be obtained at the time of decoding. Can be. That is, it is possible to suppress a reduction in image quality due to decoding.
 なお、以上においては、エンハンスメントレイヤヘッダ情報生成部127が図9の例のようにヘッダ情報を生成するように説明したが、この例に限定されない。例えば、第1の実施の形態において説明したように、各ピクチャパラメータセット(PPS)に、そのピクチャに適用する色差位相情報を格納するようにしてもよい。つまり、エンハンスメントレイヤヘッダ情報生成部127が、そのピクチャに適用する色差位相情報を含むピクチャパラメータセット(PPS)を生成するようにしてもよい。 In the above description, the enhancement layer header information generation unit 127 has been described as generating header information as in the example of FIG. 9, but the present invention is not limited to this example. For example, as described in the first embodiment, color difference phase information applied to the picture may be stored in each picture parameter set (PPS). That is, the enhancement layer header information generation unit 127 may generate a picture parameter set (PPS) including color difference phase information applied to the picture.
  <ベースレイヤ画像符号化部>
 図12は、図10のベースレイヤ画像符号化部103の主な構成例を示すブロック図である。図12に示されるように、ベースレイヤ画像符号化部103は、画面並べ替えバッファ131、演算部132、直交変換部133、量子化部134、可逆符号化部135、蓄積バッファ136、逆量子化部137、および逆直交変換部138を有する。また、ベースレイヤ画像符号化部103は、演算部139、ループフィルタ140、フレームメモリ141、選択部142、イントラ予測部143、インター予測部144、予測画像選択部145、およびレート制御部146を有する。
<Base layer image encoding unit>
FIG. 12 is a block diagram illustrating a main configuration example of the base layer image encoding unit 103 in FIG. As shown in FIG. 12, the base layer image encoding unit 103 includes a screen rearrangement buffer 131, a calculation unit 132, an orthogonal transformation unit 133, a quantization unit 134, a lossless encoding unit 135, a storage buffer 136, and an inverse quantization. A unit 137 and an inverse orthogonal transform unit 138. The base layer image encoding unit 103 also includes a calculation unit 139, a loop filter 140, a frame memory 141, a selection unit 142, an intra prediction unit 143, an inter prediction unit 144, a predicted image selection unit 145, and a rate control unit 146. .
 画面並べ替えバッファ131は、入力された画像データ(ベースレイヤ画像情報)を記憶し、記憶した表示の順番のフレームの画像を、GOP(Group Of Picture)に応じて、符号化のためのフレームの順番に並べ替え、フレームの順番を並び替えた画像を、演算部132に供給する。また、画面並べ替えバッファ131は、フレームの順番を並び替えた画像を、イントラ予測部143およびインター予測部144にも供給する。 The screen rearrangement buffer 131 stores the input image data (base layer image information), and the frame images stored in the display order are encoded according to GOP (Group Of Picture). The images rearranged in order and the image in which the order of the frames is rearranged are supplied to the calculation unit 132. In addition, the screen rearrangement buffer 131 also supplies the image in which the frame order is rearranged to the intra prediction unit 143 and the inter prediction unit 144.
 演算部132は、画面並べ替えバッファ131から読み出された画像から、予測画像選択部145を介してイントラ予測部143若しくはインター予測部144から供給される予測画像を減算し、その差分情報を直交変換部133に出力する。例えば、イントラ符号化が行われる画像の場合、演算部132は、画面並べ替えバッファ131から読み出された画像から、イントラ予測部143から供給される予測画像を減算する。また、例えば、インター符号化が行われる画像の場合、演算部132は、画面並べ替えバッファ131から読み出された画像から、インター予測部144から供給される予測画像を減算する。 The calculation unit 132 subtracts the prediction image supplied from the intra prediction unit 143 or the inter prediction unit 144 via the prediction image selection unit 145 from the image read from the screen rearrangement buffer 131, and orthogonalizes the difference information. The data is output to the conversion unit 133. For example, in the case of an image on which intra coding is performed, the calculation unit 132 subtracts the prediction image supplied from the intra prediction unit 143 from the image read from the screen rearrangement buffer 131. For example, in the case of an image on which inter coding is performed, the calculation unit 132 subtracts the prediction image supplied from the inter prediction unit 144 from the image read from the screen rearrangement buffer 131.
 直交変換部133は、演算部132から供給される差分情報に対して、離散コサイン変換やカルーネン・レーベ変換等の直交変換を施す。直交変換部133は、その変換係数を量子化部134に供給する。 The orthogonal transform unit 133 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computing unit 132. The orthogonal transform unit 133 supplies the transform coefficient to the quantization unit 134.
 量子化部134は、直交変換部133から供給される変換係数を量子化する。量子化部134は、レート制御部146から供給される符号量の目標値に関する情報に基づいて量子化パラメータを設定し、その量子化を行う。量子化部134は、量子化された変換係数を可逆符号化部135に供給する。 The quantization unit 134 quantizes the transform coefficient supplied from the orthogonal transform unit 133. The quantization unit 134 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 146, and performs the quantization. The quantization unit 134 supplies the quantized transform coefficient to the lossless encoding unit 135.
 可逆符号化部135は、量子化部134において量子化された変換係数を任意の符号化方式で符号化する。係数データは、レート制御部146の制御の下で量子化されているので、この符号量は、レート制御部146が設定した目標値となる(若しくは目標値に近似する)。 The lossless encoding unit 135 encodes the transform coefficient quantized by the quantization unit 134 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 146, this code amount becomes the target value set by the rate control unit 146 (or approximates the target value).
 また、可逆符号化部135は、イントラ予測のモードを示す情報などをイントラ予測部143から取得し、インター予測のモードを示す情報や差分動きベクトル情報などをインター予測部144から取得する。さらに、可逆符号化部135は、シーケンスパラメータセット(SPS)、およびピクチャパラメータセット(PPS)等を含むベースレイヤのNAL(Network Abstraction Layer)ユニットを適宜生成する。 Also, the lossless encoding unit 135 acquires information indicating the mode of intra prediction from the intra prediction unit 143, and acquires information indicating the mode of inter prediction, differential motion vector information, and the like from the inter prediction unit 144. Further, the lossless encoding unit 135 appropriately generates a base layer NAL (Network Abstraction Layer) unit including a sequence parameter set (SPS), a picture parameter set (PPS), and the like.
 可逆符号化部135は、これらの各種情報を任意の符号化方式で符号化し、符号化データ(符号化ストリームとも称する)の一部とする(多重化する)。可逆符号化部135は、符号化して得られた符号化データを蓄積バッファ136に供給して蓄積させる。 The lossless encoding unit 135 encodes these various types of information using an arbitrary encoding method, and sets (multiplexes) the encoded information (also referred to as an encoded stream) as a part. The lossless encoding unit 135 supplies the encoded data obtained by encoding to the accumulation buffer 136 for accumulation.
 可逆符号化部135の符号化方式としては、例えば、可変長符号化または算術符号化等が挙げられる。可変長符号化としては、例えば、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 135 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).
 蓄積バッファ136は、可逆符号化部135から供給された符号化ストリーム(ベースレイヤ画像符号化ストリーム)を、一時的に保持する。蓄積バッファ136は、所定のタイミングにおいて、保持しているベースレイヤ画像符号化ストリームを多重化部106(図10)に出力する。すなわち、蓄積バッファ136は、ベースレイヤ画像符号化ストリームを伝送する伝送部でもある。 The accumulation buffer 136 temporarily holds the encoded stream (base layer image encoded stream) supplied from the lossless encoding unit 135. The accumulation buffer 136 outputs the held base layer image encoded stream to the multiplexing unit 106 (FIG. 10) at a predetermined timing. That is, the accumulation buffer 136 is also a transmission unit that transmits the base layer image encoded stream.
 また、量子化部134において量子化された変換係数は、逆量子化部137にも供給される。逆量子化部137は、その量子化された変換係数を、量子化部134による量子化に対応する方法で逆量子化する。逆量子化部137は、得られた変換係数を、逆直交変換部138に供給する。 Also, the transform coefficient quantized by the quantization unit 134 is also supplied to the inverse quantization unit 137. The inverse quantization unit 137 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 134. The inverse quantization unit 137 supplies the obtained transform coefficient to the inverse orthogonal transform unit 138.
 逆直交変換部138は、逆量子化部137から供給された変換係数を、直交変換部133による直交変換処理に対応する方法で逆直交変換する。逆直交変換された出力(復元された差分情報)は、演算部139に供給される。 The inverse orthogonal transform unit 138 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 137 by a method corresponding to the orthogonal transform process by the orthogonal transform unit 133. The inversely orthogonal transformed output (restored difference information) is supplied to the calculation unit 139.
 演算部139は、逆直交変換部138から供給された逆直交変換結果である、復元された差分情報に、予測画像選択部145を介してイントラ予測部143若しくはインター予測部144からの予測画像を加算し、局部的に復号された画像(復号画像)を得る。その復号画像は、ループフィルタ140またはフレームメモリ141に供給される。 The calculation unit 139 adds the prediction image from the intra prediction unit 143 or the inter prediction unit 144 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 138, via the prediction image selection unit 145. Addition is performed to obtain a locally decoded image (decoded image). The decoded image is supplied to the loop filter 140 or the frame memory 141.
 ループフィルタ140は、デブロックフィルタや適応ループフィルタ等を含み、演算部139から供給される再構成画像に対して適宜フィルタ処理を行う。例えば、ループフィルタ140は、再構成画像に対してデブロックフィルタ処理を行うことにより再構成画像のブロック歪を除去する。また、例えば、ループフィルタ140は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。ループフィルタ140は、フィルタ処理結果(以下、復号画像と称する)をフレームメモリ141に供給する。 The loop filter 140 includes a deblock filter, an adaptive loop filter, and the like, and appropriately performs a filtering process on the reconstructed image supplied from the calculation unit 139. For example, the loop filter 140 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image. In addition, for example, the loop filter 140 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 loop filter 140 supplies a filter processing result (hereinafter referred to as a decoded image) to the frame memory 141.
 なお、ループフィルタ140が、再構成画像に対してさらに、他の任意のフィルタ処理を行うようにしてもよい。また、ループフィルタ140は、必要に応じて、フィルタ処理に用いたフィルタ係数等の情報を可逆符号化部135に供給し、それを符号化させるようにすることもできる。 Note that the loop filter 140 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 140 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 135 and encode it as necessary.
 フレームメモリ141は、供給される復号画像を記憶し、所定のタイミングにおいて、記憶している復号画像を参照画像として、選択部142に供給する。 The frame memory 141 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 142 at a predetermined timing.
 より具体的には、フレームメモリ141は、演算部139から供給される再構成画像と、ループフィルタ140から供給される復号画像とをそれぞれ記憶する。フレームメモリ141は、所定のタイミングにおいて、若しくは、イントラ予測部143等の外部からの要求に基づいて、記憶している再構成画像を、選択部142を介してイントラ予測部143に供給する。また、フレームメモリ141は、所定のタイミングにおいて、若しくは、インター予測部144等の外部からの要求に基づいて、記憶している復号画像を、選択部142を介して、インター予測部144に供給する。 More specifically, the frame memory 141 stores the reconstructed image supplied from the calculation unit 139 and the decoded image supplied from the loop filter 140, respectively. The frame memory 141 supplies the stored reconstructed image to the intra prediction unit 143 via the selection unit 142 at a predetermined timing or based on a request from the outside such as the intra prediction unit 143. Also, the frame memory 141 supplies the stored decoded image to the inter prediction unit 144 via the selection unit 142 at a predetermined timing or based on a request from the outside such as the inter prediction unit 144. .
 選択部142は、フレームメモリ141から供給される参照画像の供給先を選択する。例えば、イントラ予測の場合、選択部142は、フレームメモリ141から供給される参照画像(カレントピクチャ内の画素値若しくはベースレイヤ復号画像)をイントラ予測部143に供給する。また、例えば、インター予測の場合、選択部142は、フレームメモリ141から供給される参照画像(エンハンスメントレイヤのカレントピクチャ外の復号画像若しくはベースレイヤ復号画像)をインター予測部144に供給する。 The selection unit 142 selects a reference image supply destination supplied from the frame memory 141. For example, in the case of intra prediction, the selection unit 142 supplies a reference image (a pixel value in the current picture or a base layer decoded image) supplied from the frame memory 141 to the intra prediction unit 143. For example, in the case of inter prediction, the selection unit 142 supplies a reference image (a decoded image or a base layer decoded image outside the current picture of the enhancement layer) supplied from the frame memory 141 to the inter prediction unit 144.
 イントラ予測部143は、処理対象のフレームの画像であるカレントピクチャについて、予測処理を行い、予測画像を生成する。イントラ予測部143は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、イントラ予測部143は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、イントラ予測部143は、選択部142を介してフレームメモリ141から参照画像として供給される再構成画像を用いて予測処理(画面内予測(イントラ予測とも称する))を行う。つまり、イントラ予測部143は、再構成画像に含まれる、カレントブロックの周辺の画素値を用いて予測画像を生成する。このイントラ予測に利用される周辺画素値は、カレントピクチャの、過去に処理された画素の画素値である。このイントラ予測には(すなわち、予測画像の生成の仕方には)、複数の方法(イントラ予測モードとも称する)が、候補として予め用意されている。イントラ予測部143は、この予め用意された複数のイントラ予測モードでこのイントラ予測を行う。 The intra prediction unit 143 performs a prediction process on a current picture that is an image of a processing target frame to generate a predicted image. The intra prediction unit 143 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the intra prediction unit 143 generates a predicted image of the current block that is the processing target of the current picture. At that time, the intra prediction unit 143 performs prediction processing (intra-screen prediction (also referred to as intra prediction)) using a reconstructed image supplied as a reference image from the frame memory 141 via the selection unit 142. That is, the intra prediction unit 143 generates a prediction 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 143 performs this intra prediction in the plurality of intra prediction modes prepared in advance.
 イントラ予測部143は、候補となる全てのイントラ予測モードで予測画像を生成し、画面並べ替えバッファ131から供給される入力画像を用いて各予測画像のコスト関数値を評価し、最適なモードを選択する。イントラ予測部143は、最適なイントラ予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部145に供給する。 The intra prediction unit 143 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 131, and selects the optimum mode. select. When the intra prediction unit 143 selects the optimal intra prediction mode, the intra prediction unit 143 supplies the predicted image generated in the optimal mode to the predicted image selection unit 145.
 また、上述したように、イントラ予測部143は、採用されたイントラ予測モードを示すイントラ予測モード情報等を、適宜可逆符号化部135に供給し、符号化させる。 Also, as described above, the intra prediction unit 143 appropriately supplies the intra prediction mode information indicating the adopted intra prediction mode to the lossless encoding unit 135 to be encoded.
 インター予測部144は、カレントピクチャについて、予測処理を行い、予測画像を生成する。インター予測部144は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、インター予測部144は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、インター予測部144は、画面並べ替えバッファ131から供給される入力画像の画像データと、フレームメモリ141から参照画像として供給される復号画像の画像データとを用いて、予測処理を行う。この復号画像は、カレントピクチャより前に処理されたフレームの画像(カレントピクチャでない他のピクチャ)である。つまり、インター予測部144は、他のピクチャの画像を用いて予測画像を生成する予測処理(画面間予測(インター予測とも称する))を行う。 The inter prediction unit 144 performs prediction processing on the current picture and generates a predicted image. The inter prediction unit 144 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 144 generates a predicted image of the current block that is the processing target of the current picture. At this time, the inter prediction unit 144 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 131 and the image data of the decoded image supplied as a reference image from the frame memory 141. 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 144 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a predicted image using an image of another picture.
 このインター予測は、動き予測と動き補償よりなる。より具体的には、インター予測部144は、入力画像と参照画像を用いて、カレントブロックについて動き予測を行い、動きベクトルを検出する。そして、インター予測部144は、参照画像を用いて、検出された動きベクトルに応じて動き補償処理を行い、カレントブロックの予測画像(インター予測画像情報)を生成する。このインター予測には(すなわち、予測画像の生成の仕方には)、複数の方法(インター予測モードとも称する)が、候補として予め用意されている。インター予測部144は、この予め用意された複数のインター予測モードでこのようなインター予測を行う。 This inter prediction consists of motion prediction and motion compensation. More specifically, the inter prediction unit 144 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 144 uses the reference image to perform motion compensation processing according to the detected motion vector, 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 144 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
 インター予測部144は、候補となる全てのインター予測モードで予測画像を生成する。インター予測部144は、画面並べ替えバッファ131から供給される入力画像と、生成した差分動きベクトルの情報などを用いて、各予測画像のコスト関数値を評価し、最適なモードを選択する。インター予測部144は、最適なインター予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部145に供給する。 The inter prediction unit 144 generates a prediction image in all candidate inter prediction modes. The inter prediction unit 144 evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 131, 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 144 supplies the predicted image generated in the optimal mode to the predicted image selection unit 145.
 インター予測部144は、採用されたインター予測モードを示す情報や、符号化データを復号する際に、そのインター予測モードで処理を行うために必要な情報等を可逆符号化部135に供給し、符号化させる。必要な情報としては、例えば、生成された差分動きベクトルの情報や、予測動きベクトル情報として予測動きベクトルのインデックスを示すフラグなどがある。 The inter prediction unit 144 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 135 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.
 予測画像選択部145は、演算部132や演算部139に供給する予測画像の供給元を選択する。例えば、イントラ符号化の場合、予測画像選択部145は、予測画像の供給元としてイントラ予測部143を選択し、そのイントラ予測部143から供給される予測画像を演算部132や演算部139に供給する。また、例えば、インター符号化の場合、予測画像選択部145は、予測画像の供給元としてインター予測部144を選択し、そのインター予測部144から供給される予測画像を演算部132や演算部139に供給する。 The predicted image selection unit 145 selects a supply source of the predicted image to be supplied to the calculation unit 132 or the calculation unit 139. For example, in the case of intra coding, the predicted image selection unit 145 selects the intra prediction unit 143 as the supply source of the predicted image, and supplies the predicted image supplied from the intra prediction unit 143 to the calculation unit 132 and the calculation unit 139. To do. Further, for example, in the case of inter coding, the predicted image selection unit 145 selects the inter prediction unit 144 as a supply source of the predicted image, and calculates the predicted image supplied from the inter prediction unit 144 as the calculation unit 132 or the calculation unit 139. To supply.
 レート制御部146は、蓄積バッファ136に蓄積された符号化データの符号量に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部134の量子化動作のレートを制御する。 The rate control unit 146 controls the quantization operation rate of the quantization unit 134 based on the code amount of the encoded data stored in the storage buffer 136 so that overflow or underflow does not occur.
 なお、ベースレイヤ画像符号化部103は、他のレイヤを参照せずに符号化を行う。つまり、イントラ予測部143およびインター予測部144は、他のレイヤの復号画像を参照画像として利用しない。 The base layer image encoding unit 103 performs encoding without referring to other layers. That is, the intra prediction unit 143 and the inter prediction unit 144 do not use decoded images of other layers as reference images.
 また、フレームメモリ141は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤの符号化に利用させるために、アップサンプル部104に供給する。 Also, the frame memory 141 supplies the stored base layer decoded image to the upsampling unit 104 so as to be used for enhancement layer encoding.
  <エンハンスメントレイヤ画像符号化部>
 図13は、図10のエンハンスメントレイヤ画像符号化部105の主な構成例を示すブロック図である。図13に示されるように、エンハンスメントレイヤ画像符号化部105は、図12のベースレイヤ画像符号化部103と基本的に同様の構成を有する。
<Enhancement layer image encoding unit>
FIG. 13 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 105 in FIG. 10. As shown in FIG. 13, the enhancement layer image encoding unit 105 has basically the same configuration as the base layer image encoding unit 103 of FIG.
 つまり、エンハンスメントレイヤ画像符号化部105は、図13に示されるように、画面並べ替えバッファ151、演算部152、直交変換部153、量子化部154、可逆符号化部155、蓄積バッファ156、逆量子化部157、および逆直交変換部158を有する。また、エンハンスメントレイヤ画像符号化部105は、演算部159、ループフィルタ160、フレームメモリ161、選択部162、イントラ予測部163、インター予測部164、予測画像選択部165、およびレート制御部166を有する。 That is, the enhancement layer image encoding unit 105 includes a screen rearrangement buffer 151, a calculation unit 152, an orthogonal transformation unit 153, a quantization unit 154, a lossless encoding unit 155, a storage buffer 156, and an inverse buffer, as shown in FIG. A quantization unit 157 and an inverse orthogonal transform unit 158 are included. The enhancement layer image encoding unit 105 includes a calculation unit 159, a loop filter 160, a frame memory 161, a selection unit 162, an intra prediction unit 163, an inter prediction unit 164, a predicted image selection unit 165, and a rate control unit 166. .
 これらの画面並べ替えバッファ151乃至レート制御部166は、図12の画面並べ替えバッファ131乃至レート制御部146に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像符号化部105の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、画面並べ替えバッファ151乃至レート制御部166の処理の説明として、上述した図12の画面並べ替えバッファ131乃至レート制御部146についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、画面並べ替えバッファ151乃至レート制御部166の中の対応する処理部に置き換えて読む必要がある。 These screen rearrangement buffer 151 to rate control unit 166 correspond to the screen rearrangement buffer 131 to rate control unit 146 of FIG. 12, and perform the same processing as the corresponding processing unit, respectively. However, each part of the enhancement layer image encoding unit 105 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the screen rearrangement buffer 151 to the rate control unit 166, the above description of the screen rearrangement buffer 131 to the rate control unit 146 of FIG. 12 can be applied. Needs to be enhancement layer data, not base layer data. Further, it is necessary to read the data input source and output destination processing units by replacing them with corresponding processing units in the screen rearrangement buffer 151 through the rate control unit 166, as appropriate.
 なお、エンハンスメントレイヤ画像符号化部105は、他のレイヤ(例えばベースレイヤ)の情報を参照して符号化を行う。フレームメモリ161は、アップサンプル部104から供給されるアップサンプル画像を記憶する。フレームメモリ161は、イントラBLモードやリファレンスインデックスモード等において、そのベースレイヤ復号画像を、参照画像として、選択部162を介して、イントラ予測部163若しくはインター予測部164に供給する。 The enhancement layer image encoding unit 105 performs encoding with reference to information on other layers (for example, a base layer). The frame memory 161 stores the upsample image supplied from the upsample unit 104. The frame memory 161 supplies the base layer decoded image as a reference image to the intra prediction unit 163 or the inter prediction unit 164 via the selection unit 162 in the intra BL mode, the reference index mode, or the like.
 また、可逆符号化部155は、色差位相制御部101から供給される、色差位相情報を含むヘッダ情報(シーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等)を取得し、それを、エンハンスメント画像符号化ストリーム(のヘッダ情報)に含めて、蓄積バッファ156に供給する(復号側に伝送させる)。 Further, the lossless encoding unit 155 obtains header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including the color difference phase information supplied from the color difference phase control unit 101, and enhances it. It is included in the encoded image stream (header information thereof) and supplied to the accumulation buffer 156 (transmitted to the decoding side).
 以上のような、第1の実施の形態において説明したように、アップサンプリングにおける色差信号の位相に関する情報を生成し、復号側に伝送させる色差位相制御部101を設けることにより、画像符号化装置100は、復号による画質の低減を抑制することができる。 As described above in the first embodiment, the image coding apparatus 100 is provided by generating the color difference phase control unit 101 that generates information related to the phase of the color difference signal in the upsampling and transmits the information to the decoding side. Can suppress a reduction in image quality due to decoding.
 また、第1の実施の形態において説明したように、色差位相制御部101が、ダウンサンプリング処理やアップサンプリング処理における色差信号の位相設定を制御することにより、画像符号化装置100は、符号化による画質の低減を抑制することができる。 Further, as described in the first embodiment, the color difference phase control unit 101 controls the phase setting of the color difference signal in the down-sampling process or the up-sampling process, so that the image encoding apparatus 100 performs the encoding. Reduction in image quality can be suppressed.
 なお、図10においては、画像符号化装置100にエンハンスメントレイヤ画像が入力され、そのエンハンスメントレイヤ画像がダウンサンプル処理されてベースレイヤ画像が生成されるように説明したが、画像符号化装置100にダウンサンプル処理済みのベースレイヤ画像とエンハンスメントレイヤ画像が入力されるようにしてももちろんよい。 In FIG. 10, it has been described that the enhancement layer image is input to the image encoding device 100 and the enhancement layer image is down-sampled to generate the base layer image. Of course, a sample-processed base layer image and enhancement layer image may be input.
  <画像符号化処理の流れ>
 次に、以上のような画像符号化装置100により実行される各処理の流れについて説明する。最初に、図14のフローチャートを参照して、画像符号化処理の流れの例を説明する。
<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 image encoding process is started, in step S101, the color difference phase control unit 101 of the image encoding apparatus 100 performs settings relating to the phase (color difference phase) of the color difference signal for the downsampling process and the upsampling process.
 ステップS102において、ダウンサンプル部102は、ステップS101において設定された色差位相を適用して、画像符号化装置100に入力された、ベースレイヤ画像よりも高解像度のエンハンスメントレイヤ画像をダウンサンプルして、エンハンスメントレイヤ画像よりも低解像度のベースレイヤ画像を生成する。 In step S102, the downsampling unit 102 applies the color difference phase set in step S101, downsamples an enhancement layer image having a higher resolution than the base layer image input to the image encoding device 100, and A base layer image having a resolution lower than that of the enhancement layer image is generated.
 ステップS103において、ベースレイヤ画像符号化部103は、ステップS102の処理により得られたベースレイヤの画像データを符号化する。 In step S103, the base layer image encoding unit 103 encodes the base layer image data obtained by the processing in step S102.
 ステップS104において、アップサンプル部104は、ステップS101において設定された色差位相を適用して、ステップS103において行われたベースレイヤ画像の符号化により得られたベースレイヤ復号画像をアップサンプルして、エンハンスメントレイヤ画像の解像度に相当する解像度のアップサンプル画像を得る。 In step S104, the up-sampling unit 104 applies the color difference phase set in step S101, up-samples the base layer decoded image obtained by encoding the base layer image performed in step S103, and performs enhancement. An upsampled image having a resolution corresponding to the resolution of the layer image is obtained.
 ステップS105において、色差位相制御部101は、ステップS101において設定された色差位相を用いて伝送用の色差位相情報を生成する。 In step S105, the color difference phase control unit 101 generates color difference phase information for transmission using the color difference phase set in step S101.
 ステップS106において、エンハンスメントレイヤ画像符号化部105は、エンハンスメントレイヤの画像データを符号化する。その際、エンハンスメントレイヤ画像符号化部105は、ステップS105において生成された色差位相情報を含むヘッダ情報を符号化ストリームに含める。 In step S106, the enhancement layer image encoding unit 105 encodes the enhancement layer image data. At that time, the enhancement layer image encoding unit 105 includes the header information including the color difference phase information generated in step S105 in the encoded stream.
 ステップS107において、多重化部106は、ステップS103の処理により生成されたベースレイヤ画像符号化ストリームと、ステップS106の処理により生成されたエンハンスメントレイヤ画像符号化ストリームとを(すなわち、各レイヤのビットストリームを)多重化し、1系統の階層画像符号化ストリームを生成する。 In step S107, the multiplexing unit 106 combines the base layer image encoded stream generated by the process of step S103 and the enhancement layer image encoded stream generated by the process of step S106 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
 ステップS107の処理が終了すると、画像符号化装置100は、画像符号化処理を終了する。このような画像符号化処理により1ピクチャが処理される。したがって、画像符号化装置100は、このような画像符号化処理を階層化された動画像データの各ピクチャについて繰り返し実行する。ただし、例えばシーケンスパラメータセットの生成等のように、全てのピクチャに対して処理を行う必要が無く、省略することができる処理は、適宜省略するようにしてもよい。 When the process of step S107 is completed, 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. However, it is not necessary to perform processing for all pictures, such as generation of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  <色差位相設定処理の流れ>
 次に、図14のステップS101において実行される色差位相設定処理の流れの例を、図15のフローチャートを参照して説明する。
<Flow of color difference phase setting processing>
Next, an example of the flow of the color difference phase setting process executed in step S101 of FIG. 14 will be described with reference to the flowchart of FIG.
 色差位相設定処理が開始されると、色差位相制御部101の走査方式判定部121(図11)は、ステップS111において、入力画像(エンハンスメントレイヤ画像)の走査方式(インターレース画像であるか否か)を判定する。 When the color difference phase setting process is started, the scanning method determination unit 121 (FIG. 11) of the color difference phase control unit 101 scans the input image (enhancement layer image) (whether it is an interlaced image) in step S111. Determine.
 ステップS112において、符号化方式設定部122は、各レイヤの画像を符号化する符号化方式(フィールド符号化かフレーム符号化か)を設定する。 In step S112, the encoding method setting unit 122 sets an encoding method (field encoding or frame encoding) for encoding each layer image.
 ステップS113において、色差位相設定部123は、ステップS111の判定結果に従って、入力画像がインターレース画像であるか否かを判定する。インターレース画像であると判定された場合、処理はステップS114に進む。 In step S113, the color difference phase setting unit 123 determines whether or not the input image is an interlaced image according to the determination result in step S111. If it is determined that the image is an interlaced image, the process proceeds to step S114.
 ステップS114において、色差位相設定部123は、ステップS112において設定した符号化方式がフィールド符号化であるか否かを判定する。フィールド符号化であると判定された場合、処理はステップS115に進む。 In step S114, the color difference phase setting unit 123 determines whether or not the encoding scheme set in step S112 is field encoding. If it is determined that the field encoding is performed, the process proceeds to step S115.
 ステップS115において、色差位相設定部123は、各フィールド(トップフィールドおよびボトムフィールド)の色差位相を設定する。すなわち、色差位相設定部123は、1つのシーケンスに対して複数の色差位相を設定する。 In step S115, the color difference phase setting unit 123 sets the color difference phase of each field (top field and bottom field). That is, the color difference phase setting unit 123 sets a plurality of color difference phases for one sequence.
 ステップS116において、ダウンサンプル色差位相制御部124は、各フィールドについて、ステップS115において設定された色差位相を適用するようにダウンサンプリング処理を制御する。また、アップサンプル色差位相制御部125は、各フィールドについて、ステップS115において設定された色差位相を適用するようにアップサンプリング処理を制御する。 In step S116, the downsample color difference phase control unit 124 controls the downsampling process so that the color difference phase set in step S115 is applied to each field. Further, the upsample color difference phase control unit 125 controls the upsampling process so that the color difference phase set in step S115 is applied to each field.
 ステップS116の処理が終了すると、色差位相設定処理が終了し、処理は図14に戻る。 When the process of step S116 is completed, the color difference phase setting process is completed, and the process returns to FIG.
 また、図15のステップS114において、フレーム符号化であると判定された場合、処理はステップS117に進む。 If it is determined in step S114 in FIG. 15 that the frame encoding is performed, the process proceeds to step S117.
 ステップS117において、色差位相設定部123は、フレームの色差位相を設定する。すなわち、色差位相設定部123は、1つのシーケンスに対して単一の色差位相を設定する。 In step S117, the color difference phase setting unit 123 sets the color difference phase of the frame. That is, the color difference phase setting unit 123 sets a single color difference phase for one sequence.
 ステップS118において、ダウンサンプル色差位相制御部124は、ステップS117において設定された色差位相を適用し、フィールド毎にダウンサンプリング処理を行うようにダウンサンプリング処理を制御する。また、アップサンプル色差位相制御部125は、ステップS117において設定された色差位相を適用し、フィールド毎にアップサンプリング処理を行うようにアップサンプリング処理を制御する。 In step S118, the downsample color difference phase control unit 124 applies the color difference phase set in step S117, and controls the downsampling process so as to perform the downsampling process for each field. Further, the upsample color difference phase control unit 125 applies the color difference phase set in step S117, and controls the upsampling process so as to perform the upsampling process for each field.
 ステップS118の処理が終了すると、色差位相設定処理が終了し、処理は図14に戻る。 When the process of step S118 is completed, the color difference phase setting process is completed, and the process returns to FIG.
 また、図15のステップS113において、入力画像がインターレース画像でない(プログレッシブ画像である)と判定された場合、処理はステップS119に進む。 If it is determined in step S113 in FIG. 15 that the input image is not an interlaced image (a progressive image), the process proceeds to step S119.
 ステップS119において、色差位相設定部123は、フレームの色差位相を設定する。すなわち、色差位相設定部123は、1つのシーケンスに対して単一の色差位相を設定する。 In step S119, the color difference phase setting unit 123 sets the color difference phase of the frame. That is, the color difference phase setting unit 123 sets a single color difference phase for one sequence.
 ステップS120において、ダウンサンプル色差位相制御部124は、ステップS119において設定された色差位相を適用し、フレーム毎にダウンサンプリング処理を行うようにダウンサンプリング処理を制御する。また、アップサンプル色差位相制御部125は、ステップS119において設定された色差位相を適用し、フレーム毎にアップサンプリング処理を行うようにアップサンプリング処理を制御する。 In step S120, the downsample color difference phase control unit 124 applies the color difference phase set in step S119, and controls the downsampling process so as to perform the downsampling process for each frame. Further, the upsample color difference phase control unit 125 applies the color difference phase set in step S119 and controls the upsampling process so as to perform the upsampling process for each frame.
 ステップS120の処理が終了すると、色差位相設定処理が終了し、処理は図14に戻る。 When the process of step S120 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  <ベースレイヤ符号化処理の流れ>
 次に、図14のステップS103において実行されるベースレイヤ符号化処理の流れの例を、図16のフローチャートを参照して説明する。
<Flow of base layer encoding process>
Next, an example of the flow of the base layer encoding process executed in step S103 of FIG. 14 will be described with reference to the flowchart of FIG.
 ベースレイヤ符号化処理が開始されると、ベースレイヤ画像符号化部103の画面並べ替えバッファ131は、ステップS131において入力された動画像の各フレーム(ピクチャ)を記憶し、各ピクチャの表示する順番から符号化する順番への並べ替えを行う。 When the base layer encoding process is started, the screen rearrangement buffer 131 of the base layer image encoding unit 103 stores each frame (picture) of the moving image input in step S131, and the display order of each picture To the order of encoding.
 ステップS132において、イントラ予測部143は、イントラ予測モードのイントラ予測処理を行う。 In step S132, the intra prediction unit 143 performs intra prediction processing in the intra prediction mode.
 ステップS133において、インター予測部144は、インター予測モードでの動き予測や動き補償等を行うインター予測処理を行う。 In step S133, the inter prediction unit 144 performs inter prediction processing for performing motion prediction and motion compensation in the inter prediction mode.
 ステップS134において、予測画像選択部145は、コスト関数値等に基づいて、予測画像を選択する。つまり、予測画像選択部145は、ステップS132のイントラ予測により生成された予測画像と、ステップS133のインター予測により生成された予測画像のいずれか一方を選択する。 In step S134, the predicted image selection unit 145 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 145 selects either the predicted image generated by the intra prediction in step S132 or the predicted image generated by the inter prediction in step S133.
 ステップS135において、演算部132は、ステップS131の処理によりフレーム順を並び替えられた入力画像と、ステップS134の処理により選択された予測画像との差分を演算する。つまり、演算部132は、入力画像と予測画像との差分画像の画像データを生成する。このようにして求められた差分画像の画像データは、元の画像データに比べてデータ量が低減される。したがって、画像をそのまま符号化する場合に比べて、データ量を圧縮することができる。 In step S135, the calculation unit 132 calculates the difference between the input image whose frame order is rearranged by the process of step S131 and the predicted image selected by the process of step S134. That is, the calculation unit 132 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.
 ステップS136において、直交変換部133は、ステップS135の処理により生成された差分画像の画像データを直交変換する。 In step S136, the orthogonal transform unit 133 performs orthogonal transform on the image data of the difference image generated by the process in step S135.
 ステップS137において、量子化部134は、レート制御部146により算出された量子化パラメータを用いて、ステップS136の処理により得られた直交変換係数を量子化する。 In step S137, the quantization unit 134 quantizes the orthogonal transform coefficient obtained by the processing in step S136, using the quantization parameter calculated by the rate control unit 146.
 ステップS138において、逆量子化部137は、ステップS137の処理により生成された量子化された係数(量子化係数とも称する)を、量子化部134の特性に対応する特性で逆量子化する。 In step S138, the inverse quantization unit 137 inversely quantizes the quantized coefficient (also referred to as a quantization coefficient) generated by the process in step S137 with characteristics corresponding to the characteristics of the quantization unit 134.
 ステップS139において、逆直交変換部138は、ステップS138の処理により得られた直交変換係数を逆直交変換する。 In step S139, the inverse orthogonal transform unit 138 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S138.
 ステップS140において、演算部139は、ステップS139の処理により復元された差分画像に、ステップS134の処理により選択された予測画像を加算することにより、再構成画像の画像データを生成する。 In step S140, the calculation unit 139 generates image data of the reconstructed image by adding the predicted image selected in the process in step S134 to the difference image restored in the process in step S139.
 ステップS141においてループフィルタ140は、ステップS140の処理により生成された再構成画像の画像データにループフィルタ処理を行う。これにより、再構成画像のブロック歪み等が除去される。 In step S141, the loop filter 140 performs a loop filter process on the image data of the reconstructed image generated by the process of step S140. Thereby, block distortion and the like of the reconstructed image are removed.
 ステップS142において、フレームメモリ141は、ステップS141の処理により得られた復号画像(ベースレイヤ復号画像)やステップS140の処理により得られた再構成画像等のデータを記憶する。 In step S142, the frame memory 141 stores data such as a decoded image (base layer decoded image) obtained by the process of step S141 and a reconstructed image obtained by the process of step S140.
 ステップS143において、可逆符号化部135は、ステップS137の処理により得られた、量子化された係数を符号化する。すなわち、差分画像に対応するデータに対して、可変長符号化や算術符号化等の可逆符号化が行われる。 In step S143, the lossless encoding unit 135 encodes the quantized coefficient obtained by the process in step S137. That is, lossless encoding such as variable length encoding or arithmetic encoding is performed on the data corresponding to the difference image.
 また、このとき、可逆符号化部135は、ステップS134の処理により選択された予測画像の予測モードに関する情報を符号化し、差分画像を符号化して得られる符号化データに付加する。つまり、可逆符号化部135は、イントラ予測部143から供給される最適イントラ予測モード情報、または、インター予測部144から供給される最適インター予測モードに応じた情報なども符号化し、符号化データに付加する。 Also, at this time, the lossless encoding unit 135 encodes information regarding the prediction mode of the prediction image selected by the process of step S134, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 135 also encodes the optimal intra prediction mode information supplied from the intra prediction unit 143 or the information according to the optimal inter prediction mode supplied from the inter prediction unit 144, and the like into encoded data. Append.
 さらに、可逆符号化部135は、各種ナルユニット等のシンタクス要素も設定し、符号化し、符号化データに付加する。 Furthermore, the lossless encoding unit 135 also sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
 ステップS144において蓄積バッファ136は、ステップS143の処理により得られた符号化データ(ベースレイヤ画像符号化ストリーム)を蓄積する。蓄積バッファ136に蓄積されたベースレイヤ画像符号化ストリームは、適宜読み出され、多重化部106(図10)に供給されてエンハンスメントレイヤ画像符号化ストリームと多重化された後、伝送路や記録媒体を介して復号側に伝送される。 In step S144, the accumulation buffer 136 accumulates the encoded data (base layer image encoded stream) obtained by the process in step S143. The base layer image encoded stream stored in the storage buffer 136 is appropriately read out, supplied to the multiplexing unit 106 (FIG. 10), multiplexed with the enhancement layer image encoded stream, and then transmitted to a transmission path or recording medium. Is transmitted to the decoding side.
 ステップS145においてレート制御部146は、ステップS144の処理により蓄積バッファ136に蓄積された符号化データの符号量(発生符号量)に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部134の量子化動作のレートを制御する。また、レート制御部146は、量子化パラメータに関する情報を、量子化部134に供給する。 In step S145, the rate control unit 146 causes the quantization unit 134 to prevent overflow or underflow from occurring based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 136 by the processing in step S144. Controls the rate of quantization operation. Further, the rate control unit 146 supplies information regarding the quantization parameter to the quantization unit 134.
 ステップS146において、フレームメモリ141は、記憶しているベースレイヤ復号画像を、アップサンプル部104に供給する。 In step S146, the frame memory 141 supplies the stored base layer decoded image to the upsampling unit 104.
 ステップS146の処理が終了すると、ベースレイヤ符号化処理が終了し、処理は図14に戻る。 When the process of step S146 is completed, the base layer encoding process is completed, and the process returns to FIG.
  <色差位相情報生成処理の流れ>
 次に、図14のステップS105において実行される色差位相情報生成処理の流れの例を、図17のフローチャートを参照して説明する。
<Flow of color difference phase information generation processing>
Next, an example of the flow of color difference phase information generation processing executed in step S105 of FIG. 14 will be described with reference to the flowchart of FIG.
 色差位相情報生成処理が開始されると、色差位相制御部101の色差位相情報生成部126(図11)は、ステップS151において、色差位相設定処理(図15)の処理結果に従って、入力画像がインターレース画像であるか否かを判定する。インターレース画像であると判定された場合、処理はステップS152に進む。 When the color difference phase information generation processing is started, the color difference phase information generation unit 126 (FIG. 11) of the color difference phase control unit 101 interlaces the input image according to the processing result of the color difference phase setting processing (FIG. 15) in step S151. It is determined whether it is an image. If it is determined that the image is an interlaced image, the process proceeds to step S152.
 ステップS152において、色差位相情報生成部126は、色差位相設定処理(図15)の処理結果に従って、符号化方式がフィールド符号化であるか否かを判定する。フィールド符号化であると判定された場合、処理はステップS153に進む。 In step S152, the color difference phase information generation unit 126 determines whether or not the encoding method is field encoding according to the processing result of the color difference phase setting process (FIG. 15). If it is determined that the field encoding is performed, the process proceeds to step S153.
 ステップS153において、色差位相情報生成部126は、ステップS115(図15)において設定された各フィールド(トップフィールドおよびボトムフィールド)の色差位相を用いて、各フィールド(トップフィールドおよびボトムフィールド)の色差位相情報を生成する(例えば、図9のシンタクス)。つまり、色差位相情報生成部126は、1つのシーケンスに対して複数の色差位相情報を生成する。このとき、図9の例のように、色差位相情報生成部126が、色差位相情報の数を示す情報も生成することもできる。 In step S153, the chrominance phase information generation unit 126 uses the chrominance phase of each field (top field and bottom field) set in step S115 (FIG. 15), and the chrominance phase of each field (top field and bottom field). Information is generated (for example, the syntax of FIG. 9). That is, the color difference phase information generation unit 126 generates a plurality of color difference phase information for one sequence. At this time, as in the example of FIG. 9, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
 ステップS154において、エンハンスメントレイヤヘッダ情報生成部127は、例えばシーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等の、ステップS153において生成された各フィールド(トップフィールドおよびボトムフィールド)の色差位相情報を含む(色差位相情報の数を示す情報が生成された場合は、その色差位相情報の数を示す情報も含む)、エンハンスメントレイヤのヘッダ情報を生成する。 In step S154, the enhancement layer header information generation unit 127 displays the color difference phase information of each field (top field and bottom field) generated in step S153, such as a sequence parameter set (SPS) and a picture parameter set (PPS). Including (when information indicating the number of color-difference phase information is generated, information indicating the number of color-difference phase information is also included) to generate enhancement layer header information.
 ステップS154の処理が終了すると、処理はステップS158に進む。 When the process of step S154 is completed, the process proceeds to step S158.
 また、ステップS152において、符号化方式がフレーム符号化であると判定された場合、処理はステップS155に進む。 If it is determined in step S152 that the encoding method is frame encoding, the process proceeds to step S155.
 ステップS155において、色差位相情報生成部126は、アップサンプリング処理をフィールドベースで行うように制御する制御情報(サンプリング情報)を生成する。例えば、色差位相情報生成部126は、このサンプリング情報として、図9のAの例に示されるようなfield_base_upsampling_flagを生成する。 In step S155, the color difference phase information generation unit 126 generates control information (sampling information) for performing control so that the upsampling process is performed on a field basis. For example, the color difference phase information generation unit 126 generates field_base_upsampling_flag as shown in the example of FIG. 9A as the sampling information.
 ステップS156において、色差位相情報生成部126は、ステップS117(図15)において設定されたフレームピクチャの色差位相を用いて、フレームピクチャの色差位相情報を生成する(例えば、図9のシンタクス)。つまり、色差位相情報生成部126は、1つのシーケンスに対して1つの色差位相情報を生成する。このとき、図9の例のように、色差位相情報生成部126が、色差位相情報の数を示す情報も生成することもできる。 In step S156, the color difference phase information generation unit 126 generates the color difference phase information of the frame picture using the color difference phase of the frame picture set in step S117 (FIG. 15) (for example, the syntax of FIG. 9). That is, the color difference phase information generation unit 126 generates one color difference phase information for one sequence. At this time, as in the example of FIG. 9, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
 ステップS157において、エンハンスメントレイヤヘッダ情報生成部127は、例えばシーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等の、ステップS156において生成されたフレームピクチャの色差位相情報を含む(色差位相情報の数を示す情報が生成された場合は、その色差位相情報の数を示す情報も含む)、エンハンスメントレイヤのヘッダ情報を生成する。 In step S157, the enhancement layer header information generation unit 127 includes the color difference phase information of the frame picture generated in step S156, such as a sequence parameter set (SPS) or a picture parameter set (PPS) (number of color difference phase information). If the information indicating the color difference phase information is also included), enhancement layer header information is generated.
 ステップS157の処理が終了すると、処理はステップS158に進む。 When the process of step S157 is completed, the process proceeds to step S158.
 また、ステップS151において、入力画像がインターレース画像でない(プログレッシブ画像である)と判定された場合、処理はステップS156に進む。すなわち、そのステップS156において、色差位相情報生成部126は、ステップS117(図15)において設定されたフレームピクチャの色差位相を用いて、フレームピクチャの色差位相情報を生成する。この場合も、色差位相情報生成部126が、色差位相情報の数を示す情報も生成することもできる。 If it is determined in step S151 that the input image is not an interlaced image (a progressive image), the process proceeds to step S156. That is, in step S156, the chrominance phase information generation unit 126 generates chrominance phase information of the frame picture using the chrominance phase of the frame picture set in step S117 (FIG. 15). Also in this case, the color difference phase information generation unit 126 can also generate information indicating the number of color difference phase information.
 ステップS157において、エンハンスメントレイヤヘッダ情報生成部127は、ステップS156において生成されたフレームピクチャの色差位相情報を含む(色差位相情報の数を示す情報が生成された場合は、その色差位相情報の数を示す情報も含む)、エンハンスメントレイヤのヘッダ情報を生成する。 In step S157, the enhancement layer header information generation unit 127 includes the color difference phase information of the frame picture generated in step S156 (when information indicating the number of color difference phase information is generated, the number of the color difference phase information is displayed. Header information of the enhancement layer is generated.
 ステップS158において、エンハンスメントレイヤヘッダ情報生成部127は、ステップS154若しくはステップS157において生成されたヘッダ情報をエンハンスメントレイヤ画像の符号化処理に供給し、伝送させる。 In step S158, the enhancement layer header information generation unit 127 supplies the header information generated in step S154 or step S157 to the encoding process of the enhancement layer image, and transmits it.
 ステップS158の処理が終了すると、色差位相情報生成処理が終了し、処理は図14に戻る。 When the process of step S158 is completed, the color difference phase information generation process is completed, and the process returns to FIG.
  <エンハンスメントレイヤ符号化処理の流れ>
 次に、図14のステップS106において実行されるエンハンスメントレイヤ符号化処理の流れの例を、図18のフローチャートを参照して説明する。
<Enhancement layer coding process flow>
Next, an example of the flow of enhancement layer encoding processing executed in step S106 of FIG. 14 will be described with reference to the flowchart of FIG.
 エンハンスメントレイヤ符号化処理が開始されると、エンハンスメントレイヤ画像符号化部105のフレームメモリ161は、ステップS161において、図14のステップS146においてベースレイヤ画像符号化部103から供給されたベースレイヤ復号画像が、図14のステップS104においてアップサンプルされたアップサンプル画像を取得する。 When the enhancement layer encoding process is started, the frame memory 161 of the enhancement layer image encoding unit 105 receives the base layer decoded image supplied from the base layer image encoding unit 103 in step S146 of FIG. 14 in step S161. The upsampled image upsampled in step S104 of FIG. 14 is acquired.
 ステップS162において、フレームメモリ161は、ステップS161において取得したアップサンプル画像を記憶する。例えば、フレームメモリ161は、このアップサンプル画像をロングターム参照フレームに格納する。 In step S162, the frame memory 161 stores the upsampled image acquired in step S161. For example, the frame memory 161 stores this upsampled image in the long term reference frame.
 ステップS163乃至ステップS174の各処理は、図16のステップS131乃至ステップS142の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図16の各処理がベースレイヤに対して行われたのに対し、図18の各処理は、エンハンスメントレイヤに対して行われる。 The processes in steps S163 to S174 correspond to the processes in steps S131 to S142 in FIG. 16 and are executed basically in the same manner as those processes. However, each process in FIG. 16 is performed on the base layer, whereas each process in FIG. 18 is performed on the enhancement layer.
 ステップS175において、可逆符号化部155は、図17のステップS158において供給される、色差位相情報を含むヘッダ情報を取得する。 In step S175, the lossless encoding unit 155 acquires header information including color difference phase information supplied in step S158 of FIG.
 ステップS176乃至ステップS178の各処理は、図16のステップS143乃至ステップS145の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図16の各処理がベースレイヤに対して行われたのに対し、図18の各処理は、エンハンスメントレイヤに対して行われる。また、ステップS176において、可逆符号化部155は、ステップS175において取得されたヘッダ情報も符号化ストリームに含める。つまり、ステップS175において取得されたヘッダ情報も復号側に伝送される。 Each process of step S176 to step S178 corresponds to each process of step S143 to step S145 of FIG. 16, and is executed basically in the same manner as those processes. However, each process in FIG. 16 is performed on the base layer, whereas each process in FIG. 18 is performed on the enhancement layer. In step S176, the lossless encoding unit 155 also includes the header information acquired in step S175 in the encoded stream. That is, the header information acquired in step S175 is also transmitted to the decoding side.
 ステップS178の処理が終了すると、エンハンスメントレイヤ符号化処理が終了し、処理は図14に戻る。 When the process of step S178 is finished, the enhancement layer encoding process is finished, and the process returns to FIG.
 以上のように各処理が実行されることにより、画像符号化装置100は、符号化・復号による画質の低減を抑制することができる。 By executing each process as described above, the image encoding device 100 can suppress a reduction in image quality due to encoding / decoding.
 <3.第3の実施の形態>
  <画像復号装置>
 次に、以上のように符号化された符号化データの復号について説明する。図19は、本技術を適用した画像処理装置の一態様である、図10の画像符号化装置100に対応する画像復号装置の主な構成例を示すブロック図である。図19に示される画像復号装置200は、画像符号化装置100が生成した符号化データを、その符号化方法に対応する復号方法で復号する(すなわち、階層符号化された符号化データを階層復号する)。図19に示されるように、画像復号装置200は、逆多重化部201、色差位相制御部202、ベースレイヤ画像復号部203、アップサンプル部204、およびエンハンスメントレイヤ画像復号部205を有する。
<3. Third Embodiment>
<Image decoding device>
Next, decoding of the encoded data encoded as described above will be described. FIG. 19 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 100 in FIG. 10, which is an aspect of an image processing apparatus to which the present technology is applied. The image decoding apparatus 200 shown in FIG. 19 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. 19, the image decoding apparatus 200 includes a demultiplexing unit 201, a color difference phase control unit 202, a base layer image decoding unit 203, an upsampling unit 204, and an enhancement layer image decoding unit 205.
 逆多重化部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.
 色差位相制御部202は、アップサンプル部204による色差信号のアップサンプル処理における位相設定とを制御する。色差位相制御部202は、エンハンスメントレイヤ画像復号部205から供給される、エンハンスメントレイヤ画像符号化ストリームのシーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等のヘッダ情報を取得する。色差位相制御部202は、そのヘッダ情報に含まれる色差位相情報に基づいて、アップサンプル部204によるアップサンプル処理の色差信号の位相設定を行う。色差位相制御部202は、その色差信号の位相の設定を示す制御情報である色差位相制御情報をアップサンプル部204に供給する。 The color difference phase control unit 202 controls the phase setting in the upsampling processing of the color difference signal by the upsampling unit 204. The color difference phase control unit 202 obtains header information such as a sequence parameter set (SPS) and a picture parameter set (PPS) of the enhancement layer image encoded stream supplied from the enhancement layer image decoding unit 205. The color difference phase control unit 202 sets the phase of the color difference signal of the upsampling process by the upsampling unit 204 based on the color difference phase information included in the header information. The color difference phase control unit 202 supplies color difference phase control information, which is control information indicating the setting of the phase of the color difference signal, to the upsampling unit 204.
 ベースレイヤ画像復号部203は、逆多重化部201により抽出されたベースレイヤ画像符号化ストリームを復号し、ベースレイヤ画像(復号画像)を得る。ベースレイヤ画像復号部203は、得られたベースレイヤ画像を画像復号装置200の外部に出力する。また、ベースレイヤ画像復号部203は、ベースレイヤの復号において得られたベースレイヤ復号画像を、アップサンプル部204に供給する。 The base layer image decoding unit 203 decodes the base layer image encoded stream extracted by the demultiplexing unit 201 to obtain a base layer image (decoded image). The base layer image decoding unit 203 outputs the obtained base layer image to the outside of the image decoding device 200. Also, the base layer image decoding unit 203 supplies the base layer decoded image obtained in the decoding of the base layer to the upsampling unit 204.
 アップサンプル部204は、ベースレイヤ画像復号部203から供給される低解像度のベースレイヤ復号画像をアップサンプル処理し、エンハンスメントレイヤ画像と同じ解像度のアップサンプル画像を生成する。アップサンプル部204は、色差位相制御部202から供給される色差位相制御情報が示す色差信号の位相の設定を適用して、すなわち、色差位相制御部202の制御に従って、色差信号のアップサンプル処理を行う。このようにすることにより、アップサンプル画像の色差信号の位相を、ベースレイヤ復号画像の色差信号と同様にすることができる(すなわち、エンハンスメントレイヤ画像の色差信号とも同様にすることができる)。つまり、より正確なアップサンプル画像を得ることができる。したがって、位相ずれ等の発生を抑制し、符号化による画質の低減を抑制することができる。 The upsampling unit 204 upsamples the low resolution base layer decoded image supplied from the base layer image decoding unit 203, and generates an upsampled image having the same resolution as the enhancement layer image. The upsampling unit 204 applies the setting of the phase of the color difference signal indicated by the color difference phase control information supplied from the color difference phase control unit 202, that is, performs upsampling processing of the color difference signal according to the control of the color difference phase control unit 202. Do. By doing so, the phase of the color difference signal of the upsampled image can be made the same as that of the base layer decoded image (that is, the phase difference signal of the enhancement layer image can be made the same). That is, a more accurate upsampled image can be obtained. Therefore, it is possible to suppress the occurrence of a phase shift or the like and suppress the reduction in image quality due to encoding.
 アップサンプル部204は、生成したアップサンプル画像をエンハンスメントレイヤ画像復号部205に供給する。 The upsampling unit 204 supplies the generated upsampled image to the enhancement layer image decoding unit 205.
 エンハンスメントレイヤ画像復号部205は、逆多重化部201により抽出されたエンハンスメントレイヤ画像符号化ストリームを復号し、ベースレイヤ画像よりも高解像度のエンハンスメントレイヤ画像(復号画像)を得る。エンハンスメントレイヤ画像復号部205は、得られたエンハンスメントレイヤ画像を画像復号装置200の外部に出力する。 The enhancement layer image decoding unit 205 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 201, and obtains an enhancement layer image (decoded image) having a resolution higher than that of the base layer image. The enhancement layer image decoding unit 205 outputs the obtained enhancement layer image to the outside of the image decoding device 200.
 また、エンハンスメントレイヤ画像復号部205は、逆多重化部201により抽出されたエンハンスメントレイヤ画像符号化ストリームからヘッダ情報を抽出し、それを色差位相制御部202に供給する。 Also, the enhancement layer image decoding unit 205 extracts header information from the enhancement layer image encoded stream extracted by the demultiplexing unit 201 and supplies it to the color difference phase control unit 202.
  <色差位相制御部>
 図20は、図19の色差位相制御部202の主な構成例を示すブロック図である。図20に示されるように、色差位相制御部202は、色差位相情報数判定部221、サンプリング方式判定部222、およびアップサンプル色差位相制御部223を有する。
<Color difference phase control unit>
FIG. 20 is a block diagram illustrating a main configuration example of the color difference phase control unit 202 of FIG. As illustrated in FIG. 20, the color difference phase control unit 202 includes a color difference phase information number determination unit 221, a sampling method determination unit 222, and an upsample color difference phase control unit 223.
 色差位相情報数判定部221は、エンハンスメントレイヤ画像復号部205から供給されるヘッダ情報に含まれる色差位相情報の数を示す情報(図9のAの例の場合、num_phase_offset)に基づいて、処理対象であるカレントシーケンスに設定された色差位相情報が単数であるか複数であるかを判定する。 The chrominance phase information number determination unit 221 performs processing based on information indicating the number of chrominance phase information included in the header information supplied from the enhancement layer image decoding unit 205 (num_phase_offset in the case of FIG. 9A). It is determined whether the color difference phase information set in the current sequence is singular or plural.
 複数と判定された場合、色差位相情報数判定部221は、色差位相情報を含むヘッダ情報と、色差位相情報が複数存在することを示す制御情報とをアップサンプル色差位相制御部223に供給する。また、単数と判定された場合、色差位相情報数判定部221は、その色差位相情報を含むヘッダ情報と、色差位相情報が単数であることを示す制御情報とをサンプリング方式判定部222に供給する。 When it is determined that there are a plurality of pieces, the color difference phase information number determination unit 221 supplies header information including the color difference phase information and control information indicating that a plurality of pieces of color difference phase information exist to the upsample color difference phase control unit 223. If it is determined that the color difference phase information is singular, the color difference phase information number determination unit 221 supplies header information including the color difference phase information and control information indicating that the color difference phase information is singular to the sampling method determination unit 222. .
 サンプリング方式判定部222は、色差位相情報数判定部221から供給されるヘッダ情報に含まれるアップサンプリングをフィールドベースで行うように制御する制御情報(図9のAの例の場合、field_base_upsampling_flag)に基づいて、アップサンプル処理のサンプリング方式(フィールドベースで行うか、フレームベースで行うか)を判定する。 The sampling method determination unit 222 is based on control information (field_base_upsampling_flag in the case of the example of FIG. 9A) that controls the upsampling included in the header information supplied from the color difference phase information number determination unit 221 to be performed on a field basis. Thus, the sampling method of up-sampling processing (whether it is performed on a field basis or a frame basis) is determined.
 サンプリング方式判定部222は、色差位相情報を含むヘッダ情報と、色差位相情報が単数であることを示す制御情報と、アップサンプル処理のサンプリング方式(フィールドベースで行うか、フレームベースで行うか)を指定する制御情報とをアップサンプル色差位相制御部223に供給する。 The sampling method determination unit 222 includes header information including chrominance phase information, control information indicating that the chrominance phase information is singular, and upsampling sampling method (whether performed on a field basis or a frame basis). The designated control information is supplied to the upsampled color difference phase control unit 223.
 アップサンプル色差位相制御部223は、色差位相情報数判定部221若しくはサンプリング方式判定部222から供給されるヘッダ情報や制御情報を用いて、アップサンプル部204のアップサンプル処理の色差信号の位相設定を制御する色差位相制御情報を生成し、それをアップサンプル部204に供給する。つまり、アップサンプル色差位相制御部223は、アップサンプル部204による色差信号のアップサンプル処理の位相設定を制御する。 The upsample chrominance phase control unit 223 uses the header information and control information supplied from the chrominance phase information number determination unit 221 or the sampling method determination unit 222 to set the phase setting of the chrominance signal in the upsampling process of the upsampling unit 204. Color difference phase control information to be controlled is generated and supplied to the up-sampling unit 204. That is, the upsample color difference phase control unit 223 controls the phase setting of the upsample processing of the color difference signal by the upsample unit 204.
 例えば、色差位相情報が複数存在する場合、つまり、符号化された画像データの画像がインターレース画像であり、その画像データがフィールド符号化されている場合(換言するに、ベースレイヤ画像復号部203やエンハンスメントレイヤ画像復号部205が、インターレース画像の画像データがフィールド符号化された符号化データをフィールドベースで復号(フィールド復号)する場合)、アップサンプル色差位相制御部223は、トップフィールドの色差信号のアップサンプル処理において、単一のシーケンスに対して複数設定された色差位相情報の内、トップフィールド用の設定を適用するように制御し、ボトムフィールドの色差信号のアップサンプル処理において、ボトムフィールド用の設定を適用するように制御する。 For example, when there are a plurality of color difference phase information, that is, when the image of the encoded image data is an interlaced image and the image data is field-encoded (in other words, the base layer image decoding unit 203 or The enhancement layer image decoding unit 205 performs field-based decoding (field decoding) of the encoded data obtained by field-coding the image data of the interlaced image), and the upsample chrominance phase control unit 223 includes the top-field chrominance signal. In the up-sampling process, control is performed so that the setting for the top field is applied among the color difference phase information set for a single sequence. In the up-sampling process of the color difference signal in the bottom field, Control to apply settings.
 また、例えば、色差位相情報が単数であり、かつ、サンプリング方式を指定する制御情報によりアップサンプル処理をフィールドベースで行うように指定されている場合、つまり、符号化された画像データの画像がインターレース画像であり、その画像データがフレーム符号化されている場合(換言するに、ベースレイヤ画像復号部203やエンハンスメントレイヤ画像復号部205が、インターレース画像の画像データがフレーム符号化された符号化データをフレームベースで復号(フレーム復号)する場合)、アップサンプル色差位相制御部223は、フレームの色差信号のアップサンプル処理において、単一のシーケンスに対して設定された単一の色差位相情報、すなわち、フレームピクチャ用の設定を適用するように、アップサンプル部204を制御する。 In addition, for example, when the color difference phase information is singular and the up-sampling process is specified to be performed on a field basis by the control information specifying the sampling method, that is, the image of the encoded image data is interlaced. If the image data is frame-encoded (in other words, the base layer image decoding unit 203 or the enhancement layer image decoding unit 205 converts the encoded data obtained by frame-coding the interlaced image data) In the case of frame-based decoding (frame decoding), the upsample chrominance phase control unit 223 performs single chrominance phase information set for a single sequence in the upsampling processing of the chrominance signal of a frame, that is, Upsampling to apply settings for frame picture Controlling the pole tip 204.
 また、この場合、アップサンプル色差位相制御部223は、アップサンプル処理をフィールドベースで行うように、アップサンプル部204を制御する。 In this case, the upsample color difference phase control unit 223 controls the upsample unit 204 to perform the upsample process on a field basis.
 さらに、例えば、色差位相情報が単数であり、かつ、サンプリング方式を指定する制御情報によりアップサンプル処理をフレームベースで行うように指定されている場合、つまり、符号化された画像データの画像がインターレース画像でない(プログレッシブ画像である)場合(換言するに、ベースレイヤ画像復号部203やエンハンスメントレイヤ画像復号部205が、プログレッシブ画像の画像データがフレーム符号化された符号化データをフレーム復号する場合)、アップサンプル色差位相制御部223は、フレームの色差信号のアップサンプル処理において、単一のシーケンスに対して設定された単一の色差位相情報、すなわち、フレームピクチャ用の設定を適用するように、アップサンプル部204を制御する。 Further, for example, when the chrominance phase information is singular and the up-sampling process is specified to be performed on a frame basis by the control information specifying the sampling method, that is, the image of the encoded image data is interlaced. When the image is not an image (a progressive image) (in other words, when the base layer image decoding unit 203 or the enhancement layer image decoding unit 205 performs frame decoding on encoded data obtained by frame-coding progressive image data) The upsample chrominance phase control unit 223 performs upsampling so as to apply a single chrominance phase information set for a single sequence, that is, a setting for a frame picture, in an upsampling process of a frame chrominance signal. The sample unit 204 is controlled.
 また、この場合、アップサンプル色差位相制御部223は、アップサンプル処理をフレームベースで行うように、アップサンプル部204を制御する。 In this case, the upsample color difference phase control unit 223 controls the upsample unit 204 so that the upsample processing is performed on a frame basis.
 以上のように制御することにより、アップサンプル色差位相制御部223は、位相ずれ等の発生を抑制し、より正確なアップサンプル画像が得られるように、アップサンプル処理を制御することができる。 By controlling as described above, the upsample color-difference phase control unit 223 can control the upsample processing so as to suppress the occurrence of phase shift and the like and obtain a more accurate upsample image.
  <ベースレイヤ画像復号部>
 図21は、図19のベースレイヤ画像復号部203の主な構成例を示すブロック図である。図21に示されるようにベースレイヤ画像復号部203は、蓄積バッファ231、可逆復号部232、逆量子化部233、逆直交変換部234、演算部235、ループフィルタ236、および画面並べ替えバッファ237を有する。また、ベースレイヤ画像復号部203は、フレームメモリ238、選択部239、イントラ予測部240、インター予測部241、および予測画像選択部242を有する。
<Base layer image decoding unit>
FIG. 21 is a block diagram illustrating a main configuration example of the base layer image decoding unit 203 in FIG. As shown in FIG. 21, the base layer image decoding unit 203 includes a storage buffer 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 buffer 237. Have The base layer image decoding unit 203 includes a frame memory 238, a selection unit 239, an intra prediction unit 240, an inter prediction unit 241, and a predicted image selection unit 242.
 蓄積バッファ231は、伝送されてきた符号化データ(逆多重化部201から供給されるベースレイヤ画像符号化ストリーム)を受け取る受け取り部でもある。蓄積バッファ231は、伝送されてきた符号化データを受け取って、蓄積し、所定のタイミングにおいてその符号化データを可逆復号部232に供給する。この符号化データには、予測モード情報などの復号に必要な情報が付加されている。 The accumulation buffer 231 is also a receiving unit that receives transmitted encoded data (a base layer image encoded stream supplied from the demultiplexing unit 201). The accumulation buffer 231 receives and accumulates the transmitted encoded data, and supplies the encoded data to the lossless decoding unit 232 at a predetermined timing. Information necessary for decoding such as prediction mode information is added to the encoded data.
 可逆復号部232は、蓄積バッファ231より供給された、可逆符号化部135により符号化された情報を、その符号化方式に対応する復号方式で復号する。可逆復号部232は、復号して得られた差分画像の量子化された係数データを、逆量子化部233に供給する。 The lossless decoding unit 232 decodes the information supplied from the accumulation buffer 231 and encoded by the lossless encoding unit 135 using a decoding method corresponding to the encoding method. The lossless decoding unit 232 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 233.
 また、可逆復号部232は、最適な予測モードにイントラ予測モードが選択されたかインター予測モードが選択されたかを判定し、その最適な予測モードに関する情報を、イントラ予測部240およびインター予測部241の内、選択されたと判定したモードの方に供給する。つまり、例えば、符号化側において最適な予測モードとしてイントラ予測モードが選択された場合、その最適な予測モードに関する情報(イントラ予測モード情報)がイントラ予測部240に供給される。また、例えば、符号化側において最適な予測モードとしてインター予測モードが選択された場合、その最適な予測モードに関する情報(インター予測モード情報)がインター予測部241に供給される。 In addition, the lossless decoding unit 232 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 240 and the inter prediction unit 241. 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 (intra prediction mode information) regarding the optimal prediction mode is supplied to the intra prediction unit 240. For example, when the inter prediction mode is selected as the optimal prediction mode on the encoding side, information (inter prediction mode information) regarding the optimal prediction mode is supplied to the inter prediction unit 241.
 さらに、可逆復号部232は、例えば、量子化行列や量子化パラメータ等の、逆量子化に必要な情報を、符号化データから抽出し、逆量子化部233に供給する。 Further, the lossless decoding unit 232 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the encoded data, and supplies the extracted information to the inverse quantization unit 233.
 逆量子化部233は、可逆復号部232により復号されて得られた量子化された係数データを、量子化部134の量子化方式に対応する方式で逆量子化する。なお、この逆量子化部233は、逆量子化部137と同様の処理部である。逆量子化部233は、得られた係数データ(直交変換係数)を逆直交変換部234に供給する。 The inverse quantization unit 233 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 232 using a method corresponding to the quantization method of the quantization unit 134. The inverse quantization unit 233 is a processing unit similar to the inverse quantization unit 137. The inverse quantization unit 233 supplies the obtained coefficient data (orthogonal transform coefficient) to the inverse orthogonal transform unit 234.
 逆直交変換部234は、逆量子化部233から供給される直交変換係数を、必要に応じて、直交変換部133の直交変換方式に対応する方式で逆直交変換する。なお、この逆直交変換部234は、逆直交変換部138と同様の処理部である。 The inverse orthogonal transform unit 234 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 233 according to a method corresponding to the orthogonal transform method of the orthogonal transform unit 133 as necessary. The inverse orthogonal transform unit 234 is a processing unit similar to the inverse orthogonal transform unit 138.
 この逆直交変換処理により差分画像の画像データが復元される。この復元された差分画像の画像データは、符号化側において直交変換される前の差分画像の画像データに対応する。以下においては、この逆直交変換部234の逆直交変換処理により得られた、復元された差分画像の画像データを、復号残差データとも称する。逆直交変換部234は、この復号残差データを、演算部235に供給する。また、演算部235には、予測画像選択部242を介して、イントラ予測部240若しくはインター予測部241から予測画像の画像データが供給される。 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 on the encoding side. Hereinafter, the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 234 is also referred to as decoded residual data. The inverse orthogonal transform unit 234 supplies the decoded residual data to the calculation unit 235. Further, the image data of the prediction image is supplied to the calculation unit 235 from the intra prediction unit 240 or the inter prediction unit 241 via the prediction image selection unit 242.
 演算部235は、この復号残差データと予測画像の画像データとを用いて、差分画像と予測画像とを加算した再構成画像の画像データを得る。この再構成画像は、演算部132により予測画像が減算される前の入力画像に対応する。演算部235は、その再構成画像をループフィルタ236に供給する。 The calculation unit 235 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 132. The computing unit 235 supplies the reconstructed image to the loop filter 236.
 ループフィルタ236は、供給された再構成画像に対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜施して復号画像を生成する。例えば、ループフィルタ236は、再構成画像に対してデブロックフィルタ処理を行うことにより、ブロック歪を除去する。また、例えば、ループフィルタ236は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。 The loop filter 236 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 236 removes block distortion by performing deblocking filter processing on the reconstructed image. Further, for example, the loop filter 236 performs image quality improvement by performing loop filter processing on the deblock filter processing result (reconstructed image from which block distortion has been removed) using a Wiener filter (Wiener Filter). I do.
 なお、ループフィルタ236が行うフィルタ処理の種類は任意であり、上述した以外のフィルタ処理を行ってもよい。また、ループフィルタ236が、画像符号化装置から供給されたフィルタ係数を用いてフィルタ処理を行うようにしてもよい。さらに、ループフィルタ236が、このようなフィルタ処理を省略し、入力されたデータをフィルタ処理せずに出力することもできる。 Note that the type of filter processing performed by the loop filter 236 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 236 may perform filter processing using the filter coefficient supplied from the image encoding device. Further, the loop filter 236 can omit such filter processing and output the input data without performing the filter processing.
 ループフィルタ236は、フィルタ処理結果である復号画像(若しくは再構成画像)を画面並べ替えバッファ237およびフレームメモリ238に供給する。 The loop filter 236 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 237 and the frame memory 238.
 画面並べ替えバッファ237は、復号画像についてフレームの順番の並べ替えを行う。すなわち、画面並べ替えバッファ237は、画面並べ替えバッファ131により符号化順に並べ替えられた各フレームの画像を、元の表示順に並べ替える。つまり、画面並べ替えバッファ237は、符号化順に供給される各フレームの復号画像の画像データを、その順に記憶し、符号化順に記憶した各フレームの復号画像の画像データを、表示順に読み出して出力する。 The screen rearrangement buffer 237 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 237 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 131 in the original display order. That is, the screen rearrangement buffer 237 stores the image data of the decoded image of each frame supplied in the encoding order, and reads out and outputs the image data of the decoded image of each frame stored in the encoding order in the display order. To do.
 フレームメモリ238は、供給される復号画像を記憶し、所定のタイミングにおいて、若しくは、イントラ予測部240やインター予測部241等の外部の要求に基づいて、記憶している復号画像を参照画像として、選択部239を介してイントラ予測部240やインター予測部241に供給する。 The frame memory 238 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 240 or the inter prediction unit 241. The data is supplied to the intra prediction unit 240 and the inter prediction unit 241 via the selection unit 239.
 イントラ予測部240には、イントラ予測モード情報等が可逆復号部232から適宜供給される。イントラ予測部240は、イントラ予測部143において用いられたイントラ予測モード(最適イントラ予測モード)でイントラ予測を行い、予測画像を生成する。その際、イントラ予測部240は、選択部239を介してフレームメモリ238から供給される再構成画像の画像データを用いてイントラ予測を行う。すなわち、イントラ予測部240は、この再構成画像を参照画像(周辺画素)として利用する。イントラ予測部240は、生成した予測画像を予測画像選択部242に供給する。 Intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 232 to the intra prediction unit 240. The intra prediction unit 240 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 143, and generates a predicted image. At that time, the intra prediction unit 240 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 238 via the selection unit 239. That is, the intra prediction unit 240 uses this reconstructed image as a reference image (neighboring pixels). The intra prediction unit 240 supplies the generated predicted image to the predicted image selection unit 242.
 インター予測部241には、最適予測モード情報や動き情報等が可逆復号部232から適宜供給される。インター予測部241は、可逆復号部232から取得された最適予測モード情報が示すインター予測モード(最適インター予測モード)で、フレームメモリ238から取得した復号画像(参照画像)を用いてインター予測を行い、予測画像を生成する。 The inter prediction unit 241 is appropriately supplied with optimal prediction mode information, motion information, and the like from the lossless decoding unit 232. The inter prediction unit 241 performs inter prediction using the decoded image (reference image) acquired from the frame memory 238 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 232. Generate a predicted image.
 予測画像選択部242は、イントラ予測部240から供給される予測画像またはインター予測部241から供給される予測画像を、演算部235に供給する。そして、演算部235においては、その予測画像と逆直交変換部234からの復号残差データ(差分画像情報)とが加算されて再構成画像が得られる。 The prediction image selection unit 242 supplies the prediction image supplied from the intra prediction unit 240 or the prediction image supplied from the inter prediction unit 241 to the calculation unit 235. And in the calculating part 235, the prediction image and the decoding residual data (difference image information) from the inverse orthogonal transformation part 234 are added, and a reconstructed image is obtained.
 なお、ベースレイヤ画像復号部203は、他のレイヤを参照せずに復号を行う。つまり、イントラ予測部240およびインター予測部241は、他のレイヤの復号画像を参照画像として利用しない。 The base layer image decoding unit 203 performs decoding without referring to other layers. That is, the intra prediction unit 240 and the inter prediction unit 241 do not use decoded images of other layers as reference images.
 また、フレームメモリ238は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤの復号に利用させるために、アップサンプル部204に供給する。 Also, the frame memory 238 supplies the stored base layer decoded image to the upsampling unit 204 in order to use the decoded base layer image for enhancement layer decoding.
  <エンハンスメントレイヤ画像復号部>
 図22は、図19のエンハンスメントレイヤ画像復号部205の主な構成例を示すブロック図である。図22に示されるように、エンハンスメントレイヤ画像復号部205は、図21のベースレイヤ画像復号部203と基本的に同様の構成を有する。
<Enhancement layer image decoding unit>
FIG. 22 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 205 of FIG. As shown in FIG. 22, the enhancement layer image decoding unit 205 has basically the same configuration as the base layer image decoding unit 203 of FIG.
 つまり、エンハンスメントレイヤ画像復号部205は、図22に示されるように、蓄積バッファ251、可逆復号部252、逆量子化部253、逆直交変換部254、演算部255、ループフィルタ256、および画面並べ替えバッファ257を有する。また、エンハンスメントレイヤ画像復号部205は、フレームメモリ258、選択部259、イントラ予測部260、インター予測部261、および予測画像選択部262を有する。 That is, the enhancement layer image decoding unit 205 includes a storage buffer 251, a lossless decoding unit 252, an inverse quantization unit 253, an inverse orthogonal transform unit 254, a calculation unit 255, a loop filter 256, and a screen arrangement as illustrated in FIG. A replacement buffer 257 is provided. Further, the enhancement layer image decoding unit 205 includes a frame memory 258, a selection unit 259, an intra prediction unit 260, an inter prediction unit 261, and a predicted image selection unit 262.
 これらの蓄積バッファ251乃至予測画像選択部262は、図21の蓄積バッファ231乃至予測画像選択部242に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像復号部205の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、蓄積バッファ251乃至予測画像選択部262の処理の説明として、上述した図21の蓄積バッファ231乃至予測画像選択部242についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、エンハンスメントレイヤ画像復号部205の、対応する処理部に置き換えて読む必要がある。 These accumulation buffer 251 through predicted image selection unit 262 correspond to the storage buffer 231 through predicted image selection unit 242 in FIG. 21, and perform the same processing as the corresponding processing unit, respectively. However, each unit of the enhancement layer image decoding unit 205 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 251 to the predicted image selection unit 262, the description of the storage buffer 231 to the predicted image selection unit 242 of FIG. 21 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, the data input source and output destination processing units need to be appropriately replaced with the corresponding processing units of the enhancement layer image decoding unit 205 and read.
 なお、エンハンスメントレイヤ画像復号部205は、他のレイヤ(例えばベースレイヤ)の復号画像を参照して復号を行う。フレームメモリ258は、アップサンプル部204から供給されるアップサンプル画像を記憶する。フレームメモリ258は、イントラBLモードやリファレンスインデックスモード等において、そのベースレイヤ復号画像を、参照画像として、選択部259を介して、イントラ予測部260若しくはインター予測部261に供給する。 Note that the enhancement layer image decoding unit 205 performs decoding with reference to a decoded image of another layer (for example, a base layer). The frame memory 258 stores the upsample image supplied from the upsample unit 204. The frame memory 258 supplies the base layer decoded image as a reference image to the intra prediction unit 260 or the inter prediction unit 261 via the selection unit 259 in the intra BL mode, the reference index mode, or the like.
 また、可逆復号部252は、蓄積バッファ251から供給されるエンハンスメントレイヤ画像符号化ストリームから、色差位相情報を含むヘッダ情報(シーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS)等)を抽出し、それを、色差位相制御部202に供給する(復号側に伝送させる)。 Further, the lossless decoding unit 252 extracts header information (sequence parameter set (SPS), picture parameter set (PPS), etc.) including color difference phase information from the enhancement layer image encoded stream supplied from the accumulation buffer 251; It is supplied to the color difference phase control unit 202 (transmitted to the decoding side).
 以上のように、符号化側から伝送された、第1の実施の形態において説明したようなアップサンプリングにおける色差信号の位相に関する情報を取得し、その情報に基づいてアップサンプリング処理を制御する色差位相制御部202を設けることにより、画像復号装置200は、復号による画質の低減を抑制することができる。 As described above, the information on the phase of the color difference signal in the upsampling as described in the first embodiment transmitted from the encoding side is acquired, and the color difference phase for controlling the upsampling process based on the information By providing the control unit 202, the image decoding device 200 can suppress a reduction in image quality due to decoding.
  <画像復号処理の流れ>
 次に、以上のような画像復号装置200により実行される各処理の流れについて説明する。最初に、図23のフローチャートを参照して、画像復号処理の流れの例を説明する。
<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 apparatus 200 reverses the hierarchical image encoded stream obtained by multiplexing the encoded stream of each layer transmitted from the encoding side. Multiplexed and converted into an encoded stream for each layer.
 ステップS202において、ベースレイヤ画像復号部203は、ステップS201において得られたベースレイヤ画像符号化ストリームを復号する。ベースレイヤ画像復号部203は、この復号により生成されたベースレイヤ画像のデータを出力する。 In step S202, the base layer image decoding unit 203 decodes the base layer image encoded stream obtained in step S201. The base layer image decoding unit 203 outputs base layer image data generated by this decoding.
 ステップS203において、エンハンスメントレイヤ画像復号部205は、ステップS201において得られたエンハンスメントレイヤ画像符号化ストリームから色差位相情報を含むヘッダ情報(例えば、シーケンスパラメータセット(SPS)やピクチャパラメータセット(PPS))を抽出する。 In step S203, the enhancement layer image decoding unit 205 receives header information (for example, a sequence parameter set (SPS) or a picture parameter set (PPS)) including color difference phase information from the enhancement layer image encoded stream obtained in step S201. Extract.
 ステップS204において、色差位相制御部202は、ステップS203において抽出されたヘッダ情報に含まれる色差位相情報に基づいて、アップルサンプル処理における色差信号の位相設定を制御する。 In step S204, the color difference phase control unit 202 controls the phase setting of the color difference signal in the Apple sample processing based on the color difference phase information included in the header information extracted in step S203.
 ステップS205において、アップサンプル部204は、ステップS203において制御された色差信号の位相設定を適用して、ステップS202において得られるベースレイヤ復号画像をアップサンプルし、アップサンプル画像を生成する。 In step S205, the upsampling unit 204 applies the phase setting of the color difference signal controlled in step S203, upsamples the base layer decoded image obtained in step S202, and generates an upsampled image.
 ステップS206において、エンハンスメントレイヤ画像復号部205は、ステップS201において得られたエンハンスメントレイヤ画像符号化ストリームを復号する。エンハンスメントレイヤ画像復号部205は、この復号により生成されたエンハンスメントレイヤ画像のデータを出力する。 In step S206, the enhancement layer image decoding unit 205 decodes the enhancement layer image encoded stream obtained in step S201. The enhancement layer image decoding unit 205 outputs enhancement layer image data generated by this decoding.
 ステップS206の処理が終了すると、画像復号装置200は、画像復号処理を終了する。このような画像復号処理により1ピクチャが処理される。したがって、画像復号装置200は、このような画像復号処理を階層化された動画像データの各ピクチャについて繰り返し実行する。ただし、例えばシーケンスパラメータセットの抽出等のように、全てのピクチャに対して処理を行う必要が無く、省略することができる処理は、適宜省略するようにしてもよい。 When the process of step S206 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. However, it is not necessary to perform processing on all the pictures, such as extraction of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  <ベースレイヤ復号処理の流れ>
 次に、図23のステップS202において実行されるベースレイヤ復号処理の流れの例を、図24のフローチャートを参照して説明する。
<Flow of base layer decoding process>
Next, an example of the flow of the base layer decoding process executed in step S202 of FIG. 23 will be described with reference to the flowchart of FIG.
 ベースレイヤ復号処理が開始されると、ステップS211において、ベースレイヤ画像復号部203の蓄積バッファ231は、伝送されてきたベースレイヤ符号化ストリームを蓄積する。ステップS212において、可逆復号部232は、蓄積バッファ231から供給されるベースレイヤ符号化ストリームを復号する。すなわち、可逆符号化部135により符号化されたIピクチャ、Pピクチャ、並びにBピクチャ等の画像データが復号される。このとき、ヘッダ情報などのビットストリームに含められた画像データ以外の各種情報も復号される。 When the base layer decoding process is started, in step S211, the accumulation buffer 231 of the base layer image decoding unit 203 accumulates the transmitted base layer encoded stream. In step S212, the lossless decoding unit 232 decodes the base layer encoded stream supplied from the accumulation buffer 231. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 135 is decoded. At this time, various information other than the image data included in the bit stream such as header information is also decoded.
 ステップS213において、逆量子化部233は、ステップS212の処理により得られた、量子化された係数を逆量子化する。 In step S213, the inverse quantization unit 233 inversely quantizes the quantized coefficient obtained by the process in step S212.
 ステップS214において、逆直交変換部234は、ステップS213において逆量子化された係数を逆直交変換する。 In step S214, the inverse orthogonal transform unit 234 performs inverse orthogonal transform on the coefficient inversely quantized in step S213.
 ステップS215において、イントラ予測部240およびインター予測部241は、予測処理を行い、予測画像を生成する。つまり、可逆復号部232において判定された、符号化の際に適用された予測モードで予測処理が行われる。より具体的には、例えば、符号化の際にイントラ予測が適用された場合、イントラ予測部240が、符号化の際に最適とされたイントラ予測モードで予測画像を生成する。また、例えば、符号化の際にインター予測が適用された場合、インター予測部241が、符号化の際に最適とされたインター予測モードで予測画像を生成する。 In step S215, the intra prediction unit 240 and the inter prediction unit 241 perform prediction processing and generate a prediction image. That is, the prediction process is performed in the prediction mode applied at the time of encoding, which is determined by the lossless decoding unit 232. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 240 generates a prediction image in the intra prediction mode optimized at the time of encoding. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 241 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
 ステップS216において、演算部235は、ステップS214において逆直交変換されて得られた差分画像に、ステップS215において生成された予測画像を加算する。これにより再構成画像の画像データが得られる。 In step S216, the calculation unit 235 adds the predicted image generated in step S215 to the difference image obtained by the inverse orthogonal transform in step S214. Thereby, image data of the reconstructed image is obtained.
 ステップS217において、ループフィルタ236は、ステップS216の処理により得られた再構成画像の画像データに対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜行う。 In step S217, the loop filter 236 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 S216.
 ステップS218において、画面並べ替えバッファ237は、ステップS217においてフィルタ処理された再構成画像の各フレームの並べ替えを行う。すなわち、符号化の際に並べ替えられたフレームの順序が、元の表示の順序に並べ替えられ、出力される。 In step S218, the screen rearrangement buffer 237 rearranges each frame of the reconstructed image filtered in step S217. That is, the order of frames rearranged at the time of encoding is rearranged in the original display order and output.
 ステップS219において、フレームメモリ238は、ステップS217の処理により得られた復号画像やステップS216の処理により得られた再構成画像等のデータを記憶する。 In step S219, the frame memory 238 stores data such as the decoded image obtained by the process of step S217 and the reconstructed image obtained by the process of step S216.
 ステップS220において、フレームメモリ238は、記憶しているベースレイヤ復号画像を、アップサンプル部204に供給する。 In step S220, the frame memory 238 supplies the stored base layer decoded image to the upsampling unit 204.
 ステップS220の処理が終了すると、ベースレイヤ復号処理が終了し、処理は図23に戻る。 When the process of step S220 is completed, the base layer decoding process is terminated, and the process returns to FIG.
  <色差位相設定処理の流れ>
 次に、図23のステップS204において実行される色差位相設定処理の流れの例を、図25のフローチャートを参照して説明する。
<Flow of color difference phase setting processing>
Next, an example of the flow of color difference phase setting processing executed in step S204 in FIG. 23 will be described with reference to the flowchart in FIG.
 色差位相設定処理が開始されると、色差位相情報数判定部221は、ステップS231において、ステップS203(図23)においてエンハンスメントレイヤ画像符号化ストリームから抽出されたヘッダ情報に含まれる色差位相情報の数を示す情報に基づいて、処理対象であるカレントシーケンスに対して設定される色差位相情報が複数であるか否かを判定する。複数であると判定された場合、処理はステップS232に進む。 When the color difference phase setting process is started, the color difference phase information number determination unit 221 determines the number of color difference phase information included in the header information extracted from the enhancement layer image encoded stream in step S203 (FIG. 23) in step S231. Whether there are a plurality of pieces of color difference phase information set for the current sequence to be processed is determined. If it is determined that there are a plurality of processes, the process proceeds to step S232.
 ステップS232において、アップサンプル色差位相制御部223は、エンハンスメントレイヤ画像符号化ストリームから抽出されたヘッダ情報に含まれる色差位相情報において示されるフィールド毎の色差位相を設定する。すなわち、アップサンプル色差位相制御部223は、トップフィールドに対してはトップフィールド用の設定を適用し、ボトムフィールドに対しては、ボトムフィールド用の設定を適用する。 In step S232, the upsampled color difference phase control unit 223 sets the color difference phase for each field indicated in the color difference phase information included in the header information extracted from the enhancement layer image encoded stream. That is, the upsampled color difference phase control unit 223 applies the setting for the top field to the top field, and applies the setting for the bottom field to the bottom field.
 ステップS233において、アップサンプル色差位相制御部223は、以上のような色差位相の設定を用いて、フィールド毎にアップサンプルを行うように制御する。例えば、アップサンプル色差位相制御部223は、アップサンプル処理を制御し、トップフィールドのベースレイヤ復号画像に対して、トップフィールド用に設定された色差位相を用いてアップサンプル処理を行わせ、ボトムフィールドのベースレイヤ復号画像に対して、ボトムフィールド用に設定された色差位相を用いてアップサンプル処理を行わせる。 In step S233, the upsample chrominance phase control unit 223 performs control so that upsampling is performed for each field using the chrominance phase setting as described above. For example, the upsample chrominance phase control unit 223 controls the upsample processing, causes the topfield base layer decoded image to be subjected to the upsample processing using the chrominance phase set for the top field, and the bottom field. Up-sampling processing is performed on the base layer decoded image using the color difference phase set for the bottom field.
 ステップS233の処理が終了すると、色差位相設定処理が終了し、処理は図23に戻る。 When the process of step S233 is completed, the color difference phase setting process is completed, and the process returns to FIG.
 また、ステップS231において、色差位相情報数が単数であると判定された場合、処理はステップS234に進む。 If it is determined in step S231 that the number of color difference phase information is singular, the process proceeds to step S234.
 ステップS234において、サンプリング方式判定部222は、エンハンスメントレイヤ画像符号化ストリームから抽出されたヘッダ情報に含まれるアップサンプリングをフィールドベースで行うように制御する制御情報に基づいて、フィールドベースでアップサンプリングするか否かを判定する。その制御情報によりフィールドベースでアップサンプリングすることが示されていると判定された場合、処理はステップS235に進む。 In step S234, the sampling method determination unit 222 performs field-based upsampling based on control information that controls the upsampling included in the header information extracted from the enhancement layer image encoded stream to be performed on a field basis. Determine whether or not. If it is determined by the control information that upsampling on a field basis is indicated, the process proceeds to step S235.
 ステップS235において、アップサンプル色差位相制御部223は、単一の色差位相を設定する。すなわち、アップサンプル色差位相制御部223は、エンハンスメントレイヤ画像符号化ストリームから抽出されたヘッダ情報に含まれる単一の色差位相情報により示される単一の色差位相を、処理対象であるカレントシーケンスの各フレームピクチャに適用する。 In step S235, the upsampled color difference phase control unit 223 sets a single color difference phase. That is, the upsampled color difference phase control unit 223 converts the single color difference phase indicated by the single color difference phase information included in the header information extracted from the enhancement layer image encoded stream to each current sequence to be processed. Applies to frame pictures.
 ステップS236において、アップサンプル色差位相制御部223は、以上のような色差位相の設定を用いて、フィールド毎にアップサンプルを行うように制御する。例えば、アップサンプル色差位相制御部223は、アップサンプル処理を制御し、ベースレイヤ復号画像に対して、カレントシーケンスの各フレームピクチャ用として設定された単一の色差位相を用いてアップサンプル処理をフィールドベースで行わせる。 In step S236, the up-sample color difference phase control unit 223 performs control so that up-sampling is performed for each field using the color difference phase setting as described above. For example, the upsample chrominance phase control unit 223 controls the upsampling process, and uses the single chrominance phase set for each frame picture of the current sequence for the base layer decoded image as a field. Let the base do.
 ステップS236の処理が終了すると、色差位相設定処理が終了し、処理は図23に戻る。 When the process of step S236 is completed, the color difference phase setting process is completed, and the process returns to FIG.
 また、ステップS234において、フレームベースでアップサンプリングを行うと判定された場合、処理はステップS237に進む。 If it is determined in step S234 that upsampling is to be performed on a frame basis, the process proceeds to step S237.
 ステップS237において、アップサンプル色差位相制御部223は、単一の色差位相を設定する。すなわち、アップサンプル色差位相制御部223は、エンハンスメントレイヤ画像符号化ストリームから抽出されたヘッダ情報に含まれる単一の色差位相情報により示される単一の色差位相を、処理対象であるカレントシーケンスの各フレームピクチャに適用する。 In step S237, the upsampled color difference phase control unit 223 sets a single color difference phase. That is, the upsampled color difference phase control unit 223 converts the single color difference phase indicated by the single color difference phase information included in the header information extracted from the enhancement layer image encoded stream to each current sequence to be processed. Applies to frame pictures.
 ステップS238において、アップサンプル色差位相制御部223は、以上のような色差位相の設定を用いて、フレーム毎にアップサンプルを行うように制御する。例えば、アップサンプル色差位相制御部223は、アップサンプル処理を制御し、ベースレイヤ復号画像に対して、カレントシーケンスの各フレームピクチャ用として設定された単一の色差位相を用いてアップサンプル処理をフレームベースで行わせる。 In step S238, the up-sample color difference phase control unit 223 performs control to perform up-sample for each frame using the color difference phase setting as described above. For example, the upsample chrominance phase control unit 223 controls the upsampling process, and performs the upsampling process on the base layer decoded image using the single chrominance phase set for each frame picture of the current sequence. Let the base do.
 ステップS238の処理が終了すると、色差位相設定処理が終了し、処理は図23に戻る。 When the process of step S238 is completed, the color difference phase setting process is completed, and the process returns to FIG.
  <エンハンスメントレイヤ復号処理の流れ>
 次に、図23のステップS206において実行されるエンハンスメントレイヤ復号処理の流れの例を、図26のフローチャートを参照して説明する。
<Flow of enhancement layer decoding processing>
Next, an example of the flow of the enhancement layer decoding process executed in step S206 of FIG. 23 will be described with reference to the flowchart of FIG.
 エンハンスメントレイヤ復号処理が開始されると、エンハンスメントレイヤ画像復号部205のフレームメモリ238は、ステップS241において、ステップS205(図23)の処理により得られたアップサンプル画像を取得する。 When the enhancement layer decoding process is started, the frame memory 238 of the enhancement layer image decoding unit 205 acquires the upsampled image obtained by the process of step S205 (FIG. 23) in step S241.
 ステップS242において、フレームメモリ238は、ステップS241において取得したアップサンプル画像を記憶する。例えば、フレームメモリ238は、このアップサンプル画像をロングターム参照フレームに格納する。 In step S242, the frame memory 238 stores the upsampled image acquired in step S241. For example, the frame memory 238 stores this upsampled image in the long term reference frame.
 ステップS243乃至ステップS251の各処理は、図24のステップS211乃至ステップS219の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図24の各処理がベースレイヤに対して行われたのに対し、図26の各処理は、エンハンスメントレイヤに対して行われる。 Each process of step S243 to step S251 corresponds to each process of step S211 to step S219 in FIG. 24 and is executed basically in the same manner as those processes. However, each process in FIG. 24 is performed on the enhancement layer, whereas each process in FIG. 24 is performed on the enhancement layer.
 ステップS252の処理が終了すると、エンハンスメントレイヤ復号処理が終了し、処理は、図23に戻る。 When the process of step S252 is completed, the enhancement layer decoding process is completed, and the process returns to FIG.
 以上のように各処理が実行されることにより、画像復号装置200は、復号による画質の低減を抑制することができる。 By executing each process as described above, the image decoding apparatus 200 can suppress a reduction in image quality due to decoding.
 <4.第4の実施の形態>
  <2:3プルアップ画像のアップサンプリング>
 ところで、フレームレート24Hzのプログレッシブ走査方式の動画像(progressive video)を、フレームレート60Hzのインターレース走査方式の動画像(interlace)を表示するモニタに表示させるため、図27に示されるように、2:3プルアップ(2:3 pullup)処理を行い、その信号を、画像圧縮情報への入力とするという手法が、従来行われてきた。
<4. Fourth Embodiment>
<Upsampling of 2: 3 pull-up image>
By the way, in order to display a progressive video with a frame rate of 24 Hz on a monitor that displays an interlace video with a frame rate of 60 Hz, as shown in FIG. Conventionally, a method of performing 3 pull-up processing and using the signal as input to the image compression information has been performed.
 図27のAに、フレームレート24Hzのプログレッシブ走査方式(24pフォーマット)の動画像の一部のフレーム(フレームA乃至フレームD)のトップフィールド(第1フィールドとも称する)およびボトムフィールド(第2フィールドとも称する)の例を示す。図27のAに示されるように、24pの動画像は、各フレームのフィールド間(トップフィールドとボトムフィールドとの間)で時間差が無い(両フィールドの画像が同一である)。 27A shows a top field (also referred to as a first field) and a bottom field (also referred to as a second field) of some frames (frames A to D) of a moving image of a progressive scanning method (24p format) with a frame rate of 24 Hz. Example). As shown in FIG. 27A, the 24p moving image has no time difference between the fields of each frame (between the top field and the bottom field) (the images in both fields are the same).
 図27のBに、図27のAに示される24pフォーマットの動画像を2:3プルアップして、フレームレート60Hzのインターレース走査方式(60iフォーマット)の動画像に変換する様子の例を示す。図27のBに示されるように、2:3プルアップ処理の場合、BフレームおよびDフレームの、それぞれ、第1フィールド(トップフィールド)、および、第2フィールド(ボトムフィールド)を繰り返すことにより、24pから60iへのフォーマット変換を実現する。つまり、フレームBのトップフィールドとフレームCのボトムフィールドからなるフレームと、フレームCのトップフィールドとフレームDのボトムフィールドからなるフレームが、24pのフレームCの代わりに生成される。 FIG. 27B shows an example of a state in which the 24p format moving image shown in FIG. 27A is pulled up 2: 3 and converted to a frame rate 60 Hz interlace scanning (60i format) moving image. As shown in FIG. 27B, in the case of 2: 3 pull-up processing, by repeating the first field (top field) and the second field (bottom field) of the B frame and the D frame, respectively, Realize format conversion from 24p to 60i. That is, a frame composed of the top field of frame B and the bottom field of frame C and a frame composed of the top field of frame C and the bottom field of frame D are generated instead of frame C of 24p.
 ところで、画像データを、ベースレイヤとエンハンスメントレイヤからなる、スペーシャルスケーラビリティ(Spatial Scalability)な階層符号化する場合、ベースレイヤの復号画像をアップサンプルしてエンハンスメントレイヤの符号化に利用する方法がある。図27の例のように2:3プルアップ処理された画像データに対してこのような階層符号化を行う場合、アップサンプル処理をフィールドベースで行うべきか、フレームベースで行うべきかは、各フレームによって異なる。 By the way, when the image data is hierarchically coded with spatial scalability (Spatial Scalability) composed of a base layer and an enhancement layer, there is a method of up-sampling the decoded image of the base layer and using it for coding of the enhancement layer. When performing such hierarchical encoding on image data that has been subjected to 2: 3 pull-up processing as in the example of FIG. 27, whether up-sampling processing should be performed on a field basis or on a frame basis depends on each. It depends on the frame.
 しかしながら、例えば、HEVCやAVC等の従来の画像符号化方式では、そのようなアップサンプルの方式についての制御は行われておらず、不適切な方式でアップサンプル処理が行われるおそれがあった。これにより、参照画像として利用されるアップサンプル画像が劣化し、それによって予測精度が低減し、結果として符号化効率が低減するおそれがあった。 However, for example, in the conventional image coding methods such as HEVC and AVC, such an upsampling method is not controlled, and upsampling processing may be performed by an inappropriate method. As a result, the upsampled image used as the reference image is deteriorated, thereby reducing the prediction accuracy, and as a result, the coding efficiency may be reduced.
 そこで、画像データのベースレイヤを符号化し、その符号化において得られる、ベースレイヤの符号化データが復号された復号画像データの各フレームのアップサンプルを、画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、復号画像データのアップサンプル画像を生成し、生成されたアップサンプル画像を用いて、画像データのエンハンスメントレイヤを符号化し、符号化データを生成するようにする。 Therefore, a base layer of image data is encoded, and an upsample of each frame of decoded image data obtained by decoding the encoded data of the base layer obtained by the encoding is subjected to scanning method frame rate conversion performed on the image data. An up-sample image of decoded image data is generated by a method according to the processing method, and an enhancement layer of the image data is encoded using the generated up-sample image to generate encoded data.
 このようにすることにより、各フレームのアップサンプルを適切な方法で行うことができるので、アップサンプル画像の画質劣化を抑制し、それによって予測精度の低減を抑制し、結果として符号化効率の低減を抑制することができる。 By doing so, the upsampling of each frame can be performed by an appropriate method, so that deterioration of the image quality of the upsampled image is suppressed, thereby reducing the prediction accuracy and consequently reducing the coding efficiency. Can be suppressed.
 アップサンプルの方法とは、例えば、フィールドベース、フレームベースのことを示す。つまり、画像データに行われた走査方式フレームレート変換処理の方法に応じて、アップサンプルを、フィールドベースで行うか(フィールド毎に行うか)、フレームベースで行うか(フレーム毎に行うか)が制御される。 The upsampling method indicates, for example, field-based or frame-based. That is, according to the scanning method frame rate conversion processing method performed on the image data, whether up-sampling is performed on a field basis (per field) or on a frame basis (per frame) Be controlled.
 また、走査方式フレームレート変換処理とは、動画像のフレームレートや走査方式を変換する処理であり、例えば、2:3プルアップ処理のことを示す。もちろん、変換比率等は任意であり、走査方式フレームレート変換処理は、2:3プルアップ処理以外であってもよい。ただし、以下においては、2:3プルアップ処理の場合を例に説明する。 Also, the scanning method frame rate conversion processing is processing for converting the frame rate and scanning method of a moving image, and indicates, for example, 2: 3 pull-up processing. Of course, the conversion ratio is arbitrary, and the scanning method frame rate conversion process may be other than the 2: 3 pull-up process. However, in the following, the case of 2: 3 pull-up processing will be described as an example.
 図27のBに示される、24pフォーマットの動画像が2:3プルアップ処理された60iフォーマットの動画像を、アップサンプルする様子の例を図28に示す。 FIG. 28 shows an example of up-sampling the 60i format moving image obtained by performing the 2: 3 pull-up process on the 24p format moving image shown in FIG. 27B.
 この図28の例において、フレーム番号0、1、および4のフレームの場合、第1フィールド(トップフィールド)と第2フィールド(ボトムフィールド)とで時間差がない。そのため、このようなフレームは、フレームベースでアップサンプル処理を行う方が、フィールドベースでアップサンプル処理を行う場合に比して、垂直方向の解像度を保つことにより、出力となる画像圧縮情報をより高画質なものにすることができる。 In the example of FIG. 28, in the case of frames with frame numbers 0, 1, and 4, there is no time difference between the first field (top field) and the second field (bottom field). Therefore, in such a frame, when the upsampling process is performed on a frame basis, the image compression information to be output is more improved by maintaining the vertical resolution than when the upsampling process is performed on a field basis. High image quality can be achieved.
 これに対して、フレーム番号2や3のフレームの場合、第1フィールドと第2フィールドとで時間差が存在する。そのため、このようなフレームを、フレームベースでアップサンプルすると、アップサンプル画像が劣化し、予測精度が低減して符号化効率を低下させるおそれがあった。そのため、このようなフレームは、フィールドベースでアップサンプル処理を行うことが望ましい。 On the other hand, in the case of frames with frame numbers 2 and 3, there is a time difference between the first field and the second field. Therefore, when such a frame is upsampled on a frame basis, the upsampled image is deteriorated, and there is a possibility that the prediction accuracy is reduced and the encoding efficiency is lowered. Therefore, it is desirable to perform upsampling processing on such a frame on a field basis.
 つまり、第1フィールドと第2フィールドとで時間差が無いフレームは、フレームベースでアップサンプルを行い、第1フィールドと第2フィールドとで時間差が有るフレームは、フィールドベースでアップサンプルを行うようにする。このように、アップサンプル処理をフレームベースで行うか、フィールドベースで行うかを、フレーム毎に、そのフィールド間の時間差の有無に応じて適切に選択することにより、図28のいずれのフレームについても、アップサンプル画像の劣化を抑制し、符号化効率の低減を抑制することができる。 That is, a frame having no time difference between the first field and the second field is upsampled on a frame basis, and a frame having a time difference between the first field and the second field is upsampled on a field basis. . As described above, by appropriately selecting whether to perform the up-sampling process on a frame basis or on a field basis for each frame according to the presence or absence of a time difference between the fields, any frame in FIG. Therefore, it is possible to suppress degradation of the upsampled image and suppress a reduction in encoding efficiency.
 どのフレームのフィールド間に時間差があるかは、画像データに対して行われた走査方式フレームレート変換処理の変換パターンに基づいて判定される。例えば、符号化対象の動画像に対して2:3プルアップが行われた場合、5フレーム毎に図27のBに示される変換パターンが繰り返される。したがって、符号化対象の動画像の全フレームに対して、図28に示されるような、フレーム番号0、1、4のフレームをフレームベースでアップサンプルし、フレーム番号2、3のフレームをフィールドベースでアップサンプルするパターンを5フレーム毎に繰り返せば良い。 <Which frame field has a time difference is determined based on the conversion pattern of the scanning method frame rate conversion process performed on the image data. For example, when a 2: 3 pull-up is performed on a moving image to be encoded, the conversion pattern shown in FIG. 27B is repeated every five frames. Therefore, for all frames of the moving image to be encoded, the frames of frame numbers 0, 1, and 4 are up-sampled on a frame basis as shown in FIG. 28, and the frames of frame numbers 2 and 3 are field-based. The pattern to be upsampled in step 5 may be repeated every 5 frames.
  <位相>
 なお、フィールドベースアップサンプルを行う場合、第1フィールドと、第2フィールドとで、互いに異なる位相によりアップサンプルを行うのが望ましい。
<Phase>
When field-based upsampling is performed, it is desirable to perform upsampling with different phases in the first field and the second field.
 図29にアップサンプル処理の様子の例を示す。図29では、解像度を2倍にアップサンプルする例(2x scalability)を示す。図29において、実線は第1フィールド、破線は第2フィールドを示す。図29のAにエンハンスメントレイヤの構成例を示し、図29のBおよび図29のCにベースレイヤの構成例を示す。 FIG. 29 shows an example of the state of the upsampling process. FIG. 29 shows an example (2 × scalability) of upsampling the resolution by a factor of two. In FIG. 29, the solid line indicates the first field, and the broken line indicates the second field. FIG. 29A shows an example of the enhancement layer configuration, and FIG. 29B and FIG. 29C show an example of the base layer configuration.
 図29のAにおいて、エンハンスメントレイヤ(Enhancementlayer)は、ET0, EB0, ET1, EB1, ET2, EB2, ET3, EB3により構成され、ベースレイヤ(Baselayer)においては、ET0とET1がBT0に、EB0とEB1がBB0に、ET2とET3がBT1に、EB2とEB3がBB1に対応するものとする。 In FIG. 29A, the enhancement layer is composed of ET0, EB0, ET1, EB1, ET2, EB2, ET3, and EB3. In the base layer (Baselayer), ET0 and ET1 are BT0, and EB0 and EB1 BB0, ET2 and ET3 correspond to BT1, and EB2 and EB3 correspond to BB1.
 この時、ベースレイヤを、図29のBに示されるように、フィールド毎に、それぞれ、1/2位相の画素を対応させるようにすると、フレームとして見た時、不等間隔位相になってしまう。そこで、図29のCに示されるように、第1フィールドに関しては1/4位相の画素を、第2フィールドに関しては3/4位相の画素を対応させる必要がある。 At this time, if the base layer is made to correspond to a half-phase pixel for each field as shown in FIG. 29B, the phase becomes an unequal interval phase when viewed as a frame. . Therefore, as shown in FIG. 29C, it is necessary to correspond to a 1/4 phase pixel for the first field and a 3/4 phase pixel for the second field.
 つまり、上述したように、フィールドベースアップサンプルを行う場合、第1フィールドと、第2フィールドとで、互いに異なる位相によりアップサンプルを行うのが望ましい。 That is, as described above, when performing field-based upsampling, it is desirable to perform upsampling with different phases in the first field and the second field.
  <2:3プルアップ情報>
 なお、当該ピクチャが2:3プルアップ処理されたものであるかどうかは、画像データ若しくは符号化データに含まれる、2:3プルアップ処理が行われたか否かを示す2:3プルアップ情報に基づいて判定されるようにしてもよい。例えば、画像データがHEVC方式で符号化される場合、図30に示されるようなシンタクスのduplicate_flag(図30の上から5行目)が2:3プルアップ情報となる。つまり、このduplicate_flagの値により、当該画像データの処理対象であるカレントピクチャが2:3プルアップ処理されたものであるか否かを容易に把握することができる。
<2: 3 pull-up information>
Whether or not the picture has been subjected to 2: 3 pull-up processing is included in image data or encoded data. 2: 3 pull-up information indicating whether 2: 3 pull-up processing has been performed It may be determined based on the above. For example, when image data is encoded by the HEVC method, a syntax duplicate_flag (fifth line from the top in FIG. 30) as shown in FIG. 30 becomes 2: 3 pull-up information. That is, it is possible to easily grasp whether or not the current picture that is the processing target of the image data has been subjected to the 2: 3 pull-up process based on the value of the duplicate_flag.
 また、このような2:3プルアップ情報を参照することにより、処理対象の画像データのカレントピクチャが2:3プルアップ処理されたものである場合のみ、上述したようなアップサンプルの方法を制御することができる。換言するに、カレントピクチャが2:3プルアップ処理されたもので無い場合に、上述したようなアップサンプルの方法を省略することができる。つまり、画像データが2:3プルアップ処理されているか否かに関わらず、アップサンプル処理の適切な方法を選択することができ、符号化効率の低減を抑制することができる(2:3プルアップ処理されていない入力画像についても適切に処理することができる)。また、不要な処理の負荷の増大を抑制することができ、処理時間やコストの増大を抑制することができる。 In addition, by referring to such 2: 3 pull-up information, the up-sampling method as described above is controlled only when the current picture of the image data to be processed has been subjected to 2: 3 pull-up processing. can do. In other words, when the current picture has not been subjected to the 2: 3 pull-up process, the up-sampling method as described above can be omitted. In other words, regardless of whether the image data is subjected to 2: 3 pull-up processing, an appropriate method of up-sampling processing can be selected, and reduction in coding efficiency can be suppressed (2: 3 pull-up processing). Input images that are not up-processed can also be processed appropriately). Further, an increase in unnecessary processing load can be suppressed, and an increase in processing time and cost can be suppressed.
  <アップサンプル情報の伝送>
 以上のようなアップサンプル方法の制御は、符号化装置だけでなく、復号装置においても行うことができる。復号装置においてこのような制御を行う場合、その制御方法(フィールドベースで行うかフレームベースで行うか)を符号化装置と揃えるのが望ましい。そこで、アップサンプルに関する情報(アップサンプル情報)を符号化装置から復号装置に伝送するようにしてもよい。
<Transmission of upsample information>
The control of the upsampling method as described above can be performed not only in the encoding device but also in the decoding device. When such control is performed in the decoding apparatus, it is desirable that the control method (whether it is performed on a field basis or a frame basis) is aligned with that of the encoding apparatus. Therefore, information regarding upsampling (upsampling information) may be transmitted from the encoding device to the decoding device.
 このアップサンプル情報には、各フレームについて、アップサンプルを、フィールドベースで行うか、フレームベースで行うかを示す情報が含まれるようにしてもよい。この情報は、符号化装置において実際に選択された内容を示す情報である。つまり、符号化装置において、各フレームのアップサンプルがフィールドベースで行われたか、フレームベースで行われたかを示す情報が、復号装置に伝送される。 This upsampling information may include information indicating whether upsampling is performed on a field basis or a frame basis for each frame. This information is information indicating the content actually selected in the encoding device. That is, in the encoding device, information indicating whether the up-sampling of each frame has been performed on a field basis or on a frame basis is transmitted to the decoding device.
 また、このアップサンプル情報には、アップサンプルに関する位相情報を含むようにしてもよい。この情報は、符号化装置において実際に行われたアップサンプルにおける位相を示す情報である。つまり、符号化装置において、各フレームのアップサンプルがどの位相で行われたかを示す情報が、復号装置に伝送される。 Further, the upsampling information may include phase information regarding the upsampling. This information is information indicating the phase in the upsampling actually performed in the encoding apparatus. That is, in the encoding device, information indicating in which phase the upsampling of each frame has been performed is transmitted to the decoding device.
 なお、図29を参照して説明したように、フィールドベースの場合、アップサンプリングの位相は、第1フィールドと第2フィールドとで互いに異なる。したがって、アップサンプル情報には、アップサンプルがフィールドベースで行われる場合、アップサンプルに関する位相情報が2つ含まれ、アップサンプルがフレームベースで行われる場合、アップサンプルに関する位相情報が1つ含まれるようにしてもよい。 Note that, as described with reference to FIG. 29, in the case of the field base, the phase of upsampling is different between the first field and the second field. Accordingly, the upsample information includes two pieces of phase information regarding upsamples when the upsample is performed on a field basis, and includes one phase information regarding upsamples when the upsample is performed on a frame basis. It may be.
 換言するに、伝送されるアップサンプルに関する位相情報の数によって、アップサンプルがフィールドベースで行われるのか、フレームベースで行われるのかを識別することができる。そこで、この伝送されるアップサンプルに関する位相情報の数を示す情報を、上述した、各フレームのアップサンプルがフィールドベースで行われたか、フレームベースで行われたかを示す情報としてもよい。 In other words, whether the up-sampling is performed on a field basis or a frame basis can be identified based on the number of phase information regarding the up-sampling transmitted. Therefore, the information indicating the number of phase information relating to the transmitted upsample may be information indicating whether the upsample of each frame is performed on a field basis or a frame basis.
 このようなアップサンプル情報は、画像データが符号化された符号化データのビットストリームのヘッダ情報に含められて伝送されるようにしてもよい。例えば、アップサンプル情報は、ピクチャパラメータセット(PPS((Picture Parameter Set)))において伝送されるようにしてもよい。例えば、ピクチャパラメータセットの拡張部分(PPS_extension)において伝送されるようにしてもよい。 Such up-sampling information may be transmitted by being included in header information of a bit stream of encoded data obtained by encoding image data. For example, the upsample information may be transmitted in a picture parameter set (PPS ((Picture Parameter Set))). For example, it may be transmitted in the extension part (PPS_extension) of the picture parameter set.
 図31および図32は、ピクチャパラメータセット(PPS)のシンタクスの例を示す図である。図32の上から13行目に示されるphase_signalling_indicatorは、伝送されるアップサンプルに関する位相情報の数を示す情報である。例えば、phase_signalling_indicator == 1の場合、ピクチャパラメータセットに含まれるアップサンプルに関する位相情報であるsampling_grid_informationの数は1つであり、符号化装置においてアップサンプルがフレームベースで行われたことを示す。また、例えば、phase_signalling_indicator == 2の場合、ピクチャパラメータセットに含まれるアップサンプルに関する位相情報であるsampling_grid_informationの数は2つであり、符号化装置においてアップサンプルがフィールドベースで行われたことを示す。 FIG. 31 and FIG. 32 are diagrams illustrating an example of syntax of a picture parameter set (PPS). The phase_signalling_indicator shown in the 13th line from the top of FIG. 32 is information indicating the number of phase information regarding the up-sample to be transmitted. For example, in the case of phase_signalling_indicator == 1, the number of sampling_grid_information that is phase information related to the upsample included in the picture parameter set is one, indicating that the upsampling is performed on a frame basis in the encoding device. Further, for example, when phase_signalling_indicator == 2, the number of sampling_grid_information that is phase information related to the upsample included in the picture parameter set is two, which indicates that the upsampling is performed on the field basis in the encoding apparatus.
 図33は、アップサンプルに関する位相情報であるsampling_grid_informationを伝送するためのシンタクスの例を示す図である。図33に示される例の場合、アップサンプルに関する位相情報であるsampling_grid_informationには、水平方向の位相のオフセットを示す情報であるhorizontal_phase_offset16、垂直方向の位相のオフセットを示す情報であるvertical_phase_offset16、色差信号の水平方向の位相シフトを行うか否かを示す情報であるchroma_phase_x_flag、並びに、色差信号の垂直方向の位相シフトを行うか否かを示す情報であるchroma_phase_yが含まれる。なお、図33においてphase_offset_idxは、色差位相情報に割り当てられたインデックスを示す。アップサンプルがフレームベースで行われる場合、これらのような情報がフレーム毎に定義される。また、アップサンプルがフィールドベースで行われる場合、これらのような情報が、各フィールドについてそれぞれ定義される。なお、このsampling_grid_informationにはどのような情報が含まれていてもよく、図33の例に限定されない。 FIG. 33 is a diagram illustrating an example of syntax for transmitting sampling_grid_information which is phase information regarding upsampling. In the case of the example shown in FIG. 33, sampling_grid_information that is phase information related to upsampling includes horizontal_phase_offset16 that is information indicating a phase offset in the horizontal direction, vertical_phase_offset16 that is information indicating a phase offset in the vertical direction, and horizontal of the color difference signal. Chroma_phase_x_flag which is information indicating whether or not to perform a phase shift in the direction, and chroma_phase_y which is information indicating whether or not to perform a phase shift in the vertical direction of the color difference signal. In FIG. 33, phase_offset_idx indicates an index assigned to the color difference phase information. When upsampling is performed on a frame basis, such information is defined for each frame. Also, when upsampling is performed on a field basis, such information is defined for each field. Note that this sampling_grid_information may include any information and is not limited to the example of FIG.
 また、アップサンプル情報は、例えば、スライスヘッダ(Slice Header)において伝送されるようにしてもよい。さらに、単一のピクチャが複数のスライス(Slice)に分割されている場合、各スライスヘッダ(Slice Header)に、互いに同一の値のアップサンプル情報を含めるようにしてもよい。このようにすることにより、アップサンプル情報の冗長性を増大させることができ、エラー耐性を向上させることができる(より確実に伝送することができる)。 Further, the upsample information may be transmitted in, for example, a slice header. Furthermore, when a single picture is divided into a plurality of slices (Slices), up-sampling information having the same value may be included in each slice header (Slice Header). By doing so, the redundancy of the upsample information can be increased, and the error resistance can be improved (more reliable transmission).
  <符号化>
 なお、以上に説明した本技術は、画像データが階層符号化され、そのベースレイヤ(Baselayer)およびエンハンスメントレイヤ(Enhancementlayer)のいずれもフレームベース符号化が行われる場合にのみ適用されるようにしてもよい。換言するに、フィールドベース符号化が行われる場合、どのピクチャに対しても(フィールド間の時間差の有無に関わらず)、フィールドベースでアップサンプルが行われるようにしてもよい。
<Encoding>
The present technology described above may be applied only when image data is hierarchically encoded and both the base layer (Baselayer) and the enhancement layer (Enhancementlayer) are subjected to frame-based encoding. Good. In other words, when field-based encoding is performed, upsampling may be performed on a field basis for any picture (regardless of whether there is a time difference between fields).
 また、以上に説明した本技術は、画像データのベースレイヤ(Baselayer)とエンハンスメントレイヤ(Enhancementlayer)とで符号化方式が互いに異なる場合も適用することができる。例えば、ベースレイヤの符号化方式がAVCであり、エンハンスメントレイヤの符号化方式がHEVCである場合にも、本技術を適用することができる。また、階層符号化の階層数(レイヤ数)は任意であり、3階層以上であってもよい。もちろん、復号方式についても同様である。 Also, the present technology described above can be applied even when the encoding method is different between the base layer (Baselayer) and the enhancement layer (Enhancementlayer) of the image data. For example, the present technology can also be applied when the base layer encoding scheme is AVC and the enhancement layer encoding scheme is HEVC. Further, the number of layers for layer encoding (the number of layers) is arbitrary, and may be three or more layers. Of course, the same applies to the decoding method.
 <5.第5の実施の形態>
  <画像符号化装置>
 次に、以上のような本技術を実現する装置とその方法について説明する。図34は、本技術を適用した画像処理装置の一態様である、画像符号化装置を示す図である。図34に示される画像符号化装置300は、スペーシャルスケーラビリティの階層画像符号化(スケーラブル符号化)を行う装置である。図34に示されるように、画像符号化装置300は、ベースレイヤ画像符号化部301、アップサンプル部302、エンハンスメントレイヤ画像符号化部303、および多重化部304を有する。
<5. Fifth embodiment>
<Image encoding device>
Next, an apparatus and method for realizing the present technology as described above will be described. FIG. 34 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 300 illustrated in FIG. 34 is a device that performs hierarchical image encoding (scalable encoding) with spatial scalability. As illustrated in FIG. 34, the image encoding device 300 includes a base layer image encoding unit 301, an upsampling unit 302, an enhancement layer image encoding unit 303, and a multiplexing unit 304.
 ベースレイヤ画像符号化部301は、画像符号化装置100に入力されたベースレイヤ画像を符号化し、ベースレイヤ画像符号化ストリームを生成する。ベースレイヤ画像符号化部301は、生成したベースレイヤ画像符号化ストリームを多重化部304に供給する。ベースレイヤ画像符号化部301は、また、ベースレイヤ画像の符号化において生成される復号画像(ベースレイヤ復号画像とも称する)をアップサンプル部302に供給する。 The base layer image encoding unit 301 encodes the base layer image input to the image encoding device 100, and generates a base layer image encoded stream. The base layer image encoding unit 301 supplies the generated base layer image encoded stream to the multiplexing unit 304. The base layer image encoding unit 301 also supplies a decoded image (also referred to as a base layer decoded image) generated in the encoding of the base layer image to the upsampling unit 302.
 アップサンプル部302は、ベースレイヤ画像符号化部301から供給される低解像度のベースレイヤ復号画像をアップサンプル処理し、エンハンスメントレイヤ画像と同じ解像度のアップサンプル画像を生成する。その際、アップサンプル部302は、ベースレイヤ復号画像データの各フレームのアップサンプルを、ベースレイヤ画像に行われた走査方式フレームレート変換処理(例えば2:3プルアップ処理)の方法に応じた方法で行う。このようにすることにより、フィールド間の時間差の有無に関わらず、各フレームを適切にアップサンプルすることができるので、アップサンプル画像の劣化を抑制することができる。したがって、予測精度の低減を抑制し、符号化効率の低減を抑制することができる。 The upsampling unit 302 upsamples the low-resolution base layer decoded image supplied from the base layer image encoding unit 301, and generates an upsampled image having the same resolution as the enhancement layer image. At this time, the up-sampling unit 302 converts the up-sampling of each frame of the base layer decoded image data into a method according to the scanning frame rate conversion processing (for example, 2: 3 pull-up processing) performed on the base layer image To do. In this way, each frame can be appropriately upsampled regardless of the presence or absence of a time difference between fields, so that deterioration of the upsampled image can be suppressed. Therefore, reduction in prediction accuracy can be suppressed, and reduction in encoding efficiency can be suppressed.
 アップサンプル部302は、生成したアップサンプル画像をエンハンスメントレイヤ画像符号化部303に供給する。また、アップサンプル部302は、自身が行ったアップサンプルに関する情報であるアップサンプル情報を生成し、それをエンハンスメントレイヤ画像符号化部303に供給する。 The upsampling unit 302 supplies the generated upsampled image to the enhancement layer image encoding unit 303. The upsampling unit 302 also generates upsampling information that is information related to the upsampling performed by the upsampling unit 302 and supplies the upsampling information to the enhancement layer image encoding unit 303.
 エンハンスメントレイヤ画像符号化部303は、画像符号化装置100に入力されたエンハンスメントレイヤ画像を符号化し、エンハンスメントレイヤ画像符号化ストリームを生成する。その符号化において、エンハンスメントレイヤ画像符号化部303は、アップサンプル部302から供給されるアップサンプル画像を参照画像として予測処理等に用いる。また、エンハンスメントレイヤ画像符号化部303は、アップサンプル部302から供給されるアップサンプル情報を、そのエンハンスメントレイヤ画像符号化ストリームに含める。エンハンスメントレイヤ画像符号化部303は、生成したエンハンスメントレイヤ画像符号化ストリームを多重化部304に供給する。 The enhancement layer image encoding unit 303 encodes the enhancement layer image input to the image encoding device 100, and generates an enhancement layer image encoded stream. In the encoding, the enhancement layer image encoding unit 303 uses the upsample image supplied from the upsample unit 302 as a reference image for prediction processing and the like. Further, the enhancement layer image encoding unit 303 includes the upsample information supplied from the upsample unit 302 in the enhancement layer image encoded stream. The enhancement layer image encoding unit 303 supplies the generated enhancement layer image encoded stream to the multiplexing unit 304.
 多重化部304は、ベースレイヤ画像符号化部301において生成されたベースレイヤ画像符号化ストリームと、エンハンスメントレイヤ画像符号化部303において生成されたエンハンスメントレイヤ画像符号化ストリームとを多重化し、階層画像符号化ストリームを生成する。多重化部304は、生成した階層画像符号化ストリームを復号側に伝送する。 The multiplexing unit 304 multiplexes the base layer image encoded stream generated by the base layer image encoding unit 301 and the enhancement layer image encoded stream generated by the enhancement layer image encoding unit 303 to generate a hierarchical image code Generate a stream. The multiplexing unit 304 transmits the generated hierarchical image encoded stream to the decoding side.
  <ベースレイヤ画像符号化部>
 図35は、図34のベースレイヤ画像符号化部301の主な構成例を示すブロック図である。図35に示されるように、ベースレイヤ画像符号化部301は、画面並べ替えバッファ311、演算部312、直交変換部313、量子化部314、可逆符号化部315、蓄積バッファ316、逆量子化部317、および逆直交変換部318を有する。また、ベースレイヤ画像符号化部301は、演算部319、ループフィルタ320、フレームメモリ321、選択部322、イントラ予測部323、インター予測部324、予測画像選択部325、およびレート制御部326を有する。
<Base layer image encoding unit>
FIG. 35 is a block diagram illustrating a main configuration example of the base layer image encoding unit 301 in FIG. 34. As shown in FIG. 35, the base layer image encoding unit 301 includes a screen rearrangement buffer 311, a calculation unit 312, an orthogonal transformation unit 313, a quantization unit 314, a lossless encoding unit 315, an accumulation buffer 316, and an inverse quantization. A unit 317 and an inverse orthogonal transform unit 318. The base layer image encoding unit 301 includes a calculation unit 319, a loop filter 320, a frame memory 321, a selection unit 322, an intra prediction unit 323, an inter prediction unit 324, a predicted image selection unit 325, and a rate control unit 326. .
 画面並べ替えバッファ311は、入力された画像データ(ベースレイヤ画像情報)を記憶し、記憶した表示の順番のフレームの画像を、GOP(Group Of Picture)に応じて、符号化のためのフレームの順番に並べ替え、フレームの順番を並び替えた画像を、演算部312に供給する。また、画面並べ替えバッファ311は、フレームの順番を並び替えた画像を、イントラ予測部323およびインター予測部324にも供給する。 The screen rearrangement buffer 311 stores the input image data (base layer image information), and the frame images in the stored display order are encoded according to GOP (Group Of Picture). The images rearranged in order and the image in which the order of the frames is rearranged are supplied to the calculation unit 312. The screen rearrangement buffer 311 also supplies the image in which the frame order is rearranged to the intra prediction unit 323 and the inter prediction unit 324.
 演算部312は、画面並べ替えバッファ311から読み出された画像から、予測画像選択部325を介してイントラ予測部323若しくはインター予測部324から供給される予測画像を減算し、その差分情報を直交変換部313に出力する。例えば、イントラ符号化が行われる画像の場合、演算部312は、画面並べ替えバッファ311から読み出された画像から、イントラ予測部323から供給される予測画像を減算する。また、例えば、インター符号化が行われる画像の場合、演算部312は、画面並べ替えバッファ311から読み出された画像から、インター予測部324から供給される予測画像を減算する。 The calculation unit 312 subtracts the prediction image supplied from the intra prediction unit 323 or the inter prediction unit 324 via the prediction image selection unit 325 from the image read from the screen rearrangement buffer 311, and orthogonalizes the difference information. The data is output to the conversion unit 313. For example, in the case of an image on which intra coding is performed, the calculation unit 312 subtracts the predicted image supplied from the intra prediction unit 323 from the image read from the screen rearrangement buffer 311. For example, in the case of an image on which inter coding is performed, the calculation unit 312 subtracts the prediction image supplied from the inter prediction unit 324 from the image read from the screen rearrangement buffer 311.
 直交変換部313は、演算部312から供給される差分情報に対して、離散コサイン変換やカルーネン・レーベ変換等の直交変換を施す。直交変換部313は、その変換係数を量子化部314に供給する。 The orthogonal transform unit 313 performs orthogonal transform such as discrete cosine transform and Karhunen-Loeve transform on the difference information supplied from the computation unit 312. The orthogonal transform unit 313 supplies the transform coefficient to the quantization unit 314.
 量子化部314は、直交変換部313から供給される変換係数を量子化する。量子化部314は、レート制御部326から供給される符号量の目標値に関する情報に基づいて量子化パラメータを設定し、その量子化を行う。量子化部314は、量子化された変換係数を可逆符号化部315に供給する。 The quantization unit 314 quantizes the transform coefficient supplied from the orthogonal transform unit 313. The quantization unit 314 sets a quantization parameter based on the information regarding the target value of the code amount supplied from the rate control unit 326, and performs the quantization. The quantization unit 314 supplies the quantized transform coefficient to the lossless encoding unit 315.
 可逆符号化部315は、量子化部314において量子化された変換係数を任意の符号化方式で符号化する。係数データは、レート制御部326の制御の下で量子化されているので、この符号量は、レート制御部326が設定した目標値となる(若しくは目標値に近似する)。 The lossless encoding unit 315 encodes the transform coefficient quantized by the quantization unit 314 using an arbitrary encoding method. Since the coefficient data is quantized under the control of the rate control unit 326, the code amount becomes the target value set by the rate control unit 326 (or approximates the target value).
 また、可逆符号化部315は、イントラ予測のモードを示す情報などをイントラ予測部323から取得し、インター予測のモードを示す情報や差分動きベクトル情報などをインター予測部324から取得する。さらに、可逆符号化部315は、シーケンスパラメータセット(SPS)、およびピクチャパラメータセット(PPS)等を含むベースレイヤのNAL(Network Abstraction Layer)ユニットを適宜生成する。 Also, the lossless encoding unit 315 acquires information indicating the mode of intra prediction from the intra prediction unit 323, and acquires information indicating the mode of inter prediction, difference motion vector information, and the like from the inter prediction unit 324. Further, the lossless encoding unit 315 appropriately generates a base layer NAL (Network Abstraction Layer) unit including a sequence parameter set (SPS), a picture parameter set (PPS), and the like.
 可逆符号化部315は、これらの各種情報を任意の符号化方式で符号化し、符号化データ(符号化ストリームとも称する)の一部とする(多重化する)。可逆符号化部315は、符号化して得られた符号化データを蓄積バッファ316に供給して蓄積させる。 The lossless encoding unit 315 encodes these various types of information using an arbitrary encoding method, and sets (multiplexes) the encoded information (also referred to as an encoded stream) as a part. The lossless encoding unit 315 supplies the encoded data obtained by encoding to the accumulation buffer 316 for accumulation.
 可逆符号化部315の符号化方式としては、例えば、可変長符号化または算術符号化等が挙げられる。可変長符号化としては、例えば、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 315 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).
 蓄積バッファ316は、可逆符号化部315から供給された符号化ストリーム(ベースレイヤ画像符号化ストリーム)を、一時的に保持する。蓄積バッファ316は、所定のタイミングにおいて、保持しているベースレイヤ画像符号化ストリームを多重化部304(図34)に出力する。すなわち、蓄積バッファ316は、ベースレイヤ画像符号化ストリームを伝送する伝送部でもある。 The accumulation buffer 316 temporarily holds the encoded stream (base layer image encoded stream) supplied from the lossless encoding unit 315. The accumulation buffer 316 outputs the held base layer image encoded stream to the multiplexing unit 304 (FIG. 34) at a predetermined timing. That is, the accumulation buffer 316 is also a transmission unit that transmits a base layer image encoded stream.
 また、量子化部314において量子化された変換係数は、逆量子化部317にも供給される。逆量子化部317は、その量子化された変換係数を、量子化部314による量子化に対応する方法で逆量子化する。逆量子化部317は、得られた変換係数を、逆直交変換部138に供給する。 Also, the transform coefficient quantized by the quantization unit 314 is also supplied to the inverse quantization unit 317. The inverse quantization unit 317 inversely quantizes the quantized transform coefficient by a method corresponding to the quantization by the quantization unit 314. The inverse quantization unit 317 supplies the obtained transform coefficient to the inverse orthogonal transform unit 138.
 逆直交変換部318は、逆量子化部317から供給された変換係数を、直交変換部313による直交変換処理に対応する方法で逆直交変換する。逆直交変換された出力(復元された差分情報)は、演算部319に供給される。 The inverse orthogonal transform unit 318 performs inverse orthogonal transform on the transform coefficient supplied from the inverse quantization unit 317 by a method corresponding to the orthogonal transform processing by the orthogonal transform unit 313. The inversely orthogonally transformed output (restored difference information) is supplied to the calculation unit 319.
 演算部319は、逆直交変換部318から供給された逆直交変換結果である、復元された差分情報に、予測画像選択部325を介してイントラ予測部323若しくはインター予測部324からの予測画像を加算し、局部的に復号された画像(復号画像)を得る。その復号画像は、ループフィルタ320またはフレームメモリ321に供給される。 The calculation unit 319 adds the prediction image from the intra prediction unit 323 or the inter prediction unit 324 to the restored difference information, which is the inverse orthogonal transformation result supplied from the inverse orthogonal transformation unit 318, via the prediction image selection unit 325. Addition is performed to obtain a locally decoded image (decoded image). The decoded image is supplied to the loop filter 320 or the frame memory 321.
 ループフィルタ320は、デブロックフィルタや適応ループフィルタ等を含み、演算部319から供給される再構成画像に対して適宜フィルタ処理を行う。例えば、ループフィルタ320は、再構成画像に対してデブロックフィルタ処理を行うことにより再構成画像のブロック歪を除去する。また、例えば、ループフィルタ320は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。ループフィルタ320は、フィルタ処理結果(以下、復号画像と称する)をフレームメモリ321に供給する。 The loop filter 320 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 319. For example, the loop filter 320 removes block distortion of the reconstructed image by performing deblocking filter processing on the reconstructed image. In addition, for example, the loop filter 320 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 320 supplies the filter processing result (hereinafter referred to as a decoded image) to the frame memory 321.
 なお、ループフィルタ320が、再構成画像に対してさらに、他の任意のフィルタ処理を行うようにしてもよい。また、ループフィルタ320は、必要に応じて、フィルタ処理に用いたフィルタ係数等の情報を可逆符号化部315に供給し、それを符号化させるようにすることもできる。 Note that the loop filter 320 may further perform other arbitrary filter processing on the reconstructed image. Further, the loop filter 320 can supply information such as filter coefficients used for the filter processing to the lossless encoding unit 315 and encode the information as necessary.
 フレームメモリ321は、供給される復号画像を記憶し、所定のタイミングにおいて、記憶している復号画像を参照画像として、選択部322に供給する。 The frame memory 321 stores the supplied decoded image, and supplies the stored decoded image as a reference image to the selection unit 322 at a predetermined timing.
 より具体的には、フレームメモリ321は、演算部319から供給される再構成画像と、ループフィルタ320から供給される復号画像とをそれぞれ記憶する。フレームメモリ321は、所定のタイミングにおいて、若しくは、イントラ予測部323等の外部からの要求に基づいて、記憶している再構成画像を、選択部322を介してイントラ予測部323に供給する。また、フレームメモリ321は、所定のタイミングにおいて、若しくは、インター予測部324等の外部からの要求に基づいて、記憶している復号画像を、選択部322を介して、インター予測部324に供給する。 More specifically, the frame memory 321 stores the reconstructed image supplied from the calculation unit 319 and the decoded image supplied from the loop filter 320, respectively. The frame memory 321 supplies the stored reconstructed image to the intra prediction unit 323 via the selection unit 322 at a predetermined timing or based on an external request from the intra prediction unit 323 or the like. Also, the frame memory 321 supplies the stored decoded image to the inter prediction unit 324 via the selection unit 322 at a predetermined timing or based on a request from the outside such as the inter prediction unit 324. .
 選択部322は、フレームメモリ321から供給される参照画像の供給先を選択する。例えば、イントラ予測の場合、選択部322は、フレームメモリ321から供給される参照画像(カレントピクチャ内の画素値若しくはベースレイヤ復号画像)をイントラ予測部323に供給する。また、例えば、インター予測の場合、選択部322は、フレームメモリ321から供給される参照画像(エンハンスメントレイヤのカレントピクチャ外の復号画像若しくはベースレイヤ復号画像)をインター予測部324に供給する。 The selection unit 322 selects a reference image supply destination supplied from the frame memory 321. For example, in the case of intra prediction, the selection unit 322 supplies a reference image (a pixel value in the current picture or a base layer decoded image) supplied from the frame memory 321 to the intra prediction unit 323. For example, in the case of inter prediction, the selection unit 322 supplies a reference image (a decoded image or a base layer decoded image outside the current picture of the enhancement layer) supplied from the frame memory 321 to the inter prediction unit 324.
 イントラ予測部323は、処理対象のフレームの画像であるカレントピクチャについて、予測処理を行い、予測画像を生成する。イントラ予測部323は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、イントラ予測部323は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、イントラ予測部323は、選択部322を介してフレームメモリ321から参照画像として供給される再構成画像を用いて予測処理(画面内予測(イントラ予測とも称する))を行う。つまり、イントラ予測部323は、再構成画像に含まれる、カレントブロックの周辺の画素値を用いて予測画像を生成する。このイントラ予測に利用される周辺画素値は、カレントピクチャの、過去に処理された画素の画素値である。このイントラ予測には(すなわち、予測画像の生成の仕方には)、複数の方法(イントラ予測モードとも称する)が、候補として予め用意されている。イントラ予測部323は、この予め用意された複数のイントラ予測モードでこのイントラ予測を行う。 The intra prediction unit 323 performs prediction processing on a current picture that is an image of a processing target frame, and generates a predicted image. The intra prediction unit 323 performs this prediction processing for each predetermined block (with blocks as processing units). That is, the intra prediction unit 323 generates a prediction image of the current block that is the processing target of the current picture. At that time, the intra prediction unit 323 performs prediction processing (intra-screen prediction (also referred to as intra prediction)) using the reconstructed image supplied as a reference image from the frame memory 321 via the selection unit 322. That is, the intra prediction unit 323 generates a predicted image using pixel values around the current block that are 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 323 performs the intra prediction in the plurality of intra prediction modes prepared in advance.
 イントラ予測部323は、候補となる全てのイントラ予測モードで予測画像を生成し、画面並べ替えバッファ311から供給される入力画像を用いて各予測画像のコスト関数値を評価し、最適なモードを選択する。イントラ予測部323は、最適なイントラ予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部325に供給する。 The intra prediction unit 323 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 311, and selects the optimum mode. select. When the intra prediction unit 323 selects the optimal intra prediction mode, the intra prediction unit 323 supplies the predicted image generated in the optimal mode to the predicted image selection unit 325.
 また、上述したように、イントラ予測部323は、採用されたイントラ予測モードを示すイントラ予測モード情報等を、適宜可逆符号化部315に供給し、符号化させる。 Also, as described above, the intra prediction unit 323 supplies the intra prediction mode information indicating the adopted intra prediction mode and the like to the lossless encoding unit 315 as appropriate, and performs encoding.
 インター予測部324は、カレントピクチャについて、予測処理を行い、予測画像を生成する。インター予測部324は、この予測処理を、所定のブロック毎に(ブロックを処理単位として)行う。つまり、インター予測部324は、カレントピクチャの、処理対象であるカレントブロックの予測画像を生成する。その際、インター予測部324は、画面並べ替えバッファ311から供給される入力画像の画像データと、フレームメモリ321から参照画像として供給される復号画像の画像データとを用いて、予測処理を行う。この復号画像は、カレントピクチャより前に処理されたフレームの画像(カレントピクチャでない他のピクチャ)である。つまり、インター予測部324は、他のピクチャの画像を用いて予測画像を生成する予測処理(画面間予測(インター予測とも称する))を行う。 The inter prediction unit 324 performs prediction processing on the current picture and generates a predicted image. The inter prediction unit 324 performs this prediction processing for each predetermined block (using blocks as processing units). That is, the inter prediction unit 324 generates a predicted image of the current block that is the processing target of the current picture. At this time, the inter prediction unit 324 performs prediction processing using the image data of the input image supplied from the screen rearrangement buffer 311 and the image data of the decoded image supplied as a reference image from the frame memory 321. 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 324 performs a prediction process (inter-screen prediction (also referred to as inter prediction)) that generates a predicted image using an image of another picture.
 このインター予測は、動き予測と動き補償よりなる。より具体的には、インター予測部324は、入力画像と参照画像を用いて、カレントブロックについて動き予測を行い、動きベクトルを検出する。そして、インター予測部324は、参照画像を用いて、検出された動きベクトルに応じて動き補償処理を行い、カレントブロックの予測画像(インター予測画像情報)を生成する。このインター予測には(すなわち、予測画像の生成の仕方には)、複数の方法(インター予測モードとも称する)が、候補として予め用意されている。インター予測部324は、この予め用意された複数のインター予測モードでこのようなインター予測を行う。 This inter prediction consists of motion prediction and motion compensation. More specifically, the inter prediction unit 324 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 324 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 324 performs such inter prediction in the plurality of inter prediction modes prepared in advance.
 インター予測部324は、候補となる全てのインター予測モードで予測画像を生成する。インター予測部324は、画面並べ替えバッファ311から供給される入力画像と、生成した差分動きベクトルの情報などを用いて、各予測画像のコスト関数値を評価し、最適なモードを選択する。インター予測部324は、最適なインター予測モードを選択すると、その最適なモードで生成された予測画像を、予測画像選択部325に供給する。 The inter prediction unit 324 generates a prediction image in all candidate inter prediction modes. The inter prediction unit 324 evaluates the cost function value of each prediction image using the input image supplied from the screen rearrangement buffer 311 and information on the generated differential motion vector, and selects an optimal mode. When the optimal inter prediction mode is selected, the inter prediction unit 324 supplies the prediction image generated in the optimal mode to the prediction image selection unit 325.
 インター予測部324は、採用されたインター予測モードを示す情報や、符号化データを復号する際に、そのインター予測モードで処理を行うために必要な情報等を可逆符号化部315に供給し、符号化させる。必要な情報としては、例えば、生成された差分動きベクトルの情報や、予測動きベクトル情報として予測動きベクトルのインデックスを示すフラグなどがある。 The inter prediction unit 324 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 315 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.
 予測画像選択部325は、演算部312や演算部319に供給する予測画像の供給元を選択する。例えば、イントラ符号化の場合、予測画像選択部325は、予測画像の供給元としてイントラ予測部323を選択し、そのイントラ予測部323から供給される予測画像を演算部312や演算部319に供給する。また、例えば、インター符号化の場合、予測画像選択部325は、予測画像の供給元としてインター予測部324を選択し、そのインター予測部324から供給される予測画像を演算部312や演算部319に供給する。 The predicted image selection unit 325 selects a supply source of a predicted image to be supplied to the calculation unit 312 or the calculation unit 319. For example, in the case of intra coding, the predicted image selection unit 325 selects the intra prediction unit 323 as the supply source of the predicted image, and supplies the predicted image supplied from the intra prediction unit 323 to the calculation unit 312 and the calculation unit 319. To do. For example, in the case of inter coding, the predicted image selection unit 325 selects the inter prediction unit 324 as a supply source of the predicted image, and calculates the predicted image supplied from the inter prediction unit 324 as the calculation unit 312 or the calculation unit 319. To supply.
 レート制御部326は、蓄積バッファ316に蓄積された符号化データの符号量に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部314の量子化動作のレートを制御する。 The rate control unit 326 controls the quantization operation rate of the quantization unit 314 based on the code amount of the encoded data stored in the storage buffer 316 so that no overflow or underflow occurs.
 なお、ベースレイヤ画像符号化部301は、他のレイヤを参照せずに符号化を行う。つまり、イントラ予測部323およびインター予測部324は、他のレイヤの復号画像を参照画像として利用しない。 Note that the base layer image encoding unit 301 performs encoding without referring to other layers. That is, the intra prediction unit 323 and the inter prediction unit 324 do not use decoded images of other layers as reference images.
 また、フレームメモリ321は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤの符号化に利用させるために、アップサンプル部302に供給する。さらに、可逆符号化部315は、符号化対象の画像データに対して行われた2:3プルアップ処理に関する情報である2:3プルアップ情報(例えば、duplicate_flag(図30))を、アップサンプル部302に供給する。 Also, the frame memory 321 supplies the stored base layer decoded image to the up-sampling unit 302 in order to use it for the enhancement layer encoding. Further, the lossless encoding unit 315 upsamples 2: 3 pull-up information (for example, duplicate_flag (FIG. 30)) that is information related to the 2: 3 pull-up processing performed on the image data to be encoded. Supplied to the unit 302.
  <アップサンプル部>
 図36は、図34のアップサンプル部302の主な構成例を示すブロック図である。図36に示されるように、アップサンプル部302は、2:3プルアップ情報バッファ331、ベースレイヤ復号画像バッファ332、アップサンプル切替部333、フィールドベースアップサンプラ334、フレームベースアップサンプラ335、およびアップサンプル情報供給部336を有する。
<Upsample section>
FIG. 36 is a block diagram illustrating a main configuration example of the upsampling unit 302 of FIG. As shown in FIG. 36, the up-sampling unit 302 includes a 2: 3 pull-up information buffer 331, a base layer decoded image buffer 332, an up-sample switching unit 333, a field base up sampler 334, a frame base up sampler 335, and an up A sample information supply unit 336 is provided.
 2:3プルアップ情報バッファ331は、例えばRAM(Random Access Memory)、フラッシュメモリ、ハードディスク等の任意の記憶媒体を有する記憶部である。2:3プルアップ情報バッファ331は、例えば、ベースレイヤ画像符号化部301の可逆符号化部315から供給される2:3プルアップ情報を取得し、記憶する。2:3プルアップ情報バッファ331は、例えば所定のタイミングにおいて、若しくは、例えば他の処理部やユーザ等の外部からの指示といった所定のイベントに基づいて、記憶している2:3プルアップ情報を読み出し、それをアップサンプル切替部333に供給する。 The 2: 3 pull-up information buffer 331 is a storage unit having an arbitrary storage medium such as a RAM (Random Access Memory), a flash memory, and a hard disk. The 2: 3 pull-up information buffer 331 acquires and stores the 2: 3 pull-up information supplied from the lossless encoding unit 315 of the base layer image encoding unit 301, for example. The 2: 3 pull-up information buffer 331 stores the 2: 3 pull-up information stored at a predetermined timing, for example, based on a predetermined event such as an instruction from the outside such as another processing unit or a user. Read out and supply it to the upsample switching unit 333.
 ベースレイヤ復号画像バッファ332は、例えばRAM、フラッシュメモリ、ハードディスク等の任意の記憶媒体を有する記憶部である。ベースレイヤ復号画像バッファ332は、例えば、ベースレイヤ画像符号化部301のフレームメモリ321から供給されるベースレイヤ復号画像を取得し、記憶する。ベースレイヤ復号画像バッファ332は、例えば所定のタイミングにおいて、若しくは、例えば他の処理部やユーザ等の外部からの指示といった所定のイベントに基づいて、記憶しているベースレイヤ復号画像を読み出し、それをアップサンプル切替部333に供給する。 The base layer decoded image buffer 332 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk. The base layer decoded image buffer 332 acquires and stores the base layer decoded image supplied from the frame memory 321 of the base layer image encoding unit 301, for example. The base layer decoded image buffer 332 reads out the stored base layer decoded image, for example, at a predetermined timing or based on a predetermined event such as an instruction from the outside such as another processing unit or a user. This is supplied to the upsample switching unit 333.
 アップサンプル切替部333は、第4の実施の形態において説明したように、2:3プルアップ情報の内容に基づいて、ベースレイヤ復号画像バッファ332から読み出したベースレイヤ復号画像の供給先(アップサンプル方法)の切り替えを行う(供給先(アップサンプル方法)を選択する)。 As described in the fourth embodiment, the upsample switching unit 333 supplies the base layer decoded image read destination (upsampled) from the base layer decoded image buffer 332 based on the content of the 2: 3 pull-up information. (Method is switched) (Supply destination (upsampling method) is selected).
 アップサンプル切替部333は、ベースレイヤ復号画像バッファ332から読み出したベースレイヤ復号画像を、フィールドベースアップサンプラ334およびフレームベースアップサンプラ335のいずれか一方(選択した方)に供給する。また、アップサンプル切替部333は、その制御の内容を含むアップサンプル情報を生成し、アップサンプル情報供給部336に供給する。 The upsample switching unit 333 supplies the base layer decoded image read from the base layer decoded image buffer 332 to either the field base upsampler 334 or the frame base upsampler 335 (the selected one). Further, the upsample switching unit 333 generates upsample information including the contents of the control and supplies the upsample information to the upsample information supply unit 336.
 例えば、アップサンプル切替部333は、処理対象であるカレントピクチャをフィールドベースでアップサンプルする場合、ベースレイヤ復号画像をフィールドベースアップサンプラ334に供給する。また、アップサンプル切替部333は、処理対象であるカレントピクチャをフレームベースでアップサンプルする場合、ベースレイヤ復号画像をフレームベースアップサンプラ335に供給する。 For example, the upsample switching unit 333 supplies the base layer decoded image to the field base upsampler 334 when the current picture to be processed is upsampled on the field basis. Further, the upsample switching unit 333 supplies the base layer decoded image to the frame base upsampler 335 when the current picture to be processed is upsampled on a frame basis.
 フィールドベースアップサンプラ334は、アップサンプル切替部333から供給されるベースレイヤ復号画像を、フィールドベースでアップサンプルし、アップサンプル画像を生成する。フィールドベースアップサンプラ334は、生成したアップサンプル画像をエンハンスメントレイヤ画像符号化部303のフレームメモリ361に供給する。 The field base upsampler 334 upsamples the base layer decoded image supplied from the upsample switching unit 333 on a field basis to generate an upsampled image. The field base upsampler 334 supplies the generated upsampled image to the frame memory 361 of the enhancement layer image encoding unit 303.
 フレームベースアップサンプラ335は、アップサンプル切替部333から供給されるベースレイヤ復号画像を、フレームベースでアップサンプルし、アップサンプル画像を生成する。フレームベースアップサンプラ335は、生成したアップサンプル画像をエンハンスメントレイヤ画像符号化部303のフレームメモリ361に供給する。 The frame base upsampler 335 upsamples the base layer decoded image supplied from the upsample switching unit 333 on a frame basis to generate an upsampled image. The frame base upsampler 335 supplies the generated upsampled image to the frame memory 361 of the enhancement layer image encoding unit 303.
 アップサンプル情報供給部336は、アップサンプル切替部333から供給されるアップサンプル情報を取得し、エンハンスメントレイヤ画像符号化部303の可逆符号化部355に供給し、符号化データのヘッダ情報に含めて伝送させる。 The upsample information supply unit 336 acquires the upsample information supplied from the upsample switching unit 333, supplies the upsample information to the lossless encoding unit 355 of the enhancement layer image encoding unit 303, and includes it in the header information of the encoded data. Let it transmit.
  <エンハンスメントレイヤ画像符号化部>
 図37は、図34のエンハンスメントレイヤ画像符号化部303の主な構成例を示すブロック図である。図37に示されるように、エンハンスメントレイヤ画像符号化部303は、図35のベースレイヤ画像符号化部301と基本的に同様の構成を有する。
<Enhancement layer image encoding unit>
FIG. 37 is a block diagram illustrating a main configuration example of the enhancement layer image encoding unit 303 in FIG. 34. As shown in FIG. 37, the enhancement layer image encoding unit 303 has basically the same configuration as the base layer image encoding unit 301 of FIG.
 つまり、エンハンスメントレイヤ画像符号化部303は、図37に示されるように、画面並べ替えバッファ351、演算部352、直交変換部353、量子化部354、可逆符号化部355、蓄積バッファ356、逆量子化部357、および逆直交変換部358を有する。また、エンハンスメントレイヤ画像符号化部303は、演算部359、ループフィルタ360、フレームメモリ361、選択部362、イントラ予測部363、インター予測部364、予測画像選択部365、およびレート制御部366を有する。 That is, the enhancement layer image encoding unit 303 includes a screen rearrangement buffer 351, a calculation unit 352, an orthogonal transformation unit 353, a quantization unit 354, a lossless encoding unit 355, an accumulation buffer 356, and an inverse buffer as illustrated in FIG. A quantization unit 357 and an inverse orthogonal transform unit 358 are included. The enhancement layer image encoding unit 303 includes a calculation unit 359, a loop filter 360, a frame memory 361, a selection unit 362, an intra prediction unit 363, an inter prediction unit 364, a predicted image selection unit 365, and a rate control unit 366. .
 これらの画面並べ替えバッファ351乃至レート制御部366は、図35の画面並べ替えバッファ311乃至レート制御部326に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像符号化部303の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、画面並べ替えバッファ351乃至レート制御部366の処理の説明として、上述した図35の画面並べ替えバッファ311乃至レート制御部326についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、画面並べ替えバッファ351乃至レート制御部366の中の対応する処理部に置き換えて読む必要がある。 These screen rearrangement buffer 351 through rate control unit 366 correspond to screen rearrangement buffer 311 through rate control unit 326 in FIG. 35 and perform the same processing as the corresponding processing unit, respectively. However, each unit of the enhancement layer image encoding unit 303 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the screen rearranging buffer 351 to the rate control unit 366, the description of the screen rearranging buffer 311 to the rate control unit 326 of FIG. 35 described above can be applied. Needs to be enhancement layer data, not base layer data. Further, it is necessary to read the data input source and output destination processing units by replacing them with corresponding processing units in the screen rearrangement buffer 351 through the rate control unit 366, as appropriate.
 なお、エンハンスメントレイヤ画像符号化部303は、他のレイヤ(例えばベースレイヤ)の情報を参照して符号化を行う。フレームメモリ361は、アップサンプル部302から供給されるアップサンプル画像を記憶する。フレームメモリ361は、イントラBLモードやリファレンスインデックスモード等において、そのベースレイヤ復号画像を、参照画像として、選択部362を介して、イントラ予測部363若しくはインター予測部364に供給する。 Note that the enhancement layer image encoding unit 303 performs encoding with reference to information on other layers (for example, a base layer). The frame memory 361 stores the upsample image supplied from the upsample unit 302. The frame memory 361 supplies the base layer decoded image as a reference image to the intra prediction unit 363 or the inter prediction unit 364 via the selection unit 362 in the intra BL mode, the reference index mode, or the like.
 また、可逆符号化部355は、アップサンプル部302から供給される、アップサンプル情報を取得し、それを、エンハンスメント画像符号化ストリーム(のヘッダ情報)に含めて、蓄積バッファ356に供給する(復号側に伝送させる)。 In addition, the lossless encoding unit 355 acquires the upsample information supplied from the upsample unit 302, and includes it in the enhancement image encoded stream (header information thereof) and supplies it to the accumulation buffer 356 (decoding). To the side).
 以上のような画像符号化装置300において、アップサンプル部302(アップサンプル切替部333)が、ベースレイヤ復号画像データのアップサンプルの方法を、第4の実施の形態において説明したように制御することにより、画像符号化装置300は、符号化効率の低減を抑制することができる。換言するに、画像符号化装置300は、復号による画質の低減を抑制することができる。 In the image coding apparatus 300 as described above, the upsampling unit 302 (upsampling switching unit 333) controls the upsampling method of the base layer decoded image data as described in the fourth embodiment. Thus, the image encoding device 300 can suppress a decrease in encoding efficiency. In other words, the image encoding device 300 can suppress a reduction in image quality due to decoding.
  <画像符号化処理の流れ>
 次に、以上のような画像符号化装置300により実行される各処理の流れについて説明する。最初に、図38のフローチャートを参照して、画像符号化処理の流れの例を説明する。
<Flow of image encoding process>
Next, the flow of each process executed by the image encoding device 300 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.
 画像符号化処理が開始されると、ステップS301において、画像符号化装置300のベースレイヤ画像符号化部103は、入力されたベースレイヤ画像を符号化する。 When the image encoding process is started, in step S301, the base layer image encoding unit 103 of the image encoding device 300 encodes the input base layer image.
 ステップS302において、アップサンプル部302は、ステップS301において得られたベースレイヤ復号画像をアップサンプルして、エンハンスメントレイヤ画像の解像度に相当する解像度のアップサンプル画像を得る。また、アップサンプル部302は、アップサンプル情報を生成する。 In step S302, the upsampling unit 302 upsamples the base layer decoded image obtained in step S301, and obtains an upsampled image having a resolution corresponding to the resolution of the enhancement layer image. Further, the upsample unit 302 generates upsample information.
 ステップS303において、エンハンスメントレイヤ画像符号化部303は、エンハンスメントレイヤの画像データを符号化する。その際、エンハンスメントレイヤ画像符号化部303は、ステップS302において生成されたアップサンプル画像を用いて符号化を行う。また、エンハンスメントレイヤ画像符号化部303は、ステップS302において生成されたアップサンプル情報をエンハンスメントレイヤ画像符号化ストリームのヘッダ情報に含める。 In step S303, the enhancement layer image encoding unit 303 encodes enhancement layer image data. At that time, the enhancement layer image encoding unit 303 performs encoding using the upsampled image generated in step S302. Further, the enhancement layer image encoding unit 303 includes the upsample information generated in step S302 in the header information of the enhancement layer image encoded stream.
 ステップS304において、多重化部304は、ステップS301の処理により生成されたベースレイヤ画像符号化ストリームと、ステップS303の処理により生成されたエンハンスメントレイヤ画像符号化ストリームとを(すなわち、各レイヤのビットストリームを)多重化し、1系統の階層画像符号化ストリームを生成する。 In step S304, the multiplexing unit 304 uses the base layer image encoded stream generated by the process of step S301 and the enhancement layer image encoded stream generated by the process of step S303 (that is, the bit stream of each layer). Are multiplexed to generate a single hierarchical image encoded stream.
 ステップS304の処理が終了すると、画像符号化装置300は、画像符号化処理を終了する。このような画像符号化処理により1ピクチャが処理される。したがって、画像符号化装置300は、このような画像符号化処理を階層化された動画像データの各ピクチャについて繰り返し実行する。ただし、例えばシーケンスパラメータセットの生成等のように、全てのピクチャに対して処理を行う必要が無く、省略することができる処理は、適宜省略するようにしてもよい。 When the process of step S304 ends, the image encoding device 300 ends the image encoding process. One picture is processed by such an image encoding process. Therefore, the image coding apparatus 300 repeatedly executes such image coding processing for each picture of the hierarchized moving image data. However, it is not necessary to perform processing for all pictures, such as generation of a sequence parameter set, and processing that can be omitted may be omitted as appropriate.
  <ベースレイヤ符号化処理の流れ>
 次に、図38のステップS301において実行されるベースレイヤ符号化処理の流れの例を、図39のフローチャートを参照して説明する。
<Flow of base layer encoding process>
Next, an example of the flow of the base layer encoding process executed in step S301 in FIG. 38 will be described with reference to the flowchart in FIG.
 ベースレイヤ符号化処理が開始されると、ベースレイヤ画像符号化部301の画面並べ替えバッファ311は、ステップS311において、入力された動画像の各フレーム(ピクチャ)を記憶し、各ピクチャの表示する順番から符号化する順番への並べ替えを行う。 When the base layer encoding process is started, the screen rearrangement buffer 311 of the base layer image encoding unit 301 stores each frame (picture) of the input moving image and displays each picture in step S311. Rearrange from the order to the encoding order.
 ステップS312において、イントラ予測部323は、イントラ予測モードのイントラ予測処理を行う。 In step S312, the intra prediction unit 323 performs an intra prediction process in the intra prediction mode.
 ステップS313において、インター予測部324は、インター予測モードでの動き予測や動き補償等を行うインター予測処理を行う。 In step S313, the inter prediction unit 324 performs inter prediction processing for performing motion prediction, motion compensation, and the like in the inter prediction mode.
 ステップS314において、予測画像選択部325は、コスト関数値等に基づいて、予測画像を選択する。つまり、予測画像選択部325は、ステップS312のイントラ予測により生成された予測画像と、ステップS313のインター予測により生成された予測画像のいずれか一方を選択する。 In step S314, the predicted image selection unit 325 selects a predicted image based on the cost function value or the like. That is, the predicted image selection unit 325 selects one of the predicted image generated by the intra prediction in step S312 and the predicted image generated by the inter prediction in step S313.
 ステップS315において、演算部312は、ステップS311の処理によりフレーム順を並び替えられた入力画像と、ステップS314の処理により選択された予測画像との差分を演算する。つまり、演算部312は、入力画像と予測画像との差分画像の画像データを生成する。このようにして求められた差分画像の画像データは、元の画像データに比べてデータ量が低減される。したがって、画像をそのまま符号化する場合に比べて、データ量を圧縮することができる。 In step S315, the calculation unit 312 calculates a difference between the input image whose frame order is rearranged by the process of step S311 and the predicted image selected by the process of step S314. That is, the calculation unit 312 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.
 ステップS316において、直交変換部313は、ステップS315の処理により生成された差分画像の画像データを直交変換する。 In step S316, the orthogonal transform unit 313 performs orthogonal transform on the image data of the difference image generated by the process in step S315.
 ステップS317において、量子化部314は、レート制御部326により算出された量子化パラメータを用いて、ステップS316の処理により得られた直交変換係数を量子化する。 In step S317, the quantization unit 314 quantizes the orthogonal transform coefficient obtained by the process in step S316, using the quantization parameter calculated by the rate control unit 326.
 ステップS318において、逆量子化部317は、ステップS317の処理により生成された量子化された係数(量子化係数とも称する)を、量子化部314の特性に対応する特性で逆量子化する。 In step S318, the inverse quantization unit 317 inversely quantizes the quantized coefficient generated by the process in step S317 (also referred to as a quantization coefficient) with characteristics corresponding to the characteristics of the quantization unit 314.
 ステップS319において、逆直交変換部318は、ステップS318の処理により得られた直交変換係数を逆直交変換する。 In step S319, the inverse orthogonal transform unit 318 performs inverse orthogonal transform on the orthogonal transform coefficient obtained by the process in step S318.
 ステップS320において、演算部319は、ステップS319の処理により復元された差分画像に、ステップS314の処理により選択された予測画像を加算することにより、再構成画像の画像データを生成する。 In step S320, the calculation unit 319 generates the image data of the reconstructed image by adding the predicted image selected by the process of step S314 to the difference image restored by the process of step S319.
 ステップS321においてループフィルタ320は、ステップS320の処理により生成された再構成画像の画像データにループフィルタ処理を行う。これにより、再構成画像のブロック歪み等が除去される。 In step S321, the loop filter 320 performs loop filter processing on the image data of the reconstructed image generated by the processing in step S320. Thereby, block distortion and the like of the reconstructed image are removed.
 ステップS322において、フレームメモリ321は、ステップS321の処理により得られた復号画像(ベースレイヤ復号画像)やステップS320の処理により得られた再構成画像等のデータを記憶する。 In step S322, the frame memory 321 stores data such as a decoded image (base layer decoded image) obtained by the process of step S321 and a reconstructed image obtained by the process of step S320.
 ステップS323において、可逆符号化部315は、ステップS317の処理により得られた、量子化された係数を符号化する。すなわち、差分画像に対応するデータに対して、可変長符号化や算術符号化等の可逆符号化が行われる。 In step S323, the lossless encoding unit 315 encodes the quantized coefficient obtained by the process in step S317. That is, lossless encoding such as variable length encoding or arithmetic encoding is performed on the data corresponding to the difference image.
 また、このとき、可逆符号化部315は、ステップS314の処理により選択された予測画像の予測モードに関する情報を符号化し、差分画像を符号化して得られる符号化データに付加する。つまり、可逆符号化部315は、イントラ予測部323から供給される最適イントラ予測モード情報、または、インター予測部324から供給される最適インター予測モードに応じた情報なども符号化し、符号化データに付加する。 Also, at this time, the lossless encoding unit 315 encodes information regarding the prediction mode of the prediction image selected by the process of step S314, and adds the encoded information to the encoded data obtained by encoding the difference image. That is, the lossless encoding unit 315 also encodes the optimal intra prediction mode information supplied from the intra prediction unit 323 or the information corresponding to the optimal inter prediction mode supplied from the inter prediction unit 324, and the like into encoded data. Append.
 さらに、可逆符号化部315は、各種ナルユニット等のシンタクス要素も設定し、符号化し、符号化データに付加する。 Furthermore, the lossless encoding unit 315 also sets syntax elements such as various null units, encodes them, and adds them to the encoded data.
 ステップS324において蓄積バッファ316は、ステップS323の処理により得られた符号化データ(ベースレイヤ画像符号化ストリーム)を蓄積する。蓄積バッファ316に蓄積されたベースレイヤ画像符号化ストリームは、適宜読み出され、多重化部304(図34)に供給されてエンハンスメントレイヤ画像符号化ストリームと多重化された後、伝送路や記録媒体を介して復号側に伝送される。 In step S324, the accumulation buffer 316 accumulates the encoded data (base layer image encoded stream) obtained by the process in step S323. The base layer image encoded stream stored in the storage buffer 316 is appropriately read out, supplied to the multiplexing unit 304 (FIG. 34), multiplexed with the enhancement layer image encoded stream, and then transmitted to the transmission path or recording medium. Is transmitted to the decoding side.
 ステップS325においてレート制御部326は、ステップS324の処理により蓄積バッファ316に蓄積された符号化データの符号量(発生符号量)に基づいて、オーバフローあるいはアンダーフローが発生しないように、量子化部314の量子化動作のレートを制御する。また、レート制御部326は、量子化パラメータに関する情報を、量子化部314に供給する。 In step S325, the rate control unit 326 causes the quantization unit 314 to prevent overflow or underflow based on the code amount (generated code amount) of the encoded data accumulated in the accumulation buffer 316 by the process in step S324. Controls the rate of quantization operation. Further, the rate control unit 326 supplies information regarding the quantization parameter to the quantization unit 314.
 ステップS326において、フレームメモリ321は、記憶しているベースレイヤ復号画像を、アップサンプル部302に供給する。また、可逆符号化部315は、符号化対象の画像データについての2:3プルアップ情報を、アップサンプル部302に供給する。 In step S326, the frame memory 321 supplies the stored base layer decoded image to the upsampling unit 302. Further, the lossless encoding unit 315 supplies 2: 3 pull-up information regarding the image data to be encoded to the up-sampling unit 302.
 ステップS326の処理が終了すると、ベースレイヤ符号化処理が終了し、処理は図38に戻る。 When the process of step S326 ends, the base layer encoding process ends, and the process returns to FIG.
  <アップサンプル処理の流れ>
 次に、図38のステップS302において実行されるアップサンプル処理の流れの例を、図40のフローチャートを参照して説明する。
<Upsample processing flow>
Next, an example of the flow of the upsampling process executed in step S302 in FIG. 38 will be described with reference to the flowchart in FIG.
 アップサンプル処理が開始されると、アップサンプル部302のベースレイヤ復号画像バッファ332は、ステップS331において、図39のステップS326の処理により供給されたベースレイヤ復号画像のデータを取得する。 When the upsampling process is started, the base layer decoded image buffer 332 of the upsampling unit 302 acquires the base layer decoded image data supplied by the process of step S326 of FIG. 39 in step S331.
 ステップS332において、ベースレイヤ復号画像バッファ332は、ステップS331の処理により取得したベースレイヤ復号画像のデータを記憶する。 In step S332, the base layer decoded image buffer 332 stores the data of the base layer decoded image acquired by the process of step S331.
 ステップS333において、2:3プルアップ情報バッファ331は、図39のステップS326の処理により供給された2:3プルアップ情報を取得する。 In step S333, the 2: 3 pull-up information buffer 331 acquires the 2: 3 pull-up information supplied by the process of step S326 in FIG.
 ステップS334において、2:3プルアップ情報バッファ331は、ステップS333の処理により取得した2:3プルアップ情報を記憶する。 In step S334, the 2: 3 pull-up information buffer 331 stores the 2: 3 pull-up information acquired by the process of step S333.
 ステップS335において、アップサンプル切替部333は、ステップS334の処理により2:3プルアップ情報バッファ331に記憶された2:3プルアップ情報を、2:3プルアップ情報バッファ331から読み出し、その2:3プルアップ情報に基づいて、処理対象であるカレントピクチャを、フィールドベースでアップサンプルするか否かを判定する。 In step S335, the up-sample switching unit 333 reads out the 2: 3 pull-up information stored in the 2: 3 pull-up information buffer 331 by the processing in step S334 from the 2: 3 pull-up information buffer 331. 3. Based on the pull-up information, it is determined whether to upsample the current picture to be processed on a field basis.
 アップサンプル切替部333は、2:3プルアップ情報に基づいて第4の実施の形態において説明したように、カレントピクチャのアップサンプルをフィールドベースで行うか、フレームベースで行うかを選択する。例えばカレントピクチャがフィールド間で時間差が有るピクチャである場合等、カレントピクチャのアップサンプルをフィールドベースで行うと判定された場合、処理はステップS336に進む。 The upsampling switching unit 333 selects whether to upsample the current picture on a field basis or on a frame basis, as described in the fourth embodiment, based on the 2: 3 pull-up information. For example, when it is determined that upsampling of the current picture is performed on a field basis, such as when the current picture is a picture having a time difference between fields, the process proceeds to step S336.
 ステップS336において、フィールドベースアップサンプラ334は、ステップS332の処理によりベースレイヤ復号画像バッファ332に記憶されたベースレイヤ復号画像のデータを、アップサンプル切替部333を介して読み出し、そのベースレイヤ復号画像のカレントピクチャを、フィールドベースでアップサンプルする。すなわち、フィールドベースアップサンプラ334は、ベースレイヤ復号画像のカレントピクチャの第1フィールド(トップフィールド)と第2フィールド(ボトムフィールド)とをそれぞれアップサンプルする。 In step S336, the field base upsampler 334 reads the base layer decoded image data stored in the base layer decoded image buffer 332 by the processing in step S332 via the upsample switching unit 333, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a field basis. That is, the field base upsampler 334 upsamples the first field (top field) and the second field (bottom field) of the current picture of the base layer decoded image.
 フィールドベースアップサンプラ334は、さらに、そのアップサンプルに関する情報であるアップサンプル情報を生成する。このアップサンプル情報には、アップサンプルをフィールドベースで行ったことを示すアップサンプル方式識別情報と、各フィールドのアップサンプルに関する位相情報(すなわち、2つの位相情報)とを含む。 The field-based upsampler 334 further generates upsample information that is information about the upsample. This up-sample information includes up-sample method identification information indicating that up-sampling has been performed on a field basis, and phase information (that is, two pieces of phase information) regarding the up-sample of each field.
 ステップS337において、フィールドベースアップサンプラ334は、ステップS336の処理により生成された(フィールドベースでアップサンプルされた)アップサンプル画像を、エンハンスメントレイヤ画像符号化部303のフレームメモリ361に供給する。 In step S337, the field base upsampler 334 supplies the upsampled image generated by the processing in step S336 (upsampled by the field base) to the frame memory 361 of the enhancement layer image encoding unit 303.
 ステップS338において、アップサンプル情報供給部336は、ステップS336の処理により生成されたアップサンプル情報を、エンハンスメントレイヤ画像符号化部303の可逆符号化部355に供給する。つまり、アップサンプル情報供給部336は、アップサンプル情報としてアップサンプル方式識別情報と2つの位相情報を供給する。 In step S338, the upsample information supply unit 336 supplies the upsample information generated by the process of step S336 to the lossless encoding unit 355 of the enhancement layer image encoding unit 303. That is, the upsample information supply unit 336 supplies upsample method identification information and two pieces of phase information as upsample information.
 ステップS338の処理が終了すると、アップサンプル処理が終了し、処理は図38に戻る。 When the process of step S338 is completed, the upsampling process is terminated, and the process returns to FIG.
 また、ステップS335において、例えばカレントピクチャがフィールド間で時間差がないピクチャである場合等、カレントピクチャのアップサンプルをフレームベースで行うと判定された場合、処理はステップS339に進む。 If it is determined in step S335 that the current picture is upsampled on a frame basis, for example, if the current picture is a picture with no time difference between fields, the process proceeds to step S339.
 ステップS339において、フレームベースアップサンプラ335は、ステップS332の処理によりベースレイヤ復号画像バッファ332に記憶されたベースレイヤ復号画像のデータを、アップサンプル切替部333を介して読み出し、そのベースレイヤ復号画像のカレントピクチャを、フレームベースでアップサンプルする。すなわち、フレームベースアップサンプラ335は、ベースレイヤ復号画像のカレントピクチャをフレームとしてアップサンプルする。 In step S339, the frame base upsampler 335 reads the base layer decoded image data stored in the base layer decoded image buffer 332 by the processing in step S332 via the upsample switching unit 333, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a frame basis. That is, the frame base upsampler 335 upsamples the current picture of the base layer decoded image as a frame.
 フレームベースアップサンプラ335は、さらに、そのアップサンプルに関する情報であるアップサンプル情報を生成する。このアップサンプル情報には、アップサンプルをフレームベースで行ったことを示すアップサンプル方式識別情報と、フレームのアップサンプルに関する位相情報(すなわち、1つの位相情報)とを含む。 The frame base upsampler 335 further generates upsample information that is information about the upsample. This upsampling information includes upsampling method identification information indicating that the upsampling has been performed on a frame basis, and phase information (that is, one phase information) regarding the upsampling of the frame.
 ステップS340において、フレームベースアップサンプラ335は、ステップS339の処理により生成された(フレームベースでアップサンプルされた)アップサンプル画像を、エンハンスメントレイヤ画像符号化部303のフレームメモリ361に供給する。 In step S340, the frame base upsampler 335 supplies the upsampled image generated by the processing in step S339 (upsampled on the frame base) to the frame memory 361 of the enhancement layer image encoding unit 303.
 ステップS341において、アップサンプル情報供給部336は、ステップS339の処理により生成されたアップサンプル情報を、エンハンスメントレイヤ画像符号化部303の可逆符号化部355に供給する。つまり、アップサンプル情報供給部336は、アップサンプル情報としてアップサンプル方式識別情報と1つの位相情報を供給する。 In step S341, the upsample information supply unit 336 supplies the upsample information generated by the process of step S339 to the lossless encoding unit 355 of the enhancement layer image encoding unit 303. That is, the upsample information supply unit 336 supplies upsample method identification information and one phase information as upsample information.
 ステップS341の処理が終了すると、アップサンプル処理が終了し、処理は図38に戻る。 When the process of step S341 ends, the upsampling process ends, and the process returns to FIG.
  <エンハンスメントレイヤ符号化処理の流れ>
 次に、図38のステップS303において実行されるエンハンスメントレイヤ符号化処理の流れの例を、図41のフローチャートを参照して説明する。
<Enhancement layer coding process flow>
Next, an example of the flow of the enhancement layer encoding process executed in step S303 in FIG. 38 will be described with reference to the flowchart in FIG.
 エンハンスメントレイヤ符号化処理が開始されると、エンハンスメントレイヤ画像符号化部303のフレームメモリ361は、ステップS351において、図40のステップS337若しくはステップS340の処理により供給される、ベースレイヤ復号画像のアップサンプル画像を取得する。 When the enhancement layer encoding process is started, the frame memory 361 of the enhancement layer image encoding unit 303 upsamples the base layer decoded image supplied in step S351 by the process of step S337 or step S340 of FIG. Get an image.
 ステップS352において、フレームメモリ361は、ステップS351において取得したアップサンプル画像を記憶する。 In step S352, the frame memory 361 stores the upsampled image acquired in step S351.
 ステップS353乃至ステップS364の各処理は、図39のステップS311乃至ステップS322の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図39の各処理がベースレイヤに対して行われたのに対し、図41の各処理は、エンハンスメントレイヤに対して行われる。 Each process of step S353 thru | or step S364 respond | corresponds to each process of step S311 thru | or step S322 of FIG. 39, and is performed basically similarly to those processes. However, each process of FIG. 39 is performed with respect to the base layer, whereas each process of FIG. 41 is performed with respect to the enhancement layer.
 ステップS365において、可逆符号化部355は、図40のステップS338若しくはステップS341において供給される、アップサンプル情報を取得する。 In step S365, the lossless encoding unit 355 acquires the upsample information supplied in step S338 or step S341 of FIG.
 ステップS366乃至ステップS368の各処理は、図39のステップS323乃至ステップS325の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図39の各処理がベースレイヤに対して行われたのに対し、図41の各処理は、エンハンスメントレイヤに対して行われる。また、ステップS366において、可逆符号化部355は、ステップS365において取得されたアップサンプル情報も符号化ストリーム(のヘッダ情報等)に含める。つまり、ステップS375において取得されたアップサンプル情報も符号化ストリームの復号側に伝送される。 Each process of step S366 to step S368 corresponds to each process of step S323 to step S325 of FIG. 39 and is executed basically in the same manner as those processes. However, each process of FIG. 39 is performed with respect to the base layer, whereas each process of FIG. 41 is performed with respect to the enhancement layer. In step S366, the lossless encoding unit 355 also includes the upsample information acquired in step S365 in the encoded stream (its header information and the like). That is, the upsample information acquired in step S375 is also transmitted to the decoding side of the encoded stream.
 ステップS368の処理が終了すると、エンハンスメントレイヤ符号化処理が終了し、処理は図38に戻る。 When the process of step S368 is finished, the enhancement layer encoding process is finished, and the process returns to FIG.
 以上のように各処理が実行されることにより、画像符号化装置300は、符号化効率の低減を抑制することができる。換言するに、画像符号化装置300は、符号化・復号による画質の低減を抑制することができる。 By performing each process as described above, the image encoding device 300 can suppress a decrease in encoding efficiency. In other words, the image encoding device 300 can suppress a reduction in image quality due to encoding / decoding.
 <6.第6の実施の形態>
  <画像復号装置>
 次に、以上のように符号化された符号化データの復号について説明する。第4の実施の形態において説明した本技術は、符号化装置だけでなく復号装置にも適用することができる。つまり、復号装置においても、第4の実施の形態や第5の実施の形態において説明した符号化装置の場合と、基本的に同様の方法でアップサンプルを制御すればよい。ただし、復号装置の場合、符号化側から供給されるアップサンプル情報を利用してアップサンプルの制御を行うようにすればよい。
<6. Sixth Embodiment>
<Image decoding device>
Next, decoding of the encoded data encoded as described above will be described. The present technology described in the fourth embodiment can be applied not only to an encoding device but also to a decoding device. That is, up-sampling may be controlled in the decoding apparatus basically in the same manner as in the case of the encoding apparatus described in the fourth or fifth embodiment. However, in the case of a decoding apparatus, up-sampling may be controlled using up-sampling information supplied from the encoding side.
 図42は、本技術を適用した画像処理装置の一態様である、図34の画像符号化装置300に対応する画像復号装置の主な構成例を示すブロック図である。図42に示される画像復号装置400は、画像符号化装置300が生成した符号化データを、その符号化方法に対応する復号方法で復号する(すなわち、階層符号化された符号化データを階層復号する)。図42に示されるように、画像復号装置400は、逆多重化部401、ベースレイヤ画像復号部402、アップサンプル部403、およびエンハンスメントレイヤ画像復号部404を有する。 FIG. 42 is a block diagram illustrating a main configuration example of an image decoding apparatus corresponding to the image encoding apparatus 300 in FIG. 34, which is an aspect of an image processing apparatus to which the present technology is applied. The image decoding apparatus 400 shown in FIG. 42 decodes the encoded data generated by the image encoding apparatus 300 by a decoding method corresponding to the encoding method (that is, hierarchically encoded encoded data) To do). As illustrated in FIG. 42, the image decoding apparatus 400 includes a demultiplexing unit 401, a base layer image decoding unit 402, an upsampling unit 403, and an enhancement layer image decoding unit 404.
 逆多重化部401は、符号化側から伝送された、ベースレイヤ画像符号化ストリームとエンハンスメントレイヤ画像符号化ストリームとが多重化された階層画像符号化ストリームを受け取り、それを逆多重化し、ベースレイヤ画像符号化ストリームと、エンハンスメントレイヤ画像符号化ストリームとを抽出する。 The demultiplexing unit 401 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.
 ベースレイヤ画像復号部402は、逆多重化部401により抽出されたベースレイヤ画像符号化ストリームを復号し、ベースレイヤ画像(復号画像)を得る。ベースレイヤ画像復号部402は、得られたベースレイヤ画像を画像復号装置400の外部に出力する。また、ベースレイヤ画像復号部402は、ベースレイヤの復号において得られたベースレイヤ復号画像を、アップサンプル部403に供給する。 The base layer image decoding unit 402 decodes the base layer image encoded stream extracted by the demultiplexing unit 401 to obtain a base layer image (decoded image). The base layer image decoding unit 402 outputs the obtained base layer image to the outside of the image decoding device 400. Also, the base layer image decoding unit 402 supplies the base layer decoded image obtained in the decoding of the base layer to the upsampling unit 403.
 アップサンプル部403は、ベースレイヤ画像復号部402から供給される低解像度のベースレイヤ復号画像をアップサンプル処理し、エンハンスメントレイヤ画像と同じ解像度のアップサンプル画像を生成する。その際、アップサンプル部403は、ベースレイヤ復号画像の各フレームのアップサンプルを、符号化側においてベースレイヤ画像に行われた走査方式フレームレート変換処理(例えば2:3プルアップ処理)の方法に応じた方法で行う。つまり、アップサンプル部403は、画像符号化装置300から供給されるアップサンプル情報に基づく方法で、ベースレイヤ復号画像をアップサンプルする。なお、このアップサンプル情報は、エンハンスメントレイヤ画像復号部404から供給される。 The upsampling unit 403 performs upsampling processing on the low-resolution base layer decoded image supplied from the base layer image decoding unit 402, and generates an upsampled image having the same resolution as the enhancement layer image. At that time, the up-sampling unit 403 converts the up-sampling of each frame of the base layer decoded image into a scanning scheme frame rate conversion process (for example, 2: 3 pull-up process) performed on the base layer image on the encoding side. Perform according to the method. That is, the upsampling unit 403 upsamples the base layer decoded image by a method based on the upsampling information supplied from the image coding apparatus 300. The upsample information is supplied from the enhancement layer image decoding unit 404.
 このようにすることにより、フィールド間の時間差の有無に関わらず、各フレームを適切にアップサンプルすることができるので、アップサンプル画像の劣化を抑制することができる。したがって、予測精度の低減を抑制し、符号化効率の低減を抑制することができる。 By doing this, it is possible to appropriately upsample each frame regardless of the time difference between the fields, so that it is possible to suppress degradation of the upsampled image. Therefore, reduction in prediction accuracy can be suppressed, and reduction in encoding efficiency can be suppressed.
 アップサンプル部403は、生成したアップサンプル画像をエンハンスメントレイヤ画像復号部404に供給する。 The upsampling unit 403 supplies the generated upsampled image to the enhancement layer image decoding unit 404.
 エンハンスメントレイヤ画像復号部404は、逆多重化部401により抽出されたエンハンスメントレイヤ画像符号化ストリームを復号し、ベースレイヤ画像よりも高解像度のエンハンスメントレイヤ画像(復号画像)を得る。その復号において、エンハンスメントレイヤ画像復号部404は、アップサンプル部403から供給されるアップサンプル画像を参照画像として予測処理等に用いる。エンハンスメントレイヤ画像復号部404は、得られたエンハンスメントレイヤ画像を画像復号装置400の外部に出力する。 The enhancement layer image decoding unit 404 decodes the enhancement layer image encoded stream extracted by the demultiplexing unit 401, and obtains an enhancement layer image (decoded image) having a resolution higher than that of the base layer image. In the decoding, the enhancement layer image decoding unit 404 uses the upsampled image supplied from the upsampling unit 403 as a reference image for prediction processing and the like. The enhancement layer image decoding unit 404 outputs the obtained enhancement layer image to the outside of the image decoding device 400.
 また、エンハンスメントレイヤ画像復号部404は、逆多重化部401により抽出されたエンハンスメントレイヤ画像符号化ストリームからアップサンプル情報を抽出し、それをアップサンプル部403に供給する。 Also, the enhancement layer image decoding unit 404 extracts upsample information from the enhancement layer image encoded stream extracted by the demultiplexing unit 401, and supplies it to the upsampler unit 403.
  <ベースレイヤ画像復号部>
 図43は、図42のベースレイヤ画像復号部402の主な構成例を示すブロック図である。図43に示されるようにベースレイヤ画像復号部402は、蓄積バッファ411、可逆復号部412、逆量子化部413、逆直交変換部414、演算部415、ループフィルタ416、および画面並べ替えバッファ417を有する。また、ベースレイヤ画像復号部402は、フレームメモリ418、選択部419、イントラ予測部420、インター予測部421、および予測画像選択部422を有する。
<Base layer image decoding unit>
FIG. 43 is a block diagram illustrating a main configuration example of the base layer image decoding unit 402 of FIG. As shown in FIG. 43, the base layer image decoding unit 402 includes a storage buffer 411, a lossless decoding unit 412, an inverse quantization unit 413, an inverse orthogonal transform unit 414, a calculation unit 415, a loop filter 416, and a screen rearrangement buffer 417. Have The base layer image decoding unit 402 includes a frame memory 418, a selection unit 419, an intra prediction unit 420, an inter prediction unit 421, and a predicted image selection unit 422.
 蓄積バッファ411は、伝送されてきた符号化データ(逆多重化部401から供給されるベースレイヤ画像符号化ストリーム)を受け取る受け取り部でもある。蓄積バッファ411は、伝送されてきた符号化データを受け取って、蓄積し、所定のタイミングにおいてその符号化データを可逆復号部412に供給する。この符号化データには、予測モード情報などの復号に必要な情報が付加されている。 The accumulation buffer 411 is also a receiving unit that receives transmitted encoded data (a base layer image encoded stream supplied from the demultiplexing unit 401). The accumulation buffer 411 receives and accumulates the transmitted encoded data, and supplies the encoded data to the lossless decoding unit 412 at a predetermined timing. Information necessary for decoding such as prediction mode information is added to the encoded data.
 可逆復号部412は、蓄積バッファ411より供給された、可逆符号化部315により符号化された情報を、その符号化方式に対応する復号方式で復号する。可逆復号部412は、復号して得られた差分画像の量子化された係数データを、逆量子化部413に供給する。 The lossless decoding unit 412 decodes the information supplied from the accumulation buffer 411 and encoded by the lossless encoding unit 315 using a decoding method corresponding to the encoding method. The lossless decoding unit 412 supplies the quantized coefficient data of the difference image obtained by decoding to the inverse quantization unit 413.
 また、可逆復号部412は、最適な予測モードにイントラ予測モードが選択されたかインター予測モードが選択されたかを判定し、その最適な予測モードに関する情報を、イントラ予測部420およびインター予測部421の内、選択されたと判定したモードの方に供給する。つまり、例えば、符号化側において最適な予測モードとしてイントラ予測モードが選択された場合、その最適な予測モードに関する情報(イントラ予測モード情報)がイントラ予測部420に供給される。また、例えば、符号化側において最適な予測モードとしてインター予測モードが選択された場合、その最適な予測モードに関する情報(インター予測モード情報)がインター予測部421に供給される。 Further, the lossless decoding unit 412 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 420 and the inter prediction unit 421. 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 (intra prediction mode information) regarding the optimal prediction mode is supplied to the intra prediction unit 420. For example, when the inter prediction mode is selected as the optimal prediction mode on the encoding side, information (inter prediction mode information) regarding the optimal prediction mode is supplied to the inter prediction unit 421.
 さらに、可逆復号部412は、例えば、量子化行列や量子化パラメータ等の、逆量子化に必要な情報を、符号化データから抽出し、逆量子化部413に供給する。 Further, the lossless decoding unit 412 extracts information necessary for inverse quantization, such as a quantization matrix and a quantization parameter, from the encoded data, and supplies the extracted information to the inverse quantization unit 413.
 逆量子化部413は、可逆復号部412により復号されて得られた量子化された係数データを、量子化部314の量子化方式に対応する方式で逆量子化する。なお、この逆量子化部413は、逆量子化部317と同様の処理部である。逆量子化部413は、得られた係数データ(直交変換係数)を逆直交変換部414に供給する。 The inverse quantization unit 413 inversely quantizes the quantized coefficient data obtained by decoding by the lossless decoding unit 412 using a method corresponding to the quantization method of the quantization unit 314. The inverse quantization unit 413 is a processing unit similar to the inverse quantization unit 317. The inverse quantization unit 413 supplies the obtained coefficient data (orthogonal transform coefficient) to the inverse orthogonal transform unit 414.
 逆直交変換部414は、逆量子化部413から供給される直交変換係数を、必要に応じて、直交変換部313の直交変換方式に対応する方式で逆直交変換する。なお、この逆直交変換部414は、逆直交変換部318と同様の処理部である。 The inverse orthogonal transform unit 414 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 413 by a method corresponding to the orthogonal transform method of the orthogonal transform unit 313 as necessary. The inverse orthogonal transform unit 414 is a processing unit similar to the inverse orthogonal transform unit 318.
 この逆直交変換処理により差分画像の画像データが復元される。この復元された差分画像の画像データは、符号化側において直交変換される前の差分画像の画像データに対応する。以下においては、この逆直交変換部234の逆直交変換処理により得られた、復元された差分画像の画像データを、復号残差データとも称する。逆直交変換部414は、この復号残差データを、演算部415に供給する。また、演算部415には、予測画像選択部422を介して、イントラ予測部420若しくはインター予測部421から予測画像の画像データが供給される。 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 on the encoding side. Hereinafter, the restored image data of the difference image obtained by the inverse orthogonal transform process of the inverse orthogonal transform unit 234 is also referred to as decoded residual data. The inverse orthogonal transform unit 414 supplies the decoded residual data to the calculation unit 415. Further, the image data of the predicted image is supplied from the intra prediction unit 420 or the inter prediction unit 421 to the calculation unit 415 via the predicted image selection unit 422.
 演算部415は、この復号残差データと予測画像の画像データとを用いて、差分画像と予測画像とを加算した再構成画像の画像データを得る。この再構成画像は、演算部312により予測画像が減算される前の入力画像に対応する。演算部415は、その再構成画像をループフィルタ416に供給する。 The calculation unit 415 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 312. The calculation unit 415 supplies the reconstructed image to the loop filter 416.
 ループフィルタ416は、供給された再構成画像に対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜施して復号画像を生成する。例えば、ループフィルタ416は、再構成画像に対してデブロックフィルタ処理を行うことにより、ブロック歪を除去する。また、例えば、ループフィルタ416は、そのデブロックフィルタ処理結果(ブロック歪みの除去が行われた再構成画像)に対して、ウィナーフィルタ(Wiener Filter)を用いてループフィルタ処理を行うことにより画質改善を行う。 The loop filter 416 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 416 removes block distortion by performing deblocking filter processing on the reconstructed image. In addition, for example, the loop filter 416 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.
 なお、ループフィルタ416が行うフィルタ処理の種類は任意であり、上述した以外のフィルタ処理を行ってもよい。また、ループフィルタ416が、画像符号化装置から供給されたフィルタ係数を用いてフィルタ処理を行うようにしてもよい。さらに、ループフィルタ416が、このようなフィルタ処理を省略し、入力されたデータをフィルタ処理せずに出力することもできる。 Note that the type of filter processing performed by the loop filter 416 is arbitrary, and filter processing other than that described above may be performed. Further, the loop filter 416 may perform a filter process using the filter coefficient supplied from the image encoding device. Furthermore, the loop filter 416 can omit such filter processing and output the input data without performing the filter processing.
 ループフィルタ416は、フィルタ処理結果である復号画像(若しくは再構成画像)を画面並べ替えバッファ417およびフレームメモリ418に供給する。 The loop filter 416 supplies the decoded image (or reconstructed image) as the filter processing result to the screen rearrangement buffer 417 and the frame memory 418.
 画面並べ替えバッファ417は、復号画像についてフレームの順番の並べ替えを行う。すなわち、画面並べ替えバッファ417は、画面並べ替えバッファ311により符号化順に並べ替えられた各フレームの画像を、元の表示順に並べ替える。つまり、画面並べ替えバッファ417は、符号化順に供給される各フレームの復号画像の画像データを、その順に記憶し、符号化順に記憶した各フレームの復号画像の画像データを、表示順に読み出して出力する。 The screen rearrangement buffer 417 rearranges the frame order of the decoded image. That is, the screen rearrangement buffer 417 rearranges the images of the frames rearranged in the encoding order by the screen rearrangement buffer 311 in the original display order. That is, the screen rearrangement buffer 417 stores the image data of the decoded image of each frame supplied in the encoding order, reads the image data of the decoded image of each frame stored in the encoding order in the display order, and outputs it. To do.
 フレームメモリ418は、供給される復号画像を記憶し、所定のタイミングにおいて、若しくは、イントラ予測部420やインター予測部421等の外部の要求に基づいて、記憶している復号画像を参照画像として、選択部419を介してイントラ予測部420やインター予測部421に供給する。 The frame memory 418 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 420 or the inter prediction unit 421. The data is supplied to the intra prediction unit 420 and the inter prediction unit 421 via the selection unit 419.
 イントラ予測部420には、イントラ予測モード情報等が可逆復号部412から適宜供給される。イントラ予測部420は、イントラ予測部323において用いられたイントラ予測モード(最適イントラ予測モード)でイントラ予測を行い、予測画像を生成する。その際、イントラ予測部420は、選択部419を介してフレームメモリ418から供給される再構成画像の画像データを用いてイントラ予測を行う。すなわち、イントラ予測部420は、この再構成画像を参照画像(周辺画素)として利用する。イントラ予測部420は、生成した予測画像を予測画像選択部422に供給する。 Intra prediction mode information and the like are appropriately supplied from the lossless decoding unit 412 to the intra prediction unit 420. The intra prediction unit 420 performs intra prediction in the intra prediction mode (optimum intra prediction mode) used in the intra prediction unit 323, and generates a predicted image. At that time, the intra prediction unit 420 performs intra prediction using the image data of the reconstructed image supplied from the frame memory 418 via the selection unit 419. That is, the intra prediction unit 420 uses this reconstructed image as a reference image (neighboring pixels). The intra prediction unit 420 supplies the generated predicted image to the predicted image selection unit 422.
 インター予測部421には、最適予測モード情報や動き情報等が可逆復号部412から適宜供給される。インター予測部421は、可逆復号部412から取得された最適予測モード情報が示すインター予測モード(最適インター予測モード)で、フレームメモリ418から取得した復号画像(参照画像)を用いてインター予測を行い、予測画像を生成する。 The inter prediction unit 421 is appropriately supplied with optimal prediction mode information, motion information, and the like from the lossless decoding unit 412. The inter prediction unit 421 performs inter prediction using the decoded image (reference image) acquired from the frame memory 418 in the inter prediction mode (optimum inter prediction mode) indicated by the optimal prediction mode information acquired from the lossless decoding unit 412. Generate a predicted image.
 予測画像選択部422は、イントラ予測部420から供給される予測画像またはインター予測部421から供給される予測画像を、演算部415に供給する。そして、演算部415においては、その予測画像と逆直交変換部414からの復号残差データ(差分画像情報)とが加算されて再構成画像が得られる。 The prediction image selection unit 422 supplies the prediction image supplied from the intra prediction unit 420 or the prediction image supplied from the inter prediction unit 421 to the calculation unit 415. Then, in the calculation unit 415, the predicted image and the decoded residual data (difference image information) from the inverse orthogonal transform unit 414 are added to obtain a reconstructed image.
 なお、ベースレイヤ画像復号部402は、他のレイヤを参照せずに復号を行う。つまり、イントラ予測部420およびインター予測部421は、他のレイヤの復号画像を参照画像として利用しない。 The base layer image decoding unit 402 performs decoding without referring to other layers. That is, the intra prediction unit 420 and the inter prediction unit 421 do not use decoded images of other layers as reference images.
 また、フレームメモリ418は、記憶しているベースレイヤ復号画像を、エンハンスメントレイヤの復号に利用させるために、アップサンプル部403に供給する。 Also, the frame memory 418 supplies the stored base layer decoded image to the upsampling unit 403 in order to use the decoded base layer image for enhancement layer decoding.
  <アップサンプル部>
 図44は、図42のアップサンプル部403の主な構成例を示すブロック図である。図44に示されるように、アップサンプル部403は、ベースレイヤ復号画像バッファ431、アップサンプル切替部432、アップサンプル情報バッファ433、フィールドベースアップサンプラ434、およびフレームベースアップサンプラ435を有する。
<Upsample section>
FIG. 44 is a block diagram illustrating a main configuration example of the upsampling unit 403 in FIG. As illustrated in FIG. 44, the upsample unit 403 includes a base layer decoded image buffer 431, an upsample switching unit 432, an upsample information buffer 433, a field base upsampler 434, and a frame base upsampler 435.
 ベースレイヤ復号画像バッファ431は、例えばRAM、フラッシュメモリ、ハードディスク等の任意の記憶媒体を有する記憶部である。ベースレイヤ復号画像バッファ431は、例えば、ベースレイヤ画像復号部402のフレームメモリ418から供給されるベースレイヤ復号画像を取得し、記憶する。ベースレイヤ復号画像バッファ431は、例えば所定のタイミングにおいて、若しくは、例えば他の処理部やユーザ等の外部からの指示といった所定のイベントに基づいて、記憶しているベースレイヤ復号画像を読み出し、それをアップサンプル切替部432に供給する。 The base layer decoded image buffer 431 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk. The base layer decoded image buffer 431 acquires and stores the base layer decoded image supplied from the frame memory 418 of the base layer image decoding unit 402, for example. The base layer decoded image buffer 431 reads the stored base layer decoded image at a predetermined timing, for example, or based on a predetermined event such as an instruction from the outside of another processing unit or a user, for example. This is supplied to the upsample switching unit 432.
 アップサンプル切替部432は、符号化側から伝送されたアップサンプル情報に基づいて、第4の実施の形態において説明したように、ベースレイヤ復号画像バッファ431から読み出したベースレイヤ復号画像のアップサンプルの方法を選択する。つまり、ベースレイヤ復号画像バッファ431は、ベースレイヤ復号画像の供給先(アップサンプル方法)の切り替えを行う(供給先(アップサンプル方法)を選択する)。 Based on the upsample information transmitted from the encoding side, the upsample switching unit 432, as described in the fourth embodiment, the upsample of the base layer decoded image read from the base layer decoded image buffer 431. Select a method. That is, the base layer decoded image buffer 431 switches the supply destination (upsampling method) of the base layer decoded image (selects the supply destination (upsampling method)).
 アップサンプル切替部432は、アップサンプル情報バッファ433に記憶されているアップサンプル情報を読み出すと、そのアップサンプル情報に基づいて、ベースレイヤ復号画像バッファ431から読み出したベースレイヤ復号画像を、フィールドベースアップサンプラ434およびフレームベースアップサンプラ435のいずれか一方(選択した方)に供給する。 When the upsample switching unit 432 reads the upsample information stored in the upsample information buffer 433, the upsample switching unit 432 converts the base layer decoded image read from the base layer decoded image buffer 431 into the field base up based on the upsample information. This is supplied to one of the sampler 434 and the frame base up sampler 435 (the selected one).
 例えば、アップサンプル切替部432は、処理対象であるカレントピクチャをフィールドベースでアップサンプルする場合、ベースレイヤ復号画像をフィールドベースアップサンプラ434に供給する。また、アップサンプル切替部432は、処理対象であるカレントピクチャをフレームベースでアップサンプルする場合、ベースレイヤ復号画像をフレームベースアップサンプラ435に供給する。 For example, when up-sampling the current picture to be processed on a field basis, the up-sample switching unit 432 supplies the base layer decoded image to the field base up-sampler 434. Also, the upsample switching unit 432 supplies the base layer decoded image to the frame base upsampler 435 when upsampling the current picture to be processed on a frame basis.
 アップサンプル情報バッファ433は、例えばRAM、フラッシュメモリ、ハードディスク等の任意の記憶媒体を有する記憶部である。アップサンプル情報バッファ433は、例えば、エンハンスメントレイヤ画像復号部404の可逆復号部452から供給されるアップサンプル情報(符号化側から伝送されたアップサンプル情報)を取得し、記憶する。アップサンプル情報バッファ433は、例えば所定のタイミングにおいて、若しくは、例えば他の処理部やユーザ等の外部からの指示といった所定のイベントに基づいて、記憶しているアップサンプル情報を読み出し、それをアップサンプル切替部432に供給する。 The upsample information buffer 433 is a storage unit having an arbitrary storage medium such as a RAM, a flash memory, or a hard disk. The upsample information buffer 433 acquires and stores the upsample information (upsample information transmitted from the encoding side) supplied from the lossless decoding unit 452 of the enhancement layer image decoding unit 404, for example. The upsample information buffer 433 reads out the stored upsample information at a predetermined timing, for example, based on a predetermined event such as an instruction from the outside such as another processing unit or a user, and upsamples it. This is supplied to the switching unit 432.
 フィールドベースアップサンプラ434は、アップサンプル切替部432から供給されるベースレイヤ復号画像を、フィールドベースでアップサンプルし、アップサンプル画像を生成する。フィールドベースアップサンプラ434は、生成したアップサンプル画像をエンハンスメントレイヤ画像復号部404のフレームメモリ458に供給する。 The field base upsampler 434 upsamples the base layer decoded image supplied from the upsample switching unit 432 on a field basis to generate an upsampled image. The field base upsampler 434 supplies the generated upsampled image to the frame memory 458 of the enhancement layer image decoding unit 404.
 フレームベースアップサンプラ435は、アップサンプル切替部432から供給されるベースレイヤ復号画像を、フレームベースでアップサンプルし、アップサンプル画像を生成する。フレームベースアップサンプラ435は、生成したアップサンプル画像をエンハンスメントレイヤ画像復号部404のフレームメモリ458に供給する。 The frame base upsampler 435 upsamples the base layer decoded image supplied from the upsample switching unit 432 on a frame basis to generate an upsampled image. The frame base upsampler 435 supplies the generated upsampled image to the frame memory 458 of the enhancement layer image decoding unit 404.
  <エンハンスメントレイヤ画像復号部>
 図45は、図42のエンハンスメントレイヤ画像復号部404の主な構成例を示すブロック図である。図45に示されるように、エンハンスメントレイヤ画像復号部404は、図43のベースレイヤ画像復号部402と基本的に同様の構成を有する。
<Enhancement layer image decoding unit>
FIG. 45 is a block diagram illustrating a main configuration example of the enhancement layer image decoding unit 404 of FIG. As shown in FIG. 45, the enhancement layer image decoding unit 404 has basically the same configuration as the base layer image decoding unit 402 of FIG.
 つまり、エンハンスメントレイヤ画像復号部404は、図45に示されるように、蓄積バッファ451、可逆復号部452、逆量子化部453、逆直交変換部454、演算部455、ループフィルタ456、および画面並べ替えバッファ457を有する。また、エンハンスメントレイヤ画像復号部404は、フレームメモリ458、選択部459、イントラ予測部460、インター予測部461、および予測画像選択部462を有する。 That is, the enhancement layer image decoding unit 404 includes, as shown in FIG. 45, a storage buffer 451, a lossless decoding unit 452, an inverse quantization unit 453, an inverse orthogonal transform unit 454, a calculation unit 455, a loop filter 456, and a screen arrangement. A replacement buffer 457 is provided. Further, the enhancement layer image decoding unit 404 includes a frame memory 458, a selection unit 459, an intra prediction unit 460, an inter prediction unit 461, and a predicted image selection unit 462.
 これらの蓄積バッファ451乃至予測画像選択部462は、図43の蓄積バッファ411乃至予測画像選択部422に対応し、それぞれ、対応する処理部と同様の処理を行う。ただし、エンハンスメントレイヤ画像復号部404の各部は、ベースレイヤではなく、エンハンスメントレイヤ画像情報の符号化についての処理を行う。したがって、蓄積バッファ451乃至予測画像選択部462の処理の説明として、上述した図43の蓄積バッファ411乃至予測画像選択部422についての説明を適用することができるが、その場合、処理するデータは、ベースレイヤのデータではなく、エンハンスメントレイヤのデータであるものとする必要がある。また、データの入力元や出力先の処理部は、適宜、エンハンスメントレイヤ画像復号部404の、対応する処理部に置き換えて読む必要がある。 These accumulation buffer 451 through predicted image selection unit 462 correspond to the storage buffer 411 through predicted image selection unit 422 in FIG. 43, and perform the same processing as the corresponding processing unit, respectively. However, each unit of the enhancement layer image decoding unit 404 performs processing for encoding enhancement layer image information, not the base layer. Therefore, as the description of the processing of the storage buffer 451 to the predicted image selection unit 462, the description of the storage buffer 411 to the predicted image selection unit 422 of FIG. 43 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 404 as appropriate.
 なお、エンハンスメントレイヤ画像復号部404は、他のレイヤ(例えばベースレイヤ)の復号画像を参照して復号を行う。フレームメモリ458は、アップサンプル部403から供給されるアップサンプル画像を記憶する。フレームメモリ458は、イントラBLモードやリファレンスインデックスモード等において、そのベースレイヤ復号画像を、参照画像として、選択部459を介して、イントラ予測部460若しくはインター予測部461に供給する。 Note that the enhancement layer image decoding unit 404 performs decoding with reference to a decoded image of another layer (for example, a base layer). The frame memory 458 stores the upsample image supplied from the upsample unit 403. The frame memory 458 supplies the base layer decoded image as a reference image to the intra prediction unit 460 or the inter prediction unit 461 via the selection unit 459 in the intra BL mode, the reference index mode, or the like.
 また、可逆復号部452は、蓄積バッファ451から供給されるエンハンスメントレイヤ画像符号化ストリームから、符号化側から伝送されたアップサンプル情報を抽出し、それを、アップサンプル部403に供給する(復号側に伝送させる)。 Further, the lossless decoding unit 452 extracts the upsample information transmitted from the encoding side from the enhancement layer image encoded stream supplied from the accumulation buffer 451, and supplies it to the upsampling unit 403 (decoding side). To transmit).
 以上のように、符号化側から伝送されたアップサンプル情報を取得し、その情報に基づいてアップサンプル処理の方法を制御することにより、画像復号装置400は、符号化効率の低減を抑制することができる。換言するに、画像復号装置400は、復号による画質の低減を抑制することができる。 As described above, by acquiring the upsample information transmitted from the encoding side and controlling the upsample processing method based on the information, the image decoding apparatus 400 suppresses the reduction in the encoding efficiency. Can do. In other words, the image decoding apparatus 400 can suppress a reduction in image quality due to decoding.
  <画像復号処理の流れ>
 次に、以上のような画像復号装置400により実行される各処理の流れについて説明する。最初に、図46のフローチャートを参照して、画像復号処理の流れの例を説明する。
<Flow of image decoding process>
Next, the flow of each process executed by the image decoding apparatus 400 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.
 画像復号処理が開始されると、ステップS401において、画像復号装置400の逆多重化部401は、符号化側から伝送される各レイヤの符号化ストリームが多重化された階層画像符号化ストリームを逆多重化し、レイヤ毎の符号化ストリームに変換する。 When the image decoding process is started, in step S401, the demultiplexing unit 401 of the image decoding device 400 reverses the hierarchical image encoded stream obtained by multiplexing the encoded stream of each layer transmitted from the encoding side. Multiplexed and converted into an encoded stream for each layer.
 ステップS402において、ベースレイヤ画像復号部402は、ステップS401において得られたベースレイヤ画像符号化ストリームを復号する。ベースレイヤ画像復号部402は、この復号により生成されたベースレイヤ画像のデータを出力する。 In step S402, the base layer image decoding unit 402 decodes the base layer image encoded stream obtained in step S401. The base layer image decoding unit 402 outputs base layer image data generated by this decoding.
 ステップS403において、アップサンプル部403は、符号化側から供給されるアップサンプル情報に基づいて、ステップS402の処理において得られるベースレイヤ復号画像をアップサンプルし、アップサンプル画像を生成する。 In step S403, the upsampling unit 403 upsamples the base layer decoded image obtained in the process of step S402 based on the upsample information supplied from the encoding side, and generates an upsampled image.
 ステップS404において、エンハンスメントレイヤ画像復号部404は、ステップS401において得られたエンハンスメントレイヤ画像符号化ストリームを復号する。その際、エンハンスメントレイヤ画像復号部404は、ステップS403の処理により得られるアップサンプル画像を用いて復号を行う。エンハンスメントレイヤ画像復号部404は、この復号により生成されたエンハンスメントレイヤ画像のデータを出力する。 In step S404, the enhancement layer image decoding unit 404 decodes the enhancement layer image encoded stream obtained in step S401. At that time, the enhancement layer image decoding unit 404 performs decoding using the upsampled image obtained by the process of step S403. The enhancement layer image decoding unit 404 outputs enhancement layer image data generated by this decoding.
 ステップS404の処理が終了すると、画像復号装置400は、画像復号処理を終了する。このような画像復号処理により1ピクチャが処理される。したがって、画像復号装置400は、このような画像復号処理を階層化された動画像データの各ピクチャについて繰り返し実行する。ただし、全てのピクチャに対して処理を行う必要が無く、省略することができる処理は、適宜省略するようにしてもよい。 When the process of step S404 ends, the image decoding device 400 ends the image decoding process. One picture is processed by such an image decoding process. Therefore, the image decoding apparatus 400 repeatedly executes such image decoding processing for each picture of the hierarchized moving image data. However, it is not necessary to perform processing for all pictures, and processing that can be omitted may be omitted as appropriate.
  <ベースレイヤ復号処理の流れ>
 次に、図46のステップS402において実行されるベースレイヤ復号処理の流れの例を、図47のフローチャートを参照して説明する。
<Flow of base layer decoding process>
Next, an example of the flow of the base layer decoding process executed in step S402 in FIG. 46 will be described with reference to the flowchart in FIG.
 ベースレイヤ復号処理が開始されると、ステップS411において、ベースレイヤ画像復号部402の蓄積バッファ411は、伝送されてきたベースレイヤ符号化ストリームを蓄積する。ステップS412において、可逆復号部412は、蓄積バッファ411から供給されるベースレイヤ符号化ストリームを復号する。すなわち、可逆符号化部315により符号化されたIピクチャ、Pピクチャ、並びにBピクチャ等の画像データが復号される。このとき、ヘッダ情報などのビットストリームに含められた画像データ以外の各種情報も復号される。 When the base layer decoding process is started, in step S411, the accumulation buffer 411 of the base layer image decoding unit 402 accumulates the transmitted base layer encoded stream. In step S412, the lossless decoding unit 412 decodes the base layer encoded stream supplied from the accumulation buffer 411. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 315 is decoded. At this time, various information other than the image data included in the bit stream such as header information is also decoded.
 ステップS413において、逆量子化部413は、ステップS412の処理により得られた、量子化された係数を逆量子化する。 In step S413, the inverse quantization unit 413 inversely quantizes the quantized coefficient obtained by the process in step S412.
 ステップS414において、逆直交変換部414は、ステップS413において逆量子化された係数を逆直交変換する。 In step S414, the inverse orthogonal transform unit 414 performs inverse orthogonal transform on the coefficient inversely quantized in step S413.
 ステップS415において、イントラ予測部420およびインター予測部421は、予測処理を行い、予測画像を生成する。つまり、可逆復号部412において判定された、符号化の際に適用された予測モードで予測処理が行われる。より具体的には、例えば、符号化の際にイントラ予測が適用された場合、イントラ予測部420が、符号化の際に最適とされたイントラ予測モードで予測画像を生成する。また、例えば、符号化の際にインター予測が適用された場合、インター予測部421が、符号化の際に最適とされたインター予測モードで予測画像を生成する。 In step S415, the intra prediction unit 420 and the inter prediction unit 421 perform prediction processing to generate a predicted image. That is, the prediction process is performed in the prediction mode applied at the time of encoding, which is determined by the lossless decoding unit 412. More specifically, for example, when intra prediction is applied at the time of encoding, the intra prediction unit 420 generates a prediction image in the intra prediction mode optimized at the time of encoding. Further, for example, when inter prediction is applied at the time of encoding, the inter prediction unit 421 generates a prediction image in the inter prediction mode that is optimized at the time of encoding.
 ステップS416において、演算部415は、ステップS414において逆直交変換されて得られた差分画像に、ステップS415において生成された予測画像を加算する。これにより再構成画像の画像データが得られる。 In step S416, the calculation unit 415 adds the predicted image generated in step S415 to the difference image obtained by the inverse orthogonal transform in step S414. Thereby, image data of the reconstructed image is obtained.
 ステップS417において、ループフィルタ416は、ステップS416の処理により得られた再構成画像の画像データに対して、デブロックフィルタ処理や適応ループフィルタ処理等を含むループフィルタ処理を適宜行う。 In step S417, the loop filter 416 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 of step S416.
 ステップS418において、画面並べ替えバッファ417は、ステップS417においてフィルタ処理された再構成画像の各フレームの並べ替えを行う。すなわち、符号化の際に並べ替えられたフレームの順序が、元の表示の順序に並べ替えられ、出力される。 In step S418, the screen rearrangement buffer 417 rearranges each frame of the reconstructed image filtered in step S417. That is, the order of frames rearranged at the time of encoding is rearranged in the original display order and output.
 ステップS419において、フレームメモリ418は、ステップS417の処理により得られた復号画像やステップS416の処理により得られた再構成画像等のデータを記憶する。 In step S419, the frame memory 418 stores data such as a decoded image obtained by the process of step S417 and a reconstructed image obtained by the process of step S416.
 ステップS420において、フレームメモリ418は、記憶しているベースレイヤ復号画像を、アップサンプル部403に供給する。 In step S420, the frame memory 418 supplies the stored base layer decoded image to the upsampling unit 403.
 ステップS420の処理が終了すると、ベースレイヤ復号処理が終了し、処理は図46に戻る。 When the process of step S420 is completed, the base layer decoding process is terminated, and the process returns to FIG.
  <アップサンプル処理の流れ>
 次に、図46のステップS403において実行されるアップサンプル処理の流れの例を、図48のフローチャートを参照して説明する。
<Upsample processing flow>
Next, an example of the flow of the upsampling process executed in step S403 in FIG. 46 will be described with reference to the flowchart in FIG.
 アップサンプル処理が開始されると、アップサンプル部403のベースレイヤ復号画像バッファ431は、ステップS431において、図47のステップS420の処理により供給されたベースレイヤ復号画像のデータを取得する。 When the upsampling process is started, the base layer decoded image buffer 431 of the upsampling unit 403 acquires the base layer decoded image data supplied by the process of step S420 of FIG. 47 in step S431.
 ステップS432において、ベースレイヤ復号画像バッファ431は、ステップS431の処理により取得したベースレイヤ復号画像のデータを記憶する。 In step S432, the base layer decoded image buffer 431 stores the data of the base layer decoded image acquired by the process of step S431.
 ステップS433において、アップサンプル情報バッファ433は、エンハンスメントレイヤ画像復号部404から供給されるアップサンプル情報を取得する。 In step S433, the upsample information buffer 433 acquires the upsample information supplied from the enhancement layer image decoding unit 404.
 ステップS434において、アップサンプル情報バッファ433は、ステップS433の処理により取得したアップサンプル情報を記憶する。このアップサンプル情報は、符号化側から伝送されたものであり、符号化の際のアップサンプル処理に関する情報が含まれる。例えば、このアップサンプル情報には、第4の実施の形態において説明したように、アップサンプル処理がフィールドベースで行われたか、フレームベースで行われたかを示すアップサンプル方式識別情報や、(1つ若しくは2つの)位相情報等が含まれる。 In step S434, the upsample information buffer 433 stores the upsample information acquired by the process of step S433. This up-sampling information is transmitted from the encoding side, and includes information related to up-sampling processing at the time of encoding. For example, as described in the fourth embodiment, this upsampling information includes upsampling method identification information indicating whether upsampling processing has been performed on a field basis or a frame basis, and (one (Or two) phase information and the like are included.
 ステップS435において、アップサンプル切替部432は、ステップS434の処理によりアップサンプル情報バッファ433に記憶されたアップサンプル情報を、アップサンプル情報バッファ433から読み出し、そのアップサンプル情報に基づいて、処理対象であるカレントピクチャを、フィールドベースでアップサンプルするか否かを判定する。 In step S435, the upsample switching unit 432 reads the upsample information stored in the upsample information buffer 433 by the processing in step S434 from the upsample information buffer 433, and is the processing target based on the upsample information. It is determined whether to upsample the current picture on a field basis.
 アップサンプル切替部432は、アップサンプル情報に基づいて第4の実施の形態において説明したように、カレントピクチャのアップサンプルをフィールドベースで行うか、フレームベースで行うかを選択する。例えばカレントピクチャがフィールド間で時間差が有るピクチャである場合等、カレントピクチャのアップサンプルをフィールドベースで行うと判定された場合、処理はステップS436に進む。 The upsample switching unit 432 selects whether to upsample the current picture on a field basis or on a frame basis, as described in the fourth embodiment, based on the upsample information. For example, when it is determined that upsampling of the current picture is performed on a field basis, such as when the current picture is a picture having a time difference between fields, the process proceeds to step S436.
 ステップS436において、フィールドベースアップサンプラ434は、ステップS432の処理によりベースレイヤ復号画像バッファ431に記憶されたベースレイヤ復号画像のデータを、アップサンプル切替部432を介して読み出し、そのベースレイヤ復号画像のカレントピクチャを、フィールドベースでアップサンプルする。すなわち、フィールドベースアップサンプラ434は、ベースレイヤ復号画像のカレントピクチャの第1フィールド(トップフィールド)と第2フィールド(ボトムフィールド)とをそれぞれアップサンプルする。 In step S436, the field base upsampler 434 reads the base layer decoded image data stored in the base layer decoded image buffer 431 by the processing in step S432 via the upsample switching unit 432, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a field basis. That is, the field base upsampler 434 upsamples the first field (top field) and the second field (bottom field) of the current picture of the base layer decoded image.
 ステップS437において、フィールドベースアップサンプラ434は、ステップS436の処理により生成された(フィールドベースでアップサンプルされた)アップサンプル画像を、エンハンスメントレイヤ画像復号部404のフレームメモリ458に供給する。 In step S437, the field base upsampler 434 supplies the upsampled image generated by the processing in step S436 (upsampled by the field base) to the frame memory 458 of the enhancement layer image decoding unit 404.
 ステップS437の処理が終了すると、アップサンプル処理が終了し、処理は図46に戻る。 When the process of step S437 is completed, the upsampling process is terminated, and the process returns to FIG.
 また、ステップS435において、例えばカレントピクチャがフィールド間で時間差がないピクチャである場合等、カレントピクチャのアップサンプルをフレームベースで行うと判定された場合、処理はステップS438に進む。 If it is determined in step S435 that the current picture is up-sampled on a frame basis, for example, if the current picture is a picture with no time difference between fields, the process proceeds to step S438.
 ステップS438において、フレームベースアップサンプラ435は、ステップS432の処理によりベースレイヤ復号画像バッファ431に記憶されたベースレイヤ復号画像のデータを、アップサンプル切替部432を介して読み出し、そのベースレイヤ復号画像のカレントピクチャを、フレームベースでアップサンプルする。すなわち、フレームベースアップサンプラ435は、ベースレイヤ復号画像のカレントピクチャをフレームとしてアップサンプルする。 In step S438, the frame base upsampler 435 reads the base layer decoded image data stored in the base layer decoded image buffer 431 by the processing in step S432 via the upsample switching unit 432, and the base layer decoded image of the base layer decoded image is read. Upsample the current picture on a frame basis. That is, the frame base upsampler 435 upsamples the current picture of the base layer decoded image as a frame.
 ステップS439において、フレームベースアップサンプラ435は、ステップS438の処理により生成された(フレームベースでアップサンプルされた)アップサンプル画像を、エンハンスメントレイヤ画像復号部404のフレームメモリ458に供給する。 In step S439, the frame base upsampler 435 supplies the upsampled image generated by the processing in step S438 (upsampled on the frame base) to the frame memory 458 of the enhancement layer image decoding unit 404.
 ステップS439の処理が終了すると、アップサンプル処理が終了し、処理は図46に戻る。 When the process of step S439 is completed, the upsampling process is terminated, and the process returns to FIG.
  <エンハンスメントレイヤ復号処理の流れ>
 次に、図46のステップS404において実行されるエンハンスメントレイヤ復号処理の流れの例を、図49のフローチャートを参照して説明する。
<Flow of enhancement layer decoding processing>
Next, an example of the flow of enhancement layer decoding processing executed in step S404 in FIG. 46 will be described with reference to the flowchart in FIG.
 エンハンスメントレイヤ復号処理が開始されると、エンハンスメントレイヤ画像復号部404の蓄積バッファ451は、ステップS451において、伝送されてきたエンハンスメントレイヤ符号化ストリームを蓄積する。 When the enhancement layer decoding process is started, the accumulation buffer 451 of the enhancement layer image decoding unit 404 accumulates the transmitted enhancement layer encoded stream in step S451.
 ステップS452において、可逆復号部452は、蓄積バッファ451から供給されるエンハンスメントレイヤ符号化ストリームを復号する。すなわち、可逆符号化部355により符号化されたIピクチャ、Pピクチャ、並びにBピクチャ等の画像データが復号される。このとき、ヘッダ情報などのビットストリームに含められた画像データ以外の各種情報も復号される。 In step S452, the lossless decoding unit 452 decodes the enhancement layer encoded stream supplied from the accumulation buffer 451. That is, image data such as an I picture, a P picture, and a B picture encoded by the lossless encoding unit 355 is decoded. At this time, various information other than the image data included in the bit stream such as header information is also decoded.
 ステップS453において、可逆復号部452は、蓄積バッファ451から供給されるエンハンスメントレイヤ符号化ストリームからアップサンプル情報を抽出し、それをアップサンプル部403に供給する。上述したように、アップサンプル部403においては、このアップサンプル情報を用いて、ベースレイヤ復号画像のアップサンプルが行われ、アップサンプル画像が生成される。そして、そのアップサンプル画像がエンハンスメントレイヤ画像復号部404に供給される。 In step S453, the lossless decoding unit 452 extracts upsample information from the enhancement layer encoded stream supplied from the accumulation buffer 451 and supplies it to the upsampler unit 403. As described above, the upsampling unit 403 performs upsampling of the base layer decoded image using this upsampling information, and generates an upsampled image. Then, the upsampled image is supplied to the enhancement layer image decoding unit 404.
 ステップS454において、フレームメモリ458は、ステップS403(図46)の処理により得られたアップサンプル画像を取得する。 In step S454, the frame memory 458 acquires the upsampled image obtained by the processing in step S403 (FIG. 46).
 ステップS455において、フレームメモリ458は、ステップS454において取得したアップサンプル画像を記憶する。 In step S455, the frame memory 458 stores the upsampled image acquired in step S454.
 ステップS456乃至ステップS462の各処理は、図47のステップS413乃至ステップS419の各処理に対応し、それらの処理と基本的に同様に実行される。ただし、図47の各処理がベースレイヤに対して行われたのに対し、図49の各処理は、エンハンスメントレイヤに対して行われる。 Each process of step S456 to step S462 corresponds to each process of step S413 to step S419 in FIG. 47, and is executed basically in the same manner as those processes. However, each process of FIG. 47 is performed with respect to the base layer, whereas each process of FIG. 49 is performed with respect to the enhancement layer.
 ステップS462の処理が終了すると、エンハンスメントレイヤ復号処理が終了し、処理は、図46に戻る。 When the process of step S462 ends, the enhancement layer decoding process ends, and the process returns to FIG.
 以上のように各処理が実行されることにより、画像復号装置400は、符号化効率の低減を抑制することができる。換言するに、画像復号装置400は、復号による画質の低減を抑制することができる。 By executing each process as described above, the image decoding apparatus 400 can suppress a reduction in encoding efficiency. In other words, the image decoding apparatus 400 can suppress a reduction in image quality due to decoding.
 本技術の適用範囲は、スケーラブルな符号化・復号方式に基づくあらゆる画像符号化装置及び画像復号装置に適用することができる。 The applicable 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等の様に、離散コサイン変換等の直交変換と動き補償によって圧縮された画像情報(ビットストリーム)を、衛星放送、ケーブルテレビジョン、インターネット、または携帯電話機などのネットワークメディアを介して受信する際に用いられる画像符号化装置および画像復号装置に適用することができる。また、本技術は、光、磁気ディスク、およびフラッシュメモリのような記憶メディア上で処理する際に用いられる画像符号化装置および画像復号装置に適用することができる。 In addition, this technology is, for example, MPEG, H.264. 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.
 <7.第7の実施の形態>
  <多視点画像符号化・多視点画像復号への適用>
 上述した一連の処理は、多視点画像符号化・多視点画像復号に適用することができる。図50は、多視点画像符号化方式の一例を示す。
<7. Seventh 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. 50 shows an example of a multi-view image encoding method.
 図50に示されるように、多視点画像は、複数の視点(ビュー(view))の画像を含む。この多視点画像の複数のビューは、他のビューの情報を利用せずに自身のビューの画像のみを用いて符号化・復号を行うベースビューと、他のビューの情報を利用して符号化・復号を行うノンベースビューとによりなる。ノンベースビューの符号化・復号は、ベースビューの情報を利用するようにしても良いし、他のノンベースビューの情報を利用するようにしてもよい。 50, 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.
 つまり、多視点画像符号化・復号におけるビュー間の参照関係は、階層画像符号化・復号におけるレイヤ間の参照関係と同様である。したがって、図50のような多視点画像の符号化・復号において、上述した方法を適用するようにしてもよい。つまり、複数レイヤよりなる画像データの符号化・復号において、色差信号の位相に関する色差位相情報を複数生成し、伝送するようにしてもよい。このようにすることにより、多視点画像の場合も同様に、符号化や復号による画質の低減を抑制することができる。 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 in encoding / decoding of a multi-view image as shown in FIG. That is, in encoding / decoding of image data including a plurality of layers, a plurality of pieces of color difference phase information relating to the phase of the color difference signal may be generated and transmitted. By doing in this way, similarly in the case of a multi-viewpoint image, it is possible to suppress a reduction in image quality due to encoding and decoding.
  <多視点画像符号化装置>
 図51は、上述した多視点画像符号化を行う多視点画像符号化装置を示す図である。図51に示されるように、多視点画像符号化装置600は、符号化部601、符号化部602、および多重化部603を有する。
<Multi-view image encoding device>
FIG. 51 is a diagram illustrating a multi-view image encoding apparatus that performs the multi-view image encoding described above. As illustrated in FIG. 51, 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 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に本技術を適用することにより、符号化による画質の低減を抑制することができる。 By applying the present technology to such a multi-view image encoding apparatus 600, it is possible to suppress a reduction in image quality due to encoding.
  <多視点画像復号装置>
 図52は、上述した多視点画像復号を行う多視点画像復号装置を示す図である。図52に示されるように、多視点画像復号装置610は、逆多重化部611、復号部612、および復号部613を有する。
<Multi-viewpoint image decoding device>
FIG. 52 is a diagram illustrating a multi-view image decoding apparatus that performs the above-described multi-view image decoding. As illustrated in FIG. 52, 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に本技術を適用することにより、復号による画質の低減を抑制することができる。 By applying the present technology to such a multi-viewpoint image decoding apparatus 610, it is possible to suppress a reduction in image quality due to decoding.
 <8.第8の実施の形態>
  <コンピュータ>
 上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここでコンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータ等が含まれる。
<8. Eighth 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.
 図53は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 53 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.
 図53に示されるコンピュータ800において、CPU(Central Processing Unit)801、ROM(Read Only Memory)802、RAM(Random Access Memory)803は、バス804を介して相互に接続されている。 In a computer 800 shown in FIG. 53, 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 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 and installed in the storage unit 813.
 その他、このプログラムは、ROM802や記憶部813に、あらかじめインストールしておくこともできる。 In addition, this program can be installed in advance in the ROM 802 or the storage unit 813.
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 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 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つの装置(または処理部)として構成されるようにしてもよい。また、各装置(または各処理部)の構成に上述した以外の構成を付加するようにしてももちろんよい。さらに、システム全体としての構成や動作が実質的に同じであれば、ある装置(または処理部)の構成の一部を他の装置(または他の処理部)の構成に含めるようにしてもよい。 Also, in the above, 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 in detail above 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つの装置で実行する他、複数の装置で分担して実行することができる。 Further, each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
 さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, when a plurality of processes are included in one step, the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
 上述した実施形態に係る画像符号化装置及び画像復号装置は、例えば、衛星放送、ケーブル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.
 <9.第9の実施の形態>
  <第1の応用例:テレビジョン受像機>
 図54は、上述した実施形態を適用したテレビジョン装置の概略的な構成の一例を示している。テレビジョン装置900は、アンテナ901、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、表示部906、音声信号処理部907、スピーカ908、外部インタフェース(I/F)部909、制御部910、ユーザインタフェース(I/F)部911、及びバス912を備える。
<9. Ninth Embodiment>
<First Application Example: Television Receiver>
FIG. 54 shows an example of a schematic configuration of a television apparatus to which the above-described embodiment is applied. The television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, an external interface (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における伝送部としての役割を有する。 Tuner 902 extracts a signal of a desired channel from a broadcast signal received via 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 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や画像復号装置400)の機能を有する。それにより、テレビジョン装置900での画像の復号による画質の低減を抑制することができる。 In the television device 900 configured as described above, the decoder 904 has the function of the image decoding device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment. Thereby, reduction in image quality due to image decoding in the television device 900 can be suppressed.
  <第2の応用例:携帯電話機>
 図55は、上述した実施形態を適用した携帯電話機の概略的な構成の一例を示している。携帯電話機920は、アンテナ921、通信部922、音声コーデック923、スピーカ924、マイクロホン925、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、制御部931、操作部932、及びバス933を備える。
<Second application example: mobile phone>
FIG. 55 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 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に供給し、その記憶媒体に書き込ませる。 Further, in the data communication mode, for example, the control unit 931 generates character data constituting the 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, supplies the electronic mail data to the recording / reproducing unit 929, and writes the data in the storage medium.
 記録再生部929は、読み書き可能な任意の記憶媒体を有する。例えば、記憶媒体は、RAM又はフラッシュメモリなどの内蔵型の記憶媒体であってもよく、ハードディスク、磁気ディスク、光磁気ディスク、光ディスク、USB(Universal Serial Bus)メモリ、又はメモリカードなどの外部装着型の記憶媒体であってもよい。 The recording / reproducing unit 929 has an arbitrary readable / writable 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, supplies the encoded stream to the recording / reproducing unit 929, and writes the encoded stream in the storage medium.
 さらに、画像表示モードにおいて、記録再生部929は、記憶媒体に記録されている符号化ストリームを読み出して画像処理部927へ出力する。画像処理部927は、記録再生部929から入力される符号化ストリームを復号し、画像データを表示部930に供給し、その画像を表示させる。 Further, in the image display mode, the recording / reproducing unit 929 reads out the encoded stream recorded in the storage medium and outputs the encoded stream to the image processing unit 927. The image processing unit 927 decodes the encoded stream input from the recording / reproducing unit 929, supplies the image data to the display unit 930, and displays the image.
 また、テレビ電話モードにおいて、例えば、多重分離部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や画像符号化装置300)や画像復号装置(例えば、画像復号装置200や画像復号装置400)の機能を有する。それにより、携帯電話機920での画像の符号化または復号による画質の低減を抑制することができる。 In the mobile phone 920 configured as described above, the image processing unit 927 includes an image encoding device (for example, the image encoding device 100 or the image encoding device 300) or an image decoding device (for example, image decoding) according to the above-described embodiment. Functions of the apparatus 200 and the image decoding apparatus 400). Accordingly, it is possible to suppress a reduction in image quality due to image encoding or decoding on the mobile phone 920.
  <第3の応用例:記録再生装置>
 図56は、上述した実施形態を適用した記録再生装置の概略的な構成の一例を示している。記録再生装置940は、例えば、受信した放送番組の音声データ及び映像データを符号化して記録媒体に記録する。また、記録再生装置940は、例えば、他の装置から取得される音声データ及び映像データを符号化して記録媒体に記録してもよい。また、記録再生装置940は、例えば、ユーザの指示に応じて、記録媒体に記録されているデータをモニタ及びスピーカ上で再生する。このとき、記録再生装置940は、音声データおよび映像データを復号する。
<Third application example: recording / reproducing apparatus>
FIG. 56 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へ出力する。 The encoder 943 encodes video data and audio data when the video data and audio data input from the external interface unit 942 are not encoded. Then, the encoder 943 outputs the encoded bit stream to the selector 946.
 HDD944は、映像および音声などのコンテンツデータが圧縮された符号化ビットストリーム、各種プログラムおよびその他のデータを内部のハードディスクに記録する。また、HDD944は、映像および音声の再生時に、これらデータをハードディスクから読み出す。 The HDD 944 records an encoded bit stream in which content data such as video and audio are compressed, various programs, and other data on an internal hard disk. Further, the HDD 944 reads out these data from the hard disk when reproducing video and audio.
 ディスクドライブ945は、装着されている記録媒体へのデータの記録および読み出しを行う。ディスクドライブ945に装着される記録媒体は、例えばDVD(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 performs recording and reading of data to and from the mounted recording medium. 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の画像を重畳してもよい。 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 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や画像符号化装置300)の機能を有する。また、デコーダ947は、上述した実施形態に係る画像復号装置(例えば、画像復号装置200や画像復号装置400)の機能を有する。それにより、記録再生装置940での画像の符号化または復号の負荷の増大を抑制することができる。 In the thus configured recording / reproducing apparatus 940, the encoder 943 has the function of the image encoding apparatus (for example, the image encoding apparatus 100 or the image encoding apparatus 300) according to the above-described embodiment. The decoder 947 has a function of the image decoding device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment. As a result, an increase in image encoding or decoding load in the recording / reproducing apparatus 940 can be suppressed.
  <第4の応用例:撮像装置>
 図57は、上述した実施形態を適用した撮像装置の概略的な構成の一例を示している。撮像装置960は、被写体を撮像して画像を生成し、画像データを符号化して記録媒体に記録する。
<Fourth Application Example: Imaging Device>
FIG. 57 shows an example of a schematic configuration of an imaging apparatus to which the above-described embodiment is applied. The imaging device 960 images a subject to generate an image, encodes the image data, and records it on a recording medium.
 撮像装置960は、光学ブロック961、撮像部962、信号処理部963、画像処理部964、表示部965、外部インタフェース(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 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 image processing unit 964 encodes the image data input from the signal processing unit 963 and generates 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, 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 mounted on 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 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や画像符号化装置300)や画像復号装置(例えば、画像復号装置200や画像復号装置400)の機能を有する。それにより、撮像装置960での画像の符号化または復号による画質の低減を抑制することができる。 In the imaging device 960 configured as described above, the image processing unit 964 includes an image encoding device (for example, the image encoding device 100 or the image encoding device 300) or an image decoding device (for example, an image) according to the above-described embodiment. Functions of the decoding device 200 and the image decoding device 400). Accordingly, it is possible to suppress a reduction in image quality due to image encoding or decoding in the imaging device 960.
 <10.第10の実施の形態>
  <スケーラブル符号化の応用例:第1のシステム>
 次に、スケーラブル符号化(階層(画像)符号化)されたスケーラブル符号化データの具体的な利用例について説明する。スケーラブル符号化は、例えば、図58に示される例のように、伝送するデータの選択のために利用される。
<10. Tenth Embodiment>
<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. Scalable encoding is used for selection of data to be transmitted, for example, as in the example shown in FIG.
 図58に示されるデータ伝送システム1000において、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを読み出し、ネットワーク1003を介して、パーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置に配信する。 In the data transmission system 1000 shown in FIG. 58, the distribution server 1002 reads the scalable encoded data stored in the scalable encoded data storage unit 1001, and via the network 1003, the personal computer 1004, the AV device 1005, the tablet This is distributed to the terminal device such as the device 1006 and the mobile phone 1007.
 その際、配信サーバ1002は、端末装置の能力や通信環境等に応じて、適切な品質の符号化データを選択して伝送する。配信サーバ1002が不要に高品質なデータを伝送しても、端末装置において高画質な画像を得られるとは限らず、遅延やオーバフローの発生要因となる恐れがある。また、不要に通信帯域を占有したり、端末装置の負荷を不要に増大させたりしてしまう恐れもある。逆に、配信サーバ1002が不要に低品質なデータを伝送しても、端末装置において十分な画質の画像を得ることができない恐れがある。そのため、配信サーバ1002は、スケーラブル符号化データ記憶部1001に記憶されているスケーラブル符号化データを、適宜、端末装置の能力や通信環境等に対して適切な品質の符号化データとして読み出し、伝送する。 At this time, the distribution server 1002 selects and transmits encoded data of appropriate quality according to the capability of the terminal device, the communication environment, and the like. Even if the distribution server 1002 transmits 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として伝送する。 The distribution server 1002 selects an appropriate layer according to the capability of the terminal device that transmits data, the communication environment, and the like, and reads the data of the layer. For example, the distribution server 1002 reads high-quality scalable encoded data (BL + EL) 1011 from the scalable encoded data storage unit 1001 and transmits it to the personal computer 1004 and the tablet device 1006 with high processing capability as they are. . On the other hand, for example, the distribution server 1002 extracts base layer data from the scalable encoded data (BL + EL) 1011 for the AV device 1005 and the cellular phone 1007 having a low processing capability, and performs scalable encoding. Although it is data of the same content as the data (BL + EL) 1011, it is transmitted as scalable encoded data (BL) 1012 having a lower quality than the scalable encoded data (BL + EL) 1011.
 このようにスケーラブル符号化データを用いることにより、データ量を容易に調整することができるので、遅延やオーバフローの発生を抑制したり、端末装置や通信媒体の負荷の不要な増大を抑制したりすることができる。また、スケーラブル符号化データ(BL+EL)1011は、レイヤ間の冗長性が低減されているので、各レイヤの符号化データを個別のデータとする場合よりもそのデータ量を低減させることができる。したがって、スケーラブル符号化データ記憶部1001の記憶領域をより効率よく使用することができる。 By using scalable encoded data in this way, the amount of data can be easily adjusted, so that the occurrence of 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 cellular phone 1007, the hardware performance of the terminal device varies depending on the device. Moreover, since the application which a terminal device performs is also various, the capability of the software is also various. Furthermore, the network 1003 serving as a communication medium can be applied to any communication network including wired, wireless, or both, such as the Internet and a LAN (Local Area Network), and has various data transmission capabilities. Furthermore, there is a risk of change due to other communications.
 そこで、配信サーバ1002は、データ伝送を開始する前に、データの伝送先となる端末装置と通信を行い、端末装置のハードウエア性能や、端末装置が実行するアプリケーション(ソフトウエア)の性能等といった端末装置の能力に関する情報、並びに、ネットワーク1003の利用可能帯域幅等の通信環境に関する情報を得るようにしてもよい。そして、配信サーバ1002が、ここで得た情報を基に、適切なレイヤを選択するようにしてもよい。 Therefore, the distribution server 1002 communicates with the terminal device that is the data transmission destination before starting data transmission, and the hardware performance of the terminal device, the performance of the application (software) executed by the terminal device, etc. Information regarding the capability of the terminal device and information regarding the communication environment such as the available bandwidth of the network 1003 may be obtained. The distribution server 1002 may select an appropriate layer based on the information obtained here.
 なお、レイヤの抽出は、端末装置において行うようにしてもよい。例えば、パーソナルコンピュータ1004が、伝送されたスケーラブル符号化データ(BL+EL)1011を復号し、ベースレイヤの画像を表示しても良いし、エンハンスメントレイヤの画像を表示しても良い。また、例えば、パーソナルコンピュータ1004が、伝送されたスケーラブル符号化データ(BL+EL)1011から、ベースレイヤのスケーラブル符号化データ(BL)1012を抽出し、記憶したり、他の装置に転送したり、復号してベースレイヤの画像を表示したりするようにしてもよい。 Note that the layer extraction may be performed by the terminal device. For example, the personal computer 1004 may decode the transmitted scalable encoded data (BL + EL) 1011 and display a base layer image or an enhancement layer image. Further, for example, the personal computer 1004 extracts the base layer scalable encoded data (BL) 1012 from the transmitted scalable encoded data (BL + EL) 1011 and stores it or transfers it to another device. The base layer image may be displayed after decoding.
 もちろん、スケーラブル符号化データ記憶部1001、配信サーバ1002、ネットワーク1003、および端末装置の数はいずれも任意である。また、以上においては、配信サーバ1002がデータを端末装置に伝送する例について説明したが、利用例はこれに限定されない。データ伝送システム1000は、スケーラブル符号化された符号化データを端末装置に伝送する際、端末装置の能力や通信環境等に応じて、適切なレイヤを選択して伝送するシステムであれば、任意のシステムに適用することができる。 Of course, the numbers of the scalable encoded data storage unit 1001, the distribution server 1002, the network 1003, and the terminal devices are arbitrary. In the above, the example in which the distribution server 1002 transmits data to the terminal device has been described, but the usage example is not limited to this. The data transmission system 1000 may be any system as long as it transmits a scalable encoded data to a terminal device by selecting an appropriate layer according to the capability of the terminal device or a communication environment. Can be applied to the system.
 そして、図58のようなデータ伝送システム1000においても、図1乃至図49を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 In the data transmission system 1000 as shown in FIG. 58, 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のシステム>
 また、スケーラブル符号化は、例えば、図59に示される例のように、複数の通信媒体を介する伝送のために利用される。
<Application example of scalable coding: second system>
Also, scalable coding is used for transmission via a plurality of communication media, for example, as in the example shown in FIG.
 図59に示されるデータ伝送システム1100において、放送局1101は、地上波放送1111により、ベースレイヤのスケーラブル符号化データ(BL)1121を伝送する。また、放送局1101は、有線若しくは無線またはその両方の通信網よりなる任意のネットワーク1112を介して、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する(例えばパケット化して伝送する)。 In the data transmission system 1100 shown in FIG. 59, 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を受け取る。 The terminal apparatus 1102 has a reception function of the terrestrial broadcast 1111 broadcast by the broadcast station 1101 and receives base layer scalable encoded data (BL) 1121 transmitted via the terrestrial broadcast 1111. The terminal apparatus 1102 further has a communication function for performing communication via the network 1112, and receives enhancement layer scalable encoded data (EL) 1122 transmitted via the network 1112.
 端末装置1102は、例えばユーザ指示等に応じて、地上波放送1111を介して取得したベースレイヤのスケーラブル符号化データ(BL)1121を、復号してベースレイヤの画像を得たり、記憶したり、他の装置に伝送したりする。 The terminal device 1102 decodes the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 according to, for example, a user instruction, and obtains or stores a base layer image. Or transmit to other devices.
 また、端末装置1102は、例えばユーザ指示等に応じて、地上波放送1111を介して取得したベースレイヤのスケーラブル符号化データ(BL)1121と、ネットワーク1112を介して取得したエンハンスメントレイヤのスケーラブル符号化データ(EL)1122とを合成して、スケーラブル符号化データ(BL+EL)を得たり、それを復号してエンハンスメントレイヤの画像を得たり、記憶したり、他の装置に伝送したりする。 Also, the terminal device 1102, for example, in response to a user instruction, the base layer scalable encoded data (BL) 1121 acquired via the terrestrial broadcast 1111 and the enhancement layer scalable encoded acquired via the network 1112 Data (EL) 1122 is combined to obtain scalable encoded data (BL + EL), or decoded to obtain an enhancement layer image, stored, or transmitted to another device.
 以上のように、スケーラブル符号化データは、例えばレイヤ毎に異なる通信媒体を介して伝送させることができる。したがって、負荷を分散させることができ、遅延やオーバフローの発生を抑制することができる。 As described above, the scalable encoded data can be transmitted via a communication medium that is different for each layer, for example. Therefore, the load can be distributed, and the occurrence of delay and overflow can be suppressed.
 また、状況に応じて、伝送に使用する通信媒体を、レイヤ毎に選択することができるようにしてもよい。例えば、データ量が比較的多いベースレイヤのスケーラブル符号化データ(BL)1121を帯域幅の広い通信媒体を介して伝送させ、データ量が比較的少ないエンハンスメントレイヤのスケーラブル符号化データ(EL)1122を帯域幅の狭い通信媒体を介して伝送させるようにしてもよい。また、例えば、エンハンスメントレイヤのスケーラブル符号化データ(EL)1122を伝送する通信媒体を、ネットワーク1112とするか、地上波放送1111とするかを、ネットワーク1112の利用可能帯域幅に応じて切り替えるようにしてもよい。もちろん、任意のレイヤのデータについて同様である。 Also, depending on the situation, the communication medium used for transmission may be selected for each layer. For example, scalable encoded data (BL) 1121 of a base layer having a relatively large amount of data is transmitted via a communication medium having a wide bandwidth, and scalable encoded data (EL) 1122 having a relatively small amount of data is transmitted. You may make it transmit via a communication medium with a narrow bandwidth. Further, for example, the communication medium for transmitting the enhancement layer scalable encoded data (EL) 1122 is switched between the network 1112 and the terrestrial broadcast 1111 according to the available bandwidth of the network 1112. May be. Of course, the same applies to data of an arbitrary layer.
 このように制御することにより、データ伝送における負荷の増大を、より抑制することができる。 By controlling in this way, an increase in load in data transmission can be further suppressed.
 もちろん、レイヤ数は任意であり、伝送に利用する通信媒体の数も任意である。また、データ配信先となる端末装置1102の数も任意である。さらに、以上においては、放送局1101からの放送を例に説明したが、利用例はこれに限定されない。データ伝送システム1100は、スケーラブル符号化された符号化データを、レイヤを単位として複数に分割し、複数の回線を介して伝送するシステムであれば、任意のシステムに適用することができる。 Of course, the number of layers is arbitrary, and the number of communication media used for transmission is also arbitrary. In addition, the number of terminal devices 1102 serving as data distribution destinations is also arbitrary. Furthermore, in the above description, broadcasting from the broadcasting station 1101 has been described as an example, but the usage example is not limited to this. The data transmission system 1100 can be applied to any system as long as it is a system that divides scalable encoded data into a plurality of layers and transmits them through a plurality of lines.
 そして、図59のようなデータ伝送システム1100においても、図1乃至図49を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 In the data transmission system 1100 as shown in FIG. 59, 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.
  <スケーラブル符号化の応用例:第3のシステム>
 また、スケーラブル符号化は、例えば、図60に示される例のように、符号化データの記憶に利用される。
<Application example of scalable coding: third system>
Further, scalable encoding is used for storing encoded data as in the example shown in FIG. 60, for example.
 図60に示される撮像システム1200において、撮像装置1201は、被写体1211を撮像して得られた画像データをスケーラブル符号化し、スケーラブル符号化データ(BL+EL)1221として、スケーラブル符号化データ記憶装置1202に供給する。 In the imaging system 1200 illustrated in FIG. 60, the imaging device 1201 performs scalable coding on image data obtained by imaging the subject 1211, and as scalable coded data (BL + EL) 1221, a scalable coded data storage device 1202. To supply.
 スケーラブル符号化データ記憶装置1202は、撮像装置1201から供給されるスケーラブル符号化データ(BL+EL)1221を、状況に応じた品質で記憶する。例えば、通常時の場合、スケーラブル符号化データ記憶装置1202は、スケーラブル符号化データ(BL+EL)1221からベースレイヤのデータを抽出し、低品質でデータ量の少ないベースレイヤのスケーラブル符号化データ(BL)1222として記憶する。これに対して、例えば、注目時の場合、スケーラブル符号化データ記憶装置1202は、高品質でデータ量の多いスケーラブル符号化データ(BL+EL)1221のまま記憶する。 The scalable encoded data storage device 1202 stores the scalable encoded data (BL + EL) 1221 supplied from the imaging device 1201 with quality according to the situation. For example, in the normal case, the scalable encoded data storage device 1202 extracts base layer data from the scalable encoded data (BL + EL) 1221, and the base layer scalable encoded data ( BL) 1222. On the other hand, for example, in the case of attention, the scalable encoded data storage device 1202 stores scalable encoded data (BL + EL) 1221 with high quality and a large amount of data.
 このようにすることにより、スケーラブル符号化データ記憶装置1202は、必要な場合のみ、画像を高画質に保存することができるので、画質劣化による画像の価値の低減を抑制しながら、データ量の増大を抑制することができ、記憶領域の利用効率を向上させることができる。 By doing so, the scalable encoded data storage device 1202 can store an image with high image quality only when necessary, so that an increase in the amount of data can be achieved while suppressing a reduction in the value of the image due to image quality degradation. And the use efficiency of the storage area can be improved.
 例えば、撮像装置1201が監視カメラであるとする。撮像画像に監視対象(例えば侵入者)が写っていない場合(通常時の場合)、撮像画像の内容は重要でない可能性が高いので、データ量の低減が優先され、その画像データ(スケーラブル符号化データ)は、低品質に記憶される。これに対して、撮像画像に監視対象が被写体1211として写っている場合(注目時の場合)、その撮像画像の内容は重要である可能性が高いので、画質が優先され、その画像データ(スケーラブル符号化データ)は、高品質に記憶される。 For example, assume that the imaging device 1201 is a surveillance camera. When the monitoring target (for example, an intruder) is not shown in the captured image (in the normal case), the content of the captured image is likely to be unimportant, so reduction of the data amount is given priority, and the image data (scalable coding) Data) is stored in low quality. On the other hand, when the monitoring target appears in the captured image as the subject 1211 (at the time of attention), since the content of the captured image is likely to be important, the image quality is given priority and the image data (scalable) (Encoded data) is stored with high quality.
 なお、通常時であるか注目時であるかは、例えば、スケーラブル符号化データ記憶装置1202が、画像を解析することにより判定しても良い。また、撮像装置1201が判定し、その判定結果をスケーラブル符号化データ記憶装置1202に伝送するようにしてもよい。 Note that whether it is normal time or attention time may be determined by the scalable encoded data storage device 1202 analyzing an image, for example. Alternatively, the imaging apparatus 1201 may make a determination, and the determination result may be transmitted to the scalable encoded data storage device 1202.
 なお、通常時であるか注目時であるかの判定基準は任意であり、判定基準とする画像の内容は任意である。もちろん、画像の内容以外の条件を判定基準とすることもできる。例えば、収録した音声の大きさや波形等に応じて切り替えるようにしてもよいし、所定の時間毎に切り替えるようにしてもよいし、ユーザ指示等の外部からの指示によって切り替えるようにしてもよい。 It should be noted that the criterion for determining whether the time is normal or noting is arbitrary, and the content of the image as the criterion is arbitrary. Of course, conditions other than the contents of the image can also be used as the criterion. For example, it may be switched according to the volume or waveform of the recorded sound, may be switched at every predetermined time, or may be switched by an external instruction such as a user instruction.
 また、以上においては、通常時と注目時の2つの状態を切り替える例を説明したが、状態の数は任意であり、例えば、通常時、やや注目時、注目時、非常に注目時等のように、3つ以上の状態を切り替えるようにしてもよい。ただし、この切り替える状態の上限数は、スケーラブル符号化データのレイヤ数に依存する。 In the above, an example of switching between the normal state and the attention state has been described. However, the number of states is arbitrary, for example, normal, slightly attention, attention, very attention, etc. Alternatively, three or more states may be switched. However, the upper limit number of states to be switched depends on the number of layers of scalable encoded data.
 また、撮像装置1201が、スケーラブル符号化のレイヤ数を、状態に応じて決定するようにしてもよい。例えば、通常時の場合、撮像装置1201が、低品質でデータ量の少ないベースレイヤのスケーラブル符号化データ(BL)1222を生成し、スケーラブル符号化データ記憶装置1202に供給するようにしてもよい。また、例えば、注目時の場合、撮像装置1201が、高品質でデータ量の多いベースレイヤのスケーラブル符号化データ(BL+EL)1221を生成し、スケーラブル符号化データ記憶装置1202に供給するようにしてもよい。 Also, the imaging apparatus 1201 may determine the number of layers for scalable coding according to the state. For example, in a normal case, the imaging apparatus 1201 may generate base layer scalable encoded data (BL) 1222 with low quality and a small amount of data, and supply the scalable encoded data storage apparatus 1202 to the scalable encoded data storage apparatus 1202. For example, when attention is paid, the imaging device 1201 generates scalable encoded data (BL + EL) 1221 having a high quality and a large amount of data, and supplies the scalable encoded data storage device 1202 to the scalable encoded data storage device 1202. May be.
 以上においては、監視カメラを例に説明したが、この撮像システム1200の用途は任意であり、監視カメラに限定されない。 In the above, the monitoring camera has been described as an example. However, the use of the imaging system 1200 is arbitrary and is not limited to the monitoring camera.
 そして、図60のような撮像システム1200においても、図1乃至図49を参照して上述した階層符号化・階層復号への適用と同様に本技術を適用することにより、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 In the imaging system 1200 as shown in FIG. 60, 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.
 <11.第11の実施の形態>
  <実施のその他の例>
 以上において本技術を適用する装置やシステム等の例を説明したが、本技術は、これに限らず、このような装置またはシステムを構成する装置に搭載するあらゆる構成、例えば、システムLSI(Large Scale Integration)等としてのプロセッサ、複数のプロセッサ等を用いるモジュール、複数のモジュール等を用いるユニット、ユニットにさらにその他の機能を付加したセット等(すなわち、装置の一部の構成)として実施することもできる。
<11. Eleventh 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) .
  <ビデオセット>
 本技術をセットとして実施する場合の例について、図61を参照して説明する。図61は、本技術を適用したビデオセットの概略的な構成の一例を示している。
<Video set>
An example of implementing the present technology as a set will be described with reference to FIG. FIG. 61 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.
 図61に示されるビデオセット1300は、このような多機能化された構成であり、画像の符号化や復号(いずれか一方でもよいし、両方でも良い)に関する機能を有するデバイスに、その機能に関連するその他の機能を有するデバイスを組み合わせたものである。 The video set 1300 shown in FIG. 61 has such a multi-functional configuration, and a device having a function relating 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.
 図61に示されるように、ビデオセット1300は、ビデオモジュール1311、外部メモリ1312、パワーマネージメントモジュール1313、およびフロントエンドモジュール1314等のモジュール群と、コネクティビティ1321、カメラ1322、およびセンサ1323等の関連する機能を有するデバイスとを有する。 As shown in FIG. 61, 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 a connectivity 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
 モジュールは、互いに関連するいくつかの部品的機能をまとめ、まとまりのある機能を持った部品としたものである。具体的な物理的構成は任意であるが、例えば、それぞれ機能を有する複数のプロセッサ、抵抗やコンデンサ等の電子回路素子、その他のデバイス等を配線基板等に配置して一体化したものが考えられる。また、モジュールに他のモジュールやプロセッサ等を組み合わせて新たなモジュールとすることも考えられる。 A module is a component that has several functions that are related to each other and that has 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.
 図61の例の場合、ビデオモジュール1311は、画像処理に関する機能を有する構成を組み合わせたものであり、アプリケーションプロセッサ、ビデオプロセッサ、ブロードバンドモデム1333、およびRFモジュール1334を有する。 61, 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において実行されるプログラム(ソフトウエア構成)により実現するようにしてもよい。 A processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by a SoC (System On a Chip), and for example, there is a system LSI (Large Scale Integration). 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.
 図61のアプリケーションプロセッサ1331は、画像処理に関するアプリケーションを実行するプロセッサである。このアプリケーションプロセッサ1331において実行されるアプリケーションは、所定の機能を実現するために、演算処理を行うだけでなく、例えばビデオプロセッサ1332等、ビデオモジュール1311内外の構成を必要に応じて制御することもできる。 61 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は、例えば、ビデオプロセッサ1332が処理する画像データ、画像データが符号化されたストリーム、アプリケーションプログラム、設定データ等、任意の情報を処理する。 The broadband modem 1333 converts the data (digital signal) transmitted by wired or wireless (or both) broadband communication via a broadband line such as the Internet or a public telephone line network into an analog signal by digitally modulating the data. The analog signal received by the broadband communication is demodulated and converted into data (digital signal). The broadband modem 1333 processes 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 Frequency) signal transmitted / 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.
 なお、図61において点線1341に示されるように、アプリケーションプロセッサ1331とビデオプロセッサ1332を、一体化し、1つのプロセッサとして構成されるようにしてもよい。 Note that, as indicated by a dotted line 1341 in FIG. 61, 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 that is provided outside the video module 1311 and has a storage device 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に対してフロントエンド機能(アンテナ側の送受信端の回路)を提供するモジュールである。図61に示されるように、フロントエンドモジュール1314は、例えば、アンテナ部1351、フィルタ1352、および増幅部1353を有する。 The front-end module 1314 is a module that provides the RF module 1334 with a front-end function (circuit on the transmitting / receiving end on the antenna side). As shown in FIG. 61, 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に供給する。 The 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が、画像や音声の出力デバイス(モニタやスピーカ等)を有するようにしてもよい。 Note 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 camera 1322 is a module having a function of capturing 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 as a module in the above 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 having the above configuration, 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.
  <ビデオプロセッサの構成例>
 図62は、本技術を適用したビデオプロセッサ1332(図61)の概略的な構成の一例を示している。
<Example of video processor configuration>
FIG. 62 shows an example of a schematic configuration of a video processor 1332 (FIG. 61) to which the present technology is applied.
 図62の例の場合、ビデオプロセッサ1332は、ビデオ信号およびオーディオ信号の入力を受けてこれらを所定の方式で符号化する機能と、符号化されたビデオデータおよびオーディオデータを復号し、ビデオ信号およびオーディオ信号を再生出力する機能とを有する。 In the case of the example of FIG. 62, the video processor 1332 receives the input of 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.
 図62に示されるように、ビデオプロセッサ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. 62, 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(図61)等から入力されたビデオ信号を取得し、デジタル画像データに変換する。第1画像拡大縮小部1402は、画像データに対してフォーマット変換や画像の拡大縮小処理等を行う。第2画像拡大縮小部1403は、画像データに対して、ビデオ出力処理部1404を介して出力する先でのフォーマットに応じて画像の拡大縮小処理を行ったり、第1画像拡大縮小部1402と同様のフォーマット変換や画像の拡大縮小処理等を行ったりする。ビデオ出力処理部1404は、画像データに対して、フォーマット変換やアナログ信号への変換等を行って、再生されたビデオ信号として例えばコネクティビティ1321(図61)等に出力する。 The video input processing unit 1401 acquires, for example, a video signal input from the connectivity 1321 (FIG. 61) 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. 61).
 フレームメモリ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 write / read 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(図61)等から入力されたオーディオ信号を例えばデジタル変換し、例えばMPEGオーディオ方式やAC3(AudioCode number 3)方式等の所定の方式で符号化する。オーディオエンコーダ1410は、オーディオ信号が符号化されたデータであるオーディオストリームをオーディオESバッファ1409Aに順次書き込む。オーディオデコーダ1411は、オーディオESバッファ1409Bから供給されたオーディオストリームを復号し、例えばアナログ信号への変換等を行って、再生されたオーディオ信号として例えばコネクティビティ1321(図61)等に供給する。 The audio encoder 1410 converts, for example, an audio signal input from the connectivity 1321 (FIG. 61), 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, for example, an analog signal, and supplies the reproduced audio signal to, for example, the connectivity 1321 (FIG. 61).
 多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化する。この多重化の方法(すなわち、多重化により生成されるビットストリームのフォーマット)は任意である。また、この多重化の際に、多重化部(MUX)1412は、所定のヘッダ情報等をビットストリームに付加することもできる。つまり、多重化部(MUX)1412は、多重化によりストリームのフォーマットを変換することができる。例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、転送用のフォーマットのビットストリームであるトランスポートストリームに変換する。また、例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、記録用のファイルフォーマットのデータ(ファイルデータ)に変換する。 The multiplexing unit (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等(いずれも図61)から供給されたトランスポートストリームを、ストリームバッファ1414を介して取得し、逆多重化することにより、ビデオストリームとオーディオストリームとに変換することができる。また、例えば、逆多重化部(DMUX)1413は、例えばコネクティビティ1321(図61)により各種記録媒体から読み出されたファイルデータを、ストリームバッファ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 demultiplexer (DMUX) 1413 obtains the transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 61) 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 demultiplexing unit (DMUX) 1413 obtains, for example, file data read from various recording media by the connectivity 1321 (FIG. 61) via the stream buffer 1414, and demultiplexes the file data. It can be converted into a video stream and an audio stream.
 ストリームバッファ1414は、ビットストリームをバッファリングする。例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図61)等に供給する。 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 Is also supplied to FIG.
 また、例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321(図61)等に供給し、各種記録媒体に記録させる。 Further, for example, the stream buffer 1414 buffers the file data supplied from the multiplexing unit (MUX) 1412 and, for example, connectivity 1321 (FIG. 61) 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等(いずれも図61)を介して取得したトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(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. 61), 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(図61)等において各種記録媒体から読み出されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(DMUX)1413に供給する。 In addition, the stream buffer 1414 buffers file data read from various recording media in the connectivity 1321 (FIG. 61), for example, and at a predetermined timing or based on an external request or the like, a demultiplexing unit (DMUX) 1413.
 次に、このような構成のビデオプロセッサ1332の動作の例について説明する。例えば、コネクティビティ1321(図61)等からビデオプロセッサ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. 61) 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 into 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(図61)等からビデオプロセッサ1332に入力されたオーディオ信号は、オーディオエンコーダ1410によって符号化され、オーディオストリームとして、オーディオESバッファ1409Aに書き込まれる。 Also, an audio signal input to the video processor 1332 from the connectivity 1321 (FIG. 61) 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(いずれも図61)等を介して外部ネットワークに出力される。また、多重化部(MUX)1412により生成されたファイルデータは、ストリームバッファ1414にバッファされた後、例えばコネクティビティ1321(図61)等に出力され、各種記録媒体に記録される。 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, file data, or the like. 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 and the broadband modem 1333 (both of which are shown in FIG. 61). 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. 61) and recorded on various recording media.
 また、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図61)等を介して外部ネットワークからビデオプロセッサ1332に入力されたトランスポートストリームは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。また、例えばコネクティビティ1321(図61)等において各種記録媒体から読み出され、ビデオプロセッサ1332に入力されたファイルデータは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。つまり、ビデオプロセッサ1332に入力されたトランスポートストリームまたはファイルデータは、逆多重化部(DMUX)1413によりビデオストリームとオーディオストリームとに分離される。 For example, the transport stream input from the external network to the video processor 1332 via the connectivity 1321 or the broadband modem 1333 (both in FIG. 61) is buffered in the stream buffer 1414 and then demultiplexed (DMUX). 1413 is demultiplexed. Further, for example, file data read from various recording media in the connectivity 1321 (FIG. 61) 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が、画像符号化装置100、画像復号装置200、画像符号化装置300、または画像復号装置400の機能を有するようにすればよい。このようにすることにより、ビデオプロセッサ1332は、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 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 may have the functions of the image encoding device 100, the image decoding device 200, the image encoding device 300, or the image decoding device 400. 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.
  <ビデオプロセッサの他の構成例>
 図63は、本技術を適用したビデオプロセッサ1332(図61)の概略的な構成の他の例を示している。図63の例の場合、ビデオプロセッサ1332は、ビデオデータを所定の方式で符号化・復号する機能とを有する。
<Other configuration examples of video processor>
FIG. 63 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 61) to which the present technology is applied. In the case of the example in FIG. 63, the video processor 1332 has a function of encoding / decoding video data by a predetermined method.
 より具体的には、図63に示されるように、ビデオプロセッサ1332は、制御部1511、ディスプレイインタフェース1512、ディスプレイエンジン1513、画像処理エンジン1514、および内部メモリ1515を有する。また、ビデオプロセッサ1332は、コーデックエンジン1516、メモリインタフェース1517、多重化・逆多重化部(MUX DMUX)1518、ネットワークインタフェース1519、およびビデオインタフェース1520を有する。 More specifically, as shown in FIG. 63, 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 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.
 図63に示されるように、制御部1511は、例えば、メインCPU1531、サブCPU1532、およびシステムコントローラ1533を有する。メインCPU1531は、ビデオプロセッサ1332内の各処理部の動作を制御するためのプログラム等を実行する。メインCPU1531は、そのプログラム等に従って制御信号を生成し、各処理部に供給する(つまり、各処理部の動作を制御する)。サブCPU1532は、メインCPU1531の補助的な役割を果たす。例えば、サブCPU1532は、メインCPU1531が実行するプログラム等の子プロセスやサブルーチン等を実行する。システムコントローラ1533は、メインCPU1531およびサブCPU1532が実行するプログラムを指定する等、メインCPU1531およびサブCPU1532の動作を制御する。 63, 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(図61)等に出力する。例えば、ディスプレイインタフェース1512は、デジタルデータの画像データをアナログ信号に変換し、再生されたビデオ信号として、またはデジタルデータの画像データのまま、コネクティビティ1321(図61)のモニタ装置等に出力する。 The display interface 1512 outputs image data to, for example, the connectivity 1321 (FIG. 61) 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 of the connectivity 1321 (FIG. 61) or the like as a reproduced video signal or as image data of 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 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 in 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.
 図63に示される例において、コーデックエンジン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. 63, 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 Video1541 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 using 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 performs multiplexing and demultiplexing of 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(いずれも図61)等向けのインタフェースである。ビデオインタフェース1520は、例えばコネクティビティ1321やカメラ1322(いずれも図61)等向けのインタフェースである。 The network interface 1519 is an interface for, for example, a broadband modem 1333, connectivity 1321 (both are FIG. 61), and the like. The video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are shown in FIG. 61).
 次に、このようなビデオプロセッサ1332の動作の例について説明する。例えば、コネクティビティ1321やブロードバンドモデム1333(いずれも図61)等を介して外部ネットワークからトランスポートストリームを受信すると、そのトランスポートストリームは、ネットワークインタフェース1519を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、例えば、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図61)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてファイルデータに変換され、ビデオインタフェース1520を介して例えばコネクティビティ1321(図61)等に出力され、各種記録媒体に記録される。 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 and the broadband modem 1333 (both of which are shown in FIG. 61), 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. 61) 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. 61) through the interface 1520 and recorded on various recording media.
 さらに、例えば、コネクティビティ1321(図61)等により図示せぬ記録媒体から読み出された、画像データが符号化された符号化データのファイルデータは、ビデオインタフェース1520を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図61)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてトランスポートストリームに変換され、ネットワークインタフェース1519を介して例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図61)等に供給され図示せぬ他の装置に伝送される。 Further, for example, encoded data file data obtained by encoding image data read from a recording medium (not shown) by the connectivity 1321 (FIG. 61) or the like 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 (FIG. 61) via the display interface 1512. 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. 61) are supplied via the network interface 1519 and transmitted to another device (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 or the external memory 1312. The power management module 1313 controls power supply to the control unit 1511, for example.
 このように構成されるビデオプロセッサ1332に本技術を適用する場合、コーデックエンジン1516に、上述した各実施形態に係る本技術を適用すればよい。つまり、例えば、コーデックエンジン1516が、画像符号化装置100、画像復号装置200、画像符号化装置300、および画像復号装置400を実現する機能ブロックを有するようにすればよい。このようにすることにより、ビデオプロセッサ1332は、図1乃至図49参照して上述した効果と同様の効果を得ることができる。 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 codec engine 1516. That is, for example, the codec engine 1516 may have function blocks that implement the image encoding device 100, the image decoding device 200, the image encoding device 300, and the image decoding device 400. 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.
  <装置への適用例>
 ビデオセット1300は、画像データを処理する各種装置に組み込むことができる。例えば、ビデオセット1300は、テレビジョン装置900(図54)、携帯電話機920(図55)、記録再生装置940(図56)、撮像装置960(図57)等に組み込むことができる。ビデオセット1300を組み込むことにより、その装置は、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。
<Application example to equipment>
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. 54), the mobile phone 920 (FIG. 55), the recording / reproducing device 940 (FIG. 56), the imaging device 960 (FIG. 57), 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は、例えば、図58のデータ伝送システム1000におけるパーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置、図59のデータ伝送システム1100における放送局1101および端末装置1102、並びに、図60の撮像システム1200における撮像装置1201およびスケーラブル符号化データ記憶装置1202等にも組み込むことができる。ビデオセット1300を組み込むことにより、その装置は、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 Further, 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. 58, 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. 60, 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乃至図49を参照して上述した効果と同様の効果を得ることができる。 In addition, even if it is a part of each structure of the video set 1300 mentioned above, if it contains the video processor 1332, it can implement as a structure to which this technique is applied. 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 or the video module 1311 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 49 can be obtained.
 つまり、ビデオプロセッサ1332を含むものであればどのような構成であっても、ビデオセット1300の場合と同様に、画像データを処理する各種装置に組み込むことができる。例えば、ビデオプロセッサ1332、点線1341により示されるプロセッサ、ビデオモジュール1311、または、ビデオユニット1361を、テレビジョン装置900(図54)、携帯電話機920(図55)、記録再生装置940(図56)、撮像装置960(図57)、図58のデータ伝送システム1000におけるパーソナルコンピュータ1004、AV機器1005、タブレットデバイス1006、および携帯電話機1007等の端末装置、図59のデータ伝送システム1100における放送局1101および端末装置1102、並びに、図60の撮像システム1200における撮像装置1201およびスケーラブル符号化データ記憶装置1202等に組み込むことができる。そして、本技術を適用したいずれかの構成を組み込むことにより、その装置は、ビデオセット1300の場合と同様に、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 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. 54), a mobile phone 920 (FIG. 55), a recording / playback device 940 (FIG. 56), Image pickup apparatus 960 (FIG. 57), terminal devices such as personal computer 1004, AV device 1005, tablet device 1006, and mobile phone 1007 in data transmission system 1000 in FIG. 58, 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. 60, 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 49 as in the case of the video set 1300. .
 <12.第12の実施の形態>
  <MPEG-DASHの応用例>
 なお、本技術は、予め用意された解像度等が互いに異なる複数の符号化データの中から適切なものをセグメント単位で選択して使用する、例えば、後述するMPEG DASH等のようなHTTPストリーミングのコンテンツ再生システムやWi-Fi規格の無線通信システムにも適用することができる。
<12. Twelfth Embodiment>
<Application example of MPEG-DASH>
In addition, this technique selects and uses an appropriate one of a plurality of pieces of encoded data having different resolutions prepared in advance for each segment, for example, an HTTP streaming content such as MPEG DASH to be described later The present invention can also be applied to a reproduction system and a Wi-Fi standard wireless communication system.
  <コンテンツ再生システムの概要>
 まず、図64乃至図66を参照し、本技術を適用可能なコンテンツ再生システムについて概略的に説明する。
<Outline of content playback system>
First, a content reproduction system to which the present technology can be applied will be schematically described with reference to FIGS.
 以下では、まず、このような各実施形態において共通する基本構成について図64および図65を参照して説明する。 Hereinafter, first, a basic configuration common to each of such embodiments will be described with reference to FIGS. 64 and 65.
 図64は、コンテンツ再生システムの構成を示した説明図である。図64に示したように、コンテンツ再生システムは、コンテンツサーバ1610、1611と、ネットワーク1612と、コンテンツ再生装置1620(クライアント装置)とを備える。 FIG. 64 is an explanatory diagram showing the configuration of the content reproduction system. As shown in FIG. 64, the content reproduction system includes content servers 1610 and 1611, a network 1612, and a content reproduction device 1620 (client device).
 コンテンツサーバ1610、1611とコンテンツ再生装置1620は、ネットワーク1612を介して接続されている。このネットワーク1612は、ネットワーク1612に接続されている装置から送信される情報の有線、または無線の伝送路である。 The content servers 1610 and 1611 and the content playback device 1620 are connected via a network 1612. The network 1612 is a wired or wireless transmission path for information transmitted from a device connected to the network 1612.
 例えば、ネットワーク1612は、インターネット、電話回線網、衛星通信網などの公衆回線網や、Ethernet(登録商標)を含む各種のLAN(Local Area Network)、WAN(Wide Area Network)などを含んでもよい。また、ネットワーク1612は、IP-VPN(Internet Protocol-Virtual Private Network)などの専用回線網を含んでもよい。 For example, the network 1612 may include a public line network such as the Internet, a telephone line network, a satellite communication network, various local area networks (LAN) including Ethernet (registered trademark), a wide area network (WAN), and the like. The network 1612 may include a dedicated line network such as IP-VPN (Internet Protocol-Virtual Private Network).
 コンテンツサーバ1610は、コンテンツデータを符号化し、符号化データおよび符号化データのメタ情報を含むデータファイルを生成して記憶する。なお、コンテンツサーバ1610がMP4形式のデータファイルを生成する場合、符号化データは「mdat」に該当し、メタ情報は「moov」に該当する。 The content server 1610 encodes the content data, and generates and stores the encoded data and a data file including the meta information of the encoded data. When the content server 1610 generates an MP4 format data file, the encoded data corresponds to “mdat” and the meta information corresponds to “moov”.
 また、コンテンツデータは、音楽、講演およびラジオ番組などの音楽データや、映画、テレビジョン番組、ビデオプログラム、写真、文書、絵画および図表などの映像データや、ゲームおよびソフトウエアなどであってもよい。 Further, the content data may be music data such as music, lectures and radio programs, video data such as movies, television programs, video programs, photographs, documents, pictures and charts, games and software, etc. .
 ここで、コンテンツサーバ1610は、同一コンテンツに関し、異なるビットレートで複数のデータファイルを生成する。またコンテンツサーバ1611は、コンテンツ再生装置1620からのコンテンツの再生要求に対して、コンテンツサーバ1610のURLの情報に、コンテンツ再生装置1620で当該URLに付加させるパラメータの情報を含めてコンテンツ再生装置1620に送信する。以下、図62を参照して当該事項について具体的に説明する。 Here, the content server 1610 generates a plurality of data files at different bit rates for the same content. In response to a content playback request from the content playback device 1620, the content server 1611 includes the URL information of the content server 1610 in the content playback device 1620, including information on parameters to be added to the URL by the content playback device 1620. Send. Hereinafter, this matter will be specifically described with reference to FIG.
 図65は、図64のコンテンツ再生システムにおけるデータの流れを示した説明図である。コンテンツサーバ1610は、同一のコンテンツデータを異なるビットレートで符号化し、図65に示したように例えば2MbpsのファイルA、1.5MbpsのファイルB、1MbpsのファイルCを生成する。相対的に、ファイルAはハイビットレートであり、ファイルBは標準ビットレートであり、ファイルCはロービットレートである。 FIG. 65 is an explanatory diagram showing a data flow in the content reproduction system of FIG. The content server 1610 encodes the same content data at different bit rates, and generates, for example, a 2 Mbps file A, a 1.5 Mbps file B, and a 1 Mbps file C as shown in FIG. In comparison, file A has a high bit rate, file B has a standard bit rate, and file C has a low bit rate.
 また、図65に示したように、各ファイルの符号化データは複数のセグメントに区分されている。例えば、ファイルAの符号化データは「A1」、「A2」、「A3」、・・・「An」というセグメントに区分されており、ファイルBの符号化データは「B1」、「B2」、「B3」、・・・「Bn」というセグメントに区分されており、ファイルCの符号化データは「C1」、「C2」、「C3」、・・・「Cn」というセグメントに区分されている。 Also, as shown in FIG. 65, the encoded data of each file is divided into a plurality of segments. For example, the encoded data of file A is divided into segments “A1”, “A2”, “A3”,... “An”, and the encoded data of file B is “B1”, “B2”, “B3”,... “Bn” is segmented, and the encoded data of file C is segmented as “C1”, “C2”, “C3”,. .
 なお、各セグメントはMP4のシンクサンプル(たとえば、AVC/H.264の映像符号化ではIDR-ピクチャ)で始まる単独で再生可能な1または2以上の映像符号化データおよび音声符号化データより構成サンプルで構成されてもよい。例えば、一秒30フレームのビデオデータが15フレーム固定長のGOP(Group of Picture)にて符号化されていた場合、各セグメントは、4GOPに相当する2秒分の映像ならびに音声符号化データであっても、20GOPに相当する10秒分の映像ならびに音声符号化データであってもよい。 Each segment consists of one or more video encoded data and audio encoded data that can be reproduced independently, starting with an MP4 sync sample (for example, IDR-picture for AVC / H.264 video encoding). It may be constituted by. For example, when video data of 30 frames per second is encoded by a GOP (Group of Picture) having a fixed length of 15 frames, each segment is 2 seconds worth of video and audio encoded data corresponding to 4 GOPs. Alternatively, it may be video and audio encoded data for 10 seconds corresponding to 20 GOP.
 また、各ファイルにおける配置順番が同一のセグメントによる再生範囲(コンテンツの先頭からの時間位置の範囲)は同一である。例えば、セグメント「A2」、セグメント「B2」、およびセグメント「C2」の再生範囲は同一であり、各セグメントが2秒分の符号化データである場合、セグメント「A2」、セグメント「B2」、およびセグメント「C2」の再生範囲は、いずれもコンテンツの2秒乃至4秒である。 Also, the playback range (the range of time position from the beginning of the content) by the segments with the same arrangement order in each file is the same. For example, when the playback ranges of the segment “A2”, the segment “B2”, and the segment “C2” are the same and each segment is encoded data for 2 seconds, the segment “A2”, the segment “B2”, and The playback range of the segment “C2” is 2 to 4 seconds for the content.
 コンテンツサーバ1610は、このような複数のセグメントから構成されるファイルA乃至ファイルCを生成すると、ファイルA乃至ファイルCを記憶する。そして、コンテンツサーバ1610は、図65に示したように、異なるファイルを構成するセグメントをコンテンツ再生装置1620に順次に送信し、コンテンツ再生装置1620は、受信したセグメントをストリーミング再生する。 When the content server 1610 generates the file A to the file C composed of such a plurality of segments, the content server 1610 stores the file A to the file C. Then, as shown in FIG. 65, the content server 1610 sequentially transmits segments constituting different files to the content playback device 1620, and the content playback device 1620 performs streaming playback of the received segments.
 ここで、本実施形態によるコンテンツサーバ1610は、各符号化データのビットレート情報およびアクセス情報を含むプレイリストファイル(以下、MPD:Media Presentation Description)をコンテンツ再生装置1620に送信し、コンテンツ再生装置1620は、MPDに基づき、複数のビットレートのうちのいずれかのビットレートを選択し、選択したビットレートに対応するセグメントの送信をコンテンツサーバ1610に要求する。 Here, the content server 1610 according to the present embodiment transmits a playlist file (MPD: MediaMPPresentation Description) including the bit rate information and access information of each encoded data to the content playback device 1620, and the content playback device 1620. Selects one of a plurality of bit rates based on the MPD, and requests the content server 1610 to transmit a segment corresponding to the selected bit rate.
 図64では、1つのコンテンツサーバ1610のみが図示されているが、本開示は係る例に限定されないことは言うまでもない。 64, only one content server 1610 is illustrated, but it goes without saying that the present disclosure is not limited to such an example.
 図66は、MPDの具体例を示した説明図である。図66に示したように、MPDには、異なるビットレート(BANDWIDTH)を有する複数の符号化データに関するアクセス情報が含まれる。例えば、図66に示したMPDは、256Kbps、1.024Mbps、1.384Mbps、1.536Mbps、2.048Mbpsの各々の符号化データが存在することを示す共に、各符号化データに関するアクセス情報を含む。コンテンツ再生装置1620は、かかるMPDに基づき、ストリーミング再生する符号化データのビットレートを動的に変更することが可能である。 FIG. 66 is an explanatory diagram showing a specific example of MPD. As shown in FIG. 66, MPD includes access information regarding a plurality of encoded data having different bit rates (BANDWIDTH). For example, the MPD shown in FIG. 66 indicates that each encoded data of 256 Kbps, 1.024 Mbps, 1.384 Mbps, 1.536 Mbps, and 2.048 Mbps exists, and includes access information regarding each encoded data. . The content playback device 1620 can dynamically change the bit rate of encoded data to be streamed based on the MPD.
 なお、図64にはコンテンツ再生装置1620の一例として携帯端末を示しているが、コンテンツ再生装置1620はかかる例に限定されない。例えば、コンテンツ再生装置1620は、PC(Personal Computer)、家庭用映像処理装置(DVDレコーダ、ビデオデッキなど)、PDA(Personal Digital Assistants)、家庭用ゲーム機器、家電機器などの情報処理装置であってもよい。また、コンテンツ再生装置1620は、携帯電話、PHS(Personal Handyphone System)、携帯用音楽再生装置、携帯用映像処理装置、携帯用ゲーム機器などの情報処理装置であってもよい。 64 shows a mobile terminal as an example of the content playback device 1620, the content playback device 1620 is not limited to such an example. For example, the content playback device 1620 is an information processing device such as a PC (Personal Computer), a home video processing device (DVD recorder, VCR, etc.), a PDA (Personal Digital Assistant), a home game device, or a home appliance. Also good. The content playback device 1620 may be an information processing device such as a mobile phone, a PHS (Personal Handyphone System), a portable music playback device, a portable video processing device, or a portable game device.
  <コンテンツサーバ1610の構成>
 以上、図64乃至図66を参照し、コンテンツ再生システムの概要を説明した。続いて、図67を参照し、コンテンツサーバ1610の構成を説明する。
<Configuration of Content Server 1610>
The outline of the content reproduction system has been described above with reference to FIGS. Next, the configuration of the content server 1610 will be described with reference to FIG.
 図67は、コンテンツサーバ1610の構成を示した機能ブロック図である。図67に示したように、コンテンツサーバ1610は、ファイル生成部1631と、記憶部1632と、通信部1633とを備える。 FIG. 67 is a functional block diagram showing the configuration of the content server 1610. As illustrated in FIG. 67, the content server 1610 includes a file generation unit 1631, a storage unit 1632, and a communication unit 1633.
 ファイル生成部1631は、コンテンツデータを符号化するエンコーダ1641を備え、同一のコンテンツでビットレートが異なる複数の符号化データ、および上述したMPDを生成する。例えば、ファイル生成部1631は、256Kbps、1.024Mbps、1.384Mbps、1.536Mbps、2.048Mbpsの各々の符号化データを生成した場合、図66に示したようなMPDを生成する。 The file generation unit 1631 includes an encoder 1641 that encodes content data, and generates a plurality of encoded data having the same content and different bit rates, and the MPD described above. For example, when the file generation unit 1631 generates encoded data of 256 Kbps, 1.024 Mbps, 1.384 Mbps, 1.536 Mbps, and 2.048 Mbps, the MPD as illustrated in FIG. 66 is generated.
 記憶部1632は、ファイル生成部1631により生成されたビットレートが異なる複数の符号化データおよびMPDを記憶する。この記憶部1632は、不揮発性メモリ、磁気ディスク、光ディスク、およびMO(Magneto  Optical)ディスクなどの記憶媒体であってもよい。不揮発性メモリとしては、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)、EPROM(Erasable Programmable ROM)があげられる。また、磁気ディスクとしては、ハードディスクおよび円盤型磁性体ディスクなどがあげられる。また、光ディスクとしては、CD(Compact Disc)、DVD-R(Digital Versatile Disc Recordable)およびBD(Blu-Ray Disc(登録商標))などがあげられる。 The storage unit 1632 stores a plurality of encoded data and MPD having different bit rates generated by the file generation unit 1631. The storage unit 1632 may be a storage medium such as a nonvolatile memory, a magnetic disk, an optical disk, and an MO (Magneto-Optical) disk. Non-volatile memory includes, for example, EEPROM (Electrically Erasable Programmable Read-Only 、 Memory) and EPROM (Erasable Programmable ROM). Examples of the magnetic disk include a hard disk and a disk type magnetic disk. Examples of the optical disc include CD (Compact Disc), DVD-R (Digital Versatile Disc Recordable), and BD (Blu-Ray Disc (registered trademark)).
 通信部1633は、コンテンツ再生装置1620とのインタフェースであって、ネットワーク1612を介してコンテンツ再生装置1620と通信する。より詳細には、通信部1633は、HTTPに従ってコンテンツ再生装置1620と通信するHTTPサーバとしての機能を有する。例えば、通信部1633は、MPDをコンテンツ再生装置1620に送信し、HTTPに従ってコンテンツ再生装置1620からMPDに基づいて要求された符号化データを記憶部1632から抽出し、HTTPレスポンスとしてコンテンツ再生装置1620に符号化データを送信する。 The communication unit 1633 is an interface with the content reproduction device 1620 and communicates with the content reproduction device 1620 via the network 1612. More specifically, the communication unit 1633 has a function as an HTTP server that communicates with the content reproduction device 1620 according to HTTP. For example, the communication unit 1633 transmits the MPD to the content reproduction device 1620, extracts encoded data requested from the content reproduction device 1620 based on the MPD according to HTTP from the storage unit 1632, and transmits the encoded data to the content reproduction device 1620 as an HTTP response. Transmit encoded data.
  <コンテンツ再生装置1620の構成>
 以上、本実施形態によるコンテンツサーバ1610の構成を説明した。続いて、図68を参照し、コンテンツ再生装置1620の構成を説明する。
<Configuration of Content Playback Device 1620>
The configuration of the content server 1610 according to the present embodiment has been described above. Subsequently, the configuration of the content reproduction device 1620 will be described with reference to FIG.
 図68は、コンテンツ再生装置1620の構成を示した機能ブロック図である。図68に示したように、コンテンツ再生装置1620は、通信部1651と、記憶部1652と、再生部1653と、選択部1654と、現在地取得部1656とを備える。 FIG. 68 is a functional block diagram showing the configuration of the content reproduction apparatus 1620. As shown in FIG. 68, the content playback device 1620 includes a communication unit 1651, a storage unit 1652, a playback unit 1653, a selection unit 1654, and a current location acquisition unit 1656.
 通信部1651は、コンテンツサーバ1610とのインタフェースであって、コンテンツサーバ1610に対してデータを要求し、コンテンツサーバ1610からデータを取得する。より詳細には、通信部1651は、HTTPに従ってコンテンツ再生装置1620と通信するHTTPクライアントとしての機能を有する。例えば、通信部1651は、HTTP Rangeを利用することにより、コンテンツサーバ1610からMPDや符号化データのセグメントを選択的に取得することができる。 The communication unit 1651 is an interface with the content server 1610, requests data from the content server 1610, and acquires data from the content server 1610. More specifically, the communication unit 1651 has a function as an HTTP client that communicates with the content reproduction device 1620 according to HTTP. For example, the communication unit 1651 can selectively acquire an MPD or encoded data segment from the content server 1610 by using HTTP Range.
 記憶部1652は、コンテンツの再生に関する種々の情報を記憶する。例えば、通信部1651によりコンテンツサーバ1610から取得されるセグメントを順次にバッファリングする。記憶部1652にバッファリングされた符号化データのセグメントは、FIFO(First In First Out)で再生部1653へ順次に供給される。 The storage unit 1652 stores various information related to content reproduction. For example, the segments acquired from the content server 1610 by the communication unit 1651 are sequentially buffered. The segments of the encoded data buffered in the storage unit 1652 are sequentially supplied to the reproduction unit 1653 by FIFO (First In First Out).
 また記憶部1652は、後述のコンテンツサーバ1611から要求された、MPDに記述されているコンテンツのURLへのパラメータの付加指示に基づき、通信部1651でURLにパラメータを付加して、そのURLへアクセスするための定義を記憶する。 The storage unit 1652 adds a parameter to the URL by the communication unit 1651 based on an instruction to add a parameter to the URL of the content described in the MPD requested from the content server 1611 described later, and accesses the URL. The definition to do is memorized.
 再生部1653は、記憶部1652から供給されるセグメントを順次に再生する。具体的には、再生部1653は、セグメントのデコード、DA変換、およびレンダリングなどを行う。 The playback unit 1653 sequentially plays back the segments supplied from the storage unit 1652. Specifically, the playback unit 1653 performs segment decoding, DA conversion, rendering, and the like.
 選択部1654は、MPDに含まれるいずれのビットレートに対応する符号化データのセグメントを取得するかを同一コンテンツ内で順次に選択する。例えば、選択部1654がネットワーク1612の帯域に応じてセグメント「A1」、「B2」、「A3」を順次に選択すると、図65に示したように、通信部1651がコンテンツサーバ1610からセグメント「A1」、「B2」、「A3」を順次に取得する。 The selection unit 1654 sequentially selects, in the same content, which segment of the encoded data to acquire corresponding to which bit rate included in the MPD. For example, when the selection unit 1654 sequentially selects the segments “A1”, “B2”, and “A3” according to the bandwidth of the network 1612, the communication unit 1651 causes the segment “A1” from the content server 1610 as illustrated in FIG. ”,“ B2 ”, and“ A3 ”are acquired sequentially.
 現在地取得部1656は、コンテンツ再生装置1620の現在の位置を取得するものであり、例えばGPS(Global Positioning System)受信機などの現在地を取得するモジュールで構成されていても良い。また現在地取得部1656は、無線ネットワークを使用してコンテンツ再生装置1620の現在の位置を取得するものであってもよい。 The current location acquisition unit 1656 acquires the current position of the content playback device 1620, and may be configured with a module that acquires the current location, such as a GPS (Global Positioning System) receiver. The current location acquisition unit 1656 may acquire the current position of the content reproduction device 1620 using a wireless network.
  <コンテンツサーバ1611の構成>
 図69は、コンテンツサーバ1611の構成例を示す説明図である。図69に示したように、コンテンツサーバ1611は、記憶部1671と、通信部1672とを備える。
<Configuration of Content Server 1611>
FIG. 69 is an explanatory diagram showing a configuration example of the content server 1611. As illustrated in FIG. 69, the content server 1611 includes a storage unit 1671 and a communication unit 1672.
 記憶部1671は、MPDのURLの情報を記憶する。MPDのURLの情報は、コンテンツの再生を要求するコンテンツ再生装置1620からの求めに応じ、コンテンツサーバ1611からコンテンツ再生装置1620へ送信される。また記憶部1671は、コンテンツ再生装置1620へのMPDのURLの情報を提供する際に、当該MPDに記述されているURLにコンテンツ再生装置1620でパラメータを付加させる際の定義情報を記憶する。 The storage unit 1671 stores the MPD URL information. The MPD URL information is transmitted from the content server 1611 to the content reproduction device 1620 in response to a request from the content reproduction device 1620 that requests content reproduction. In addition, when providing the MPD URL information to the content playback device 1620, the storage unit 1671 stores definition information when the content playback device 1620 adds a parameter to the URL described in the MPD.
 通信部1672は、コンテンツ再生装置1620とのインタフェースであって、ネットワーク1612を介してコンテンツ再生装置1620と通信する。すなわち通信部1672は、コンテンツの再生を要求するコンテンツ再生装置1620から、MPDのURLの情報の要求を受信し、コンテンツ再生装置1620へMPDのURLの情報を送信する。通信部1672から送信されるMPDのURLには、コンテンツ再生装置1620でパラメータを付加させるための情報が含まれる。 The communication unit 1672 is an interface with the content reproduction device 1620 and communicates with the content reproduction device 1620 via the network 1612. That is, the communication unit 1672 receives an MPD URL information request from the content reproduction device 1620 that requests content reproduction, and transmits the MPD URL information to the content reproduction device 1620. The MPD URL transmitted from the communication unit 1672 includes information for adding a parameter by the content reproduction device 1620.
 コンテンツ再生装置1620でMPDのURLに付加させるパラメータについては、コンテンツサーバ1611およびコンテンツ再生装置1620で共有する定義情報で様々に設定することが出来る。一例を挙げれば、コンテンツ再生装置1620の現在位置、コンテンツ再生装置1620を使用するユーザのユーザID、コンテンツ再生装置1620のメモリサイズ、コンテンツ再生装置1620のストレージの容量などの情報を、コンテンツ再生装置1620でMPDのURLに付加させることが出来る。 The parameters added to the MPD URL by the content playback device 1620 can be variously set by definition information shared by the content server 1611 and the content playback device 1620. For example, information such as the current position of the content playback device 1620, the user ID of the user who uses the content playback device 1620, the memory size of the content playback device 1620, the storage capacity of the content playback device 1620, and the like. Can be added to the MPD URL.
 以上のような構成のコンテンツ再生システムにおいて、図1乃至図49を参照して上述したような本技術を適用することにより、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。 In the content reproduction system configured as described above, by applying the present technology as described above with reference to FIGS. 1 to 49, the same effects as those described with reference to FIGS. 1 to 49 are obtained. be able to.
 すなわち、コンテンツサーバ1610のエンコーダ1641は、上述した実施形態に係る画像符号化装置(例えば、画像符号化装置100や画像符号化装置300)の機能を有する。また、コンテンツ再生装置1620の再生部1653は、上述した実施形態に係る画像復号装置(例えば、画像復号装置200や画像復号装置400)の機能を有する。それにより、符号化・復号による画質の低減を抑制することができる。 That is, the encoder 1641 of the content server 1610 has the function of the image encoding device (for example, the image encoding device 100 or the image encoding device 300) according to the above-described embodiment. Also, the playback unit 1653 of the content playback device 1620 has the function of the image decoding device (for example, the image decoding device 200 or the image decoding device 400) according to the above-described embodiment. Thereby, reduction in image quality due to encoding / decoding can be suppressed.
 また、コンテンツ再生システムにおいて、本技術により符号化されたデータを送受信することにより、符号化・復号による画質の低減を抑制することができる。 Also, in the content reproduction system, transmission / reception of data encoded by the present technology can suppress a reduction in image quality due to encoding / decoding.
 <13.第13の実施の形態>
  <Wi-Fi規格の無線通信システムの応用例>
 本技術を適用可能な無線通信システムにおける無線通信装置の基本動作例について説明する。
<13. Thirteenth Embodiment>
<Application examples of Wi-Fi standard wireless communication systems>
A basic operation example of a wireless communication device in a wireless communication system to which the present technology can be applied will be described.
  <無線通信装置の基本動作例>
 最初に、P2P(Peer to Peer)接続を確立して特定のアプリケーションを動作させるまでの無線パケット送受信がなされる。
<Example of basic operation of wireless communication device>
First, wireless packet transmission / reception is performed until a specific application is operated after a P2P (Peer to Peer) connection is established.
 次に、第2層で接続する前に、使用する特定のアプリケーションを指定してからP2P接続を確立して特定のアプリケーションを動作させるまでの無線パケット送受信がなされる。その後、第2層での接続後に、特定のアプリケーションを起動する場合の無線パケット送受信がなされる。 Next, before connecting in the second layer, wireless packet transmission / reception is performed from the time when the specific application to be used is specified until the P2P connection is established and the specific application is operated. Thereafter, after connection in the second layer, radio packet transmission / reception is performed when a specific application is started.
  <特定のアプリケーション動作開始時における通信例>
 図70および図71は、上述したP2P(Peer to Peer)接続を確立して特定のアプリケーションを動作させるまでの無線パケット送受信の例であり、無線通信の基礎となる各装置による通信処理例を示すシーケンスチャートである。具体的には、Wi-Fi Allianceにおいて標準化されているWi-Fiダイレクト(Direct)規格(Wi-Fi P2Pと呼ばれることもある)での接続に至るダイレクト接続の確立手順の一例を示す。
<Communication example at the start of specific application operation>
70 and 71 are examples of wireless packet transmission / reception from the establishment of the above-described P2P (Peer to Peer) connection until a specific application is operated, and shows an example of communication processing by each device serving as the basis of wireless communication. It is a sequence chart. Specifically, an example of a procedure for establishing a direct connection leading to a connection based on the Wi-Fi Direct (Direct) standard (sometimes referred to as Wi-Fi P2P) standardized by the Wi-Fi Alliance is shown.
 ここで、Wi-Fiダイレクトでは、複数の無線通信装置が互いの存在を検出する(Device Discovery、Service Discovery)。そして、接続機器選択を行うとその選択された機器間において、WPS(Wi-Fi Protected Setup)で機器認証を行うことによりダイレクト接続を確立する。また、Wi-Fiダイレクトでは、複数の無線通信装置が親機(Group Owner)または子機(Client)の何れとしての役割を担うかを決定して通信グループを形成する。 Here, in Wi-Fi Direct, multiple wireless communication devices detect each other's presence (Device Discovery, Service Discovery). When the connected device is selected, direct connection is established between the selected devices by performing device authentication using WPS (Wi-Fi Protected Setup). Further, in Wi-Fi Direct, a communication group is formed by determining whether a plurality of wireless communication devices play a role as a parent device (Group Owner) or a child device (Client).
 ただし、この通信処理例では、一部のパケット送受信については省略して示す。例えば、初回接続時には、上述したように、WPSを使うためのパケット交換が必要であり、AuthenticationRequest/Responseのやり取り等においてもパケット交換が必要となる。しかしながら、図70および図71では、これらのパケット交換についての図示を省略し、2回目以降の接続についてのみを示す。 However, in this communication processing example, some packet transmission / reception is omitted. For example, at the time of the initial connection, as described above, packet exchange for using WPS is necessary, and packet exchange is also necessary for exchange of Authentication Request / Response. However, in FIG. 70 and FIG. 71, illustration of these packet exchanges is omitted, and only the second and subsequent connections are shown.
 なお、図70および図71では、第1無線通信装置1701および第2無線通信装置1702間における通信処理例を示すが、他の無線通信装置間における通信処理についても同様である。 70 and 71 show examples of communication processing between the first wireless communication device 1701 and the second wireless communication device 1702, but the same applies to communication processing between other wireless communication devices.
 最初に、第1無線通信装置1701および第2無線通信装置1702間においてDevice Discoveryが行われる(1711)。例えば、第1無線通信装置1701は、Probe request(応答要求信号)を送信し、このProbe requestに対するProbe response(応答信号)を第2無線通信装置1702から受信する。これにより、第1無線通信装置1701および第2無線通信装置1702は、互いの存在を発見することができる。また、Device Discoveryにより、相手のデバイス名や種類(TV、PC、スマートフォン等)を取得することができる。 First, Device Discovery is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1711). For example, the first wireless communication device 1701 transmits a Probe request (response request signal) and receives a Probe response (response signal) for the Probe request from the second wireless communication device 1702. Thereby, the first wireless communication device 1701 and the second wireless communication device 1702 can discover each other's presence. In addition, Device Discovery can acquire the device name and type (TV, PC, smartphone, etc.) of the other party.
 続いて、第1無線通信装置1701および第2無線通信装置1702間においてService Discoveryが行われる(1712)。例えば、第1無線通信装置1701は、Device Discoveryで発見した第2無線通信装置1702が対応しているサービスを問い合わせるService Discovery Queryを送信する。そして、第1無線通信装置1701は、Service Discovery Responseを第2無線通信装置1702から受信することにより、第2無線通信装置1702が対応しているサービスを取得する。すなわち、Service Discoveryにより、相手が実行可能なサービス等を取得することができる。相手が実行可能なサービスは、例えば、service、protocol(DLNA(Digital Living Network Alliance) DMR(Digital Media Renderer)等)である。 Subsequently, Service Discovery is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1712). For example, the first wireless communication device 1701 transmits a Service Discovery Query that inquires about the service supported by the second wireless communication device 1702 discovered by Device Discovery. Then, the first wireless communication device 1701 receives a Service Discovery Response from the second wireless communication device 1702, thereby acquiring a service supported by the second wireless communication device 1702. In other words, a service or the like that can be executed by the other party can be acquired by Service Discovery. Services that can be executed by the other party are, for example, service and protocol (DLNA (Digital Living Network Alliance) DMR (Digital Media Renderer), etc.).
 続いて、ユーザにより接続相手の選択操作(接続相手選択操作)が行われる(1713)。この接続相手選択操作は、第1無線通信装置1701および第2無線通信装置1702の何れか一方のみに発生することもある。例えば、第1無線通信装置1701の表示部に接続相手選択画面が表示され、この接続相手選択画面において接続相手として第2無線通信装置1702がユーザ操作により選択される。 Subsequently, a connection partner selection operation (connection partner selection operation) is performed by the user (1713). This connection partner selection operation may occur only in one of the first wireless communication device 1701 and the second wireless communication device 1702. For example, a connection partner selection screen is displayed on the display unit of the first wireless communication device 1701, and the second wireless communication device 1702 is selected as a connection partner on the connection partner selection screen by a user operation.
 ユーザにより接続相手選択操作が行われると(1713)、第1無線通信装置1701および第2無線通信装置1702間においてGroup Owner Negotiationが行われる(1714)。図70および図71では、Group Owner Negotiationの結果により、第1無線通信装置1701がグループオーナー(Group Owner)1715になり、第2無線通信装置1702がクライアント(Client)1716になる例を示す。 When the connection partner selection operation is performed by the user (1713), Group Owner Negotiation is performed between the first wireless communication device 1701 and the second wireless communication device 1702 (1714). 70 and 71 show an example in which the first wireless communication device 1701 becomes the group owner (Group Owner) 1715 and the second wireless communication device 1702 becomes the client (Client) 1716 based on the result of Group Owner Negotiation.
 続いて、第1無線通信装置1701および第2無線通信装置1702間において、各処理(1717乃至1720)が行われることにより、ダイレクト接続が確立される。すなわち、Association(L2(第2層) link確立)(1717)、Secure link確立(1718)が順次行われる。また、IP Address Assignment(1719)、SSDP(Simple Service Discovery Protocol)等によるL3上でのL4 setup(1720)が順次行われる。なお、L2(layer2)は、第2層(データリンク層)を意味し、L3(layer3)は、第3層(ネットワーク層)を意味し、L4(layer4)は、第4層(トランスポート層)を意味する。 Subsequently, direct processing is established by performing each processing (1717 to 1720) between the first wireless communication device 1701 and the second wireless communication device 1702. That is, Association (L2 (second layer) link establishment) (1717) and Secure link establishment (1718) are sequentially performed. Further, L4 setup (1720) on L3 by IP 順次 Address Assignment (1719), SSDP (Simple Service Discovery Protocol) or the like is sequentially performed. L2 (layer2) means the second layer (data link layer), L3 (layer3) means the third layer (network layer), and L4 (layer4) means the fourth layer (transport layer) ).
 続いて、ユーザにより特定のアプリケーションの指定または起動操作(アプリ指定・起動操作)が行われる(1721)。このアプリ指定・起動操作は、第1無線通信装置1701および第2無線通信装置1702の何れか一方のみに発生することもある。例えば、第1無線通信装置1701の表示部にアプリ指定・起動操作画面が表示され、このアプリ指定・起動操作画面において特定のアプリケーションがユーザ操作により選択される。 Subsequently, the user designates or activates a specific application (application designation / activation operation) (1721). This application designation / activation operation may occur only in one of the first wireless communication device 1701 and the second wireless communication device 1702. For example, an application designation / startup operation screen is displayed on the display unit of the first wireless communication apparatus 1701, and a specific application is selected by a user operation on the application designation / startup operation screen.
 ユーザによりアプリ指定・起動操作が行われると(1721)、このアプリ指定・起動操作に対応する特定のアプリケーションが第1無線通信装置1701および第2無線通信装置1702間において実行される(1722)。 When an application designation / activation operation is performed by the user (1721), a specific application corresponding to the application designation / activation operation is executed between the first wireless communication device 1701 and the second wireless communication device 1702 (1722).
 ここで、Wi-Fi Direct規格以前の仕様(IEEE802.11で標準化された仕様)の範囲内で、AP(Access Point)-STA(Station)間の接続を行う場合を想定する。この場合には、第2層で接続する前(IEEE802.11用語ではassociation前)には、どのようなデバイスと繋ごうとしているのかを事前に知ることができなかった。 Suppose here that the connection between AP (Access Point) and STA (Station) is performed within the scope of the specifications before Wi-Fi Direct (standardized by IEEE802.11). In this case, before connecting in the second layer (before association in IEEE802.11 terminology), it was impossible to know in advance what kind of device was going to be connected.
 これに対して、図70および図71に示すように、Wi-Fi Directでは、Device discoveryやService Discovery(option)において、接続候補相手を探す際に、接続相手の情報を取得することができる。この接続相手の情報は、例えば、基本的なデバイスのタイプや、対応している特定のアプリケーション等である。そして、その取得された接続相手の情報に基づいて、ユーザに接続相手を選択させることができる。 On the other hand, as shown in FIG. 70 and FIG. 71, in Wi-Fi Direct, when searching for a connection candidate partner in Device Discovery or Service Discovery (option), information on the connection partner can be acquired. The information of the connection partner is, for example, a basic device type, a corresponding specific application, or the like. And based on the acquired information of a connection other party, a user can be made to select a connection other party.
 この仕組みを拡張して、第2層で接続する前に特定のアプリケーションを指定して、接続相手を選択し、この選択後に、自動的に特定のアプリケーションを起動させる無線通信システムを実現することも可能である。このような場合の接続に至るシーケンスの一例を、図73に示す。また、この通信処理において送受信されるフレームフォーマット(frame format)の構成例を図72に示す。 This mechanism can be expanded to realize a wireless communication system in which a specific application is specified before connection at the second layer, a connection partner is selected, and the specific application is automatically started after this selection. Is possible. An example of the sequence leading to the connection in such a case is shown in FIG. In addition, FIG. 72 shows a configuration example of a frame format (frame format) transmitted and received in this communication process.
  <フレームフォーマットの構成例>
 図72は、本技術の基礎となる各装置による通信処理において送受信されるフレームフォーマット(frame format)の構成例を模式的に示す図である。すなわち、図72には、第2層での接続を確立するためのMAC frameの構成例を示す。具体的には、図73に示すシーケンスを実現するためのAssociation Request/Response(1787)のフレームフォーマットの一例である。
<Frame format configuration example>
FIG. 72 is a diagram schematically illustrating a configuration example of a frame format transmitted and received in communication processing by each device that is the basis of the present technology. That is, FIG. 72 shows a configuration example of a MAC frame for establishing a connection in the second layer. Specifically, it is an example of a frame format of Association Request / Response (1787) for realizing the sequence shown in FIG.
 なお、Frame Control(1751)からSequence Control(1756)までは、MACヘッダである。また、Association Requestを送信する際には、Frame Control(1751)において、B3B2="0b00"、かつ、B7B6B5B4="0b0000"が設定される。また、Association Responseをencapsulateする際には、Frame Control(1751)において、B3B2="0b00"、かつ、B7B6B5B4="0b0001"が設定される。なお、「0b00」は、2進法で「00」であることを示し、「0b0000」は、2進法で「0000」であることを示し、「0b0001」は、2進法で「0001」であることを示す。 Note that Frame Control (1751) to Sequence Control (1756) are MAC headers. Further, when transmitting an Association Request, B3B2 = “0b00” and B7B6B5B4 = “0b0000” are set in the Frame 設定 Control (1751). Further, when Encapsulating Association Response, B3B2 = "0b00" and B7B6B5B4 = "0b0001" are set in Frame17Control (1751). Note that “0b00” indicates “00” in binary, “0b0000” indicates “0000” in binary, and “0b0001” indicates “0001” in binary. Indicates that
 ここで、図72に示すMAC frameは、基本的には、IEEE802.11-2007仕様書section7.2.3.4節と7.2.3.5節に記載のAssociation Request/Responseframe formatである。ただし、IEEE802.11仕様書内で定義されているInformation Element(以下、IEと省略)だけでなく、独自に拡張したIEを含めている点が異なる。 Here, the MAC frame shown in FIG. 72 is basically the Association Request / Response frame format described in sections 7.2.3.4 and 7.2.3.5 of the IEEE802.11-2007 specification. However, the difference is that it includes not only Information (Element (hereinafter abbreviated as IE) defined in the IEEE802.11 specification but also its own extended IE.
 また、Vendor Specific IE(1760)であることを示すため、IE Type(Information Element ID(1761))には、10進数で127がセットされる。この場合、IEEE802.11-2007仕様7.3.2.26節により、Lengthフィールド(1762)と、OUIフィールド(1763)が続き、この後にvendor specific content(1764)が配置される。 Also, in order to indicate that it is Vendor Specific IE (1760), 127 in decimal is set in IE Type (Information Element ID (1761)). In this case, according to IEEE802.11-2007 specification section 7.3.2.26, the Length field (1762) and the OUI field (1763) follow, followed by vendor specific content (1764).
 Vendor specific content(1764)の内容としては、最初にvendor specific IEのtypeを示すフィールド(IE type(1765))を設ける。そして、この後に、複数のsubelement(1766)を格納することができる構成とすることが考えられる。 As the content of Vendor specific content (1764), a field indicating the type of vendor specific IE (IE type (1765)) is first provided. Then, it is conceivable that a plurality of subelements (1766) can be stored thereafter.
 subelement(1766)の内容として、使われるべき特定のアプリケーションの名称(1767)や、その特定のアプリケーション動作時のデバイスの役割(1768)を含めることが考えられる。また、特定のアプリケーション、または、その制御のために使われるポート番号等の情報(L4セットアップのための情報)(1769)や、特定のアプリケーション内でのCapabilityに関する情報(Capability情報)を含めることが考えられる。ここで、Capability情報は、例えば、指定する特定のアプリケーションがDLNAの場合に、音声送出/再生に対応している、映像送出/再生に対応している等を特定するための情報である。 It is conceivable that the contents of the subelement (1766) include the name (1767) of a specific application to be used and the role of the device (1768) when the specific application is operating. In addition, information such as a port number used for the control of a specific application (information for L4 setup) (1769) and information about Capability (Capability information) in the specific application may be included. Conceivable. Here, the Capability information is information for specifying, for example, that audio transmission / reproduction is supported, video transmission / reproduction, and the like when the specific application to be specified is DLNA.
 以上のような構成の無線通信システムにおいて、図1乃至図49を参照して上述したような本技術を適用することにより、図1乃至図49を参照して上述した効果と同様の効果を得ることができる。すなわち、符号化・復号による画質の低減を抑制することができる。また、上述した無線通信システムにおいて、本技術により符号化されたデータを送受信することにより、符号化・復号による画質の低減を抑制することができる。 In the wireless communication system configured as described above, by applying the present technology as described above with reference to FIGS. 1 to 49, the same effects as those described with reference to FIGS. 1 to 49 are obtained. be able to. That is, it is possible to suppress a reduction in image quality due to encoding / decoding. Moreover, in the above-described wireless communication system, transmission / reception of data encoded by the present technology can suppress reduction in image quality due to encoding / decoding.
 また、本明細書では、各種情報が、符号化ストリームに多重化されて、符号化側から復号側へ伝送される例について説明した。しかしながら、これら情報を伝送する手法はかかる例に限定されない。例えば、これら情報は、符号化ビットストリームに多重化されることなく、符号化ビットストリームと関連付けられた別個のデータとして伝送され又は記録されてもよい。ここで、「関連付ける」という用語は、ビットストリームに含まれる画像(スライス若しくはブロックなど、画像の一部であってもよい)と当該画像に対応する情報とを復号時にリンクさせ得るようにすることを意味する。即ち、情報は、画像(又はビットストリーム)とは別の伝送路上で伝送されてもよい。また、情報は、画像(又はビットストリーム)とは別の記録媒体(又は同一の記録媒体の別の記録エリア)に記録されてもよい。さらに、情報と画像(又はビットストリーム)とは、例えば、複数フレーム、1フレーム、又はフレーム内の一部分などの任意の単位で互いに関連付けられてよい。 Further, in this 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) 前記伝送部は、複数の前記色差位相情報および前記インデックス情報を、シーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送する
 (1)または(2)に記載の画像符号化装置。
 (4) 前記伝送部は、複数の前記色差位相情報をシーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送し、前記インデックス情報をピクチャパラメータセット(PPS(Picture Parameter Set))において伝送する
 (1)乃至(3)のいずれかに記載の画像符号化装置。
 (5) 前記生成部は、前記色差位相情報の数を示す情報をさらに生成し、
 前記伝送部は、前記生成部により生成された前記色差位相情報の数を示す情報をさらに伝送する
 (1)乃至(4)のいずれかに記載の画像符号化装置。
 (6) 前記生成部は、前記色差位相情報をピクチャ毎に生成し、
 前記伝送部は、前記色差位相情報をピクチャパラメータセット(PPS(Picture Parameter Set))において伝送する
 (1)乃至(5)のいずれかに記載の画像符号化装置。
 (7) 前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフィールド符号化する場合、
 前記生成部は、トップフィールドとボトムフィールドのそれぞれについて前記色差位相情報を生成し、
 前記伝送部は、前記生成部が生成した両フィールドの前記色差位相情報を伝送する
 (1)乃至(6)のいずれかに記載の画像符号化装置。
 (8) 前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフレーム符号化する場合、
 前記生成部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに生成し、
 前記伝送部は、前記生成部により生成された前記制御情報をさらに伝送する
 (1)乃至(7)のいずれかに記載の画像符号化装置。
 (9) 前記画像データの色差信号の位相を設定する色差位相設定部をさらに備え、
 前記生成部は、前記色差位相設定部により設定された前記色差信号の位相を示す色差位相情報を生成する
 (1)乃至(8)のいずれかに記載の画像符号化装置。
 (10) 前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのアップサンプルを制御するアップサンプル制御部と、
 前記アップサンプル制御部の制御に従って、前記画像データのベースレイヤをアップサンプルするアップサンプル部と
 をさらに備える(1)乃至(9)のいずれかに記載の画像符号化装置。
 (11) 前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのダウンサンプルを制御するダウンサンプル制御部と、
 前記ダウンサンプル制御部の制御に従って、前記画像データのエンハンスメントレイヤをダウンサンプルするダウンサンプル部と
 をさらに備える(1)乃至(10)のいずれかに記載の画像符号化装置。
 (12) 複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報を複数生成し、
 前記画像データの各レイヤを符号化し、
 生成された複数の前記色差位相情報と、生成された前記画像データの符号化データとを伝送する
 画像符号化方法。
 (13) 複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得する取得部と、
 前記取得部により取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御するアップサンプル制御部と、
 前記アップサンプル制御部の制御に従って、前記復号画像データのベースレイヤをアップサンプルするアップサンプル部と、
 前記アップサンプル部により前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、前記取得部により取得された前記符号化データのエンハンスメントレイヤを復号する復号部と
 を備える画像復号装置。
 (14) 前記取得部は、各ピクチャにおいて、複数の前記色差位相情報の内のいずれの前記色差位相情報を適用するかを示すインデックス情報をさらに取得し、
 前記アップサンプル制御部は、前記インデックス情報を用いて、適用する前記色差位相情報を指定する
 (13)、(15)乃至(19)のいずれかに記載の画像復号装置。
 (15) 前記取得部は、シーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送された複数の前記色差位相情報および前記インデックス情報を取得する
 (13)、(14)、(16)乃至(19)のいずれかに記載の画像復号装置。
 (16) 前記取得部は、シーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送された複数の前記色差位相情報と、ピクチャパラメータセット(PPS(Picture Parameter Set))において伝送された前記インデックス情報とを取得する
 (13)乃至(15)、(17)乃至(19)のいずれかに記載の画像復号装置。
 (17) 前記取得部は、ピクチャパラメータセット(PPS(Picture Parameter Set))において伝送された、ピクチャ毎の前記色差位相情報を取得する
 (13)乃至(16)、(18)、(19)のいずれかに記載の画像復号装置。
 (18) 前記取得部は、前記色差位相情報の数を示す情報をさらに取得し、
 前記取得部により取得された前記色差位相情報の数を示す情報に基づいて、前記取得部により取得される前記色差位相情報の数を判定する色差位相情報数判定部をさらに備える
 (13)乃至(17)、(19)のいずれかに記載の画像復号装置。
 (19) 前記取得部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに取得し、
 前記アップサンプル制御部は、前記取得部により取得された前記制御情報に従って、前記復号画像データのアップサンプルを制御する
 (13)乃至(18)のいずれかに記載の画像復号装置。
 (20) 複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得し、
 取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御し、
 その制御に従って、前記復号画像データのベースレイヤをアップサンプルし、
 前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、取得された前記符号化データのエンハンスメントレイヤを復号する
 画像復号方法。
 (21) 画像データのベースレイヤを符号化し、符号化データを生成するベースレイヤ符号化部と、
 前記ベースレイヤ符号化部による前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、
 前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成するエンハンスメントレイヤ符号化部と
 を備える画像符号化装置。
 (22) 前記アップサンプル部は、前記アップサンプルを、フィールドベース若しくはフレームベースで行う
 (21)に記載の画像符号化装置。
 (23) 前記アップサンプル部は、
  前記復号画像データの、第1フィールドと第2フィールドとで時間差が無いフレームは、フレームベースで前記アップサンプルを行い、
  前記第1フィールドと前記第2フィールドとで時間差が有るフレームは、フィールドベースで前記アップサンプルを行う
 (21)または(22)に記載の画像符号化装置。
 (24) 前記走査方式フレームレート変換処理は、2:3プルアップである
 (21)乃至(23)のいずれかに記載の画像符号化装置。
 (25) 前記アップサンプル部は、ベースレイヤの前記符号化データの、前記2:3プルアップが行われたかを示す情報に基づいて、前記アップサンプルを、フィールドベース若しくはフレームベースで行う
 (21)乃至(24)のいずれかに記載の画像符号化装置。
 (26) 前記アップサンプルに関する情報を伝送する伝送部をさらに備える
 (21)乃至(25)のいずれかに記載の画像符号化装置。
 (27) 前記アップサンプルに関する情報は、前記アップサンプルを、フィールドベースで行うか、フレームベースで行うかを示す情報を含む
 (21)乃至(26)のいずれかに記載の画像符号化装置。
 (28) 前記アップサンプルに関する情報は、前記アップサンプルがフレームベースで行われる場合、前記アップサンプルに関する位相情報を1つ含む
 (21)乃至(27)のいずれかに記載の画像符号化装置。
 (29) 前記アップサンプルに関する情報は、前記アップサンプルがフィールドベースで行われる場合、前記アップサンプルに関する位相情報を2つ含む
 (21)乃至(28)のいずれかに記載の画像符号化装置。
 (30) 前記アップサンプルに関する情報は、前記符号化データの、PPS_extensionに格納される
 (21)乃至(29)のいずれかに記載の画像符号化装置。
 (31) 前記アップサンプルに関する情報は、前記符号化データの、スライスヘッダに格納される
 (21)乃至(30)のいずれかに記載の画像符号化装置。
 (32) 前記アップサンプルに関する情報は、カレントピクチャに複数のスライスが含まれる場合、前記符号化データの前記カレントピクチャの各スライスのスライスヘッダに格納される
 (21)乃至(31)のいずれかに記載の画像符号化装置。
 (33) 前記アップサンプル部は、
  前記ベースレイヤ符号化部および前記エンハンスメントレイヤ符号化部がフレーム符号化を行う場合、前記アップサンプルを、フィールドベース若しくはフレームベースで行い、
  前記ベースレイヤ符号化部および前記エンハンスメントレイヤ符号化部がフィールド符号化を行う場合、前記アップサンプルをフィールドベースで行う
 (21)乃至(32)のいずれかに記載の画像符号化装置。
 (34) 前記ベースレイヤ符号化部および前記エンハンスメントレイヤ符号化部は、互いに異なる符号化方式で前記画像データを符号化する
 (21)乃至(33)のいずれかに記載の画像符号化装置。
 (35) 画像データのベースレイヤを符号化し、符号化データを生成し、
 前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、
 生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成する
 画像符号化方法。
 (36) 画像データのベースレイヤが符号化された符号化データを復号するベースレイヤ復号部と、
 前記ベースレイヤ復号部により、前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、
 前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号するエンハンスメントレイヤ復号部と
 を備える画像復号装置。
 (37) 前記アップサンプル部は、前記アップサンプルを、フィールドベース若しくはフレームベースで行う
 (36)に記載の画像復号装置。
 (38) 前記アップサンプル部は、
  前記復号画像データの、第1フィールドと第2フィールドとで時間差が無いフレームは、フレームベースで前記アップサンプルを行い、
  前記第1フィールドと前記第2フィールドとで時間差が有るフレームは、フィールドベースで前記アップサンプルを行う
 (36)または(37)に記載の画像復号装置。
 (39) 前記走査方式フレームレート変換処理は、2:3プルアップである
 (36)乃至(38)のいずれかに記載の画像復号装置。
 (40) アップサンプルに関する情報を取得する取得部をさらに備え、
 前記アップサンプル部は、前記取得部により取得された前記アップサンプルに関する情報に基づいて、前記アップサンプルを、フィールドベースで行うか、フレームベースで行うかを選択する
 (36)乃至(39)のいずれかに記載の画像復号装置。
 (41) 前記アップサンプルに関する情報は、前記アップサンプルを、フィールドベースで行うか、フレームベースで行うかを示す情報を含む
 (36)乃至(40)のいずれかに記載の画像復号装置。
 (42) 前記アップサンプルに関する情報は、前記アップサンプルがフレームベースで行われる場合、前記アップサンプルに関する位相情報を1つ含む
 (36)乃至(41)のいずれかに記載の画像復号装置。
 (43) 前記アップサンプルに関する情報は、前記アップサンプルがフィールドベースで行われる場合、前記アップサンプルに関する位相情報を2つ含む
 (36)乃至(42)のいずれかに記載の画像復号装置。
 (44) 前記アップサンプルに関する情報は、前記符号化データの、PPS_extensionに格納される
 (36)乃至(43)のいずれかに記載の画像復号装置。
 (45) 前記アップサンプルに関する情報は、前記符号化データの、スライスヘッダに格納される
 (36)乃至(44)のいずれかに記載の画像復号装置。
 (46) 前記アップサンプルに関する情報は、カレントピクチャに複数のスライスが含まれる場合、前記符号化データの前記カレントピクチャの各スライスのスライスヘッダに格納される
 (36)乃至(45)のいずれかに記載の画像復号装置。
 (47) 前記アップサンプル部は、
  前記ベースレイヤ復号部および前記エンハンスメントレイヤ復号部がフレーム復号を行う場合、前記アップサンプルを、フィールドベース若しくはフレームベースで行い、
  前記ベースレイヤ復号部および前記エンハンスメントレイヤ復号部がフィールド復号を行う場合、前記アップサンプルをフィールドベースで行う
 (36)乃至(46)のいずれかに記載の画像復号装置。
 (48) 前記ベースレイヤ復号部および前記エンハンスメントレイヤ復号部は、互いに異なる復号方式で前記符号化データを復号する
 (36)乃至(47)のいずれかに記載の画像復号装置。
 (49) 画像データのベースレイヤが符号化された符号化データを復号し、
 前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、
 生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号する
 画像復号方法。
In addition, this technique can also take the following structures.
(1) a generation unit that generates a plurality of pieces of color difference phase information related to the phase of the color difference signal of the image data including a plurality of layers;
An encoding unit for encoding each layer of the image data;
An image encoding apparatus comprising: a transmission unit configured to transmit a plurality of pieces of color difference phase information generated by the generation unit and encoded data of the image data generated by the encoding unit.
(2) The generation unit further generates, in each picture, index information indicating which of the plurality of color difference phase information is to be applied,
The image encoding device according to (1), wherein the transmission unit further transmits the index information.
(3) The image encoding apparatus according to (1) or (2), wherein the transmission unit transmits a plurality of the color difference phase information and the index information in a sequence parameter set (SPS (Sequence Parameter Set)).
(4) The transmission unit transmits a plurality of the color difference phase information in a sequence parameter set (SPS (Sequence Parameter Set)) and transmits the index information in a picture parameter set (PPS (Picture Parameter Set)). The image encoding device according to any one of (3) to (3).
(5) The generation unit further generates information indicating the number of the color difference phase information,
The image transmission device according to any one of (1) to (4), wherein the transmission unit further transmits information indicating the number of the color difference phase information generated by the generation unit.
(6) The generation unit generates the color difference phase information for each picture,
The image encoding device according to any one of (1) to (5), wherein the transmission unit transmits the color difference phase information in a picture parameter set (PPS (Picture Parameter Set)).
(7) When the image data is an interlaced image and the encoding unit performs field encoding on the image data,
The generation unit generates the color difference phase information for each of a top field and a bottom field,
The image transmission apparatus according to any one of (1) to (6), wherein the transmission unit transmits the color difference phase information of both fields generated by the generation unit.
(8) When the image data is an interlaced image and the encoding unit performs frame encoding on the image data,
The generation unit further generates control information for controlling the upsampling of the image data to be performed on a field basis,
The image transmission device according to any one of (1) to (7), wherein the transmission unit further transmits the control information generated by the generation unit.
(9) a color difference phase setting unit that sets the phase of the color difference signal of the image data;
The image encoding device according to any one of (1) to (8), wherein the generation unit generates color difference phase information indicating a phase of the color difference signal set by the color difference phase setting unit.
(10) an upsampling control unit that controls upsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
The image coding device according to any one of (1) to (9), further comprising: an upsampling unit that upsamples a base layer of the image data according to control of the upsampling control unit.
(11) a downsampling control unit that controls downsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
The image coding apparatus according to any one of (1) to (10), further comprising: a downsampling unit that downsamples an enhancement layer of the image data according to control of the downsampling control unit.
(12) generating a plurality of color difference phase information relating to the phase of the color difference signal of the image data composed of a plurality of layers;
Encoding each layer of the image data;
An image encoding method for transmitting a plurality of generated color difference phase information and encoded data of the generated image data.
(13) An acquisition unit that acquires encoded data of image data including a plurality of layers and a plurality of color difference phase information related to the phase of the color difference signal of the image data;
An upsampling control unit for controlling upsampling of decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the plurality of color difference phase information acquired by the acquisition unit;
An upsampling unit that upsamples a base layer of the decoded image data according to the control of the upsampling control unit;
A decoding unit that decodes the enhancement layer of the encoded data acquired by the acquisition unit using the upsampled image data obtained by upsampling the base layer of the decoded image data by the upsampling unit. Image decoding device.
(14) The acquisition unit further acquires, in each picture, index information indicating which of the plurality of color difference phase information is to be applied,
The upsampling control unit specifies the color difference phase information to be applied using the index information. (13) The image decoding device according to any one of (15) to (19).
(15) The acquisition unit acquires a plurality of the color difference phase information and the index information transmitted in a sequence parameter set (SPS (Sequence Parameter Set)). (13), (14), (16) to (19 The image decoding device according to any one of the above.
(16) The acquisition unit includes a plurality of the color difference phase information transmitted in a sequence parameter set (SPS (Sequence Parameter Set)), and the index information transmitted in a picture parameter set (PPS (Picture Parameter Set)). The image decoding device according to any one of (13) to (15) and (17) to (19).
(17) The acquisition unit acquires the chrominance phase information for each picture transmitted in a picture parameter set (PPS (Picture Parameter Set)). (13) to (16), (18), (19) The image decoding device according to any one of the above.
(18) The acquisition unit further acquires information indicating the number of the color difference phase information,
A color difference phase information number determination unit that determines the number of color difference phase information acquired by the acquisition unit based on information indicating the number of color difference phase information acquired by the acquisition unit. 17) The image decoding device according to any one of (19).
(19) The acquisition unit further acquires control information for controlling the upsampling of the image data to be performed on a field basis,
The image decoding device according to any one of (13) to (18), wherein the upsampling control unit controls upsampling of the decoded image data in accordance with the control information acquired by the acquisition unit.
(20) Obtain encoded data of image data composed of a plurality of layers and a plurality of color difference phase information relating to the phase of the color difference signal of the image data,
Controlling the up-sampling of the decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the obtained plurality of the color difference phase information;
According to the control, up-sample the base layer of the decoded image data,
An image decoding method for decoding an enhancement layer of the acquired encoded data using upsampled image data obtained by upsampling a base layer of the decoded image data.
(21) a base layer encoding unit that encodes a base layer of image data and generates encoded data;
An upsample of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data by the base layer encoding unit is subjected to a scanning scheme frame rate conversion process performed on the image data. An upsampling unit for generating an upsampled image of the decoded image data;
An image encoding apparatus comprising: an enhancement layer encoding unit that encodes an enhancement layer of the image data using the upsampled image generated by the upsampling unit and generates encoded data.
(22) The image encoding device according to (21), wherein the upsampling unit performs the upsampling on a field basis or a frame basis.
(23) The upsampling unit includes:
A frame having no time difference between the first field and the second field of the decoded image data is subjected to the upsampling on a frame basis,
The image coding apparatus according to (21) or (22), wherein the frame having a time difference between the first field and the second field performs the upsampling on a field basis.
(24) The image encoding device according to any one of (21) to (23), wherein the scanning method frame rate conversion processing is a 2: 3 pull-up.
(25) The upsampling unit performs the upsampling on a field basis or a frame basis based on information indicating whether the 2: 3 pull-up of the encoded data of the base layer has been performed. (21) Thru | or the image coding apparatus in any one of (24).
(26) The image coding device according to any one of (21) to (25), further including a transmission unit configured to transmit information regarding the upsample.
(27) The image encoding device according to any one of (21) to (26), wherein the information related to the upsample includes information indicating whether the upsample is performed on a field basis or a frame basis.
(28) The information on the upsample includes the phase information on the upsample when the upsample is performed on a frame basis. (21) The image encoding device according to any one of (27).
(29) The image encoding device according to any one of (21) to (28), wherein the information about the upsample includes two pieces of phase information about the upsample when the upsample is performed on a field basis.
(30) The image encoding device according to any one of (21) to (29), wherein the information related to the upsample is stored in PPS_extension of the encoded data.
(31) The image encoding device according to any one of (21) to (30), wherein the information related to the upsample is stored in a slice header of the encoded data.
(32) The information on the upsample is stored in a slice header of each slice of the current picture of the encoded data when the current picture includes a plurality of slices. (21) to (31) The image encoding device described.
(33) The upsampling unit includes:
When the base layer encoding unit and the enhancement layer encoding unit perform frame encoding, the up-sampling is performed on a field basis or a frame basis,
The image encoding device according to any one of (21) to (32), wherein when the base layer encoding unit and the enhancement layer encoding unit perform field encoding, the upsampling is performed on a field basis.
(34) The image encoding device according to any one of (21) to (33), wherein the base layer encoding unit and the enhancement layer encoding unit encode the image data using different encoding methods.
(35) Encode the base layer of image data to generate encoded data;
The up-sampling of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data is performed by a method according to the scanning method frame rate conversion processing method performed on the image data. Generating an upsampled image of the decoded image data;
An image encoding method for generating an encoded data by encoding an enhancement layer of the image data using the generated upsampled image.
(36) a base layer decoding unit that decodes encoded data obtained by encoding a base layer of image data;
The upsampling of each frame of the decoded image data of the base layer obtained by decoding the decoded data by the base layer decoding unit according to the scanning method frame rate conversion processing method performed on the image data An upsampling unit for generating an upsampled image of the decoded image data,
An image decoding apparatus comprising: an enhancement layer decoding unit that decodes encoded data obtained by encoding an enhancement layer of the image data using the upsampled image generated by the upsampling unit.
(37) The image decoding device according to (36), wherein the upsampling unit performs the upsampling on a field basis or a frame basis.
(38) The upsampling part
A frame having no time difference between the first field and the second field of the decoded image data is subjected to the upsampling on a frame basis,
The image decoding device according to (36) or (37), wherein a frame having a time difference between the first field and the second field performs the upsampling on a field basis.
(39) The image decoding device according to any one of (36) to (38), wherein the scanning method frame rate conversion processing is a 2: 3 pull-up.
(40) An acquisition unit that acquires information about the upsample is further provided,
The upsampling unit selects whether to perform the upsampling on a field basis or a frame basis on the basis of information on the upsampling acquired by the acquisition unit. (36) to (39) An image decoding apparatus according to claim 1.
(41) The image decoding device according to any one of (36) to (40), wherein the information related to the upsample includes information indicating whether the upsample is performed on a field basis or a frame basis.
(42) The image decoding device according to any one of (36) to (41), wherein the information about the upsample includes one phase information about the upsample when the upsample is performed on a frame basis.
(43) The image decoding device according to any one of (36) to (42), wherein the information about the upsample includes two pieces of phase information about the upsample when the upsample is performed on a field basis.
(44) The image decoding device according to any one of (36) to (43), wherein the information related to the upsample is stored in PPS_extension of the encoded data.
(45) The image decoding device according to any one of (36) to (44), wherein the information related to the upsample is stored in a slice header of the encoded data.
(46) The information on the upsample is stored in the slice header of each slice of the current picture of the encoded data when the current picture includes a plurality of slices. The image decoding device described.
(47) The upsampling part
When the base layer decoding unit and the enhancement layer decoding unit perform frame decoding, the up-sampling is performed on a field basis or a frame basis,
The image decoding device according to any one of (36) to (46), wherein when the base layer decoding unit and the enhancement layer decoding unit perform field decoding, the up-sampling is performed on a field basis.
(48) The image decoding device according to any one of (36) to (47), wherein the base layer decoding unit and the enhancement layer decoding unit decode the encoded data using different decoding methods.
(49) Decode the encoded data in which the base layer of the image data is encoded,
Up-sampling of each frame of the base layer decoded image data obtained by decoding the decoded data is performed by a method according to a scanning method frame rate conversion processing method performed on the image data, and the decoded image Generate an upsampled image of the data,
An image decoding method for decoding encoded data obtained by encoding an enhancement layer of the image data, using the generated upsampled image.
 100 画像符号化装置, 101 色差位相制御部, 102 ダウンサンプル部, 103 ベースレイヤ画像符号化部, 104 アップサンプル部, 105 エンハンスメントレイヤ画像符号化部, 106 多重化部, 121 走査方式判定部, 122 符号化方式設定部, 123 色差位相設定部, 124 ダウンサンプル色差位相制御部, 125 アップサンプル色差位相制御部, 126 色差位相情報生成部, 127 エンハンスメントレイヤヘッダ情報生成部, 155 可逆符号化部, 200 画像復号装置, 201 逆多重化部, 202 色差位相制御部, 203 ベースレイヤ画像復号部, 204 アップサンプル部, 205 エンハンスメントレイヤ画像復号部, 221 色差位相情報数判定部, 222 サンプリング方式判定部, 223 アップサンプル色差位相制御部, 252 可逆復号部, 300 画像符号化装置, 301 ベースレイヤ画像符号化部, 302 アップサンプル部, 303 エンハンスメントレイヤ画像符号化部, 304 多重化部, 315 可逆符号化部, 321 フレームメモリ, 331 2:3プルアップ情報バッファ, 332 ベースレイヤ復号画像バッファ, 333 アップサンプル切替部, 334 フィールドベースアップサンプラ, 335 フレームベースアップサンプラ, 336 アップサンプル情報供給部, 355 可逆符号化部, 361 フレームメモリ, 400 画像復号装置, 401 逆多重化部, 402 ベースレイヤ画像復号部, 403 アップサンプル部, 404 エンハンスメントレイヤ画像復号部, 418 フレームメモリ, 431 ベースレイヤ復号画像バッファ, 432 アップサンプル切替部, 433 アップサンプル情報バッファ, 434 フィールドベースアップサンプラ, 435 フレームベースアップサンプラ, 452 可逆復号部, 458 フレームメモリ 100 image encoding device, 101 color difference phase control unit, 102 downsampling unit, 103 base layer image encoding unit, 104 upsampling unit, 105 enhancement layer image encoding unit, 106 multiplexing unit, 121 scanning method determination unit, 122 Coding method setting unit, 123 color difference phase setting unit, 124 downsample color difference phase control unit, 125 upsample color difference phase control unit, 126 color difference phase information generation unit, 127 enhancement layer header information generation unit, 155 lossless encoding unit, 200 Image decoding device, 201 Demultiplexing unit, 202 Color difference phase control unit, 203 Base layer image decoding unit, 204 Upsampling unit, 205 Enhancement layer image decoding unit, 221 Color difference Phase information number determination unit, 222 sampling method determination unit, 223 upsample color difference phase control unit, 252 lossless decoding unit, 300 image encoding device, 301 base layer image encoding unit, 302 upsample unit, 303 enhancement layer image encoding Unit, 304 multiplexing unit, 315 lossless encoding unit, 321 frame memory, 331 2: 3 pull-up information buffer, 332 base layer decoded image buffer, 333 upsample switching unit, 334 field base up sampler, 335 frame base up sampler , 336 Upsample information supply unit, 355 lossless encoding unit, 361 frame memory, 400 image decoding device, 401 demultiplexing unit, 402 base layer image Decoding unit, 403 upsampling unit, 404 enhancement layer image decoding unit, 418 frame memory, 431 base layer decoded image buffer, 432 upsample switching unit, 433 upsample information buffer, 434 field base upsampler, 435 frame base upsampler, 452 lossless decoding unit, 458 frame memory

Claims (20)

  1.  複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報を複数生成する生成部と、
     前記画像データの各レイヤを符号化する符号化部と、
     前記生成部により生成された複数の前記色差位相情報と、前記符号化部により生成された前記画像データの符号化データとを伝送する伝送部と
     を備える画像符号化装置。
    A generator for generating a plurality of color difference phase information related to the phase of the color difference signal of the image data composed of a plurality of layers;
    An encoding unit for encoding each layer of the image data;
    An image encoding apparatus comprising: a transmission unit configured to transmit a plurality of pieces of color difference phase information generated by the generation unit and encoded data of the image data generated by the encoding unit.
  2.  前記生成部は、各ピクチャにおいて、複数の前記色差位相情報の内のいずれの前記色差位相情報を適用するかを示すインデックス情報をさらに生成し、
     前記伝送部は、前記インデックス情報をさらに伝送する
     請求項1に記載の画像符号化装置。
    The generating unit further generates index information indicating which of the plurality of color difference phase information to apply to each picture,
    The image encoding device according to claim 1, wherein the transmission unit further transmits the index information.
  3.  前記伝送部は、複数の前記色差位相情報および前記インデックス情報を、シーケンスパラメータセット(SPS(Sequence Parameter Set))において伝送する
     請求項2に記載の画像符号化装置。
    The image encoding device according to claim 2, wherein the transmission unit transmits a plurality of the color difference phase information and the index information in a sequence parameter set (SPS (Sequence Parameter Set)).
  4.  前記生成部は、前記色差位相情報の数を示す情報をさらに生成し、
     前記伝送部は、前記生成部により生成された前記色差位相情報の数を示す情報をさらに伝送する
     請求項2に記載の画像符号化装置。
    The generation unit further generates information indicating the number of the color difference phase information,
    The image encoding device according to claim 2, wherein the transmission unit further transmits information indicating the number of the color difference phase information generated by the generation unit.
  5.  前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフィールド符号化する場合、
     前記生成部は、トップフィールドとボトムフィールドのそれぞれについて前記色差位相情報を生成し、
     前記伝送部は、前記生成部が生成した両フィールドの前記色差位相情報を伝送する
     請求項1に記載の画像符号化装置。
    When the image data is an interlaced image and the encoding unit field encodes the image data,
    The generation unit generates the color difference phase information for each of a top field and a bottom field,
    The image encoding device according to claim 1, wherein the transmission unit transmits the color difference phase information of both fields generated by the generation unit.
  6.  前記画像データがインターレース画像であり、かつ、前記符号化部が前記画像データをフレーム符号化する場合、
     前記生成部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに生成し、
     前記伝送部は、前記生成部により生成された前記制御情報をさらに伝送する
     請求項5に記載の画像符号化装置。
    When the image data is an interlaced image and the encoding unit performs frame encoding on the image data,
    The generation unit further generates control information for controlling the upsampling of the image data to be performed on a field basis,
    The image encoding device according to claim 5, wherein the transmission unit further transmits the control information generated by the generation unit.
  7.  前記画像データの色差信号の位相を設定する色差位相設定部をさらに備え、
     前記生成部は、前記色差位相設定部により設定された前記色差信号の位相を示す色差位相情報を生成する
     請求項1に記載の画像符号化装置。
    A color difference phase setting unit for setting a phase of a color difference signal of the image data;
    The image encoding device according to claim 1, wherein the generation unit generates color difference phase information indicating a phase of the color difference signal set by the color difference phase setting unit.
  8.  前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのアップサンプルを制御するアップサンプル制御部と、
     前記アップサンプル制御部の制御に従って、前記画像データのベースレイヤをアップサンプルするアップサンプル部と
     をさらに備える請求項7に記載の画像符号化装置。
    An upsampling control unit for controlling upsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
    The image coding apparatus according to claim 7, further comprising: an upsampling unit that upsamples a base layer of the image data according to control of the upsampling control unit.
  9.  前記色差位相設定部により設定された前記色差信号の位相を適用するように前記画像データのダウンサンプルを制御するダウンサンプル制御部と、
     前記ダウンサンプル制御部の制御に従って、前記画像データのエンハンスメントレイヤをダウンサンプルするダウンサンプル部と
     をさらに備える請求項7に記載の画像符号化装置。
    A downsampling control unit that controls downsampling of the image data so as to apply the phase of the color difference signal set by the color difference phase setting unit;
    The image coding apparatus according to claim 7, further comprising: a downsampling unit that downsamples an enhancement layer of the image data in accordance with control of the downsampling control unit.
  10.  複数レイヤよりなる画像データの色差信号の位相に関する色差位相情報を複数生成し、
     前記画像データの各レイヤを符号化し、
     生成された複数の前記色差位相情報と、生成された前記画像データの符号化データとを伝送する
     画像符号化方法。
    Generate multiple color difference phase information related to the phase of the color difference signal of image data consisting of multiple layers,
    Encoding each layer of the image data;
    An image encoding method for transmitting a plurality of generated color difference phase information and encoded data of the generated image data.
  11.  複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得する取得部と、
     前記取得部により取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御するアップサンプル制御部と、
     前記アップサンプル制御部の制御に従って、前記復号画像データのベースレイヤをアップサンプルするアップサンプル部と、
     前記アップサンプル部により前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、前記取得部により取得された前記符号化データのエンハンスメントレイヤを復号する復号部と
     を備える画像復号装置。
    An acquisition unit that acquires encoded data of image data composed of a plurality of layers and a plurality of color difference phase information related to the phase of the color difference signal of the image data;
    An upsampling control unit for controlling upsampling of decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the plurality of color difference phase information acquired by the acquisition unit;
    An upsampling unit that upsamples a base layer of the decoded image data according to the control of the upsampling control unit;
    A decoding unit that decodes the enhancement layer of the encoded data acquired by the acquisition unit using the upsampled image data obtained by upsampling the base layer of the decoded image data by the upsampling unit. Image decoding device.
  12.  前記取得部は、各ピクチャにおいて、複数の前記色差位相情報の内のいずれの前記色差位相情報を適用するかを示すインデックス情報をさらに取得し、
     前記アップサンプル制御部は、前記インデックス情報を用いて、適用する前記色差位相情報を指定する
     請求項11に記載の画像復号装置。
    The acquisition unit further acquires index information indicating which of the plurality of color difference phase information to apply to each picture,
    The image decoding device according to claim 11, wherein the upsampling control unit specifies the color difference phase information to be applied using the index information.
  13.  前記取得部は、ピクチャパラメータセット(PPS(Picture Parameter Set))において伝送された、ピクチャ毎の前記色差位相情報を取得する
     請求項11に記載の画像復号装置。
    The image decoding device according to claim 11, wherein the acquisition unit acquires the chrominance phase information for each picture transmitted in a picture parameter set (PPS (Picture Parameter Set)).
  14.  前記取得部は、前記色差位相情報の数を示す情報をさらに取得し、
     前記取得部により取得された前記色差位相情報の数を示す情報に基づいて、前記取得部により取得される前記色差位相情報の数を判定する色差位相情報数判定部をさらに備える
     請求項11に記載の画像復号装置。
    The acquisition unit further acquires information indicating the number of the color difference phase information,
    The color difference phase information number determination unit that determines the number of the color difference phase information acquired by the acquisition unit based on information indicating the number of the color difference phase information acquired by the acquisition unit. Image decoding apparatus.
  15.  前記取得部は、前記画像データのアップサンプルをフィールドベースで行うように制御する制御情報をさらに取得し、
     前記アップサンプル制御部は、前記取得部により取得された前記制御情報に従って、前記復号画像データのアップサンプルを制御する
     請求項11に記載の画像復号装置。
    The acquisition unit further acquires control information for controlling the upsampling of the image data to be performed on a field basis,
    The image decoding device according to claim 11, wherein the upsampling control unit controls upsampling of the decoded image data according to the control information acquired by the acquisition unit.
  16.  複数レイヤよりなる画像データの符号化データと、前記画像データの色差信号の位相に関する複数の色差位相情報とを取得し、
     取得された複数の前記色差位相情報のいずれかにより示される前記色差信号の位相を適用するように前記符号化データの復号画像データのアップサンプルを制御し、
     その制御に従って、前記復号画像データのベースレイヤをアップサンプルし、
     前記復号画像データのベースレイヤがアップサンプルされて得られたアップサンプル画像データを用いて、取得された前記符号化データのエンハンスメントレイヤを復号する
     画像復号方法。
    Obtaining encoded data of image data consisting of a plurality of layers and a plurality of color difference phase information relating to the phase of the color difference signal of the image data;
    Controlling the up-sampling of the decoded image data of the encoded data so as to apply the phase of the color difference signal indicated by any of the obtained plurality of the color difference phase information;
    According to the control, up-sample the base layer of the decoded image data,
    An image decoding method for decoding an enhancement layer of the acquired encoded data using upsampled image data obtained by upsampling a base layer of the decoded image data.
  17.  画像データのベースレイヤを符号化し、符号化データを生成するベースレイヤ符号化部と、
     前記ベースレイヤ符号化部による前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、
     前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成するエンハンスメントレイヤ符号化部と
     を備える画像符号化装置。
    A base layer encoding unit that encodes a base layer of image data and generates encoded data;
    An upsample of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data by the base layer encoding unit is subjected to a scanning scheme frame rate conversion process performed on the image data. An upsampling unit for generating an upsampled image of the decoded image data;
    An image encoding apparatus comprising: an enhancement layer encoding unit that encodes an enhancement layer of the image data using the upsampled image generated by the upsampling unit and generates encoded data.
  18.  画像データのベースレイヤを符号化し、符号化データを生成し、
     前記画像データの符号化において得られる、前記符号化データが復号された復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、
     生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤを符号化し、符号化データを生成する
     画像符号化方法。
    Encode the base layer of image data, generate encoded data,
    The up-sampling of each frame of the decoded image data obtained by decoding the encoded data obtained in the encoding of the image data is performed by a method according to the scanning method frame rate conversion processing method performed on the image data. Generating an upsampled image of the decoded image data;
    An image encoding method for generating an encoded data by encoding an enhancement layer of the image data using the generated upsampled image.
  19.  画像データのベースレイヤが符号化された符号化データを復号するベースレイヤ復号部と、
     前記ベースレイヤ復号部により、前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成するアップサンプル部と、
     前記アップサンプル部により生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号するエンハンスメントレイヤ復号部と
     を備える画像復号装置。
    A base layer decoding unit that decodes encoded data in which a base layer of image data is encoded;
    The upsampling of each frame of the decoded image data of the base layer obtained by decoding the decoded data by the base layer decoding unit according to the scanning method frame rate conversion processing method performed on the image data An upsampling unit for generating an upsampled image of the decoded image data,
    An image decoding apparatus comprising: an enhancement layer decoding unit that decodes encoded data obtained by encoding an enhancement layer of the image data using the upsampled image generated by the upsampling unit.
  20.  画像データのベースレイヤが符号化された符号化データを復号し、
     前記復号化データが復号されて得られたベースレイヤの復号画像データの各フレームのアップサンプルを、前記画像データに行われた走査方式フレームレート変換処理の方法に応じた方法で行い、前記復号画像データのアップサンプル画像を生成し、
     生成された前記アップサンプル画像を用いて、前記画像データのエンハンスメントレイヤが符号化された符号化データを復号する
     画像復号方法。
    Decoding the encoded data in which the base layer of the image data is encoded,
    Up-sampling of each frame of the base layer decoded image data obtained by decoding the decoded data is performed by a method according to a scanning method frame rate conversion processing method performed on the image data, and the decoded image Generate an upsampled image of the data,
    An image decoding method for decoding encoded data obtained by encoding an enhancement layer of the image data, using the generated upsampled image.
PCT/JP2014/067120 2013-07-12 2014-06-27 Image encoding device and method, and image decoding device and method WO2015005136A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2013-146739 2013-07-12
JP2013146739 2013-07-12
JP2014-064890 2014-03-26
JP2014064890 2014-03-26

Publications (1)

Publication Number Publication Date
WO2015005136A1 true WO2015005136A1 (en) 2015-01-15

Family

ID=52279822

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/067120 WO2015005136A1 (en) 2013-07-12 2014-06-27 Image encoding device and method, and image decoding device and method

Country Status (1)

Country Link
WO (1) WO2015005136A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11288661B2 (en) * 2011-02-16 2022-03-29 Visa International Service Association Snap mobile payment apparatuses, methods and systems
US11354723B2 (en) 2011-09-23 2022-06-07 Visa International Service Association Smart shopping cart with E-wallet store injection search
US11397931B2 (en) 2011-08-18 2022-07-26 Visa International Service Association Multi-directional wallet connector apparatuses, methods and systems
US11763294B2 (en) 2011-08-18 2023-09-19 Visa International Service Association Remote decoupled application persistent state apparatuses, methods and systems
US11900359B2 (en) 2011-07-05 2024-02-13 Visa International Service Association Electronic wallet checkout platform apparatuses, methods and systems

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06205397A (en) * 1992-12-28 1994-07-22 Toshiba Corp Dynamic image coding device
JPH1118092A (en) * 1997-06-27 1999-01-22 Matsushita Electric Ind Co Ltd Image-coding method and image-decoding method
JP2008005183A (en) * 2006-06-22 2008-01-10 Matsushita Electric Ind Co Ltd Video image coding method and coding device suitable for movie material
JP2009538085A (en) * 2006-11-17 2009-10-29 エルジー エレクトロニクス インコーポレイティド Video signal decoding / encoding method and apparatus
JP2013034159A (en) * 2011-06-30 2013-02-14 Panasonic Corp Moving image decoder and moving image decoding method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06205397A (en) * 1992-12-28 1994-07-22 Toshiba Corp Dynamic image coding device
JPH1118092A (en) * 1997-06-27 1999-01-22 Matsushita Electric Ind Co Ltd Image-coding method and image-decoding method
JP2008005183A (en) * 2006-06-22 2008-01-10 Matsushita Electric Ind Co Ltd Video image coding method and coding device suitable for movie material
JP2009538085A (en) * 2006-11-17 2009-10-29 エルジー エレクトロニクス インコーポレイティド Video signal decoding / encoding method and apparatus
JP2013034159A (en) * 2011-06-30 2013-02-14 Panasonic Corp Moving image decoder and moving image decoding method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BENJAMIN BROSS ET AL.: "High Efficiency Video Coding (HEVC) text specification draft 10 (for FDIS & Last Call", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP3 AND ISO /IEC JTC1/SC29/WG11 JCTVC-L1003_V34, ITU-T, 19 March 2013 (2013-03-19), pages 278 - 297 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11288661B2 (en) * 2011-02-16 2022-03-29 Visa International Service Association Snap mobile payment apparatuses, methods and systems
US11900359B2 (en) 2011-07-05 2024-02-13 Visa International Service Association Electronic wallet checkout platform apparatuses, methods and systems
US11397931B2 (en) 2011-08-18 2022-07-26 Visa International Service Association Multi-directional wallet connector apparatuses, methods and systems
US11763294B2 (en) 2011-08-18 2023-09-19 Visa International Service Association Remote decoupled application persistent state apparatuses, methods and systems
US11803825B2 (en) 2011-08-18 2023-10-31 Visa International Service Association Multi-directional wallet connector apparatuses, methods and systems
US11354723B2 (en) 2011-09-23 2022-06-07 Visa International Service Association Smart shopping cart with E-wallet store injection search

Similar Documents

Publication Publication Date Title
JP6525073B2 (en) Image processing apparatus and method
US20230276072A1 (en) Image processing apparatus and image processing method
JP6741126B2 (en) Image decoding apparatus and method
JP6607414B2 (en) Image coding apparatus and method
WO2015005137A1 (en) Image coding device and method
JP2018121336A (en) Image processing device and method
WO2014050695A1 (en) Image processing device and method
WO2014203763A1 (en) Decoding device, decoding method, encoding device, and encoding method
WO2015005136A1 (en) Image encoding device and method, and image decoding device and method
WO2015064402A1 (en) Image processing device and method
WO2015005132A1 (en) Image encoding device and method, and image decoding device and method
AU2016213857B2 (en) Image Processing Device
WO2015064401A1 (en) Image processing device and method
JP2015005893A (en) Image processing apparatus 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: 14823405

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP