STRUCT VSP1_DU_ATOMIC_CONFIG(9)
π struct vsp1_du_atomic_config(9) π
okay so bestie, welcome to the struct vsp1_du_atomic_config situation β it's a Kernel API Manual page and it's literally just the VSP atomic configuration parameters, all cozy in one struct. no cap, that's the whole vibe. let's get into it π¦
β¨ NAME β¨
struct vsp1_du_atomic_config β VSP atomic configuration parameters π
πΈ SYNOPSIS πΈ
here's the whole glow-up, every field exactly as it is, don't touch a thing:
struct vsp1_du_atomic_config {
u32 pixelformat;
unsigned int pitch;
dma_addr_t mem[3];
struct v4l2_rect src;
struct v4l2_rect dst;
unsigned int alpha;
unsigned int zpos;
bool premult;
enum v4l2_ycbcr_encoding color_encoding;
enum v4l2_quantization color_range;
};
like, she's giving "one struct to rule the atomic config" and honestly? iconic π
π Members π
every member gets her moment, periodt:
pixelformatβ the plane pixel format, aka the V4L2 4CC. it's the whole personality of the plane ngl πpitchβ line pitch in bytes for the first plane. just the first one, bestie, don't come for me π«Άmemβ DMA memory address for each plane of the frame buffer. yes, it's an array of3, so there's room for the whole squad πsrcβ source rectangle in the frame buffer, and it's integer coordinates only. no fractional drama here πdstβ destination rectangle on the display, also integer coordinates. keep it whole, keep it cute β¨alphaβ the alpha value.0is fully transparent,255is fully opaque. so0= invisible ghost mode π»,255= full main character energy π₯zposβ Z position of the plane, from0to number of planes minus1. it's giving stack order, it's giving layering, iykyk πpremultβtruefor premultiplied alpha. simple as that, bestie πcolor_encodingβ color encoding. valid for YUV formats only, so don't try it on everything, she has boundaries βcolor_rangeβ color range. also valid for YUV formats only. same rule, same energy πΈ
π¦ SEE ALSO π¦
the whole friend group, go say hi:
- Kernel file
./include/media/vsp1.h struct vsp1_du_lif_config(9)enum vsp1_du_crc_source(9)struct vsp1_du_crc_config(9)struct vsp1_du_writeback_config(9)struct vsp1_du_atomic_pipe_config(9)struct vsp1_isp_buffer_desc(9)struct vsp1_isp_job_desc(9)struct vsp1_vspx_frame_end(9)
lowkey reminder bestie: keepcolor_encodingandcolor_rangefor the YUV formats only, and keep thosesrc/dstcoords as integers. the struct does not do decimals, fr fr π
and that's the page!! mwah π this came from ./include/media, dated October 2026, and she's officially struct vsp1_du_atomic_config(9) β slay, go read the other structs, ily π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms