WO2007063612A1 - Dynamic image encoding device and dynamic image decoding device - Google Patents

Dynamic image encoding device and dynamic image decoding device Download PDF

Info

Publication number
WO2007063612A1
WO2007063612A1 PCT/JP2006/303904 JP2006303904W WO2007063612A1 WO 2007063612 A1 WO2007063612 A1 WO 2007063612A1 JP 2006303904 W JP2006303904 W JP 2006303904W WO 2007063612 A1 WO2007063612 A1 WO 2007063612A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
encoding
encoded
prediction
dimensional data
Prior art date
Application number
PCT/JP2006/303904
Other languages
French (fr)
Japanese (ja)
Inventor
Maki Takahashi
Tomoko Aono
Original Assignee
Sharp Kabushiki Kaisha
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 Sharp Kabushiki Kaisha filed Critical Sharp Kabushiki Kaisha
Priority to JP2007547848A priority Critical patent/JP4855417B2/en
Publication of WO2007063612A1 publication Critical patent/WO2007063612A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/93Run-length coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/129Scanning of coding units, e.g. zig-zag scan of transform coefficients or flexible macroblock ordering [FMO]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Definitions

  • the present invention relates to a moving image encoding device and a moving image decoding device for realizing a high-efficiency encoding technique for moving image data.
  • Non-Patent Document 1 As a conventional technique for realizing high-efficiency encoding of moving image data, the H.264 / AVC moving image encoding technology described in Non-Patent Document 1 can be cited.
  • FIG. 13 is a block diagram of a conventional video encoding device.
  • reference numeral 1 is a frame memory for storing encoded images
  • reference numeral 2 is a prediction method control unit for determining a prediction method and prediction parameters used for an image to be encoded
  • reference numeral 3 is ,
  • a prediction image generation unit that generates a prediction image from the encoded image stored in the frame memory 1
  • reference numeral 4 is a difference image generation unit that generates a difference image between the image to be encoded and the prediction image
  • reference numeral 5 An orthogonal transform unit that orthogonally transforms the difference image
  • code 6 is a quantization unit that quantizes the output data of the orthogonal transform unit 5 and outputs predicted residual data
  • code 7 is input by an operation reverse to that of the quantization unit 6
  • Inverse quantization unit that performs inverse quantization of data
  • code 8 is an inverse transform unit that performs inverse orthogonal transform of input data by the reverse operation of orthogonal transform unit 5
  • code 9 is the output data and prediction image of inverse transform unit 8 Image composition part to be composed
  • the prediction method control unit 2 includes a prediction method used for the encoding target macroblock and A prediction parameter is determined (S101).
  • one of intra prediction and inter prediction (forward prediction, backward prediction, bidirectional prediction) is selected.
  • a prediction parameter a unit (macroblock division pattern) for prediction, in the case of intra prediction, which of a plurality of intra prediction methods is applied, or in the case of inter prediction, a motion vector A combination of reference images used for prediction is determined.
  • the prediction method and prediction parameter determination method uses the prediction image generation unit 3 that generates a prediction image with a combination of all prediction methods and prediction parameters, and has the highest correlation with the image to be encoded.
  • the prediction methods and prediction parameters that are candidates for selection are limited in advance, and the prediction method and prediction parameter that obtains the most highly correlated prediction image among the candidates are selected. It is possible to use this method.
  • variable length coding unit 11 performs variable length coding on the prediction scheme and the prediction parameter determined by the prediction scheme control unit 2 for each element (S102).
  • the predicted image generation unit 3 generates a predicted image of the macroblock based on the prediction method and the prediction parameter determined by the prediction method control unit 2 (S103).
  • the difference image generation unit 4 generates a difference image between the macroblock image and the predicted image (S104).
  • the orthogonal transform unit 5 performs orthogonal transform on the difference image of the macroblock for each 4x4 pixel block (S105).
  • the quantization unit 6 performs quantization on the 4 ⁇ 4 block data output from the orthogonal transform unit 5 (S106).
  • the inverse quantization unit 7 performs inverse quantization on the prediction residual data output from the quantization unit 6 (S107).
  • the inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S108).
  • the data scanning unit 10 performs zigzag scanning on the prediction residual data output from the quantization unit 6 and rearranges it into a one-dimensional data sequence (S109).
  • the variable length coding unit 11 performs variable length coding on each element of the one-dimensional prediction residual data (S 110).
  • Step 11 Steps 5 to 10 are repeated for all the 4 ⁇ 4 pixel blocks constituting the macro block (S11 11).
  • the image synthesis unit 9 synthesizes the output data of the inverse transformation unit 8 and the predicted image generated by the predicted image generation unit 3, encodes the synthesized image, and sets the encoded image as a subsequent image. It is stored in the frame memory 1 for use in encoding (S112).
  • Step 13 Steps 1 to 12 are repeated for all macroblocks constituting the image to be encoded (S I 13).
  • Non-patent ⁇ ffl ⁇ l ITU-1 'Recommendation H.2 4: Advanced Video and oaing ror generic audiovisual services (2003)
  • encoding information (prediction method, prediction parameter, prediction residual data, etc.) is processed with a macroblock consisting of a rectangular area of 16x16 pixels as a processing unit. Is encoded.
  • the macroblock size is constant both when encoding an image with a low spatial resolution and when encoding an image with a high spatial resolution.
  • the code information also tends to show a high correlation between adjacent macroblocks.
  • the present invention has been made in view of the above-described problems, and an object of the present invention is to encode a high-resolution image in which high correlation appears in a wider range than the macroblock size.
  • the moving picture encoding apparatus is a moving picture encoding apparatus that divides an image into a plurality of blocks and encodes the blocks.
  • Each temporary storage means for storing necessary encoding information and a plurality of pieces of encoding information stored in the temporary storage means are encoded with an MXN block (M and N are arbitrary integers) as a unit. It is characterized in that it is provided with sign key means for performing the above.
  • the encoding means includes a data string conversion means for scanning the MXN block encoding information stored in the temporary storage means by a predetermined scanning procedure and converting it into a one-dimensional data string.
  • a data string generating means for generating a plurality of one-dimensional data strings from the converted one-dimensional data string by a predetermined rule, and a data rearranging means for rearranging the generated one-dimensional data strings by a predetermined sorting rule.
  • variable length encoding means for performing variable length encoding on the rearranged one-dimensional data string.
  • the data string conversion means may perform conversion into a one-dimensional data string in a different scanning order for each type of the encoded information.
  • the data rearranging means may rearrange the one-dimensional data string using BWT (Burrows-Wheeler Transform).
  • the data rearranging means rearranges the one-dimensional data sequence for each Ml X N1 block, and the spatial resolution of the encoding target is predetermined. If the threshold is greater than or equal to the threshold, when the one-dimensional data sequence is rearranged for each M2 X N2 block, the block size relationship may satisfy Ml X NK M2 X N2.
  • the encoding information includes data indicating a prediction method to be applied to a moving image to be encoded, a prediction parameter used together with the prediction method, and applying the prediction method to a moving image to be encoded. It is desirable to have at least one of the required prediction residual data.
  • the moving picture decoding apparatus of the present invention is an MXN block (M, M, M) that decodes moving picture data encoded by the moving picture encoding apparatus. It is characterized by comprising decoding means for decoding encoded information encoded with N being an arbitrary integer) as a unit.
  • the decoding means includes variable-length decoding means for variable-length decoding encoded coding information, and data for generating a plurality of one-dimensional data sequences from the variable-length decoded encoding information Obtained by scanning the MXN block encoding information and the data sorting means that sorts the generated one-dimensional data strings according to a predetermined sorting rule, and the sorted one-dimensional data strings You may have a data string conversion means to convert to a one-dimensional data string.
  • the data string converting means may convert the data into a one-dimensional data string in a different reverse scanning order for each type of encoded information.
  • the data rearranging means may rearrange one-dimensional data strings using inverse BWT (Burrows-Wheeler Transform).
  • the data rearranging means rearranges the one-dimensional data sequence for each Ml X N1 block, and the spatial resolution of the encoding target is predetermined. If the threshold is greater than or equal to the threshold, it is desirable that the relationship between the block sizes satisfy M1 X NK M2 X N2 when rearranging the one-dimensional data sequence for each M2 X N2 block.
  • the encoding information includes data indicating a prediction scheme to be applied to a moving image to be encoded, a prediction parameter used together with the prediction method, and the prediction scheme applied to a moving image to be encoded. It is desirable to have at least one of the required prediction residual data.
  • the moving image encoding apparatus is a moving image encoding apparatus that divides and encodes an image into a plurality of blocks, and encodes information necessary for encoding each block.
  • MXN block M and N are arbitrary integers
  • the moving picture decoding apparatus can decode and reproduce the highly efficient moving picture encoded data encoded by the moving picture encoding apparatus according to the present invention.
  • FIG. 1 shows an embodiment of the present invention, and is a block diagram showing a main part configuration of a video encoding device.
  • FIG. 1 shows an embodiment of the present invention, and is a block diagram showing a main part configuration of a video encoding device.
  • FIG. 2 is a flowchart showing a flow of encoding processing by the video encoding apparatus shown in FIG. 1.
  • FIG. 3 (a) is a diagram illustrating an example of a 4 ⁇ 4 macroblock.
  • FIG. 3 (b) is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
  • FIG. 3 (c) is a diagram showing a strike pattern of the macroblock shown in FIG. 3 (a).
  • FIG. 3 (d) is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
  • FIG. 3 (e) is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
  • FIG. 3 (a) is a diagram showing a strike pattern of the macroblock shown in FIG. 3 (a).
  • Fig. 3 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 3 (a).
  • FIG. 4 (a) is a diagram showing a running pattern of an 8 ⁇ 8 macroblock.
  • FIG. 4 (b) is a diagram showing a running pattern of an 8 ⁇ 8 macroblock.
  • FIG. 4 (c) is a diagram showing a scan pattern of an 8 ⁇ 8 macroblock.
  • FIG. 4 (d) is a diagram showing a scan pattern of an 8 ⁇ 8 macroblock.
  • FIG. 4 (e) is a diagram showing a scan pattern of an 8 ⁇ 8 macroblock.
  • FIG. 4 (f) is a diagram showing a scan pattern of an 8 ⁇ 8 macroblock.
  • FIG. 6 (a) is a diagram showing an example of a 4 ⁇ 4 fixed size macroblock.
  • FIG. 6 (b) is a diagram showing a scanning pattern of the macroblock shown in FIG. 6 (a).
  • FIG. 6 (c) is a diagram showing a scanning pattern of the macroblock shown in FIG. 6 (a).
  • Fig. 6 (d) is a diagram showing a running pattern of the macroblock shown in Fig. 6 (a).
  • Fig. 6 (e) is a diagram showing a strike pattern of the macroblock shown in Fig. 6 (a).
  • FIG. 6 (a) is a diagram showing a strike pattern of the macroblock shown in FIG. 6 (a).
  • Fig. 6 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 6 (a).
  • FIG. 7 (a) is a diagram illustrating an example of a variable-size macroblock.
  • Fig. 7 (b) is a diagram showing a running pattern of the macroblock shown in Fig. 7 (a).
  • FIG. 7 (c) is a diagram showing a running pattern of the macroblock shown in FIG. 7 (a).
  • FIG. 7 (d) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
  • FIG. 7 (e) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
  • FIG. 7 (f) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
  • Fig. 7 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 7 (a).
  • FIG. 8 is a diagram showing an example of a running pattern of predicted residual data.
  • FIG. 9 is a diagram illustrating an example of a variable-length encoding method by a variable-length encoding unit provided in the video encoding apparatus shown in FIG. 1.
  • FIG. 10 showing another embodiment of the present invention, is a block diagram showing a main configuration of a video decoding device.
  • FIG. 11 is a flowchart showing a flow of decoding processing of the video decoding device shown in FIG.
  • FIG. 12] (a) to (g) are diagrams showing the flow of data reverse sorting processing by the data reverse sorting unit provided in the moving picture decoding apparatus shown in FIG.
  • FIG. 13 is a block diagram showing a main configuration of a conventional moving picture encoding device.
  • FIG. 14 is a flowchart showing a flow of encoding processing of the video encoding apparatus shown in FIG.
  • FIG. 1 is a block diagram of a moving picture coding apparatus according to this embodiment.
  • reference numeral 12 denotes a buffer memory for temporarily storing encoding information (prediction method, prediction parameters, prediction residual data) of a plurality of macroblocks
  • reference numeral 13 is recorded in a nota memory.
  • Data sorting unit that rearranges the encoded information (prediction method, prediction parameter, prediction residual data) in a predetermined method
  • code 14 is a variable length coding unit that performs variable length coding on the output result of the data sorting unit 13 It is.
  • the MXN block (M, N is determined as follows) for a plurality of pieces of encoded information (prediction method, prediction parameter, prediction residual data) stored in the buffer memory 12 by the data sorting unit 13 and the variable length encoding unit 14.
  • a code key unit (code key means) 100 is configured to perform coding with an arbitrary integer) as a unit.
  • the prediction method control unit 2 determines a prediction method and a prediction parameter to be used for the codeh target macroblock (S1).
  • the prediction method and the prediction parameter determination method are the same as those of the conventional video encoding apparatus, and the description thereof will be omitted.
  • the determined prediction method and prediction parameters are recorded in the buffer memory 12.
  • the predicted image generation unit 3 generates a predicted image of the macroblock based on the prediction method and the prediction parameter determined by the prediction method control unit 2 (S2).
  • the difference image generation unit 4 generates a difference image between the macroblock image and the predicted image (S3).
  • the orthogonal transform unit 5 performs orthogonal transform on the difference image of the macroblock for each 4x4 pixel block (S4).
  • the quantization unit 6 quantizes the 4x4 block data output from the orthogonal transform unit 5.
  • the output prediction residual data is recorded in the buffer memory 12 (S5).
  • STEP 6 The inverse quantization unit 7 performs inverse quantization on the prediction residual data output from the quantization unit 6 (S6).
  • STEP 7 The inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S7).
  • the image composition unit 9 synthesizes the output data of the inverse transform unit 8 and the prediction image generated by the prediction image generation unit 3, and uses the generated image for the subsequent sign. Accumulate in memory 1 (S9).
  • the data sorting unit 13 is composed of MXN macroblocks (M and N are predetermined integers). Each of the prediction scheme, prediction parameters, and prediction residual data recorded in the buffer memory 12 is rearranged in a predetermined procedure in units of macroblock groups (Sl1). Details of the data sorting unit 13 will be described later.
  • variable length coding unit 14 performs variable length coding for each of the prediction scheme, prediction parameters, and prediction residual data output from the data sorting unit 13 in units of macroblocks (S12). The details of the variable length code key unit 14 will also be described later.
  • Steps 1 to 12 are repeated until encoding of all the macroblock groups constituting the image to be encoded is completed (S13).
  • the moving image data is encoded in the moving image encoder of the present embodiment.
  • the prediction method, the prediction parameters, and the prediction residual data have been described as being rearranged in units of macroblock groups, and variable length coding is performed.
  • a part of (for example, prediction residual data) is input from the buffer memory 12 to the variable-length code unit 14 for each macroblock without passing through the data sorting unit 13, and in the same manner as in the prior art, It may be a configuration that performs sign coding.
  • the data sorting unit 13 converts the input data of a predetermined macroblock group into a data string that can be efficiently variable-length encoded using BWT (Burrows-Wheeler Transform).
  • BWT is a conversion for a one-dimensional data sequence. For example, a data sequence in which the same pattern repeatedly appears as "0,1,0,1, 0,1, "
  • the output data string is a conversion having the property that elements having the same value are likely to be continuous compared to the input data string. Therefore, it is possible to perform efficient variable-length code by performing code assignment (for example, run-length code) collectively for elements having a series of identical values.
  • the macroblock group is processed as 4 X 4 macroblocks (MB0 to MB15) as shown in Fig. 3 (a), for example. Then, using one of the scissors patterns shown in Fig. 3 (b) to Fig. 3 (g) If the input data is converted to a one-dimensional data string, the same pattern is likely to appear repeatedly due to the correlation between adjacent macroblocks. A good sign can be achieved.
  • the strength of the correlation of the code key information between P-connected macroblocks varies depending on the spatial resolution of the image to be encoded, and therefore, the macro processor which is the processing unit of the data sorting unit 13 is used.
  • the macro processor which is the processing unit of the data sorting unit 13 is used.
  • a macroblock group that processes 4x4 macroblocks and a high-resolution image is encoded
  • a macroblock group that processes 8x8 macroblocks has a high correlation between adjacent macroblocks due to differences in spatial resolution. It is possible to perform efficient coding considering the above.
  • the configuration uses the macroblock group size and the scanning pattern for each element of the encoded information. It doesn't matter.
  • FIG. 5 shows a specific operation example of the data sorting unit.
  • FIG. 5 (a) shows an example of input data to the data sorting unit 13 and here, an example in which data having element values 0 to 2 exists in each of 4x4 macroblocks. Yes.
  • each element value represents a prediction method, and 0: forward prediction, 1: backward prediction, 2: intra prediction.
  • STEP2 The SO element is shifted to the left by one element, and the first element is circulated to the tail to generate the one-dimensional data string S1. Similar operations are repeated to generate S1 to S15 (FIG. 5 (c)).
  • Eai Ebi (any i satisfying 0 ⁇ i ⁇ i ⁇ j), and if Eaj and Ebj, Sa is Sb STEP4)
  • the last element of sorted S0 to S15 is the output data string in order.
  • the SO rank in the sort result is output as additional information necessary for decoding (Fig. 5 (e)).
  • the prediction method which is a prediction parameter in intra prediction, has a sub-matrix obtained by dividing one macro block into 4 X 4 sub-macro blocks (B0 to B15) as in the example shown in Fig. 6 (a).
  • Fig. 6 (b) to Fig. 6 (g) considering the correlation between adjacent sub-macroblocks, as well as the force S in which data exists for each macroblock and the running pattern in units of macroblocks. Can be used.
  • a parameter for each sub-macroblock of variable size such as designation of a motion vector reference image that is a prediction parameter for inter-frame prediction.
  • the scan pattern itself is defined in the same way as in the fixed-size sub-block example (Fig. 6) and overlapped. If a sub-macroblock is scanned, the second and subsequent scans can be ignored. For example, in the case of the scan pattern in Fig. 7 (b), B0, Bl, B2, B3, B4 are output, and in the case of Fig. 7 (c), B0, B4, Bl, B2, B3 are output. In the case of 7 (d), output of B0, Bl, B4, B3, and B2 is satisfactory.
  • the same frequency component between adjacent blocks is considered to have a high correlation, so that four adjacent blocks (B0, B1) as shown in the example of FIG. , B4, B5), as shown in the order of the numerical values in the figure, the 16x4 element prediction residual data operation sequence is scanned from the low-frequency component to the high-frequency component, and the same scan is performed for the remaining blocks. It can be applied to the network.
  • variable length coding unit 14 performs efficient variable-length encoding by run-length encoding, using the property that elements having the same value in the data string output from the data sorting unit 13 are likely to continue.
  • variable length encoding such as Goram code, Huffman code, and arithmetic code shown in Table 1 below may be used for encoding each element.
  • variable length encoding unit 14 As a specific example of the operation of the variable length encoding unit 14, a case where the output result of FIG. 5 used in the description of the data sorting unit 13 is variable length encoded will be described.
  • the Goram code in Table 1 is used for the sign of each element.
  • the probability of occurrence of each element value is determined in advance so that the appearance probability decreases as the element value with the highest element value increases. Encoding becomes possible.
  • a total of 27 bits “011, 00100, 1, 00111, 011, 1, 010, 00100, 1” is the output of the variable length encoding unit 14.
  • each variable of 2 ⁇ is individually encoded with variable length using Table 1, " 1, 1, 010, 011, 1, 1, 010, 011, 1, 1, 010, 011, 1, 1, 011, 011 ⁇ in total, 32 bits are required. It can be seen that the variable-length coding based on the 5 bit coding efficiency is better.
  • the encoding procedure using prediction is as follows.
  • Predicted value candidate strings are initialized in descending order of element values.
  • the predicted value candidate string indicates that the closer to the head, the higher the appearance probability, and the closer to the tail, the lower the appearance probability.
  • STEP 2 A search is performed for the number of the leading element value of the input data string that appears in the predicted value candidate string.
  • STEP 3 Output the index and run length_1 of the predicted value obtained by the search, and variable-length encode each.
  • FIG. 9 shows that the above-described data string “2, 2, 2, 2, 0, 0, 0, 0, 0, 2, 1, 1, 1 ⁇ This is an example of encoding, and ⁇ 1, 00100, 010, 00111, 1, 1, 1, 00100 "are obtained as output results. If the encoding result of 0, which is the order of the SO sorting results, is calculated, it becomes 23 bits in total, "1, 00100, 010, 00111, 1, 1, 1, 00100, 1". It can be seen that efficient coding is performed compared to run-length coding.
  • a conventional moving image is obtained by performing variable-length coding using a correlation between sub-macroblocks and a macroblock. Encoding efficiency can be increased compared to the encoding device.
  • FIG. 10 is a block diagram showing a video decoding device according to the present embodiment.
  • reference numeral 15 denotes a variable length code decoding unit that performs variable length decoding of encoded data
  • Reference numeral 16 denotes a data reverse sorting unit that rearranges the one-dimensional data sequence obtained by variable length decoding by a predetermined operation and restores the data to data for each macroblock.
  • variable-length code decoding unit 15 performs variable-length decoding on the encoded data, and in the video image encoding device shown in Fig. 1, the output state prediction method, prediction parameters, and prediction residual data of the data sorting unit 13 To restore. Details of the variable-length code decoding unit 15 will be described later (S1).
  • the data reverse sort unit 16 rearranges the one-dimensional data sequence (encoded information) input from the variable length decoding unit 15 into a two-dimensional data sequence by a predetermined procedure and records it in the buffer memory 12. (S2).
  • the data storage format recorded in the buffer memory is the same as the data storage format in the buffer memory in the moving picture encoding apparatus of Embodiment 1, and the details of the operation of the data reverse sort unit 16 will be described later.
  • Steps 1 and 2 are repeated until the data of all the macroblock groups constituting the screen are restored (S3).
  • the inverse quantization unit 7 receives the prediction residual data from the buffer memory 12, and performs inverse quantization (S4).
  • the inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S5).
  • Steps 4 to 5 are repeated for all the 4x4 pixel blocks constituting the macro block (S6).
  • the predicted image generation unit 3 reads the prediction method and prediction parameters from the nother memory 12, and generates a predicted image based on the decoded images stored in the frame memory 1 (S7).
  • the image synthesis unit 9 synthesizes the output data of the inverse transformation unit 8 and the prediction image generated by the prediction image generation unit 3, and uses the generated image for subsequent decoding in the frame memory 1 And output to the outside (S8).
  • variable length code decoding unit 15 will be described in detail.
  • variable length code decoding unit 15 performs the reverse operation of the variable length coding unit 14 in the first embodiment.
  • decoding is performed according to the following procedure.
  • STEP1 The candidate sequence of predicted values is initialized in descending order of element values, similar to encoding.
  • top elements of S0 to S15 in Fig. 5 (d) can sort the input data string in ascending order. And obtained. It should be noted that the order of S1 to S15 other than SO is unknown at this point.
  • the encoded data generated by the video encoding apparatus of the first embodiment can be decoded by the operation described above.
  • the macroblock group size may be different for each element of the encoded information (prediction method, prediction parameter, prediction residual data).
  • the moving image encoding method of the present invention is a moving image encoding method for dividing and encoding an image into a plurality of blocks, and temporarily encoding information necessary for encoding each block. And a plurality of pieces of encoded information stored in the previous step, the code is encoded using 1 ⁇ 1 ⁇ blocks (1 ⁇ , N are arbitrary integers) as a unit. It is characterized by including a tape.
  • the encoding step includes a data string conversion step of scanning the temporarily stored encoding information of the MXN block according to a predetermined scanning procedure and converting it into a one-dimensional data string. And a data column generation step for generating a plurality of one-dimensional data strings from the converted one-dimensional data string by a predetermined rule, and a data arrangement for rearranging the generated one-dimensional data strings by a predetermined sorting rule. And a variable length code step for performing variable length encoding on the rearranged one-dimensional data string.
  • the moving image decoding method of the present invention is the moving image decoding method for decoding moving image data encoded by the moving image encoding method, wherein an MXN block (M and N are arbitrary integers) is a unit. It is characterized by including a step of decoding the encoded information.
  • the moving image decoding method of the present invention is the moving image decoding method for decoding moving image data encoded by the moving image encoding method, wherein an MXN block (M and N are arbitrary integers) is a unit.
  • a decoding step for decoding the encoded information wherein the decoding step includes a variable-length decoding step for variable-length decoding the encoded information, and a plurality of encoding information obtained from the variable-length decoding.
  • a data string generation step that generates a one-dimensional data string, data that sorts multiple generated one-dimensional data strings according to a predetermined sorting rule, a sorting step, and the sorted one-dimensional data string are converted to an MXN block.
  • a data string conversion step for converting the encoded information into a one-dimensional data string obtained by scanning.
  • each block of the moving image encoding apparatus in particular, the data sort unit 13 and the variable length encoding unit 14 may be configured by hardware logic, or software using a CPU as follows. Can be realized by.
  • the moving image encoding apparatus includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM that expands the program. (random access memory), and a storage device (recording medium) such as a memory for storing the program and various data.
  • the object of the present invention is to provide a moving image encoding device that is software that realizes the above-described functions.
  • a recording medium in which the program code (execution format program, intermediate code program, source program) of the control program is recorded so as to be readable by a computer is supplied to the above moving image encoding device, and the computer (or CPU or MPU) records it. It can also be achieved by reading and executing the program code recorded on the medium.
  • the recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk Z hard disk, and an optical disk such as CD-ROM / MOZ MDZDVD / CD-R.
  • a disk system such as a magnetic tape and a cassette tape
  • a magnetic disk such as a floppy (registered trademark) disk Z hard disk
  • an optical disk such as CD-ROM / MOZ MDZDVD / CD-R.
  • a disk system, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROMZEPROM / EEPROMZ flash ROM can be used.
  • the moving picture coding apparatus may be configured to be connectable to a communication network, and the program code may be supplied via the communication network.
  • the communication network is not particularly limited.
  • the Internet intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication A net or the like is available.
  • the transmission medium constituting the communication network is not particularly limited.
  • IEEE1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc. ooth (registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, etc. can also be used.
  • the present invention can also be realized in the form of a computer data signal embedded in a carrier wave, in which the program code is embodied by electronic transmission.
  • the present invention can also be applied to a device that requires high-efficiency encoding of high-definition moving image data, such as a recording / playback device such as an HDTV.

Abstract

A dynamic image encoding device includes: a buffer memory for storing encoding information required for encoding respective blocks of an image; and an encoding unit having a data sort unit and a variable-length encoding unit for encoding a plurality of encoding information stored in the buffer memory in a unit of M × N (M and N are arbitrary integers). Thus, it is possible to provide a dynamic image encoding unit capable of performing encoding using a spatial correlation in a wide range.

Description

明 細 書  Specification
動画像符号化装置、動画像復号装置  Video encoding device, video decoding device
技術分野  Technical field
[0001] 本発明は、動画像データの高能率符号化技術を実現するための動画像符号化装 置および動画像復号装置に関する。  The present invention relates to a moving image encoding device and a moving image decoding device for realizing a high-efficiency encoding technique for moving image data.
背景技術  Background art
[0002] 動画像データの高能率符号化を実現する従来技術としては、非特許文献 1に記載 の H.264/AVC動画像符号化技術が挙げられる。  [0002] As a conventional technique for realizing high-efficiency encoding of moving image data, the H.264 / AVC moving image encoding technology described in Non-Patent Document 1 can be cited.
[0003] 上記 H.264/AVC動画符号化技術を適用した動画像符号化装置について、図面を 参照しながら説明する。  [0003] A video encoding apparatus to which the above H.264 / AVC video encoding technology is applied will be described with reference to the drawings.
[0004] 図 13は、従来技術の動画像符号化装置のブロック図である。  FIG. 13 is a block diagram of a conventional video encoding device.
[0005] 図 13において、符号 1は、符号化済みの画像を蓄積するフレームメモリ、符号 2は、 符号化対象の画像に用いる予測方式および予測パラメータを決定する予測方式制 御部、符号 3は、フレームメモリ 1に蓄積された符号ィヒ済み画像から予測画像を生成 する予測画像生成部、符号 4は、符号化対象の画像と予測画像の差分画像を生成 する差分画像生成部、符号 5は、差分画像を直交変換する直交変換部、符号 6は、 直交変換部 5の出力データを量子化し予測残差データを出力する量子化部、符号 7 は、量子化部 6と逆の操作によって入力データを逆量子化する逆量子化部、符号 8 は、直交変換部 5と逆の操作によって入力データを逆直交変換する逆変換部、符号 9は、逆変換部 8の出力データと予測画像を合成する画像合成部、符号 10は、量子 化部 6の出力する 2次元データをジグザグスキャンすることで 1次元データ列に並べ 替えるデータスキャン部、符号 11は、予測方式、予測パラメータ、及び、予測残差デ ータを個々の要素別に可変長符号化する可変長符号化部である。  In FIG. 13, reference numeral 1 is a frame memory for storing encoded images, reference numeral 2 is a prediction method control unit for determining a prediction method and prediction parameters used for an image to be encoded, and reference numeral 3 is , A prediction image generation unit that generates a prediction image from the encoded image stored in the frame memory 1, reference numeral 4 is a difference image generation unit that generates a difference image between the image to be encoded and the prediction image, and reference numeral 5 , An orthogonal transform unit that orthogonally transforms the difference image, code 6 is a quantization unit that quantizes the output data of the orthogonal transform unit 5 and outputs predicted residual data, and code 7 is input by an operation reverse to that of the quantization unit 6 Inverse quantization unit that performs inverse quantization of data, code 8 is an inverse transform unit that performs inverse orthogonal transform of input data by the reverse operation of orthogonal transform unit 5, and code 9 is the output data and prediction image of inverse transform unit 8 Image composition part to be composed, symbol 10 is quantity The data scanning unit, code 11, which rearranges the two-dimensional data output from the digitizing unit 6 into a one-dimensional data string by zigzag scanning, has a variable prediction method, prediction parameters, and prediction residual data for each element This is a variable-length encoding unit that performs long encoding.
[0006] 上記構成の動画像符号化装置の動作について、図 13に加え、図 14の動作フロー 図を参照しながら説明する。なお、本動画像符号化装置は、画像を 16x16画素の矩 形領域からなるマクロブロック毎に以下の処理を行うものとする。  [0006] The operation of the moving picture encoding apparatus having the above configuration will be described with reference to the operation flowchart of FIG. 14 in addition to FIG. Note that the video encoding apparatus performs the following processing for each macroblock consisting of a 16 × 16 pixel rectangular area.
[0007] STEP1) 予測方式制御部 2は、符号化対象マクロブロックに用いる予測方式および 予測パラメータを決定する(S 101)。 [0007] STEP 1) The prediction method control unit 2 includes a prediction method used for the encoding target macroblock and A prediction parameter is determined (S101).
[0008] ここで、予測方式は、画面内予測、画面間予測(前方予測、後方予測、双方向予測 )のいずれか 1つを選択する。  [0008] Here, as the prediction method, one of intra prediction and inter prediction (forward prediction, backward prediction, bidirectional prediction) is selected.
[0009] また、予測パラメータとして、予測を行う単位(マクロブロック分割パターン)、画面内 予測の場合は、複数ある画面内予測方法のいずれを適用するか、画面間予測の場 合は、動きベクトル、予測に用いる参照画像の組み合わせが決定される。なお、予測 方式および予測パラメータの決定方法は、全ての予測方式および予測パラメータの 組み合わせで予測画像を予測画像生成部 3にて生成し、符号化対象となる画像との 相関が最も高いものを用いることが望ましいが、処理量が膨大となるため、予め選択 候補となる予測方式および予測パラメータを限定し、その候補内で最も相関の高レヽ 予測画像が得られた予測方式および予測ノ メータを選択する方法であっても構わ ない。  [0009] In addition, as a prediction parameter, a unit (macroblock division pattern) for prediction, in the case of intra prediction, which of a plurality of intra prediction methods is applied, or in the case of inter prediction, a motion vector A combination of reference images used for prediction is determined. Note that the prediction method and prediction parameter determination method uses the prediction image generation unit 3 that generates a prediction image with a combination of all prediction methods and prediction parameters, and has the highest correlation with the image to be encoded. However, since the amount of processing is enormous, the prediction methods and prediction parameters that are candidates for selection are limited in advance, and the prediction method and prediction parameter that obtains the most highly correlated prediction image among the candidates are selected. It is possible to use this method.
[0010] STEP2) 可変長符号化部 11は、予測方式制御部 2で決定した予測方式及び予測 パラメータを要素別に可変長符号化する(S102)。  STEP 2) The variable length coding unit 11 performs variable length coding on the prediction scheme and the prediction parameter determined by the prediction scheme control unit 2 for each element (S102).
[0011] STEP3) 予測画像生成部 3は、予測方式制御部 2が決定した予測方式および予測 パラメータに基づき当該マクロブロックの予測画像を生成する(S103)。 STEP 3) The predicted image generation unit 3 generates a predicted image of the macroblock based on the prediction method and the prediction parameter determined by the prediction method control unit 2 (S103).
[0012] STEP4) 差分画像生成部 4は、当該マクロブロックの画像と予測画像の差分画像を 生成する(S104)。 [0012] STEP 4) The difference image generation unit 4 generates a difference image between the macroblock image and the predicted image (S104).
[0013] STEP5) 直交変換部 5は、当該マクロブロックの差分画像に対し、 4x4画素ブロック 毎に直交変換を行う(S105)。  [0013] STEP 5) The orthogonal transform unit 5 performs orthogonal transform on the difference image of the macroblock for each 4x4 pixel block (S105).
[0014] STEP6) 量子化部 6は、直交変換部 5の出力する 4x4ブロックデータに対し量子化 を行う(S106)。 STEP 6) The quantization unit 6 performs quantization on the 4 × 4 block data output from the orthogonal transform unit 5 (S106).
[0015] STEP7) 逆量子化部 7は、量子化部 6の出力する予測残差データに対し、逆量子 化を行う(S107)。  STEP 7) The inverse quantization unit 7 performs inverse quantization on the prediction residual data output from the quantization unit 6 (S107).
[0016] STEP8) 逆変換部 8は、逆量子化部 7の出力する 4x4ブロックデータに対し逆直交 変換を行う(S 108)。  [0016] STEP 8) The inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S108).
[0017] STEP9) データスキャン部 10は、量子化部 6が出力した予測残差データをジグザグ スキャンし、 1次元データ列へ並べ替える(S109)。 [0018] STEP10) 可変長符号化部 11は、 1次元化された予測残差データの各要素を可変 長符号化する (S 110)。 STEP 9) The data scanning unit 10 performs zigzag scanning on the prediction residual data output from the quantization unit 6 and rearranges it into a one-dimensional data sequence (S109). [0018] STEP 10) The variable length coding unit 11 performs variable length coding on each element of the one-dimensional prediction residual data (S 110).
[0019] STEP11) マクロブロックを構成する全ての 4x4画素ブロックについて STEP5〜10を 繰り返す(S1 11)。 [Step 11] Steps 5 to 10 are repeated for all the 4 × 4 pixel blocks constituting the macro block (S11 11).
[0020] STEP12) 画像合成部 9は、逆変換部 8の出力データと予測画像生成部 3で生成さ れた予測画像を合成し、合成した画像を符号化し、符号化済の画像として以降の符 号化に利用するためフレームメモリ 1に蓄積する(S 112)。  [0020] STEP 12) The image synthesis unit 9 synthesizes the output data of the inverse transformation unit 8 and the predicted image generated by the predicted image generation unit 3, encodes the synthesized image, and sets the encoded image as a subsequent image. It is stored in the frame memory 1 for use in encoding (S112).
[0021] STEP13) 符号化対象の画像を構成する全てのマクロブロックについて、 STEP1〜1 2を繰り返す(S I 13)。  [Step 13] Steps 1 to 12 are repeated for all macroblocks constituting the image to be encoded (S I 13).
非特許乂 ffl^l: ITU- 1' Recommendation H.2り 4: Advanced Video し oaing ror generic audiovisual services (2003)  Non-patent 乂 ffl ^ l: ITU-1 'Recommendation H.2 4: Advanced Video and oaing ror generic audiovisual services (2003)
発明の開示  Disclosure of the invention
[0022] 以上説明したように、従来の動画像符号化装置においては、 16x16画素の矩形領 域からなるマクロブロックを処理単位として、符号化情報(予測方式、予測パラメータ 、予測残差データ等)の符号化が行われる。マクロブロックサイズは、空間解像度の 低い画像を符号化する場合も、空間解像度の高い画像を符号化する場合でも一定 である。しかしながら、一般に空間解像度が高くなるほど、符号化対象となる画像の 空間的な相関は高くなるため、符号ィ匕情報についても隣接マクロブロック間で高い相 関を示す傾向がある。  [0022] As described above, in the conventional video encoding apparatus, encoding information (prediction method, prediction parameter, prediction residual data, etc.) is processed with a macroblock consisting of a rectangular area of 16x16 pixels as a processing unit. Is encoded. The macroblock size is constant both when encoding an image with a low spatial resolution and when encoding an image with a high spatial resolution. However, in general, the higher the spatial resolution, the higher the spatial correlation of the image to be encoded. Therefore, the code information also tends to show a high correlation between adjacent macroblocks.
[0023] したがって、従来の動画像符号化装置では、マクロブロックサイズよりも広い範囲で 高い相関の現れるような高解像度の画像を符号化する場合では、広範囲での空間 的な相関を活力 た符号化を行うことができないといった問題が生じる。  [0023] Therefore, in a conventional video encoding apparatus, when encoding a high-resolution image in which a high correlation appears in a wider range than the macroblock size, a code that makes use of a spatial correlation in a wide range is used. There arises a problem that the conversion cannot be performed.
[0024] 本発明は、上記の問題点に鑑みなされたものであり、その目的は、マクロブロックサ ィズよりも広い範囲で高い相関の現れるような高解像度の画像を符号化する場合で あっても、広範囲での空間的な相関を活力した符号ィ匕を行うことができる動画像符号 化装置を提供することにある。  [0024] The present invention has been made in view of the above-described problems, and an object of the present invention is to encode a high-resolution image in which high correlation appears in a wider range than the macroblock size. However, it is an object of the present invention to provide a moving picture coding apparatus capable of performing coding that uses spatial correlation in a wide range.
[0025] 本発明に係る動画像符号化装置は、上記課題を解決するために、画像を複数のブ ロックに分割し符号化する動画像符号化装置において、前記各ブロックの符号化に それぞれ必要な符号化情報を記憶する一時記憶手段と、前記一時記憶手段に記憶 された複数の符号化情報に対して、 M X Nブロック(M, Nは任意の整数)を一単位と して符号化を行う符号ィ匕手段とを備えてレ、ることを特徴としてレ、る。 [0025] In order to solve the above-described problem, the moving picture encoding apparatus according to the present invention is a moving picture encoding apparatus that divides an image into a plurality of blocks and encodes the blocks. Each temporary storage means for storing necessary encoding information and a plurality of pieces of encoding information stored in the temporary storage means are encoded with an MXN block (M and N are arbitrary integers) as a unit. It is characterized in that it is provided with sign key means for performing the above.
[0026] 前記符号化手段は、具体的には、前記一時記憶手段に記憶された M X Nブロック の符号化情報を、所定の走査手順で走査して 1次元データ列に変換するデータ列 変換手段と、変換後の 1次元データ列から所定の規則で複数の 1次元データ列を生 成するデータ列生成手段と、生成した複数の 1次元データ列を所定の並べ替え規則 で並べ替えるデータ並べ替え手段と、並べ替えられた 1次元データ列に対して可変 長符号化を行う可変長符号化手段とを備えてレ、るのが好ましレ、。  [0026] Specifically, the encoding means includes a data string conversion means for scanning the MXN block encoding information stored in the temporary storage means by a predetermined scanning procedure and converting it into a one-dimensional data string. A data string generating means for generating a plurality of one-dimensional data strings from the converted one-dimensional data string by a predetermined rule, and a data rearranging means for rearranging the generated one-dimensional data strings by a predetermined sorting rule. And variable length encoding means for performing variable length encoding on the rearranged one-dimensional data string.
[0027] また、前記データ列変換手段は、前記符号化情報の種類毎に、異なる走査順序で 1次元データ列への変換を行ってもよい。  [0027] Further, the data string conversion means may perform conversion into a one-dimensional data string in a different scanning order for each type of the encoded information.
[0028] また、前記データ並べ替え手段は、 BWT(Burrows-Wheeler Transform)を用いて、 1 次元データ列の並べ替えを行ってもよい。  [0028] Further, the data rearranging means may rearrange the one-dimensional data string using BWT (Burrows-Wheeler Transform).
[0029] 前記データ並べ替え手段は、符号化対象の空間解像度が所定の閾値未満の場合 、 Ml X N1ブロック毎に前記 1次元データ列の並べ替えを行い、符号化対象の空間 解像度が所定の閾値以上の場合、 M2 X N2ブロック毎に前記 1次元データ列の並 ベ替えを行うとき、ブロックサイズの関係が Ml X NK M2 X N2を満たすようにして あよい。  [0029] When the spatial resolution of the encoding target is less than a predetermined threshold, the data rearranging means rearranges the one-dimensional data sequence for each Ml X N1 block, and the spatial resolution of the encoding target is predetermined. If the threshold is greater than or equal to the threshold, when the one-dimensional data sequence is rearranged for each M2 X N2 block, the block size relationship may satisfy Ml X NK M2 X N2.
[0030] 前記符号化情報は、符号化対象となる動画像に適用する予測方式を示すデータ、 および当該予測方式と共に用いる予測パラメータ、および符号化対象となる動画像 に当該予測方式を適用して求められる予測残差データのすくなくとも一つであること が望ましい。  [0030] The encoding information includes data indicating a prediction method to be applied to a moving image to be encoded, a prediction parameter used together with the prediction method, and applying the prediction method to a moving image to be encoded. It is desirable to have at least one of the required prediction residual data.
[0031] 本発明の動画像復号装置は、上記の課題を解決するために、前記動画像符号ィ匕 装置によって符号化された動画像データを復号する動画像復号装置において、 M X Nブロック (M, Nは任意の整数)を一単位として符号化された符号化情報を復号 する復号手段を備えてレ、ることを特徴としてレ、る。  [0031] In order to solve the above-described problem, the moving picture decoding apparatus of the present invention is an MXN block (M, M, M) that decodes moving picture data encoded by the moving picture encoding apparatus. It is characterized by comprising decoding means for decoding encoded information encoded with N being an arbitrary integer) as a unit.
[0032] また、前記復号手段は、符号化された符号化情報を可変長復号する可変長復号 手段と、可変長復号された符号化情報から複数の 1次元データ列を生成するデータ 列生成手段と、生成した複数の 1次元データ列を所定の並べ替え規則で並べ替える データ並べ替え手段と、並べ替えられた 1次元データ列を、 M X Nブロックの符号化 情報を走査して得られる 1次元データ列に変換するデータ列変換手段とを有してもよ レ、。 [0032] The decoding means includes variable-length decoding means for variable-length decoding encoded coding information, and data for generating a plurality of one-dimensional data sequences from the variable-length decoded encoding information Obtained by scanning the MXN block encoding information and the data sorting means that sorts the generated one-dimensional data strings according to a predetermined sorting rule, and the sorted one-dimensional data strings You may have a data string conversion means to convert to a one-dimensional data string.
[0033] 前記データ列変換手段は、前記符号化情報の種類毎に、異なる逆走査順序で 1次 元データ列に変換してもよい。  [0033] The data string converting means may convert the data into a one-dimensional data string in a different reverse scanning order for each type of encoded information.
[0034] 前記データ並べ替え手段は、逆 BWT(Burrows- Wheeler Transform)を用いて 1次元 データ列の並べ替えを行ってもよレ、。  [0034] The data rearranging means may rearrange one-dimensional data strings using inverse BWT (Burrows-Wheeler Transform).
[0035] 前記データ並べ替え手段は、符号化対象の空間解像度が所定の閾値未満の場合 、 Ml X N1ブロック毎に前記 1次元データ列の並べ替えを行い、符号化対象の空間 解像度が所定の閾値以上の場合、 M2 X N2ブロック毎に前記 1次元データ列の並 ベ替えを行うとき、ブロックサイズの関係が M1 X NK M2 X N2を満たすのが望まし レ、。  [0035] When the spatial resolution of the encoding target is less than a predetermined threshold, the data rearranging means rearranges the one-dimensional data sequence for each Ml X N1 block, and the spatial resolution of the encoding target is predetermined. If the threshold is greater than or equal to the threshold, it is desirable that the relationship between the block sizes satisfy M1 X NK M2 X N2 when rearranging the one-dimensional data sequence for each M2 X N2 block.
[0036] 前記符号化情報は、符号化対象となる動画像に適用する予測方式を示すデータ、 および当該予測方式と共に用いる予測パラメータ、および符号化対象となる動画像 に当該予測方式を適用して求められる予測残差データのすくなくとも一つであること が望ましい。  [0036] The encoding information includes data indicating a prediction scheme to be applied to a moving image to be encoded, a prediction parameter used together with the prediction method, and the prediction scheme applied to a moving image to be encoded. It is desirable to have at least one of the required prediction residual data.
[0037] 本発明に係る動画像符号化装置は、以上のように、画像を複数のブロックに分割し 符号化する動画像符号化装置において、前記各ブロックの符号化にそれぞれ必要 な符号化情報を記憶する一時記憶手段と、前記一時記憶手段に記憶された複数の 符号化情報に対して、 M X Nブロック(M, Nは任意の整数)を一単位として符号ィ匕を 行う符号ィ匕手段とを備えていることで、空間解像度の違いによる隣接ブロック間の相 関の高さを考慮した符号化が可能となり、この結果、低解像度の画像から高解像度 の画像まで幅広く符号化を行うことができるという効果を奏する。  [0037] As described above, the moving image encoding apparatus according to the present invention is a moving image encoding apparatus that divides and encodes an image into a plurality of blocks, and encodes information necessary for encoding each block. A temporary storage means for storing the code, and a code key means for performing a code key for a plurality of pieces of encoded information stored in the temporary storage means with an MXN block (M and N are arbitrary integers) as a unit; This enables encoding that takes into account the high correlation between adjacent blocks due to differences in spatial resolution. As a result, it is possible to perform wide encoding from low-resolution images to high-resolution images. There is an effect that can be done.
[0038] また、本発明に係る動画像復号装置は、本発明に係る動画像符号化装置によって 符号化された高効率の動画像符号化データを復号 '再生することが可能である。 図面の簡単な説明  [0038] Further, the moving picture decoding apparatus according to the present invention can decode and reproduce the highly efficient moving picture encoded data encoded by the moving picture encoding apparatus according to the present invention. Brief Description of Drawings
[0039] [図 1]本発明の実施形態を示すものであり、動画像符号化装置の要部構成を示すブ ロック図である。 FIG. 1 shows an embodiment of the present invention, and is a block diagram showing a main part configuration of a video encoding device. FIG.
[図 2]図 1に示す動画像符号化装置による符号化処理の流れを示すフローチャートで ある。  FIG. 2 is a flowchart showing a flow of encoding processing by the video encoding apparatus shown in FIG. 1.
[図 3(a)]4 X 4のマクロブロックの一例を示す図である。  FIG. 3 (a) is a diagram illustrating an example of a 4 × 4 macroblock.
[図 3(b)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 3 (b)] FIG. 3 (b) is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
[図 3(c)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 3 (c)] FIG. 3 (c) is a diagram showing a strike pattern of the macroblock shown in FIG. 3 (a).
[図 3(d)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 3 (d)] is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
[図 3(e)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 3 (e)] is a diagram showing a running pattern of the macroblock shown in FIG. 3 (a).
[図 3(f)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 3 (f)] FIG. 3 (a) is a diagram showing a strike pattern of the macroblock shown in FIG. 3 (a).
[図 3(g)]図 3 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 3 (g)] Fig. 3 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 3 (a).
[図 4(a)]8 X 8のマクロブロックの走查パターンを示す図である。  FIG. 4 (a) is a diagram showing a running pattern of an 8 × 8 macroblock.
[図 4(b)]8 X 8のマクロブロックの走查パターンを示す図である。  FIG. 4 (b) is a diagram showing a running pattern of an 8 × 8 macroblock.
[図 4(c)]8 X 8のマクロブロックの走査パターンを示す図である。  FIG. 4 (c) is a diagram showing a scan pattern of an 8 × 8 macroblock.
[図 4(d)]8 X 8のマクロブロックの走査パターンを示す図である。  FIG. 4 (d) is a diagram showing a scan pattern of an 8 × 8 macroblock.
[図 4(e)]8 X 8のマクロブロックの走査パターンを示す図である。  FIG. 4 (e) is a diagram showing a scan pattern of an 8 × 8 macroblock.
[図 4(f)]8 X 8のマクロブロックの走査パターンを示す図である。  FIG. 4 (f) is a diagram showing a scan pattern of an 8 × 8 macroblock.
園 5] (a)〜(e)は図 1に示す動画像符号ィ匕装置に備えられたデータソート部によるデ ータソート処理の流れを示すフローチャートである。 5] (a) to (e) are flowcharts showing the flow of the data sorting process by the data sorting unit provided in the moving picture coding apparatus shown in FIG.
[図 6(a)]4 X 4の固定サイズのマクロブロックの一例を示す図である。  FIG. 6 (a) is a diagram showing an example of a 4 × 4 fixed size macroblock.
[図 6(b)]図 6 (a)で示したマクロブロックの走査パターンを示す図である。  FIG. 6 (b) is a diagram showing a scanning pattern of the macroblock shown in FIG. 6 (a).
[図 6(c)]図 6 (a)で示したマクロブロックの走査パターンを示す図である。  FIG. 6 (c) is a diagram showing a scanning pattern of the macroblock shown in FIG. 6 (a).
[図 6(d)]図 6 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 6 (d)] Fig. 6 (d) is a diagram showing a running pattern of the macroblock shown in Fig. 6 (a).
[図 6(e)]図 6 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 6 (e)] Fig. 6 (a) is a diagram showing a strike pattern of the macroblock shown in Fig. 6 (a).
[図 6(f)]図 6 (a)で示したマクロブロックの走查パターンを示す図である。  [FIG. 6 (f)] FIG. 6 (a) is a diagram showing a strike pattern of the macroblock shown in FIG. 6 (a).
[図 6(g)]図 6 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 6 (g)] Fig. 6 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 6 (a).
[図 7(a)]可変サイズのマクロブロックの一例を示す図である。  FIG. 7 (a) is a diagram illustrating an example of a variable-size macroblock.
[図 7(b)]図 7 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 7 (b)] Fig. 7 (b) is a diagram showing a running pattern of the macroblock shown in Fig. 7 (a).
[図 7(c)]図 7 (a)で示したマクロブロックの走查パターンを示す図である。 [図 7(d)]図 7 (a)で示したマクロブロックの走査パターンを示す図である。 [FIG. 7 (c)] FIG. 7 (c) is a diagram showing a running pattern of the macroblock shown in FIG. 7 (a). FIG. 7 (d) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
[図 7(e)]図 7 (a)で示したマクロブロックの走査パターンを示す図である。  FIG. 7 (e) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
[図 7(f)]図 7 (a)で示したマクロブロックの走査パターンを示す図である。  FIG. 7 (f) is a diagram showing a scanning pattern of the macroblock shown in FIG. 7 (a).
[図 7(g)]図 7 (a)で示したマクロブロックの走查パターンを示す図である。  [Fig. 7 (g)] Fig. 7 (g) is a diagram showing a strike pattern of the macroblock shown in Fig. 7 (a).
[図 8]予想残差データの走查パターンの例を示す図である。  FIG. 8 is a diagram showing an example of a running pattern of predicted residual data.
[図 9]図 1に示す動画像符号化装置に備えられた可変長符号化部による可変長符号 化方法の一例を示す図である。  FIG. 9 is a diagram illustrating an example of a variable-length encoding method by a variable-length encoding unit provided in the video encoding apparatus shown in FIG. 1.
[図 10]本発明の他の実施形態を示すものであり、動画像復号装置の要部構成を示 すブロック図である。  FIG. 10, showing another embodiment of the present invention, is a block diagram showing a main configuration of a video decoding device.
[図 11]図 10に示す動画像復号装置の復号処理の流れを示すフローチャートである。  FIG. 11 is a flowchart showing a flow of decoding processing of the video decoding device shown in FIG.
[図 12] (a)〜 (g)は図 10に示す動画像復号装置に備えられたデータ逆ソート部によ るデータ逆ソート処理の流れを示す図である。  [FIG. 12] (a) to (g) are diagrams showing the flow of data reverse sorting processing by the data reverse sorting unit provided in the moving picture decoding apparatus shown in FIG.
[図 13]従来の動画像符号化装置の要部構成を示すブロック図である。  FIG. 13 is a block diagram showing a main configuration of a conventional moving picture encoding device.
[図 14]図 13に示す動画像符号化装置の符号化処理の流れを示すフローチャートで ある。  FIG. 14 is a flowchart showing a flow of encoding processing of the video encoding apparatus shown in FIG.
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0040] 〔実施形態 1〕  [Embodiment 1]
本発明の第 1の実施形態の動画像符号ィヒ装置について図面を参照しながら説明 する。図 1は本実施形態における動画像符号化装置のブロック図である。  A video encoding device according to a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of a moving picture coding apparatus according to this embodiment.
[0041] 図 1において、符号 12は、複数マクロブロックの符号化情報(予測方式、予測パラメ ータ、予測残差データ)を一時保存するためのバッファメモリ、符号 13は、ノ ッファメ モリに記録された符号化情報 (予測方式、予測パラメータ、予測残差データ)を所定の 方法で並べ替えるデータソート部、符号 14は、データソート部 13の出力結果を可変 長符号化する可変長符号化部である。上記データソート部 13および可変長符号化 部 14によって、バッファメモリ 12に記憶された複数の符号化情報 (予測方式、予測パ ラメータ、予測残差データ)に対して、 M X Nブロック(M, Nは任意の整数)を一単位 として符号化を行う符号ィ匕部 (符号ィ匕手段) 100を構成している。  In FIG. 1, reference numeral 12 denotes a buffer memory for temporarily storing encoding information (prediction method, prediction parameters, prediction residual data) of a plurality of macroblocks, and reference numeral 13 is recorded in a nota memory. Data sorting unit that rearranges the encoded information (prediction method, prediction parameter, prediction residual data) in a predetermined method, and code 14 is a variable length coding unit that performs variable length coding on the output result of the data sorting unit 13 It is. The MXN block (M, N is determined as follows) for a plurality of pieces of encoded information (prediction method, prediction parameter, prediction residual data) stored in the buffer memory 12 by the data sorting unit 13 and the variable length encoding unit 14. A code key unit (code key means) 100 is configured to perform coding with an arbitrary integer) as a unit.
[0042] なお、従来技術の動画像符号化装置(図 13)と同一機能を有するブロックについて は、名称および符号を同一とし説明を省略する。 [0042] It should be noted that the block having the same function as that of the conventional video encoding device (Fig. 13). Are the same in name and code and will not be described.
[0043] 上記構成の動画像符号ィヒ装置の動作の概要について図 1に加え、図 2の動作フロ 一図を参照して説明する。  [0043] An outline of the operation of the moving picture coding apparatus having the above-described configuration will be described with reference to the flowchart of FIG. 2 in addition to FIG.
[0044] STEP1) 予測方式制御部 2は、符号ィヒ対象マクロブロックに用いる予測方式および 予測パラメータを決定する(S1)。 STEP 1) The prediction method control unit 2 determines a prediction method and a prediction parameter to be used for the codeh target macroblock (S1).
[0045] 予測方式および予測パラメータの決定方法については、従来技術の動画像符号 化装置と同様であり、説明を省略する。なお、決定した予測方式および予測パラメ一 タはバッファメモリ 12に記録される。 [0045] The prediction method and the prediction parameter determination method are the same as those of the conventional video encoding apparatus, and the description thereof will be omitted. The determined prediction method and prediction parameters are recorded in the buffer memory 12.
[0046] STEP2) 予測画像生成部 3は、予測方式制御部 2が決定した予測方式および予測 パラメータに基づき当該マクロブロックの予測画像を生成する(S2)。 STEP 2) The predicted image generation unit 3 generates a predicted image of the macroblock based on the prediction method and the prediction parameter determined by the prediction method control unit 2 (S2).
[0047] STEP3) 差分画像生成部 4は、当該マクロブロックの画像と予測画像の差分画像を 生成する(S3)。 [0047] STEP 3) The difference image generation unit 4 generates a difference image between the macroblock image and the predicted image (S3).
[0048] STEP4) 直交変換部 5は、当該マクロブロックの差分画像に対し、 4x4画素ブロック 毎に直交変換を行う(S4)。  [0048] STEP 4) The orthogonal transform unit 5 performs orthogonal transform on the difference image of the macroblock for each 4x4 pixel block (S4).
[0049] STEP5) 量子化部 6は、直交変換部 5の出力する 4x4ブロックデータに対し量子化 を行う。出力される予測残差データは、バッファメモリ 12に記録される(S5)。 [0049] STEP 5) The quantization unit 6 quantizes the 4x4 block data output from the orthogonal transform unit 5. The output prediction residual data is recorded in the buffer memory 12 (S5).
[0050] STEP6) 逆量子化部 7は、量子化部 6の出力する予測残差データに対し、逆量子 化を行う(S6)。 [0050] STEP 6) The inverse quantization unit 7 performs inverse quantization on the prediction residual data output from the quantization unit 6 (S6).
[0051] STEP7) 逆変換部 8は、逆量子化部 7の出力する 4x4ブロックデータに対し逆直交 変換を行う(S 7)。  [0051] STEP 7) The inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S7).
[0052] STEP8) マクロブロックを構成する全ての 4 X 4画素ブロックについて、 STEP4〜7を 繰り返す(S8)。  [0052] STEP 8) Repeat steps 4 to 7 for all 4 X 4 pixel blocks constituting the macro block (S8).
[0053] STEP9) 画像合成部 9は、逆変換部 8の出力データと予測画像生成部 3で生成さ れた予測画像を合成し、生成された画像を以降の符号ィ匕に利用するためフレームメ モリ 1に蓄積する(S9)。  STEP 9) The image composition unit 9 synthesizes the output data of the inverse transform unit 8 and the prediction image generated by the prediction image generation unit 3, and uses the generated image for the subsequent sign. Accumulate in memory 1 (S9).
[0054] STEP10) 符号化対象の画像を構成する全てのマクロブロックについて、 STEP:!〜 9 を繰り返す(S 10)。  STEP 10) STEP:! To 9 are repeated for all macroblocks constituting the image to be encoded (S 10).
[0055] STEP11) データソート部 13は、 M X Nマクロブロック(M, Nは所定の整数)からな るマクロブロック群を単位としてバッファメモリ 12に記録された予測方式、予測パラメ ータ、および予測残差データのそれぞれを所定の手順で並べ替える(Sl l)。なお、 データソート部 13の詳細については後述する。 [0055] STEP 11) The data sorting unit 13 is composed of MXN macroblocks (M and N are predetermined integers). Each of the prediction scheme, prediction parameters, and prediction residual data recorded in the buffer memory 12 is rearranged in a predetermined procedure in units of macroblock groups (Sl1). Details of the data sorting unit 13 will be described later.
[0056] STEP12) 可変長符号化部 14は、データソート部 13が出力する予測方式、予測パ ラメータおよび予測残差データのそれぞれをマクロブロック群単位で可変長符号ィ匕 する(S12)。なお、可変長符号ィ匕部 14の詳細についても後述する。  [0056] STEP 12) The variable length coding unit 14 performs variable length coding for each of the prediction scheme, prediction parameters, and prediction residual data output from the data sorting unit 13 in units of macroblocks (S12). The details of the variable length code key unit 14 will also be described later.
[0057] STEP13) 符号化対象の画像を構成する全てのマクロブロック群の符号化が終わる まで、 STEP1〜12を繰り返す(S13)。  STEP 13) Steps 1 to 12 are repeated until encoding of all the macroblock groups constituting the image to be encoded is completed (S13).
[0058] 以上の手順により、本実施形態の動画像符号化装置では動画像データの符号化 が行われる。なお、上述の説明では、 STEP11 , 12において、予測方式、予測パラメ ータ、及び予測残差データをマクロブロック群単位で並べ替え、それぞれ可変長符 号化するとして説明したが、符号ィ匕情報の一部 (例えば予測残差データ)は、データ ソート部 13を介さず、各マクロブロック毎にバッファメモリ 12から可変長符号ィ匕部 14 へ入力し、従来技術と同様に、マクロブロック単位の符号ィヒを行う構成であっても構 わない。  With the above procedure, the moving image data is encoded in the moving image encoder of the present embodiment. In the above description, in STEPs 11 and 12, the prediction method, the prediction parameters, and the prediction residual data have been described as being rearranged in units of macroblock groups, and variable length coding is performed. A part of (for example, prediction residual data) is input from the buffer memory 12 to the variable-length code unit 14 for each macroblock without passing through the data sorting unit 13, and in the same manner as in the prior art, It may be a configuration that performs sign coding.
[0059] 次に、上記データソート部 13の詳細について説明する。  Next, details of the data sorting unit 13 will be described.
[0060] データソート部 13は、所定のマクロブロック群の入力データに対して BWT (Burrows -Wheeler Transform)を用いて、効率的な可変長符号化が可能なデータ列へ変換す る。  [0060] The data sorting unit 13 converts the input data of a predetermined macroblock group into a data string that can be efficiently variable-length encoded using BWT (Burrows-Wheeler Transform).
[0061] BWTは、 1次元データ列を対象とした変換であって、例えば、 "0,1,0,1, 0,1,…"とい うように繰り返し同じパターンが現れるデータ列を入力した場合、出力データ列では 入力データ列に比べ、同一値を持つ要素が連続しやすいといった性質を備えた変 換である。したがって、一連の同一値を持つ要素に対して一括して符号割り当て (例 えばランレングス符号)を行うことで、効率的な可変長符号ィ匕を行うことが可能である  [0061] BWT is a conversion for a one-dimensional data sequence. For example, a data sequence in which the same pattern repeatedly appears as "0,1,0,1, 0,1, ..." In this case, the output data string is a conversion having the property that elements having the same value are likely to be continuous compared to the input data string. Therefore, it is possible to perform efficient variable-length code by performing code assignment (for example, run-length code) collectively for elements having a series of identical values.
[0062] 予測方式のように 1マクロブロックに対し 1要素からなるデータを扱う場合、マクロブ ロック群を例えば図 3 (a)に示すような 4 X 4マクロブロック(MB0〜MB15)として処 理するならば、図 3 (b)〜図 3 (g)に示すような走查パターンのいずれか 1つを用いて 、入力データを 1次元データ列へ変換すれば、隣接マクロブロック間の相関によって 繰り返し同じパターンが現れ易くなるため、 BWTの適用によって出力データ列で同一 値を持つ要素が連続し易くなり、効率の良い符号ィヒが可能となる。 [0062] When handling data consisting of one element for one macroblock as in the prediction method, the macroblock group is processed as 4 X 4 macroblocks (MB0 to MB15) as shown in Fig. 3 (a), for example. Then, using one of the scissors patterns shown in Fig. 3 (b) to Fig. 3 (g) If the input data is converted to a one-dimensional data string, the same pattern is likely to appear repeatedly due to the correlation between adjacent macroblocks. A good sign can be achieved.
[0063] 同様に、マクロブロック群を 8 X 8マクロブロックとして処理するならば、図 4 (a)〜図 4 (f)に示すような走查パターンのいずれか 1つを用いれば、 BWT後の出力データ列 で、同一値を持つ要素が連続し易くなることが期待できる。  [0063] Similarly, if a macroblock group is processed as an 8 X 8 macroblock, if any one of the scissor patterns shown in Figs. 4 (a) to 4 (f) is used, It can be expected that elements with the same value in the output data string will be continuous.
[0064] なお、 P 接マクロブロック間での符号ィ匕情報の相関の強さは、符号化対象となる画 像の空間解像度に応じて異なるため、データソート部 13の処理単位であるマクロプロ ック群のサイズおよび走查パターンは、予め複数の画像の符号ィ匕シミュレーションを 行レ、、最も性能の良い組み合わせを用いることが望ましぐ例えば、低解像度の画像 を符号化する場合は、 4x4マクロブロックを処理するマクロブロック群とし、高解像度 の画像を符号化する場合には、 8x8マクロブロックを処理するマクロブロック群とすれ ば、空間解像度の違いによる隣接マクロブロック間の相関の高さを考慮した効率的な 符号化が可能である。また符号化情報の相関の高さは、符号化対象の画像毎でも異 なるため、予め複数の組み合わせを用意し、画像に応じて符号化に使用する組み合 わせを適応的に選択可能な構成としても構わない。また、符号化情報の要素 (予測 方式、予測パラメータ、予測残差データ)毎でも相関の強さが異なるため、符号化情 報の要素毎にマクロブロック群のサイズ、走査パターンを用いる構成であっても構わ ない。  [0064] Note that the strength of the correlation of the code key information between P-connected macroblocks varies depending on the spatial resolution of the image to be encoded, and therefore, the macro processor which is the processing unit of the data sorting unit 13 is used. For the size and running pattern of the group of images, it is desirable to perform a simulation of multiple images in advance and use the combination with the best performance.For example, when encoding a low-resolution image, When a macroblock group that processes 4x4 macroblocks and a high-resolution image is encoded, a macroblock group that processes 8x8 macroblocks has a high correlation between adjacent macroblocks due to differences in spatial resolution. It is possible to perform efficient coding considering the above. In addition, since the correlation level of the encoded information varies depending on the image to be encoded, a plurality of combinations are prepared in advance, and the combination used for encoding can be adaptively selected according to the image. It does not matter. In addition, since the strength of the correlation varies depending on the elements of the encoded information (prediction method, prediction parameter, prediction residual data), the configuration uses the macroblock group size and the scanning pattern for each element of the encoded information. It doesn't matter.
[0065] 図 5に具体的なデータソート部の動作例を示す。なお、図 5 (a)は、データソート部 1 3への入力データの例を示し、ここでは、 4x4マクロブロックのそれぞれに、要素値 0 〜2を持つデータが存在している例を示している。例えば、各要素値が予測方式を表 し、 0 :前方予測、 1 :後方予測、 2 :画面内予測を示すものとする。  FIG. 5 shows a specific operation example of the data sorting unit. FIG. 5 (a) shows an example of input data to the data sorting unit 13 and here, an example in which data having element values 0 to 2 exists in each of 4x4 macroblocks. Yes. For example, each element value represents a prediction method, and 0: forward prediction, 1: backward prediction, 2: intra prediction.
[0066] STEP1) 図 5 (a)に対し、前述の図 3 (b)に示す走查パターンを適用すると、図 5 (b) の 1次元データ列 SOが得られる。  [0066] STEP 1) By applying the scribing pattern shown in Fig. 3 (b) to Fig. 5 (a), the one-dimensional data string SO shown in Fig. 5 (b) is obtained.
[0067] STEP2) SOの要素を 1要素ごと左にシフトし、先頭要素を最後尾へ巡回させて、 1次 元データ列 S1を生成する。同様の操作を繰り返して、 S1〜S15を生成する(図 5 (c) )。  [0067] STEP2) The SO element is shifted to the left by one element, and the first element is circulated to the tail to generate the one-dimensional data string S1. Similar operations are repeated to generate S1 to S15 (FIG. 5 (c)).
[0068] STEP3) S0〜S15を下記の条件で昇順にソートする(図 5 (d) )。 [0069] 2つの 1次元データ列 Sa:=EaO、 Eal、 Ea2、 · · ·、 Eal5、 Sb:=EbO、 Ebl、 · · ·、 Eb[0068] STEP 3) S0 to S15 are sorted in ascending order under the following conditions (FIG. 5 (d)). [0069] Two one-dimensional data strings Sa: = EaO, Eal, Ea2, ..., Eal5, Sb: = EbO, Ebl, ..., Eb
15に対し、 15 against
条件 l : EaO < EbOならば Sa < Sb  Condition l: Sa <Sb if EaO <EbO
条件 2 : Eai = Ebi (0≤i<i<jを満たす任意の i)、かつ、 Eajく Ebjならば Saく Sb STEP4) ソートされた S0〜S15の最後尾の要素を順に出力データ列とし、復号に必 要な付加情報としてソート結果における SOの順位を出力する(図 5 (e) )。  Condition 2: Eai = Ebi (any i satisfying 0≤i <i <j), and if Eaj and Ebj, Sa is Sb STEP4) The last element of sorted S0 to S15 is the output data string in order. The SO rank in the sort result is output as additional information necessary for decoding (Fig. 5 (e)).
[0070] 以上の説明では、 1マクロブロックに 1要素からなるデータをデータソート部 13で扱 う場合について説明したが、 1マクロブロックに複数の要素が存在するデータについ ても同様に取り扱うことができる。 [0070] In the above description, the case where the data sort unit 13 handles data consisting of one element in one macroblock has been described. However, data having a plurality of elements in one macroblock can be handled in the same manner. it can.
[0071] 例えば、画面内予測における予測パラメータである予測方法は、 1つのマクロブロッ クを図 6 (a)に示す例のように、 4 X 4サブマクロブロック(B0〜B15)に分割したサブマ クロブロック毎にデータが存在する力 S、マクロブロック単位での走查パターンと同様、 隣接サブマクロブロック間の相関を考慮して、図 6 (b)〜図 6 (g)に示すようなパター ンを用いればよい。 [0071] For example, the prediction method, which is a prediction parameter in intra prediction, has a sub-matrix obtained by dividing one macro block into 4 X 4 sub-macro blocks (B0 to B15) as in the example shown in Fig. 6 (a). As shown in Fig. 6 (b) to Fig. 6 (g), considering the correlation between adjacent sub-macroblocks, as well as the force S in which data exists for each macroblock and the running pattern in units of macroblocks. Can be used.
[0072] また、フレーム間予測の予測パラメータである動きべクトノレゃ参照画像の指定のよう に、可変サイズのサブマクロブロック毎にパラメータが存在する場合も同様である。例 えば、図 7 (a)に示すような可変サイズのサブマクロブロック B0〜B4が存在する場合、 走査パターン自体は、固定サイズのサブブロックでの例(図 6)と同様に定め、重複し たサブマクロブロックを走査した場合、 2度目以降の走査を無視すればよい。例えば 、図 7 (b)の走査パターンの場合であれば、 B0、 Bl、 B2、 B3、 B4を出力、図 7 (c)の場 合、 B0、 B4、 Bl、 B2、 B3を出力、図 7 (d)の場合、 B0、 Bl、 B4、 B3、 B2を出力するとレヽ つた具合である。  The same applies to the case where there is a parameter for each sub-macroblock of variable size, such as designation of a motion vector reference image that is a prediction parameter for inter-frame prediction. For example, if there are variable-sized sub-macroblocks B0 to B4 as shown in Fig. 7 (a), the scan pattern itself is defined in the same way as in the fixed-size sub-block example (Fig. 6) and overlapped. If a sub-macroblock is scanned, the second and subsequent scans can be ignored. For example, in the case of the scan pattern in Fig. 7 (b), B0, Bl, B2, B3, B4 are output, and in the case of Fig. 7 (c), B0, B4, Bl, B2, B3 are output. In the case of 7 (d), output of B0, Bl, B4, B3, and B2 is satisfactory.
[0073] また、予測残差データの場合も、同様に隣接ブロック間の同一周波数成分に高い 相関があると考えられることから、図 8に示す例のように、 4つの隣接ブロック(B0、 B1 、 B4、 B5)に存在する 16x4要素の予測残差データの操作順序を図中の数値の順で 示す通り、低周波成分から高周波成分に向かって走査し、同様の走查を残りのブロ ックにも適用すれば良い。  [0073] Also, in the case of prediction residual data, the same frequency component between adjacent blocks is considered to have a high correlation, so that four adjacent blocks (B0, B1) as shown in the example of FIG. , B4, B5), as shown in the order of the numerical values in the figure, the 16x4 element prediction residual data operation sequence is scanned from the low-frequency component to the high-frequency component, and the same scan is performed for the remaining blocks. It can be applied to the network.
[0074] 次に、可変長符号化部 14の詳細について説明する。本実施形態の可変長符号化 部 14は、前述の通り、データソート部 13が出力するデータ列が同一値を持つ要素が 連続し易い性質を利用して、ランレングス符号化により効率的な可変長符号化を行う 。なお、ランレングス符号化するにあたり、各要素の符号化には、下記の表 1のゴラム 符号や、ハフマン符号、算術符号等いずれの可変長符号化を用いても構わない。 Next, details of the variable length coding unit 14 will be described. Variable length coding of this embodiment As described above, the unit 14 performs efficient variable-length encoding by run-length encoding, using the property that elements having the same value in the data string output from the data sorting unit 13 are likely to continue. For run-length encoding, variable length encoding such as Goram code, Huffman code, and arithmetic code shown in Table 1 below may be used for encoding each element.
[0075] [表 1] [0075] [Table 1]
Figure imgf000014_0001
Figure imgf000014_0001
具体的な可変長符号化部 14の動作例として、データソート部 13の説明で使用した 図 5の出力結果を可変長符号化する場合について説明する。また、説明のため、各 要素の符号ィ匕には、表 1のゴラム符号を用いる。なお、表 1のゴラム符号を用いて符 号化する場合、予め各要素値の出現確率が、要素値 0の場合が最も高ぐ要素値が 大きくなるにつれて出現確率が低くなるよう定めることで効率的な符号化が可能とな る。  As a specific example of the operation of the variable length encoding unit 14, a case where the output result of FIG. 5 used in the description of the data sorting unit 13 is variable length encoded will be described. For the sake of explanation, the Goram code in Table 1 is used for the sign of each element. In addition, when encoding using the Goram code of Table 1, the probability of occurrence of each element value is determined in advance so that the appearance probability decreases as the element value with the highest element value increases. Encoding becomes possible.
[0076] データ列" 2、 2、 2、 2、 0、 0、 0、 0、 0、 0、 0、 2、 1、 1、 1、 1"を要素値、ラン長の繰り返し で表すと、〃2、 4、 0、 7、 2、 1、 1、 4"となる。これに対し表 1の符号語を割り当てる。ただ し、ラン長 0は存在しないので、ラン長一 1を要素値として符号語の割り当てを行うと、 [0076] When the data string "2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1" is represented by the element value and the repetition of the run length, 〃2, 4, 0, 7, 2, 1, 1, 4 ". To this, the codewords in Table 1 are assigned. However, since run length 0 does not exist, run length 1 is used as the element value. When codewords are assigned,
"011、 00100、 1、 00111、 011、 1、 010、 00100〃となる。さらに、 SOのソート結果の順位 である 0を表 1に当てはめて符号化して、 "011, 00100, 1, 00111, 011, 1, 010, 00100 〃. Furthermore, by assigning 0, which is the order of SO sorting results, to Table 1,
"011、 00100、 1、 00111、 011、 1、 010、 00100、 1"の計 27ビットが可変長符号化部 1 4の出力となる。  A total of 27 bits “011, 00100, 1, 00111, 011, 1, 010, 00100, 1” is the output of the variable length encoding unit 14.
[0077] 参考までに、従来技術と同様、図 5における入力データ列 S0 =〃0、 0、 1、 2、 0、 0、 1 、 2、 0、 0、 1、 2、 0、 0、 2、 2〃の各要素を個別に表 1を用いて可変長符号化した場合、 " 1、 1、 010、 011、 1、 1、 010、 011、 1、 1、 010、 011、 1、 1、 011、 011〃の計 32ビットが必要 であり、本実施形態の動画像符号化装置による可変長符号化の方が、 5ビット符号化 効率が良いことがわ力る。 [0077] For reference, as in the conventional technique, the input data string S0 in FIG. 5 = S0 = 〃0, 0, 1, 2, 0, 0, 1, 2, 2, 0, 0, 1, 2, 0, 0, 2 When each variable of 2〃 is individually encoded with variable length using Table 1, " 1, 1, 010, 011, 1, 1, 010, 011, 1, 1, 010, 011, 1, 1, 011, 011〃 in total, 32 bits are required. It can be seen that the variable-length coding based on the 5 bit coding efficiency is better.
[0078] また、出現する要素値を予測することで、さらなる符号ィ匕効率の改善が期待できる。  Further, by predicting the element values that appear, it is possible to expect further improvement in code efficiency.
[0079] 例えば、予測を用いた符号化の手順は下記の通りである。 [0079] For example, the encoding procedure using prediction is as follows.
[0080] STEP1) 予測値の候補列を、要素値の大きい順で初期化する。予測値の候補列は 、先頭に近いほど出現確率が高ぐ最後尾に近いほど出現確率が低いことを示す。  [0080] STEP 1) Predicted value candidate strings are initialized in descending order of element values. The predicted value candidate string indicates that the closer to the head, the higher the appearance probability, and the closer to the tail, the lower the appearance probability.
[0081] STEP2) 入力データ列の先頭要素値が、予測値の候補列の何番目に現れるかを 検索する。  [0081] STEP 2) A search is performed for the number of the leading element value of the input data string that appears in the predicted value candidate string.
[0082] STEP3) 検索して得られた予測値のインデックスとラン長 _1を出力し、それぞれを 可変長符号化する。  [0082] STEP 3) Output the index and run length_1 of the predicted value obtained by the search, and variable-length encode each.
[0083] STEP4) 予測値の候補列の先頭から、 STEP2でえられた予測値のインデックスまで の予測候補を予測候補列の最後尾に移動する。  STEP 4) The prediction candidates from the beginning of the prediction value candidate sequence to the prediction value index obtained in STEP 2 are moved to the end of the prediction candidate sequence.
[0084] STEP5) 入力データ列の全てのデータ列が符号化されるまで STEP2〜4を繰り返 す。 [0084] STEP 5) Repeat steps 2 to 4 until all data strings in the input data string are encoded.
[0085] 図 9は、上述の手順に従って、前述のデータ列" 2、 2、 2、 2、 0、 0、 0、 0、 0、 0、 0、 2、 1 、 1、 1、 1〃を符号化した場合の例であり、出力結果として、〃1、 00100、 010、 00111、 1 、 1、 1、 00100 "が得られている。これに SOのソート結果の順位である 0の符号化結果を カロえると、 "1、 00100、 010、 00111、 1、 1、 1、 00100、 1"の計 23ビットとなり、前述の単 純なランレングス符号化に比べても効率的な符号ィヒが行われることがわかる。  [0085] FIG. 9 shows that the above-described data string “2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1〃 This is an example of encoding, and 〃1, 00100, 010, 00111, 1, 1, 1, 00100 "are obtained as output results. If the encoding result of 0, which is the order of the SO sorting results, is calculated, it becomes 23 bits in total, "1, 00100, 010, 00111, 1, 1, 1, 00100, 1". It can be seen that efficient coding is performed compared to run-length coding.
[0086] 以上説明したように、本実施形態の動画像符号化装置では、マクロブロックあるレ、 はサブマクロブロック間の相関を利用して、可変長符号化を行うことで、従来の動画 像符号化装置に比べ符号化効率を高めることができる。  [0086] As described above, in the moving picture coding apparatus according to the present embodiment, a conventional moving image is obtained by performing variable-length coding using a correlation between sub-macroblocks and a macroblock. Encoding efficiency can be increased compared to the encoding device.
[0087] 〔実施形態 2〕  [Embodiment 2]
次に、本発明の他の実施形態として、前記実施形態 1の動画像符号化装置で符号 化された符号化データを復号する動画像復号装置について説明する。  Next, as another embodiment of the present invention, a moving picture decoding apparatus for decoding encoded data encoded by the moving picture encoding apparatus of the first embodiment will be described.
[0088] 図 10は、本実施形態の動画像復号装置を示すブロック図である。  FIG. 10 is a block diagram showing a video decoding device according to the present embodiment.
[0089] 図 10において、符号 15は、符号化データを可変長復号する可変長符号復号部、 符号 16は、可変長復号で得られた 1次元データ列を所定の操作で並べ替え、マクロ ブロック毎のデータへ復元するデータ逆ソート部である。 In FIG. 10, reference numeral 15 denotes a variable length code decoding unit that performs variable length decoding of encoded data; Reference numeral 16 denotes a data reverse sorting unit that rearranges the one-dimensional data sequence obtained by variable length decoding by a predetermined operation and restores the data to data for each macroblock.
なお、実施形態 1の動画像符号化装置と同一機能を有するブロックについては、名 称および符号を同一とし説明を省略する。  Note that the blocks having the same functions as those of the moving picture coding apparatus according to Embodiment 1 have the same names and symbols, and the description thereof is omitted.
[0090] 次に、本実施形態の動画像復号装置の動作について、図 10に加え図 11の動作フ ローを参照しながら以下説明する。 Next, the operation of the video decoding apparatus according to the present embodiment will be described below with reference to the operation flow of FIG. 11 in addition to FIG.
[0091] STEP1) 可変長符号復号部 15は、符号化データを可変長復号し、図 1に示す動画 像符号化装置においてデータソート部 13の出力状態の予測方式、予測パラメータ、 予測残差データを復元する。可変長符号復号部 15の詳細については後述する (S1) [0091] STEP 1) The variable-length code decoding unit 15 performs variable-length decoding on the encoded data, and in the video image encoding device shown in Fig. 1, the output state prediction method, prediction parameters, and prediction residual data of the data sorting unit 13 To restore. Details of the variable-length code decoding unit 15 will be described later (S1).
[0092] STEP2)データ逆ソート部 16は、可変長復号部 15から入力される 1次元データ列( 符号化情報)を所定の手順で 2次元データ列に並べ替え、バッファメモリ 12に記録す る(S2)。なお、ノくッファメモリ内記録されるデータ格納形式は、実施形態 1の動画像 符号化装置におけるバッファメモリ内のデータ格納形式と同一であり、データ逆ソート 部 16の動作の詳細についても後述する。 STEP 2) The data reverse sort unit 16 rearranges the one-dimensional data sequence (encoded information) input from the variable length decoding unit 15 into a two-dimensional data sequence by a predetermined procedure and records it in the buffer memory 12. (S2). The data storage format recorded in the buffer memory is the same as the data storage format in the buffer memory in the moving picture encoding apparatus of Embodiment 1, and the details of the operation of the data reverse sort unit 16 will be described later.
[0093] STEP3) 画面を構成する全てのマクロブロック群のデータが復元されるまで STEP1 〜2を繰り返す(S3)。  [0093] STEP 3) Steps 1 and 2 are repeated until the data of all the macroblock groups constituting the screen are restored (S3).
[0094] STEP4) 逆量子化部 7は、バッファメモリ 12から予測残差データを入力し、逆量子 化を行う(S4)。  [0094] STEP 4) The inverse quantization unit 7 receives the prediction residual data from the buffer memory 12, and performs inverse quantization (S4).
[0095] STEP5) 逆変換部 8は、逆量子化部 7の出力する 4x4ブロックデータに対し逆直交 変換を行う(S 5)。  [0095] STEP 5) The inverse transform unit 8 performs inverse orthogonal transform on the 4x4 block data output from the inverse quantization unit 7 (S5).
[0096] STEP6) マクロブロックを構成する全ての 4x4画素ブロックについて、 STEP4〜5を 繰り返す(S6)。  [0096] STEP 6) Steps 4 to 5 are repeated for all the 4x4 pixel blocks constituting the macro block (S6).
STEP7) 予測画像生成部 3は、ノ ッファメモリ 12から予測方式、予測パラメータを読 み出し、フレームメモリ 1に蓄積された復号済み画像を元に予測画像を生成する(S7  STEP7) The predicted image generation unit 3 reads the prediction method and prediction parameters from the nother memory 12, and generates a predicted image based on the decoded images stored in the frame memory 1 (S7).
STEP8) 画像合成部 9は、逆変換部 8の出力データと予測画像生成部 3で生成され た予測画像を合成し、生成された画像を以降の復号に利用するためフレームメモリ 1 に蓄積すると共に、外部へ出力する (S8)。 STEP 8) The image synthesis unit 9 synthesizes the output data of the inverse transformation unit 8 and the prediction image generated by the prediction image generation unit 3, and uses the generated image for subsequent decoding in the frame memory 1 And output to the outside (S8).
STEP9) 画像を構成する全てのマクロブロックに対し STEP4〜8を繰り返す(S9)。  STEP 9) Repeat steps 4 to 8 for all macroblocks constituting the image (S9).
[0097] 次に、上記可変長符号復号部 15について、詳細を説明する。 Next, the variable length code decoding unit 15 will be described in detail.
[0098] 可変長符号復号部 15の動作は、前述の実施形態 1における可変長符号化部 14の 逆の操作を行う。 The operation of the variable length code decoding unit 15 performs the reverse operation of the variable length coding unit 14 in the first embodiment.
[0099] 前述の単純ランレングスによる符号化が行われた符号化データを復号する場合は 、入力符号化データ列" 011、 00100、 1、 00111、 011、 1、 010、 00100、 1"を前述の表 1 に当てはめて、〃2、 3、 0、 6、 2、 0、 1、 3、 0〃が得られ、ランの復元、及び、 SOの順位を 分離して、データ列" 2、 2、 2、 2、 0、 0、 0、 0、 0、 0、 0、 2、 1、 1、 1、 1"、 SOの順位: 0を復 号完了する。  [0099] When decoding the encoded data that has been encoded by the simple run length described above, the input encoded data string "011, 00100, 1, 00111, 011, 1, 010, 00100, 1" is described above.表 2, 3, 0, 6, 2, 0, 1, 3, 0〃 are obtained, and the restoration of the run and the order of SO are separated, and the data sequence "2, 2 , 2, 2, 0, 0, 0, 0, 0, 0, 0, 2, 1, 1, 1, 1 ", SO rank: 0 completes decoding.
[0100] また、予測値を利用した符号化を行った場合は、次の手順で復号する。  [0100] In addition, when encoding using a prediction value is performed, decoding is performed according to the following procedure.
[0101] STEP1) 予測値の候補列を符号化と同じく要素値の大きい順で初期化する。 [0101] STEP1) The candidate sequence of predicted values is initialized in descending order of element values, similar to encoding.
[0102] STEP2) 予測値のインデックスおよびラン長を表 1の符号割り当てに基づき復号す る。 [0102] STEP2) Decode the predicted index and run length based on the code assignment in Table 1.
[0103] STEP3) 予測の候補列における STEP2で得られた予測値のインデックスが指す値 を要素値として復号する。  [0103] STEP 3) The value indicated by the prediction value index obtained in STEP 2 in the prediction candidate string is decoded as an element value.
[0104] STEP4) 符号化と同様に予測値のインデックスに基づき予測の候補列を更新する [0104] STEP4) Update prediction candidate sequence based on prediction value index as in encoding
[0105] STEP5) 全ての要素が復号されるまで STEP1〜4を繰り返し。 [0105] STEP 5) Repeat steps 1 to 4 until all elements are decoded.
[0106] STEP6) SOの順位を表 1の符号割り当てに基づき復号して復号を完了する。 [0106] STEP 6) The order of SO is decoded based on the code assignment shown in Table 1 to complete the decoding.
[0107] 次に、データ逆ソート部 16の動作について、前述のデータソート部の動作説明で 用いた例(図 5)を復元する場合について、図 12を参照しながら説明する。なお、デ ータ逆ソート部 16には、図 12 (a)に示すデータ列と SOの順位が入力されるものとして 以下説明する。なお、この入力データは、前述のデータソート部の出力結果図 5 (e) と同一である。 Next, the operation of the data reverse sort unit 16 will be described with reference to FIG. 12 in the case of restoring the example (FIG. 5) used in the operation description of the data sort unit described above. In the following description, it is assumed that the data reverse sort unit 16 is input with the data string shown in FIG. This input data is the same as the output result shown in FIG.
STEP1) 図 5 (d)における S0〜S15の最後尾の要素値は入力データ列を順位 0〜15 の順に割り当てることで復元される(図 12 (b) )。  STEP1) The last element value of S0 to S15 in Fig. 5 (d) is restored by assigning the input data sequence in the order of rank 0 to 15 (Fig. 12 (b)).
[0108] また、図 5 (d)における S0〜S15の先頭要素は、入力データ列を昇順に並べ替えるこ とで得られる。なお、 SO以外の S1〜S15がどの順位であるかはこの時点では不明であ る。 [0108] In addition, the top elements of S0 to S15 in Fig. 5 (d) can sort the input data string in ascending order. And obtained. It should be noted that the order of S1 to S15 other than SO is unknown at this point.
[0109] STEP2) 図 12 (c)における S0〜S15の最後尾の要素を上位の要素から(図の上から 順に) e0、 el、■·■、 el5とする。 e0から el5まで順に同一要素値を持つ S0〜S15の先頭 要素を検索し、同一記号を割り当てる。なお、同一の要素値が複数存在する場合は 、上位の要素に同一記号を割り当てる。  [0109] STEP2) The last elements of S0 to S15 in Fig. 12 (c) are assumed to be e0, el, ·, and el5 from the upper element (in order from the top of the figure). Search for the first element of S0 to S15 having the same element value in order from e0 to el5, and assign the same symbol. When there are a plurality of identical element values, the same symbol is assigned to the upper element.
[0110] STEP3) S0〜S15の最後尾以外の要素を全て 1つ後ろへシフトし、先頭に最後尾の 要素を先頭に移動する(図 12 (d) )。この操作によって、 e0、 el、 ·...、 el5のそれぞれ の要素に、どの要素が続くのかが判明する。  [0110] STEP3) Shift all elements other than the last of S0 to S15 back by one, and move the last element to the beginning (Figure 12 (d)). This operation reveals which element follows each element of e0, el, ···, el5.
[0111] STEP4) 図 12 (d)で得た情報を基に SOの 3番目〜 14番目の要素を決定する(図 1 2 (e) )。  [0111] STEP4) The third to fourteenth elements of SO are determined based on the information obtained in Fig. 12 (d) (Fig. 12 (e)).
[0112] STEP5) SOの各要素に割り当てた記号を対応する要素値に置き換える(図 12(f))。  [0112] STEP5) Replace the symbol assigned to each element of SO with the corresponding element value (Fig. 12 (f)).
[0113] STEP6) 前記実施の形態 1の動画像符号化装置で用いた走査パターンを用いて 1 次元データを逆に 2次元データへ変換し、 MxNマクロブロックにおける符号化情報 の各要素値を復元し、バッファメモリ 12へ出力する(図 12 (g) )。 [0113] STEP 6) Using the scanning pattern used in the moving picture encoding apparatus of Embodiment 1, one-dimensional data is converted back to two-dimensional data, and each element value of the encoding information in the MxN macroblock is restored. And output to the buffer memory 12 (FIG. 12 (g)).
[0114] 以上説明した動作によって実施形態 1の動画像符号化装置で生成した符号化デ 一タを復号することが可能である。 [0114] The encoded data generated by the video encoding apparatus of the first embodiment can be decoded by the operation described above.
[0115] なお、上述の説明では、マクロブロックサイズおよびサブマクロブロックサイズとして[0115] In the above description, as the macro block size and the sub macro block size,
、従来技術と同じサイズを用いたが、異なるサイズを用いた構成であってもかまわな レ、。また、符号化情報の要素(予測方式、予測パラメータ、予測残差データ)毎にマク ロブロック群のサイズが異なる構成であっても構わない。 Although the same size as the conventional technology was used, a configuration using a different size is acceptable. Also, the macroblock group size may be different for each element of the encoded information (prediction method, prediction parameter, prediction residual data).
[0116] また、本発明の動画像符号化方法は、画像を複数のブロックに分割し符号化する 動画像符号化方法において、前記各ブロックの符号化にそれぞれ必要な符号化情 報を一時的に記憶するステップと、前記ステップにおレ、て記憶された複数の符号化 情報に対して、 1^ 1^ブロック(1^, Nは任意の整数)を一単位として符号ィ匕を行うス テツプとを含むことを特徴としてレ、る。  [0116] Also, the moving image encoding method of the present invention is a moving image encoding method for dividing and encoding an image into a plurality of blocks, and temporarily encoding information necessary for encoding each block. And a plurality of pieces of encoded information stored in the previous step, the code is encoded using 1 ^ 1 ^ blocks (1 ^, N are arbitrary integers) as a unit. It is characterized by including a tape.
[0117] 前記符号化を行うステップは、前記一時的に記憶された M X Nブロックの符号化情 報を、所定の走查手順で走査して 1次元データ列に変換するデータ列変換ステップ と、変換後の 1次元データ列から所定の規則で複数の 1次元データ列を生成するデ 一タ列生ステップと、生成した複数の 1次元データ列を所定の並べ替え規則で並べ 替えるデータ並べ替えステップと、並べ替えられた 1次元データ列に対して可変長符 号化を行う可変長符号ィヒステップとを有することを備えていることを特徴としている。 [0117] The encoding step includes a data string conversion step of scanning the temporarily stored encoding information of the MXN block according to a predetermined scanning procedure and converting it into a one-dimensional data string. And a data column generation step for generating a plurality of one-dimensional data strings from the converted one-dimensional data string by a predetermined rule, and a data arrangement for rearranging the generated one-dimensional data strings by a predetermined sorting rule. And a variable length code step for performing variable length encoding on the rearranged one-dimensional data string.
[0118] 本発明の動画像復号方法は、前記動画像符号化方法によって符号化された動画 像データを復号する動画像復号方法において、 M X Nブロック (M, Nは任意の整数 )を一単位として符号化された符号化情報を復号するステップを含んでいることを特 徴としている。  [0118] The moving image decoding method of the present invention is the moving image decoding method for decoding moving image data encoded by the moving image encoding method, wherein an MXN block (M and N are arbitrary integers) is a unit. It is characterized by including a step of decoding the encoded information.
[0119] 本発明の動画像復号方法は、前記動画像符号化方法によって符号化された動画 像データを復号する動画像復号方法において、 M X Nブロック (M, Nは任意の整数 )を一単位として符号化された符号化情報を復号する復号ステップを含み、前記復号 ステップは、符号化された符号化情報を可変長復号する可変長復号ステップと、可 変長復号された符号化情報から複数の 1次元データ列を生成するデータ列生成ステ ップと、生成した複数の 1次元データ列を所定の並べ替え規則で並べ替えるデータ 並べ替えステップと、並べ替えられた 1次元データ列を、 M X Nブロックの符号化情 報を走査して得られる 1次元データ列に変換するデータ列変換ステップとを有するこ とを特徴としている。  [0119] The moving image decoding method of the present invention is the moving image decoding method for decoding moving image data encoded by the moving image encoding method, wherein an MXN block (M and N are arbitrary integers) is a unit. A decoding step for decoding the encoded information, wherein the decoding step includes a variable-length decoding step for variable-length decoding the encoded information, and a plurality of encoding information obtained from the variable-length decoding. A data string generation step that generates a one-dimensional data string, data that sorts multiple generated one-dimensional data strings according to a predetermined sorting rule, a sorting step, and the sorted one-dimensional data string are converted to an MXN block. And a data string conversion step for converting the encoded information into a one-dimensional data string obtained by scanning.
[0120] 本発明は上述した各実施形態に限定されるものではなぐ請求項に示した範囲で 種々の変更が可能であり、異なる実施形態にそれぞれ開示された技術的手段を適 宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。  [0120] The present invention is not limited to the above-described embodiments, but can be variously modified within the scope of the claims, and can be obtained by appropriately combining technical means disclosed in different embodiments. Such embodiments are also included in the technical scope of the present invention.
[0121] 最後に、動画像符号化装置の各ブロック、特にデータソート部 13および可変長符 号化部 14は、ハードウェアロジックによって構成してもよいし、次のように CPUを用い てソフトウェアによって実現してもよレ、。  [0121] Finally, each block of the moving image encoding apparatus, in particular, the data sort unit 13 and the variable length encoding unit 14 may be configured by hardware logic, or software using a CPU as follows. Can be realized by.
[0122] すなわち、動画像符号化装置は、各機能を実現する制御プログラムの命令を実行 する CPU (central processing unit)、上記プログラムを格納した ROM (read only me mory)、上記プログラムを展開する RAM (random access memory)、上記プログラム および各種データを格納するメモリ等の記憶装置 (記録媒体)などを備えてレ、る。そし て、本発明の目的は、上述した機能を実現するソフトウェアである動画像符号ィ匕装置 の制御プログラムのプログラムコード(実行形式プログラム、中間コードプログラム、ソ ースプログラム)をコンピュータで読み取り可能に記録した記録媒体を、上記動画像 符号化装置に供給し、そのコンピュータ(または CPUや MPU)が記録媒体に記録さ れているプログラムコードを読み出し実行することによつても、達成可能である。 [0122] That is, the moving image encoding apparatus includes a CPU (central processing unit) that executes instructions of a control program that realizes each function, a ROM (read only memory) that stores the program, and a RAM that expands the program. (random access memory), and a storage device (recording medium) such as a memory for storing the program and various data. The object of the present invention is to provide a moving image encoding device that is software that realizes the above-described functions. A recording medium in which the program code (execution format program, intermediate code program, source program) of the control program is recorded so as to be readable by a computer is supplied to the above moving image encoding device, and the computer (or CPU or MPU) records it. It can also be achieved by reading and executing the program code recorded on the medium.
[0123] 上記記録媒体としては、例えば、磁気テープやカセットテープ等のテープ系、フロッ ピー(登録商標)ディスク Zハードディスク等の磁気ディスクや CD— ROM/MOZ MDZDVD/CD— R等の光ディスクを含むディスク系、 ICカード(メモリカードを含 む)/光カード等のカード系、あるいはマスク ROMZEPROM/EEPROMZフラッ シュ ROM等の半導体メモリ系などを用いることができる。 [0123] The recording medium includes, for example, a tape system such as a magnetic tape and a cassette tape, a magnetic disk such as a floppy (registered trademark) disk Z hard disk, and an optical disk such as CD-ROM / MOZ MDZDVD / CD-R. A disk system, a card system such as an IC card (including a memory card) / optical card, or a semiconductor memory system such as a mask ROMZEPROM / EEPROMZ flash ROM can be used.
[0124] また、動画像符号化装置を通信ネットワークと接続可能に構成し、上記プログラムコ ードを通信ネットワークを介して供給してもよレ、。この通信ネットワークとしては、特に 限定されず、例えば、インターネット、イントラネット、エキストラネット、 LAN, ISDN, VAN, CATV通信網、仮想専用網(virtual private network)、電話回線網、移動体 通信網、衛星通信網等が利用可能である。また、通信ネットワークを構成する伝送媒 体としては、特に限定されず、例えば、 IEEE1394、 USB、電力線搬送、ケーブル T V回線、電話線、 ADSL回線等の有線でも、 IrDAやリモコンのような赤外線、 Bluet ooth (登録商標)、 802. 11無線、 HDR、携帯電話網、衛星回線、地上波デジタル 網等の無線でも利用可能である。なお、本発明は、上記プログラムコードが電子的な 伝送で具現化された、搬送波に埋め込まれたコンピュータデータ信号の形態でも実 現され得る。 [0124] Further, the moving picture coding apparatus may be configured to be connectable to a communication network, and the program code may be supplied via the communication network. The communication network is not particularly limited. For example, the Internet, intranet, extranet, LAN, ISDN, VAN, CATV communication network, virtual private network, telephone line network, mobile communication network, satellite communication A net or the like is available. Also, the transmission medium constituting the communication network is not particularly limited. For example, IEEE1394, USB, power line carrier, cable TV line, telephone line, ADSL line, etc. ooth (registered trademark), 802.11 wireless, HDR, mobile phone network, satellite line, terrestrial digital network, etc. can also be used. The present invention can also be realized in the form of a computer data signal embedded in a carrier wave, in which the program code is embodied by electronic transmission.
産業上の利用の可能性  Industrial applicability
[0125] 高精細動画像データの高能率符号化が必要とされる装置、例えば HDTV等の録 画再生装置にも適用できる。 [0125] The present invention can also be applied to a device that requires high-efficiency encoding of high-definition moving image data, such as a recording / playback device such as an HDTV.

