fimc_get_sensor_frame_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” true to set the frame parameters, false to 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 πŸ”₯

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