GIRC.dev

The decoder already knows which transform you meant.

Every video codec signals the transform type for every block, even though the choice is almost always the same one. GIRC replaces that signalling with an inference: the decoder predicts the transform from the geometry it has already reconstructed, and the encoder spends a single bin only when the prediction was wrong.

It is one product: a reference codec you can build in one command, a training pipeline that fits the predictor on the encoder's own decisions, a benchmark that measures both, and a hosted service that runs the analysis so you do not have to.

Signalling a choice the decoder could make itself

A VVC transform block is coded with one of five modes: the plain DCT-II, or one of the four per-axis combinations of DCT-VIII and DST-VII that the standard calls multiple transform selection. The encoder picks one by rate-distortion search, and the decoder has no way of knowing which one it picked except that the bitstream tells it.

The signalling is a few bins per block and it is pure overhead: it carries no information the decoder could not have derived for itself. The reason it looks like it cannot be derived is that the choice is close to a tie, which is the whole story of this project and is measured on the results page rather than asserted here.

Why the mechanism is small: the rate-distortion choice between modes is close to a tie research/benchmark/transform-spread.json
RD-cost gap 0.000 10th percentile 0.098 median 0.695 90th percentile relative spread: a median of 0.67 and a 90th percentile of 2.64 percent of the best mode's own cost, over 1,584 blocks of akiyo_cif

Infer, signal once, trade the rest

The decoder can see something the residual does not determine: the shape of the content it has already reconstructed. A block that sits in a directional neighbourhood tends to want a directional transform, and a block in a flat one tends to want the default. That signal is available on both sides at the same moment, so it can carry the choice.

How the prediction works: the window, the block, and the single correction bit crates/girc-core/src/geometry.rs, crates/girc-core/src/bitstream.rs
the block being coded already reconstructed, already known to both sides the encoder's rate-distortion search the decoder's prediction, from the window one bin: was the prediction right? if it was wrong, two bins pick between the rest the decoder reads its own window it predicts the mode, at no cost it reads the one bin right: take the prediction. wrong: read two more one bitstream, one flag in the header

Infer

The decoder reads a 16-sample square window of its own reconstruction and predicts the transform from its geometry: the gradient orientation field, the per-axis energies, the intra prediction mode, the quantization parameter and the modes the already-coded neighbours used.

Signal

The encoder spends one bin on whether the prediction was right. When it was wrong, two further bins select between the four modes the prediction ruled out, which is what makes an override cost no more than the signalling it replaces.

Trade

The encoder may take a slightly worse transform than its search found, when doing so costs less than the override would. That margin is the mechanism's one free parameter, and the benchmark sweeps it.

Verify

The benchmark decodes every stream it encodes and refuses a result if the decoded picture differs from the encoder's own reconstruction. An encoder and a decoder that disagree is a bug, not a measurement.

One product, four parts, all of it runnable

The pipeline: where each artifact comes from, and where it is used the repository layout
crates/girc-core VVC-exact integer transforms intra and inter prediction the geometry predictor the entropy coder python/girc-train collect: the encoder's decisions fit: one model over five modes the predictability ceiling a frozen, versioned artifact crates/girc-bench both modes, same content the margin sweep the anchor codecs the Bjontegaard implementation models/girc-predictor.json — produced by the middle, read by both sides of the codec one product: the codec, the training pipeline, the benchmark, and the portal that evaluates it

Reference codec

A Rust implementation of the full path: VVC-exact integer transforms, intra and inter prediction, the 4:2:0 chroma planes, quantization, a context-adaptive entropy coder, and both signalling modes behind one command-line interface.

Training pipeline

The predictor is trained on the encoder's own decisions, not on a proxy. The pipeline reports the predictability ceiling alongside the shipped model's accuracy, so a reader can see what the features support and not only what the model achieves.

Benchmark harness

GIRC in both modes against x265, SVT-AV1 and VVenC on the same content, with the Bjontegaard delta rate computed the way the JVET common test conditions define it.

Evaluation portal

The confidential evaluation environment, and the hosted analysis service: organisation accounts, versioned agreement acceptance, gated artifact delivery, result submission and an append-only audit log.

0.236% on the luma plane, and the reason it is not larger

Over twelve Xiph.Org CIF sequences, ten frames each, at four quantization parameters, with the margin at 50: the inferred mode is −0.236% on the luma plane and −0.149% on the whole frame, and it is smaller on eleven sequences of the twelve on the luma plane and ten on the whole frame. The whole sweep is on the results page.

It is a small win, and the reason it is not a larger one is measurable rather than mysterious: the transform mode is a near-tie in rate-distortion terms, so there is little for a predictor to predict. That measurement is the mechanism's most useful result.

The margin sweep: the rate the encoder saves against the distortion it pays research/benchmark/report-v9-joint.json · margin_sweep
-0.3 -0.1 0.1 0.4 0.6 the explicit baseline -0.056 0 -0.119 25 -0.236 50 +0.002 100 +0.515 200 the optimum on this content BD-rate, % margin, in rate-distortion cost units negative is smaller than the explicit mode
What this is, and what it is not

It is open source. The codec, the training pipeline and the portal are Apache-2.0, and there is nothing on this site gated behind a price or a request form. The hosted analysis service is free to use, and the code it runs is the code in the repository.

It is not a VVC decoder. GIRC's bitstream is its own research format. It exists to measure one mechanism with everything else held constant. The transform arithmetic is the real thing, bit-exact against Fraunhofer HHI's VVenC, but GIRC is a research codec with integer-sample motion and is not a VVC competitor.

The patent materials are published. The disclosure, the claim set and the prior-art analysis are in the repository rather than behind an evaluation agreement, because a claim is only worth as much as somebody else's ability to check it.