Claims

請求の範囲 The scope of the claims
[1] 画像を複数のブロックに分割し符号化する動画像符号ィヒ装置において、  [1] In a video coding apparatus that divides and codes an image into a plurality of blocks,
前記各ブロックの符号化にそれぞれ必要な符号化情報を記憶する一時記憶手段と 前記一時記憶手段に記憶された複数の符号化情報に対して、 M X Nブロック (M, Nは任意の整数)を一単位として符号ィヒを行う符号化手段とを備えていることを特徴 とする動画像符号化装置。  Temporary storage means for storing encoding information necessary for encoding each block, and a plurality of encoding information stored in the temporary storage means, MXN blocks (M and N are arbitrary integers) A moving picture coding apparatus comprising coding means for performing coding as a unit.
[2] 前記符号化手段は、 [2] The encoding means includes:
前記一時記憶手段に記憶された M X Nブロックの符号ィヒ情報を、所定の走査手順 で走査して 1次元データ列に変換するデータ列変換手段と、  Data string conversion means for scanning the code information of the M X N block stored in the temporary storage means and converting it into a one-dimensional data string by a predetermined scanning procedure;
変換後の 1次元データ列から所定の規則で複数の 1次元データ列を生成するデー タ列生成手段と、  A data string generation means for generating a plurality of one-dimensional data strings from the converted one-dimensional data string according to a predetermined rule;
生成した複数の 1次元データ列を所定の並べ替え規則で並べ替えるデータ並べ替 え手段と、  A data rearranging means for rearranging a plurality of generated one-dimensional data strings according to a predetermined rearrangement rule;
並べ替えられた 1次元データ列に対して可変長符号化を行う可変長符号化手段と を備えてレ、ることを特徴とする請求項 1に記載の動画像符号化装置。  2. The moving picture coding apparatus according to claim 1, further comprising: variable length coding means for performing variable length coding on the rearranged one-dimensional data string.
[3] 前記データ列変換手段は、 [3] The data string conversion means includes:
前記符号化情報の種類毎に、異なる走查順序で 1次元データ列への変換を行うこ とを特徴とする請求項 2に記載の動画像符号ィヒ装置。  3. The moving picture coding apparatus according to claim 2, wherein conversion into a one-dimensional data string is performed in a different running order for each type of coding information.
[4] 前記データ並べ替え手段は、 [4] The data sorting means includes:
BWT(Burrows-Wheeler Transform)を用いて、 1次元データ列の並べ替えを行うこと を特徴とする請求項 2に記載の動画像符号化装置。  3. The moving picture coding apparatus according to claim 2, wherein the one-dimensional data sequence is rearranged using BWT (Burrows-Wheeler Transform).
[5] 前記データ並べ替え手段は、 [5] The data sorting means includes:
符号化対象の空間解像度が所定の閾値未満の場合、 Ml X N1ブロック毎に前記 1次元データ列の並べ替えを行い、  When the spatial resolution of the encoding target is less than a predetermined threshold, the one-dimensional data sequence is rearranged for each Ml X N1 block,
符号化対象の空間解像度が所定の閾値以上の場合、 M2 X N2ブロック毎に前記 1次元データ列の並べ替えを行うとき、  When the spatial resolution of the encoding target is greater than or equal to a predetermined threshold, when rearranging the one-dimensional data sequence for each M2 X N2 block,
ブロックサイズの関係が Ml X Nl < M2 X N2を満たすことを特徴とする請求項 2に 記載の動画像符号化装置。 The block size relationship satisfies Ml X Nl <M2 X N2. The moving image encoding apparatus described.
[6] 前記符号化情報は、符号化対象となる動画像に適用する予測方式を示すデータ、 および当該予測方式と共に用いる予測パラメータ、および符号化対象となる動画像 に当該予測方式を適用して求められる予測残差データのすくなくとも一つであること を特徴とする請求項 1〜5の何れ力、 1項に記載の動画像符号ィヒ装置。  [6] The encoding information includes data indicating a prediction scheme to be applied to a moving image to be encoded, a prediction parameter to be used together with the prediction method, and applying the prediction method to a moving image to be encoded. 6. The moving picture coding apparatus according to any one of claims 1 to 5, wherein at least one piece of predicted residual data is obtained.
[7] 請求項 1に記載の動画像符号化装置によって符号化された動画像データを復号す る動画像復号装置において、 [7] In the moving picture decoding apparatus for decoding moving picture data encoded by the moving picture encoding apparatus according to claim 1,
M X Nブロック(M, Nは任意の整数)を一単位として符号化された符号化情報を復 号する復号手段を備えていることを特徴とする動画像復号装置。  A moving picture decoding apparatus comprising decoding means for decoding encoded information encoded with M X N blocks (M and N are arbitrary integers) as a unit.
[8] 請求項 2〜6の何れか 1項に記載の動画像符号化装置によって符号化された動画 像データを復号する動画像復号装置において、 [8] In the moving image decoding apparatus for decoding moving image data encoded by the moving image encoding apparatus according to any one of claims 2 to 6,
M X Nブロック(M, Nは任意の整数)を一単位として符号化された符号化情報を復 号する復号手段を備え、  Decoding means for decoding encoded information encoded with M X N blocks (M and N are arbitrary integers) as a unit;
前記復号手段は、  The decoding means includes
符号化された符号化情報を可変長復号する可変長復号手段と、  Variable-length decoding means for variable-length decoding encoded encoding information;
可変長復号された符号化情報から複数の 1次元データ列を生成するデータ列生成 手段と、  Data sequence generation means for generating a plurality of one-dimensional data sequences from variable length decoded encoded information;
生成した複数の 1次元データ列を所定の並べ替え規則で並べ替えるデータ並べ替 え手段と、  A data rearranging means for rearranging a plurality of generated one-dimensional data strings according to a predetermined rearrangement rule;
並べ替えられた 1次元データ列を、 M X Nブロックの符号ィヒ情報を走査して得られ る 1次元データ列に変換するデータ列変換手段と有することを特徴とする動画像復 号装置。  A moving picture decoding apparatus comprising: data string conversion means for converting the rearranged one-dimensional data string into a one-dimensional data string obtained by scanning the code information of the M X N block.
[9] 前記データ列変換手段は、前記符号化情報の種類毎に、異なる逆走査順序で 1次 元データ列に変換することを特徴とする請求項 8に記載の動画像復号装置。  9. The moving picture decoding apparatus according to claim 8, wherein the data string converting means converts the data into a one-dimensional data string in a different reverse scanning order for each type of the encoded information.
[10] 前記データ並べ替え手段は、逆 BWT(Burrows- Wheeler Transform)を用いて 1次元 データ列の並べ替えを行うことを特徴とする請求項 8に記載の動画像復号装置。  10. The moving picture decoding apparatus according to claim 8, wherein the data rearranging means rearranges the one-dimensional data sequence using inverse BWT (Burrows-Wheeler Transform).
[11] 前記データ並べ替え手段は、  [11] The data rearranging means includes:
符号化対象の空間解像度が所定の閾値未満の場合、 Ml X N1ブロック毎に前記 1次元データ列の並べ替えを行い、 When the spatial resolution to be encoded is less than a predetermined threshold, the Ml X N1 block Sort the one-dimensional data string,
符号化対象の空間解像度が所定の閾値以上の場合、 M2 X N2ブロック毎に前記 1次元データ列の並べ替えを行うとき、  When the spatial resolution of the encoding target is greater than or equal to a predetermined threshold, when rearranging the one-dimensional data sequence for each M2 X N2 block,
ブロックサイズの関係が Ml X Nl < M2 X N2を満たすことを特徴とする請求項 8に 記載の動画像復号装置。  9. The moving picture decoding apparatus according to claim 8, wherein the block size relationship satisfies Ml X Nl <M2 X N2.
前記符号化情報は、前記符号化情報は、符号化対象となる動画像に適用する予 測方式を示すデータ、および当該予測方式と共に用いる予測パラメータ、および符 号化対象となる動画像に当該予測方式を適用して求められる予測残差データのすく なくとも一つであることを特徴とする請求項 7〜: 11の何れ力、 1項に記載の動画像復号 装置。  The encoding information includes data indicating a prediction method to be applied to a moving image to be encoded, a prediction parameter used together with the prediction method, and a prediction parameter for the moving image to be encoded. 12. The moving picture decoding apparatus according to any one of claims 7 to 11, wherein at least one of the prediction residual data obtained by applying the method is at least one.
PCT/JP2006/303904 2005-11-30 2006-03-01 Dynamic image encoding device and dynamic image decoding device WO2007063612A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007547848A JP4855417B2 (en) 2005-11-30 2006-03-01 Video encoding device, video decoding device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-347036 2005-11-30
JP2005347036 2005-11-30

