select one color pixel data for n pixels in order among the three-colors pixel data for the n pixels read out from the memory when performing horizontally long display in a display panel, where n is an integer of 1 or more, and different from m, a second selector configured to select pixel data for one pixel in order among the pixel data for m pixels selected by the first selector when performing