Function write_tx_tree

Source
pub fn write_tx_tree<T: Pixel, W: Writer>(
    fi: &FrameInvariants<T>,
    ts: &mut TileStateMut<'_, T>,
    cw: &mut ContextWriter<'_>,
    w: &mut W,
    luma_mode: PredictionMode,
    angle_delta_y: i8,
    tile_bo: TileBlockOffset,
    bsize: BlockSize,
    tx_size: TxSize,
    tx_type: TxType,
    skip: bool,
    luma_only: bool,
    rdo_type: RDOType,
    need_recon_pixel: bool,
) -> (bool, ScaledDistortion)