STRUCT CAMIF_VP(9)
π struct camif_vp(9) β CAMIF data processing path structure (codec/preview) π
πΈ NAME πΈ
okay bestie, welcome to the Kernel API Manual page for struct camif_vp(9)! This is the CAMIF data processing path structure for codec/preview. It's the struct holding the whole video-path setup, and we are going through every single member like the responsible Unix bestie we are. No skips. No cap. π
π¦ SYNOPSIS π¦
Here's the struct exactly as it appears, bestie β every field is iconic and must stay put:
struct camif_vp {
wait_queue_head_t irq_queue;
int irq;
struct camif_dev *camif;
struct media_pad pad;
struct video_device vdev;
struct v4l2_ctrl_handler ctrl_handler;
struct v4l2_fh *owner;
struct vb2_queue vb_queue;
struct list_head pending_buf_q;
struct list_head active_buf_q;
unsigned int active_buffers;
unsigned int buf_index;
unsigned int frame_sequence;
unsigned int reqbufs_count;
struct camif_scaler scaler;
const struct camif_fmt *out_fmt;
unsigned int payload;
struct camif_frame out_frame;
unsigned int state;
u16 fmt_flags;
u8 id;
u16 rotation;
u8 hflip;
u8 vflip;
unsigned int offset;
};
π§© Members π§©
Every member, one by one, with zero missing, periodt:
irq_queueβ interrupt handling waitqueue; the waitqueue for interrupt handling. π€irqβ the interrupt number for this data path. Yes, the actualirqfor this path. π’camifβ pointer to thecamifstructure. It's giving backstage pass to the CAMIF struct. ποΈpadβ media pad for the video node. πvdevβ video device. π₯ctrl_handlerβ video node controls handler. ποΈownerβ file handle that own the streaming β streaming ownership, iykyk. πvb_queueβ vb2 buffer queue. πpending_buf_qβ pending (empty) buffers queue head. πactive_buf_qβ active (being written) buffers queue head. π₯active_buffersβ counter of buffer set up at the DMA engine. πbuf_indexβ identifier of a last empty buffer set up in H/W. πframe_sequenceβ image frame sequence counter. ποΈreqbufs_countβ the number of buffers requested. π§Ύscalerβ the scaler structure. πͺout_fmtβ pixel format at this video path output. π¨payloadβ the output data frame payload size. π¦out_frameβ the output pixel resolution. πΌοΈstateβ the video path's state. π§fmt_flagsβ flags determining supported pixel formats. π©idβ CAMIF id,0- codec,1- preview. πrotationβ current image rotation value. πhflipβ apply horizontal flip if set. βοΈvflipβ apply vertical flip if set. βοΈoffsetβ register offset. π
π SEE ALSO π
Go peek at these, bestie β the whole friend group:
- Kernel file
./drivers/media/platform/samsung/s3c-camif/camif-core.h struct camif_fmt(9)struct camif_dma_offset(9)struct camif_frame(9)struct s3c_camif_variant(9)struct camif_dev(9)struct camif_addr(9)struct camif_buffer(9)
This struct camif_vp(9) page's source/version is ./drivers/media/platform/samsu..., dated October 2026. That's the footer energy, folded into a cute sign-off β now go read the source, 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