WO2011129074A1 - Procédé de décodage d'image, procédé d'encodage d'image, dispositif de décodage d'image, dispositif d'encodage d'image, programme, et circuit intégré - Google Patents

Procédé de décodage d'image, procédé d'encodage d'image, dispositif de décodage d'image, dispositif d'encodage d'image, programme, et circuit intégré Download PDF

Info

Publication number
WO2011129074A1
WO2011129074A1 PCT/JP2011/002060 JP2011002060W WO2011129074A1 WO 2011129074 A1 WO2011129074 A1 WO 2011129074A1 JP 2011002060 W JP2011002060 W JP 2011002060W WO 2011129074 A1 WO2011129074 A1 WO 2011129074A1
Authority
WO
WIPO (PCT)
Prior art keywords
target block
block
pixel data
prediction
edge vector
Prior art date
Application number
PCT/JP2011/002060
Other languages
English (en)
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 WO2011129074A1 publication Critical patent/WO2011129074A1/fr

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/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • H04N19/895Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder in combination with error concealment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder

Definitions

  • the present invention relates to an image encoding method for compressing moving image data, an image decoding method for decoding encoded moving image data, and an apparatus thereof, and in particular, an image encoding method and image decoding for realizing high encoding efficiency. It relates to methods and devices thereof.
  • standardization of compression technology is also important for interoperating compressed image data.
  • image compression technology for example, H.264 of ITU-T (International Telecommunication Union, Telecommunication Standardization Division). 261, H.H. H.263, ISO / IEC (International Electrotechnical Commission International Electrotechnical Commission) MPEG (Moving Picture Experts Group) -1, MPEG-2, MPEG-4, etc.
  • JVT Joint Video
  • H.264 MPEG-4AVC
  • the amount of information is compressed by performing various predictions and reducing the redundancy in the time direction and the spatial direction.
  • H. H.264 intra-screen prediction has eight predetermined prediction directions, but does not have sufficient prediction performance for sharp edges that do not completely match any of these directions.
  • Patent Document 1 discloses a method for generating a predicted image that enables further highly accurate in-plane prediction.
  • an edge vector search is performed in which a plurality of vectors are calculated from adjacent encoded blocks, the vector points to the target block, and the vector having the maximum size is detected as the edge vector of the target block.
  • a predicted image is generated from neighboring neighboring pixels in the direction of the searched edge vector.
  • the conventional vector intersection determination is performed, for example, by verifying the positional relationship between all the pixels constituting each side of the target block and the extension line of the vector.
  • this method means that the processing load increases dramatically as the size of the target block increases.
  • An object of the present invention has been made in view of the above-described problems, and an object thereof is to provide an image decoding method and an image encoding method that reduce the amount of processing related to edge vector search.
  • the image decoding method is a method for decoding an encoded stream for each block. Specifically, the prediction step of generating the pixel data of the prediction block that predicted the target block, and the pixel data of the prediction block are added to the residual pixel data of the target block acquired from the encoded stream, A decoding step of generating a decoding block.
  • the prediction step uses an already decoded pixel data to detect an edge vector existing in an area around the target block, and determines whether the edge vector intersects the target block And a prediction block generation step of generating pixel data of the prediction block using the edge vector determined to cross the target block.
  • the intersection determination step two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • intersection determination step two vertices other than the vertex farthest from the start position of the edge vector are selected from the vertices constituting the target block, and the edge vector intersects the target block. It may be determined whether or not.
  • intersection determination can be performed more efficiently.
  • the coordinates of the selected two vertices are (x1, y1), (x2, y2) in the two-dimensional coordinate system having the origin of the edge vector as the origin, and an extension line of the edge vector If the signs of the calculation results of (i) y1 ⁇ dx ⁇ x1 ⁇ dy and (ii) y1 ⁇ dx ⁇ x1 ⁇ dy are different, the edge vector intersects the target block. You may judge.
  • intersection determination can be performed without using division. As a result, the processing load related to the intersection determination can be further reduced.
  • intersection determination step two points positioned inside the target block by a predetermined amount from the two selected vertices are one side and the other side of the region divided by the extension line of the edge vector. And the edge vector may be determined to intersect the target block.
  • the “predetermined amount” is typically 0.5 pixels.
  • an edge vector is detected in the upper area of the target block, and when no edge vector exists in the upper area, the edge vector is detected in the left area of the target block. Also good.
  • the pixel located above the target block is generally decoded before the pixel located on the left side of the target block. Therefore, the processing can be made more efficient by detecting edge vectors in order from the area above the target block.
  • the image encoding method is a method for encoding an image for each block. Specifically, a prediction step of generating pixel data of a prediction block that predicted the target block, and encoding of residual pixel data obtained by subtracting the pixel data of the prediction block from the pixel data of the target block An encoding step for generating an encoded stream.
  • the prediction step includes an edge detection step of detecting an edge vector existing around the target block using pixel data that has already been encoded and decoded, and whether or not the edge vector intersects the target block An intersection determination step for determining whether or not, and a prediction block generation step for generating pixel data of the prediction block using the edge vector determined to intersect with the target block.
  • the intersection determination step two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • the image decoding apparatus decodes the encoded stream for each block. Specifically, by adding the pixel data of the prediction block to the prediction unit that generates pixel data of the prediction block that predicted the target block, and the residual pixel data of the target block acquired from the encoded stream, A decoding unit that generates a decoding block.
  • the prediction unit uses the already decoded pixel data to determine an edge detection unit that detects an edge vector existing in an area around the target block, and determines whether the edge vector intersects the target block And a prediction block generation unit that generates pixel data of the prediction block using the edge vector determined to cross the target block.
  • the intersection determination unit may be configured such that two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector. Then, it is determined that the edge vector intersects the target block.
  • the image encoding device encodes an image for each block. Specifically, a prediction unit that generates pixel data of a prediction block that predicted the target block, and encoding the residual pixel data obtained by subtracting the pixel data of the prediction block from the pixel data of the target block An encoding unit that generates an encoded stream.
  • the prediction unit uses an already encoded and decoded pixel data to detect an edge vector existing around the target block, and whether the edge vector intersects the target block And a prediction block generation unit that generates pixel data of the prediction block using the edge vector determined to cross the target block.
  • two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • a program causes a computer to decode an encoded stream for each block. Specifically, the prediction step of generating the pixel data of the prediction block that predicted the target block, and the pixel data of the prediction block are added to the residual pixel data of the target block acquired from the encoded stream, And causing the computer to execute a decoding step of generating a decoding block.
  • the prediction step uses an already decoded pixel data to detect an edge vector existing in an area around the target block, and determines whether the edge vector intersects the target block And a prediction block generation step of generating pixel data of the prediction block using the edge vector determined to cross the target block.
  • the intersection determination step two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • a program causes a computer to encode an image for each block. Specifically, a prediction step of generating pixel data of a prediction block that predicted the target block, and encoding of residual pixel data obtained by subtracting the pixel data of the prediction block from the pixel data of the target block And causing the computer to execute an encoding step for generating an encoded stream.
  • the prediction step includes an edge detection step of detecting an edge vector existing around the target block using pixel data that has already been encoded and decoded, and whether or not the edge vector intersects the target block An intersection determination step for determining whether or not, and a prediction block generation step for generating pixel data of the prediction block using the edge vector determined to intersect with the target block.
  • the intersection determination step two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • the integrated circuit decodes the encoded stream for each block. Specifically, by adding the pixel data of the prediction block to the prediction unit that generates pixel data of the prediction block that predicted the target block, and the residual pixel data of the target block acquired from the encoded stream, A decoding unit that generates a decoding block.
  • the prediction unit uses the already decoded pixel data to determine an edge detection unit that detects an edge vector existing in an area around the target block, and determines whether the edge vector intersects the target block And a prediction block generation unit that generates pixel data of the prediction block using the edge vector determined to cross the target block.
  • the intersection determination unit may be configured such that two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector. Then, it is determined that the edge vector intersects the target block.
  • the integrated circuit encodes an image for each block. Specifically, a prediction unit that generates pixel data of a prediction block that predicted the target block, and encoding the residual pixel data obtained by subtracting the pixel data of the prediction block from the pixel data of the target block An encoding unit that generates an encoded stream.
  • the prediction unit uses an already encoded and decoded pixel data to detect an edge vector existing around the target block, and whether the edge vector intersects the target block And a prediction block generation unit that generates pixel data of the prediction block using the edge vector determined to cross the target block.
  • two vertices selected from vertices constituting the target block are located separately on one side and the other side of the region divided by the extension line of the edge vector Then, it is determined that the edge vector intersects the target block.
  • the image encoding method and the image decoding method of the present invention it is possible to determine whether or not the vector points to the block with a small amount of processing.
  • FIG. 1A is a block diagram of an image coding apparatus according to the present embodiment.
  • FIG. 1B is a block diagram of the image decoding apparatus according to the present embodiment.
  • FIG. 1C is a block diagram of the in-plane prediction unit according to the present embodiment.
  • FIG. 2A is an operation flowchart of the image coding apparatus according to the present embodiment.
  • FIG. 2B is an operation flowchart of the image decoding apparatus according to the present embodiment.
  • FIG. 3 is an operation flowchart of vector crossing determination according to the present embodiment.
  • FIG. 4A is a diagram illustrating a concept of a mutation amount and a calculation method in vector crossing determination.
  • FIG. 4B is a conceptual diagram of vector crossing determination avoiding division.
  • FIG. 5 is a diagram illustrating an example of determination points when the target block is rectangular.
  • FIG. 6 is a diagram illustrating a modification example of the determination point when the target block is rectangular.
  • FIG. 7A is a diagram illustrating an example of determination points when the edge vector is at the upper left of the target block.
  • FIG. 7B is a diagram illustrating an example of determination points when the edge vector is at the upper left of the target block.
  • FIG. 7C is a diagram illustrating an example of determination points when the edge vector is at the upper left of the target block.
  • FIG. 7D is a diagram illustrating an example of determination points when the edge vector is on the upper left of the target block.
  • FIG. 8A is a diagram illustrating an example of determination points when the edge vector is on the upper side of the target block.
  • FIG. 8B is a diagram illustrating an example of determination points when the edge vector is on the left side of the target block.
  • FIG. 8C is a diagram illustrating an example of determination points when the edge vector is at the upper left of the target block.
  • FIG. 9 is a diagram illustrating an example of the relationship between the position of the edge vector and the determination point.
  • FIG. 10 is a conceptual diagram showing the order of edge vector detection processing for facilitating parallelization.
  • FIG. 11 is an overall configuration diagram of a content supply system that implements a content distribution service.
  • FIG. 12 is an overall configuration diagram of a digital broadcasting system.
  • FIG. 13 is a block diagram illustrating a configuration example of a television.
  • FIG. 14 is a block diagram illustrating a configuration example of an information reproducing / recording unit that reads and writes information from and on a recording medium that is an optical disk.
  • FIG. 15 is a diagram illustrating a structure example of a recording medium that is an optical disk.
  • FIG. 16 is a diagram showing a structure of multiplexed data.
  • FIG. 17 is a diagram schematically showing how each stream is multiplexed in the multiplexed data.
  • FIG. 18 is a diagram showing in more detail how the video stream is stored in the PES packet sequence.
  • FIG. 19 is a diagram illustrating the structure of TS packets and source packets in multiplexed data.
  • FIG. 20 is a diagram illustrating a data structure of the PMT.
  • FIG. 21 is a diagram showing an internal configuration of multiplexed data information.
  • FIG. 22 shows the internal structure of stream attribute information.
  • FIG. 23 is a diagram illustrating steps for identifying video data.
  • FIG. 24 is a block diagram illustrating a configuration example of an integrated circuit that realizes the moving picture encoding method and the moving picture decoding method according to each embodiment.
  • FIG. 25 is a diagram illustrating a configuration for switching the driving frequency.
  • FIG. 26 is a diagram illustrating steps for identifying video data and switching between driving frequencies.
  • FIG. 27 is a diagram illustrating an example of a lookup table in which video data standards are associated with drive frequencies.
  • FIG. 28A is a diagram illustrating an example of a configuration for sharing a module of a signal processing unit
  • FIG. 27B is a diagram illustrating another example of a configuration for sharing a module of a signal processing unit. is there.
  • the image encoding device and the image decoding device When encoding and decoding image data and video data, the image encoding device and the image decoding device according to the present embodiment detect edges included in peripheral blocks located around the target block, and detect the detected edges.
  • An edge detection in-plane prediction mode using the direction as the intra prediction direction can be used. In the edge detection process, a vector that satisfies the condition that (i) the size of the vector is the largest and (ii) indicates the block is searched from one or more candidate vectors in the peripheral blocks. It is processing.
  • FIG. 1A is a block diagram showing a configuration of an image encoding device according to the present embodiment.
  • An image encoding apparatus 1000 illustrated in FIG. 1A includes an encoding processing unit 1100 and an encoding control unit 1200 that controls the encoding processing unit 1100.
  • the encoding processing unit 1100 generates an encoded stream by encoding a moving image for each block.
  • Such an encoding processing unit 1100 includes a subtractor 1101, an orthogonal transform unit 1102, a quantization unit 1103, an entropy encoding unit 1104, an inverse quantization unit 1105, an inverse orthogonal transform unit 1106, an adder 1107, and a deblocking filter 1108.
  • the subtractor 1101 generates a residual image (residual block) by subtracting a prediction image (prediction block) corresponding to the encoding target block acquired from the switch 1113 from the encoding target block included in the moving image. .
  • the orthogonal transform unit 1102 performs orthogonal transform such as discrete cosine transform on the residual image generated by the subtractor 1101, thereby transforming the residual image into a coefficient block composed of a plurality of frequency coefficients.
  • the quantization unit 1103 generates a quantized coefficient block by quantizing each frequency coefficient included in the coefficient block.
  • the entropy encoding unit 1104 entropy encodes the coefficient block quantized by the quantization unit 1103 and the motion vector detected by the motion detection unit 1112 or information indicating the prediction mode output from the in-plane prediction unit 1110.
  • An encoded stream is generated by (variable length encoding).
  • the inverse quantization unit 1105 performs inverse quantization on the coefficient block quantized by the quantization unit 1103.
  • the inverse orthogonal transform unit 1106 generates a decoded residual image (decoded residual block) by performing inverse orthogonal transform such as inverse discrete cosine transform on each frequency coefficient included in the inverse quantized coefficient block. To do.
  • the adder 1107 generates a local decoded image (decoded block) by adding the predicted image acquired from the switch 1113 and the decoded residual image generated by the inverse orthogonal transform unit 1106.
  • the deblocking filter 1108 removes block distortion of the local decoded image generated by the adder 1107 and stores the local decoded image in the memory 1109.
  • the in-plane prediction unit 1110 generates a predicted image by performing in-plane prediction on the current block using the locally decoded image generated by the adder 1107.
  • the motion detection unit 1112 detects a motion vector for the encoding target block included in the moving image, and outputs the detected motion vector to the motion compensation unit 1111 and the entropy encoding unit 1104.
  • the motion compensation unit 1111 refers to the image stored in the memory 1109 as a reference image, and performs motion compensation on the coding target block by using the motion vector detected by the motion detection unit 1112.
  • the motion compensation unit 1111 generates a prediction image for the encoding target block through such motion compensation.
  • the switch 1113 outputs the prediction image generated by the in-plane prediction unit 1110 to the subtractor 1101 and the adder 1107 when the current block is subjected to intra-frame prediction encoding.
  • the switch 1113 outputs the prediction image generated by the motion compensation unit 1111 to the subtractor 1101 and the adder 1107 when the encoding target block is subjected to inter-frame prediction encoding.
  • FIG. 1B is a block diagram showing a configuration of the image decoding apparatus according to the present embodiment.
  • the image decoding apparatus 2000 shown in FIG. 1B includes a decoding processing unit 2100 and a decoding control unit 2200 that controls the decoding processing unit 2100.
  • the decoding processing unit 2100 generates a decoded image by decoding the encoded stream for each block.
  • a decoding processing unit 2100 includes an entropy decoding unit 2101, an inverse quantization unit 2102, an inverse orthogonal transform unit 2103, an adder 2104, a deblocking filter 2105, a memory 2106, an in-plane prediction unit 2107, a motion compensation unit 2108, and A switch 2109 is provided.
  • the entropy decoding unit 2101 acquires an encoded stream and performs entropy decoding (variable length decoding) on the encoded stream.
  • the inverse quantization unit 2102 inversely quantizes the quantized coefficient block entropy decoded by the entropy decoding unit 2101.
  • the inverse orthogonal transform unit 2103 generates a decoded residual image by performing inverse orthogonal transform such as inverse discrete cosine transform on each frequency coefficient included in the inverse quantized coefficient block.
  • the adder 2104 generates a decoded image (decoded block) by adding the prediction image acquired from the switch 2109 and the decoded residual image generated by the inverse orthogonal transform unit 2103.
  • the deblocking filter 2105 removes block distortion of the decoded image generated by the adder 2104, stores the decoded image in the memory 2106, and outputs the decoded image.
  • the in-plane prediction unit 2107 generates a predicted image by performing in-plane prediction on the decoding target block using the decoded image generated by the adder 2104. In-plane prediction is performed based on information indicating the prediction mode included in the encoded stream, or based on the direction of an edge vector detected around the target block.
  • the motion compensation unit 2108 refers to the image stored in the memory 2106 as a reference image, and performs motion compensation on the decoding target block by using a motion vector generated by entropy decoding by the entropy decoding unit 2101. .
  • the motion compensation unit 2108 generates a prediction image for the decoding target block by such motion compensation.
  • the switch 2109 outputs the prediction image generated by the in-plane prediction unit 2107 to the adder 2104 when the decoding target block is subjected to the plane prediction encoding.
  • the switch 2109 outputs the prediction image generated by the motion compensation unit 2108 to the adder 2104 when the decoding target block is subjected to inter-frame prediction encoding.
  • the in-plane prediction unit 1110 illustrated in FIG. 1C includes an edge detection unit 111, an intersection determination unit 112, and a prediction block generation unit 113.
  • the edge detection unit 111 detects edge vectors (candidate vectors) existing in the area around the target block using the already decoded pixel data.
  • the intersection determination unit 112 determines whether or not the edge vector intersects the target block.
  • the prediction block generation unit 113 generates pixel data of the prediction block using the edge vector determined to intersect the target block.
  • the input image data is divided into blocks and encoded in units of blocks (S101).
  • an edge vector is detected from surrounding blocks (S102), a prediction image is generated in the direction of the edge vector (S103), and the prediction image is subtracted from the block.
  • a difference image is generated (S104), and the difference image is encoded (S105).
  • the encoding of the difference image typically indicates a process of frequency-converting and quantizing the difference image.
  • the encoded difference image is further subjected to variable length encoding and output as an encoded stream.
  • step S105 the difference image encoded in step S105 is decoded (S106) and added to the predicted image to generate a decoded image (S107). This block unit processing is repeated until all the pixels in the picture are encoded (S108).
  • one or more candidate vectors are extracted from the encoded pixels adjacent to the periphery of the encoding target block and evaluated (S110). Specifically, the candidate vector is calculated using an edge detection type filter such as a 3 ⁇ 3 pixel or 4 ⁇ 4 pixel Sobel filter or Prewitt filter.
  • an edge detection type filter such as a 3 ⁇ 3 pixel or 4 ⁇ 4 pixel Sobel filter or Prewitt filter.
  • step S111 it is determined whether or not the calculated candidate vector indicates the encoding target block (S111).
  • the processing in units of candidate vectors is repeated for one or more candidate vectors that can be derived from surrounding pixels (S109).
  • step S111 is referred to as block intersection determination.
  • FIG. 2B A detailed description of points common to FIG. 2A will be omitted, and differences will be mainly described.
  • the input encoded stream is decoded in units of blocks (S101). Specifically, an edge vector is calculated (S102), and a predicted image is generated (S103). Note that the processing in steps S101 to S103 is almost the same as that in FIG.
  • the image decoding apparatus 2000 generates a difference image by decoding the encoded stream (S204). Specifically, a difference image is generated by performing variable length decoding on the encoded stream, inverse quantization, and inverse frequency conversion. Then, the image decoding apparatus 2000 generates a decoded image by adding the difference image and the predicted image (S205).
  • a plurality of points used for the vector crossing determination process are determined first (S121). For example, N vertices are determined if the block to be encoded is an N-gon, that is, 4 points if a rectangular block, and 3 points if a triangular block. In the case of a circle, the vertex of a polygon approximating the circle is determined as a point used for intersection determination. Then, the following determination point unit processing is performed for the points and determination points used in the determined vector intersection determination processing (S122).
  • the amount of mutation which is an index corresponding to the distance between each determination point and the vector extension straight line VecLine obtained by extending the candidate vector Vec, is calculated (S123).
  • the amount of mutation is zero, it means that the determination point is on the candidate vector extension straight line VecLine. It is determined whether the amount of mutation is zero (S124). If it is zero, the result of the vector crossing determination process (S111) ends as true (S131).
  • step S124 the process branches depending on whether the process for each judgment point is the first or second or later (S125).
  • the sign of the amount of mutation is stored (S126), and the process proceeds to the next determination point process (S127).
  • S126 the sign of the amount of mutation
  • S127 the difference from the stored code is checked (S128). If the code calculated this time is different from the stored code, the result of the vector crossing determination process (S111) is set as true and the process ends (S130). On the other hand, if the currently calculated code and the stored code are the same in step S128, the process proceeds to the next determination point process (S127).
  • the amount of mutation calculated in step S123 will be described in detail with reference to FIGS. 4A and 4B.
  • An example of intersection determination between the candidate vector Vec and a line segment including the determination point P 0 and the determination point P 1 will be described.
  • the amount of mutation from the vector extension straight line VecLine at the determination points P 0 and P 1 is calculated.
  • the amount of mutation in the y direction is calculated.
  • 4A is a two-dimensional coordinate system in which the starting point position of the candidate vector Vec is the origin, the horizontal right direction is the positive direction of the x axis, and the downward vertical direction is the positive direction of the y axis.
  • the coordinates of the determination point P 0 are (x 0 , y 0 ), and the coordinates of the point P 0 ′ obtained by moving the determination point P 0 along the y-axis to the vector extension line VecLine are (x 0 , x 0 ⁇ Ey / Ex).
  • Ey is the y component of the vector
  • Ex is the x component of the vector. That is, Ex / Ey represents the slope of the vector extension straight line VecLine in the two-dimensional coordinate system.
  • the amount of variation in the y-axis direction between the decision point P 0 and the point P 0 ′ is (y 0 ⁇ x 0 ⁇ Ey / Ex).
  • the decision point P 0 and the point P 0 ′ are 2 It exists at the same position in the dimensional coordinate system. That is, the determination point P 0 is on the vector extension straight line VecLine.
  • this is positive it means that the determination point P 0 is on the positive side in the y-axis direction with respect to the vector extension straight line VecLine. Further, when this is negative, it means that the determination point P 0 is on the negative side of the vector extension straight line VecLine in the y-axis direction.
  • the coordinate determination point P 1 (x 1, y 1) and, the decision point P 1 a along the y-axis vector extending linearly VecLine on point P 1 is moved to The coordinates of 'are assumed to be (x 1 , x 1 ⁇ Ey / Ex). Then, the vector extension straight line VecLine depends on whether the displacement amount (y 1 ⁇ x 1 ⁇ Ey / Ex) in the y-axis direction of the determination point P 1 and the point P 1 ′ is a ternary value of positive, negative, or zero. positional relationship between the y-axis direction of the decision point P 1 with respect to be seen.
  • the variation amount at the decision point P 0 is positive and the variation amount at the decision point P 1 is negative, or the variation amount at the decision point P 0 is negative and the variation amount at the decision point P 1 is positive. If this is the case, the determination point P 0 and the determination point P 1 are separately located on one side and the other side of the region divided by the vector extension straight line VecLine, and with respect to the line segment P 0 -P 1. Thus, it can be determined that the result of the intersection determination of the vector extension straight line VecLine is true.
  • the calculation of the amount of mutation described above includes a division operation such as (x 0 ⁇ Ey / Ex) and (x 1 ⁇ Ey / Ex).
  • division is a heavy processing load
  • the same result can be obtained for the definition of the mutation amount C even if the overall sign is reversed.
  • the vector intersection determination process (S111) is performed when the target block is a rectangle having four vertices, and the rectangular vertices P 00 , P 10 , P 01 , P 11 are used. Is the determination point determined in step S121 described above.
  • FIG. 5 is a diagram showing an example.
  • the vector crossing determination process (S111) can be determined with a low processing amount without a division process.
  • the vector crossing determination process (S111) is performed by the inside of the target block by 0.5 pixels from the vertex of the rectangle when the target block is a rectangle having four vertices.
  • the points P 00 , P 10 , P 01 , and P 11 located at are determined as the determination points determined in step S121 described above.
  • FIG. 6 is a diagram showing an example.
  • the calculation accuracy is sufficient with integer accuracy, and 1 bit can be reduced.
  • the vector extension straight line VecLine is in contact with the target block, and it can be considered that it indicates the target block or is insufficient. In this way, by moving 0.5 pixels inside the target block, it can be limited only when the vector extension straight line VecLine sufficiently points to the target block, and the reliability of the vector intersection determination process (S111) can be further improved. it can.
  • the filter length for vector calculation is an odd number (such as 3 ⁇ 3), and this is not the case when a 4 ⁇ 4 filter is used.
  • the determination point may be a position moved by 0.5 pixels inside the rectangular vertex. In this case, although the calculation accuracy is rather increased, as described above, since it can be limited only when the vector extension straight line VecLine sufficiently points to the target block, the reliability of the vector intersection determination process (S111) can be improved. .
  • the two closest points are set as the determination points. More specifically, among the vertices constituting the target block, the starting point position of the candidate vector Vec is positioned between two straight lines that are orthogonal to the straight line connecting the two vertices and pass through each of the two vertices. Two vertices in the positional relationship are set as determination points.
  • FIG. 8A is an example when the starting point Vcntr of the candidate vector Vec is above.
  • FIG. 8B shows an example in which the starting point Vcntr of the candidate vector Vec is on the left side. In these cases, two vertices close to the start point Vcntr of the candidate vector Vec are set as candidate vectors.
  • FIG. 8C shows an example in which the starting point Vcntr of the candidate vector Vec is located in the upper left range of the target block.
  • the upper right vertex and the lower left vertex of the target block are set as determination points. That is, when the starting point Vcntr of the candidate vector Vec is in the upper left, upper right, lower left, and lower right diagonal positions of the target block, two diagonal vertices on the diagonal are excluded as determination points except for the farthest vertex. To do.
  • the upper left vertex of the target block is P 00
  • the upper right vertex is P 10
  • the lower left vertex is P 01
  • the lower right vertex is P 11 .
  • the vertices P 01 and P 10 are set as determination points.
  • the vertices P 00 and P 10 are set as determination points.
  • the vertices P 00 and P 11 are set as determination points.
  • the vertices P 10 and P 11 are set as determination points.
  • the vertices P 10 and P 01 are set as determination points.
  • the vertices P 01 and P 11 are set as determination points.
  • the vertices P 00 and P 11 are set as determination points.
  • the vertices P 00 and P 01 are set as determination points.
  • the vector intersection determination processing can be performed by calculating the amount of variation of only two smaller points. The amount of computation can be reduced.
  • the target block is a 4 ⁇ 4 pixel block
  • the encoded or decoded pixels are 4 ⁇ 16 pixels in the upper direction and 8 ⁇ horizontal in the left direction as shown in FIG. Assume that there are 4 pixels.
  • the center position of the candidate vector that can be calculated using the 3 ⁇ 3 filter can be calculated at positions indicated by PelB and PelC in FIG. That is, a maximum of 36 candidate vectors are calculated, and a vector crossing determination process (S111) is performed for each.
  • the edge vector search process is performed in PelB, and calculation resources are provided in parallel for each search. Are compared with the last result, and the candidate vector having the maximum size and pointing to the target block is selected as the edge vector.
  • the total amount of computation does not change, but the realization of the circuit can be improved by parallelization.
  • the upper adjacent pixels are determined to be encoded or decoded earlier than the left adjacent pixels in the raster scan block processing order. Therefore, by setting the processing order to PelC next to PelB, it is possible to make the PelB search process separate from the search process for PelC in a pipeline, and to improve the feasibility of the circuit.
  • the storage medium may be any medium that can record a program, such as a magnetic disk, an optical disk, a magneto-optical disk, an IC card, and a semiconductor memory.
  • FIG. 11 is a diagram showing an overall configuration of a content supply system ex100 that realizes a content distribution service.
  • a communication service providing area is divided into desired sizes, and base stations ex106, ex107, ex108, ex109, and ex110, which are fixed wireless stations, are installed in each cell.
  • This content supply system ex100 includes a computer ex111, a PDA (Personal Digital Assistant) ex112, a camera ex113, a mobile phone ex114, a game machine ex115 via the Internet ex101, the Internet service provider ex102, the telephone network ex104, and the base stations ex106 to ex110. Etc. are connected.
  • PDA Personal Digital Assistant
  • each device may be directly connected to the telephone network ex104 without going from the base station ex106, which is a fixed wireless station, to ex110.
  • the devices may be directly connected to each other via short-range wireless or the like.
  • the camera ex113 is a device that can shoot moving images such as a digital video camera
  • the camera ex116 is a device that can shoot still images and movies such as a digital camera.
  • the mobile phone ex114 is a GSM (Global System for Mobile Communications) system, a CDMA (Code Division Multiple Access) system, a W-CDMA (Wideband-Code Division Multiple Access) system, an LTE (Long Terminal Evolution) system, an HSPA ( High-speed-Packet-Access) mobile phone or PHS (Personal-Handyphone System), etc.
  • GSM Global System for Mobile Communications
  • CDMA Code Division Multiple Access
  • W-CDMA Wideband-Code Division Multiple Access
  • LTE Long Terminal Evolution
  • HSPA High-speed-Packet-Access
  • PHS Personal-Handyphone System
  • the camera ex113 and the like are connected to the streaming server ex103 through the base station ex109 and the telephone network ex104, thereby enabling live distribution and the like.
  • live distribution the content (for example, music live video) captured by the user using the camera ex113 is encoded as described in the above embodiments, and transmitted to the streaming server ex103.
  • the streaming server ex103 stream-distributes the content data transmitted to the requested client. Examples of the client include a computer ex111, a PDA ex112, a camera ex113, a mobile phone ex114, and a game machine ex115 that can decode the encoded data. Each device that receives the distributed data decodes the received data and reproduces it.
  • the captured data may be encoded by the camera ex113, the streaming server ex103 that performs data transmission processing, or may be shared with each other.
  • the decryption processing of the distributed data may be performed by the client, the streaming server ex103, or may be performed in common with each other.
  • still images and / or moving image data captured by the camera ex116 may be transmitted to the streaming server ex103 via the computer ex111.
  • the encoding process in this case may be performed by any of the camera ex116, the computer ex111, and the streaming server ex103, or may be performed in a shared manner.
  • these encoding / decoding processes are generally performed in the computer ex111 and the LSI ex500 included in each device.
  • the LSI ex500 may be configured as a single chip or a plurality of chips.
  • moving image encoding / decoding software is incorporated into some recording medium (CD-ROM, flexible disk, hard disk, etc.) that can be read by the computer ex111, etc., and encoding / decoding processing is performed using the software. May be.
  • moving image data acquired by the camera may be transmitted.
  • the moving image data at this time is data encoded by the LSI ex500 included in the mobile phone ex114.
  • the streaming server ex103 may be a plurality of servers or a plurality of computers, and may process, record, and distribute data in a distributed manner.
  • the encoded data can be received and reproduced by the client.
  • the information transmitted by the user can be received, decrypted and reproduced by the client in real time, and personal broadcasting can be realized even for a user who does not have special rights or facilities.
  • At least one of the video encoding device and the video decoding device of each of the above embodiments is incorporated in the digital broadcast system ex200. be able to.
  • the broadcast station ex201 multiplexed data obtained by multiplexing music data and the like on video data is transmitted to a communication or satellite ex202 via radio waves.
  • This video data is data encoded by the moving image encoding method described in the above embodiments.
  • the broadcasting satellite ex202 transmits a radio wave for broadcasting, and this radio wave is received by a home antenna ex204 capable of receiving satellite broadcasting.
  • the received multiplexed data is decoded and reproduced by a device such as the television (receiver) ex300 or the set top box (STB) ex217.
  • a reader / recorder ex218 that reads and decodes multiplexed data recorded on a recording medium ex215 such as a DVD or a BD, encodes a video signal on the recording medium ex215, and in some cases multiplexes and writes it with a music signal. It is possible to mount the moving picture decoding apparatus or moving picture encoding apparatus described in the above embodiments. In this case, the reproduced video signal is displayed on the monitor ex219, and the video signal can be reproduced in another device or system using the recording medium ex215 on which the multiplexed data is recorded.
  • a moving picture decoding apparatus may be mounted in a set-top box ex217 connected to a cable ex203 for cable television or an antenna ex204 for satellite / terrestrial broadcasting and displayed on the monitor ex219 of the television.
  • the moving picture decoding apparatus may be incorporated in the television instead of the set top box.
  • FIG. 13 is a diagram illustrating a television (receiver) ex300 that uses the video decoding method and the video encoding method described in each of the above embodiments.
  • the television ex300 obtains or outputs multiplexed data in which audio data is multiplexed with video data via the antenna ex204 or the cable ex203 that receives the broadcast, and demodulates the received multiplexed data.
  • the modulation / demodulation unit ex302 that modulates multiplexed data to be transmitted to the outside, and the demodulated multiplexed data is separated into video data and audio data, or the video data and audio data encoded by the signal processing unit ex306 Is provided with a multiplexing / demultiplexing unit ex303.
  • the television ex300 decodes the audio data and the video data, or encodes each information, the audio signal processing unit ex304, the signal processing unit ex306 including the video signal processing unit ex305, and the decoded audio signal.
  • the television ex300 includes an interface unit ex317 including an operation input unit ex312 that receives an input of a user operation.
  • the television ex300 includes a control unit ex310 that performs overall control of each unit, and a power supply circuit unit ex311 that supplies power to each unit.
  • the interface unit ex317 includes a bridge unit ex313 connected to an external device such as a reader / recorder ex218, a recording unit ex216 such as an SD card, and an external recording unit such as a hard disk.
  • a driver ex315 for connecting to a medium, a modem ex316 for connecting to a telephone network, and the like may be included.
  • the recording medium ex216 is capable of electrically recording information by using a nonvolatile / volatile semiconductor memory element to be stored.
  • Each part of the television ex300 is connected to each other via a synchronous bus.
  • the television ex300 receives a user operation from the remote controller ex220 or the like, and demultiplexes the multiplexed data demodulated by the modulation / demodulation unit ex302 by the multiplexing / demultiplexing unit ex303 based on the control of the control unit ex310 having a CPU or the like. Furthermore, in the television ex300, the separated audio data is decoded by the audio signal processing unit ex304, and the separated video data is decoded by the video signal processing unit ex305 using the decoding method described in each of the above embodiments.
  • the decoded audio signal and video signal are output from the output unit ex309 to the outside. At the time of output, these signals may be temporarily stored in the buffers ex318, ex319, etc. so that the audio signal and the video signal are reproduced in synchronization. Also, the television ex300 may read multiplexed data from recording media ex215 and ex216 such as a magnetic / optical disk and an SD card, not from broadcasting. Next, a configuration in which the television ex300 encodes an audio signal or a video signal and transmits the signal to the outside or to a recording medium will be described.
  • the television ex300 receives a user operation from the remote controller ex220 and the like, encodes an audio signal with the audio signal processing unit ex304, and converts the video signal with the video signal processing unit ex305 based on the control of the control unit ex310. Encoding is performed using the encoding method described in (1).
  • the encoded audio signal and video signal are multiplexed by the multiplexing / demultiplexing unit ex303 and output to the outside. When multiplexing, these signals may be temporarily stored in the buffers ex320, ex321, etc. so that the audio signal and the video signal are synchronized.
  • a plurality of buffers ex318, ex319, ex320, and ex321 may be provided as illustrated, or one or more buffers may be shared. Further, in addition to the illustrated example, data may be stored in the buffer as a buffer material that prevents system overflow and underflow, for example, between the modulation / demodulation unit ex302 and the multiplexing / demultiplexing unit ex303.
  • the television ex300 has a configuration for receiving AV input of a microphone and a camera, and performs encoding processing on the data acquired from them. Also good.
  • the television ex300 has been described as a configuration capable of the above-described encoding processing, multiplexing, and external output, but these processing cannot be performed, and only the above-described reception, decoding processing, and external output are possible. It may be a configuration.
  • the decoding process or the encoding process may be performed by either the television ex300 or the reader / recorder ex218.
  • the reader / recorder ex218 may share with each other.
  • FIG. 14 shows a configuration of an information reproducing / recording unit ex400 when data is read from or written to an optical disk.
  • the information reproducing / recording unit ex400 includes elements ex401, ex402, ex403, ex404, ex405, ex406, and ex407 described below.
  • the optical head ex401 irradiates a laser spot on the recording surface of the recording medium ex215 that is an optical disk to write information, and detects information reflected from the recording surface of the recording medium ex215 to read the information.
  • the modulation recording unit ex402 electrically drives a semiconductor laser built in the optical head ex401 and modulates the laser beam according to the recording data.
  • the reproduction demodulator ex403 amplifies the reproduction signal obtained by electrically detecting the reflected light from the recording surface by the photodetector built in the optical head ex401, separates and demodulates the signal component recorded on the recording medium ex215, and is necessary To play back information.
  • the buffer ex404 temporarily holds information to be recorded on the recording medium ex215 and information reproduced from the recording medium ex215.
  • the disk motor ex405 rotates the recording medium ex215.
  • the servo control unit ex406 moves the optical head ex401 to a predetermined information track while controlling the rotational drive of the disk motor ex405, and performs a laser spot tracking process.
  • the system control unit ex407 controls the entire information reproduction / recording unit ex400.
  • the system control unit ex407 uses various types of information held in the buffer ex404, and generates and adds new information as necessary.
  • the modulation recording unit ex402, the reproduction demodulation unit This is realized by recording / reproducing information through the optical head ex401 while operating the ex403 and the servo control unit ex406 in a coordinated manner.
  • the system control unit ex407 includes, for example, a microprocessor, and executes these processes by executing a read / write program.
  • the optical head ex401 has been described as irradiating a laser spot.
  • a configuration in which higher-density recording is performed using near-field light may be used.
  • FIG. 15 shows a schematic diagram of a recording medium ex215 that is an optical disk.
  • Guide grooves grooves
  • address information indicating the absolute position on the disc is recorded in advance on the information track ex230 by changing the shape of the groove.
  • This address information includes information for specifying the position of the recording block ex231 that is a unit for recording data, and the recording block is specified by reproducing the information track ex230 and reading the address information in a recording or reproducing apparatus.
  • the recording medium ex215 includes a data recording area ex233, an inner peripheral area ex232, and an outer peripheral area ex234.
  • the area used for recording user data is the data recording area ex233, and the inner circumference area ex232 and the outer circumference area ex234 arranged on the inner or outer circumference of the data recording area ex233 are used for specific purposes other than user data recording. Used.
  • the information reproducing / recording unit ex400 reads / writes encoded audio data, video data, or multiplexed data obtained by multiplexing these data with respect to the data recording area ex233 of the recording medium ex215.
  • an optical disk such as a single-layer DVD or BD has been described as an example.
  • the present invention is not limited to these, and an optical disk having a multilayer structure and capable of recording other than the surface may be used.
  • an optical disc with a multi-dimensional recording / reproducing structure such as recording information using light of different wavelengths in the same place on the disc, or recording different layers of information from various angles. It may be.
  • the car ex210 having the antenna ex205 can receive data from the satellite ex202 and the like, and the moving image can be reproduced on a display device such as the car navigation ex211 that the car ex210 has.
  • the configuration of the car navigation ex211 may be, for example, a configuration in which a GPS receiving unit is added in the configuration illustrated in FIG. 13, and the same may be considered for the computer ex111, the mobile phone ex114, and the like.
  • the terminal such as the mobile phone ex114 is referred to as a transmission terminal having only an encoder and a receiving terminal having only a decoder. There are three possible mounting formats.
  • multiplexed data in which music data is multiplexed with video data is received and transmitted.
  • character data related to video is multiplexed. It may be converted data, or may be video data itself instead of multiplexed data.
  • the moving picture encoding method or the moving picture decoding method shown in each of the above embodiments can be used in any of the above-described devices / systems. The described effect can be obtained.
  • multiplexed data obtained by multiplexing audio data or the like with video data is configured to include identification information indicating which standard the video data conforms to.
  • identification information indicating which standard the video data conforms to.
  • FIG. 16 is a diagram showing a structure of multiplexed data.
  • multiplexed data is obtained by multiplexing one or more of a video stream, an audio stream, a presentation graphics stream (PG), and an interactive graphics stream.
  • the video stream indicates the main video and sub-video of the movie
  • the audio stream (IG) indicates the main audio portion of the movie and the sub-audio mixed with the main audio
  • the presentation graphics stream indicates the subtitles of the movie.
  • the main video indicates a normal video displayed on the screen
  • the sub-video is a video displayed on a small screen in the main video.
  • the interactive graphics stream indicates an interactive screen created by arranging GUI components on the screen.
  • the video stream is encoded by the moving image encoding method or apparatus shown in the above embodiments, or the moving image encoding method or apparatus conforming to the conventional standards such as MPEG-2, MPEG4-AVC, and VC-1. ing.
  • the audio stream is encoded by a method such as Dolby AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, or linear PCM.
  • Each stream included in the multiplexed data is identified by PID. For example, 0x1011 for video streams used for movie images, 0x1100 to 0x111F for audio streams, 0x1200 to 0x121F for presentation graphics, 0x1400 to 0x141F for interactive graphics streams, 0x1B00 to 0x1B1F are assigned to video streams used for sub-pictures, and 0x1A00 to 0x1A1F are assigned to audio streams used for sub-audio mixed with the main audio.
  • FIG. 17 is a diagram schematically showing how multiplexed data is multiplexed.
  • a video stream ex235 composed of a plurality of video frames and an audio stream ex238 composed of a plurality of audio frames are converted into PES packet sequences ex236 and ex239, respectively, and converted into TS packets ex237 and ex240.
  • the data of the presentation graphics stream ex241 and interactive graphics ex244 are converted into PES packet sequences ex242 and ex245, respectively, and further converted into TS packets ex243 and ex246.
  • the multiplexed data ex247 is configured by multiplexing these TS packets into one stream.
  • FIG. 18 shows in more detail how the video stream is stored in the PES packet sequence.
  • the first row in FIG. 18 shows a video frame sequence of the video stream.
  • the second level shows a PES packet sequence.
  • a plurality of Video Presentation Units in the video stream are divided into each picture, and stored in the payload of the PES packet.
  • Each PES packet has a PES header, and a PTS (Presentation Time-Stamp) that is a display time of a picture and a DTS (Decoding Time-Stamp) that is a decoding time of a picture are stored in the PES header.
  • PTS Presentation Time-Stamp
  • DTS Decoding Time-Stamp
  • FIG. 19 shows the format of TS packets that are finally written in the multiplexed data.
  • the TS packet is a 188-byte fixed-length packet composed of a 4-byte TS header having information such as a PID for identifying a stream and a 184-byte TS payload for storing data.
  • the PES packet is divided and stored in the TS payload.
  • a 4-byte TP_Extra_Header is added to a TS packet, forms a 192-byte source packet, and is written in multiplexed data.
  • TP_Extra_Header information such as ATS (Arrival_Time_Stamp) is described.
  • ATS indicates the transfer start time of the TS packet to the PID filter of the decoder.
  • Source packets are arranged in the multiplexed data as shown in the lower part of FIG. 19, and the number incremented from the head of the multiplexed data is called SPN (source packet number).
  • TS packets included in the multiplexed data include PAT (Program Association Table), PMT (Program Map Table), PCR (Program Clock Reference), and the like in addition to each stream such as video / audio / caption.
  • PAT indicates what the PID of the PMT used in the multiplexed data is, and the PID of the PAT itself is registered as 0.
  • the PMT has the PID of each stream such as video / audio / subtitles included in the multiplexed data and the attribute information of the stream corresponding to each PID, and has various descriptors related to the multiplexed data.
  • the descriptor includes copy control information for instructing permission / non-permission of copying of multiplexed data.
  • the PCR corresponds to the ATS in which the PCR packet is transferred to the decoder. Contains STC time information.
  • FIG. 20 is a diagram for explaining the data structure of the PMT in detail.
  • a PMT header describing the length of data included in the PMT is arranged at the head of the PMT.
  • a plurality of descriptors related to multiplexed data are arranged.
  • the copy control information and the like are described as descriptors.
  • a plurality of pieces of stream information regarding each stream included in the multiplexed data are arranged.
  • the stream information includes a stream descriptor in which a stream type, a stream PID, and stream attribute information (frame rate, aspect ratio, etc.) are described to identify a compression codec of the stream.
  • the multiplexed data is recorded together with the multiplexed data information file.
  • the multiplexed data information file is management information of multiplexed data, has a one-to-one correspondence with the multiplexed data, and includes multiplexed data information, stream attribute information, and an entry map.
  • the multiplexed data information includes a system rate, a reproduction start time, and a reproduction end time as shown in FIG.
  • the system rate indicates a maximum transfer rate of multiplexed data to a PID filter of a system target decoder described later.
  • the ATS interval included in the multiplexed data is set to be equal to or less than the system rate.
  • the playback start time is the PTS of the first video frame of the multiplexed data
  • the playback end time is set by adding the playback interval for one frame to the PTS of the video frame at the end of the multiplexed data.
  • the attribute information for each stream included in the multiplexed data is registered for each PID.
  • the attribute information has different information for each video stream, audio stream, presentation graphics stream, and interactive graphics stream.
  • the video stream attribute information includes the compression codec used to compress the video stream, the resolution of the individual picture data constituting the video stream, the aspect ratio, and the frame rate. It has information such as how much it is.
  • the audio stream attribute information includes the compression codec used to compress the audio stream, the number of channels included in the audio stream, the language supported, and the sampling frequency. With information. These pieces of information are used for initialization of the decoder before the player reproduces it.
  • the stream type included in the PMT is used.
  • video stream attribute information included in the multiplexed data information is used.
  • the video encoding shown in each of the above embodiments for the stream type or video stream attribute information included in the PMT.
  • FIG. 23 shows steps of the moving picture decoding method according to the present embodiment.
  • step exS100 the stream type included in the PMT or the video stream attribute information included in the multiplexed data information is acquired from the multiplexed data.
  • step exS101 it is determined whether or not the stream type or the video stream attribute information indicates multiplexed data generated by the moving picture encoding method or apparatus described in the above embodiments. To do.
  • step exS102 the above embodiments are performed. Decoding is performed by the moving picture decoding method shown in the form.
  • the conventional information Decoding is performed by a moving image decoding method compliant with the standard.
  • FIG. 24 shows a configuration of an LSI ex500 that is made into one chip.
  • the LSI ex500 includes elements ex501, ex502, ex503, ex504, ex505, ex506, ex507, ex508, and ex509 described below, and each element is connected via a bus ex510.
  • the power supply circuit unit ex505 is activated to an operable state by supplying power to each unit when the power supply is on.
  • the LSI ex500 when performing the encoding process, performs the microphone ex117 and the camera ex113 by the AV I / O ex509 based on the control of the control unit ex501 including the CPU ex502, the memory controller ex503, the stream controller ex504, the drive frequency control unit ex512, and the like.
  • the AV signal is input from the above.
  • the input AV signal is temporarily stored in an external memory ex511 such as SDRAM.
  • the accumulated data is divided into a plurality of times as appropriate according to the processing amount and the processing speed and sent to the signal processing unit ex507, and the signal processing unit ex507 encodes an audio signal and / or video. Signal encoding is performed.
  • the encoding process of the video signal is the encoding process described in the above embodiments.
  • the signal processing unit ex507 further performs processing such as multiplexing the encoded audio data and the encoded video data according to circumstances, and outputs the result from the stream I / Oex 506 to the outside.
  • the output multiplexed data is transmitted to the base station ex107 or written to the recording medium ex215. It should be noted that data should be temporarily stored in the buffer ex508 so as to be synchronized when multiplexing.
  • the memory ex511 is described as an external configuration of the LSI ex500.
  • a configuration included in the LSI ex500 may be used.
  • the number of buffers ex508 is not limited to one, and a plurality of buffers may be provided.
  • the LSI ex500 may be made into one chip or a plurality of chips.
  • control unit ex510 includes the CPU ex502, the memory controller ex503, the stream controller ex504, the drive frequency control unit ex512, and the like, but the configuration of the control unit ex510 is not limited to this configuration.
  • the signal processing unit ex507 may further include a CPU.
  • the CPU ex502 may be configured to include a signal processing unit ex507 or, for example, an audio signal processing unit that is a part of the signal processing unit ex507.
  • the control unit ex501 is configured to include a signal processing unit ex507 or a CPU ex502 having a part thereof.
  • LSI LSI
  • IC system LSI
  • super LSI ultra LSI depending on the degree of integration
  • the method of circuit integration is not limited to LSI, and implementation with a dedicated circuit or a general-purpose processor is also possible.
  • An FPGA Field Programmable Gate Array
  • a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used.
  • FIG. 25 shows a configuration ex800 in the present embodiment.
  • the drive frequency switching unit ex803 sets the drive frequency high when the video data is generated by the moving image encoding method or apparatus described in the above embodiments.
  • the decoding processing unit ex801 that executes the moving picture decoding method described in each of the above embodiments is instructed to decode the video data.
  • the video data is video data compliant with the conventional standard, compared to the case where the video data is generated by the moving picture encoding method or apparatus shown in the above embodiments, Set the drive frequency low. Then, it instructs the decoding processing unit ex802 compliant with the conventional standard to decode the video data.
  • the drive frequency switching unit ex803 includes the CPU ex502 and the drive frequency control unit ex512 in FIG.
  • the decoding processing unit ex801 that executes the moving picture decoding method shown in each of the above embodiments and the decoding processing unit ex802 that complies with the conventional standard correspond to the signal processing unit ex507 in FIG.
  • the CPU ex502 identifies which standard the video data conforms to. Then, based on the signal from the CPU ex502, the drive frequency control unit ex512 sets the drive frequency. Further, based on the signal from the CPU ex502, the signal processing unit ex507 decodes the video data.
  • the identification of the video data for example, it is conceivable to use the identification information described in the seventh embodiment.
  • the identification information is not limited to that described in the seventh embodiment, and any information that can identify which standard the video data conforms to may be used. For example, it is possible to identify which standard the video data conforms to based on an external signal that identifies whether the video data is used for a television or a disk. In some cases, identification may be performed based on such an external signal.
  • the selection of the driving frequency in the CPU ex502 may be performed based on, for example, a lookup table in which video data standards and driving frequencies are associated with each other as shown in FIG. The look-up table is stored in the buffer ex508 or the internal memory of the LSI, and the CPU ex502 can select the drive frequency by referring to the look-up table.
  • FIG. 26 shows steps for executing the method of the present embodiment.
  • the signal processing unit ex507 acquires identification information from the multiplexed data.
  • the CPU ex502 identifies whether the video data is generated by the encoding method or apparatus described in each of the above embodiments based on the identification information.
  • the CPU ex502 sends a signal for setting the drive frequency high to the drive frequency control unit ex512. Then, the drive frequency control unit ex512 sets a high drive frequency.
  • the CPU ex502 drives the signal for setting the drive frequency low in step exS203. This is sent to the frequency control unit ex512. Then, in the drive frequency control unit ex512, the drive frequency is set to be lower than that in the case where the video data is generated by the encoding method or apparatus described in the above embodiments.
  • the power saving effect can be further enhanced by changing the voltage applied to the LSI ex500 or the device including the LSI ex500 in conjunction with the switching of the driving frequency. For example, when the drive frequency is set low, it is conceivable that the voltage applied to the LSI ex500 or the device including the LSI ex500 is set low as compared with the case where the drive frequency is set high.
  • the setting method of the driving frequency may be set to a high driving frequency when the processing amount at the time of decoding is large, and to a low driving frequency when the processing amount at the time of decoding is small. It is not limited to the method.
  • the amount of processing for decoding video data compliant with the MPEG4-AVC standard is larger than the amount of processing for decoding video data generated by the moving picture encoding method or apparatus described in the above embodiments. It is conceivable that the setting of the driving frequency is reversed to that in the case described above.
  • the method for setting the drive frequency is not limited to the configuration in which the drive frequency is lowered.
  • the voltage applied to the LSIex500 or the apparatus including the LSIex500 is set high.
  • the driving of the CPU ex502 is stopped.
  • the CPU ex502 is temporarily stopped because there is room in processing. Is also possible. Even when the identification information indicates that the video data is generated by the moving image encoding method or apparatus described in each of the above embodiments, if there is a margin for processing, the CPU ex502 is temporarily driven. It can also be stopped. In this case, it is conceivable to set the stop time shorter than in the case where the video data conforms to the conventional standards such as MPEG-2, MPEG4-AVC, and VC-1.
  • a plurality of video data that conforms to different standards may be input to the above-described devices and systems such as a television and a mobile phone.
  • the signal processing unit ex507 of the LSI ex500 needs to support a plurality of standards in order to be able to decode even when a plurality of video data complying with different standards is input.
  • the signal processing unit ex507 corresponding to each standard is used individually, there is a problem that the circuit scale of the LSI ex500 increases and the cost increases.
  • a decoding processing unit for executing the moving picture decoding method shown in each of the above embodiments and a decoding conforming to a standard such as MPEG-2, MPEG4-AVC, or VC-1
  • the processing unit is partly shared.
  • An example of this configuration is shown as ex900 in FIG.
  • the moving picture decoding method shown in each of the above embodiments and the moving picture decoding method compliant with the MPEG4-AVC standard are processed in processes such as entropy coding, inverse quantization, deblocking filter, and motion compensation. Some contents are common.
  • the decoding processing unit ex902 corresponding to the MPEG4-AVC standard is shared, and for the other processing content unique to the present invention not corresponding to the MPEG4-AVC standard, the dedicated decoding processing unit ex901 is used.
  • Configuration is conceivable.
  • a dedicated decoding processing unit ex901 is used for in-plane prediction, and other dequantization, entropy coding, and deblocking filters are used. It is conceivable to share a decoding processing unit for any or all of the motion compensation processes.
  • the decoding processing unit for executing the moving picture decoding method described in each of the above embodiments is shared, and the processing content specific to the MPEG4-AVC standard As for, a configuration using a dedicated decoding processing unit may be used.
  • ex1000 in FIG. 28B shows another example in which processing is partially shared.
  • a dedicated decoding processing unit ex1001 corresponding to processing content unique to the present invention
  • a dedicated decoding processing unit ex1002 corresponding to processing content specific to other conventional standards
  • a moving picture decoding method of the present invention A common decoding processing unit ex1003 corresponding to processing contents common to other conventional video decoding methods is used.
  • the dedicated decoding processing units ex1001 and ex1002 are not necessarily specialized in the processing content specific to the present invention or other conventional standards, and may be capable of executing other general-purpose processing.
  • the configuration of the present embodiment can be implemented by LSI ex500.
  • the circuit scale of the LSI can be reduced and the cost can be reduced. It is possible to reduce.
  • the present invention is suitable for an encoding device that decodes or decodes an image, a decoding device, a web server that distributes moving images, a network terminal that receives the moving image, a digital camera capable of recording and reproducing moving images, and a mobile phone with a camera Suitable for DVD recorder / player, PDA, personal computer and the like.

