In the light source integrated processor (3) according to the present invention, an endoscope (2A) provided with an image sensor is detachably mounted, while being connected to a single processor (4) so as to be communicable. And a dimming control unit (35) that generates a first dimming control signal based on the imaging signal input from the endoscope (2A). Based on the detection results of the endoscope connection detector (36a) for detecting whether or not the endoscope (2A) is electrically connected and the endoscope connection detector (36a), the first adjustment is performed. One of the light control signal and the second dimming control signal input from the single processor (4) is selected, and the selected dimming control signal is sent to the light source unit (38) to the switching unit (37). A mode selection unit (36b) for output.本発明にかかる光源一体型プロセッサ(3)は、撮像素子を備えた内視鏡(2A)が着脱自在に装着される一方、単体プロセッサ(4)とも通信可能に接続され、内視鏡(2A)から送信される撮像信号を処理する信号処理装置であって、内視鏡(2A)から入力された撮像信号をもとに第1調光制御信号を生成する調光制御部(35)と、内視鏡(2A)が電気的に接続されているか否かを検知する内視鏡接続検知部(36a)と、内視鏡接続検知部(36a)の検知結果に基づいて、第1調光制御信号と、単体プロセッサ(4)から入力された第2調光制御信号とのいずれか一方を選択して、切替部(37)に、選択した調光制御信号を光源部(38)に出力させるモード選択部(36b)と、を備える。