to be encoded is calculated by mp 2 modulo 3 after the memory page is read in response to a v_sync signal and is updated in the order of u201c 0 u2192 1 u2192 1 u2192 2 u201d referring to the timing diagram of fig5 b the current memory page is read and a capture command is given and a u201c 0 u201d th memory page corresponding to mp 2 modulo 3 is encoded if the memory page is checked as u201c 1 u201d st memory page sw_cnt 0 subsequently the next memory page is read and a capture command is given and a u201c 1 u201d st memory page corresponding to mp 2 modulo 3 is encoded if the memory page is checked as u201c 2 u201d nd memory page sw_cnt 1 subsequently when the next memory page is read after the u201c 1 u201d st memory page is encoded if capturing of the current memory page u201c 2 u201d is not completed a previously captured frame is reused sw_cnt 1 however reusing the previously captured frame is a matter of design choice 0047 fig5 c is a timing diagram illustrating encoding performed by a software unit the software unit controls a hardware unit to encode data stored in a memory page of mp 2 modulo 3 in accordance with a calculated value of the software counter if the memory page read by the software unit is being captured an identical frame is re encoded fr 1 encoding and if not the captured memory page is encoded fr 0 encoding and fr 2 encoding 0048 fig6 is a flowchart illustrating.