WO2016199574A1 - Image processing apparatus and image processing method - Google Patents

Image processing apparatus and image processing method Download PDF

Info

Publication number
WO2016199574A1
WO2016199574A1 PCT/JP2016/065421 JP2016065421W WO2016199574A1 WO 2016199574 A1 WO2016199574 A1 WO 2016199574A1 JP 2016065421 W JP2016065421 W JP 2016065421W WO 2016199574 A1 WO2016199574 A1 WO 2016199574A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
slice
image
data
prediction
Prior art date
Application number
PCT/JP2016/065421
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 WO2016199574A1 publication Critical patent/WO2016199574A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • 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

Definitions

  • the present disclosure relates to an image processing device and an image processing method, and more particularly, to an image processing device and an image processing method that can reduce a load of decoding processing.
  • HEVC High Efficiency Efficiency Video Video Coding
  • JCTVC Joint Collaboration Collaboration Team Video Video Coding
  • HEVC Range Extension In HEVC, the range extension (HEVC Range Extension) has been studied to support high-end formats such as 4: 2: 2 and 4: 4: 4 color difference signal formats and screen content profiles.
  • 4: 2: 2 and 4: 4: 4 color difference signal formats and screen content profiles For example, refer nonpatent literature 1).
  • IntraBlockCopy (Intra) BC) is a coding tool that performs prediction by performing motion compensation in the screen using the correlation in the screen.
  • Intra BC is known as a tool that contributes to improving the coding efficiency of artificial images such as computer screens and CG images.
  • Intra BC is not adopted for the above-described HEVC Range Extension extension, and technical studies are being continued with standardization of Screen Content Coding (SCC) extension (see, for example, Non-Patent Document 2).
  • SCC Screen Content Coding
  • Intra BC slice the slice type of a slice for which only Intra BC prediction is performed (hereinafter referred to as Intra BC slice) is set to a P slice or a B slice that is a slice type capable of performing inter prediction, and is included in the slice header. Transmission is under consideration.
  • NAL Network Abstraction Layer
  • the NAL unit type of each slice indicates that the picture that includes the slice is a picture that can be independently decoded.
  • the slice type of the Intra BC slice is other than an I slice that is a slice type for which only intra prediction that can be independently decoded is performed, the slice type is not an I slice before decoding depending on the NAL unit type. Can be recognized as an Intra ⁇ BC slice that can be decoded independently.
  • the NAL unit type of each slice is at least one in the picture including the slice.
  • the information indicates that the slice is not independently decodable. Therefore, the NAL unit type cannot recognize whether each slice can be decoded independently.
  • the present disclosure has been made in view of such a situation, and is intended to reduce the load of decoding processing.
  • An image processing device includes a setting unit that sets prediction information indicating that an image has been encoded using motion prediction using correlation within a screen, in encoded data of the image.
  • An image processing apparatus is provided.
  • the image processing method according to the first aspect of the present disclosure corresponds to the image processing apparatus according to the first aspect of the present disclosure.
  • prediction information indicating that an image has been encoded using motion prediction using correlation within a screen is set in the encoded data of the image.
  • the image processing device decodes the encoded data of the image based on prediction information indicating that the image is encoded using motion prediction using correlation within the screen.
  • An image processing apparatus including a unit.
  • the image processing method according to the second aspect of the present disclosure corresponds to the image processing apparatus according to the first aspect of the present disclosure.
  • the encoded data of the image is decoded based on prediction information indicating that the image has been encoded using motion prediction using correlation within the screen.
  • image processing apparatuses according to the first and second aspects of the present disclosure can be realized by causing a computer to execute a program.
  • a program to be executed by a computer is provided by being transmitted through a transmission medium or by being recorded on a recording medium. be able to.
  • the image processing apparatuses according to the first and second aspects of the present disclosure may be independent apparatuses or may be internal blocks that constitute one apparatus.
  • encoded data that has been encoded so as to reduce the load of decoding processing can be decoded.
  • FIG. 2 illustrates an example of a schematic configuration of a video set to which the present disclosure is applied.
  • 2 illustrates an example of a schematic configuration of a video processor to which the present disclosure is applied.
  • the other example of the schematic structure of the video processor to which this indication is applied is shown.
  • FIGS. 1 to 5 Premises of the present disclosure (FIGS. 1 to 5) 1. First Embodiment: Encoding Device and Decoding Device (FIGS. 6 to 12) 2. Second Embodiment: Computer (FIG. 13) 3. Third Embodiment: Television apparatus (FIG. 14) 4). Fourth embodiment: mobile phone (FIG. 15) 5. Fifth embodiment: recording / reproducing apparatus (FIG. 16) 6). Sixth embodiment: imaging apparatus (FIG. 17) 7). Seventh embodiment: Video set (FIGS. 18 to 20)
  • FIG. 1 is a diagram for explaining intra refreshing.
  • the horizontal axis represents POC (Picture Order Count), and the largest rectangle represents a picture.
  • each picture except the first picture in the coding order is set as a P picture, and the same slice division is performed in each picture. All slices except for one slice are set as inter slices, and one slice set as an intra slice moves downward from the top in the POC order.
  • the inter slice can refer only to the same slice of the previous picture in the POC order.
  • the reference picture does not exist in the playback target picture until all slices in the picture in the display order are set to intra slices.
  • a slice exists. For example, as shown in FIG. 1, when playback is performed from a picture 11 in which the first slice is an intra slice, until the picture 12 in which the lowest slice is an intra slice is the playback target picture, There are inter-slices that cannot be decoded.
  • FIG. 2 is a diagram illustrating an example of a slice type in a case where a transmission method of encoded data subjected to Intra BC prediction is shared with a transmission method of encoded data subjected to inter prediction.
  • the slice type is an I slice (I_SLICE), a P slice (P_SLICE), and a B slice (B_SLICE), numbers as information indicating the slice type are 2, 1, 0, respectively. .
  • the slice type is an I slice
  • the slice is a slice for which only intra prediction is performed.
  • the slice type is a P slice
  • the slice is an Intra BC slice or an inter slice in which intra prediction or inter prediction is performed.
  • the slice type is a B slice
  • the slice is an inter slice.
  • Example of slice type at intra refreshing 3 and 4 are diagrams showing examples of the slice type of FIG. 2 set in a picture at the time of intra refreshing.
  • the largest rectangle represents a picture.
  • the slice type of the intra slice in the picture is set to I slice.
  • the slice type of the inter slice is set to P slice, for example.
  • FIG. 5 is a flowchart illustrating a decoding process in which the decoding apparatus decodes encoded data of a picture that has been subjected to intra refreshing in which intra BC prediction is performed in an intra slice.
  • step S11 of FIG. 5 the decoding apparatus sets the slice count value i to 0.
  • step S12 the decoding apparatus determines whether the count value i is smaller than the number of slices constituting the picture. If it is determined in step S12 that the count value i is smaller than the number of slices constituting the picture, the process proceeds to step S13.
  • step S13 the decoding apparatus decodes the slice header of the i-th slice included in the encoded data of the picture.
  • step S14 the decoding apparatus sets a count value k of PU (Prediction Unit) to 0.
  • step S15 the decoding apparatus determines whether the count value k is smaller than the number of PUs constituting the i-th slice. If it is determined in step S15 that the count value k is smaller than the number of PUs constituting the i-th slice, the process proceeds to step S16.
  • step S16 the decoding device decodes the kth PU.
  • step S17 the decoding apparatus determines whether intra prediction or Intra ⁇ ⁇ BC prediction has been performed when the k-th PU is decoded.
  • step S17 If it is determined in step S17 that intra prediction or Intra BC prediction has been performed at the time of decoding the kth PU, that is, if the i-th slice is a slice that can be independently decoded, the decoding device displays the decoding result. Store and proceed to step S20.
  • step S17 determines whether intra prediction or Intra-BC prediction is not performed when the k-th PU is decoded, that is, if inter prediction is performed.
  • step S18 the decoding apparatus determines whether the reference picture can be referred to when the k-th PU is decoded, that is, whether the reference picture has been decoded.
  • step S18 If it is determined in step S18 that the reference picture can be referred to when the k-th PU is decoded, the process proceeds to step S20.
  • step S18 if it is determined in step S18 that the reference picture is not referable when the kth PU is decoded, the decoding apparatus discards the decoding result of the kth PU in step S19. Then, the process proceeds to step S20.
  • step S20 the decryption apparatus increments the count value k by 1, and returns the process to step S15.
  • step S15 If it is determined in step S15 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the decoding apparatus increments the count value i by 1 in step S21 and performs the processing. Return to S12.
  • step S12 If it is determined in step S12 that the count value i is greater than or equal to the number of slices that make up the picture, the decoding process ends.
  • the decoding device cannot recognize whether each slice can be decoded independently by the slice type before decoding. Therefore, it is necessary to recognize whether decoding is possible independently for each PU during decoding, and the load of decoding processing increases. Therefore, the present technology sets a new type as a slice type of an intra slice that can be decoded independently.
  • FIG. 6 is a block diagram illustrating a configuration example of an embodiment of an encoding device as an image processing device to which the present disclosure is applied.
  • the encoding device 70 includes a filter 82, a frame memory 85, a switch 86, an intra prediction unit 87, a motion prediction / compensation unit 89, a predicted image selection unit 92, and a rate control unit 93.
  • the encoding device 70 performs intra-refreshing by a method according to HEVC.
  • the coding unit is Coding UNIT (CU) having a recursive hierarchical structure. Specifically, the CU is set by dividing a picture into CTUs (Coding
  • the maximum size of the CU is LCU (Largest Coding Unit), and the minimum size is SCU (Smallest Coding Unit).
  • CU is divided into PU and TU (transform unit).
  • the A / D conversion unit 71 of the encoding device 70 performs A / D conversion on the analog signal of the picture in units of frames input as an encoding target.
  • the A / D conversion unit 71 outputs the digital signal of the converted picture to the screen rearrangement buffer 72 for storage.
  • the screen rearrangement buffer 72 rearranges the stored pictures in the display order in the order for encoding according to the GOP structure.
  • the screen rearrangement buffer 72 sets the rearranged picture as the current picture, and outputs each CU to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 89 in order.
  • the calculation unit 73 performs encoding by subtracting the predicted image in units of PU supplied from the predicted image selection unit 92 from the CU supplied from the screen rearrangement buffer 72.
  • the computing unit 73 outputs information obtained as a result to the orthogonal transform unit 74 as residual information.
  • the calculation unit 73 outputs the CU read from the screen rearrangement buffer 72 to the orthogonal transform unit 74 as residual information as it is.
  • the orthogonal transform unit 74 orthogonally transforms the residual information from the calculation unit 73 in units of TUs.
  • the orthogonal transform unit 74 supplies an orthogonal transform coefficient obtained as a result of the orthogonal transform to the quantization unit 75.
  • the quantization unit 75 performs quantization on the orthogonal transform coefficient supplied from the orthogonal transform unit 74.
  • the quantization unit 75 supplies the quantized orthogonal transform coefficient to the lossless encoding unit 76.
  • the lossless encoding unit 76 acquires the intra prediction mode information indicating the optimal intra prediction mode from the intra prediction unit 87. Further, the lossless encoding unit 76 acquires, from the motion prediction / compensation unit 89, inter prediction mode information indicating an optimal inter prediction mode, a motion vector, reference picture specifying information for specifying a reference picture, and the like. Furthermore, the lossless encoding unit 76 acquires offset filter information related to SAO (Sample-adaptive-offset) processing from the filter 82.
  • SAO Sample-adaptive-offset
  • the lossless encoding unit 76 performs variable length coding (for example, CAVLC (Context-Adaptive Variable Length Coding)), arithmetic coding (for example, for the quantized orthogonal transform coefficient supplied from the quantization unit 75, for example. , CABAC (Context-Adaptive Binary Arithmetic Coding) etc.).
  • variable length coding for example, CAVLC (Context-Adaptive Variable Length Coding)
  • arithmetic coding for example, for the quantized orthogonal transform coefficient supplied from the quantization unit 75, for example.
  • CABAC Context-Adaptive Binary Arithmetic Coding
  • the lossless encoding unit 76 performs lossless encoding on intra prediction mode information, inter prediction mode information, motion vectors, reference picture specifying information, offset filter information, and the like as encoding information related to encoding.
  • the lossless encoding unit 76 adds losslessly encoded encoding information and the like to the losslessly encoded orthogonal transform coefficient and supplies the result to the accumulation buffer 77 as encoded data.
  • the accumulation buffer 77 temporarily stores the encoded data supplied from the lossless encoding unit 76. In addition, the accumulation buffer 77 supplies the stored encoded data for each picture to the generation unit 78.
  • the generation unit 78 (setting unit) adds a slice header including information indicating the slice type to each piece of encoded data supplied from the accumulation buffer 77 for each slice. Further, the generation unit 78 NALs the slice data which is the encoded data of each slice to which the parameter set such as SPS (Sequence Parameter Set) and PPS (Picture Parameter Set) and the slice header are added, and adds the NAL header. To generate a NAL unit.
  • the NAL header added to sliced NAL data includes a NAL unit type indicating whether or not the picture corresponding to the sliced data is a picture that can be decoded independently.
  • the generation unit 78 outputs an encoded stream composed of a parameter set and slice data NAL units.
  • the quantized orthogonal transform coefficient output from the quantization unit 75 is also input to the inverse quantization unit 79.
  • the inverse quantization unit 79 performs inverse quantization on the orthogonal transform coefficient quantized by the quantization unit 75 by a method corresponding to the quantization method in the quantization unit 75.
  • the inverse quantization unit 79 supplies the orthogonal transform coefficient obtained as a result of the inverse quantization to the inverse orthogonal transform unit 80.
  • the inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 by a method corresponding to the orthogonal transform method in the orthogonal transform unit 74 in units of TUs.
  • the inverse orthogonal transform unit 80 supplies the residual information obtained as a result to the addition unit 81.
  • the addition unit 81 decodes the CU by adding the residual information supplied from the inverse orthogonal transform unit 80 and the predicted image supplied from the predicted image selection unit 92. When the predicted image is not supplied from the predicted image selection unit 92, the adding unit 81 uses the residual information supplied from the inverse orthogonal transform unit 80 as a decoding result.
  • the adder 81 supplies the CU to the frame memory 85 and the filter 82.
  • the filter 82 performs a deblocking filter process on the CU supplied from the adding unit 81.
  • the filter 82 performs SAO processing (adaptive offset filter processing) on the CU after the deblocking filter processing.
  • SAO processing adaptive offset filter processing
  • Types of SAO processing include edge offset processing and band offset processing, which are selected in units of LCUs.
  • the filter 82 supplies the CU after the SAO processing to the frame memory 85. Further, the filter 82 supplies information indicating the type and offset of the SAO processing performed to the lossless encoding unit 76 as offset filter information.
  • the frame memory 85 is composed of, for example, DRAM (Dynamic Random Access Memory).
  • the frame memory 85 stores the CU before deblocking filter processing supplied from the adding unit 81 and the CU after SAO processing supplied from the filter 82.
  • the peripheral pixels of the PU are supplied to the intra prediction unit 87 via the switch 86.
  • a part of the current picture before the deblocking filter process stored in the frame memory 85 and a picture after the SAO process before the current picture in the coding order are motion-predicted via the switch 86 as reference picture candidates. -It outputs to the compensation part 89.
  • the intra prediction unit 87 performs intra prediction processing in all candidate intra prediction modes using peripheral pixels read from the frame memory 85 via the switch 86 in units of PUs.
  • the intra prediction unit 87 performs, on a PU basis, all candidate intra prediction modes based on the CU supplied from the screen rearrangement buffer 72 and the prediction image generated as a result of the intra prediction process. A cost function value (details will be described later) is calculated. Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode for each PU.
  • the intra prediction unit 87 supplies the prediction image generated in the optimal intra prediction mode and the corresponding cost function value to the prediction image selection unit 92 in units of PUs.
  • the intra prediction unit 87 supplies the intra prediction mode information to the lossless encoding unit 76 when the prediction image selection unit 92 is notified of the selection of the prediction image generated in the optimal intra prediction mode.
  • the cost function value is also called RD (RateRDistortion) cost.
  • RD Raster RDistortion
  • JM Joint Model
  • the motion prediction / compensation unit 89 performs inter prediction of all candidate PU modes (details will be described later).
  • the motion prediction / compensation unit 89 quadruples the resolution of the reference picture candidate and the CU in the horizontal and vertical directions before the current picture in the coding order.
  • the motion prediction / compensation unit 89 detects a motion vector with 1/4 pixel accuracy for each PU in each PU mode using a reference picture candidate and a CU in which the horizontal and vertical resolutions are quadrupled. To do.
  • the motion prediction / compensation unit 89 performs compensation processing on a reference picture candidate whose horizontal and vertical resolutions are quadrupled based on the detected motion vector for each PU in each PU mode, A prediction image is generated.
  • the PU mode is a mode representing a partitioning method or the like of the PU to the CU.
  • the motion prediction / compensation unit 89 performs intra-BC prediction for all candidate PU modes. Specifically, the motion prediction / compensation unit 89 uses, for each PU in each PU mode, an integer pixel accuracy using a part of the current picture before deblocking filter processing supplied as a reference picture candidate and the CU. The motion vector is detected. The motion prediction / compensation unit 89 performs compensation processing on a part of the current picture before the deblocking filter processing based on the detected motion vector for each PU in each PU mode, and generates a predicted image.
  • the motion prediction / compensation unit 89 also performs intra prediction of all candidate PU modes and reference picture candidates, and intra of all candidate PU modes based on the CU and the predicted image in units of PUs.
  • a cost function value is calculated for BC prediction.
  • the motion prediction / compensation unit 89 determines, for each PU, a mode representing a PU mode having a minimum cost function value and inter prediction or Intra-BC prediction as the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the predicted image generated in the optimal inter prediction mode and the corresponding cost function value to the predicted image selection unit 92 in units of PUs.
  • the motion prediction / compensation unit 89 determines a reference picture candidate as a reference picture when the prediction image selection unit 92 is notified of selection of a prediction image generated in the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the motion vector, the reference picture specifying information, and the inter prediction mode information corresponding to the predicted image to the lossless encoding unit 76.
  • the predicted image selection unit 92 Based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 89, the predicted image selection unit 92 has a smaller corresponding cost function value among the optimal intra prediction mode and the optimal inter prediction mode. Are determined as the optimum prediction mode. Then, the predicted image selection unit 92 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81. Further, the predicted image selection unit 92 notifies the intra prediction unit 87 or the motion prediction / compensation unit 89 of selection of the predicted image in the optimal prediction mode.
  • the rate control unit 93 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
  • FIG. 7 is a diagram illustrating an example of a slice type.
  • the slice type shown in FIG. 7 is different from the slice type shown in FIG. 2 in that when the slice type is a P slice, the slice is not an Intra BC slice, and a new IBC slice (IBC_SLICE) for an intra slice is provided. Is different.
  • the slice type of FIG. 7 when the slice type is P slice, the slice is an inter slice in which intra prediction or inter prediction is performed.
  • the slice type is an IBC slice
  • the slice is an intra slice in which intra prediction or Intra-BC prediction is performed. Therefore, the IBC slice is prediction information indicating that the slice is encoded using Intra BC prediction or intra prediction.
  • the number as information representing the slice type is 3.
  • the slice type is I slice or IBC slice
  • the slice type is P slice or B slice. Become. Therefore, the decoding apparatus can recognize whether or not a slice can be independently decoded by the slice type before decoding.
  • FIG. 8 is a diagram illustrating an example of a slice type added to encoded data in units of pictures by the generation unit 78 in FIG.
  • the generation unit 78 adds a slice header including 3 representing an IBC slice as a slice type to encoded data of an intra slice among slices in a picture. Further, the generation unit 78 adds a slice header including 1 representing P slice as the slice type to the encoded data of the inter slice.
  • step S31 in FIG. 9 the A / D conversion unit 71 of the encoding device 70 performs A / D conversion on the analog signal of the frame unit picture input as the encoding target, and displays the digital signal of the converted picture on the screen.
  • the data is output to the rearrangement buffer 72 and stored.
  • step S32 the screen rearrangement buffer 72 rearranges the stored pictures in the display order in the order for encoding according to the GOP structure.
  • the screen rearrangement buffer 72 sets the rearranged picture as the current picture, and sequentially supplies each CU of the current picture to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 89.
  • the intra prediction unit 87 performs intra prediction processing of all candidate intra prediction modes using peripheral pixels read from the frame memory 85 via the switch 86 in units of PUs.
  • the intra prediction unit 87 performs, on a PU basis, all candidate intra prediction modes based on the CU supplied from the screen rearrangement buffer 72 and the prediction image generated as a result of the intra prediction process. Calculate the cost function value. Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode for each PU.
  • the intra prediction unit 87 supplies the prediction image generated in the optimal intra prediction mode and the corresponding cost function value to the prediction image selection unit 92 in units of PUs.
  • the intra prediction unit 87 supplies the intra prediction mode information to the lossless encoding unit 76 when the prediction image selection unit 92 is notified of the selection of the prediction image generated in the optimal intra prediction mode.
  • the motion prediction / compensation unit 89 performs intra-BC prediction for all candidate PU modes in units of PUs. Furthermore, when the slice including the CU supplied from the screen rearrangement buffer 72 is an inter slice, the motion prediction / compensation unit 89 performs inter prediction for all candidate PU modes in units of PUs.
  • the motion prediction / compensation unit 89 performs intra prediction of all candidate PU modes and reference picture candidates and intra-BC prediction of all candidate PU modes based on the CU and the predicted image in units of PUs. For this, a cost function value is calculated.
  • the motion prediction / compensation unit 89 determines, for each PU, a mode representing a PU mode having a minimum cost function value and inter prediction or Intra-BC prediction as the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the predicted image generated in the optimal inter prediction mode and the corresponding cost function value to the predicted image selection unit 92 in units of PUs.
  • step S34 the predicted image selection unit 92 has a small cost function value in the optimal intra prediction mode and the optimal inter prediction mode based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 89. Is determined to be the optimal prediction mode. Then, the predicted image selection unit 92 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81.
  • step S35 the predicted image selecting unit 92 determines whether or not the optimal prediction mode is the optimal inter prediction mode.
  • the predicted image selection unit 92 notifies the motion prediction / compensation unit 89 of the selection of the predicted image generated in the optimal inter prediction mode.
  • step S36 the motion prediction / compensation unit 89 supplies the inter prediction mode information, the motion vector, and the reference picture specifying information corresponding to the prediction image selected by the prediction image selection unit 92 to the lossless encoding unit 76. Then, the process proceeds to step S38.
  • step S35 when it is determined in step S35 that the optimal prediction mode is not the optimal inter prediction mode, that is, when the optimal prediction mode is the optimal intra prediction mode, the predicted image selection unit 92 performs the prediction generated in the optimal intra prediction mode.
  • the intra prediction unit 87 is notified of image selection.
  • step S37 the intra prediction unit 87 supplies the intra prediction mode information corresponding to the prediction image selected by the prediction image selection unit 92 to the lossless encoding unit 76, and the process proceeds to step S38.
  • step S38 the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 92 from the CU supplied from the screen rearrangement buffer 72.
  • the computing unit 73 outputs information obtained as a result to the orthogonal transform unit 74 as residual information.
  • step S39 the orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 in units of TUs, and supplies the resulting orthogonal transform coefficient to the quantization unit 75.
  • step S40 the quantization unit 75 quantizes the orthogonal transform coefficient supplied from the orthogonal transform unit 74, and supplies the quantized orthogonal transform coefficient to the lossless encoding unit 76 and the inverse quantization unit 79.
  • step S41 of FIG. 10 the inverse quantization unit 79 inversely quantizes the quantized orthogonal transform coefficient supplied from the quantization unit 75 and supplies the resulting orthogonal transform coefficient to the inverse orthogonal transform unit 80. .
  • step S42 the inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 in units of TUs, and supplies residual information obtained as a result to the adder 81.
  • step S43 the addition unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the prediction image supplied from the prediction image selection unit 92, and decodes the CU.
  • the adder 81 supplies the decoded CU to the frame memory 85 and the filter 82.
  • step S44 the filter 82 performs deblocking filter processing on the CU supplied from the adding unit 81.
  • step S45 the filter 82 performs SAO processing on the CU after the deblocking filter processing.
  • the filter 82 supplies the CU after the SAO processing to the frame memory 85. Further, the filter 82 supplies information indicating the type and offset of the SAO processing performed to the lossless encoding unit 76 as offset filter information.
  • step S46 the frame memory 85 stores the CU before deblocking filter processing supplied from the adding unit 81 and the CU after SAO processing supplied from the filter 82.
  • the peripheral pixels of the PU are supplied to the intra prediction unit 87 via the switch 86.
  • a part of the current picture before the deblocking filter process stored in the frame memory 85 and a picture after the SAO process before the current picture in the coding order are motion-predicted via the switch 86 as reference picture candidates. -It outputs to the compensation part 89.
  • step S47 the lossless encoding unit 76 losslessly encodes the intra prediction mode information, the inter prediction mode information, the motion vector, the reference picture specifying information, and the offset filter information as the encoding information.
  • step S48 the lossless encoding unit 76 performs lossless encoding on the quantized orthogonal transform coefficient supplied from the quantization unit 75. Then, the lossless encoding unit 76 generates encoded data from the encoding information that has been losslessly encoded in the process of step S 47 and the orthogonal transform coefficient that has been losslessly encoded, and supplies the encoded data to the accumulation buffer 77.
  • step S49 the accumulation buffer 77 temporarily accumulates the encoded data supplied from the lossless encoding unit 76.
  • step S50 the rate control unit 93 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
  • step S 51 the accumulation buffer 77 supplies the encoded data in units of pictures stored in the accumulation buffer 77 to the generation unit 78.
  • step S52 the generation unit 78 adds a slice header including information indicating the slice type for each slice to the encoded data in units of pictures supplied from the accumulation buffer 77.
  • the generation unit 78 adds a slice header including 3 representing an IBC slice as a slice type to the encoded data of the intra slice.
  • the generation unit 78 adds a slice header including 1 representing P slice as the slice type to the encoded data of the inter slice. Thereby, slice data of each slice is generated.
  • step S53 the generation unit 78 NALs the parameter set and slice data of each slice to generate a NAL unit, and generates an encoded stream from the NAL unit.
  • the generation unit 78 outputs the encoded stream and ends the process.
  • FIG. 11 is a block diagram illustrating a configuration example of an embodiment of a decoding device as an image processing device to which the present disclosure is applied, which decodes an encoded stream transmitted from the encoding device 70 in FIG. 6.
  • the decoding device 130 includes a frame memory 141, a switch 142, an intra prediction unit 143, a motion compensation unit 147, and a switch 148.
  • the accumulation buffer 131 of the decoding apparatus 130 receives and accumulates the encoded stream from the encoding apparatus 70 of FIG.
  • the accumulation buffer 131 supplies slice data in units of pictures in the accumulated encoded stream to the lossless decoding unit 132 as slice data of the current picture in order. Note that the parameter set in the encoded stream is supplied to each unit of the decoding device 130 as necessary, and used for processing.
  • the lossless decoding unit 132 decodes the slice header from the slice data supplied from the accumulation buffer 131, and supplies information representing the slice type included in the slice header to the motion compensation unit 147.
  • the lossless decoding unit 132 sequentially performs lossless decoding such as variable length decoding and arithmetic decoding corresponding to the lossless encoding of the lossless encoding unit 76 of FIG. 6 with respect to the encoded data of each CU constituting the slice data. As a result, quantized orthogonal transform coefficients and encoded information are obtained.
  • the lossless decoding unit 132 supplies the quantized orthogonal transform coefficient to the inverse quantization unit 133.
  • the lossless decoding unit 132 supplies intra prediction mode information and the like as encoded information to the intra prediction unit 143, and supplies reference picture specifying information, motion vectors, inter prediction mode information, and the like to the motion compensation unit 147.
  • the lossless decoding unit 132 supplies intra prediction mode information or inter prediction mode information as encoded information to the switch 148.
  • the lossless decoding unit 132 supplies offset filter information as encoded information to the filter 136.
  • the inverse quantization unit 133, the inverse orthogonal transform unit 134, the addition unit 135, the filter 136, the frame memory 141, the switch 142, the intra prediction unit 143, and the motion compensation unit 147 are the inverse quantization unit 79 and the inverse orthogonal transform unit illustrated in FIG. 80, the adding unit 81, the filter 82, the frame memory 85, the switch 86, the intra prediction unit 87, and the motion prediction / compensation unit 89, the same processing is performed, thereby decoding the CU.
  • the inverse quantization unit 133 inversely quantizes the quantized orthogonal transform coefficient from the lossless decoding unit 132 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 134.
  • the inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 133 in units of TUs.
  • the inverse orthogonal transform unit 134 supplies residual information obtained as a result of the inverse orthogonal transform to the addition unit 135.
  • the addition unit 135 decodes the CU by adding the residual information supplied from the inverse orthogonal transform unit 134 and the prediction image supplied from the switch 148. Note that, when the predicted image is not supplied from the switch 148, the adding unit 135 uses the residual information supplied from the inverse orthogonal transform unit 134 as a decoding result. The adding unit 135 supplies the CU obtained as a result of decoding to the frame memory 141 and the filter 136.
  • the filter 136 performs deblocking filter processing on the CU supplied from the adding unit 135.
  • the filter 136 uses the offset represented by the offset filter information supplied from the lossless decoding unit 132 to perform the type of SAO processing represented by the offset filter information on the CU after the deblocking filter processing.
  • the filter 136 supplies the CU after the SAO processing to the frame memory 141 and the screen rearrangement buffer 139.
  • the screen rearrangement buffer 139 stores the CU after SAO processing supplied from the filter 136 in units of frames. Further, the screen rearrangement buffer 139 discards (deletes) the stored PU based on the reference impossible information indicating that the reference picture from the motion compensation unit 147 is not referable. The screen rearrangement buffer 139 rearranges the stored pictures for encoding in the original display order, and supplies them to the D / A converter 140.
  • the D / A conversion unit 140 D / A converts the picture supplied from the screen rearrangement buffer 139 and outputs it.
  • the frame memory 141 is composed of, for example, DRAM.
  • the frame memory 141 stores the CU before deblocking filter processing supplied from the adding unit 135 and the CU after SAO processing supplied from the filter 136. Further, the frame memory 141 discards the stored PU based on the reference impossible information supplied from the motion compensation unit 147.
  • the peripheral pixels of the PU are supplied to the intra prediction unit 143 via the switch 142. Also, a part of the current picture before the deblocking filter process stored in the frame memory 141 and a picture after the SAO process before the current picture in the coding order are used as a reference picture via the switch 142 and the motion compensation unit 147. Is output.
  • the intra prediction unit 143 uses the peripheral pixels read from the frame memory 141 via the switch 142 in units of PUs, and performs intra prediction in the optimal intra prediction mode indicated by the intra prediction mode information supplied from the lossless decoding unit 132. Process.
  • the intra prediction unit 143 supplies the prediction image generated as a result to the switch 148.
  • the motion compensation unit 147 performs motion compensation processing in units of PUs based on information representing slice types, inter prediction mode information, reference picture specifying information, and motion vectors supplied from the lossless decoding unit 132.
  • the motion compensation unit 147 determines whether there is a reference picture specified by the reference picture specifying information in the frame memory 141 based on the information indicating the slice type supplied from the lossless decoding unit 132, that is, the reference It is determined whether the picture is a decoded picture.
  • the motion compensation unit 147 supplies the non-referenceable information to the screen rearrangement buffer 139 and the frame memory 141 based on the determination result.
  • the motion compensation unit 147 reads the reference picture from the frame memory 141 via the switch 142 when the reference picture exists in the frame memory 141. Then, the motion compensation unit 147 performs motion compensation processing in the optimal inter prediction mode indicated by the inter prediction mode information using the reference picture and the motion vector, and supplies a prediction image generated as a result to the switch 148.
  • the switch 148 supplies the prediction image supplied from the intra prediction unit 143 to the addition unit 135.
  • the switch 148 supplies the prediction image supplied from the motion compensation unit 147 to the adding unit 135.
  • FIG. 12 is a flowchart for explaining the decoding process of the decoding device 130 of FIG. This decoding process is started, for example, when slice data of the current picture is supplied to the lossless decoding unit 132.
  • the lossless decoding unit 132 sets the slice count value i to 0. In step S142, the lossless decoding unit 132 determines whether the count value i is smaller than the number of slices constituting the current picture. If it is determined in step S142 that the count value i is smaller than the number of slices constituting the current picture, the process proceeds to step S143.
  • step S143 the lossless decoding unit 132 decodes the slice header from the slice data of the i-th slice among the slice data supplied from the accumulation buffer 131.
  • the lossless decoding unit 132 supplies information representing the slice type included in the decoded slice header to the motion compensation unit 147.
  • the lossless decoding unit 132 performs lossless decoding such as variable length decoding and arithmetic decoding on the encoded data of the i-th slice data, thereby obtaining the quantized orthogonal transform coefficient and the encoded information. obtain.
  • the lossless decoding unit 132 supplies the quantized orthogonal transform coefficient to the inverse quantization unit 133, and the inverse quantization unit 133 inversely quantizes the quantized orthogonal transform coefficient from the lossless decoding unit 132.
  • the inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficients obtained as a result in units of TUs to obtain residual information.
  • the lossless decoding unit 132 supplies intra prediction mode information as encoded information to the intra prediction unit 143, and supplies reference picture specifying information, motion vectors, inter prediction mode information, and the like to the motion compensation unit 147.
  • the lossless decoding unit 132 supplies intra prediction mode information or inter prediction mode information as encoded information to the switch 148.
  • the lossless decoding unit 132 supplies offset filter information as encoded information to the filter 136.
  • step S144 based on the information indicating the slice type supplied from the lossless decoding unit 132, the motion compensation unit 147 determines whether the slice type of the i-th slice is an intra slice, that is, information indicating the slice type is 3 It is determined whether or not.
  • step S144 If it is determined in step S144 that the slice type of the i-th slice is an intra slice, that is, if the i-th slice can be decoded independently, in step S145, the decoding device 130 determines the count value of the PU. Set k to 0.
  • step S146 the decoding device 130 determines whether the count value k is smaller than the number of PUs constituting the i-th slice. If it is determined in step S146 that the count value k is smaller than the number of PUs constituting the i-th slice, the process proceeds to step S147.
  • step S147 the decoding device 130 decodes the encoded data of the kth PU among the slice data of the i-th slice. Specifically, for the k-th PU, the motion compensation unit 147 performs Intra BC prediction, or the intra prediction unit 143 performs intra prediction processing, and the addition unit 135 performs a prediction image obtained as a result. Add residual information.
  • the decoding result is supplied to the screen rearrangement buffer 139 through the filter 136 and supplied to the frame memory 141 and stored in units of CUs.
  • step S148 the decryption apparatus 130 increments the count value k by 1, and returns the process to step S146.
  • step S146 determines whether the count value k is equal to or greater than the number of PUs constituting the i-th slice. If it is determined in step S146 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the process proceeds to step S149. In step S149, the lossless decoding unit 132 increments the count value i by 1, and returns the process to step S142.
  • step S144 If it is determined in step S144 that the slice type of the i-th slice is not an intra slice, that is, if the information indicating the slice type is 1, the process proceeds to step S150.
  • steps S150 and S151 are the same as the processing in steps S145 and S146, description thereof is omitted.
  • step S152 the decoding device 130 decodes the encoded data of the kth PU among the slice data of the i-th slice. Specifically, for the k-th PU, the intra prediction unit 143 performs intra prediction processing, or the motion compensation unit 147 performs inter prediction, and the adding unit 135 determines the prediction image obtained as a result and the remaining image. Add difference information. Alternatively, the adding unit 135 directly uses the residual information as a decoding result.
  • the decoding result is supplied to the screen rearrangement buffer 139 through the filter 136 and supplied to the frame memory 141 and stored in units of CUs.
  • step S153 the decoding device 130 determines whether or not intra prediction processing has been performed in step S152. When it is determined in step S153 that the intra prediction process has been performed in the process of step S152, the process proceeds to step S156.
  • step S153 when it is determined in step S153 that the intra prediction process is not performed in the process of step S152, the process proceeds to step S154.
  • step S154 the motion compensation unit 147 determines whether or not the reference picture can be referred to in the process of step S152, that is, whether or not a predicted image has been generated.
  • step S154 If it is determined in step S154 that the reference picture can be referred to, the process proceeds to step S156.
  • step S154 when it is determined in step S154 that the reference picture is not referable, the motion compensation unit 147 supplies the non-referenceable information to the screen rearrangement buffer 139 and the frame memory 141.
  • step S155 the screen rearrangement buffer 139 and the frame memory 141 discard the decoding result of the kth PU according to the unreferenceable information. Then, the process proceeds to step S156.
  • step S156 the decryption apparatus 130 increments the count value k by 1, and returns the process to step S151.
  • step S151 If it is determined in step S151 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the lossless decoding unit 132 increments the count value i by 1 in step S157 and performs processing. Is returned to step S142.
  • step S142 If it is determined in step S142 that the count value i is greater than or equal to the number of slices that make up the current picture, the decoding process ends.
  • the decoding device 130 can recognize whether each slice is an intra-slice that can be independently decoded before decoding based on the slice header. Therefore, when the slice is an intra slice, there is no need to determine whether or not decoding is possible independently for each PU. That is, the decoding device 130 does not need to perform the process of step S153 of FIG. 12 similar to the process of step S17 of FIG. 5 for the intra slice. As a result, the load of decoding processing is reduced.
  • the encoding device 70 always sets the slice type of the intra slice to IBC slice. However, if the intra slice is a slice for which only intra prediction is performed, the slice type of the intra slice is set to I slice. May be. In this case, in step S144 of FIG. 12, it is determined whether or not the slice type of the i-th slice is an intra slice depending on whether or not the information indicating the slice type of the i-th slice is 2 or more.
  • the slice type of the inter slice is P slice, but it may be B slice.
  • a slice type for intra slice is newly set.
  • Region refresh information SEI Supplemental Enhancement Information
  • Etc. Supplemental Enhancement Information
  • the decoding apparatus capable of recognizing Region refresh information SEI can recognize whether the slice is independently decodable by Region refresh information SEI before decoding the information indicating the slice type.
  • a decoding device that cannot recognize Region refresh information SEI cannot recognize whether it is a slice that can be decoded independently.
  • ⁇ Second Embodiment> (Description of computer to which the present disclosure is applied)
  • the series of processes described above can be executed by hardware or can be executed by software.
  • a program constituting the software is installed in the computer.
  • the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
  • FIG. 13 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 205 is further connected to the bus 204.
  • An input unit 206, an output unit 207, a storage unit 208, a communication unit 209, and a drive 210 are connected to the input / output interface 205.
  • the input unit 206 includes a keyboard, a mouse, a microphone, and the like.
  • the output unit 207 includes a display, a speaker, and the like.
  • the storage unit 208 includes a hard disk, a nonvolatile memory, and the like.
  • the communication unit 209 includes a network interface and the like.
  • the drive 210 drives a removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the CPU 201 loads, for example, the program stored in the storage unit 208 to the RAM 203 via the input / output interface 205 and the bus 204 and executes the program. Is performed.
  • the program executed by the computer (CPU 201) can be provided by being recorded in the removable medium 211 as a package medium or the like, for example.
  • the program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
  • the program can be installed in the storage unit 208 via the input / output interface 205 by attaching the removable medium 211 to the drive 210.
  • the program can be received by the communication unit 209 via a wired or wireless transmission medium and installed in the storage unit 208.
  • the program can be installed in the ROM 202 or the storage unit 208 in advance.
  • the program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
  • FIG. 14 illustrates a schematic configuration of a television apparatus to which the present disclosure is applied.
  • the television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, and an external interface unit 909. Furthermore, the television apparatus 900 includes a control unit 910, a user interface unit 911, and the like.
  • the tuner 902 selects a desired channel from the broadcast wave signal received by the antenna 901, demodulates it, and outputs the obtained encoded bit stream to the demultiplexer 903.
  • the demultiplexer 903 extracts video and audio packets of the program to be viewed from the encoded bit stream, and outputs the extracted packet data to the decoder 904. Further, the demultiplexer 903 supplies a packet of data such as EPG (Electronic Program Guide) to the control unit 910. If scrambling is being performed, descrambling is performed by a demultiplexer or the like.
  • EPG Electronic Program Guide
  • the decoder 904 performs packet decoding processing, and outputs video data generated by the decoding processing to the video signal processing unit 905 and audio data to the audio signal processing unit 907.
  • the video signal processing unit 905 performs noise removal, video processing according to user settings, and the like on the video data.
  • the video signal processing unit 905 generates video data of a program to be displayed on the display unit 906, image data by processing based on an application supplied via a network, and the like.
  • the video signal processing unit 905 generates video data for displaying a menu screen for selecting an item and the like, and superimposes the video data on the video data of the program.
  • the video signal processing unit 905 generates a drive signal based on the video data generated in this way, and drives the display unit 906.
  • the display unit 906 drives a display device (for example, a liquid crystal display element or the like) based on a drive signal from the video signal processing unit 905 to display a program video or the like.
  • a display device for example, a liquid crystal display element or the like
  • the audio signal processing unit 907 performs predetermined processing such as noise removal on the audio data, performs D / A conversion processing and amplification processing on the processed audio data, and outputs the audio data to the speaker 908.
  • the external interface unit 909 is an interface for connecting to an external device or a network, and transmits and receives data such as video data and audio data.
  • a user interface unit 911 is connected to the control unit 910.
  • the user interface unit 911 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 910.
  • the control unit 910 is configured using a CPU (Central Processing Unit), a memory, and the like.
  • the memory stores a program executed by the CPU, various data necessary for the CPU to perform processing, EPG data, data acquired via a network, and the like.
  • the program stored in the memory is read and executed by the CPU at a predetermined timing such as when the television device 900 is activated.
  • the CPU executes each program to control each unit so that the television device 900 operates in accordance with the user operation.
  • the television device 900 includes a bus 912 for connecting the tuner 902, the demultiplexer 903, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910.
  • the decoder 904 is provided with the function of the decoding apparatus (decoding method) of the present application. For this reason, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
  • FIG. 15 illustrates a schematic configuration of a mobile phone to which the present disclosure is applied.
  • the cellular phone 920 includes a communication unit 922, an audio codec 923, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, and a control unit 931. These are connected to each other via a bus 933.
  • an antenna 921 is connected to the communication unit 922, and a speaker 924 and a microphone 925 are connected to the audio codec 923. Further, an operation unit 932 is connected to the control unit 931.
  • the mobile phone 920 performs various operations such as transmission / reception of voice signals, transmission / reception of e-mail and image data, image shooting, and data recording in various modes such as a voice call mode and a data communication mode.
  • the voice signal generated by the microphone 925 is converted into voice data and compressed by the voice codec 923 and supplied to the communication unit 922.
  • the communication unit 922 performs audio data modulation processing, frequency conversion processing, and the like to generate a transmission signal.
  • the communication unit 922 supplies a transmission signal to the antenna 921 and transmits it to a base station (not shown).
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and supplies the obtained audio data to the audio codec 923.
  • the audio codec 923 performs data expansion of the audio data and conversion to an analog audio signal and outputs the result to the speaker 924.
  • the control unit 931 receives character data input by operating the operation unit 932 and displays the input characters on the display unit 930.
  • the control unit 931 generates mail data based on a user instruction or the like in the operation unit 932 and supplies the mail data to the communication unit 922.
  • the communication unit 922 performs mail data modulation processing, frequency conversion processing, and the like, and transmits the obtained transmission signal from the antenna 921.
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores mail data. This mail data is supplied to the display unit 930 to display the mail contents.
  • the mobile phone 920 can also store the received mail data in a storage medium by the recording / playback unit 929.
  • the storage medium is any rewritable storage medium.
  • the storage medium is a removable memory such as a RAM, a semiconductor memory such as a built-in flash memory, a hard disk, a magnetic disk, a magneto-optical disk, an optical disk, a USB (Universal Serial Bus) memory, or a memory card.
  • the image data generated by the camera unit 926 is supplied to the image processing unit 927.
  • the image processing unit 927 performs encoding processing of image data and generates encoded data.
  • the demultiplexing unit 928 multiplexes the encoded data generated by the image processing unit 927 and the audio data supplied from the audio codec 923 by a predetermined method, and supplies the multiplexed data to the communication unit 922.
  • the communication unit 922 performs modulation processing and frequency conversion processing of multiplexed data, and transmits the obtained transmission signal from the antenna 921.
  • the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores multiplexed data. This multiplexed data is supplied to the demultiplexing unit 928.
  • the demultiplexing unit 928 performs demultiplexing of the multiplexed data, and supplies the encoded data to the image processing unit 927 and the audio data to the audio codec 923.
  • the image processing unit 927 performs a decoding process on the encoded data to generate image data.
  • the image data is supplied to the display unit 930 and the received image is displayed.
  • the audio codec 923 converts the audio data into an analog audio signal, supplies the analog audio signal to the speaker 924, and outputs the received audio.
  • the image processing unit 927 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
  • FIG. 16 illustrates a schematic configuration of a recording / reproducing apparatus to which the present disclosure is applied.
  • the recording / reproducing apparatus 940 records, for example, audio data and video data of a received broadcast program on a recording medium, and provides the recorded data to the user at a timing according to a user instruction.
  • the recording / reproducing device 940 can also acquire audio data and video data from another device, for example, and record them on a recording medium. Further, the recording / reproducing apparatus 940 decodes and outputs the audio data and video data recorded on the recording medium, thereby enabling image display and audio output on the monitor apparatus or the like.
  • the recording / reproducing apparatus 940 includes a tuner 941, an external interface unit 942, an encoder 943, an HDD (Hard Disk Drive) unit 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) unit 948, a control unit 949, A user interface unit 950 is included.
  • Tuner 941 selects a desired channel from a broadcast signal received by an antenna (not shown).
  • the tuner 941 outputs an encoded bit stream obtained by demodulating the received signal of a desired channel to the selector 946.
  • the external interface unit 942 includes at least one of an IEEE 1394 interface, a network interface unit, a USB interface, a flash memory interface, and the like.
  • the external interface unit 942 is an interface for connecting to an external device, a network, a memory card, and the like, and receives data such as video data and audio data to be recorded.
  • the encoder 943 performs encoding by a predetermined method when the video data and audio data supplied from the external interface unit 942 are not encoded, and outputs an encoded bit stream to the selector 946.
  • the HDD unit 944 records content data such as video and audio, various programs, and other data on a built-in hard disk, and reads them from the hard disk during playback.
  • the disk drive 945 records and reproduces signals with respect to the mounted optical disk.
  • An optical disk such as a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.), a Blu-ray (registered trademark) disk, or the like.
  • the selector 946 selects one of the encoded bit streams from the tuner 941 or the encoder 943 and supplies it to either the HDD unit 944 or the disk drive 945 when recording video or audio. Further, the selector 946 supplies the encoded bit stream output from the HDD unit 944 or the disk drive 945 to the decoder 947 at the time of reproduction of video and audio.
  • the decoder 947 performs a decoding process on the encoded bit stream.
  • the decoder 947 supplies the video data generated by performing the decoding process to the OSD unit 948.
  • the decoder 947 outputs audio data generated by performing the decoding process.
  • the OSD unit 948 generates video data for displaying a menu screen for selecting an item and the like, and superimposes it on the video data output from the decoder 947 and outputs the video data.
  • a user interface unit 950 is connected to the control unit 949.
  • the user interface unit 950 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 949.
  • the control unit 949 is configured using a CPU, a memory, and the like.
  • the memory stores programs executed by the CPU and various data necessary for the CPU to perform processing.
  • the program stored in the memory is read and executed by the CPU at a predetermined timing such as when the recording / reproducing apparatus 940 is activated.
  • the CPU executes the program to control each unit so that the recording / reproducing device 940 operates according to the user operation.
  • the encoder 943 is provided with the function of the encoding apparatus (encoding method) of the present application
  • the decoder 947 is provided with the function of the decoding apparatus (decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
  • FIG. 17 illustrates a schematic configuration of an imaging apparatus to which the present disclosure is applied.
  • the imaging device 960 images a subject, displays an image of the subject on a display unit, and records it on a recording medium as image data.
  • the imaging device 960 includes an optical block 961, an imaging unit 962, a camera signal processing unit 963, an image data processing unit 964, a display unit 965, an external interface unit 966, a memory unit 967, a media drive 968, an OSD unit 969, and a control unit 970. Have. In addition, a user interface unit 971 is connected to the control unit 970. Furthermore, the image data processing unit 964, the external interface unit 966, the memory unit 967, the media drive 968, the OSD unit 969, the control unit 970, and the like are connected via a bus 972.
  • the optical block 961 is configured using a focus lens, a diaphragm mechanism, and the like.
  • the optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 962.
  • the imaging unit 962 is configured using a CCD or CMOS image sensor, generates an electrical signal corresponding to the optical image by photoelectric conversion, and supplies the electrical signal to the camera signal processing unit 963.
  • the camera signal processing unit 963 performs various camera signal processing such as knee correction, gamma correction, and color correction on the electrical signal supplied from the imaging unit 962.
  • the camera signal processing unit 963 supplies the image data after the camera signal processing to the image data processing unit 964.
  • the image data processing unit 964 performs an encoding process on the image data supplied from the camera signal processing unit 963.
  • the image data processing unit 964 supplies the encoded data generated by performing the encoding process to the external interface unit 966 and the media drive 968. Further, the image data processing unit 964 performs a decoding process on the encoded data supplied from the external interface unit 966 and the media drive 968.
  • the image data processing unit 964 supplies the image data generated by performing the decoding process to the display unit 965. Further, the image data processing unit 964 superimposes the processing for supplying the image data supplied from the camera signal processing unit 963 to the display unit 965 and the display data acquired from the OSD unit 969 on the image data. To supply.
  • the OSD unit 969 generates display data such as a menu screen and icons made up of symbols, characters, or figures and outputs them to the image data processing unit 964.
  • the external interface unit 966 includes, for example, a USB input / output terminal, and is connected to a printer 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 appropriately mounted, and a computer program read from them is installed as necessary.
  • the external interface unit 966 has a network interface connected to a predetermined network such as a LAN or the Internet.
  • the control unit 970 reads encoded data from the media drive 968 in accordance with an instruction from the user interface unit 971, and supplies the encoded data to the other device connected via the network from the external interface unit 966. it can.
  • the control unit 970 may acquire encoded data and image data supplied from another device via the network via the external interface unit 966 and supply the acquired data to the image data processing unit 964. it can.
  • any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory is used.
  • the recording medium may be any type of removable medium, and may be a tape device, a disk, or a memory card. Of course, a non-contact IC (Integrated Circuit) card may be used.
  • media drive 968 and the recording medium may be integrated and configured by a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
  • a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
  • the control unit 970 is configured using a CPU.
  • the memory unit 967 stores a program executed by the control unit 970, various data necessary for the control unit 970 to perform processing, and the like.
  • the program stored in the memory unit 967 is read and executed by the control unit 970 at a predetermined timing such as when the imaging device 960 is activated.
  • the control unit 970 controls each unit so that the imaging device 960 performs an operation according to a user operation by executing a program.
  • the image data processing unit 964 is provided with the functions of the encoding apparatus and decoding apparatus (encoding method and decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
  • FIG. 18 illustrates an example of a schematic configuration of a video set to which the present disclosure is applied.
  • the video set 1300 shown in FIG. 18 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 an associated module 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
  • a cocoon module is a component that has several functions that are related to each other and that have a coherent function.
  • the specific physical configuration is arbitrary. For example, a plurality of processors each having a function, electronic circuit elements such as resistors and capacitors, and other devices arranged on a wiring board or the like can be considered. . It is also possible to combine the module with another module, a processor, or the like to form a new module.
  • the video module 1311 is a combination of configurations having functions related to image processing, and includes an application processor, a video processor, a broadband modem 1333, and an RF module 1334.
  • the processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by an SoC (System On Chip), and for example, there is also a system LSI (Large Scale Integration) or the like.
  • the configuration having the predetermined function may be a logic circuit (hardware configuration), a CPU, a ROM, a RAM, and the like, and a program (software configuration) executed using them. , Or a combination of both.
  • a processor has a logic circuit and a CPU, ROM, RAM, etc., a part of the function is realized by a logic circuit (hardware configuration), and other functions are executed by the CPU (software configuration) It may be realized by.
  • the application processor 1331 in FIG. 18 is a processor that executes an application relating to image processing.
  • the application executed in the application processor 1331 not only performs arithmetic processing to realize a predetermined function, but also can control the internal and external configurations of the video module 1311 such as the video processor 1332 as necessary. .
  • the video processor 1332 is a processor having a function related to image encoding / decoding (one or both of them).
  • the broadband modem 1333 is a processor (or module) that performs processing related to wired or wireless (or both) broadband communication performed via a broadband line such as the Internet or a public telephone line network.
  • the broadband modem 1333 digitally modulates data to be transmitted (digital signal) to convert it into an analog signal, or demodulates the received analog signal to convert it into data (digital signal).
  • the broadband modem 1333 can digitally modulate and demodulate arbitrary information such as image data processed by the video processor 1332, a stream obtained by encoding the image data, an application program, setting data, and the like.
  • the RF module 1334 is a module that performs frequency conversion, modulation / demodulation, amplification, filter processing, and the like on an RF (Radio RF Frequency) signal transmitted and received via an antenna. For example, the RF module 1334 generates an RF signal by performing frequency conversion or the like on the baseband signal generated by the broadband modem 1333. Further, for example, the RF module 1334 generates a baseband signal by performing frequency conversion or the like on the RF signal received via the front end module 1314.
  • RF Radio RF Frequency
  • the application processor 1331 and the video processor 1332 may be integrated into a single processor.
  • the external memory 1312 is a module having a storage device that is provided outside the video module 1311 and is used by the video module 1311.
  • the storage device of the external memory 1312 may be realized by any physical configuration, but is generally used for storing a large amount of data such as image data in units of frames. For example, it is desirable to realize it with a relatively inexpensive and large-capacity semiconductor memory such as DRAM (Dynamic Random Access Memory).
  • the power management module 1313 manages and controls power supply to the video module 1311 (each component in the video module 1311).
  • the front end module 1314 is a module that provides the RF module 1334 with a front end function (a circuit on a transmitting / receiving end on the antenna side). As illustrated in FIG. 18, the front end module 1314 includes, for example, an antenna unit 1351, a filter 1352, and an amplification unit 1353.
  • Antenna unit 1351 has an antenna for transmitting and receiving a radio signal and its peripheral configuration.
  • the antenna unit 1351 transmits the signal supplied from the amplification unit 1353 as a radio signal, and supplies the received radio signal to the filter 1352 as an electric signal (RF signal).
  • the filter 1352 performs a filtering process on the RF signal received via the antenna unit 1351 and supplies the processed RF signal to the RF module 1334.
  • the amplifying unit 1353 amplifies the RF signal supplied from the RF module 1334 and supplies the amplified RF signal to the antenna unit 1351.
  • Connectivity 1321 is a module having a function related to connection with the outside.
  • the physical configuration of the connectivity 1321 is arbitrary.
  • the connectivity 1321 has a configuration having a communication function other than the communication standard supported by the broadband modem 1333, an external input / output terminal, and the like.
  • the communication 1321 is compliant with wireless communication standards such as Bluetooth (registered trademark), IEEE 802.11 (for example, Wi-Fi (Wireless Fidelity, registered trademark)), NFC (Near Field Communication), IrDA (InfraRed Data Association), etc. You may make it have a module which has a function, an antenna etc. which transmit / receive the signal based on the standard.
  • the connectivity 1321 has a module having a communication function compliant with a wired communication standard such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or a terminal compliant with the standard. You may do it.
  • the connectivity 1321 may have other data (signal) transmission functions such as analog input / output terminals.
  • the connectivity 1321 may include a data (signal) transmission destination device.
  • the drive 1321 reads and writes data to and from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory (not only a removable medium drive, but also a hard disk, SSD (Solid State Drive) NAS (including Network Attached Storage) and the like.
  • the connectivity 1321 may include an image or audio output device (a monitor, a speaker, or the like).
  • the eyelid camera 1322 is a module having a function of capturing an image of a subject and obtaining image data of the subject.
  • Image data obtained by imaging by the camera 1322 is supplied to, for example, a video processor 1332 and encoded.
  • the sensor 1323 includes, for example, a voice sensor, an ultrasonic sensor, an optical sensor, an illuminance sensor, an infrared sensor, an image sensor, a rotation sensor, an angle sensor, an angular velocity sensor, a velocity sensor, an acceleration sensor, an inclination sensor, a magnetic identification sensor, an impact sensor, It is a module having an arbitrary sensor function such as a temperature sensor.
  • the data detected by the sensor 1323 is supplied to the application processor 1331 and used by an application or the like.
  • the configuration described above as a module may be realized as a processor, or conversely, the configuration described as a processor may be realized as a module.
  • the present disclosure can be applied to the video processor 1332 as described later. Accordingly, the video set 1300 can be implemented as a set to which the present disclosure is applied.
  • FIG. 19 illustrates an example of a schematic configuration of a video processor 1332 (FIG. 18) to which the present disclosure is applied.
  • the video processor 1332 receives the video signal and the audio signal, encodes them in a predetermined method, decodes the encoded video data and audio data, A function of reproducing and outputting an audio signal.
  • the video processor 1332 includes a video input processing unit 1401, a first image enlargement / reduction unit 1402, a second image enlargement / reduction unit 1403, a video output processing unit 1404, a frame memory 1405, and a memory control unit 1406.
  • the video processor 1332 includes an encoding / decoding engine 1407, video ES (ElementaryElementStream) buffers 1408A and 1408B, and audio ES buffers 1409A and 1409B.
  • the video processor 1332 includes an audio encoder 1410, an audio decoder 1411, a multiplexing unit (MUX (Multiplexer)) 1412, a demultiplexing unit (DMUX (Demultiplexer)) 1413, and a stream buffer 1414.
  • MUX Multiplexing unit
  • DMUX demultiplexing unit
  • the video input processing unit 1401 acquires a video signal input from, for example, the connectivity 1321 (FIG. 18) 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. 18).
  • the frame memory 1405 is a memory for image data shared by the video input processing unit 1401, the first image scaling unit 1402, the second image scaling unit 1403, the video output processing unit 1404, and the encoding / decoding engine 1407. .
  • the frame memory 1405 is realized as a semiconductor memory such as a DRAM, for example.
  • the memory control unit 1406 receives the synchronization signal from the encoding / decoding engine 1407, and controls the writing / reading access to the frame memory 1405 according to the access schedule to the frame memory 1405 written in the access management table 1406A.
  • the access management table 1406A is updated by the memory control unit 1406 in accordance with processing executed by the encoding / decoding engine 1407, the first image enlargement / reduction unit 1402, the second image enlargement / reduction unit 1403, and the like.
  • the encoding / decoding engine 1407 performs encoding processing of image data and decoding processing of a video stream that is data obtained by encoding the image data. For example, the encoding / decoding engine 1407 encodes the image data read from the frame memory 1405 and sequentially writes the data as a video stream in the video ES buffer 1408A. Further, for example, the video stream is sequentially read from the video ES buffer 1408B, decoded, and sequentially written in the frame memory 1405 as image data.
  • the encoding / decoding engine 1407 uses the frame memory 1405 as a work area in the encoding and decoding. Also, the encoding / decoding engine 1407 outputs a synchronization signal to the memory control unit 1406, for example, at a timing at which processing for each macroblock is started.
  • the video ES buffer 1408A buffers the video stream generated by the encoding / decoding engine 1407 and supplies the buffered video stream to the multiplexing unit (MUX) 1412.
  • the video ES buffer 1408B buffers the video stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered video stream to the encoding / decoding engine 1407.
  • the audio ES buffer 1409A buffers the audio stream generated by the audio encoder 1410 and supplies the buffered audio stream to the multiplexing unit (MUX) 1412.
  • the audio ES buffer 1409B buffers the audio stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered audio stream to the audio decoder 1411.
  • the audio encoder 1410 converts, for example, an audio signal input from the connectivity 1321 (FIG. 18), for example, into a digital format, and encodes the audio signal according to a predetermined method such as the MPEG audio method or the 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. 18).
  • Multiplexer (MUX) 1412 multiplexes the video stream and the audio stream.
  • the multiplexing method (that is, the format of the bit stream generated by multiplexing) is arbitrary.
  • the multiplexing unit (MUX) 1412 can also add predetermined header information or the like to the bit stream. That is, the multiplexing unit (MUX) 1412 can convert the stream format by multiplexing. For example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream to convert it into a transport stream that is a bit stream in a transfer format. Further, for example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream, thereby converting the data into file format data (file data) for recording.
  • the demultiplexing unit (DMUX) 1413 demultiplexes the bit stream in which the video stream and the audio stream are multiplexed by a method corresponding to the multiplexing by the multiplexing unit (MUX) 1412. That is, the demultiplexer (DMUX) 1413 extracts the video stream and the audio stream from the bit stream read from the stream buffer 1414 (separates the video stream and the audio stream). That is, the demultiplexer (DMUX) 1413 can convert the stream format by demultiplexing (inverse conversion of the conversion by the multiplexer (MUX) 1412). For example, the demultiplexer (DMUX) 1413 obtains a transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG.
  • the demultiplexer (DMUX) 1413 obtains the file data read from various recording media by the connectivity 1321 (FIG. 18) via the stream buffer 1414 and demultiplexes the file data, for example. It can be converted into a video stream and an audio stream.
  • DMUX demultiplexer
  • the stream buffer 1414 buffers the bit stream.
  • the stream buffer 1414 buffers the transport stream supplied from the multiplexing unit (MUX) 1412 and, for example, at the predetermined timing or based on a request from the outside, for example, the connectivity 1321 or the broadband modem 1333 (whichever Are also supplied to FIG.
  • MUX multiplexing unit
  • the stream buffer 1414 buffers the file data supplied from the multiplexing unit (MUX) 1412 and, for example, connectivity 1321 (FIG. 18) 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. 18
  • the stream buffer 1414 buffers the transport stream acquired through, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG. 18), and performs reverse processing at a predetermined timing or based on an external request or the like.
  • the data is supplied to a multiplexing unit (DMUX) 1413.
  • DMUX multiplexing unit
  • the stream buffer 1414 buffers file data read from various recording media in, for example, the connectivity 1321 (FIG. 18), and the demultiplexing unit at a predetermined timing or based on an external request or the like. (DMUX) 1413.
  • DMUX demultiplexing unit
  • a video signal input from the connectivity 1321 (FIG. 18) 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 in 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. 18) or the like is encoded by the audio encoder 1410 and written as an audio stream in the audio ES buffer 1409A.
  • the video stream of the video ES buffer 1408A and the audio stream of the audio ES buffer 1409A are read and multiplexed by the multiplexing unit (MUX) 1412 and converted into a transport stream or file data.
  • the transport stream generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414 and then output to the external network via, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 18).
  • 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. 18) and recorded on various recording media.
  • the transport stream input from the external network to the video processor 1332 through the connectivity 1321 or the broadband modem 1333 (both in FIG. 18) 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. 18) 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 disclosure when the present disclosure is applied to the video processor 1332 configured as described above, the present disclosure according to each of the above-described embodiments may be applied to the encoding / decoding engine 1407. That is, for example, the encoding / decoding engine 1407 may have the functions of the encoding device and the decoding device according to the first to third embodiments. In this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  • the present disclosure (that is, the functions of the encoding device and the 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.
  • FIG. 20 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 18) to which the present disclosure is applied.
  • the video processor 1332 has a function of encoding and decoding video data by a predetermined method.
  • the video processor 1332 includes a control unit 1511, a display interface 1512, a display engine 1513, an image processing engine 1514, and an internal memory 1515.
  • the video processor 1332 includes a codec engine 1516, a memory interface 1517, a multiplexing / demultiplexing unit (MUX DMUX) 1518, a network interface 1519, and a video interface 1520.
  • MUX DMUX multiplexing / demultiplexing unit
  • the eyelid control unit 1511 controls the operation of each processing unit in the video processor 1332 such as the display interface 1512, the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the control unit 1511 includes, for example, a main CPU 1531, a sub CPU 1532, and a system controller 1533.
  • the main CPU 1531 executes a program and the like for controlling the operation of each processing unit in the video processor 1332.
  • the main CPU 1531 generates a control signal according to the program and supplies it to each processing unit (that is, controls the operation of each processing unit).
  • the sub CPU 1532 plays an auxiliary role of the main CPU 1531.
  • the sub CPU 1532 executes a child process such as a program executed by the main CPU 1531, a subroutine, or the like.
  • the system controller 1533 controls operations of the main CPU 1531 and the sub CPU 1532 such as designating a program to be executed by the main CPU 1531 and the sub CPU 1532.
  • the display interface 1512 outputs image data to, for example, the connectivity 1321 (FIG. 18) or the like under the control of the control unit 1511.
  • the display interface 1512 converts image data of digital data into an analog signal, and outputs it to a monitor device of the connectivity 1321 (FIG. 18) 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 eyelid image processing engine 1514 performs predetermined image processing such as filter processing for improving image quality on the image data under the control of the control unit 1511.
  • the internal memory 1515 is a memory provided inside the video processor 1332 that is shared by the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the internal memory 1515 is used, for example, for data exchange performed between the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  • the internal memory 1515 stores data supplied from the display engine 1513, the image processing engine 1514, or the codec engine 1516, and stores the data as needed (eg, upon request). This is supplied to the image processing engine 1514 or the codec engine 1516.
  • the internal memory 1515 may be realized by any storage device, but is generally used for storing a small amount of data such as image data or parameters in units of blocks. It is desirable to realize a semiconductor memory having a relatively small capacity but a high response speed (for example, as compared with the external memory 1312) such as “Static Random Access Memory”.
  • the codec engine 1516 performs processing related to encoding and decoding of image data.
  • the encoding / decoding scheme supported by the codec engine 1516 is arbitrary, and the number thereof may be one or plural.
  • the codec engine 1516 may be provided with codec functions of a plurality of encoding / decoding schemes, and may be configured to perform encoding of image data or decoding of encoded data using one selected from them.
  • the codec engine 1516 includes, for example, MPEG-2 video 1541, AVC / H.2641542, HEVC / H.2651543, HEVC / H.265 (Scalable) 1544, as function blocks for processing related to the codec.
  • HEVC / H.265 (Multi-view) 1545 and MPEG-DASH 1551 are included.
  • MPEG-2 Video 1541 is a functional block that encodes and decodes image data in the MPEG-2 format.
  • AVC / H.2641542 is a functional block that encodes and decodes image data in the AVC / H.264 format.
  • HEVC / H.2651543 is a functional block that encodes and decodes image data using HEVC.
  • HEVC / H.265 (Scalable) 1544 is a functional block that performs scalable encoding and scalable decoding of image data using HEVC.
  • HEVC / H.265 (Multi-view) 1545 is a functional block that multi-view encodes or multi-view decodes image data using HEVC.
  • MPEG-DASH 1551 is a functional block that transmits and receives image data in the MPEG-DASH (MPEG-Dynamic Adaptive Streaming over HTTP) method.
  • MPEG-DASH is a technology for streaming video using HTTP (HyperText Transfer Protocol), and selects and transmits appropriate data from multiple encoded data with different resolutions prepared in advance in segments. This is one of the features.
  • MPEG-DASH 1551 generates a stream compliant with the standard, controls transmission of the stream, and the like.
  • MPEG-2 Video 1541 to HEVC / H.265 (Multi-view) 1545 described above are used. Is used.
  • the memory interface 1517 is an interface for the external memory 1312. Data supplied from the image processing engine 1514 or the codec engine 1516 is supplied to the external memory 1312 via the memory interface 1517. The data read from the external memory 1312 is supplied to the video processor 1332 (the image processing engine 1514 or the codec engine 1516) via the memory interface 1517.
  • a multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes and demultiplexes various data related to images such as a bit stream of encoded data, image data, and a video signal.
  • This multiplexing / demultiplexing method is arbitrary.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 can not only combine a plurality of data into one but also add predetermined header information or the like to the data.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 not only divides one data into a plurality of data but also adds predetermined header information or the like to each divided data. it can.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 can convert the data format by multiplexing / demultiplexing.
  • the multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes the bitstream, thereby transporting the transport stream, which is a bit stream in a transfer format, or data in a file format for recording (file data).
  • the transport stream which is a bit stream in a transfer format, or data in a file format for recording (file data).
  • file data file format for recording
  • the network interface 1519 is an interface for a broadband modem 1333, connectivity 1321 (both in FIG. 18), and the like.
  • the video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are FIG. 18).
  • the transport stream is transmitted to the multiplexing / demultiplexing unit (MUX) via the network interface 1519.
  • MUX multiplexing / demultiplexing unit
  • DMUX 1518 is 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. 18), 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. 18) via the interface 1520 and recorded on various recording media.
  • encoded data file data obtained by encoding image data read from a recording medium (not shown) by the connectivity 1321 (FIG. 18) 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 via the display interface 1512 (FIG. 18). 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 and the external memory 1312.
  • the power management module 1313 controls power supply to the control unit 1511, for example.
  • the present disclosure when the present disclosure is applied to the video processor 1332 configured as described above, the present disclosure according to each embodiment described above may be applied to the codec engine 1516. That is, for example, the codec engine 1516 may have a functional block that realizes the encoding device and the decoding device according to the first to third embodiments. With the codec engine 1516 doing in this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS. 6 to 13.
  • the present disclosure (that is, the functions of the encoding device and the decoding device according to each of the above-described embodiments) may be realized by hardware such as a logic circuit, an embedded program, or the like. It may be realized by software, 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. 14), the mobile phone 920 (FIG. 15), the recording / reproducing device 940 (FIG. 16), the imaging device 960 (FIG. 17), or the like.
  • the apparatus can obtain the same effects as those described above with reference to FIGS.
  • each configuration of the video set 1300 described above can be implemented as a configuration to which the present disclosure is applied as long as it includes the video processor 1332.
  • the video processor 1332 can be implemented as a video processor to which the present disclosure is applied.
  • the processor, the video module 1311, and the like indicated by the dotted line 1341 can be implemented as a processor, a module, or the like to which the present disclosure 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 disclosure is applied. In any case, the same effects as those described above with reference to FIGS. 6 to 13 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. 14), a mobile phone 920 (FIG. 15), a recording / playback device 940 (FIG. 16), It can be incorporated in an imaging device 960 (FIG. 17) or the like.
  • the apparatus can obtain the same effects as those described above with reference to FIGS. 6 to 13 as in the case of the video set 1300. .
  • the method for transmitting such information is not limited to such an example.
  • these pieces of information may be transmitted or recorded as separate data associated with the encoded data without being multiplexed with the encoded data.
  • 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, the information may be transmitted on a transmission path different from the encoded data.
  • the information may be recorded on a recording medium different from the encoded data (or another recording area of the same recording medium). Furthermore, the information and the encoded data may be associated with each other in an arbitrary unit such as a plurality of frames, one frame, or a part of the frame.
  • This disclosure receives bitstreams compressed by orthogonal transform such as discrete cosine transform and motion compensation, such as MPEG, H.26x, etc., via network media such as satellite broadcasting, cable TV, the Internet, and mobile phones.
  • orthogonal transform such as discrete cosine transform and motion compensation
  • the present invention can be applied to an encoding device or a decoding device that is used when processing on a storage medium such as an optical, magnetic disk, or flash memory.
  • the 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 present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is processed jointly.
  • each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • This disclosure can have the following configurations.
  • An image processing apparatus comprising: a setting unit configured to set prediction information indicating that an image has been encoded using motion prediction using correlation in a screen in encoded data of the image.
  • the image is divided into one or more slices and encoded;
  • the setting unit sets the prediction information in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen.
  • the image processing apparatus according to (1) configured as described above.
  • the image processing device An image processing method comprising: a setting step of setting prediction information indicating that an image has been encoded using motion prediction using correlation within a screen in encoded data of the image.
  • An image processing apparatus comprising: a decoding unit that decodes encoded data of an image based on prediction information indicating that the image is encoded using motion prediction using correlation in a screen.
  • the image is divided into one or more slices and encoded;
  • the prediction information is configured to be set in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen.
  • the image processing apparatus according to (5).
  • the image processing device An image processing method comprising: a decoding step of decoding encoded data of the image based on prediction information indicating that the image is encoded using motion prediction using correlation within a screen.

