CPC H04N 19/117 (2014.11) [H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/82 (2014.11)] | 14 Claims |
1. An image encoding apparatus comprising:
an encoding unit configured to encode an image by performing prediction processing for each block to derive a prediction error, performing transform processing, and performing quantization processing;
a decision unit configured to decide a bS value of deblocking filter processing to be performed for a boundary between a first block and a second block adjacent to the first block, based on at least one of a mode used in the prediction processing in the first block and a mode used in the prediction processing in the second block, wherein the bS value corresponds to a strength for the deblocking filter processing; and
a processing unit configured to perform the deblocking filter processing for the boundary based on a tc value derived by using a first quantization parameter of the first block, a second quantization parameter of the second block, and the bS value decided by the decision unit,
wherein in a case where a first mode is used in the prediction processing for a target block to be encoded, predicted pixels for the target block are derived by using pixels in an image including the target block,
wherein in a case where a second mode is used in the prediction processing for the target block, the predicted pixels for the target block are derived by using pixels in an image different from the image including the target block,
wherein in a case where a third mode is used in the prediction processing for the target block, the predicted pixels for the target block are derived by using both the pixels in the image including the target block and the pixels in the image different from the image including the target block,
wherein the bS value of the deblocking filter processing to be performed for the boundary between the first block and the second block in a case in which the third mode is used in the first block and the second mode is used in the second block is the same bS value as a bS value to be used in a case in which the third mode is used in the first block and the first mode is used in the second block, the bS value being 2, and
wherein the decision units sets 2 as the bS value of the deblocking filter processing to be performed for the boundary between the first block and the second block in a case in which the first mode is used in the first block and the second mode is used in the second block.
|