In-pixel implementation of an area-efficient analog-signal-processing for CMOS-3D image sensor