Abstract

The present disclosure relates to an image processing apparatus and an image processing method for enabling the reduction of load in a decoding process. A generation unit sets, in an image encoded data, an IBC slice indicating that an intra BC prediction, which is a motion prediction using a correlation in a screen, has been used to encode the image. The present disclosure can be applied to an encoding apparatus or the like that performs, by use of, for example, a scheme compliant with High Efficiency Video Coding (HEVC), an intra refreshing in which the pictures are P-pictures and in which inter-slices are coexistent with intra-slices, for which intra predictions or intra BC predictions are performed, in the pictures.

Description

画像処理装置および画像処理方法Image processing apparatus and image processing method
 本開示は、画像処理装置および画像処理方法に関し、特に、復号処理の負荷を軽減することができるようにした画像処理装置および画像処理方法に関する。 The present disclosure relates to an image processing device and an image processing method, and more particularly, to an image processing device and an image processing method that can reduce a load of decoding processing.
 近年、画像情報をデジタルとして取り扱い、その際、効率の高い情報の伝送、蓄積を目的とし、画像情報特有の冗長性を利用して、離散コサイン変換等の直交変換と動き補償により圧縮する符号化方式を採用して画像を圧縮符号化する装置が普及しつつある。この符号化方式には、例えば、MPEG(Moving Picture Experts Group)やH.264/MPEG-4 Part10 Advanced Video Coding(以下、H.264/AVCまたはAVC/H.264という)などがある。 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 compresses and encodes an image using a method is becoming widespread. Examples of this encoding method include MPEG (Moving Picture Experts Group) and H.264. H.264 / MPEG-4 Part 10 Advanced Video Coding (hereinafter referred to as H.264 / AVC or AVC / H.264).
 そして、現在、H.264/AVCより更なる符号化効率の向上を目的として、ITU-TとISO/IECとの共同の標準化団体であるJCTVC(Joint Collaboration Team - Video Coding) により、HEVC(High Efficiency Video Coding)と呼ばれる符号化方式の標準化が進められている。 And now H. It is called HEVC (High Efficiency Efficiency Video Video Coding) by JCTVC (Joint Collaboration Collaboration Team Video Video Coding), which is a joint standardization organization of ITU-T and ISO / IEC, with the aim of further improving coding efficiency from H.264 / AVC. Standardization of the encoding method is underway.
 また、HEVCでは、4:2:2や4:4:4といった色差信号フォーマットや、スクリーンコンテンツ用のプロファイル等、例えばハイエンド向けのフォーマットをサポートするようにレンジエクステンション(HEVC Range Extension)の検討が行われている(例えば、非特許文献1参照)。 In HEVC, the range extension (HEVC Range Extension) has been studied to support high-end formats such as 4: 2: 2 and 4: 4: 4 color difference signal formats and screen content profiles. (For example, refer nonpatent literature 1).
 ところで、IntraBlockCopy(Intra BC)は、画面内の相関性を利用して画面内で動き補償を行うことにより予測を行う符号化ツールである。Intra BCは、コンピュータ画面やCG画像のような人工画像に対し、符号化効率改善に貢献するツールとして知られている。Intra BCは、上述したHEVC Range Extension拡張には技術採用されず、Screen Content Coding(SCC)拡張の標準化で技術検討が続けられている(例えば、非特許文献2参照)。 By the way, IntraBlockCopy (Intra) BC) is a coding tool that performs prediction by performing motion compensation in the screen using the correlation in the screen. Intra BC is known as a tool that contributes to improving the coding efficiency of artificial images such as computer screens and CG images. Intra BC is not adopted for the above-described HEVC Range Extension extension, and technical studies are being continued with standardization of Screen Content Coding (SCC) extension (see, for example, Non-Patent Document 2).
 SCC拡張の標準化では、現在、Intra BC予測が行われた符号化データの伝送方式を、インター予測が行われた符号化データの伝送方式と共通化することが検討されている。即ち、Intra BC予測を行う場合、インター予測時と同様の符号化方式で動きベクトルを符号化し、復号側に伝送する必要がある。従って、Intra BC予測のみが行われるスライス(以下、Intra BCスライスという)のスライスタイプを、インター予測を行うことが可能なスライスのスライスタイプであるPスライスまたはBスライスに設定し、スライスヘッダに含めて伝送することが検討されている。 In the standardization of the SCC extension, it is currently considered to share the transmission method of encoded data subjected to Intra BC prediction with the transmission method of encoded data subjected to inter prediction. That is, when Intra-BC prediction is performed, it is necessary to encode a motion vector by the same encoding method as in inter prediction and transmit it to the decoding side. Therefore, the slice type of a slice for which only Intra BC prediction is performed (hereinafter referred to as Intra BC slice) is set to a P slice or a B slice that is a slice type capable of performing inter prediction, and is included in the slice header. Transmission is under consideration.
 また、各スライスの符号化データのNAL(Network Abstraction Layer)ヘッダには、そのスライスを含むピクチャが独立して復号可能なピクチャであるかどうかを示すNALユニットタイプが設定される。 Also, in the NAL (Network Abstraction Layer) header of the encoded data of each slice, a NAL unit type indicating whether or not the picture including the slice is an independently decodable picture is set.
 例えば、ピクチャ内の全てのスライスが、イントラ予測またはIntra BC予測が行われたイントラスライスである場合、各スライスのNALユニットタイプは、そのスライスを含むピクチャが独立して復号可能なピクチャであることを示すBLA_W_LPやRSV_IRAP_VCL23等である。 For example, if all slices in a picture are intra slices that have been subjected to intra prediction or Intra BC prediction, the NAL unit type of each slice indicates that the picture that includes the slice is a picture that can be independently decoded. BLA_W_LP, RSV_IRAP_VCL23, and the like.
 従って、Intra BCスライスのスライスタイプが、独立して復号可能なイントラ予測のみが行われるスライスのスライスタイプであるIスライス以外であっても、NALユニットタイプにより、復号前に、スライスタイプがIスライス以外であるスライスが、独立して復号可能なIntra BCスライスであることを認識することができる。 Therefore, even if the slice type of the Intra BC slice is other than an I slice that is a slice type for which only intra prediction that can be independently decoded is performed, the slice type is not an I slice before decoding depending on the NAL unit type. Can be recognized as an Intra で BC slice that can be decoded independently.
 しかしながら、同一ピクチャ内でインター予測を行うことが可能なインタースライスとイントラスライスが混在するIntra refreshing等の符号化が行われる場合、各スライスのNALユニットタイプは、そのスライスを含むピクチャ内の少なくとも1つのスライスが独立して復号可能ではないことを示す情報になる。従って、NALユニットタイプにより、各スライスが独立して復号可能であるかどうかを認識することはできない。 However, when encoding such as intra refreshing in which inter slices and intra slices capable of performing inter prediction in the same picture are performed, the NAL unit type of each slice is at least one in the picture including the slice. The information indicates that the slice is not independently decodable. Therefore, the NAL unit type cannot recognize whether each slice can be decoded independently.
 また、Intra BCスライスのスライスタイプとしてIスライス以外が設定されると、スライスタイプにより、各スライスが独立して復号可能なスライスであるかどうかを認識することができない。よって、各スライスが独立して復号可能であるかどうかを認識せずに復号処理を行う必要があり、復号処理の負荷が大きい。 Also, if a slice type other than I slice is set as the slice type of the Intra BC slice, it cannot be recognized whether each slice is a slice that can be decoded independently by the slice type. Therefore, it is necessary to perform the decoding process without recognizing whether each slice can be decoded independently, and the load of the decoding process is large.
 本開示は、このような状況に鑑みてなされたものであり、復号処理の負荷を軽減することができるようにするものである。 The present disclosure has been made in view of such a situation, and is intended to reduce the load of decoding processing.
 本開示の第1の側面の画像処理装置は、画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報を、前記画像の符号化データに設定する設定部を備える画像処理装置である。 An image processing device according to a first aspect of the present disclosure includes a setting unit that sets prediction information indicating that an image has been encoded using motion prediction using correlation within a screen, in encoded data of the image. An image processing apparatus is provided.
 本開示の第1の側面の画像処理方法は、本開示の第1の側面の画像処理装置に対応する。 The image processing method according to the first aspect of the present disclosure corresponds to the image processing apparatus according to the first aspect of the present disclosure.
 本開示の第1の側面においては、画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報が、前記画像の符号化データに設定される。 In the first aspect of the present disclosure, prediction information indicating that an image has been encoded using motion prediction using correlation within a screen is set in the encoded data of the image.
 本開示の第2の側面の画像処理装置は、画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データを復号する復号部を備える画像処理装置である。 The image processing device according to the second aspect of the present disclosure decodes the encoded data of the image based on prediction information indicating that the image is encoded using motion prediction using correlation within the screen. An image processing apparatus including a unit.
 本開示の第2の側面の画像処理方法は、本開示の第1の側面の画像処理装置に対応する。 The image processing method according to the second aspect of the present disclosure corresponds to the image processing apparatus according to the first aspect of the present disclosure.
 本開示の第2の側面においては、画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データが復号される。 In the second aspect of the present disclosure, the encoded data of the image is decoded based on prediction information indicating that the image has been encoded using motion prediction using correlation within the screen.
 なお、本開示の第1および第2の側面の画像処理装置は、コンピュータにプログラムを実行させることにより実現することができる。 Note that the image processing apparatuses according to the first and second aspects of the present disclosure can be realized by causing a computer to execute a program.
 また、本開示の第1および第2の側面の画像処理装置を実現するために、コンピュータに実行させるプログラムは、伝送媒体を介して伝送することにより、又は、記録媒体に記録して、提供することができる。 In order to realize the image processing apparatuses according to the first and second aspects of the present disclosure, a program to be executed by a computer is provided by being transmitted through a transmission medium or by being recorded on a recording medium. be able to.
 本開示の第1および第2の側面の画像処理装置は、独立した装置であっても良いし、1つの装置を構成している内部ブロックであっても良い。 The image processing apparatuses according to the first and second aspects of the present disclosure may be independent apparatuses or may be internal blocks that constitute one apparatus.
 本開示の第1の側面によれば、復号処理の負荷を軽減することができる。 According to the first aspect of the present disclosure, it is possible to reduce the load of decoding processing.
 また、本開示の第2の側面によれば、復号処理の負荷を軽減するように符号化された符号化データを復号することができる。 Also, according to the second aspect of the present disclosure, encoded data that has been encoded so as to reduce the load of decoding processing can be decoded.
 なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載されたいずれかの効果であってもよい。 It should be noted that the effects described here are not necessarily limited, and may be any of the effects described in the present disclosure.
