fimc_get_sensor_frame_desc(9)
π fimc_get_sensor_frame_desc(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel API manual era now, and honestly? iconic. this one's a little function with a big job, and i'm gonna walk you through it like we're texting at 1am π
β¨ NAME β¨
fimc_get_sensor_frame_desc β literally just querying the sensor for its media bus frame parameters, no cap πΈ
π SYNOPSIS π
int fimc_get_sensor_frame_desc (struct v4l2_subdev *sensor , struct
v4l2_plane_pix_format *plane_fmt , unsigned int num_planes , bool try );
that's the whole flex. int going in, int coming out, four args in the middle π«Ά
π ARGUMENTS π
sensorβ pointer to the sensor subdev. like, the actual sensor bestie. you gotta tell her who she is π¦plane_fmtβ provides plane sizes corresponding to the frame layout entries. she's carrying the measurements, the receipts, the whole layout πβ¨num_planesβ number of planes. count 'em, don't guess πtryβtrueto set the frame parameters,falseto query only. try is genuinely the name of the vibe here β one mode commits, one mode just peeks π
π DESCRIPTION π
so this function is used by this driver only for compressed/blob data formats. that's it, that's the whole description. she's niche, she's specialized, she's not for everyone and honestly that's main character energy π
fr fr though β only for compressed/blob data formats. don't be out here calling her for stuff she doesn't handle π
π₯ SEE ALSO π₯
- Kernel file
./drivers/media/platform/samsung/exynos4-is/fimc-capture.cβ go read the source diva herself π fimc_capture_config_update(9)fimc_pipeline_try_format(9)fimc_pipeline_validate(9)fimc_sensor_notify(9)
the whole friend group, assembled π«Άβ¨
and that's the page!! π
ok so sign-off time: this absolute gem lives over at ./drivers/media/platform/samsu... (yes she's truncated in the source line, respectfully), dated October 2026, straight out of the Kernel API Manual. go forth and query your sensors responsibly, bestie πππ
π¦ 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