Refactor tx_size use cases in blockd.c

Use table to replace the arithmetic computation for mapping between
transform block and pixel number.

Change-Id: Ica71af9891bb9ab8f0bab30794e1021066d57d64
2 files changed