Intra refreshingを説明する図である。It is a figure explaining intra-refreshing. スライスタイプの一例を示す図である。It is a figure which shows an example of a slice type. Intra refreshing時にピクチャに設定される図2のスライスタイプの第1の例を示す図である。It is a figure which shows the 1st example of the slice type of FIG. 2 set to a picture at the time of intra-refreshing. Intra refreshing時にピクチャに設定される図2のスライスタイプの第2の例を示す図である。It is a figure which shows the 2nd example of the slice type of FIG. 2 set to a picture at the time of intra-refreshing. 復号処理の一例を説明するフローチャートである。It is a flowchart explaining an example of a decoding process. 本開示を適用した画像処理装置としての符号化装置の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the encoding apparatus as an image processing apparatus to which this indication is applied. スライスタイプの例を示す図である。It is a figure which shows the example of a slice type. ピクチャ単位の符号化データに付加されるスライスタイプの例を示す図である。It is a figure which shows the example of the slice type added to the coding data of a picture unit. 図6の符号化装置の符号化処理を説明するフローチャートである。It is a flowchart explaining the encoding process of the encoding apparatus of FIG. 図6の符号化装置の符号化処理を説明するフローチャートである。It is a flowchart explaining the encoding process of the encoding apparatus of FIG. 本開示を適用した復号装置の一実施の形態の構成例を示すブロック図である。It is a block diagram which shows the structural example of one Embodiment of the decoding apparatus to which this indication is applied. 図11の復号装置の復号処理を説明するフローチャートである。It is a flowchart explaining the decoding process of the decoding apparatus of FIG. コンピュータのハードウエアの構成例を示すブロック図である。It is a block diagram which shows the structural example of the hardware of a computer. 本開示を適用したテレビジョン装置の概略構成例を示す図である。It is a figure which shows the example of schematic structure of the television apparatus to which this indication is applied. 本開示を適用した携帯電話機の概略構成例を示す図である。It is a figure which shows the schematic structural example of the mobile telephone to which this indication is applied. 本開示を適用した記録再生装置の概略構成例を示す図である。It is a figure which shows the schematic structural example of the recording / reproducing apparatus to which this indication is applied. 本開示を適用した撮像装置の概略構成例を示す図である。It is a figure which shows the schematic structural example of the imaging device to which this indication is applied. 本開示を適用したビデオセットの概略的な構成の一例を示している。2 illustrates an example of a schematic configuration of a video set to which the present disclosure is applied. 本開示を適用したビデオプロセッサの概略的な構成の一例を示している。2 illustrates an example of a schematic configuration of a video processor to which the present disclosure is applied. 本開示を適用したビデオプロセッサの概略的な構成の他の例を示している。The other example of the schematic structure of the video processor to which this indication is applied is shown.
 以下、本開示の前提および本開示を実施するための形態(以下、実施の形態という)について説明する。なお、説明は以下の順序で行う。
 0.本開示の前提(図1乃至図5)
 1.第1実施の形態:符号化装置および復号装置(図6乃至図12)
 2.第2実施の形態:コンピュータ(図13)
 3.第3実施の形態:テレビジョン装置(図14)
 4.第4実施の形態:携帯電話機(図15)
 5.第5実施の形態:記録再生装置(図16)
 6.第6実施の形態:撮像装置(図17)
 7.第7実施の形態:ビデオセット(図18乃至図20)
Hereinafter, the premise of this indication and the form for implementing this indication (henceforth an embodiment) are explained. The description will be given in the following order.
0. Premises of the present disclosure (FIGS. 1 to 5)
1. First Embodiment: Encoding Device and Decoding Device (FIGS. 6 to 12)
2. Second Embodiment: Computer (FIG. 13)
3. Third Embodiment: Television apparatus (FIG. 14)
4). Fourth embodiment: mobile phone (FIG. 15)
5. Fifth embodiment: recording / reproducing apparatus (FIG. 16)
6). Sixth embodiment: imaging apparatus (FIG. 17)
7). Seventh embodiment: Video set (FIGS. 18 to 20)
 <本開示の前提>
 (Intra refreshingの説明)
 図1は、Intra refreshingを説明する図である。
<Premise of this disclosure>
(Intra refreshing explanation)
FIG. 1 is a diagram for explaining intra refreshing.
 図1において、横軸は、POC(Picture Order Count)を表しており、最も大きい矩形は、ピクチャを表している。 In FIG. 1, the horizontal axis represents POC (Picture Order Count), and the largest rectangle represents a picture.
 図1に示すように、Intra refreshingでは、符号化順で先頭のピクチャを除いた各ピクチャがPピクチャとされ、各ピクチャにおいて同一のスライス分割が行われる。そして、1つのスライスを除いて全てのスライスがインタースライスとされ、イントラスライスとされる1つのスライスは、POC順に先頭から下方向へ移動する。また、インタースライスは、POC順で前のピクチャの同一スライスのみを参照可能にされている。 As shown in FIG. 1, in intra-refreshing, each picture except the first picture in the coding order is set as a P picture, and the same slice division is performed in each picture. All slices except for one slice are set as inter slices, and one slice set as an intra slice moves downward from the top in the POC order. In addition, the inter slice can refer only to the same slice of the previous picture in the POC order.
 従って、途中のピクチャから再生(表示)を行う場合、表示順のピクチャにおいてピクチャ内の全てのスライスがイントラスライスとされるまで、再生対象のピクチャに参照画像が存在しないために復号不可能なインタースライスが存在する。例えば、図1に示すように、先頭のスライスがイントラスライスとされるピクチャ11から再生を行う場合、最下のスライスがイントラスライスとされるピクチャ12が再生対象のピクチャとされるまで、再生対象のピクチャに復号不可能なインタースライスが存在する。 Therefore, when playback (display) is performed from an intermediate picture, the reference picture does not exist in the playback target picture until all slices in the picture in the display order are set to intra slices. A slice exists. For example, as shown in FIG. 1, when playback is performed from a picture 11 in which the first slice is an intra slice, until the picture 12 in which the lowest slice is an intra slice is the playback target picture, There are inter-slices that cannot be decoded.
 しかしながら、それ以降は、常に、再生対象のピクチャ全体を復号可能である。従って、途中のピクチャからの再生を可能にするために、全てのスライスがイントラスライスであるイントラピクチャを挿入する必要がないため、符号化効率を向上することができる。また、途中のピクチャから再生を行う場合、イントラピクチャの復号を待つ必要がないため、低遅延で再生を行うことができる。 However, after that, the entire picture to be reproduced can always be decoded. Therefore, since it is not necessary to insert an intra picture in which all slices are intra slices in order to enable reproduction from an intermediate picture, it is possible to improve coding efficiency. In addition, when playback is performed from a picture in the middle, it is not necessary to wait for decoding of an intra picture, so playback can be performed with low delay.
 (スライスタイプの一例)
 図2は、Intra BC予測が行われた符号化データの伝送方式を、インター予測が行われた符号化データの伝送方式と共通化する場合のスライスタイプの一例を示す図である。
(Example of slice type)
FIG. 2 is a diagram illustrating an example of a slice type in a case where a transmission method of encoded data subjected to Intra BC prediction is shared with a transmission method of encoded data subjected to inter prediction.
 図2の例では、スライスタイプがIスライス(I_SLICE)、Pスライス(P_SLICE)、およびBスライス(B_SLICE)である場合、スライスタイプを表す情報としての番号は、それぞれ、2,1,0である。 In the example of FIG. 2, when the slice type is an I slice (I_SLICE), a P slice (P_SLICE), and a B slice (B_SLICE), numbers as information indicating the slice type are 2, 1, 0, respectively. .
 また、スライスタイプがIスライスである場合、スライスは、イントラ予測のみが行われるスライスである。スライスタイプがPスライスである場合、スライスは、Intra BCスライス、もしくは、イントラ予測またはインター予測が行われるインタースライスである。スライスタイプがBスライスである場合、スライスは、インタースライスである。 Further, when the slice type is an I slice, the slice is a slice for which only intra prediction is performed. When the slice type is a P slice, the slice is an Intra BC slice or an inter slice in which intra prediction or inter prediction is performed. When the slice type is a B slice, the slice is an inter slice.
 以上のように、図2の場合、スライスが、Intra BCスライスであっても、インタースライスであっても、スライスタイプとしてPスライスを設定することが可能である。従って、スライスタイプにより、各スライスが、独立して復号可能であるかどうかを認識することはできない。 As described above, in the case of FIG. 2, it is possible to set a P slice as a slice type regardless of whether the slice is an Intra-BC slice or an inter slice. Therefore, it is not possible to recognize whether each slice can be decoded independently depending on the slice type.
 (Intra refreshing時のスライスタイプの例)
 図3および図4は、Intra refreshing時にピクチャに設定される図2のスライスタイプの例を示す図である。
(Example of slice type at intra refreshing)
3 and 4 are diagrams showing examples of the slice type of FIG. 2 set in a picture at the time of intra refreshing.
 なお、図3および図4において、最も大きい矩形はピクチャを表している。このことは、後述する図8においても同様である。
 図3に示すように、イントラスライスにおいてイントラ予測が行われる場合、ピクチャ内のイントラスライスのスライスタイプは、Iスライスに設定される。また、インタースライスのスライスタイプは、例えばPスライスに設定される。
3 and 4, the largest rectangle represents a picture. The same applies to FIG. 8 described later.
As shown in FIG. 3, when intra prediction is performed in an intra slice, the slice type of the intra slice in the picture is set to I slice. The slice type of the inter slice is set to P slice, for example.
 一方、図4に示すように、イントラスライスにおいてIntra BC予測が行われる場合、例えば、ピクチャ内のイントラスライスとインタースライスの両方のスライスタイプが、Pスライスに設定される。 On the other hand, as shown in FIG. 4, when intra-BC prediction is performed in an intra slice, for example, both the slice types of an intra slice and an inter slice in a picture are set to P slices.
 (復号処理の説明)
 図5は、復号装置が、イントラスライスにおいてIntra BC予測を行うIntra refreshingが行われたピクチャの符号化データを復号する復号処理を説明するフローチャートである。
