Patent ID: 8599444

Claim:
An image processing apparatus comprising: a plurality of image processing units that have variable circuit configurations; an input unit that inputs image data; a first acquisition unit that acquires, for each attribute of a plurality of pixels, a number of times of switching to a circuit configuration corresponding to the attribute of the pixels when image processing is executed for the image data while dynamically changing the circuit configuration of the image processing unit; a second acquisition unit that acquires, for each attribute of the pixels, a switching time period per one switching to the circuit configuration corresponding to the attribute of the pixel; a calculation unit that calculates, for each attribute of the pixels, a total switching time period to the circuit configuration corresponding to the attribute of the pixel by multiplying the number of times of switching by the switching time period when image processing is executed for the image data while dynamically changing the circuit configuration of the image processing unit; a determination unit that determines, as a circuit configuration to be fixed, a predetermined number of circuit configurations in descending order of the calculated total switching time period, and a control unit that controls to, when performing the image processing for the image data, i) extract the circuit configuration determined by the determination unit for a first image processing unit among the plurality of image processing units, ii) fix the circuit configuration of the first image processing unit to be the extracted circuit configuration, and iii) dynamically change the circuit configuration of a second image processing unit that is different from the first image processing unit among the plurality of image processing units.