Publications (1)

Publication Number Publication Date
WO2007063612A1 true WO2007063612A1 (en) 2007-06-07

Family

ID=38091952

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/303904 WO2007063612A1 (en) 2005-11-30 2006-03-01 Dynamic image encoding device and dynamic image decoding device

Country Status (2)

Country Link
JP (2) JP4855417B2 (en)
WO (1) WO2007063612A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009545935A (en) * 2006-08-04 2009-12-24 トムソン ライセンシング Encoding and decoding method, apparatus for executing the method, and bitstream
JP2011501532A (en) * 2007-10-12 2011-01-06 クゥアルコム・インコーポレイテッド Hierarchical encoding bitstream structure
CN102474613A (en) * 2009-08-14 2012-05-23 三星电子株式会社 Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
JP2013505628A (en) * 2009-09-17 2013-02-14 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding and decoding mode information
US9386316B2 (en) 2007-10-12 2016-07-05 Qualcomm Incorporated Adaptive coding of video block header information
CN112995758A (en) * 2019-12-13 2021-06-18 鹏城实验室 Point cloud data encoding method, decoding method, storage medium, and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155972A (en) * 1986-12-19 1988-06-29 Sony Corp High efficiency coding device for digital picture signal
JPH02285896A (en) * 1989-03-24 1990-11-26 Philips Gloeilampenfab:Nv Encoder
JPH06125278A (en) * 1992-07-23 1994-05-06 Samsung Electron Co Ltd Method and apparatus for encoding and decoding of data
JPH06205388A (en) * 1992-12-28 1994-07-22 Canon Inc Picture coder
JPH09214353A (en) * 1996-02-08 1997-08-15 Fujitsu Ltd Data compressor and data decoder
JP2003046787A (en) * 2001-07-31 2003-02-14 Mitsubishi Electric Corp Image transmission apparatus, image reception apparatus, image communication system and image communication method
JP2003198179A (en) * 2001-12-26 2003-07-11 Nitto Denko Corp Electromagnetic wave absorber
JP2003250161A (en) * 2001-12-19 2003-09-05 Matsushita Electric Ind Co Ltd Encoder and decoder

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3208101B2 (en) * 1996-11-07 2001-09-10 松下電器産業株式会社 Image encoding method, image encoding device, and recording medium recording image encoding program
JPH10276436A (en) * 1997-01-31 1998-10-13 Victor Co Of Japan Ltd Motion compensation encoding and decoding device, and motion compensation encoding and decoding method
JP2003198379A (en) * 2001-12-28 2003-07-11 Ricoh Co Ltd Signal-coding apparatus and method therefor, program, and record medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63155972A (en) * 1986-12-19 1988-06-29 Sony Corp High efficiency coding device for digital picture signal
JPH02285896A (en) * 1989-03-24 1990-11-26 Philips Gloeilampenfab:Nv Encoder
JPH06125278A (en) * 1992-07-23 1994-05-06 Samsung Electron Co Ltd Method and apparatus for encoding and decoding of data
JPH06205388A (en) * 1992-12-28 1994-07-22 Canon Inc Picture coder
JPH09214353A (en) * 1996-02-08 1997-08-15 Fujitsu Ltd Data compressor and data decoder
JP2003046787A (en) * 2001-07-31 2003-02-14 Mitsubishi Electric Corp Image transmission apparatus, image reception apparatus, image communication system and image communication method
JP2003250161A (en) * 2001-12-19 2003-09-05 Matsushita Electric Ind Co Ltd Encoder and decoder
JP2003198179A (en) * 2001-12-26 2003-07-11 Nitto Denko Corp Electromagnetic wave absorber

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BURROWS M. ET AL: "A Block-sorting Lossless Data Compression Algorithm", SRC RESEARCH REPORT 124, 10 May 1994 (1994-05-10), pages 1 - 24, XP003013634 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009545935A (en) * 2006-08-04 2009-12-24 トムソン ライセンシング Encoding and decoding method, apparatus for executing the method, and bitstream
JP2013243719A (en) * 2007-10-12 2013-12-05 Qualcomm Inc Layered encoded bitstream structure
JP2011501532A (en) * 2007-10-12 2011-01-06 クゥアルコム・インコーポレイテッド Hierarchical encoding bitstream structure
US9386316B2 (en) 2007-10-12 2016-07-05 Qualcomm Incorporated Adaptive coding of video block header information
US8938009B2 (en) 2007-10-12 2015-01-20 Qualcomm Incorporated Layered encoded bitstream structure
US8897363B2 (en) 2009-08-14 2014-11-25 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
CN104754354A (en) * 2009-08-14 2015-07-01 三星电子株式会社 Method and apparatus for decoding video
US8824551B2 (en) 2009-08-14 2014-09-02 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8831098B2 (en) 2009-08-14 2014-09-09 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
US8831097B2 (en) 2009-08-14 2014-09-09 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
USRE48224E1 (en) 2009-08-14 2020-09-22 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
JP2013502145A (en) * 2009-08-14 2013-01-17 サムスン エレクトロニクス カンパニー リミテッド Video encoding method and apparatus, and video decoding method and apparatus in consideration of scan order of hierarchical encoding units
US8817877B2 (en) 2009-08-14 2014-08-26 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
CN104780382A (en) * 2009-08-14 2015-07-15 三星电子株式会社 Method and apparatus for encoding video
US9137536B2 (en) 2009-08-14 2015-09-15 Samsung Electronics Co., Ltd. Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
CN102474613B (en) * 2009-08-14 2016-06-01 三星电子株式会社 Consider that there is the method and apparatus that video is encoded and decodes by the scanning sequency of the coding unit of hierarchy
CN102474613A (en) * 2009-08-14 2012-05-23 三星电子株式会社 Method and apparatus for encoding video in consideration of scanning order of coding units having hierarchical structure, and method and apparatus for decoding video in consideration of scanning order of coding units having hierarchical structure
JP2013505628A (en) * 2009-09-17 2013-02-14 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for encoding and decoding mode information
CN112995758A (en) * 2019-12-13 2021-06-18 鹏城实验室 Point cloud data encoding method, decoding method, storage medium, and device
CN112995758B (en) * 2019-12-13 2024-02-06 鹏城实验室 Encoding method, decoding method, storage medium and equipment for point cloud data