(Description of decryption process)
FIG. 5 is a flowchart illustrating a decoding process in which the decoding apparatus decodes encoded data of a picture that has been subjected to intra refreshing in which intra BC prediction is performed in an intra slice.
 図5のステップS11において、復号装置は、スライスのカウント値iを0に設定する。ステップS12において、復号装置は、カウント値iが、ピクチャを構成するスライスの数より小さいかどうかを判定する。ステップS12で、カウント値iがピクチャを構成するスライスの数より小さいと判定された場合、処理はステップS13に進む。 In step S11 of FIG. 5, the decoding apparatus sets the slice count value i to 0. In step S12, the decoding apparatus determines whether the count value i is smaller than the number of slices constituting the picture. If it is determined in step S12 that the count value i is smaller than the number of slices constituting the picture, the process proceeds to step S13.
 ステップS13において、復号装置は、ピクチャの符号化データに含まれるi番目のスライスのスライスヘッダを復号する。ステップS14において、復号装置は、PU(Prediction Unit)のカウント値kを0に設定する。 In step S13, the decoding apparatus decodes the slice header of the i-th slice included in the encoded data of the picture. In step S14, the decoding apparatus sets a count value k of PU (Prediction Unit) to 0.
 ステップS15において、復号装置は、カウント値kが、i番目のスライスを構成するPUの数より小さいかどうかを判定する。ステップS15で、カウント値kが、i番目のスライスを構成するPUの数より小さいと判定された場合、処理はステップS16に進む。 In step S15, the decoding apparatus determines whether the count value k is smaller than the number of PUs constituting the i-th slice. If it is determined in step S15 that the count value k is smaller than the number of PUs constituting the i-th slice, the process proceeds to step S16.
 ステップS16において、復号装置は、k番目のPUを復号する。ステップS17において、復号装置は、k番目のPUの復号時にイントラ予測またはIntra BC予測が行われたかどうかどうかを判定する。 In step S16, the decoding device decodes the kth PU. In step S17, the decoding apparatus determines whether intra prediction or Intra 予 測 BC prediction has been performed when the k-th PU is decoded.
 ステップS17で、k番目のPUの復号時にイントラ予測またはIntra BC予測が行われたと判定された場合、即ちi番目のスライスが独立して復号可能なスライスである場合、復号装置は、復号結果を記憶し、処理をステップS20に進める。 If it is determined in step S17 that intra prediction or Intra BC prediction has been performed at the time of decoding the kth PU, that is, if the i-th slice is a slice that can be independently decoded, the decoding device displays the decoding result. Store and proceed to step S20.
 一方、ステップS17で、k番目のPUの復号時にイントラ予測またはIntra BC予測が行われていないと判定された場合、即ちインター予測が行われた場合、処理はステップS18に進む。ステップS18において、復号装置は、k番目のPUの復号時に参照ピクチャが参照可能であったかどうか、即ち参照ピクチャが復号済みであったかどうかを判定する。 On the other hand, if it is determined in step S17 that intra prediction or Intra-BC prediction is not performed when the k-th PU is decoded, that is, if inter prediction is performed, the process proceeds to step S18. In step S18, the decoding apparatus determines whether the reference picture can be referred to when the k-th PU is decoded, that is, whether the reference picture has been decoded.
 ステップS18で、k番目のPUの復号時に参照ピクチャが参照可能であったと判定された場合、処理はステップS20に進む。 If it is determined in step S18 that the reference picture can be referred to when the k-th PU is decoded, the process proceeds to step S20.
 一方、ステップS18で、k番目のPUの復号時に参照ピクチャが参照可能ではなかったと判定された場合、ステップS19において、復号装置は、k番目のPUの復号結果を廃棄する。そして、処理はステップS20に進む。 On the other hand, if it is determined in step S18 that the reference picture is not referable when the kth PU is decoded, the decoding apparatus discards the decoding result of the kth PU in step S19. Then, the process proceeds to step S20.
 ステップS20において、復号装置は、カウント値kを1だけインクリメントし、処理をステップS15に戻す。 In step S20, the decryption apparatus increments the count value k by 1, and returns the process to step S15.
 また、ステップS15で、カウント値kが、i番目のスライスを構成するPUの数以上であると判定された場合、ステップS21において、復号装置は、カウント値iを1だけインクリメントし、処理をステップS12に戻す。 If it is determined in step S15 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the decoding apparatus increments the count value i by 1 in step S21 and performs the processing. Return to S12.
 また、ステップS12で、カウント値iがピクチャを構成するスライスの数以上であると判定された場合、復号処理は終了する。 If it is determined in step S12 that the count value i is greater than or equal to the number of slices that make up the picture, the decoding process ends.
 以上のように、Intra BCスライスのスライスタイプがPスライスに設定される場合、復号装置は、復号前に、スライスタイプによって各スライスが独立して復号可能であるかどうかを認識することはできない。従って、復号時にPU単位で独立して復号可能であるかどうかを認識する必要があり、復号処理の負荷が大きくなる。よって、本技術は、独立して復号可能なイントラスライスのスライスタイプとして新たなタイプを設定する。 As described above, when the slice type of the Intra BC slice is set to P slice, the decoding device cannot recognize whether each slice can be decoded independently by the slice type before decoding. Therefore, it is necessary to recognize whether decoding is possible independently for each PU during decoding, and the load of decoding processing increases. Therefore, the present technology sets a new type as a slice type of an intra slice that can be decoded independently.
 <第1実施の形態>
 (符号化装置の一実施の形態の構成例)
 図6は、本開示を適用した画像処理装置としての符号化装置の一実施の形態の構成例を示すブロック図である。
<First embodiment>
(Configuration example of one embodiment of encoding device)
FIG. 6 is a block diagram illustrating a configuration example of an embodiment of an encoding device as an image processing device to which the present disclosure is applied.
 図6の符号化装置70は、A/D変換部71、画面並べ替えバッファ72、演算部73、直交変換部74、量子化部75、可逆符号化部76、蓄積バッファ77、生成部78、逆量子化部79、逆直交変換部80、および加算部81を有する。また、符号化装置70は、フィルタ82、フレームメモリ85、スイッチ86、イントラ予測部87、動き予測・補償部89、予測画像選択部92、およびレート制御部93を有する。符号化装置70は、HEVCに準ずる方式でIntra refreshingを行う。 6 includes an A / D conversion unit 71, a screen rearrangement buffer 72, a calculation unit 73, an orthogonal transformation unit 74, a quantization unit 75, a lossless encoding unit 76, an accumulation buffer 77, a generation unit 78, An inverse quantization unit 79, an inverse orthogonal transform unit 80, and an addition unit 81 are included. The encoding device 70 includes a filter 82, a frame memory 85, a switch 86, an intra prediction unit 87, a motion prediction / compensation unit 89, a predicted image selection unit 92, and a rate control unit 93. The encoding device 70 performs intra-refreshing by a method according to HEVC.
 符号化単位は、再帰的な階層構造を有するCoding UNIT(CU)である。具体的には、CUは、ピクチャを固定サイズのCTU(Coding Tree Unit)に分割し、そのCTUを任意の回数だけ水平方向および垂直方向に2分割することにより設定される。CUの最大のサイズはLCU(Largest Coding Unit)であり、最小サイズはSCU(Smallest Coding Unit)である。また、CUは、PUやTU(transform unit)に分割される。 The coding unit is Coding UNIT (CU) having a recursive hierarchical structure. Specifically, the CU is set by dividing a picture into CTUs (Coding | Tree | Unit | Unit) of fixed size, and dividing | segmenting the CTU into the horizontal direction and the vertical direction by arbitrary times. The maximum size of the CU is LCU (Largest Coding Unit), and the minimum size is SCU (Smallest Coding Unit). CU is divided into PU and TU (transform unit).
 符号化装置70のA/D変換部71は、符号化対象として入力されたフレーム単位のピクチャのアナログ信号をA/D変換する。A/D変換部71は、変換後のピクチャのデジタル信号を画面並べ替えバッファ72に出力して記憶させる。 The A / D conversion unit 71 of the encoding device 70 performs A / D conversion on the analog signal of the picture in units of frames input as an encoding target. The A / D conversion unit 71 outputs the digital signal of the converted picture to the screen rearrangement buffer 72 for storage.
 画面並べ替えバッファ72は、記憶した表示の順番のピクチャを、GOP構造に応じて、符号化のための順番に並べ替える。画面並べ替えバッファ72は、並べ替え後のピクチャをカレントピクチャとし、各CUを順に、演算部73、イントラ予測部87、および動き予測・補償部89に出力する。 The screen rearrangement buffer 72 rearranges the stored pictures in the display order in the order for encoding according to the GOP structure. The screen rearrangement buffer 72 sets the rearranged picture as the current picture, and outputs each CU to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 89 in order.
 演算部73は、画面並べ替えバッファ72から供給されるCUから、予測画像選択部92から供給されるPU単位の予測画像を減算することにより符号化を行う。演算部73は、その結果得られる情報を、残差情報として直交変換部74に出力する。なお、予測画像選択部92から予測画像が供給されない場合、演算部73は、画面並べ替えバッファ72から読み出されたCUをそのまま残差情報として直交変換部74に出力する。 The calculation unit 73 performs encoding by subtracting the predicted image in units of PU supplied from the predicted image selection unit 92 from the CU supplied from the screen rearrangement buffer 72. The computing unit 73 outputs information obtained as a result to the orthogonal transform unit 74 as residual information. When the predicted image is not supplied from the predicted image selection unit 92, the calculation unit 73 outputs the CU read from the screen rearrangement buffer 72 to the orthogonal transform unit 74 as residual information as it is.
 直交変換部74は、演算部73からの残差情報をTU単位で直交変換する。直交変換部74は、直交変換の結果得られる直交変換係数を量子化部75に供給する。 The orthogonal transform unit 74 orthogonally transforms the residual information from the calculation unit 73 in units of TUs. The orthogonal transform unit 74 supplies an orthogonal transform coefficient obtained as a result of the orthogonal transform to the quantization unit 75.
 量子化部75は、直交変換部74から供給される直交変換係数に対して量子化を行う。量子化部75は、量子化された直交変換係数を可逆符号化部76に供給する。 The quantization unit 75 performs quantization on the orthogonal transform coefficient supplied from the orthogonal transform unit 74. The quantization unit 75 supplies the quantized orthogonal transform coefficient to the lossless encoding unit 76.
 可逆符号化部76は、最適イントラ予測モードを示すイントラ予測モード情報をイントラ予測部87から取得する。また、可逆符号化部76は、最適インター予測モードを示すインター予測モード情報、動きベクトル、参照ピクチャを特定する参照ピクチャ特定情報などを動き予測・補償部89から取得する。さらに、可逆符号化部76は、フィルタ82からSAO(Sample adaptive offset)処理に関するオフセットフィルタ情報を取得する。 The lossless encoding unit 76 acquires the intra prediction mode information indicating the optimal intra prediction mode from the intra prediction unit 87. Further, the lossless encoding unit 76 acquires, from the motion prediction / compensation unit 89, inter prediction mode information indicating an optimal inter prediction mode, a motion vector, reference picture specifying information for specifying a reference picture, and the like. Furthermore, the lossless encoding unit 76 acquires offset filter information related to SAO (Sample-adaptive-offset) processing from the filter 82.
 可逆符号化部76は、量子化部75から供給される量子化された直交変換係数に対して、可変長符号化(例えば、CAVLC(Context-Adaptive Variable Length Coding)など)、算術符号化(例えば、CABAC(Context-Adaptive Binary Arithmetic Coding)など)などの可逆符号化を行う。 The lossless encoding unit 76 performs variable length coding (for example, CAVLC (Context-Adaptive Variable Length Coding)), arithmetic coding (for example, for the quantized orthogonal transform coefficient supplied from the quantization unit 75, for example. , CABAC (Context-Adaptive Binary Arithmetic Coding) etc.).
 また、可逆符号化部76は、イントラ予測モード情報、または、インター予測モード情報、動きベクトル、および参照ピクチャ特定情報、並びにオフセットフィルタ情報等を、符号化に関する符号化情報として可逆符号化する。可逆符号化部76は、可逆符号化された符号化情報などを可逆符号化された直交変換係数に付加し、符号化データとして蓄積バッファ77に供給する。 Also, the lossless encoding unit 76 performs lossless encoding on intra prediction mode information, inter prediction mode information, motion vectors, reference picture specifying information, offset filter information, and the like as encoding information related to encoding. The lossless encoding unit 76 adds losslessly encoded encoding information and the like to the losslessly encoded orthogonal transform coefficient and supplies the result to the accumulation buffer 77 as encoded data.
 蓄積バッファ77は、可逆符号化部76から供給される符号化データを、一時的に記憶する。また、蓄積バッファ77は、記憶しているピクチャ単位の符号化データを生成部78に供給する。 The accumulation buffer 77 temporarily stores the encoded data supplied from the lossless encoding unit 76. In addition, the accumulation buffer 77 supplies the stored encoded data for each picture to the generation unit 78.
 生成部78(設定部)は、蓄積バッファ77から供給されるピクチャ単位の符号化データに対して、スライスごとに、スライスタイプを表す情報を含むスライスヘッダを付加する。また、生成部78は、SPS(Sequence Parameter Set),PPS(Picture Parameter Set)などのパラメータセットとスライスヘッダが付加された各スライスの符号化データであるスライスデータをNAL化し、NALヘッダを付加してNALユニットを生成する。NAL化されたスライスデータに付加されるNALヘッダには、そのスライスデータに対応するピクチャが独立して復号可能なピクチャであるかどうかを示すNALユニットタイプが含まれる。生成部78は、パラメータセットおよびスライスデータのNALユニットから構成される符号化ストリームを、出力する。 The generation unit 78 (setting unit) adds a slice header including information indicating the slice type to each piece of encoded data supplied from the accumulation buffer 77 for each slice. Further, the generation unit 78 NALs the slice data which is the encoded data of each slice to which the parameter set such as SPS (Sequence Parameter Set) and PPS (Picture Parameter Set) and the slice header are added, and adds the NAL header. To generate a NAL unit. The NAL header added to sliced NAL data includes a NAL unit type indicating whether or not the picture corresponding to the sliced data is a picture that can be decoded independently. The generation unit 78 outputs an encoded stream composed of a parameter set and slice data NAL units.
 また、量子化部75より出力された、量子化された直交変換係数は、逆量子化部79にも入力される。逆量子化部79は、量子化部75により量子化された直交変換係数に対して、量子化部75における量子化方法に対応する方法で逆量子化を行う。逆量子化部79は、逆量子化の結果得られる直交変換係数を逆直交変換部80に供給する。 The quantized orthogonal transform coefficient output from the quantization unit 75 is also input to the inverse quantization unit 79. The inverse quantization unit 79 performs inverse quantization on the orthogonal transform coefficient quantized by the quantization unit 75 by a method corresponding to the quantization method in the quantization unit 75. The inverse quantization unit 79 supplies the orthogonal transform coefficient obtained as a result of the inverse quantization to the inverse orthogonal transform unit 80.
 逆直交変換部80は、TU単位で、逆量子化部79から供給される直交変換係数に対して、直交変換部74における直交変換方法に対応する方法で逆直交変換を行う。逆直交変換部80は、その結果得られる残差情報を加算部81に供給する。 The inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 by a method corresponding to the orthogonal transform method in the orthogonal transform unit 74 in units of TUs. The inverse orthogonal transform unit 80 supplies the residual information obtained as a result to the addition unit 81.
 加算部81は、逆直交変換部80から供給される残差情報と、予測画像選択部92から供給される予測画像を加算することにより、CUを復号する。なお、予測画像選択部92から予測画像が供給されない場合、加算部81は、逆直交変換部80から供給される残差情報を復号結果とする。加算部81は、CUをフレームメモリ85とフィルタ82に供給する。 The addition unit 81 decodes the CU by adding the residual information supplied from the inverse orthogonal transform unit 80 and the predicted image supplied from the predicted image selection unit 92. When the predicted image is not supplied from the predicted image selection unit 92, the adding unit 81 uses the residual information supplied from the inverse orthogonal transform unit 80 as a decoding result. The adder 81 supplies the CU to the frame memory 85 and the filter 82.
 フィルタ82は、加算部81から供給されたCUに対してデブロックフィルタ処理を行う。フィルタ82は、デブロックフィルタ処理後のCUに対してSAO処理(適応オフセットフィルタ処理)を行う。SAO処理の種類としては、エッジオフセット処理とバンドオフセット処理があり、LCU単位で選択される。 The filter 82 performs a deblocking filter process on the CU supplied from the adding unit 81. The filter 82 performs SAO processing (adaptive offset filter processing) on the CU after the deblocking filter processing. Types of SAO processing include edge offset processing and band offset processing, which are selected in units of LCUs.
 フィルタ82は、SAO処理後のCUをフレームメモリ85に供給する。また、フィルタ82は、行われたSAO処理の種類とオフセットを示す情報を、オフセットフィルタ情報として可逆符号化部76に供給する。 The filter 82 supplies the CU after the SAO processing to the frame memory 85. Further, the filter 82 supplies information indicating the type and offset of the SAO processing performed to the lossless encoding unit 76 as offset filter information.
 フレームメモリ85は、例えば、DRAM(Dynamic Random Access Memory)により構成される。フレームメモリ85は、加算部81から供給されるデブロックフィルタ処理前のCUとフィルタ82から供給されるSAO処理後のCUを記憶する。フレームメモリ85に記憶されたデブロックフィルタ処理前の画素のうちのPUの周辺画素は、スイッチ86を介してイントラ予測部87に供給される。 The frame memory 85 is composed of, for example, DRAM (Dynamic Random Access Memory). The frame memory 85 stores the CU before deblocking filter processing supplied from the adding unit 81 and the CU after SAO processing supplied from the filter 82. Among the pixels before the deblocking filter processing stored in the frame memory 85, the peripheral pixels of the PU are supplied to the intra prediction unit 87 via the switch 86.
 また、フレームメモリ85に記憶されたデブロックフィルタ処理前のカレントピクチャの一部と、カレントピクチャより符号化順で前のSAO処理後のピクチャは、参照ピクチャの候補としてスイッチ86を介して動き予測・補償部89に出力される。 In addition, a part of the current picture before the deblocking filter process stored in the frame memory 85 and a picture after the SAO process before the current picture in the coding order are motion-predicted via the switch 86 as reference picture candidates. -It outputs to the compensation part 89.
 イントラ予測部87は、PU単位で、フレームメモリ85からスイッチ86を介して読み出された周辺画素を用いて、候補となる全てのイントラ予測モードのイントラ予測処理を行う。 The intra prediction unit 87 performs intra prediction processing in all candidate intra prediction modes using peripheral pixels read from the frame memory 85 via the switch 86 in units of PUs.
 また、イントラ予測部87は、PU単位で、画面並べ替えバッファ72から供給されるCUと、イントラ予測処理の結果生成される予測画像とに基づいて、候補となる全てのイントラ予測モードに対してコスト関数値(詳細は後述する)を算出する。そして、イントラ予測部87は、PU単位で、コスト関数値が最小となるイントラ予測モードを、最適イントラ予測モードに決定する。 In addition, the intra prediction unit 87 performs, on a PU basis, all candidate intra prediction modes based on the CU supplied from the screen rearrangement buffer 72 and the prediction image generated as a result of the intra prediction process. A cost function value (details will be described later) is calculated. Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode for each PU.
 イントラ予測部87は、PU単位で、最適イントラ予測モードで生成された予測画像と、対応するコスト関数値とを、予測画像選択部92に供給する。イントラ予測部87は、予測画像選択部92から最適イントラ予測モードで生成された予測画像の選択が通知された場合、イントラ予測モード情報を可逆符号化部76に供給する。 The intra prediction unit 87 supplies the prediction image generated in the optimal intra prediction mode and the corresponding cost function value to the prediction image selection unit 92 in units of PUs. The intra prediction unit 87 supplies the intra prediction mode information to the lossless encoding unit 76 when the prediction image selection unit 92 is notified of the selection of the prediction image generated in the optimal intra prediction mode.
 なお、コスト関数値は、RD(Rate Distortion)コストともいい、例えば、H.264/AVC方式における参照ソフトウエアであるJM(Joint Model)で定められている、High ComplexityモードまたはLow Complexityモードの手法に基づいて算出される。なお、H.264/AVC方式における参照ソフトウエアは、http://iphome.hhi.de/suehring/tml/index.htmにおいて公開されている。 The cost function value is also called RD (RateRDistortion) cost. For example, the High 手法 Complexity mode or Low Complexity mode method defined by JM (Joint Model), which is the reference software in the H.264 / AVC format. Is calculated based on Reference software in the H.264 / AVC format is disclosed at http://iphome.hhi.de/suehring/tml/index.htm.
 動き予測・補償部89は、画面並べ替えバッファ72から供給されるCUを含むスライスがインタースライスである場合、候補となる全てのPUモード(詳細は後述する)のインター予測を行う。 When the slice including the CU supplied from the screen rearrangement buffer 72 is an inter slice, the motion prediction / compensation unit 89 performs inter prediction of all candidate PU modes (details will be described later).
 具体的には、動き予測・補償部89は、カレントピクチャより符号化順で前の参照ピクチャの候補とCUの水平方向および垂直方向の解像度を4倍にする。動き予測・補償部89は、各PUモードのPUごとに、水平方向および垂直方向の解像度が4倍にされた参照ピクチャの候補とCUとを用いて、1/4画素精度の動きベクトルを検出する。動き予測・補償部89は、各PUモードのPUごとに、検出された動きベクトルに基づいて、水平方向および垂直方向の解像度が4倍にされた参照ピクチャの候補に対して補償処理を施し、予測画像を生成する。なお、PUモードとは、PUのCUに対する分割方式等を表すモードである。 Specifically, the motion prediction / compensation unit 89 quadruples the resolution of the reference picture candidate and the CU in the horizontal and vertical directions before the current picture in the coding order. The motion prediction / compensation unit 89 detects a motion vector with 1/4 pixel accuracy for each PU in each PU mode using a reference picture candidate and a CU in which the horizontal and vertical resolutions are quadrupled. To do. The motion prediction / compensation unit 89 performs compensation processing on a reference picture candidate whose horizontal and vertical resolutions are quadrupled based on the detected motion vector for each PU in each PU mode, A prediction image is generated. Note that the PU mode is a mode representing a partitioning method or the like of the PU to the CU.
 また、動き予測・補償部89は、候補となる全てのPUモードのIntra BC予測を行う。具体的には、動き予測・補償部89は、各PUモードのPUごとに、参照ピクチャの候補として供給されるデブロックフィルタ処理前のカレントピクチャの一部とCUとを用いて、整数画素精度の動きベクトルを検出する。動き予測・補償部89は、各PUモードのPUごとに、検出された動きベクトルに基づいて、デブロックフィルタ処理前のカレントピクチャの一部に対して補償処理を施し、予測画像を生成する。 Also, the motion prediction / compensation unit 89 performs intra-BC prediction for all candidate PU modes. Specifically, the motion prediction / compensation unit 89 uses, for each PU in each PU mode, an integer pixel accuracy using a part of the current picture before deblocking filter processing supplied as a reference picture candidate and the CU. The motion vector is detected. The motion prediction / compensation unit 89 performs compensation processing on a part of the current picture before the deblocking filter processing based on the detected motion vector for each PU in each PU mode, and generates a predicted image.
 また、動き予測・補償部89は、PU単位で、CUと予測画像とに基づいて、候補となる全てのPUモードおよび参照ピクチャの候補のイントラ予測、および、候補となる全てのPUモードのIntra BC予測に対して、コスト関数値を算出する。動き予測・補償部89は、PU単位で、コスト関数値が最小となるPUモードとインター予測またはIntra BC予測とを表すモードを、最適インター予測モードに決定する。そして、動き予測・補償部89は、PU単位で、最適インター予測モードで生成された予測画像と、対応するコスト関数値とを予測画像選択部92に供給する。 The motion prediction / compensation unit 89 also performs intra prediction of all candidate PU modes and reference picture candidates, and intra of all candidate PU modes based on the CU and the predicted image in units of PUs. A cost function value is calculated for BC prediction. The motion prediction / compensation unit 89 determines, for each PU, a mode representing a PU mode having a minimum cost function value and inter prediction or Intra-BC prediction as the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the predicted image generated in the optimal inter prediction mode and the corresponding cost function value to the predicted image selection unit 92 in units of PUs.
 動き予測・補償部89は、予測画像選択部92から最適インター予測モードで生成された予測画像の選択が通知された場合、参照ピクチャの候補を参照ピクチャに決定する。そして、動き予測・補償部89は、その予測画像に対応する動きベクトル、参照ピクチャ特定情報、およびインター予測モード情報を、可逆符号化部76に供給する。 The motion prediction / compensation unit 89 determines a reference picture candidate as a reference picture when the prediction image selection unit 92 is notified of selection of a prediction image generated in the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the motion vector, the reference picture specifying information, and the inter prediction mode information corresponding to the predicted image to the lossless encoding unit 76.
 予測画像選択部92は、イントラ予測部87および動き予測・補償部89から供給されるコスト関数値に基づいて、最適イントラ予測モードと最適インター予測モードのうちの、対応するコスト関数値が小さい方を、最適予測モードに決定する。そして、予測画像選択部92は、最適予測モードの予測画像を、演算部73および加算部81に供給する。また、予測画像選択部92は、最適予測モードの予測画像の選択をイントラ予測部87または動き予測・補償部89に通知する。 Based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 89, the predicted image selection unit 92 has a smaller corresponding cost function value among the optimal intra prediction mode and the optimal inter prediction mode. Are determined as the optimum prediction mode. Then, the predicted image selection unit 92 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81. Further, the predicted image selection unit 92 notifies the intra prediction unit 87 or the motion prediction / compensation unit 89 of selection of the predicted image in the optimal prediction mode.
 レート制御部93は、蓄積バッファ77に蓄積された符号化データに基づいて、オーバーフローあるいはアンダーフローが発生しないように、量子化部75の量子化動作のレートを制御する。 The rate control unit 93 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
 (スライスタイプの例)
 図7は、スライスタイプの例を示す図である。
(Example of slice type)
FIG. 7 is a diagram illustrating an example of a slice type.
 図7のスライスタイプは、スライスタイプがPスライスである場合、スライスはIntra BCスライスではない点、および、イントラスライス用のIBCスライス(IBC_SLICE)が新たに設けられる点が、図2のスライスタイプと異なっている。 The slice type shown in FIG. 7 is different from the slice type shown in FIG. 2 in that when the slice type is a P slice, the slice is not an Intra BC slice, and a new IBC slice (IBC_SLICE) for an intra slice is provided. Is different.
 即ち、図7のスライスタイプでは、スライスタイプがPスライスである場合、スライスは、イントラ予測またはインター予測が行われるインタースライスである。 That is, in the slice type of FIG. 7, when the slice type is P slice, the slice is an inter slice in which intra prediction or inter prediction is performed.
 また、スライスタイプがIBCスライスである場合、スライスは、イントラ予測またはIntra BC予測が行われるイントラスライスである。従って、IBCスライスは、Intra BC予測またはイントラ予測を用いてスライスを符号化したことを表す予測情報である。スライスタイプがIBCスライスである場合、スライスタイプを表す情報としての番号は3である。 Also, when the slice type is an IBC slice, the slice is an intra slice in which intra prediction or Intra-BC prediction is performed. Therefore, the IBC slice is prediction information indicating that the slice is encoded using Intra BC prediction or intra prediction. When the slice type is an IBC slice, the number as information representing the slice type is 3.
 以上により、スライスが、独立して復号可能なイントラスライスである場合、スライスタイプは、IスライスまたはIBCスライスとなり、独立して復号できないインタースライスである場合、スライスタイプは、PスライスまたはBスライスとなる。従って、復号装置は、復号前に、スライスタイプにより、スライスが、独立して復号可能であるかどうかを認識することができる。 As described above, when the slice is an intra-slice that can be decoded independently, the slice type is I slice or IBC slice, and when the slice is an inter-slice that cannot be decoded independently, the slice type is P slice or B slice. Become. Therefore, the decoding apparatus can recognize whether or not a slice can be independently decoded by the slice type before decoding.
 (ピクチャ単位の符号化データに付加されるスライスタイプの例)
 図8は、図6の生成部78によりピクチャ単位の符号化データに付加されるスライスタイプの例を示す図である。
(Example of slice type added to encoded data in units of pictures)
FIG. 8 is a diagram illustrating an example of a slice type added to encoded data in units of pictures by the generation unit 78 in FIG.
 図8に示すように、生成部78は、ピクチャ内のスライスのうちのイントラスライスの符号化データに、スライスタイプとしてIBCスライスを表す3を含むスライスヘッダを付加する。また、生成部78は、インタースライスの符号化データに、例えば、スライスタイプとしてPスライスを表す1を含むスライスヘッダを付加する。 As shown in FIG. 8, the generation unit 78 adds a slice header including 3 representing an IBC slice as a slice type to encoded data of an intra slice among slices in a picture. Further, the generation unit 78 adds a slice header including 1 representing P slice as the slice type to the encoded data of the inter slice.
 (符号化装置の処理の説明)
 図9および図10は、図6の符号化装置70の符号化処理を説明するフローチャートである。
