Diagnostic Instrumentation

Table of Contents | << Internal operation | Internal operation: Motion data buffer >>

Internal operation and motion data transfer

Motion data transfer

In the encoder, motion data for each motion compensated frame of the sequence is output for use in the diagnostic tool. A text file is created in the same location as the encoded output sequence and is given the name [output_file].imt. Data for each frame is then written to this file. The vast majority of data is encapsulated in the MEData class and hence its operator<< and operator>> are overloaded. The motion data text file structure is shown in Figure 7.


Figure 7. Frame motion data text file structure

Two-dimensional array data is formatted with carriage returns after each row in order for the motion data to be easily viewed in a spredsheet.