← Back
Home › Systems › Communication and media

video-encoder

video encoder

x264, SVT-AV1

SystemTechniques · 5Primitives · 18 video-encoder Motion estimationmedia · medium: Block matching and sub-pixel motion search for inter predictionRate distortion optimizationmedia · medium: Choose modes minimizing D + lambda*R for coding decisionsVideo rate controlmedia · medium: CBR/VBR/CRF rate control with VBV buffer model and lookaheadWavefront parallel processingmedia · medium: Row-wavefront and frame-level parallelism in video codecsWork-stealing dequeconcurrency · medium: Per-worker deque: the owner pushes and pops at the bottom without contention, idle workers steal from the top; the core of Rayon, Tokio and Go.›SIMD programminghardware-os · low: Process 4-16 lanes per instruction with AVX2, AVX-512 or NEON via Rust std::arch, with runtime dispatch and a portable fallback.›Arithmetic codingcompression · low: Encodes a whole message as one number in [0,1), spending fractional bits per symbol; pairs with adaptive context models for the best ratios.›Intra predictionmedia · low: Predict a block from neighbouring pixels (directional, DC, planar modes)Perceptual quality metrics (PSNR, S…media · low: Full-reference scores that say how bad a compressed picture looks: PSNR (pixel error), SSIM (structure), VMAF (learned fusion), and when each one lies.›Adaptive quantizationmedia · low: Per-block QP offsets driven by local texture energy: spend bits on flat areas where blocking shows, save them where texture masks the error.›GOP structuremedia · low: How an encoder orders I, P and B frames into groups of pictures: the knob behind seekability, compression, latency and stream switching.›Scene cut detectionmedia · low: Detect shot changes from frame-difference statisticsColor space conversiongraphics · low: Convert pixels between transfer curves (sRGB, linear light), primaries (sRGB, Display P3, XYZ) and Y'CbCr, using tables for the curve and 3x3 matrices for the rest.›Chroma subsamplingmedia · low: 4:2:0/4:2:2 colour plane downsampling and sitingIn loop filtersmedia · low: Deblocking, SAO and CDEF filters applied inside the codec prediction loopDiscrete cosine transformnumerics · low: Fast integer DCT/DST block transforms used by image and video codecsImage pyramidsgraphics · low: Gaussian/Laplacian pyramids and tiled multi-resolution images for zoom and blendingImage resampling filtersgraphics · low: Resize an image by convolving with a kernel (box, triangle, cubic, Lanczos) whose width scales with the shrink factor, done as two separable 1-D passes with precomputed weights.›Counting semaphoreconcurrency · low: Counting and binary semaphores for task signalling and resource countingEpoch-based reclamationconcurrency · low: Threads announce a global epoch while touching shared lock-free data; garbage retired in epoch e is freed once the epoch reaches e + 2.›Memory orderingconcurrency · low: What Relaxed, Acquire, Release and SeqCst atomics actually guarantee, what they cost on x86 and ARM, and which one each pattern needs.›+ 2 more primitives

Similar systems

Share the most building blocks with this one.