(Description of processing of encoding device)
9 and 10 are flowcharts for explaining the encoding process of the encoding device 70 of FIG.
 図9のステップS31において、符号化装置70のA/D変換部71は、符号化対象として入力されたフレーム単位のピクチャのアナログ信号をA/D変換し、変換後のピクチャのデジタル信号を画面並べ替えバッファ72に出力して記憶させる。 In step S31 in FIG. 9, the A / D conversion unit 71 of the encoding device 70 performs A / D conversion on the analog signal of the frame unit picture input as the encoding target, and displays the digital signal of the converted picture on the screen. The data is output to the rearrangement buffer 72 and stored.
 ステップS32において、画面並べ替えバッファ72は、記憶した表示の順番のピクチャを、GOP構造に応じて、符号化のための順番に並べ替える。画面並べ替えバッファ72は、並べ替え後のピクチャをカレントピクチャとし、カレントピクチャの各CUを順に、演算部73、イントラ予測部87、および動き予測・補償部89に供給する。 In step S32, the screen rearrangement buffer 72 rearranges the stored pictures in the display order in the order for encoding according to the GOP structure. The screen rearrangement buffer 72 sets the rearranged picture as the current picture, and sequentially supplies each CU of the current picture to the calculation unit 73, the intra prediction unit 87, and the motion prediction / compensation unit 89.
 ステップS33において、イントラ予測部87は、PU単位で、フレームメモリ85からスイッチ86を介して読み出された周辺画素を用いて、候補となる全てのイントラ予測モードのイントラ予測処理を行う。また、イントラ予測部87は、PU単位で、画面並べ替えバッファ72から供給されるCUと、イントラ予測処理の結果生成される予測画像とに基づいて、候補となる全てのイントラ予測モードに対してコスト関数値を算出する。そして、イントラ予測部87は、PU単位で、コスト関数値が最小となるイントラ予測モードを、最適イントラ予測モードに決定する。 In step S33, the intra prediction unit 87 performs intra prediction processing of all candidate intra prediction modes using peripheral pixels read from the frame memory 85 via the switch 86 in units of PUs. In addition, the intra prediction unit 87 performs, on a PU basis, all candidate intra prediction modes based on the CU supplied from the screen rearrangement buffer 72 and the prediction image generated as a result of the intra prediction process. Calculate the cost function value. Then, the intra prediction unit 87 determines the intra prediction mode that minimizes the cost function value as the optimal intra prediction mode for each PU.
 イントラ予測部87は、PU単位で、最適イントラ予測モードで生成された予測画像と、対応するコスト関数値とを、予測画像選択部92に供給する。イントラ予測部87は、予測画像選択部92から最適イントラ予測モードで生成された予測画像の選択が通知された場合、イントラ予測モード情報を可逆符号化部76に供給する。 The intra prediction unit 87 supplies the prediction image generated in the optimal intra prediction mode and the corresponding cost function value to the prediction image selection unit 92 in units of PUs. The intra prediction unit 87 supplies the intra prediction mode information to the lossless encoding unit 76 when the prediction image selection unit 92 is notified of the selection of the prediction image generated in the optimal intra prediction mode.
 また、動き予測・補償部89は、PU単位で、候補となる全てのPUモードのIntra BC予測を行う。さらに、動き予測・補償部89は、画面並べ替えバッファ72から供給されるCUを含むスライスがインタースライスである場合、PU単位で、候補となる全てのPUモードのインター予測を行う。 Also, the motion prediction / compensation unit 89 performs intra-BC prediction for all candidate PU modes in units of PUs. Furthermore, when the slice including the CU supplied from the screen rearrangement buffer 72 is an inter slice, the motion prediction / compensation unit 89 performs inter prediction for all candidate PU modes in units of PUs.
 動き予測・補償部89は、PU単位で、CUと予測画像とに基づいて、候補となる全てのPUモードおよび参照ピクチャの候補のイントラ予測、および、候補となる全てのPUモードのIntra BC予測に対して、コスト関数値を算出する。動き予測・補償部89は、PU単位で、コスト関数値が最小となるPUモードとインター予測またはIntra BC予測とを表すモードを、最適インター予測モードに決定する。そして、動き予測・補償部89は、PU単位で、最適インター予測モードで生成された予測画像と、対応するコスト関数値とを予測画像選択部92に供給する。 The motion prediction / compensation unit 89 performs intra prediction of all candidate PU modes and reference picture candidates and intra-BC prediction of all candidate PU modes based on the CU and the predicted image in units of PUs. For this, a cost function value is calculated. The motion prediction / compensation unit 89 determines, for each PU, a mode representing a PU mode having a minimum cost function value and inter prediction or Intra-BC prediction as the optimal inter prediction mode. Then, the motion prediction / compensation unit 89 supplies the predicted image generated in the optimal inter prediction mode and the corresponding cost function value to the predicted image selection unit 92 in units of PUs.
 ステップS34において、予測画像選択部92は、イントラ予測部87および動き予測・補償部89から供給されるコスト関数値に基づいて、最適イントラ予測モードと最適インター予測モードのうちのコスト関数値が小さい方を、最適予測モードに決定する。そして、予測画像選択部92は、最適予測モードの予測画像を、演算部73および加算部81に供給する。 In step S34, the predicted image selection unit 92 has a small cost function value in the optimal intra prediction mode and the optimal inter prediction mode based on the cost function values supplied from the intra prediction unit 87 and the motion prediction / compensation unit 89. Is determined to be the optimal prediction mode. Then, the predicted image selection unit 92 supplies the predicted image in the optimal prediction mode to the calculation unit 73 and the addition unit 81.
 ステップS35において、予測画像選択部92は、最適予測モードが最適インター予測モードであるかどうかを判定する。ステップS35で最適予測モードが最適インター予測モードであると判定された場合、予測画像選択部92は、最適インター予測モードで生成された予測画像の選択を動き予測・補償部89に通知する。 In step S35, the predicted image selecting unit 92 determines whether or not the optimal prediction mode is the optimal inter prediction mode. When it is determined in step S35 that the optimal prediction mode is the optimal inter prediction mode, the predicted image selection unit 92 notifies the motion prediction / compensation unit 89 of the selection of the predicted image generated in the optimal inter prediction mode.
 ステップS36において、動き予測・補償部89は、予測画像選択部92により選択された予測画像に対応するインター予測モード情報、動きベクトル、および参照ピクチャ特定情報を、可逆符号化部76に供給する。そして、処理はステップS38に進む。 In step S36, the motion prediction / compensation unit 89 supplies the inter prediction mode information, the motion vector, and the reference picture specifying information corresponding to the prediction image selected by the prediction image selection unit 92 to the lossless encoding unit 76. Then, the process proceeds to step S38.
 一方、ステップS35で最適予測モードが最適インター予測モードではないと判定された場合、即ち最適予測モードが最適イントラ予測モードである場合、予測画像選択部92は、最適イントラ予測モードで生成された予測画像の選択をイントラ予測部87に通知する。そして、ステップS37において、イントラ予測部87は、予測画像選択部92により選択された予測画像に対応するイントラ予測モード情報を可逆符号化部76に供給し、処理をステップS38に進める。 On the other hand, when it is determined in step S35 that the optimal prediction mode is not the optimal inter prediction mode, that is, when the optimal prediction mode is the optimal intra prediction mode, the predicted image selection unit 92 performs the prediction generated in the optimal intra prediction mode. The intra prediction unit 87 is notified of image selection. In step S37, the intra prediction unit 87 supplies the intra prediction mode information corresponding to the prediction image selected by the prediction image selection unit 92 to the lossless encoding unit 76, and the process proceeds to step S38.
 ステップS38において、演算部73は、画面並べ替えバッファ72から供給されるCUから、予測画像選択部92から供給される予測画像を減算することにより符号化を行う。演算部73は、その結果得られる情報を、残差情報として直交変換部74に出力する。 In step S38, the calculation unit 73 performs encoding by subtracting the prediction image supplied from the prediction image selection unit 92 from the CU supplied from the screen rearrangement buffer 72. The computing unit 73 outputs information obtained as a result to the orthogonal transform unit 74 as residual information.
 ステップS39において、直交変換部74は、演算部73からの残差情報に対してTU単位で直交変換を施し、その結果得られる直交変換係数を量子化部75に供給する。 In step S39, the orthogonal transform unit 74 performs orthogonal transform on the residual information from the calculation unit 73 in units of TUs, and supplies the resulting orthogonal transform coefficient to the quantization unit 75.
 ステップS40において、量子化部75は、直交変換部74から供給される直交変換係数を量子化し、量子化された直交変換係数を可逆符号化部76と逆量子化部79に供給する。 In step S40, the quantization unit 75 quantizes the orthogonal transform coefficient supplied from the orthogonal transform unit 74, and supplies the quantized orthogonal transform coefficient to the lossless encoding unit 76 and the inverse quantization unit 79.
 図10のステップS41において、逆量子化部79は、量子化部75から供給される量子化された直交変換係数を逆量子化し、その結果得られる直交変換係数を逆直交変換部80に供給する。 In step S41 of FIG. 10, the inverse quantization unit 79 inversely quantizes the quantized orthogonal transform coefficient supplied from the quantization unit 75 and supplies the resulting orthogonal transform coefficient to the inverse orthogonal transform unit 80. .
 ステップS42において、逆直交変換部80は、逆量子化部79から供給される直交変換係数に対してTU単位で逆直交変換を施し、その結果得られる残差情報を加算部81に供給する。 In step S42, the inverse orthogonal transform unit 80 performs inverse orthogonal transform on the orthogonal transform coefficient supplied from the inverse quantization unit 79 in units of TUs, and supplies residual information obtained as a result to the adder 81.
 ステップS43において、加算部81は、逆直交変換部80から供給される残差情報と、予測画像選択部92から供給される予測画像を加算し、CUを復号する。加算部81は、復号されたCUをフレームメモリ85とフィルタ82に供給する。 In step S43, the addition unit 81 adds the residual information supplied from the inverse orthogonal transform unit 80 and the prediction image supplied from the prediction image selection unit 92, and decodes the CU. The adder 81 supplies the decoded CU to the frame memory 85 and the filter 82.
 ステップS44において、フィルタ82は、加算部81から供給されたCUに対してデブロックフィルタ処理を行う。 In step S44, the filter 82 performs deblocking filter processing on the CU supplied from the adding unit 81.
 ステップS45において、フィルタ82は、デブロックフィルタ処理後のCUに対してSAO処理を行う。フィルタ82は、SAO処理後のCUをフレームメモリ85に供給する。また、フィルタ82は、行われたSAO処理の種類とオフセットを示す情報を、オフセットフィルタ情報として可逆符号化部76に供給する。 In step S45, the filter 82 performs SAO processing on the CU after the deblocking filter processing. The filter 82 supplies the CU after the SAO processing to the frame memory 85. Further, the filter 82 supplies information indicating the type and offset of the SAO processing performed to the lossless encoding unit 76 as offset filter information.
 ステップS46において、フレームメモリ85は、加算部81から供給されるデブロックフィルタ処理前のCUとフィルタ82から供給されるSAO処理後のCUを記憶する。フレームメモリ85に記憶されたデブロックフィルタ処理前の画素のうちのPUの周辺画素は、スイッチ86を介してイントラ予測部87に供給される。 In step S46, the frame memory 85 stores the CU before deblocking filter processing supplied from the adding unit 81 and the CU after SAO processing supplied from the filter 82. Among the pixels before the deblocking filter processing stored in the frame memory 85, the peripheral pixels of the PU are supplied to the intra prediction unit 87 via the switch 86.
 また、フレームメモリ85に記憶されたデブロックフィルタ処理前のカレントピクチャの一部と、カレントピクチャより符号化順で前のSAO処理後のピクチャは、参照ピクチャの候補としてスイッチ86を介して動き予測・補償部89に出力される。 In addition, a part of the current picture before the deblocking filter process stored in the frame memory 85 and a picture after the SAO process before the current picture in the coding order are motion-predicted via the switch 86 as reference picture candidates. -It outputs to the compensation part 89.
 ステップS47において、可逆符号化部76は、イントラ予測モード情報、または、インター予測モード情報、動きベクトル、および参照ピクチャ特定情報、並びにオフセットフィルタ情報を、符号化情報として可逆符号化する。 In step S47, the lossless encoding unit 76 losslessly encodes the intra prediction mode information, the inter prediction mode information, the motion vector, the reference picture specifying information, and the offset filter information as the encoding information.
 ステップS48において、可逆符号化部76は、量子化部75から供給される量子化された直交変換係数を可逆符号化する。そして、可逆符号化部76は、ステップS47の処理で可逆符号化された符号化情報と可逆符号化された直交変換係数から、符号化データを生成し、蓄積バッファ77に供給する。 In step S48, the lossless encoding unit 76 performs lossless encoding on the quantized orthogonal transform coefficient supplied from the quantization unit 75. Then, the lossless encoding unit 76 generates encoded data from the encoding information that has been losslessly encoded in the process of step S 47 and the orthogonal transform coefficient that has been losslessly encoded, and supplies the encoded data to the accumulation buffer 77.
 ステップS49において、蓄積バッファ77は、可逆符号化部76から供給される符号化データを、一時的に蓄積する。 In step S49, the accumulation buffer 77 temporarily accumulates the encoded data supplied from the lossless encoding unit 76.
 ステップS50において、レート制御部93は、蓄積バッファ77に蓄積された符号化データに基づいて、オーバーフローあるいはアンダーフローが発生しないように、量子化部75の量子化動作のレートを制御する。 In step S50, the rate control unit 93 controls the rate of the quantization operation of the quantization unit 75 based on the encoded data stored in the storage buffer 77 so that overflow or underflow does not occur.
 ステップS51において、蓄積バッファ77は、蓄積バッファ77に記憶されているピクチャ単位の符号化データを生成部78に供給する。 In step S 51, the accumulation buffer 77 supplies the encoded data in units of pictures stored in the accumulation buffer 77 to the generation unit 78.
 ステップS52において、生成部78は、蓄積バッファ77から供給されるピクチャ単位の符号化データに対して、スライスごとに、スライスタイプを表す情報を含むスライスヘッダを付加する。 In step S52, the generation unit 78 adds a slice header including information indicating the slice type for each slice to the encoded data in units of pictures supplied from the accumulation buffer 77.
 具体的には、生成部78は、イントラスライスの符号化データに対して、スライスタイプとしてIBCスライスを表す3を含むスライスヘッダを付加する。また、生成部78は、インタースライスの符号化データに対して、スライスタイプとしてPスライスを表す1を含むスライスヘッダを付加する。これにより、各スライスのスライスデータが生成される。 Specifically, the generation unit 78 adds a slice header including 3 representing an IBC slice as a slice type to the encoded data of the intra slice. In addition, the generation unit 78 adds a slice header including 1 representing P slice as the slice type to the encoded data of the inter slice. Thereby, slice data of each slice is generated.
 ステップS53において、生成部78は、パラメータセットと各スライスのスライスデータをNAL化してNALユニットを生成し、そのNALユニットから符号化ストリームを生成する。生成部78は、符号化ストリームを出力し、処理を終了する。 In step S53, the generation unit 78 NALs the parameter set and slice data of each slice to generate a NAL unit, and generates an encoded stream from the NAL unit. The generation unit 78 outputs the encoded stream and ends the process.
 (復号装置の一実施の形態の構成例)
 図11は、図6の符号化装置70から伝送される符号化ストリームを復号する、本開示を適用した画像処理装置としての復号装置の一実施の形態の構成例を示すブロック図である。
(Configuration example of one embodiment of decoding device)
FIG. 11 is a block diagram illustrating a configuration example of an embodiment of a decoding device as an image processing device to which the present disclosure is applied, which decodes an encoded stream transmitted from the encoding device 70 in FIG. 6.
 図11の復号装置130は、蓄積バッファ131、可逆復号部132、逆量子化部133、逆直交変換部134、加算部135、フィルタ136、画面並べ替えバッファ139およびD/A変換部140を有する。また、復号装置130は、フレームメモリ141、スイッチ142、イントラ予測部143、動き補償部147、およびスイッチ148を有する。 11 includes an accumulation buffer 131, a lossless decoding unit 132, an inverse quantization unit 133, an inverse orthogonal transform unit 134, an addition unit 135, a filter 136, a screen rearrangement buffer 139, and a D / A conversion unit 140. . In addition, the decoding device 130 includes a frame memory 141, a switch 142, an intra prediction unit 143, a motion compensation unit 147, and a switch 148.
 復号装置130の蓄積バッファ131は、図6の符号化装置70から符号化ストリームを受け取り、蓄積する。蓄積バッファ131は、蓄積されている符号化ストリームのうちのピクチャ単位のスライスデータを、順にカレントピクチャのスライスデータとして可逆復号部132に供給する。なお、符号化ストリームのうちのパラメータセットは、必要に応じて、復号装置130の各部に供給され、処理に用いられる。 The accumulation buffer 131 of the decoding apparatus 130 receives and accumulates the encoded stream from the encoding apparatus 70 of FIG. The accumulation buffer 131 supplies slice data in units of pictures in the accumulated encoded stream to the lossless decoding unit 132 as slice data of the current picture in order. Note that the parameter set in the encoded stream is supplied to each unit of the decoding device 130 as necessary, and used for processing.
 可逆復号部132は、蓄積バッファ131から供給されるスライスデータからスライスヘッダを復号し、そのスライスヘッダに含まれるスライスタイプを表す情報を動き補償部147に供給する。 The lossless decoding unit 132 decodes the slice header from the slice data supplied from the accumulation buffer 131, and supplies information representing the slice type included in the slice header to the motion compensation unit 147.
 可逆復号部132は、スライスデータを構成する各CUの符号化データに対して、順に、図6の可逆符号化部76の可逆符号化に対応する、可変長復号や算術復号等の可逆復号を施すことで、量子化された直交変換係数と符号化情報を得る。可逆復号部132は、量子化された直交変換係数を逆量子化部133に供給する。また、可逆復号部132は、符号化情報としてのイントラ予測モード情報などをイントラ予測部143に供給し、参照ピクチャ特定情報、動きベクトル、インター予測モード情報などを動き補償部147に供給する。 The lossless decoding unit 132 sequentially performs lossless decoding such as variable length decoding and arithmetic decoding corresponding to the lossless encoding of the lossless encoding unit 76 of FIG. 6 with respect to the encoded data of each CU constituting the slice data. As a result, quantized orthogonal transform coefficients and encoded information are obtained. The lossless decoding unit 132 supplies the quantized orthogonal transform coefficient to the inverse quantization unit 133. In addition, the lossless decoding unit 132 supplies intra prediction mode information and the like as encoded information to the intra prediction unit 143, and supplies reference picture specifying information, motion vectors, inter prediction mode information, and the like to the motion compensation unit 147.
 さらに、可逆復号部132は、符号化情報としてのイントラ予測モード情報またはインター予測モード情報をスイッチ148に供給する。可逆復号部132は、符号化情報としてのオフセットフィルタ情報をフィルタ136に供給する。 Furthermore, the lossless decoding unit 132 supplies intra prediction mode information or inter prediction mode information as encoded information to the switch 148. The lossless decoding unit 132 supplies offset filter information as encoded information to the filter 136.
 逆量子化部133、逆直交変換部134、加算部135、フィルタ136、フレームメモリ141、スイッチ142、イントラ予測部143、動き補償部147は、図6の逆量子化部79、逆直交変換部80、加算部81、フィルタ82、フレームメモリ85、スイッチ86、イントラ予測部87、動き予測・補償部89とそれぞれ同様の処理を行い、これにより、CUが復号される。 The inverse quantization unit 133, the inverse orthogonal transform unit 134, the addition unit 135, the filter 136, the frame memory 141, the switch 142, the intra prediction unit 143, and the motion compensation unit 147 are the inverse quantization unit 79 and the inverse orthogonal transform unit illustrated in FIG. 80, the adding unit 81, the filter 82, the frame memory 85, the switch 86, the intra prediction unit 87, and the motion prediction / compensation unit 89, the same processing is performed, thereby decoding the CU.
 具体的には、逆量子化部133は、可逆復号部132からの量子化された直交変換係数を逆量子化し、その結果得られる直交変換係数を逆直交変換部134に供給する。 Specifically, the inverse quantization unit 133 inversely quantizes the quantized orthogonal transform coefficient from the lossless decoding unit 132 and supplies the orthogonal transform coefficient obtained as a result to the inverse orthogonal transform unit 134.
 逆直交変換部134は、逆量子化部133からの直交変換係数に対してTU単位で逆直交変換を行う。逆直交変換部134は、逆直交変換の結果得られる残差情報を加算部135に供給する。 The inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficient from the inverse quantization unit 133 in units of TUs. The inverse orthogonal transform unit 134 supplies residual information obtained as a result of the inverse orthogonal transform to the addition unit 135.
 加算部135(復号部)は、逆直交変換部134から供給される残差情報と、スイッチ148から供給される予測画像を加算することにより、CUを復号する。なお、スイッチ148から予測画像が供給されない場合、加算部135は、逆直交変換部134から供給される残差情報を復号結果とする。加算部135は、復号の結果得られるCUをフレームメモリ141とフィルタ136に供給する。 The addition unit 135 (decoding unit) decodes the CU by adding the residual information supplied from the inverse orthogonal transform unit 134 and the prediction image supplied from the switch 148. Note that, when the predicted image is not supplied from the switch 148, the adding unit 135 uses the residual information supplied from the inverse orthogonal transform unit 134 as a decoding result. The adding unit 135 supplies the CU obtained as a result of decoding to the frame memory 141 and the filter 136.
 フィルタ136は、加算部135から供給されるCUに対してデブロックフィルタ処理を行う。フィルタ136は、可逆復号部132から供給されるオフセットフィルタ情報が表すオフセットを用いて、デブロックフィルタ処理後のCUに対して、オフセットフィルタ情報が表す種類のSAO処理を行う。フィルタ136は、SAO処理後のCUをフレームメモリ141および画面並べ替えバッファ139に供給する。 The filter 136 performs deblocking filter processing on the CU supplied from the adding unit 135. The filter 136 uses the offset represented by the offset filter information supplied from the lossless decoding unit 132 to perform the type of SAO processing represented by the offset filter information on the CU after the deblocking filter processing. The filter 136 supplies the CU after the SAO processing to the frame memory 141 and the screen rearrangement buffer 139.
 画面並べ替えバッファ139は、フィルタ136から供給されるSAO処理後のCUをフレーム単位で記憶する。また、画面並べ替えバッファ139は、動き補償部147からの参照ピクチャが参照可能ではないことを表す参照不可能情報に基づいて、記憶しているPUを廃棄(削除)する。画面並べ替えバッファ139は、記憶した符号化のための順番のピクチャを、元の表示の順番に並び替え、D/A変換部140に供給する。 The screen rearrangement buffer 139 stores the CU after SAO processing supplied from the filter 136 in units of frames. Further, the screen rearrangement buffer 139 discards (deletes) the stored PU based on the reference impossible information indicating that the reference picture from the motion compensation unit 147 is not referable. The screen rearrangement buffer 139 rearranges the stored pictures for encoding in the original display order, and supplies them to the D / A converter 140.
 D/A変換部140は、画面並べ替えバッファ139から供給されるピクチャをD/A変換し、出力する。 The D / A conversion unit 140 D / A converts the picture supplied from the screen rearrangement buffer 139 and outputs it.
 フレームメモリ141は、例えば、DRAMにより構成される。フレームメモリ141は、加算部135から供給されるデブロックフィルタ処理前のCUとフィルタ136から供給されるSAO処理後のCUを記憶する。また、フレームメモリ141は、動き補償部147から供給される参照不可能情報に基づいて、記憶しているPUを廃棄する。 The frame memory 141 is composed of, for example, DRAM. The frame memory 141 stores the CU before deblocking filter processing supplied from the adding unit 135 and the CU after SAO processing supplied from the filter 136. Further, the frame memory 141 discards the stored PU based on the reference impossible information supplied from the motion compensation unit 147.
 フレームメモリ141に記憶されたデブロックフィルタ処理前の画素のうちのPUの周辺画素は、スイッチ142を介してイントラ予測部143に供給される。また、フレームメモリ141に記憶されたデブロックフィルタ処理前のカレントピクチャの一部と、カレントピクチャより符号化順で前のSAO処理後のピクチャは、参照ピクチャとしてスイッチ142を介して動き補償部147に出力される。 Among the pixels before the deblocking filter processing stored in the frame memory 141, the peripheral pixels of the PU are supplied to the intra prediction unit 143 via the switch 142. Also, a part of the current picture before the deblocking filter process stored in the frame memory 141 and a picture after the SAO process before the current picture in the coding order are used as a reference picture via the switch 142 and the motion compensation unit 147. Is output.
 イントラ予測部143は、PU単位で、フレームメモリ141からスイッチ142を介して読み出された周辺画素を用いて、可逆復号部132から供給されるイントラ予測モード情報が示す最適イントラ予測モードのイントラ予測処理を行う。イントラ予測部143は、その結果生成される予測画像をスイッチ148に供給する。 The intra prediction unit 143 uses the peripheral pixels read from the frame memory 141 via the switch 142 in units of PUs, and performs intra prediction in the optimal intra prediction mode indicated by the intra prediction mode information supplied from the lossless decoding unit 132. Process. The intra prediction unit 143 supplies the prediction image generated as a result to the switch 148.
 動き補償部147は、PU単位で、可逆復号部132から供給されるスライスタイプを表す情報、インター予測モード情報、参照ピクチャ特定情報、および動きベクトルに基づいて、動き補償処理を行う。 The motion compensation unit 147 performs motion compensation processing in units of PUs based on information representing slice types, inter prediction mode information, reference picture specifying information, and motion vectors supplied from the lossless decoding unit 132.
 具体的には、動き補償部147は、可逆復号部132から供給されるスライスタイプを表す情報に基づいて、フレームメモリ141に参照ピクチャ特定情報により特定される参照ピクチャが存在するかどうか、即ち参照ピクチャが復号済みのピクチャであるかどうかを判定する。動き補償部147は、その判定結果に基づいて参照不可能情報を画面並べ替えバッファ139とフレームメモリ141に供給する。 Specifically, the motion compensation unit 147 determines whether there is a reference picture specified by the reference picture specifying information in the frame memory 141 based on the information indicating the slice type supplied from the lossless decoding unit 132, that is, the reference It is determined whether the picture is a decoded picture. The motion compensation unit 147 supplies the non-referenceable information to the screen rearrangement buffer 139 and the frame memory 141 based on the determination result.
 動き補償部147は、参照ピクチャがフレームメモリ141に存在する場合、フレームメモリ141からスイッチ142を介して参照ピクチャを読み出す。そして、動き補償部147は、参照ピクチャと動きベクトルとを用いて、インター予測モード情報が示す最適インター予測モードの動き補償処理を行い、その結果生成される予測画像をスイッチ148に供給する。 The motion compensation unit 147 reads the reference picture from the frame memory 141 via the switch 142 when the reference picture exists in the frame memory 141. Then, the motion compensation unit 147 performs motion compensation processing in the optimal inter prediction mode indicated by the inter prediction mode information using the reference picture and the motion vector, and supplies a prediction image generated as a result to the switch 148.
 スイッチ148は、可逆復号部132からイントラ予測モード情報が供給された場合、イントラ予測部143から供給される予測画像を加算部135に供給する。一方、可逆復号部132からインター予測モード情報が供給された場合、スイッチ148は、動き補償部147から供給される予測画像を加算部135に供給する。 When the intra prediction mode information is supplied from the lossless decoding unit 132, the switch 148 supplies the prediction image supplied from the intra prediction unit 143 to the addition unit 135. On the other hand, when the inter prediction mode information is supplied from the lossless decoding unit 132, the switch 148 supplies the prediction image supplied from the motion compensation unit 147 to the adding unit 135.
 (復号装置の処理の説明)
 図12は、図11の復号装置130の復号処理を説明するフローチャートである。この復号処理は、例えば、カレントピクチャのスライスデータが可逆復号部132に供給されたとき、開始される。