Landscapes

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

Abstract

L'invention concerne un procédé de décodage d'image qui comprend des étapes de prédiction (S102 et S103) dans lesquelles des données de pixels pour un bloc prédit sont générées, et des étapes de décodage (S204 et S205) dans lesquelles un bloc de décodage est généré. Les étapes de prédiction (S102 et S103) comprennent : une étape de détection de bordure (S110) qui détecte un vecteur de bordure qui existe dans une zone au voisinage d'un bloc cible, en utilisant des données de pixels déjà décodées ; une étape de jugement d'intersection (S111) qui juge si le vecteur de bordure est en intersection ou non avec le bloc cible ; et une étape de génération de bloc prédit (S103) qui génère des données de pixels pour le bloc prédit en utilisant le vecteur de bordure qui a été jugé en intersection avec le bloc cible. Dans l'étape de jugement d'intersection (S111), un jugement que le vecteur de bordure pertinent est en intersection avec le bloc cible est établi si deux sommets sélectionnés parmi les sommets qui constituent le bloc cible sont positionnés séparément sur un côté et l'autre côté d'une zone divisée par l'extension du vecteur de bordure.
PCT/JP2011/002060 2010-04-13 2011-04-07 Procédé de décodage d'image, procédé d'encodage d'image, dispositif de décodage d'image, dispositif d'encodage d'image, programme, et circuit intégré WO2011129074A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010092664 2010-04-13
JP2010-092664 2010-04-13

