1. A method of determining a location of a synchronization code under Standard Mobile Image Architecture (SMIA), comprising: upon receiving a most significant bit (MSB) of an image data rearranging the received image data to form a first data having a Least Significant Bit (LSB) of the image data as a first bit of the first data; storing to a storage unit; and performing a comparison operation by sequentially and repeatedly comparing the first data with a plurality of predetermined sets of synchronization codes, each of which is associated with a predetermined offset, so as to determine whether the first data matches any of the predetermined sets of the synchronization codes until identifying a match between the first data and the predetermined set of the synchronization codes.