摘要 |
A coding method which demonstrates the best coding efficiency when using inter-frame prediction is determined (S 1 ) to calculate the coding efficiency evaluation value InterCost (S 2 ). Then, a coding method which demonstrates the best color difference signal coding efficiency when using intra-frame prediction is determined (S 3 ) to calculate the coding efficiency evaluation value IntraChromaCost (S 4 ). At this time, InterCost and IntraChromaCost are compared (S 5 ), and when the relation InterCost<IntraChromaCost is satisfied, it is determined to use the inter-frame prediction and the process is ended. Otherwise, a luminance signal coding method which demonstrates the best coding efficiency when the intra-frame prediction is used is determined (S 6 ) to calculate the coding efficiency evaluation value IntraLumaCost (S 7 ). IntraCost is calculated by adding IntraLumaCost and IntraChromaCost (S 8 ), and InterCost and IntraCost are compared (S 9 ). If the relation InterCost<IntraCost is satisfied, it is determined to use the inter-frame prediction, and otherwise, it is determined to use the intra-frame prediction.
|