Publications (1)

Publication Number Publication Date
WO2011129074A1 true WO2011129074A1 (fr) 2011-10-20

Family

ID=44798461

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/002060 WO2011129074A1 (fr) 2010-04-13 2011-04-07 Procédé de décodage d'image, procédé d'encodage d'image, dispositif de décodage d'image, dispositif d'encodage d'image, programme, et circuit intégré

Country Status (1)

Country Link
WO (1) WO2011129074A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003520531A (ja) * 2000-01-21 2003-07-02 ノキア コーポレイション イメージをコード化する方法およびイメージコーダ
JP2007074726A (ja) * 2005-09-06 2007-03-22 Samsung Electronics Co Ltd 映像のイントラ予測符号化及び復号化方法、並びに装置
JP2009134620A (ja) * 2007-11-30 2009-06-18 Fujitsu Ltd 描画装置、描画プログラムおよび描画方法
WO2009090884A1 (fr) * 2008-01-18 2009-07-23 Panasonic Corporation Procédé de codage d'image et procédé de décodage d'image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003520531A (ja) * 2000-01-21 2003-07-02 ノキア コーポレイション イメージをコード化する方法およびイメージコーダ
JP2007074726A (ja) * 2005-09-06 2007-03-22 Samsung Electronics Co Ltd 映像のイントラ予測符号化及び復号化方法、並びに装置
JP2009134620A (ja) * 2007-11-30 2009-06-18 Fujitsu Ltd 描画装置、描画プログラムおよび描画方法
WO2009090884A1 (fr) * 2008-01-18 2009-07-23 Panasonic Corporation Procédé de codage d'image et procédé de décodage d'image

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DONG LIU ET AL.: "Image Compression With Edge- Based Inpainting", IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, vol. 17, no. 10, October 2007 (2007-10-01), pages 1273 - 1287 *
TOMOYA: "Motto Kantan ni -Senbun Kosa Hantei", 2000, Retrieved from the Internet <URL:http://www5d.biglobe.ne.jp/-tomoya03/shtml/algorithm/Intersection.htm> [retrieved on 20110704] *
WILSON KWOK ET AL.: "Multi-Directional Interpolation for Spatial Error Concealment", IEEE TRANSACTIONS ON CONSUMER ELECTRONICS, vol. 39, no. 3, August 1993 (1993-08-01), pages 455 - 460 *

