A QVGA-range image sensor based on buried-channel demodulator pixels in 0.18um CMOS with extended dynamic range