Function write_tx_blocks
Source pub fn write_tx_blocks<T: Pixel, W: Writer>(
fi: &FrameInvariants<T>,
ts: &mut TileStateMut<'_, T>,
cw: &mut ContextWriter<'_>,
w: &mut W,
luma_mode: PredictionMode,
chroma_mode: PredictionMode,
angle_delta: AngleDelta,
tile_bo: TileBlockOffset,
bsize: BlockSize,
tx_size: TxSize,
tx_type: TxType,
skip: bool,
cfl: CFLParams,
luma_only: bool,
rdo_type: RDOType,
need_recon_pixel: bool,
) -> (bool, ScaledDistortion)
Expand description
ยงPanics
- If attempting to encode a lossless block (not yet supported)