Also Published As

Publication number Publication date
JP4855417B2 (en) 2012-01-18
JPWO2007063612A1 (en) 2009-05-07
JP2011147193A (en) 2011-07-28

Similar Documents

Publication Publication Date Title
JP3679083B2 (en) Image encoding method, image decoding method, image encoding device, image decoding device, image encoding program, image decoding program
RU2417518C2 (en) Efficient coding and decoding conversion units
JP5957560B2 (en) Video encoding / decoding method and apparatus using large size transform unit
JP5733590B2 (en) A context modeling technique for encoding transform coefficient levels.
JP5027936B2 (en) Method, recording medium, program and processing device for adaptive scan ordering.
JP5258664B2 (en) Image coding apparatus, method and program, and image decoding apparatus, method and program
WO2011083599A1 (en) Video encoding device, and video decoding device
WO2013058473A1 (en) Adaptive transform method based on in-screen prediction and apparatus using the method
JP2006054846A (en) Coding method and device, decoding method and device, and program thereof
JP2013524679A (en) Video encoding method, decoding method and apparatus using adaptive coefficient scan order
TWI650012B (en) Apparatus, method, and storage medium for data encoding and decoding
JP4855417B2 (en) Video encoding device, video decoding device
KR20100035104A (en) Video encoding/decoding apparatus and method of considering impulse signal
JP2006295796A (en) Image data decoding device and method
JP2006157678A (en) Variable length coding apparatus and variable length coding method
WO2016136106A1 (en) Coding device and decoding device
JP6614935B2 (en) Video encoding apparatus and program
JP5432359B2 (en) Moving picture coding apparatus, method and program
JP2015026963A (en) Image encoding method, image encoding device, and image encoding program
JP5432412B1 (en) Moving picture coding apparatus and moving picture decoding apparatus
WO2020183846A1 (en) Information processing device, information processing method and program
WO2019150435A1 (en) Video encoding device, video encoding method, video decoding device, video decoding method, and video encoding system
WO2012118358A2 (en) Method for scanning transform coefficient and device therefor
EP4117289A1 (en) Image processing method and image processing device
JP4971881B2 (en) Image encoding apparatus, image decoding apparatus, and control method thereof

Legal Events

Date Code Title Description
DPE2 Request for preliminary examination filed before expiration of 19th month from priority date (pct application filed from 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2007547848

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06728572

Country of ref document: EP

Kind code of ref document: A1