PCR jitter is improved when writing an input stream TS having a packet with a PCR in a memory 10 and reading it at a high speed. A first pair of ports has openings located on a first face of the housing, and a second pair of ports has openings located on a second face of the housing, wherein the first face is opposite the second face. The disclosed pinned photodiode-fabricating method comprises forming a photodiode on a substrate, forming a first potential well between the substrate and the photodiode, and forming a second potential well having a center-cross form across said photodiode, which is positioned more deeply than said first potential well.