€•cCŒsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ9/translations/zh_CN/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/zh_TW/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/it_IT/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ja_JP/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ko_KR/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/pt_BR/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/sp_SP/admin-guide/media/raspberrypi-rp1-cfe”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒS/var/lib/git/docbuild/linux/Documentation/admin-guide/media/raspberrypi-rp1-cfe.rst”h´KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ,Raspberry Pi PiSP Camera Front End (rp1-cfe)”h]”hŒ,Raspberry Pi PiSP Camera Front End (rp1-cfe)”…””}”(hhÏh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒThe PiSP Camera Front End”h]”hŒThe PiSP Camera Front End”…””}”(hhàh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhhÝh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒyThe PiSP Camera Front End (CFE) is a module which combines a CSI-2 receiver with a simple ISP, called the Front End (FE).”h]”hŒyThe PiSP Camera Front End (CFE) is a module which combines a CSI-2 receiver with a simple ISP, called the Front End (FE).”…””}”(hhðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)”}”(hXcThe CFE has four DMA engines and can write frames from four separate streams received from the CSI-2 to the memory. One of those streams can also be routed directly to the FE, which can do minimal image processing, write two versions (e.g. non-scaled and downscaled versions) of the received frames to memory and provide statistics of the received frames.”h]”hXcThe CFE has four DMA engines and can write frames from four separate streams received from the CSI-2 to the memory. One of those streams can also be routed directly to the FE, which can do minimal image processing, write two versions (e.g. non-scaled and downscaled versions) of the received frames to memory and provide statistics of the received frames.”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K hhÝh²hubhï)”}”(hX*The FE registers are documented in the `Raspberry Pi Image Signal Processor (ISP) Specification document `_, and example code for FE can be found in `libpisp `_.”h]”(hŒ'The FE registers are documented in the ”…””}”(hj h²hh³Nh´NubhŒ reference”“”)”}”(hŒ¥`Raspberry Pi Image Signal Processor (ISP) Specification document `_”h]”hŒ@Raspberry Pi Image Signal Processor (ISP) Specification document”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œ@Raspberry Pi Image Signal Processor (ISP) Specification document”Œrefuri”Œ_https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf”uh1jhj ubhŒtarget”“”)”}”(hŒb ”h]”h}”(h]”Œ>raspberry-pi-image-signal-processor-isp-specification-document”ah ]”h"]”Œ@raspberry pi image signal processor (isp) specification document”ah$]”h&]”Œrefuri”j'uh1j(Œ referenced”Khj ubhŒ*, and example code for FE can be found in ”…””}”(hj h²hh³Nh´Nubj)”}”(hŒ3`libpisp `_”h]”hŒlibpisp”…””}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”Œname”Œlibpisp”j&Œ&https://github.com/raspberrypi/libpisp”uh1jhj ubj))”}”(hŒ) ”h]”h}”(h]”Œlibpisp”ah ]”h"]”Œlibpisp”ah$]”h&]”Œrefuri”jLuh1j(j7Khj ubhŒ.”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´KhhÝh²hubeh}”(h]”Œthe-pisp-camera-front-end”ah ]”h"]”Œthe pisp camera front end”ah$]”h&]”uh1hÈhhÊh²hh³hÇh´KubhÉ)”}”(hhh]”(hÎ)”}”(hŒThe rp1-cfe driver”h]”hŒThe rp1-cfe driver”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÍhjlh²hh³hÇh´Kubhï)”}”(hX|The Raspberry Pi PiSP Camera Front End (rp1-cfe) driver is located under drivers/media/platform/raspberrypi/rp1-cfe. It uses the `V4L2 API` to register a number of video capture and output devices, the `V4L2 subdev API` to register subdevices for the CSI-2 received and the FE that connects the video devices in a single media graph realized using the `Media Controller (MC) API`.”h]”(hŒThe Raspberry Pi PiSP Camera Front End (rp1-cfe) driver is located under drivers/media/platform/raspberrypi/rp1-cfe. It uses the ”…””}”(hj}h²hh³Nh´NubhŒtitle_reference”“”)”}”(hŒ `V4L2 API`”h]”hŒV4L2 API”…””}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j…hj}ubhŒ? to register a number of video capture and output devices, the ”…””}”(hj}h²hh³Nh´Nubj†)”}”(hŒ`V4L2 subdev API`”h]”hŒV4L2 subdev API”…””}”(hj™h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j…hj}ubhŒ… to register subdevices for the CSI-2 received and the FE that connects the video devices in a single media graph realized using the ”…””}”(hj}h²hh³Nh´Nubj†)”}”(hŒ`Media Controller (MC) API`”h]”hŒMedia Controller (MC) API”…””}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j…hj}ubhŒ.”…””}”(hj}h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´Khjlh²hubhï)”}”(hŒ†The media topology registered by the `rp1-cfe` driver, in this particular example connected to an imx219 sensor, is the following one:”h]”(hŒ%The media topology registered by the ”…””}”(hjÃh²hh³Nh´Nubj†)”}”(hŒ `rp1-cfe`”h]”hŒrp1-cfe”…””}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j…hjÃubhŒX driver, in this particular example connected to an imx219 sensor, is the following one:”…””}”(hjÃh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K"hjlh²hubj))”}”(hŒ.. _rp1-cfe-topology:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œrp1-cfe-topology”uh1j(h´K%hjlh²hh³hÇubŒkfigure”Œ kernel_figure”“”)”}”(hhh]”hŒfigure”“”)”}”(hhh]”hŒimage”“”)”}”(hŒx.. kernel-figure:: raspberrypi-rp1-cfe.dot :alt: Diagram of an example media pipeline topology :align: center ”h]”h}”(h]”h ]”h"]”h$]”h&]”Œalt”Œ-Diagram of an example media pipeline topology”Œuri”Œ)admin-guide/media/raspberrypi-rp1-cfe.dot”Œ candidates”}”Œ*”j suh1júhj÷h³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”Œalign”Œcenter”uh1jõhjòubah}”(h]”jîah ]”h"]”Œrp1-cfe-topology”ah$]”h&]”uh1jðhjlh²hh³hÇh´NŒexpect_referenced_by_name”}”jjãsŒexpect_referenced_by_id”}”jîjãsubhï)”}”(hŒ:The media graph contains the following video device nodes:”h]”hŒ:The media graph contains the following video device nodes:”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K+hjlh²hubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒ;rp1-cfe-csi2-ch0: capture device for the first CSI-2 stream”h]”hï)”}”(hj7h]”hŒ;rp1-cfe-csi2-ch0: capture device for the first CSI-2 stream”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hîh³hÇh´K-hj5ubah}”(h]”h ]”h"]”h$]”h&]”uh1j3hj0h²hh³hÇh´Nubj4)”}”(hŒj£j jÿjüuŒ nametypes”}”(j‰ji‰j3ˆjVˆj‰jˆj‰jA‰j£‰jÿ‰uh}”(j hÊjfhÝj0j*jSjMjjljîjòjjöj>jj jDjüj¦uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hï)”}”(hhh]”hŒ6Hyperlink target "rp1-cfe-topology" is not referenced.”…””}”hjŸsbah}”(h]”h ]”h"]”h$]”h&]”uh1hîhjœubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”K%uh1jšubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.