STRUCT GB_CAMERA_STREAM(9)
π NAME π
struct gb_camera_stream β the lil struct that represents a greybus camera stream, bestie. That's it, that's the vibe β¨
π SYNOPSIS π
struct gb_camera_stream {
unsigned int width;
unsigned int height;
enum v4l2_mbus_pixelcode pixel_code;
unsigned int vc;
unsigned int dt[2];
unsigned int max_size;
};
π¦ MEMBERS π¦
Okay so here's the cast of characters, and honestly every single one of them is doing their job perfectly π
widthβ the stream width, in pixels. That's the horizontal situation, iykyk πheightβ the stream height, in pixels. Vertical era πpixel_codeβ the media bus pixel code. The whole personality of the pixels, fr.vcβ the MIPI CSI virtual channel. Think of it as the stream's own little lane π£οΈdtβ the MIPI CSI data types. Listen: most formats only use a single data type, and in that case the second element will be ignored. So don't come fordt[1]if it's not pulling its weight β it was literally told to sit this one out πmax_sizeβ maximum size of a frame in bytes. And the camera module guarantees that all data between the Frame Start and Frame End packet for the associated virtual channel and data type(s) will not exceed this size. Like, guaranteed guaranteed. No cap. π₯
πΈ SEE ALSO πΈ
- Kernel file
./drivers/staging/greybus/gb-camera.hstruct gb_camera_csi_params(9)struct gb_camera_ops(9)struct gb_camera_module(9)
go read those other structs too, they're all in the group chat π
this page lives in ./drivers/staging/greybus, dated October 2026 β mwah, kisses, bye 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