pub fn rdo_tx_size_type<T: Pixel>(
fi: &FrameInvariants<T>,
ts: &mut TileStateMut<'_, T>,
cw: &mut ContextWriter<'_>,
bsize: BlockSize,
tile_bo: TileBlockOffset,
luma_mode: PredictionMode,
ref_frames: [RefType; 2],
mvs: [MotionVector; 2],
skip: bool,
) -> (TxSize, TxType)