STRUCT CAMIF_FRAME(9)
π struct camif_frame(9) β the Kernel API Manual, bestie edition β¨
okay so picture this: it's the Linux kernel, it's the Samsung s3c-camif camera interface situation, and somebody has to keep track of where the picture actually goes. That's this struct. It lives in the kernel API manual (that's the (9) vibe, iykyk), and it is literally just the source/target frame properties, packaged up all cute π
β¨ NAME β¨
struct camif_frame β source/target frame properties π
like, the frame's whole personality: how big it is, what part of it you're cropping or composing, and how the DMA wants its offsets. no cap.
π¦ SYNOPSIS π¦
struct camif_frame {
u16 f_width;
u16 f_height;
struct v4l2_rect rect;
struct camif_dma_offset dma_offset;
};
that's her. four fields. main character energy, zero filler π
πΈ Members πΈ
f_widthβ the full pixel width, fr fr. like the whole entire width, not a cropped situation.f_heightβ the full pixel height π― same deal, the whole height, nothing cut off.rectβ astruct v4l2_rectholding the crop/composition rectangle. that's the "okay but this part of it actually" rectangle π«Άdma_offsetβ astruct camif_dma_offsetwith the DMA offset configuration. the DMA's little offset preferences, slay β
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/platform/samsung/s3c-camif/camif-core.hβ that's where the source of truth lives, go read it bestie π struct camif_fmt(9)struct camif_dma_offset(9)struct s3c_camif_variant(9)struct camif_vp(9)struct camif_dev(9)struct camif_addr(9)struct camif_buffer(9)
the whole friend group honestly π all of them, in that order, exactly like that.
ok final vibe check: no options, no exit statuses, no warnings, no bugs listed β this page is just a struct and its four members. don't go looking for drama that isn't there π
that's the whole page, periodt π this cutie came out of ./drivers/media/platform/samsuβ¦ β yes it's truncated, blame the footer, not me π β and it's tagged October 2026 in the manual, which is giving time-travel main character. anyway, stan struct camif_frame(9), go build something iconic π§πΈπ
π¦ 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