(Description of processing of decoding device)
FIG. 12 is a flowchart for explaining the decoding process of the decoding device 130 of FIG. This decoding process is started, for example, when slice data of the current picture is supplied to the lossless decoding unit 132.
 図12のステップS141において、可逆復号部132は、スライスのカウント値iを0に設定する。ステップS142において、可逆復号部132は、カウント値iが、カレントピクチャを構成するスライスの数より小さいかどうかを判定する。ステップS142で、カウント値iがカレントピクチャを構成するスライスの数より小さいと判定された場合、処理はステップS143に進む。 12, the lossless decoding unit 132 sets the slice count value i to 0. In step S142, the lossless decoding unit 132 determines whether the count value i is smaller than the number of slices constituting the current picture. If it is determined in step S142 that the count value i is smaller than the number of slices constituting the current picture, the process proceeds to step S143.
 ステップS143において、可逆復号部132は、蓄積バッファ131から供給されるスライスデータのうちの、i番目のスライスのスライスデータからスライスヘッダを復号する。可逆復号部132は、復号されたスライスヘッダに含まれるスライスタイプを表す情報を動き補償部147に供給する。 In step S143, the lossless decoding unit 132 decodes the slice header from the slice data of the i-th slice among the slice data supplied from the accumulation buffer 131. The lossless decoding unit 132 supplies information representing the slice type included in the decoded slice header to the motion compensation unit 147.
 また、可逆復号部132は、i番目のスライスデータのうちの符号化データに対して、可変長復号や算術復号等の可逆復号を施すことで、量子化された直交変換係数と符号化情報を得る。可逆復号部132は、量子化された直交変換係数を逆量子化部133に供給し、逆量子化部133は、可逆復号部132からの量子化された直交変換係数を逆量子化する。逆直交変換部134は、その結果得られる直交変換係数に対してTU単位で逆直交変換を行い、残差情報を得る。 In addition, the lossless decoding unit 132 performs lossless decoding such as variable length decoding and arithmetic decoding on the encoded data of the i-th slice data, thereby obtaining the quantized orthogonal transform coefficient and the encoded information. obtain. The lossless decoding unit 132 supplies the quantized orthogonal transform coefficient to the inverse quantization unit 133, and the inverse quantization unit 133 inversely quantizes the quantized orthogonal transform coefficient from the lossless decoding unit 132. The inverse orthogonal transform unit 134 performs inverse orthogonal transform on the orthogonal transform coefficients obtained as a result in units of TUs to obtain residual information.
 一方、可逆復号部132は、符号化情報としてのイントラ予測モード情報などをイントラ予測部143に供給し、参照ピクチャ特定情報、動きベクトル、インター予測モード情報などを動き補償部147に供給する。 On the other hand, the lossless decoding unit 132 supplies intra prediction mode information as encoded information to the intra prediction unit 143, and supplies reference picture specifying information, motion vectors, inter prediction mode information, and the like to the motion compensation unit 147.
 さらに、可逆復号部132は、符号化情報としてのイントラ予測モード情報またはインター予測モード情報をスイッチ148に供給する。可逆復号部132は、符号化情報としてのオフセットフィルタ情報をフィルタ136に供給する。 Furthermore, the lossless decoding unit 132 supplies intra prediction mode information or inter prediction mode information as encoded information to the switch 148. The lossless decoding unit 132 supplies offset filter information as encoded information to the filter 136.
 ステップS144において、動き補償部147は、可逆復号部132から供給されるスライスタイプを表す情報に基づいて、i番目のスライスのスライスタイプがイントラスライスであるかどうか、即ちスライスタイプを表す情報が3であるかどうかを判定する。 In step S144, based on the information indicating the slice type supplied from the lossless decoding unit 132, the motion compensation unit 147 determines whether the slice type of the i-th slice is an intra slice, that is, information indicating the slice type is 3 It is determined whether or not.
 ステップS144で、i番目のスライスのスライスタイプがイントラスライスであると判定された場合、即ちi番目のスライスが独立して復号可能である場合、ステップS145において、復号装置130は、PUのカウント値kを0に設定する。 If it is determined in step S144 that the slice type of the i-th slice is an intra slice, that is, if the i-th slice can be decoded independently, in step S145, the decoding device 130 determines the count value of the PU. Set k to 0.
 ステップS146において、復号装置130は、カウント値kが、i番目のスライスを構成するPUの数より小さいかどうかを判定する。ステップS146で、カウント値kが、i番目のスライスを構成するPUの数より小さいと判定された場合、処理はステップS147に進む。 In step S146, the decoding device 130 determines whether the count value k is smaller than the number of PUs constituting the i-th slice. If it is determined in step S146 that the count value k is smaller than the number of PUs constituting the i-th slice, the process proceeds to step S147.
 ステップS147において、復号装置130は、i番目のスライスのスライスデータのうちのk番目のPUの符号化データを復号する。具体的には、k番目のPUに対して、動き補償部147がIntra BC予測を行うか、または、イントラ予測部143がイントラ予測処理を行い、加算部135が、その結果得られる予測画像と残差情報を加算する。復号結果は、CU単位で、フィルタ136を介して画面並べ替えバッファ139に供給されるとともに、フレームメモリ141に供給され、記憶される。 In step S147, the decoding device 130 decodes the encoded data of the kth PU among the slice data of the i-th slice. Specifically, for the k-th PU, the motion compensation unit 147 performs Intra BC prediction, or the intra prediction unit 143 performs intra prediction processing, and the addition unit 135 performs a prediction image obtained as a result. Add residual information. The decoding result is supplied to the screen rearrangement buffer 139 through the filter 136 and supplied to the frame memory 141 and stored in units of CUs.
 ステップS148において、復号装置130は、カウント値kを1だけインクリメントし、処理をステップS146に戻す。 In step S148, the decryption apparatus 130 increments the count value k by 1, and returns the process to step S146.
 一方、ステップS146でカウント値kが、i番目のスライスを構成するPUの数以上であると判定された場合、処理はステップS149に進む。ステップS149において、可逆復号部132は、カウント値iを1だけインクリメントし、処理をステップS142に戻す。 On the other hand, if it is determined in step S146 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the process proceeds to step S149. In step S149, the lossless decoding unit 132 increments the count value i by 1, and returns the process to step S142.
 また、ステップS144で、i番目のスライスのスライスタイプがイントラスライスではないと判定された場合、即ちスライスタイプを表す情報が1である場合、処理はステップS150に進む。 If it is determined in step S144 that the slice type of the i-th slice is not an intra slice, that is, if the information indicating the slice type is 1, the process proceeds to step S150.
 ステップS150およびS151の処理は、ステップS145およびS146の処理と同様であるので、説明は省略する。 Since the processing in steps S150 and S151 is the same as the processing in steps S145 and S146, description thereof is omitted.
 ステップS152において、復号装置130は、i番目のスライスのスライスデータのうちのk番目のPUの符号化データを復号する。具体的には、k番目のPUに対して、イントラ予測部143がイントラ予測処理を行うか、または、動き補償部147がインター予測を行い、加算部135が、その結果得られる予測画像と残差情報を加算する。または、加算部135が、残差情報をそのまま復号結果とする。復号結果は、CU単位で、フィルタ136を介して画面並べ替えバッファ139に供給されるとともに、フレームメモリ141に供給され、記憶される。 In step S152, the decoding device 130 decodes the encoded data of the kth PU among the slice data of the i-th slice. Specifically, for the k-th PU, the intra prediction unit 143 performs intra prediction processing, or the motion compensation unit 147 performs inter prediction, and the adding unit 135 determines the prediction image obtained as a result and the remaining image. Add difference information. Alternatively, the adding unit 135 directly uses the residual information as a decoding result. The decoding result is supplied to the screen rearrangement buffer 139 through the filter 136 and supplied to the frame memory 141 and stored in units of CUs.
 ステップS153において、復号装置130は、ステップS152の処理でイントラ予測処理が行われたかどうかを判定する。ステップS153で、ステップS152の処理でイントラ予測処理が行われたと判定された場合、処理はステップS156に進む。 In step S153, the decoding device 130 determines whether or not intra prediction processing has been performed in step S152. When it is determined in step S153 that the intra prediction process has been performed in the process of step S152, the process proceeds to step S156.
 一方、ステップS153で、ステップS152の処理でイントラ予測処理が行われていないと判定された場合、処理はステップS154に進む。ステップS154において、動き補償部147は、ステップS152の処理で参照ピクチャが参照可能であったかどうか、即ち予測画像が生成されたかどうかを判定する。 On the other hand, when it is determined in step S153 that the intra prediction process is not performed in the process of step S152, the process proceeds to step S154. In step S154, the motion compensation unit 147 determines whether or not the reference picture can be referred to in the process of step S152, that is, whether or not a predicted image has been generated.
 ステップS154で、参照ピクチャが参照可能であったと判定された場合、処理はステップS156に進む。 If it is determined in step S154 that the reference picture can be referred to, the process proceeds to step S156.
 一方、ステップS154で、参照ピクチャが参照可能ではなかったと判定された場合、動き補償部147は、参照不可能情報を画面並べ替えバッファ139とフレームメモリ141に供給する。そして、ステップS155において、画面並べ替えバッファ139とフレームメモリ141は、参照不可能情報に応じてk番目のPUの復号結果を廃棄する。そして、処理はステップS156に進む。 On the other hand, when it is determined in step S154 that the reference picture is not referable, the motion compensation unit 147 supplies the non-referenceable information to the screen rearrangement buffer 139 and the frame memory 141. In step S155, the screen rearrangement buffer 139 and the frame memory 141 discard the decoding result of the kth PU according to the unreferenceable information. Then, the process proceeds to step S156.
 ステップS156において、復号装置130は、カウント値kを1だけインクリメントし、処理をステップS151に戻す。 In step S156, the decryption apparatus 130 increments the count value k by 1, and returns the process to step S151.
 また、ステップS151で、カウント値kが、i番目のスライスを構成するPUの数以上であると判定された場合、ステップS157において、可逆復号部132は、カウント値iを1だけインクリメントし、処理をステップS142に戻す。 If it is determined in step S151 that the count value k is equal to or greater than the number of PUs constituting the i-th slice, the lossless decoding unit 132 increments the count value i by 1 in step S157 and performs processing. Is returned to step S142.
 また、ステップS142で、カウント値iがカレントピクチャを構成するスライスの数以上であると判定された場合、復号処理は終了する。 If it is determined in step S142 that the count value i is greater than or equal to the number of slices that make up the current picture, the decoding process ends.
 以上のように、復号装置130は、スライスヘッダに基づいて、復号前に、各スライスが独立して復号可能なイントラスライスであるかどうかを認識することができる。従って、スライスがイントラスライスである場合、PU単位で、独立に復号可能であるかどうかを判定する必要がない。即ち、復号装置130は、イントラスライスに対しては、図5のステップS17の処理と同様の図12のステップS153の処理を行う必要がない。その結果、復号処理の負荷が軽減される。 As described above, the decoding device 130 can recognize whether each slice is an intra-slice that can be independently decoded before decoding based on the slice header. Therefore, when the slice is an intra slice, there is no need to determine whether or not decoding is possible independently for each PU. That is, the decoding device 130 does not need to perform the process of step S153 of FIG. 12 similar to the process of step S17 of FIG. 5 for the intra slice. As a result, the load of decoding processing is reduced.
 なお、本実施の形態では、符号化装置70は、イントラスライスのスライスタイプを常にIBCスライスにしたが、イントラスライスがイントラ予測のみが行われるスライスである場合、イントラスライスのスライスタイプをIスライスにしてもよい。この場合、図12のステップS144では、i番目のスライスのスライスタイプを表す情報が2以上であるかどうかによって、i番目のスライスのスライスタイプがイントラスライスであるかどうかが判定される。 In this embodiment, the encoding device 70 always sets the slice type of the intra slice to IBC slice. However, if the intra slice is a slice for which only intra prediction is performed, the slice type of the intra slice is set to I slice. May be. In this case, in step S144 of FIG. 12, it is determined whether or not the slice type of the i-th slice is an intra slice depending on whether or not the information indicating the slice type of the i-th slice is 2 or more.
 また、本実施の形態では、インタースライスのスライスタイプがPスライスであるようにしたが、Bスライスであるようにしてもよい。 Further, in this embodiment, the slice type of the inter slice is P slice, but it may be B slice.
 さらに、本実施の形態では、イントラスライス用のスライスタイプが新たに設定されたが、スライスデータの後に、そのスライスデータが独立して復号可能であるかどうかを表すRegion refresh information SEI(Supplemental Enhancement Information)などのSEIを付加するようにしてもよい。 Furthermore, in this embodiment, a slice type for intra slice is newly set. However, after slice data, Region refresh information SEI (Supplemental Enhancement Information) indicating whether or not the slice data can be decoded independently ) Etc. may be added.
 この場合、Region refresh information SEIを認識可能な復号装置では、スライスタイプを表す情報の復号前に、Region refresh information SEIにより、独立して復号可能なスライスであるかどうかを認識することができる。しかしながら、Region refresh information SEIを認識不可能な復号装置では、独立して復号可能なスライスであるかどうかを認識することはできない。 In this case, the decoding apparatus capable of recognizing Region refresh information SEI can recognize whether the slice is independently decodable by Region refresh information SEI before decoding the information indicating the slice type. However, a decoding device that cannot recognize Region refresh information SEI cannot recognize whether it is a slice that can be decoded independently.
 <第2実施の形態>
 (本開示を適用したコンピュータの説明)
 上述した一連の処理は、ハードウエアにより実行することもできるし、ソフトウエアにより実行することもできる。一連の処理をソフトウエアにより実行する場合には、そのソフトウエアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウエアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどが含まれる。
<Second Embodiment>
(Description of computer to which the present disclosure is applied)
The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software is installed in the computer. Here, the computer includes, for example, a general-purpose personal computer capable of executing various functions by installing various programs by installing a computer incorporated in dedicated hardware.
 図13は、上述した一連の処理をプログラムにより実行するコンピュータのハードウエアの構成例を示すブロック図である。 FIG. 13 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processing by a program.
 コンピュータにおいて、CPU(Central Processing Unit)201,ROM(Read Only Memory)202,RAM(Random Access Memory)203は、バス204により相互に接続されている。 In the computer, a CPU (Central Processing Unit) 201, a ROM (Read Only Memory) 202, and a RAM (Random Access Memory) 203 are connected to each other by a bus 204.
 バス204には、さらに、入出力インタフェース205が接続されている。入出力インタフェース205には、入力部206、出力部207、記憶部208、通信部209、及びドライブ210が接続されている。 An input / output interface 205 is further connected to the bus 204. An input unit 206, an output unit 207, a storage unit 208, a communication unit 209, and a drive 210 are connected to the input / output interface 205.
 入力部206は、キーボード、マウス、マイクロホンなどよりなる。出力部207は、ディスプレイ、スピーカなどよりなる。記憶部208は、ハードディスクや不揮発性のメモリなどよりなる。通信部209は、ネットワークインタフェースなどよりなる。ドライブ210は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブルメディア211を駆動する。 The input unit 206 includes a keyboard, a mouse, a microphone, and the like. The output unit 207 includes a display, a speaker, and the like. The storage unit 208 includes a hard disk, a nonvolatile memory, and the like. The communication unit 209 includes a network interface and the like. The drive 210 drives a removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
 以上のように構成されるコンピュータでは、CPU201が、例えば、記憶部208に記憶されているプログラムを、入出力インタフェース205及びバス204を介して、RAM203にロードして実行することにより、上述した一連の処理が行われる。 In the computer configured as described above, the CPU 201 loads, for example, the program stored in the storage unit 208 to the RAM 203 via the input / output interface 205 and the bus 204 and executes the program. Is performed.
 コンピュータ(CPU201)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブルメディア211に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。 The program executed by the computer (CPU 201) can be provided by being recorded in the removable medium 211 as a package medium or the like, for example. The program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
 コンピュータでは、プログラムは、リムーバブルメディア211をドライブ210に装着することにより、入出力インタフェース205を介して、記憶部208にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部209で受信し、記憶部208にインストールすることができる。その他、プログラムは、ROM202や記憶部208に、あらかじめインストールしておくことができる。 In the computer, the program can be installed in the storage unit 208 via the input / output interface 205 by attaching the removable medium 211 to the drive 210. The program can be received by the communication unit 209 via a wired or wireless transmission medium and installed in the storage unit 208. In addition, the program can be installed in the ROM 202 or the storage unit 208 in advance.
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 The program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
 <第3実施の形態>
 (テレビジョン装置の構成例)
 図14は、本開示を適用したテレビジョン装置の概略構成を例示している。テレビジョン装置900は、アンテナ901、チューナ902、デマルチプレクサ903、デコーダ904、映像信号処理部905、表示部906、音声信号処理部907、スピーカ908、外部インタフェース部909を有している。さらに、テレビジョン装置900は、制御部910、ユーザインタフェース部911等を有している。
<Third Embodiment>
(Example configuration of television device)
FIG. 14 illustrates a schematic configuration of a television apparatus to which the present disclosure is applied. The television apparatus 900 includes an antenna 901, a tuner 902, a demultiplexer 903, a decoder 904, a video signal processing unit 905, a display unit 906, an audio signal processing unit 907, a speaker 908, and an external interface unit 909. Furthermore, the television apparatus 900 includes a control unit 910, a user interface unit 911, and the like.
 チューナ902は、アンテナ901で受信された放送波信号から所望のチャンネルを選局して復調を行い、得られた符号化ビットストリームをデマルチプレクサ903に出力する。 The tuner 902 selects a desired channel from the broadcast wave signal received by the antenna 901, demodulates it, and outputs the obtained encoded bit stream to the demultiplexer 903.
 デマルチプレクサ903は、符号化ビットストリームから視聴対象である番組の映像や音声のパケットを抽出して、抽出したパケットのデータをデコーダ904に出力する。また、デマルチプレクサ903は、EPG(Electronic Program Guide)等のデータのパケットを制御部910に供給する。なお、スクランブルが行われている場合、デマルチプレクサ等でスクランブルの解除を行う。 The demultiplexer 903 extracts video and audio packets of the program to be viewed from the encoded bit stream, and outputs the extracted packet data to the decoder 904. Further, the demultiplexer 903 supplies a packet of data such as EPG (Electronic Program Guide) to the control unit 910. If scrambling is being performed, descrambling is performed by a demultiplexer or the like.
 デコーダ904は、パケットの復号化処理を行い、復号処理化によって生成された映像データを映像信号処理部905、音声データを音声信号処理部907に出力する。 The decoder 904 performs packet decoding processing, and outputs video data generated by the decoding processing to the video signal processing unit 905 and audio data to the audio signal processing unit 907.
 映像信号処理部905は、映像データに対して、ノイズ除去やユーザ設定に応じた映像処理等を行う。映像信号処理部905は、表示部906に表示させる番組の映像データや、ネットワークを介して供給されるアプリケーションに基づく処理による画像データなどを生成する。また、映像信号処理部905は、項目の選択などのメニュー画面等を表示するための映像データを生成し、それを番組の映像データに重畳する。映像信号処理部905は、このようにして生成した映像データに基づいて駆動信号を生成して表示部906を駆動する。 The video signal processing unit 905 performs noise removal, video processing according to user settings, and the like on the video data. The video signal processing unit 905 generates video data of a program to be displayed on the display unit 906, image data by processing based on an application supplied via a network, and the like. The video signal processing unit 905 generates video data for displaying a menu screen for selecting an item and the like, and superimposes the video data on the video data of the program. The video signal processing unit 905 generates a drive signal based on the video data generated in this way, and drives the display unit 906.
 表示部906は、映像信号処理部905からの駆動信号に基づき表示デバイス(例えば液晶表示素子等)を駆動して、番組の映像などを表示させる。 The display unit 906 drives a display device (for example, a liquid crystal display element or the like) based on a drive signal from the video signal processing unit 905 to display a program video or the like.
 音声信号処理部907は、音声データに対してノイズ除去などの所定の処理を施し、処理後の音声データのD/A変換処理や増幅処理を行いスピーカ908に供給することで音声出力を行う。 The audio signal processing unit 907 performs predetermined processing such as noise removal on the audio data, performs D / A conversion processing and amplification processing on the processed audio data, and outputs the audio data to the speaker 908.
 外部インタフェース部909は、外部機器やネットワークと接続するためのインタフェースであり、映像データや音声データ等のデータ送受信を行う。 The external interface unit 909 is an interface for connecting to an external device or a network, and transmits and receives data such as video data and audio data.
 制御部910にはユーザインタフェース部911が接続されている。ユーザインタフェース部911は、操作スイッチやリモートコントロール信号受信部等で構成されており、ユーザ操作に応じた操作信号を制御部910に供給する。 A user interface unit 911 is connected to the control unit 910. The user interface unit 911 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 910.
 制御部910は、CPU(Central Processing Unit)やメモリ等を用いて構成されている。メモリは、CPUにより実行されるプログラムやCPUが処理を行う上で必要な各種のデータ、EPGデータ、ネットワークを介して取得されたデータ等を記憶する。メモリに記憶されているプログラムは、テレビジョン装置900の起動時などの所定タイミングでCPUにより読み出されて実行される。CPUは、プログラムを実行することで、テレビジョン装置900がユーザ操作に応じた動作となるように各部を制御する。 The control unit 910 is configured using a CPU (Central Processing Unit), a memory, and the like. The memory stores a program executed by the CPU, various data necessary for the CPU to perform processing, EPG data, data acquired via a network, and the like. The program stored in the memory is read and executed by the CPU at a predetermined timing such as when the television device 900 is activated. The CPU executes each program to control each unit so that the television device 900 operates in accordance with the user operation.
 なお、テレビジョン装置900では、チューナ902、デマルチプレクサ903、映像信号処理部905、音声信号処理部907、外部インタフェース部909等と制御部910を接続するためバス912が設けられている。 Note that the television device 900 includes a bus 912 for connecting the tuner 902, the demultiplexer 903, the video signal processing unit 905, the audio signal processing unit 907, the external interface unit 909, and the control unit 910.
 このように構成されたテレビジョン装置では、デコーダ904に本願の復号装置(復号方法)の機能が設けられる。このため、復号処理の負荷を軽減するように符号化された符号化データを復号することができる。 In the thus configured television apparatus, the decoder 904 is provided with the function of the decoding apparatus (decoding method) of the present application. For this reason, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
 <第4実施の形態>
 (携帯電話機の構成例)
 図15は、本開示を適用した携帯電話機の概略構成を例示している。携帯電話機920は、通信部922、音声コーデック923、カメラ部926、画像処理部927、多重分離部928、記録再生部929、表示部930、制御部931を有している。これらは、バス933を介して互いに接続されている。