Similar Documents

Publication Publication Date Title
JP7157963B2 (ja) 復号化装置
JP6064235B2 (ja) 符号化方法、プログラムおよび符号化装置
JP6222589B2 (ja) 復号方法及び復号装置
JP5859692B2 (ja) 画像符号化復号化装置
JP5728062B2 (ja) 画像符号化復号装置
WO2013021619A1 (fr) Procédé et appareil de codage d&#39;image, procédé et appareil de décodage d&#39;image, et appareil de codage/décodage d&#39;image
WO2012108205A1 (fr) Procédé de codage d&#39;image, dispositif de codage d&#39;image, procédé de décodage d&#39;image, dispositif de décodage d&#39;image et dispositif de codage-décodage d&#39;image
JP6004375B2 (ja) 画像符号化方法および画像復号化方法
JP5701291B2 (ja) 動き補償方法、画像復号方法、画像符号化方法、動き補償装置、プログラム、及び集積回路
WO2013118485A1 (fr) Procédé de codage d&#39;image, procédé de décodage d&#39;image, dispositif de codage d&#39;image, dispositif de décodage d&#39;image et dispositif de codage et de décodage d&#39;image
JP5873029B2 (ja) 動画像符号化方法及び動画像復号化方法
WO2015059880A1 (fr) Procede de compensation de mouvement, procede de codage d&#39;image, procede de decodage d&#39;image, dispositif de codage d&#39;image et dispositif de decodage d&#39;image
WO2013014884A1 (fr) Procédé de codage d&#39;image animée, dispositif de codage d&#39;image animée, procédé de décodage d&#39;image animée et dispositif de décodage d&#39;image animée
WO2012070235A1 (fr) Procédé de calcul de vecteur de mouvement, procédé de codage d&#39;image, procédé de décodage d&#39;image, dispositif de calcul de vecteur de mouvement et dispositif de codage/décodage d&#39;image
WO2011135841A1 (fr) Procédé de codage d&#39;image, procédé de décodage d&#39;image, appareil de codage d&#39;image et appareil de décodage d&#39;image
WO2011129074A1 (fr) Procédé de décodage d&#39;image, procédé d&#39;encodage d&#39;image, dispositif de décodage d&#39;image, dispositif d&#39;encodage d&#39;image, programme, et circuit intégré
WO2015004884A1 (fr) Procédé de codage d&#39;image, procédé de décodage d&#39;image, dispositif de codage d&#39;image et dispositif de décodage d&#39;image
WO2012086166A1 (fr) Procédé de codage d&#39;image et procédé de décodage d&#39;image
WO2012120876A1 (fr) Procédé de décodage d&#39;image, procédé de codage d&#39;image, décodeur d&#39;image et codeur d&#39;image
WO2013046616A1 (fr) Appareil de codage d&#39;image, appareil de décodage d&#39;image, procédé de codage d&#39;image et procédé de décodage d&#39;image
WO2012095930A1 (fr) Procédé de codage d&#39;image, procédé de décodage d&#39;image, dispositif de codage d&#39;image et dispositif de décodage d&#39;image
WO2012090502A1 (fr) Procédé de codage d&#39;image et procédé de décodage d&#39;image

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

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP