摘要:
A coding control unit (110) and a mode selection unit (109) are included. The coding control unit (110) determines the coding order for a plurality of consecutive B-pictures located between I-pictures and P-pictures so that the B-picture whose temporal distance from two previously coded pictures is farthest in display order is coded by priority, so as to reorder the B-pictures in coding order. When a current block is coded in direct mode, the mode selection unit 109 scales a forward motion vector of a block which is included in a backward reference picture of a current picture and co-located with the current block, so as to generate motion vectors of the current block, if the forward motion vector has been used for coding the co-located block.
摘要:
A motion vector coding unit 117 executes processing including a neighboring block specification step (S100) of specifying a neighboring block which is located in the neighborhood of a current block; a judgment step (Steps S102, S104) of judging whether or not the neighboring block has been coded using a motion vector of another block; a prediction step (S106, S108) of deriving a predictive motion vector of the current block using a motion vector calculated from the motion vector of the other block as a motion vector of the neighboring block; and a coding step (S110) of coding the motion vector of the current block using the predictive motion vector.
摘要:
When a block (MB22) of which motion vector is referred to in the direct mode contains a plurality of motion vectors, 2 motion vectors MV23 and MV24, which are used for inter picture prediction of a current picture (P23) to be coded, are determined by scaling a value obtained from averaging the plurality of motion vectors or selecting one of the plurality of the motion vectors.
摘要:
A moving picture coding apparatus (10a) according to the present invention includes a level analyzer (100a) that decides the maximum number of intra frame pixels which can be coded (Nfpx) and the maximum number of storage pixels which can be stored in a picture memory of a decoding apparatus (Nspx) on the basis of a level identifier (Lst) indicating a coding level that is designated by the user, thereby judging whether coding of an input image is possible or not and calculating the maximum number of reference pictures (Nrpn) as the number of reference candidate pictures which can be referred to at inter picture prediction coding, on the basis of the maximum number of intra frame pixels (Nfpx) and the input image size (the number of vertical pixels (Nhpx) and the number of horizontal pixels (Nwpx)). A decoding apparatus to which a bit stream from the moving picture coding apparatus (10a) is supplied can always decode the bit stream satisfactorily, and perform inter picture prediction decoding corresponding to the inter picture prediction coding on the coding end. Consequently, memory areas of a coding apparatus and a decoding apparatus that are adapted to a coding method in which there is no restraint on the capacity of the memory area can be designed.
摘要:
The method includes the following units: a coefficient number detecting unit (109) for detecting the number of coefficients which has a value other than 0 for each block according to the generated coefficient, a coefficient number storing unit (110) for storing the number of coefficients detected, a coefficient number coding unit (111) for selecting a table for variable length coding based on the numbers of coefficients in the coded blocks located on the periphery of a current block to be coded with reference to the selected table for variable length coding so as to perform variable length coding for the number of coefficients.
摘要:
A picture encoding method of the present invention is a picture encoding method of predictively encoding an input picture with reference to pictures stored in a picture buffer, decoding the encoded input picture, judging whether or not the decoded picture is a picture for reference and whether or not the decoded picture is a picture for output which needs to be stored until its display time, and storing, in the picture buffer, the picture for reference and the picture for output based on the determination result.
摘要:
A variable length coding method is comprised of: a coefficient value scanning step in which an RL sequence generation unit 203, a reordering unit 202, and a binarization unit 203 scan coefficient values within a block in a predetermined scanning order starting at a higher-frequency component toward a lower-frequency component; and an arithmetic coding step in which an arithmetic coding unit 205 and a table storage unit 204 perform arithmetic coding on the absolute values of the coefficient values according to the scanning order used in the coefficient value scanning step, by switching between probability tables 1˜4 for use, wherein, in the arithmetic coding step, a probability table to be used is switched to another probability table in one direction, when the arithmetic-coded absolute values of the coefficient values include an absolute value exceeding a predetermined threshold value.
摘要:
The method includes the following units: a coefficient number detecting unit (109) for detecting the number of coefficients which has a value other than 0 for each block according to the generated coefficient, a coefficient number storing unit (110) for storing the number of coefficients detected, a coefficient number coding unit (111) for selecting a table for variable length coding based on the numbers of coefficients in the coded blocks located on the periphery of a current block to be coded with reference to the selected table for variable length coding so as to perform variable length coding for the number of coefficients.
摘要:
An image coding apparatus is provided with a unit operable to scan a two-dimensional array of quantized coefficients into scanned quantized coefficients, the scanning being performed from a low frequency component toward a high frequency component; a unit operable to convert the scanned quantized coefficients into a run value and a level value, the run value indicating the number of continuous quantized coefficients, each having a zero value, and the level value indicating a value of a quantized coefficient having a non-zero value; a unit operable to code the run value; and a unit operable to code the level value, wherein the coding of the run value is performed, from a high frequency component toward a low frequency component, in accordance with information that represents a total number of uncoded quantized coefficients which have not been coded.
摘要:
A motion vector derivation unit (11) includes a comparison unit (20) for comparing a parameter TR1 for a reference vector with a predetermined value to determine whether it exceeds the predetermined value or not; a switching unit (21) for switching selection between the maximum value of a pre-stored parameter TR and the parameter TR1 according to the comparison result by the comparison unit (20); a multiplier parameter table (for multipliers) (22); and a multiplier parameter table (for divisors) (24) for associating the parameter TR1 with a value approximate to the inverse value (1/TR1) of this parameter TR1.