Factor out common tx_type writing codes from inter/intra frame

Change-Id: Id2626bd19db2504756d9a1dee709c2d08c79f771
1 file changed