<Fourth embodiment>
(Configuration example of mobile phone)
FIG. 15 illustrates a schematic configuration of a mobile phone to which the present disclosure is applied. The cellular phone 920 includes a communication unit 922, an audio codec 923, a camera unit 926, an image processing unit 927, a demultiplexing unit 928, a recording / reproducing unit 929, a display unit 930, and a control unit 931. These are connected to each other via a bus 933.
 また、通信部922にはアンテナ921が接続されており、音声コーデック923には、スピーカ924とマイクロホン925が接続されている。さらに制御部931には、操作部932が接続されている。 In addition, an antenna 921 is connected to the communication unit 922, and a speaker 924 and a microphone 925 are connected to the audio codec 923. Further, an operation unit 932 is connected to the control unit 931.
 携帯電話機920は、音声通話モードやデータ通信モード等の各種モードで、音声信号の送受信、電子メールや画像データの送受信、画像撮影、またはデータ記録等の各種動作を行う。 The mobile phone 920 performs various operations such as transmission / reception of voice signals, transmission / reception of e-mail and image data, image shooting, and data recording in various modes such as a voice call mode and a data communication mode.
 音声通話モードにおいて、マイクロホン925で生成された音声信号は、音声コーデック923で音声データへの変換やデータ圧縮が行われて通信部922に供給される。通信部922は、音声データの変調処理や周波数変換処理等を行い、送信信号を生成する。また、通信部922は、送信信号をアンテナ921に供給して図示しない基地局へ送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、得られた音声データを音声コーデック923に供給する。音声コーデック923は、音声データのデータ伸張やアナログ音声信号への変換を行いスピーカ924に出力する。 In the voice call mode, the voice signal generated by the microphone 925 is converted into voice data and compressed by the voice codec 923 and supplied to the communication unit 922. The communication unit 922 performs audio data modulation processing, frequency conversion processing, and the like to generate a transmission signal. The communication unit 922 supplies a transmission signal to the antenna 921 and transmits it to a base station (not shown). In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and supplies the obtained audio data to the audio codec 923. The audio codec 923 performs data expansion of the audio data and conversion to an analog audio signal and outputs the result to the speaker 924.
 また、データ通信モードにおいて、メール送信を行う場合、制御部931は、操作部932の操作によって入力された文字データを受け付けて、入力された文字を表示部930に表示する。また、制御部931は、操作部932におけるユーザ指示等に基づいてメールデータを生成して通信部922に供給する。通信部922は、メールデータの変調処理や周波数変換処理等を行い、得られた送信信号をアンテナ921から送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、メールデータを復元する。このメールデータを、表示部930に供給して、メール内容の表示を行う。 In the data communication mode, when mail transmission is performed, the control unit 931 receives character data input by operating the operation unit 932 and displays the input characters on the display unit 930. In addition, the control unit 931 generates mail data based on a user instruction or the like in the operation unit 932 and supplies the mail data to the communication unit 922. The communication unit 922 performs mail data modulation processing, frequency conversion processing, and the like, and transmits the obtained transmission signal from the antenna 921. In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores mail data. This mail data is supplied to the display unit 930 to display the mail contents.
 なお、携帯電話機920は、受信したメールデータを、記録再生部929で記憶媒体に記憶させることも可能である。記憶媒体は、書き換え可能な任意の記憶媒体である。例えば、記憶媒体は、RAMや内蔵型フラッシュメモリ等の半導体メモリ、ハードディスク、磁気ディスク、光磁気ディスク、光ディスク、USB(Universal Serial Bus)メモリ、またはメモリカード等のリムーバブルメディアである。 Note that the mobile phone 920 can also store the received mail data in a storage medium by the recording / playback unit 929. The storage medium is any rewritable storage medium. For example, the storage medium is a removable memory such as a RAM, a semiconductor memory such as a built-in flash memory, a hard disk, a magnetic disk, a magneto-optical disk, an optical disk, a USB (Universal Serial Bus) memory, or a memory card.
 データ通信モードにおいて画像データを送信する場合、カメラ部926で生成された画像データを、画像処理部927に供給する。画像処理部927は、画像データの符号化処理を行い、符号化データを生成する。 When transmitting image data in the data communication mode, the image data generated by the camera unit 926 is supplied to the image processing unit 927. The image processing unit 927 performs encoding processing of image data and generates encoded data.
 多重分離部928は、画像処理部927で生成された符号化データと、音声コーデック923から供給された音声データを所定の方式で多重化して通信部922に供給する。通信部922は、多重化データの変調処理や周波数変換処理等を行い、得られた送信信号をアンテナ921から送信する。また、通信部922は、アンテナ921で受信した受信信号の増幅や周波数変換処理および復調処理等を行い、多重化データを復元する。この多重化データを多重分離部928に供給する。多重分離部928は、多重化データの分離を行い、符号化データを画像処理部927、音声データを音声コーデック923に供給する。画像処理部927は、符号化データの復号化処理を行い、画像データを生成する。この画像データを表示部930に供給して、受信した画像の表示を行う。音声コーデック923は、音声データをアナログ音声信号に変換してスピーカ924に供給して、受信した音声を出力する。 The demultiplexing unit 928 multiplexes the encoded data generated by the image processing unit 927 and the audio data supplied from the audio codec 923 by a predetermined method, and supplies the multiplexed data to the communication unit 922. The communication unit 922 performs modulation processing and frequency conversion processing of multiplexed data, and transmits the obtained transmission signal from the antenna 921. In addition, the communication unit 922 performs amplification, frequency conversion processing, demodulation processing, and the like of the reception signal received by the antenna 921, and restores multiplexed data. This multiplexed data is supplied to the demultiplexing unit 928. The demultiplexing unit 928 performs demultiplexing of the multiplexed data, and supplies the encoded data to the image processing unit 927 and the audio data to the audio codec 923. The image processing unit 927 performs a decoding process on the encoded data to generate image data. The image data is supplied to the display unit 930 and the received image is displayed. The audio codec 923 converts the audio data into an analog audio signal, supplies the analog audio signal to the speaker 924, and outputs the received audio.
 このように構成された携帯電話装置では、画像処理部927に本願の符号化装置および復号装置(符号化方法および復号方法)の機能が設けられる。このため、復号処理の負荷を軽減することができる。また、復号処理の負荷を軽減するように符号化された符号化データを復号することができる。 In the cellular phone device configured as described above, the image processing unit 927 is provided with the functions of the encoding device and the decoding device (encoding method and decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
 <第5実施の形態>
 (記録再生装置の構成例)
 図16は、本開示を適用した記録再生装置の概略構成を例示している。記録再生装置940は、例えば受信した放送番組のオーディオデータとビデオデータを、記録媒体に記録して、その記録されたデータをユーザの指示に応じたタイミングでユーザに提供する。また、記録再生装置940は、例えば他の装置からオーディオデータやビデオデータを取得し、それらを記録媒体に記録させることもできる。さらに、記録再生装置940は、記録媒体に記録されているオーディオデータやビデオデータを復号して出力することで、モニタ装置等において画像表示や音声出力を行うことができるようにする。
<Fifth embodiment>
(Configuration example of recording / reproducing apparatus)
FIG. 16 illustrates a schematic configuration of a recording / reproducing apparatus to which the present disclosure is applied. The recording / reproducing apparatus 940 records, for example, audio data and video data of a received broadcast program on a recording medium, and provides the recorded data to the user at a timing according to a user instruction. The recording / reproducing device 940 can also acquire audio data and video data from another device, for example, and record them on a recording medium. Further, the recording / reproducing apparatus 940 decodes and outputs the audio data and video data recorded on the recording medium, thereby enabling image display and audio output on the monitor apparatus or the like.
 記録再生装置940は、チューナ941、外部インタフェース部942、エンコーダ943、HDD(Hard Disk Drive)部944、ディスクドライブ945、セレクタ946、デコーダ947、OSD(On-Screen Display)部948、制御部949、ユーザインタフェース部950を有している。 The recording / reproducing apparatus 940 includes a tuner 941, an external interface unit 942, an encoder 943, an HDD (Hard Disk Drive) unit 944, a disk drive 945, a selector 946, a decoder 947, an OSD (On-Screen Display) unit 948, a control unit 949, A user interface unit 950 is included.
 チューナ941は、図示しないアンテナで受信された放送信号から所望のチャンネルを選局する。チューナ941は、所望のチャンネルの受信信号を復調して得られた符号化ビットストリームをセレクタ946に出力する。 Tuner 941 selects a desired channel from a broadcast signal received by an antenna (not shown). The tuner 941 outputs an encoded bit stream obtained by demodulating the received signal of a desired channel to the selector 946.
 外部インタフェース部942は、IEEE1394インタフェース、ネットワークインタフェース部、USBインタフェース、フラッシュメモリインタフェース等の少なくともいずれかで構成されている。外部インタフェース部942は、外部機器やネットワーク、メモリカード等と接続するためのインタフェースであり、記録する映像データや音声データ等のデータ受信を行う。 The external interface unit 942 includes at least one of an IEEE 1394 interface, a network interface unit, a USB interface, a flash memory interface, and the like. The external interface unit 942 is an interface for connecting to an external device, a network, a memory card, and the like, and receives data such as video data and audio data to be recorded.
 エンコーダ943は、外部インタフェース部942から供給された映像データや音声データが符号化されていないとき所定の方式で符号化を行い、符号化ビットストリームをセレクタ946に出力する。 The encoder 943 performs encoding by a predetermined method when the video data and audio data supplied from the external interface unit 942 are not encoded, and outputs an encoded bit stream to the selector 946.
 HDD部944は、映像や音声等のコンテンツデータ、各種プログラムやその他のデータ等を内蔵のハードディスクに記録し、また再生時等にそれらを当該ハードディスクから読み出す。 The HDD unit 944 records content data such as video and audio, various programs, and other data on a built-in hard disk, and reads them from the hard disk during playback.
 ディスクドライブ945は、装着されている光ディスクに対する信号の記録および再生を行う。光ディスク、例えばDVDディスク(DVD-Video、DVD-RAM、DVD-R、DVD-RW、DVD+R、DVD+RW等)やBlu-ray(登録商標)ディスク等である。 The disk drive 945 records and reproduces signals with respect to the mounted optical disk. An optical disk such as a DVD disk (DVD-Video, DVD-RAM, DVD-R, DVD-RW, DVD + R, DVD + RW, etc.), a Blu-ray (registered trademark) disk, or the like.
 セレクタ946は、映像や音声の記録時には、チューナ941またはエンコーダ943からのいずれかの符号化ビットストリームを選択して、HDD部944やディスクドライブ945のいずれかに供給する。また、セレクタ946は、映像や音声の再生時に、HDD部944またはディスクドライブ945から出力された符号化ビットストリームをデコーダ947に供給する。 The selector 946 selects one of the encoded bit streams from the tuner 941 or the encoder 943 and supplies it to either the HDD unit 944 or the disk drive 945 when recording video or audio. Further, the selector 946 supplies the encoded bit stream output from the HDD unit 944 or the disk drive 945 to the decoder 947 at the time of reproduction of video and audio.
 デコーダ947は、符号化ビットストリームの復号化処理を行う。デコーダ947は、復号処理化を行うことにより生成された映像データをOSD部948に供給する。また、デコーダ947は、復号処理化を行うことにより生成された音声データを出力する。 The decoder 947 performs a decoding process on the encoded bit stream. The decoder 947 supplies the video data generated by performing the decoding process to the OSD unit 948. The decoder 947 outputs audio data generated by performing the decoding process.
 OSD部948は、項目の選択などのメニュー画面等を表示するための映像データを生成し、それをデコーダ947から出力された映像データに重畳して出力する。 The OSD unit 948 generates video data for displaying a menu screen for selecting an item and the like, and superimposes it on the video data output from the decoder 947 and outputs the video data.
 制御部949には、ユーザインタフェース部950が接続されている。ユーザインタフェース部950は、操作スイッチやリモートコントロール信号受信部等で構成されており、ユーザ操作に応じた操作信号を制御部949に供給する。 A user interface unit 950 is connected to the control unit 949. The user interface unit 950 includes an operation switch, a remote control signal receiving unit, and the like, and supplies an operation signal corresponding to a user operation to the control unit 949.
 制御部949は、CPUやメモリ等を用いて構成されている。メモリは、CPUにより実行されるプログラムやCPUが処理を行う上で必要な各種のデータを記憶する。メモリに記憶されているプログラムは、記録再生装置940の起動時などの所定タイミングでCPUにより読み出されて実行される。CPUは、プログラムを実行することで、記録再生装置940がユーザ操作に応じた動作となるように各部を制御する。 The control unit 949 is configured using a CPU, a memory, and the like. The memory stores programs executed by the CPU and various data necessary for the CPU to perform processing. The program stored in the memory is read and executed by the CPU at a predetermined timing such as when the recording / reproducing apparatus 940 is activated. The CPU executes the program to control each unit so that the recording / reproducing device 940 operates according to the user operation.
 このように構成された記録再生装置では、エンコーダ943に本願の符号化装置(符号化方法)の機能が設けられ、デコーダ947に本願の復号装置(復号方法)の機能が設けられる。このため、復号処理の負荷を軽減することができる。また、復号処理の負荷を軽減するように符号化された符号化データを復号することができる。 In the thus configured recording / reproducing apparatus, the encoder 943 is provided with the function of the encoding apparatus (encoding method) of the present application, and the decoder 947 is provided with the function of the decoding apparatus (decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
 <第6実施の形態>
 (撮像装置の構成例)
 図17は、本開示を適用した撮像装置の概略構成を例示している。撮像装置960は、被写体を撮像し、被写体の画像を表示部に表示させたり、それを画像データとして、記録媒体に記録する。
<Sixth embodiment>
(Configuration example of imaging device)
FIG. 17 illustrates a schematic configuration of an imaging apparatus to which the present disclosure is applied. The imaging device 960 images a subject, displays an image of the subject on a display unit, and records it on a recording medium as image data.
 撮像装置960は、光学ブロック961、撮像部962、カメラ信号処理部963、画像データ処理部964、表示部965、外部インタフェース部966、メモリ部967、メディアドライブ968、OSD部969、制御部970を有している。また、制御部970には、ユーザインタフェース部971が接続されている。さらに、画像データ処理部964や外部インタフェース部966、メモリ部967、メディアドライブ968、OSD部969、制御部970等は、バス972を介して接続されている。 The imaging device 960 includes an optical block 961, an imaging unit 962, a camera signal processing unit 963, an image data processing unit 964, a display unit 965, an external interface unit 966, a memory unit 967, a media drive 968, an OSD unit 969, and a control unit 970. Have. In addition, a user interface unit 971 is connected to the control unit 970. Furthermore, the image data processing unit 964, the external interface unit 966, the memory unit 967, the media drive 968, the OSD unit 969, the control unit 970, and the like are connected via a bus 972.
 光学ブロック961は、フォーカスレンズや絞り機構等を用いて構成されている。光学ブロック961は、被写体の光学像を撮像部962の撮像面に結像させる。撮像部962は、CCDまたはCMOSイメージセンサを用いて構成されており、光電変換によって光学像に応じた電気信号を生成してカメラ信号処理部963に供給する。 The optical block 961 is configured using a focus lens, a diaphragm mechanism, and the like. The optical block 961 forms an optical image of the subject on the imaging surface of the imaging unit 962. The imaging unit 962 is configured using a CCD or CMOS image sensor, generates an electrical signal corresponding to the optical image by photoelectric conversion, and supplies the electrical signal to the camera signal processing unit 963.
 カメラ信号処理部963は、撮像部962から供給された電気信号に対してニー補正やガンマ補正、色補正等の種々のカメラ信号処理を行う。カメラ信号処理部963は、カメラ信号処理後の画像データを画像データ処理部964に供給する。 The camera signal processing unit 963 performs various camera signal processing such as knee correction, gamma correction, and color correction on the electrical signal supplied from the imaging unit 962. The camera signal processing unit 963 supplies the image data after the camera signal processing to the image data processing unit 964.
 画像データ処理部964は、カメラ信号処理部963から供給された画像データの符号化処理を行う。画像データ処理部964は、符号化処理を行うことにより生成された符号化データを外部インタフェース部966やメディアドライブ968に供給する。また、画像データ処理部964は、外部インタフェース部966やメディアドライブ968から供給された符号化データの復号化処理を行う。画像データ処理部964は、復号化処理を行うことにより生成された画像データを表示部965に供給する。また、画像データ処理部964は、カメラ信号処理部963から供給された画像データを表示部965に供給する処理や、OSD部969から取得した表示用データを、画像データに重畳させて表示部965に供給する。 The image data processing unit 964 performs an encoding process on the image data supplied from the camera signal processing unit 963. The image data processing unit 964 supplies the encoded data generated by performing the encoding process to the external interface unit 966 and the media drive 968. Further, the image data processing unit 964 performs a decoding process on the encoded data supplied from the external interface unit 966 and the media drive 968. The image data processing unit 964 supplies the image data generated by performing the decoding process to the display unit 965. Further, the image data processing unit 964 superimposes the processing for supplying the image data supplied from the camera signal processing unit 963 to the display unit 965 and the display data acquired from the OSD unit 969 on the image data. To supply.
 OSD部969は、記号、文字、または図形からなるメニュー画面やアイコンなどの表示用データを生成して画像データ処理部964に出力する。 The OSD unit 969 generates display data such as a menu screen and icons made up of symbols, characters, or figures and outputs them to the image data processing unit 964.
 外部インタフェース部966は、例えば、USB入出力端子などで構成され、画像の印刷を行う場合に、プリンタと接続される。また、外部インタフェース部966には、必要に応じてドライブが接続され、磁気ディスク、光ディスク等のリムーバブルメディアが適宜装着され、それらから読み出されたコンピュータプログラムが、必要に応じて、インストールされる。さらに、外部インタフェース部966は、LANやインターネット等の所定のネットワークに接続されるネットワークインタフェースを有する。制御部970は、例えば、ユーザインタフェース部971からの指示にしたがって、メディアドライブ968から符号化データを読み出し、それを外部インタフェース部966から、ネットワークを介して接続される他の装置に供給させることができる。また、制御部970は、ネットワークを介して他の装置から供給される符号化データや画像データを、外部インタフェース部966を介して取得し、それを画像データ処理部964に供給したりすることができる。 The external interface unit 966 includes, for example, a USB input / output terminal, and is connected to a printer when printing an image. In addition, 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 appropriately mounted, and a computer program read from them is installed as necessary. Furthermore, the external interface unit 966 has a network interface connected to a predetermined network such as a LAN or the Internet. For example, the control unit 970 reads encoded data from the media drive 968 in accordance with an instruction from the user interface unit 971, and supplies the encoded data to the other device connected via the network from the external interface unit 966. it can. Also, the control unit 970 may acquire encoded data and image data supplied from another device via the network via the external interface unit 966 and supply the acquired data to the image data processing unit 964. it can.
 メディアドライブ968で駆動される記録メディアとしては、例えば、磁気ディスク、光磁気ディスク、光ディスク、または半導体メモリ等の、読み書き可能な任意のリムーバブルメディアが用いられる。また、記録メディアは、リムーバブルメディアとしての種類も任意であり、テープデバイスであってもよいし、ディスクであってもよいし、メモリカードであってもよい。もちろん、非接触IC(Integrated Circuit)カード等であってもよい。 As the recording medium driven by the media drive 968, any readable / writable removable medium such as a magnetic disk, a magneto-optical disk, an optical disk, or a semiconductor memory is used. The recording medium may be any type of removable medium, and may be a tape device, a disk, or a memory card. Of course, a non-contact IC (Integrated Circuit) card may be used.
 また、メディアドライブ968と記録メディアを一体化し、例えば、内蔵型ハードディスクドライブやSSD(Solid State Drive)等のように、非可搬性の記憶媒体により構成されるようにしてもよい。 Further, the media drive 968 and the recording medium may be integrated and configured by a non-portable storage medium such as a built-in hard disk drive or an SSD (Solid State Drive).
 制御部970は、CPUを用いて構成されている。メモリ部967は、制御部970により実行されるプログラムや制御部970が処理を行う上で必要な各種のデータ等を記憶する。メモリ部967に記憶されているプログラムは、撮像装置960の起動時などの所定タイミングで制御部970により読み出されて実行される。制御部970は、プログラムを実行することで、撮像装置960がユーザ操作に応じた動作となるように各部を制御する。 The control unit 970 is configured using a CPU. The memory unit 967 stores a program executed by the control unit 970, various data necessary for the control unit 970 to perform processing, and the like. The program stored in the memory unit 967 is read and executed by the control unit 970 at a predetermined timing such as when the imaging device 960 is activated. The control unit 970 controls each unit so that the imaging device 960 performs an operation according to a user operation by executing a program.
 このように構成された撮像装置では、画像データ処理部964に本願の符号化装置および復号装置(符号化方法および復号方法)の機能が設けられる。このため、復号処理の負荷を軽減することができる。また、復号処理の負荷を軽減するように符号化された符号化データを復号することができる。 In the imaging apparatus configured as described above, the image data processing unit 964 is provided with the functions of the encoding apparatus and decoding apparatus (encoding method and decoding method) of the present application. For this reason, the load of the decoding process can be reduced. Also, the encoded data encoded so as to reduce the load of the decoding process can be decoded.
 <第7実施の形態>
 (実施のその他の例)
  以上において本開示を適用する装置やシステム等の例を説明したが、本開示は、これに限らず、このような装置またはシステムを構成する装置に搭載するあらゆる構成、例えば、システムLSI(Large Scale Integration)等としてのプロセッサ、複数のプロセッサ等を用いるモジュール、複数のモジュール等を用いるユニット、ユニットにさらにその他の機能を付加したセット等(すなわち、装置の一部の構成)として実施することもできる。
<Seventh embodiment>
(Other examples of implementation)
In the above, examples of apparatuses and systems to which the present disclosure is applied have been described. However, the present disclosure is not limited thereto, and any configuration mounted on such apparatuses or apparatuses constituting the system, for example, 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) .
 (ビデオセットの構成例)
  本開示をセットとして実施する場合の例について、図18を参照して説明する。図18は、本開示を適用したビデオセットの概略的な構成の一例を示している。
(Video set configuration example)
An example of implementing the present disclosure as a set will be described with reference to FIG. FIG. 18 illustrates an example of a schematic configuration of a video set to which the present disclosure 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.
  図18に示されるビデオセット1300は、このような多機能化された構成であり、画像の符号化や復号(いずれか一方でもよいし、両方でも良い)に関する機能を有するデバイスに、その機能に関連するその他の機能を有するデバイスを組み合わせたものである。 The video set 1300 shown in FIG. 18 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.
  図18に示されるように、ビデオセット1300は、ビデオモジュール1311、外部メモリ1312、パワーマネージメントモジュール1313、およびフロントエンドモジュール1314等のモジュール群と、コネクティビティ1321、カメラ1322、およびセンサ1323等の関連する機能を有するデバイスとを有する。 As shown in FIG. 18, the video set 1300 includes a module group such as a video module 1311, an external memory 1312, a power management module 1313, and a front end module 1314, and an associated module 1321, a camera 1322, a sensor 1323, and the like. And a device having a function.
  モジュールは、互いに関連するいくつかの部品的機能をまとめ、まとまりのある機能を持った部品としたものである。具体的な物理的構成は任意であるが、例えば、それぞれ機能を有する複数のプロセッサ、抵抗やコンデンサ等の電子回路素子、その他のデバイス等を配線基板等に配置して一体化したものが考えられる。また、モジュールに他のモジュールやプロセッサ等を組み合わせて新たなモジュールとすることも考えられる。 A cocoon module is a component that has several functions that are related to each other and that have a coherent function. The specific physical configuration is arbitrary. For example, a plurality of processors each having a function, electronic circuit elements such as resistors and capacitors, and other devices arranged on a wiring board or the like can be considered. . It is also possible to combine the module with another module, a processor, or the like to form a new module.
  図18の例の場合、ビデオモジュール1311は、画像処理に関する機能を有する構成を組み合わせたものであり、アプリケーションプロセッサ、ビデオプロセッサ、ブロードバンドモデム1333、およびRFモジュール1334を有する。 In the example of FIG. 18, the video module 1311 is a combination of configurations having functions related to image processing, and includes an application processor, a video processor, a broadband modem 1333, and an RF module 1334.
  プロセッサは、所定の機能を有する構成をSoC(System On a Chip)により半導体チップに集積したものであり、例えばシステムLSI(Large Scale Integration)等と称されるものもある。この所定の機能を有する構成は、論理回路(ハードウエア構成)であってもよいし、CPU、ROM、RAM等と、それらを用いて実行されるプログラム(ソフトウエア構成)であってもよいし、その両方を組み合わせたものであってもよい。例えば、プロセッサが、論理回路とCPU、ROM、RAM等とを有し、機能の一部を論理回路(ハードウエア構成)により実現し、その他の機能をCPUにおいて実行されるプログラム(ソフトウエア構成)により実現するようにしてもよい。 The processor is a configuration in which a configuration having a predetermined function is integrated on a semiconductor chip by an SoC (System On Chip), and for example, there is also a system LSI (Large Scale Integration) or the like. The configuration having the predetermined function may be a logic circuit (hardware configuration), a CPU, a ROM, a RAM, and the like, and a program (software configuration) executed using them. , Or a combination of both. For example, a processor has a logic circuit and a CPU, ROM, RAM, etc., a part of the function is realized by a logic circuit (hardware configuration), and other functions are executed by the CPU (software configuration) It may be realized by.
  図18のアプリケーションプロセッサ1331は、画像処理に関するアプリケーションを実行するプロセッサである。このアプリケーションプロセッサ1331において実行されるアプリケーションは、所定の機能を実現するために、演算処理を行うだけでなく、例えばビデオプロセッサ1332等、ビデオモジュール1311内外の構成を必要に応じて制御することもできる。 The application processor 1331 in FIG. 18 is a processor that executes an application relating to image processing. The application executed in the application processor 1331 not only performs arithmetic processing to realize a predetermined function, but also can control the internal and external configurations of the video module 1311 such as the video processor 1332 as necessary. .
  ビデオプロセッサ1332は、画像の符号化・復号(その一方若しくは両方)に関する機能を有するプロセッサである。 The video processor 1332 is a processor having a function related to image encoding / decoding (one or both of them).
  ブロードバンドモデム1333は、インターネットや公衆電話回線網等の広帯域の回線を介して行われる有線若しくは無線(またはその両方)の広帯域通信に関する処理を行うプロセッサ(若しくはモジュール)である。例えば、ブロードバンドモデム1333は、送信するデータ(デジタル信号)をデジタル変調する等してアナログ信号に変換したり、受信したアナログ信号を復調してデータ(デジタル信号)に変換したりする。例えば、ブロードバンドモデム1333は、ビデオプロセッサ1332が処理する画像データや画像データが符号化されたストリーム、アプリケーションプログラム、設定データ等、任意の情報をデジタル変調・復調することができる。 The broadband modem 1333 is a processor (or module) that performs processing related to wired or wireless (or both) broadband communication performed via a broadband line such as the Internet or a public telephone line network. For example, the broadband modem 1333 digitally modulates data to be transmitted (digital signal) to convert it into an analog signal, or demodulates the received analog signal to convert it into data (digital signal). For example, the broadband modem 1333 can digitally modulate and demodulate arbitrary information such as image data processed by the video processor 1332, a stream obtained by encoding the image data, an application program, setting data, and the like.
  RFモジュール1334は、アンテナを介して送受信されるRF(Radio Frequency)信号に対して、周波数変換、変復調、増幅、フィルタ処理等を行うモジュールである。例えば、RFモジュール1334は、ブロードバンドモデム1333により生成されたベースバンド信号に対して周波数変換等を行ってRF信号を生成する。また、例えば、RFモジュール1334は、フロントエンドモジュール1314を介して受信されたRF信号に対して周波数変換等を行ってベースバンド信号を生成する。 The RF module 1334 is a module that performs frequency conversion, modulation / demodulation, amplification, filter processing, and the like on an RF (Radio RF Frequency) signal transmitted and received via an antenna. For example, the RF module 1334 generates an RF signal by performing frequency conversion or the like on the baseband signal generated by the broadband modem 1333. Further, for example, the RF module 1334 generates a baseband signal by performing frequency conversion or the like on the RF signal received via the front end module 1314.
  なお、図18において点線1341に示されるように、アプリケーションプロセッサ1331とビデオプロセッサ1332を、一体化し、1つのプロセッサとして構成されるようにしてもよい。 Note that, as indicated by a dotted line 1341 in FIG. 18, the application processor 1331 and the video processor 1332 may be integrated into a single processor.
  外部メモリ1312は、ビデオモジュール1311の外部に設けられた、ビデオモジュール1311により利用される記憶デバイスを有するモジュールである。この外部メモリ1312の記憶デバイスは、どのような物理構成により実現するようにしてもよいが、一般的にフレーム単位の画像データのような大容量のデータの格納に利用されることが多いので、例えばDRAM(Dynamic Random Access Memory)のような比較的安価で大容量の半導体メモリにより実現するのが望ましい。 The external memory 1312 is a module having a storage device that is provided outside the video module 1311 and is used by the video module 1311. The storage device of the external memory 1312 may be realized by any physical configuration, but is generally used for storing a large amount of data such as image data in units of frames. For example, it is desirable to realize it with a relatively inexpensive and large-capacity semiconductor memory such as DRAM (Dynamic Random Access Memory).
  パワーマネージメントモジュール1313は、ビデオモジュール1311(ビデオモジュール1311内の各構成)への電力供給を管理し、制御する。 The power management module 1313 manages and controls power supply to the video module 1311 (each component in the video module 1311).
  フロントエンドモジュール1314は、RFモジュール1334に対してフロントエンド機能(アンテナ側の送受信端の回路)を提供するモジュールである。図18に示されるように、フロントエンドモジュール1314は、例えば、アンテナ部1351、フィルタ1352、および増幅部1353を有する。 The front end module 1314 is a module that provides the RF module 1334 with a front end function (a circuit on a transmitting / receiving end on the antenna side). As illustrated in FIG. 18, the front end module 1314 includes, for example, an antenna unit 1351, a filter 1352, and an amplification unit 1353.
  アンテナ部1351は、無線信号を送受信するアンテナおよびその周辺の構成を有する。アンテナ部1351は、増幅部1353から供給される信号を無線信号として送信し、受信した無線信号を電気信号(RF信号)としてフィルタ1352に供給する。フィルタ1352は、アンテナ部1351を介して受信されたRF信号に対してフィルタ処理等を行い、処理後のRF信号をRFモジュール1334に供給する。増幅部1353は、RFモジュール1334から供給されるRF信号を増幅し、アンテナ部1351に供給する。 Antenna unit 1351 has an antenna for transmitting and receiving a radio signal and its peripheral configuration. The antenna unit 1351 transmits the signal supplied from the amplification unit 1353 as a radio signal, and supplies the received radio signal to the filter 1352 as an electric signal (RF signal). The filter 1352 performs a filtering process on the RF signal received via the antenna unit 1351 and supplies the processed RF signal to the RF module 1334. The amplifying unit 1353 amplifies the RF signal supplied from the RF module 1334 and supplies the amplified RF signal to the antenna unit 1351.
  コネクティビティ1321は、外部との接続に関する機能を有するモジュールである。コネクティビティ1321の物理構成は、任意である。例えば、コネクティビティ1321は、ブロードバンドモデム1333が対応する通信規格以外の通信機能を有する構成や、外部入出力端子等を有する。 Connectivity 1321 is a module having a function related to connection with the outside. The physical configuration of the connectivity 1321 is arbitrary. For example, the connectivity 1321 has a configuration having a communication function other than the communication standard supported by the broadband modem 1333, an external input / output terminal, and the like.
  例えば、コネクティビティ1321が、Bluetooth(登録商標)、IEEE 802.11(例えばWi-Fi(Wireless Fidelity、登録商標))、NFC(Near Field Communication)、IrDA(InfraRed Data Association)等の無線通信規格に準拠する通信機能を有するモジュールや、その規格に準拠した信号を送受信するアンテナ等を有するようにしてもよい。また、例えば、コネクティビティ1321が、USB(Universal Serial Bus)、HDMI(登録商標)(High-Definition Multimedia Interface)等の有線通信規格に準拠する通信機能を有するモジュールや、その規格に準拠した端子を有するようにしてもよい。さらに、例えば、コネクティビティ1321が、アナログ入出力端子等のその他のデータ(信号)伝送機能等を有するようにしてもよい。 For example, the communication 1321 is compliant with wireless communication standards such as Bluetooth (registered trademark), IEEE 802.11 (for example, Wi-Fi (Wireless Fidelity, registered trademark)), NFC (Near Field Communication), IrDA (InfraRed Data Association), etc. You may make it have a module which has a function, an antenna etc. which transmit / receive the signal based on the standard. Further, for example, the connectivity 1321 has a module having a communication function compliant with a wired communication standard such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), or a terminal compliant with the standard. You may do it. Further, for example, the connectivity 1321 may have other data (signal) transmission functions such as analog input / output terminals.
  なお、コネクティビティ1321が、データ(信号)の伝送先のデバイスを含むようにしてもよい。例えば、コネクティビティ1321が、磁気ディスク、光ディスク、光磁気ディスク、または半導体メモリ等の記録媒体に対してデータの読み出しや書き込みを行うドライブ(リムーバブルメディアのドライブだけでなく、ハードディスク、SSD(Solid State Drive)、NAS(Network Attached Storage)等も含む)を有するようにしてもよい。また、コネクティビティ1321が、画像や音声の出力デバイス(モニタやスピーカ等)を有するようにしてもよい。 It should be noted that the connectivity 1321 may include a data (signal) transmission destination device. For example, the drive 1321 reads and writes data to and from a recording medium such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory (not only a removable medium drive, but also a hard disk, SSD (Solid State Drive) NAS (including Network Attached Storage) and the like. In addition, the connectivity 1321 may include an image or audio output device (a monitor, a speaker, or the like).
  カメラ1322は、被写体を撮像し、被写体の画像データを得る機能を有するモジュールである。カメラ1322の撮像により得られた画像データは、例えば、ビデオプロセッサ1332に供給されて符号化される。 The eyelid camera 1322 is a module having a function of capturing an image of a subject and obtaining image data of the subject. Image data obtained by imaging by the camera 1322 is supplied to, for example, a video processor 1332 and encoded.
  センサ1323は、例えば、音声センサ、超音波センサ、光センサ、照度センサ、赤外線センサ、イメージセンサ、回転センサ、角度センサ、角速度センサ、速度センサ、加速度センサ、傾斜センサ、磁気識別センサ、衝撃センサ、温度センサ等、任意のセンサ機能を有するモジュールである。センサ1323により検出されたデータは、例えば、アプリケーションプロセッサ1331に供給されてアプリケーション等により利用される。 The sensor 1323 includes, for example, a voice sensor, an ultrasonic sensor, an optical sensor, an illuminance sensor, an infrared sensor, an image sensor, a rotation sensor, an angle sensor, an angular velocity sensor, a velocity sensor, an acceleration sensor, an inclination sensor, a magnetic identification sensor, an impact sensor, It is a module having an arbitrary sensor function such as a temperature sensor. For example, the data detected by the sensor 1323 is supplied to the application processor 1331 and used by an application or the like.
  以上においてモジュールとして説明した構成をプロセッサとして実現するようにしてもよいし、逆にプロセッサとして説明した構成をモジュールとして実現するようにしてもよい。 The configuration described above as a module may be realized as a processor, or conversely, the configuration described as a processor may be realized as a module.
  以上のような構成のビデオセット1300において、後述するようにビデオプロセッサ1332に本開示を適用することができる。したがって、ビデオセット1300は、本開示を適用したセットとして実施することができる。 In the video set 1300 having the above configuration, the present disclosure can be applied to the video processor 1332 as described later. Accordingly, the video set 1300 can be implemented as a set to which the present disclosure is applied.
 (ビデオプロセッサの構成例)
  図19は、本開示を適用したビデオプロセッサ1332(図18)の概略的な構成の一例を示している。
(Video processor configuration example)
FIG. 19 illustrates an example of a schematic configuration of a video processor 1332 (FIG. 18) to which the present disclosure is applied.
  図19の例の場合、ビデオプロセッサ1332は、ビデオ信号およびオーディオ信号の入力を受けてこれらを所定の方式で符号化する機能と、符号化されたビデオデータおよびオーディオデータを復号し、ビデオ信号およびオーディオ信号を再生出力する機能とを有する。 In the case of the example of FIG. 19, the video processor 1332 receives the video signal and the audio signal, encodes them in a predetermined method, decodes the encoded video data and audio data, A function of reproducing and outputting an audio signal.
  図19に示されるように、ビデオプロセッサ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. 19, 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(図18)等から入力されたビデオ信号を取得し、デジタル画像データに変換する。第1画像拡大縮小部1402は、画像データに対してフォーマット変換や画像の拡大縮小処理等を行う。第2画像拡大縮小部1403は、画像データに対して、ビデオ出力処理部1404を介して出力する先でのフォーマットに応じて画像の拡大縮小処理を行ったり、第1画像拡大縮小部1402と同様のフォーマット変換や画像の拡大縮小処理等を行ったりする。ビデオ出力処理部1404は、画像データに対して、フォーマット変換やアナログ信号への変換等を行って、再生されたビデオ信号として例えばコネクティビティ1321(図18)等に出力する。 The video input processing unit 1401 acquires a video signal input from, for example, the connectivity 1321 (FIG. 18) 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. 18).
  フレームメモリ1405は、ビデオ入力処理部1401、第1画像拡大縮小部1402、第2画像拡大縮小部1403、ビデオ出力処理部1404、およびエンコード・デコードエンジン1407によって共用される画像データ用のメモリである。フレームメモリ1405は、例えばDRAM等の半導体メモリとして実現される。 The frame memory 1405 is a memory for image data shared by the video input processing unit 1401, the first image scaling unit 1402, the second image scaling unit 1403, the video output processing unit 1404, and the encoding / decoding engine 1407. . The frame memory 1405 is realized as a semiconductor memory such as a DRAM, for example.
  メモリ制御部1406は、エンコード・デコードエンジン1407からの同期信号を受けて、アクセス管理テーブル1406Aに書き込まれたフレームメモリ1405へのアクセススケジュールに従ってフレームメモリ1405に対する書き込み・読み出しのアクセスを制御する。アクセス管理テーブル1406Aは、エンコード・デコードエンジン1407、第1画像拡大縮小部1402、第2画像拡大縮小部1403等で実行される処理に応じて、メモリ制御部1406により更新される。 The memory control unit 1406 receives the synchronization signal from the encoding / decoding engine 1407, and controls the writing / reading access to the frame memory 1405 according to the access schedule to the frame memory 1405 written in the access management table 1406A. The access management table 1406A is updated by the memory control unit 1406 in accordance with processing executed by the encoding / decoding engine 1407, the first image enlargement / reduction unit 1402, the second image enlargement / reduction unit 1403, and the like.
  エンコード・デコードエンジン1407は、画像データのエンコード処理、並びに、画像データが符号化されたデータであるビデオストリームのデコード処理を行う。例えば、エンコード・デコードエンジン1407は、フレームメモリ1405から読み出した画像データを符号化し、ビデオストリームとしてビデオESバッファ1408Aに順次書き込む。また、例えば、ビデオESバッファ1408Bからビデオストリームを順次読み出して復号し、画像データとしてフレームメモリ1405に順次書き込む。エンコード・デコードエンジン1407は、これらの符号化や復号において、フレームメモリ1405を作業領域として使用する。また、エンコード・デコードエンジン1407は、例えばマクロブロック毎の処理を開始するタイミングで、メモリ制御部1406に対して同期信号を出力する。 The encoding / decoding engine 1407 performs encoding processing of image data and decoding processing of a video stream that is data obtained by encoding the image data. For example, the encoding / decoding engine 1407 encodes the image data read from the frame memory 1405 and sequentially writes the data as a video stream in the video ES buffer 1408A. Further, for example, the video stream is sequentially read from the video ES buffer 1408B, decoded, and sequentially written in the frame memory 1405 as image data. The encoding / decoding engine 1407 uses the frame memory 1405 as a work area in the encoding and decoding. Also, the encoding / decoding engine 1407 outputs a synchronization signal to the memory control unit 1406, for example, at a timing at which processing for each macroblock is started.
  ビデオESバッファ1408Aは、エンコード・デコードエンジン1407によって生成されたビデオストリームをバッファリングして、多重化部(MUX)1412に供給する。ビデオESバッファ1408Bは、逆多重化部(DMUX)1413から供給されたビデオストリームをバッファリングして、エンコード・デコードエンジン1407に供給する。 The video ES buffer 1408A buffers the video stream generated by the encoding / decoding engine 1407 and supplies the buffered video stream to the multiplexing unit (MUX) 1412. The video ES buffer 1408B buffers the video stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered video stream to the encoding / decoding engine 1407.
  オーディオESバッファ1409Aは、オーディオエンコーダ1410によって生成されたオーディオストリームをバッファリングして、多重化部(MUX)1412に供給する。オーディオESバッファ1409Bは、逆多重化部(DMUX)1413から供給されたオーディオストリームをバッファリングして、オーディオデコーダ1411に供給する。 The audio ES buffer 1409A buffers the audio stream generated by the audio encoder 1410 and supplies the buffered audio stream to the multiplexing unit (MUX) 1412. The audio ES buffer 1409B buffers the audio stream supplied from the demultiplexer (DMUX) 1413 and supplies the buffered audio stream to the audio decoder 1411.
  オーディオエンコーダ1410は、例えばコネクティビティ1321(図18)等から入力されたオーディオ信号を例えばデジタル変換し、例えばMPEGオーディオ方式やAC3(AudioCode number 3)方式等の所定の方式で符号化する。オーディオエンコーダ1410は、オーディオ信号が符号化されたデータであるオーディオストリームをオーディオESバッファ1409Aに順次書き込む。オーディオデコーダ1411は、オーディオESバッファ1409Bから供給されたオーディオストリームを復号し、例えばアナログ信号への変換等を行って、再生されたオーディオ信号として例えばコネクティビティ1321(図18)等に供給する。 The audio encoder 1410 converts, for example, an audio signal input from the connectivity 1321 (FIG. 18), for example, into a digital format, and encodes the audio signal according to a predetermined method such as the MPEG audio method or the 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. 18).
  多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化する。この多重化の方法(すなわち、多重化により生成されるビットストリームのフォーマット)は任意である。また、この多重化の際に、多重化部(MUX)1412は、所定のヘッダ情報等をビットストリームに付加することもできる。つまり、多重化部(MUX)1412は、多重化によりストリームのフォーマットを変換することができる。例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、転送用のフォーマットのビットストリームであるトランスポートストリームに変換する。また、例えば、多重化部(MUX)1412は、ビデオストリームとオーディオストリームとを多重化することにより、記録用のファイルフォーマットのデータ(ファイルデータ)に変換する。 Multiplexer (MUX) 1412 multiplexes the video stream and the audio stream. The multiplexing method (that is, the format of the bit stream generated by multiplexing) is arbitrary. At the time of this multiplexing, the multiplexing unit (MUX) 1412 can also add predetermined header information or the like to the bit stream. That is, the multiplexing unit (MUX) 1412 can convert the stream format by multiplexing. For example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream to convert it into a transport stream that is a bit stream in a transfer format. Further, for example, the multiplexing unit (MUX) 1412 multiplexes the video stream and the audio stream, thereby converting the data into file format data (file data) for recording.
  逆多重化部(DMUX)1413は、多重化部(MUX)1412による多重化に対応する方法で、ビデオストリームとオーディオストリームとが多重化されたビットストリームを逆多重化する。つまり、逆多重化部(DMUX)1413は、ストリームバッファ1414から読み出されたビットストリームからビデオストリームとオーディオストリームとを抽出する(ビデオストリームとオーディオストリームとを分離する)。つまり、逆多重化部(DMUX)1413は、逆多重化によりストリームのフォーマットを変換(多重化部(MUX)1412による変換の逆変換)することができる。例えば、逆多重化部(DMUX)1413は、例えばコネクティビティ1321やブロードバンドモデム1333等(いずれも図18)から供給されたトランスポートストリームを、ストリームバッファ1414を介して取得し、逆多重化することにより、ビデオストリームとオーディオストリームとに変換することができる。また、例えば、逆多重化部(DMUX)1413は、例えばコネクティビティ1321により(図18)各種記録媒体から読み出されたファイルデータを、ストリームバッファ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 a transport stream supplied from, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG. 18) via the stream buffer 1414, and demultiplexes the transport stream. Can be converted into a video stream and an audio stream. Further, for example, the demultiplexer (DMUX) 1413 obtains the file data read from various recording media by the connectivity 1321 (FIG. 18) via the stream buffer 1414 and demultiplexes the file data, for example. It can be converted into a video stream and an audio stream.
  ストリームバッファ1414は、ビットストリームをバッファリングする。例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図18)等に供給する。 The stream buffer 1414 buffers the bit stream. For example, the stream buffer 1414 buffers the transport stream supplied from the multiplexing unit (MUX) 1412 and, for example, at the predetermined timing or based on a request from the outside, for example, the connectivity 1321 or the broadband modem 1333 (whichever Are also supplied to FIG.
  また、例えば、ストリームバッファ1414は、多重化部(MUX)1412から供給されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、例えばコネクティビティ1321(図18)等に供給し、各種記録媒体に記録させる。 Further, for example, the stream buffer 1414 buffers the file data supplied from the multiplexing unit (MUX) 1412 and, for example, connectivity 1321 (FIG. 18) 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等(いずれも図18)を介して取得したトランスポートストリームをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(DMUX)1413に供給する。 Further, the stream buffer 1414 buffers the transport stream acquired through, for example, the connectivity 1321 and the broadband modem 1333 (both in FIG. 18), 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(図18)等において各種記録媒体から読み出されたファイルデータをバッファリングし、所定のタイミングにおいて、若しくは外部からの要求等に基づいて、逆多重化部(DMUX)1413に供給する。 In addition, the stream buffer 1414 buffers file data read from various recording media in, for example, the connectivity 1321 (FIG. 18), and the demultiplexing unit at a predetermined timing or based on an external request or the like. (DMUX) 1413.
  次に、このような構成のビデオプロセッサ1332の動作の例について説明する。例えば、コネクティビティ1321(図18)等からビデオプロセッサ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. 18) 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 in 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(図18)等からビデオプロセッサ1332に入力されたオーディオ信号は、オーディオエンコーダ1410によって符号化され、オーディオストリームとして、オーディオESバッファ1409Aに書き込まれる。 In addition, an audio signal input to the video processor 1332 from the connectivity 1321 (FIG. 18) 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(いずれも図18)等を介して外部ネットワークに出力される。また、多重化部(MUX)1412により生成されたファイルデータは、ストリームバッファ1414にバッファされた後、例えばコネクティビティ1321(図18)等に出力され、各種記録媒体に記録される。 The video stream of the video ES buffer 1408A and the audio stream of the audio ES buffer 1409A are read and multiplexed by the multiplexing unit (MUX) 1412 and converted into a transport stream or file data. The transport stream generated by the multiplexing unit (MUX) 1412 is buffered in the stream buffer 1414 and then output to the external network via, for example, the connectivity 1321 and the broadband modem 1333 (both of which are shown in FIG. 18). Further, 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. 18) and recorded on various recording media.
  また、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図18)等を介して外部ネットワークからビデオプロセッサ1332に入力されたトランスポートストリームは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。また、例えばコネクティビティ1321(図18)等において各種記録媒体から読み出され、ビデオプロセッサ1332に入力されたファイルデータは、ストリームバッファ1414にバッファされた後、逆多重化部(DMUX)1413により逆多重化される。つまり、ビデオプロセッサ1332に入力されたトランスポートストリームまたはファイルデータは、逆多重化部(DMUX)1413によりビデオストリームとオーディオストリームとに分離される。 Further, for example, the transport stream input from the external network to the video processor 1332 through the connectivity 1321 or the broadband modem 1333 (both in FIG. 18) 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. 18) and input to the video processor 1332 is buffered in the stream buffer 1414 and then demultiplexed by the demultiplexer (DMUX) 1413. It becomes. That is, the transport stream or file data input to the video processor 1332 is separated into a video stream and an audio stream by the demultiplexer (DMUX) 1413.
  オーディオストリームは、オーディオESバッファ1409Bを介してオーディオデコーダ1411に供給され、復号されてオーディオ信号が再生される。また、ビデオストリームは、ビデオESバッファ1408Bに書き込まれた後、エンコード・デコードエンジン1407により順次読み出されて復号されてフレームメモリ1405に書き込まれる。復号された画像データは、第2画像拡大縮小部1403によって拡大縮小処理されて、フレームメモリ1405に書き込まれる。そして、復号された画像データは、ビデオ出力処理部1404に読み出されて、4:2:2Y/Cb/Cr方式等の所定の方式にフォーマット変換され、さらにアナログ信号に変換されて、ビデオ信号が再生出力される。 The audio stream is supplied to the audio decoder 1411 via the audio ES buffer 1409B and decoded to reproduce the audio signal. The video stream is written to the video ES buffer 1408B, and then sequentially read and decoded by the encoding / decoding engine 1407, and written to the frame memory 1405. The decoded image data is enlarged / reduced by the second image enlargement / reduction unit 1403 and written to the frame memory 1405. The decoded image data is read out to the video output processing unit 1404, format-converted to a predetermined system such as 4: 2: 2Y / Cb / Cr system, and further converted into an analog signal to be converted into a video signal. Is played out.
  このように構成されるビデオプロセッサ1332に本開示を適用する場合、エンコード・デコードエンジン1407に、上述した各実施形態に係る本開示を適用すればよい。つまり、例えば、エンコード・デコードエンジン1407が、第1乃至第3実施の形態に係る符号化装置や復号装置の機能を有するようにすればよい。このようにすることにより、ビデオプロセッサ1332は、図6乃至図13を参照して上述した効果と同様の効果を得ることができる。 場合 When the present disclosure is applied to the video processor 1332 configured as described above, the present disclosure according to each of the above-described embodiments may be applied to the encoding / decoding engine 1407. That is, for example, the encoding / decoding engine 1407 may have the functions of the encoding device and the decoding device according to the first to third embodiments. In this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS.
  なお、エンコード・デコードエンジン1407において、本開示(すなわち、上述した各実施形態に係る符号化装置や復号装置の機能)は、論理回路等のハードウエアにより実現するようにしてもよいし、組み込みプログラム等のソフトウエアにより実現するようにしてもよいし、それらの両方により実現するようにしてもよい。 Note that in the encoding / decoding engine 1407, the present disclosure (that is, the functions of the encoding device and the 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.
 (ビデオプロセッサの他の構成例)
  図20は、本開示を適用したビデオプロセッサ1332(図18)の概略的な構成の他の例を示している。図20の例の場合、ビデオプロセッサ1332は、ビデオデータを所定の方式で符号化・復号する機能を有する。
(Another configuration example of the video processor)
FIG. 20 illustrates another example of a schematic configuration of the video processor 1332 (FIG. 18) to which the present disclosure is applied. In the example of FIG. 20, the video processor 1332 has a function of encoding and decoding video data by a predetermined method.
  より具体的には、図20に示されるように、ビデオプロセッサ1332は、制御部1511、ディスプレイインタフェース1512、ディスプレイエンジン1513、画像処理エンジン1514、および内部メモリ1515を有する。また、ビデオプロセッサ1332は、コーデックエンジン1516、メモリインタフェース1517、多重化・逆多重化部(MUX DMUX)1518、ネットワークインタフェース1519、およびビデオインタフェース1520を有する。 More specifically, as shown in FIG. 20, the video processor 1332 includes a control unit 1511, a display interface 1512, a display engine 1513, an image processing engine 1514, and an internal memory 1515. The video processor 1332 includes a codec engine 1516, a memory interface 1517, a multiplexing / demultiplexing unit (MUX DMUX) 1518, a network interface 1519, and a video interface 1520.
  制御部1511は、ディスプレイインタフェース1512、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516等、ビデオプロセッサ1332内の各処理部の動作を制御する。 The eyelid control unit 1511 controls the operation of each processing unit in the video processor 1332 such as the display interface 1512, the display engine 1513, the image processing engine 1514, and the codec engine 1516.
  図20に示されるように、制御部1511は、例えば、メインCPU1531、サブCPU1532、およびシステムコントローラ1533を有する。メインCPU1531は、ビデオプロセッサ1332内の各処理部の動作を制御するためのプログラム等を実行する。メインCPU1531は、そのプログラム等に従って制御信号を生成し、各処理部に供給する(つまり、各処理部の動作を制御する)。サブCPU1532は、メインCPU1531の補助的な役割を果たす。例えば、サブCPU1532は、メインCPU1531が実行するプログラム等の子プロセスやサブルーチン等を実行する。システムコントローラ1533は、メインCPU1531およびサブCPU1532が実行するプログラムを指定する等、メインCPU1531およびサブCPU1532の動作を制御する。 As illustrated in FIG. 20, 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(図18)等に出力する。例えば、ディスプレイインタフェース1512は、デジタルデータの画像データをアナログ信号に変換し、再生されたビデオ信号として、またはデジタルデータの画像データのまま、コネクティビティ1321(図18)のモニタ装置等に出力する。 The display interface 1512 outputs image data to, for example, the connectivity 1321 (FIG. 18) or the like under the control of the control unit 1511. For example, the display interface 1512 converts image data of digital data into an analog signal, and outputs it to a monitor device of the connectivity 1321 (FIG. 18) 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 eyelid image processing engine 1514 performs predetermined image processing such as filter processing for improving image quality on the image data under the control of the control unit 1511.
  内部メモリ1515は、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516により共用される、ビデオプロセッサ1332の内部に設けられたメモリである。内部メモリ1515は、例えば、ディスプレイエンジン1513、画像処理エンジン1514、およびコーデックエンジン1516の間で行われるデータの授受に利用される。例えば、内部メモリ1515は、ディスプレイエンジン1513、画像処理エンジン1514、またはコーデックエンジン1516から供給されるデータを格納し、必要に応じて(例えば、要求に応じて)、そのデータを、ディスプレイエンジン1513、画像処理エンジン1514、またはコーデックエンジン1516に供給する。この内部メモリ1515は、どのような記憶デバイスにより実現するようにしてもよいが、一般的にブロック単位の画像データやパラメータ等といった小容量のデータの格納に利用することが多いので、例えばSRAM(Static Random Access Memory)のような比較的(例えば外部メモリ1312と比較して)小容量だが応答速度が高速な半導体メモリにより実現するのが望ましい。 The internal memory 1515 is a memory provided inside the video processor 1332 that is shared by the display engine 1513, the image processing engine 1514, and the codec engine 1516. The internal memory 1515 is used, for example, for data exchange performed between the display engine 1513, the image processing engine 1514, and the codec engine 1516. For example, the internal memory 1515 stores data supplied from the display engine 1513, the image processing engine 1514, or the codec engine 1516, and stores the data as needed (eg, upon request). This is supplied to the image processing engine 1514 or the codec engine 1516. The internal memory 1515 may be realized by any storage device, but is generally used for storing a small amount of data such as image data or parameters in units of blocks. It is desirable to realize a semiconductor memory having a relatively small capacity but a high response speed (for example, as compared with the external memory 1312) such as “Static Random Access Memory”.
  コーデックエンジン1516は、画像データの符号化や復号に関する処理を行う。このコーデックエンジン1516が対応する符号化・復号の方式は任意であり、その数は1つであってもよいし、複数であってもよい。例えば、コーデックエンジン1516は、複数の符号化・復号方式のコーデック機能を備え、その中から選択されたもので画像データの符号化若しくは符号化データの復号を行うようにしてもよい。 The codec engine 1516 performs processing related to encoding and decoding of image data. The encoding / decoding scheme supported by the codec engine 1516 is arbitrary, and the number thereof may be one or plural. For example, the codec engine 1516 may be provided with codec functions of a plurality of encoding / decoding schemes, and may be configured to perform encoding of image data or decoding of encoded data using one selected from them.
  図20に示される例において、コーデックエンジン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 illustrated in FIG. 20, 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/H.264方式で符号化したり復号したりする機能ブロックである。HEVC/H.2651543は、画像データをHEVCで符号化したり復号したりする機能ブロックである。HEVC/H.265(Scalable)1544は、画像データをHEVCでスケーラブル符号化したりスケーラブル復号したりする機能ブロックである。HEVC/H.265(Multi-view)1545は、画像データをHEVCで多視点符号化したり多視点復号したりする機能ブロックである。 “MPEG-2” Video 1541 is a functional block that encodes and decodes image data in the MPEG-2 format. AVC / H.2641542 is a functional block that encodes and decodes image data in the AVC / H.264 format. HEVC / H.2651543 is a functional block that encodes and decodes image data using HEVC. HEVC / H.265 (Scalable) 1544 is a functional block that performs scalable encoding and scalable decoding of image data using HEVC. HEVC / H.265 (Multi-view) 1545 is a functional block that multi-view encodes or multi-view decodes image data using HEVC.
  MPEG-DASH1551は、画像データをMPEG-DASH(MPEG-Dynamic Adaptive Streaming over HTTP)方式で送受信する機能ブロックである。MPEG-DASHは、HTTP(HyperText Transfer Protocol)を使ってビデオのストリーミングを行う技術であり、予め用意された解像度等が互いに異なる複数の符号化データの中から適切なものをセグメント単位で選択し伝送することを特徴の1つとする。MPEG-DASH1551は、規格に準拠するストリームの生成やそのストリームの伝送制御等を行い、画像データの符号化・復号については、上述したMPEG-2 Video1541乃至HEVC/H.265(Multi-view)1545を利用する。 “MPEG-DASH 1551” is a functional block that transmits and receives image data in the MPEG-DASH (MPEG-Dynamic Adaptive Streaming over HTTP) method. MPEG-DASH is a technology for streaming video using HTTP (HyperText Transfer Protocol), and selects and transmits appropriate data from multiple encoded data with different resolutions prepared in advance in segments. This is one of the features. MPEG-DASH 1551 generates a stream compliant with the standard, controls transmission of the stream, and the like. For encoding / decoding of image data, MPEG-2 Video 1541 to HEVC / H.265 (Multi-view) 1545 described above are used. Is used.
  メモリインタフェース1517は、外部メモリ1312用のインタフェースである。画像処理エンジン1514やコーデックエンジン1516から供給されるデータは、メモリインタフェース1517を介して外部メモリ1312に供給される。また、外部メモリ1312から読み出されたデータは、メモリインタフェース1517を介してビデオプロセッサ1332(画像処理エンジン1514若しくはコーデックエンジン1516)に供給される。 The memory interface 1517 is an interface for the external memory 1312. Data supplied from the image processing engine 1514 or the codec engine 1516 is supplied to the external memory 1312 via the memory interface 1517. The data read from the external memory 1312 is supplied to the video processor 1332 (the image processing engine 1514 or the codec engine 1516) via the memory interface 1517.
  多重化・逆多重化部(MUX DMUX)1518は、符号化データのビットストリーム、画像データ、ビデオ信号等、画像に関する各種データの多重化や逆多重化を行う。この多重化・逆多重化の方法は任意である。例えば、多重化の際に、多重化・逆多重化部(MUX DMUX)1518は、複数のデータを1つにまとめるだけでなく、所定のヘッダ情報等をそのデータに付加することもできる。また、逆多重化の際に、多重化・逆多重化部(MUX DMUX)1518は、1つのデータを複数に分割するだけでなく、分割した各データに所定のヘッダ情報等を付加することもできる。つまり、多重化・逆多重化部(MUX DMUX)1518は、多重化・逆多重化によりデータのフォーマットを変換することができる。例えば、多重化・逆多重化部(MUX DMUX)1518は、ビットストリームを多重化することにより、転送用のフォーマットのビットストリームであるトランスポートストリームや、記録用のファイルフォーマットのデータ(ファイルデータ)に変換することができる。もちろん、逆多重化によりその逆変換も可能である。 A multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes and demultiplexes various data related to images such as a bit stream of encoded data, image data, and a video signal. This multiplexing / demultiplexing method is arbitrary. For example, at the time of multiplexing, the multiplexing / demultiplexing unit (MUX DMUX) 1518 can not only combine a plurality of data into one but also add predetermined header information or the like to the data. Further, in the demultiplexing, the multiplexing / demultiplexing unit (MUX DMUX) 1518 not only divides one data into a plurality of data but also adds predetermined header information or the like to each divided data. it can. That is, the multiplexing / demultiplexing unit (MUX DMUX) 1518 can convert the data format by multiplexing / demultiplexing. For example, the multiplexing / demultiplexing unit (MUX DMUX) 1518 multiplexes the bitstream, thereby transporting the transport stream, which is a bit stream in a transfer format, or data in a file format for recording (file data). Can be converted to Of course, the inverse transformation is also possible by demultiplexing.
  ネットワークインタフェース1519は、例えばブロードバンドモデム1333やコネクティビティ1321(いずれも図18)等向けのインタフェースである。ビデオインタフェース1520は、例えばコネクティビティ1321やカメラ1322(いずれも図18)等向けのインタフェースである。 The network interface 1519 is an interface for a broadband modem 1333, connectivity 1321 (both in FIG. 18), and the like. The video interface 1520 is an interface for, for example, the connectivity 1321 and the camera 1322 (both are FIG. 18).
  次に、このようなビデオプロセッサ1332の動作の例について説明する。例えば、例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図18)等を介して外部ネットワークからトランスポートストリームを受信すると、そのトランスポートストリームは、ネットワークインタフェース1519を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、例えば、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図18)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてファイルデータに変換され、ビデオインタフェース1520を介して例えばコネクティビティ1321(図18)等に出力され、各種記録媒体に記録される。 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, for example, the connectivity 1321 or the broadband modem 1333 (both of which are shown in FIG. 18), the transport stream is transmitted to the multiplexing / demultiplexing unit (MUX) via the network interface 1519. DMUX) 1518 is 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. 18), 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. 18) via the interface 1520 and recorded on various recording media.
  さらに、例えば、コネクティビティ1321(図18)等により図示せぬ記録媒体から読み出された、画像データが符号化された符号化データのファイルデータは、ビデオインタフェース1520を介して多重化・逆多重化部(MUX DMUX)1518に供給されて逆多重化され、コーデックエンジン1516により復号される。コーデックエンジン1516の復号により得られた画像データは、画像処理エンジン1514により所定の画像処理が施され、ディスプレイエンジン1513により所定の変換が行われ、ディスプレイインタフェース1512を介して例えばコネクティビティ1321(図18)等に供給され、その画像がモニタに表示される。また、例えば、コーデックエンジン1516の復号により得られた画像データは、コーデックエンジン1516により再符号化され、多重化・逆多重化部(MUX DMUX)1518により多重化されてトランスポートストリームに変換され、ネットワークインタフェース1519を介して例えばコネクティビティ1321やブロードバンドモデム1333(いずれも図18)等に供給され図示せぬ他の装置に伝送される。 Further, for example, encoded data file data obtained by encoding image data read from a recording medium (not shown) by the connectivity 1321 (FIG. 18) 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 via the display interface 1512 (FIG. 18). 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. 18) 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 and the external memory 1312. The power management module 1313 controls power supply to the control unit 1511, for example.
  このように構成されるビデオプロセッサ1332に本開示を適用する場合、コーデックエンジン1516に、上述した各実施形態に係る本開示を適用すればよい。つまり、例えば、コーデックエンジン1516が、第1乃至第3実施の形態に係る符号化装置や復号装置を実現する機能ブロックを有するようにすればよい。コーデックエンジン1516が、このようにすることにより、ビデオプロセッサ1332は、図6乃至図13を参照して上述した効果と同様の効果を得ることができる。 場合 When the present disclosure is applied to the video processor 1332 configured as described above, the present disclosure according to each embodiment described above may be applied to the codec engine 1516. That is, for example, the codec engine 1516 may have a functional block that realizes the encoding device and the decoding device according to the first to third embodiments. With the codec engine 1516 doing in this way, the video processor 1332 can obtain the same effects as those described above with reference to FIGS. 6 to 13.
  なお、コーデックエンジン1516において、本開示(すなわち、上述した各実施形態に係る符号化装置や復号装置の機能)は、論理回路等のハードウエアにより実現するようにしてもよいし、組み込みプログラム等のソフトウエアにより実現するようにしてもよいし、それらの両方により実現するようにしてもよい。 Note that in the codec engine 1516, the present disclosure (that is, the functions of the encoding device and the decoding device according to each of the above-described embodiments) may be realized by hardware such as a logic circuit, an embedded program, or the like. It may be realized by software, 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(図14)、携帯電話機920(図15)、記録再生装置940(図16)、撮像装置960(図17)等に組み込むことができる。ビデオセット1300を組み込むことにより、その装置は、図6乃至図13を参照して上述した効果と同様の効果を得ることができる。
