Renesas SH7781 User Manual
Page 1054
20. Graphics Data Translation Accelerator (GDTA)
Rev.1.00 Jan. 10, 2008 Page 1024 of 1658
REJ09B0261-0100
No. Operation
Description
(3) Calculation
of
input position
(first row)
• U/V input comparison address
Calculation formula: Past frame U point value (base point) + [(mbrow
× 8 +
(Recon_down/2>>1))
× (width/2 + U padding)] + [mbcol × 8 +
(Recon_right/2>>1)]
Past frame U pointer value (base point): MCPUPR setting address
mbrow: Calculated from MCCF setting
mbcol: Calculated from MCCF setting
Recon_down: Calculated from MCCF setting
Recon_right: Calculated from MCCF setting
width: Calculated from MCWR setting
U padding: Calculated from MCUVPR setting
Depending on the motion vector value, 8-dot data (8 bytes) or 9-dot data (9
bytes) is processed in succession.
Future frame U pointer address is calculated using a formula similar to that for
the past frame.
V pointer address is calculated using a formula similar to that for the U pointer
address.
* Calculation result for Recon_down/2>>1 is shown below:
Recon_
down
-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6
Recon_
down/2>>1
-2 -1 -1 -1 -1 0 0 0 0 0 1 1 1
Calculation result for Recon_right/2>>1 is the same.