At this point, the previous determination result of the code determiner 526 (the determination result of the differential value of the second pixel) is stored in the code buffer 527.
The select controller 528 generates the select control signal 545 according to the current determination result and the previous determination result held in the code buffer 527.