(Application example for 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. 14), the mobile phone 920 (FIG. 15), the recording / reproducing device 940 (FIG. 16), the imaging device 960 (FIG. 17), 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の各構成の一部であっても、ビデオプロセッサ1332を含むものであれば、本開示を適用した構成として実施することができる。例えば、ビデオプロセッサ1332のみを本開示を適用したビデオプロセッサとして実施することができる。また、例えば、上述したように点線1341により示されるプロセッサやビデオモジュール1311等を本開示を適用したプロセッサやモジュール等として実施することができる。さらに、例えば、ビデオモジュール1311、外部メモリ1312、パワーマネージメントモジュール1313、およびフロントエンドモジュール1314を組み合わせ、本開示を適用したビデオユニット1361として実施することもできる。いずれの構成の場合であっても、図6乃至図13を参照して上述した効果と同様の効果を得ることができる。 Note that even a part of each configuration of the video set 1300 described above can be implemented as a configuration to which the present disclosure is applied as long as it includes the video processor 1332. For example, only the video processor 1332 can be implemented as a video processor to which the present disclosure is applied. For example, as described above, the processor, the video module 1311, and the like indicated by the dotted line 1341 can be implemented as a processor, a module, or the like to which the present disclosure 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 disclosure is applied. In any case, the same effects as those described above with reference to FIGS. 6 to 13 can be obtained.
  つまり、ビデオプロセッサ1332を含むものであればどのような構成であっても、ビデオセット1300の場合と同様に、画像データを処理する各種装置に組み込むことができる。例えば、ビデオプロセッサ1332、点線1341により示されるプロセッサ、ビデオモジュール1311、または、ビデオユニット1361を、テレビジョン装置900(図14)、携帯電話機920(図15)、記録再生装置940(図16)、撮像装置960(図17)等に組み込むことができる。そして、本開示を適用したいずれかの構成を組み込むことにより、その装置は、ビデオセット1300の場合と同様に、図6乃至図13を参照して上述した効果と同様の効果を得ることができる。 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. 14), a mobile phone 920 (FIG. 15), a recording / playback device 940 (FIG. 16), It can be incorporated in an imaging device 960 (FIG. 17) or the like. Then, by incorporating any configuration to which the present disclosure is applied, the apparatus can obtain the same effects as those described above with reference to FIGS. 6 to 13 as in the case of the video set 1300. .
 なお、本明細書では、各種情報が、符号化データに多重化されて、符号化側から復号側へ伝送される例について説明した。しかしながら、これら情報を伝送する手法はかかる例に限定されない。例えば、これら情報は、符号化データに多重化されることなく、符号化データと関連付けられた別個のデータとして伝送され又は記録されてもよい。ここで、「関連付ける」という用語は、ビットストリームに含まれる画像(スライスやブロックなど、画像の一部であってもよい)と当該画像に対応する情報とを復号時にリンクさせ得るようにすることを意味する。即ち、情報は、符号化データとは別の伝送路上で伝送されてもよい。また、情報は、符号化データとは別の記録媒体(又は同一の記録媒体の別の記録エリア)に記録されてもよい。さらに、情報と符号化データとは、例えば、複数フレーム、1フレーム、又はフレーム内の一部分などの任意の単位で互いに関連付けられてよい。 In the present specification, an example in which various types of information are multiplexed into encoded data 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 data without being multiplexed with the encoded data. 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, the information may be transmitted on a transmission path different from the encoded data. The information may be recorded on a recording medium different from the encoded data (or another recording area of the same recording medium). Furthermore, the information and the encoded data may be associated with each other in an arbitrary unit such as a plurality of frames, one frame, or a part of the frame.
 本開示は、MPEG,H.26x等のように、離散コサイン変換等の直交変換と動き補償によって圧縮されたビットストリームを、衛星放送、ケーブルTV、インターネット、携帯電話などのネットワークメディアを介して受信する際、または光、磁気ディスク、フラッシュメモリのような記憶メディア上で処理する際に用いられる符号化装置や復号装置に適用することができる。 This disclosure receives bitstreams compressed by orthogonal transform such as discrete cosine transform and motion compensation, such as MPEG, H.26x, etc., via network media such as satellite broadcasting, cable TV, the Internet, and mobile phones. The present invention can be applied to an encoding device or a decoding device that is used when processing on a storage medium such as an optical, magnetic disk, or flash memory.
 また、本明細書において、システムとは、複数の構成要素(装置、モジュール(部品)等)の集合を意味し、すべての構成要素が同一筐体中にあるか否かは問わない。したがって、別個の筐体に収納され、ネットワークを介して接続されている複数の装置、及び、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. .
 さらに、本明細書に記載された効果はあくまで例示であって限定されるものではなく、他の効果があってもよい。 Furthermore, the effects described in the present specification are merely examples and are not limited, and may have other effects.
 また、本開示の実施の形態は、上述した実施の形態に限定されるものではなく、本開示の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the present disclosure.
 例えば、本開示は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。 For example, the present disclosure can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is processed jointly.
 また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
 さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。 Further, when a plurality of processes are included in one step, the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
 本開示は、以下のような構成もとることができる。 This disclosure can have the following configurations.
 (1)
 画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報を、前記画像の符号化データに設定する設定部
 を備える画像処理装置。
 (2)
 前記画像は、1以上のスライスに分割されて符号化され、
 前記設定部は、前記スライスが、前記画面内の相関性を利用した動き予測を用いて符号化された場合、そのスライスの前記符号化データに付加されるスライスヘッダに前記予測情報を設定する
 ように構成された
 前記(1)に記載の画像処理装置。
 (3)
 前記予測情報は、Intra BC予測またはイントラ予測を用いて画像を符号化したことを表す情報である
 ように構成された
 前記(1)または(2)に記載の画像処理装置。
 (4)
 画像処理装置が、
 画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報を、前記画像の符号化データに設定する設定ステップ
 を含む画像処理方法。
 (5)
 画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データを復号する復号部
 を備える画像処理装置。
 (6)
 前記画像は、1以上のスライスに分割されて符号化され、
 前記予測情報は、前記スライスが、前記画面内の相関性を利用した動き予測を用いて符号化された場合、そのスライスの前記符号化データに付加されるスライスヘッダに設定される
 ように構成された
 前記(5)に記載の画像処理装置。
 (7)
 前記予測情報は、Intra BC予測またはイントラ予測を用いて画像を符号化したことを表す情報である
 ように構成された
 前記(5)または(6)に記載の画像処理装置。
 (8)
 画像処理装置が、
 画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データを復号する復号ステップ
 を含む画像処理方法。
(1)
An image processing apparatus comprising: a setting unit configured to set prediction information indicating that an image has been encoded using motion prediction using correlation in a screen in encoded data of the image.
(2)
The image is divided into one or more slices and encoded;
The setting unit sets the prediction information in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen. The image processing apparatus according to (1), configured as described above.
(3)
The image processing apparatus according to (1) or (2), wherein the prediction information is information indicating that an image is encoded using Intra BC prediction or Intra prediction.
(4)
The image processing device
An image processing method comprising: a setting step of setting prediction information indicating that an image has been encoded using motion prediction using correlation within a screen in encoded data of the image.
(5)
An image processing apparatus comprising: a decoding unit that decodes encoded data of an image based on prediction information indicating that the image is encoded using motion prediction using correlation in a screen.
(6)
The image is divided into one or more slices and encoded;
The prediction information is configured to be set in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen. The image processing apparatus according to (5).
(7)
The image processing apparatus according to (5) or (6), wherein the prediction information is information indicating that an image is encoded using Intra BC prediction or Intra prediction.
(8)
The image processing device
An image processing method comprising: a decoding step of decoding encoded data of the image based on prediction information indicating that the image is encoded using motion prediction using correlation within a screen.
 70 符号化装置, 78 生成部, 130 復号装置, 135 加算部 70 Encoder, 78 Generator, 130 Decoder, 135 Adder

Claims (8)

  1.  画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報を、前記画像の符号化データに設定する設定部
     を備える画像処理装置。
    An image processing apparatus comprising: a setting unit configured to set prediction information indicating that an image has been encoded using motion prediction using correlation in a screen in encoded data of the image.
  2.  前記画像は、1以上のスライスに分割されて符号化され、
     前記設定部は、前記スライスが、前記画面内の相関性を利用した動き予測を用いて符号化された場合、そのスライスの前記符号化データに付加されるスライスヘッダに前記予測情報を設定する
     ように構成された
     請求項1に記載の画像処理装置。
    The image is divided into one or more slices and encoded;
    The setting unit sets the prediction information in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen. The image processing apparatus according to claim 1, which is configured as follows.
  3.  前記予測情報は、Intra BC予測またはイントラ予測を用いて画像を符号化したことを表す情報である
     ように構成された
     請求項1に記載の画像処理装置。
    The image processing apparatus according to claim 1, wherein the prediction information is information indicating that an image is encoded using Intra BC prediction or Intra prediction.
  4.  画像処理装置が、
     画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報を、前記画像の符号化データに設定する設定ステップ
     を含む画像処理方法。
    The image processing device
    An image processing method comprising: a setting step of setting prediction information indicating that an image has been encoded using motion prediction using correlation within a screen in encoded data of the image.
  5.  画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データを復号する復号部
     を備える画像処理装置。
    An image processing apparatus comprising: a decoding unit that decodes encoded data of an image based on prediction information indicating that the image is encoded using motion prediction using correlation in a screen.
  6.  前記画像は、1以上のスライスに分割されて符号化され、
     前記予測情報は、前記スライスが、前記画面内の相関性を利用した動き予測を用いて符号化された場合、そのスライスの前記符号化データに付加されるスライスヘッダに設定される
     ように構成された
     請求項5に記載の画像処理装置。
    The image is divided into one or more slices and encoded;
    The prediction information is configured to be set in a slice header added to the encoded data of the slice when the slice is encoded using motion prediction using correlation in the screen. The image processing apparatus according to claim 5.
  7.  前記予測情報は、Intra BC予測またはイントラ予測を用いて画像を符号化したことを表す情報である
     ように構成された
     請求項5に記載の画像処理装置。
    The image processing apparatus according to claim 5, wherein the prediction information is information representing that an image is encoded using Intra BC prediction or Intra prediction.
  8.  画像処理装置が、
     画面内の相関性を利用した動き予測を用いて画像を符号化したことを表す予測情報に基づいて、前記画像の符号化データを復号する復号ステップ
     を含む画像処理方法。
    The image processing device
    An image processing method comprising: a decoding step of decoding encoded data of the image based on prediction information indicating that the image is encoded using motion prediction using correlation within a screen.
PCT/JP2016/065421 2015-06-08 2016-05-25 Image processing apparatus and image processing method WO2016199574A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015-115419 2015-06-08
JP2015115419 2015-06-08

Publications (1)

Publication Number Publication Date
WO2016199574A1 true WO2016199574A1 (en) 2016-12-15

Family

ID=57503322

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2016/065421 WO2016199574A1 (en) 2015-06-08 2016-05-25 Image processing apparatus and image processing method

Country Status (1)

Country Link
WO (1) WO2016199574A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184934A1 (en) * 2018-03-30 2019-10-03 杭州海康威视数字技术股份有限公司 Intra prediction method and device for chroma

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
LIM, WOONG ET AL.: "Non-CE2 : Slice-level Intra block copy enabling", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP3 AND ISO/IEC JTC1/SC29/WG11 19TH MEETING, 17 October 2014 (2014-10-17), Strasbourg, FR *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019184934A1 (en) * 2018-03-30 2019-10-03 杭州海康威视数字技术股份有限公司 Intra prediction method and device for chroma

Similar Documents

Publication Publication Date Title
US11627309B2 (en) Image encoding device and method, and image decoding device and method
US11546594B2 (en) Decoding device, decoding method, encoding device, and encoding method
US20210218983A1 (en) Image processing apparatus and image processing method
JP6711353B2 (en) Image processing apparatus and image processing method
US9973784B2 (en) Image processing device and method
WO2015137145A1 (en) Image coding device and method, and image decoding device and method
WO2015053116A1 (en) Decoding device, decoding method, encoding device, and encoding method
WO2015098561A1 (en) Decoding device, decoding method, coding device, and coding method
US10110916B2 (en) Encoding device and encoding method
KR102197557B1 (en) Image processing device and method
KR102338669B1 (en) Image processing apparatus and method, and recording medium
WO2016199574A1 (en) Image processing apparatus and image processing method
JP6477930B2 (en) Encoding apparatus and encoding method
US11330300B2 (en) Encoding device and encoding method, and decoding device and decoding method
US20160286218A1 (en) Image encoding device and method, and image decoding device and method
JP6402802B2 (en) Image processing apparatus and method, program, and recording medium
JP2015050738A (en) Decoder and decoding method, encoder and encoding method

Legal Events

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

Ref document number: 16807281

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP