ipu_image_convert_queue(9)
π ipu_image_convert_queue β from the Kernel API Manual, section 9
okay bestie, so this one is literally called ipu_image_convert_queue and it's the "queue a conversion run" girlie β¨ like that's her whole thing. she takes your run request and gets it in line. periodt.
πΈ SYNOPSIS πΈ
int ipu_image_convert_queue(struct ipu_image_convert_run *run);
π ARGUMENTS π
runβ the run request pointer π«Ά that's it. that's the whole argument. she's low maintenance.
β¨ DESCRIPTION β¨
okay so here's the tea π₯: ipu_image_convert_run must be dynamically allocated by callers β and no, queen, not as a local var, i'm so serious β and then filled in with two things:
- a conversion context handle that you already prepared earlier (
ipu_image_convert_preparegirlies know π ) - the dma addr's of the input and output image buffers for this specific conversion run
highkey important, ngl π
when this conversion completes, the run pointer comes right back at you via the completion callback π and guess what β the caller is responsible for freeing the run object after it completes. not the driver, not the IPU, not the vibes. you. π«΅
in V4L2, drivers should call ipu_image_convert_queue while streaming to queue the conversion of a received input buffer π₯β¨. for example mem2mem devices, this would be called in .device_run. iykyk π
π RETURN π
0 on success or -errno on error π€ the classic. no surprises, no drama (for once).
π¦ SEE ALSO π¦
the main character energy is strong in this family π:
- Kernel file
./include/video/imx-ipu-image-convert.hstruct ipu_image_convert_run(9)ipu_image_convert_cb_t(9)ipu_image_convert_adjust(9)ipu_image_convert_verify(9)ipu_image_convert_prepare(9)ipu_image_convert_unprepare(9)ipu_image_convert_abort(9)ipu_image_convert(9)
π friendly reminder that local var thing β dynamically allocated only. i'm not gonna say it again (i will absolutely say it again).
and that's the page π it lives in ./include/video, it's part of the Kernel API Manual, and it's dated October 2026 β mwah, slay, go queue your runs 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