sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget,/translations/zh_CN/admin-guide/media/c3-ispmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/zh_TW/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/it_IT/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/ja_JP/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/ko_KR/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/pt_BR/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget,/translations/sp_SP/admin-guide/media/c3-ispmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h.SPDX-License-Identifier: (GPL-2.0-only OR MIT)h]h.SPDX-License-Identifier: (GPL-2.0-only OR MIT)}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhF/var/lib/git/docbuild/linux/Documentation/admin-guide/media/c3-isp.rsthKubh)}(h4This data file has been placed in the public domain.h]h4This data file has been placed in the public domain.}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhho/srv/docbuild/lib/venvs/build-kernel-docs/lib64/python3.9/site-packages/docutils/parsers/rst/include/isonum.txthKubh)}(hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .h]hDerived from the Unicode character mappings available from . Processed by unicode2rstsubs.py, part of Docutils: .}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhhhhKubhsubstitution_definition)}(h*.. |amp| unicode:: U+00026 .. AMPERSANDh]h&}hhsbah}(h]h ]h"]ampah$]h&]uh1hhhhKhhhhubh)}(h+.. |apos| unicode:: U+00027 .. APOSTROPHEh]h'}hhsbah}(h]h ]h"]aposah$]h&]uh1hhhhKhhhhubh)}(h).. |ast| unicode:: U+0002A .. ASTERISKh]h*}hjsbah}(h]h ]h"]astah$]h&]uh1hhhhK hhhhubh)}(h+.. |brvbar| unicode:: U+000A6 .. BROKEN BARh]h¦}hjsbah}(h]h ]h"]brvbarah$]h&]uh1hhhhK hhhhubh)}(h0.. |bsol| unicode:: U+0005C .. REVERSE SOLIDUSh]h\}hj#sbah}(h]h ]h"]bsolah$]h&]uh1hhhhK hhhhubh)}(h*.. |cent| unicode:: U+000A2 .. CENT SIGNh]h¢}hj2sbah}(h]h ]h"]centah$]h&]uh1hhhhK hhhhubh)}(h&.. |colon| unicode:: U+0003A .. COLONh]h:}hjAsbah}(h]h ]h"]colonah$]h&]uh1hhhhK hhhhubh)}(h&.. |comma| unicode:: U+0002C .. COMMAh]h,}hjPsbah}(h]h ]h"]commaah$]h&]uh1hhhhKhhhhubh)}(h... |commat| unicode:: U+00040 .. COMMERCIAL ATh]h@}hj_sbah}(h]h ]h"]commatah$]h&]uh1hhhhKhhhhubh)}(h/.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGNh]h©}hjnsbah}(h]h ]h"]copyah$]h&]uh1hhhhKhhhhubh)}(h... |curren| unicode:: U+000A4 .. CURRENCY SIGNh]h¤}hj}sbah}(h]h ]h"]currenah$]h&]uh1hhhhKhhhhubh)}(h0.. |darr| unicode:: U+02193 .. DOWNWARDS ARROWh]h↓}hjsbah}(h]h ]h"]darrah$]h&]uh1hhhhKhhhhubh)}(h,.. |deg| unicode:: U+000B0 .. DEGREE SIGNh]h°}hjsbah}(h]h ]h"]degah$]h&]uh1hhhhKhhhhubh)}(h... |divide| unicode:: U+000F7 .. DIVISION SIGNh]h÷}hjsbah}(h]h ]h"]divideah$]h&]uh1hhhhKhhhhubh)}(h,.. |dollar| unicode:: U+00024 .. DOLLAR SIGNh]h$}hjsbah}(h]h ]h"]dollarah$]h&]uh1hhhhKhhhhubh)}(h,.. |equals| unicode:: U+0003D .. EQUALS SIGNh]h=}hjsbah}(h]h ]h"]equalsah$]h&]uh1hhhhKhhhhubh)}(h1.. |excl| unicode:: U+00021 .. EXCLAMATION MARKh]h!}hjsbah}(h]h ]h"]exclah$]h&]uh1hhhhKhhhhubh)}(h9.. |frac12| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hjsbah}(h]h ]h"]frac12ah$]h&]uh1hhhhKhhhhubh)}(h<.. |frac14| unicode:: U+000BC .. VULGAR FRACTION ONE QUARTERh]h¼}hjsbah}(h]h ]h"]frac14ah$]h&]uh1hhhhKhhhhubh)}(h;.. |frac18| unicode:: U+0215B .. VULGAR FRACTION ONE EIGHTHh]h⅛}hjsbah}(h]h ]h"]frac18ah$]h&]uh1hhhhKhhhhubh)}(h?.. |frac34| unicode:: U+000BE .. VULGAR FRACTION THREE QUARTERSh]h¾}hjsbah}(h]h ]h"]frac34ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac38| unicode:: U+0215C .. VULGAR FRACTION THREE EIGHTHSh]h⅜}hj"sbah}(h]h ]h"]frac38ah$]h&]uh1hhhhKhhhhubh)}(h=.. |frac58| unicode:: U+0215D .. VULGAR FRACTION FIVE EIGHTHSh]h⅝}hj1sbah}(h]h ]h"]frac58ah$]h&]uh1hhhhKhhhhubh)}(h>.. |frac78| unicode:: U+0215E .. VULGAR FRACTION SEVEN EIGHTHSh]h⅞}hj@sbah}(h]h ]h"]frac78ah$]h&]uh1hhhhKhhhhubh)}(h2.. |gt| unicode:: U+0003E .. GREATER-THAN SIGNh]h>}hjOsbah}(h]h ]h"]gtah$]h&]uh1hhhhKhhhhubh)}(h9.. |half| unicode:: U+000BD .. VULGAR FRACTION ONE HALFh]h½}hj^sbah}(h]h ]h"]halfah$]h&]uh1hhhhK hhhhubh)}(h/.. |horbar| unicode:: U+02015 .. HORIZONTAL BARh]h―}hjmsbah}(h]h ]h"]horbarah$]h&]uh1hhhhK!hhhhubh)}(h'.. |hyphen| unicode:: U+02010 .. HYPHENh]h‐}hj|sbah}(h]h ]h"]hyphenah$]h&]uh1hhhhK"hhhhubh)}(h:.. |iexcl| unicode:: U+000A1 .. INVERTED EXCLAMATION MARKh]h¡}hjsbah}(h]h ]h"]iexclah$]h&]uh1hhhhK#hhhhubh)}(h7.. |iquest| unicode:: U+000BF .. INVERTED QUESTION MARKh]h¿}hjsbah}(h]h ]h"]iquestah$]h&]uh1hhhhK$hhhhubh)}(hJ.. |laquo| unicode:: U+000AB .. LEFT-POINTING DOUBLE ANGLE QUOTATION MARKh]h«}hjsbah}(h]h ]h"]laquoah$]h&]uh1hhhhK%hhhhubh)}(h0.. |larr| unicode:: U+02190 .. LEFTWARDS ARROWh]h←}hjsbah}(h]h ]h"]larrah$]h&]uh1hhhhK&hhhhubh)}(h3.. |lcub| unicode:: U+0007B .. LEFT CURLY BRACKETh]h{}hjsbah}(h]h ]h"]lcubah$]h&]uh1hhhhK'hhhhubh)}(h;.. |ldquo| unicode:: U+0201C .. LEFT DOUBLE QUOTATION MARKh]h“}hjsbah}(h]h ]h"]ldquoah$]h&]uh1hhhhK(hhhhubh)}(h).. |lowbar| unicode:: U+0005F .. LOW LINEh]h_}hjsbah}(h]h ]h"]lowbarah$]h&]uh1hhhhK)hhhhubh)}(h1.. |lpar| unicode:: U+00028 .. LEFT PARENTHESISh]h(}hjsbah}(h]h ]h"]lparah$]h&]uh1hhhhK*hhhhubh)}(h4.. |lsqb| unicode:: U+0005B .. LEFT SQUARE BRACKETh]h[}hjsbah}(h]h ]h"]lsqbah$]h&]uh1hhhhK+hhhhubh)}(h;.. |lsquo| unicode:: U+02018 .. LEFT SINGLE QUOTATION MARKh]h‘}hjsbah}(h]h ]h"]lsquoah$]h&]uh1hhhhK,hhhhubh)}(h/.. |lt| unicode:: U+0003C .. LESS-THAN SIGNh]h<}hj!sbah}(h]h ]h"]ltah$]h&]uh1hhhhK-hhhhubh)}(h+.. |micro| unicode:: U+000B5 .. MICRO SIGNh]hµ}hj0sbah}(h]h ]h"]microah$]h&]uh1hhhhK.hhhhubh)}(h+.. |middot| unicode:: U+000B7 .. MIDDLE DOTh]h·}hj?sbah}(h]h ]h"]middotah$]h&]uh1hhhhK/hhhhubh)}(h/.. |nbsp| unicode:: U+000A0 .. NO-BREAK SPACEh]h }hjNsbah}(h]h ]h"]nbspah$]h&]uh1hhhhK0hhhhubh)}(h).. |not| unicode:: U+000AC .. NOT SIGNh]h¬}hj]sbah}(h]h ]h"]notah$]h&]uh1hhhhK1hhhhubh)}(h,.. |num| unicode:: U+00023 .. NUMBER SIGNh]h#}hjlsbah}(h]h ]h"]numah$]h&]uh1hhhhK2hhhhubh)}(h).. |ohm| unicode:: U+02126 .. OHM SIGNh]hΩ}hj{sbah}(h]h ]h"]ohmah$]h&]uh1hhhhK3hhhhubh)}(h;.. |ordf| unicode:: U+000AA .. FEMININE ORDINAL INDICATORh]hª}hjsbah}(h]h ]h"]ordfah$]h&]uh1hhhhK4hhhhubh)}(h<.. |ordm| unicode:: U+000BA .. MASCULINE ORDINAL INDICATORh]hº}hjsbah}(h]h ]h"]ordmah$]h&]uh1hhhhK5hhhhubh)}(h-.. |para| unicode:: U+000B6 .. PILCROW SIGNh]h¶}hjsbah}(h]h ]h"]paraah$]h&]uh1hhhhK6hhhhubh)}(h-.. |percnt| unicode:: U+00025 .. PERCENT SIGNh]h%}hjsbah}(h]h ]h"]percntah$]h&]uh1hhhhK7hhhhubh)}(h*.. |period| unicode:: U+0002E .. FULL STOPh]h.}hjsbah}(h]h ]h"]periodah$]h&]uh1hhhhK8hhhhubh)}(h*.. |plus| unicode:: U+0002B .. PLUS SIGNh]h+}hjsbah}(h]h ]h"]plusah$]h&]uh1hhhhK9hhhhubh)}(h0.. |plusmn| unicode:: U+000B1 .. PLUS-MINUS SIGNh]h±}hjsbah}(h]h ]h"]plusmnah$]h&]uh1hhhhK:hhhhubh)}(h+.. |pound| unicode:: U+000A3 .. POUND SIGNh]h£}hjsbah}(h]h ]h"]poundah$]h&]uh1hhhhK;hhhhubh)}(h... |quest| unicode:: U+0003F .. QUESTION MARKh]h?}hjsbah}(h]h ]h"]questah$]h&]uh1hhhhKhhhhubh)}(h1.. |rarr| unicode:: U+02192 .. RIGHTWARDS ARROWh]h→}hj/sbah}(h]h ]h"]rarrah$]h&]uh1hhhhK?hhhhubh)}(h4.. |rcub| unicode:: U+0007D .. RIGHT CURLY BRACKETh]h}}hj>sbah}(h]h ]h"]rcubah$]h&]uh1hhhhK@hhhhubh)}(h<.. |rdquo| unicode:: U+0201D .. RIGHT DOUBLE QUOTATION MARKh]h”}hjMsbah}(h]h ]h"]rdquoah$]h&]uh1hhhhKAhhhhubh)}(h0.. |reg| unicode:: U+000AE .. REGISTERED SIGNh]h®}hj\sbah}(h]h ]h"]regah$]h&]uh1hhhhKBhhhhubh)}(h2.. |rpar| unicode:: U+00029 .. RIGHT PARENTHESISh]h)}hjksbah}(h]h ]h"]rparah$]h&]uh1hhhhKChhhhubh)}(h5.. |rsqb| unicode:: U+0005D .. RIGHT SQUARE BRACKETh]h]}hjzsbah}(h]h ]h"]rsqbah$]h&]uh1hhhhKDhhhhubh)}(h<.. |rsquo| unicode:: U+02019 .. RIGHT SINGLE QUOTATION MARKh]h’}hjsbah}(h]h ]h"]rsquoah$]h&]uh1hhhhKEhhhhubh)}(h-.. |sect| unicode:: U+000A7 .. SECTION SIGNh]h§}hjsbah}(h]h ]h"]sectah$]h&]uh1hhhhKFhhhhubh)}(h*.. |semi| unicode:: U+0003B .. SEMICOLONh]h;}hjsbah}(h]h ]h"]semiah$]h&]uh1hhhhKGhhhhubh)}(h,.. |shy| unicode:: U+000AD .. SOFT HYPHENh]h­}hjsbah}(h]h ]h"]shyah$]h&]uh1hhhhKHhhhhubh)}(h(.. |sol| unicode:: U+0002F .. SOLIDUSh]h/}hjsbah}(h]h ]h"]solah$]h&]uh1hhhhKIhhhhubh)}(h,.. |sung| unicode:: U+0266A .. EIGHTH NOTEh]h♪}hjsbah}(h]h ]h"]sungah$]h&]uh1hhhhKJhhhhubh)}(h0.. |sup1| unicode:: U+000B9 .. SUPERSCRIPT ONEh]h¹}hjsbah}(h]h ]h"]sup1ah$]h&]uh1hhhhKKhhhhubh)}(h0.. |sup2| unicode:: U+000B2 .. SUPERSCRIPT TWOh]h²}hjsbah}(h]h ]h"]sup2ah$]h&]uh1hhhhKLhhhhubh)}(h2.. |sup3| unicode:: U+000B3 .. SUPERSCRIPT THREEh]h³}hjsbah}(h]h ]h"]sup3ah$]h&]uh1hhhhKMhhhhubh)}(h4.. |times| unicode:: U+000D7 .. MULTIPLICATION SIGNh]h×}hjsbah}(h]h ]h"]timesah$]h&]uh1hhhhKNhhhhubh)}(h0.. |trade| unicode:: U+02122 .. TRADE MARK SIGNh]h™}hjsbah}(h]h ]h"]tradeah$]h&]uh1hhhhKOhhhhubh)}(h... |uarr| unicode:: U+02191 .. UPWARDS ARROWh]h↑}hj.sbah}(h]h ]h"]uarrah$]h&]uh1hhhhKPhhhhubh)}(h... |verbar| unicode:: U+0007C .. VERTICAL LINEh]h|}hj=sbah}(h]h ]h"]verbarah$]h&]uh1hhhhKQhhhhubh)}(h*.. |yen| unicode:: U+000A5 .. YEN SIGN h]h¥}hjLsbah}(h]h ]h"]yenah$]h&]uh1hhhhKRhhhhubhsection)}(hhh](htitle)}(h1Amlogic C3 Image Signal Processing (C3ISP) driverh]h1Amlogic C3 Image Signal Processing (C3ISP) driver}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1j`hj]hhhhhKubj\)}(hhh](ja)}(h Introductionh]h Introduction}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j`hjphhhhhK ubh paragraph)}(haThis file documents the Amlogic C3ISP driver located under drivers/media/platform/amlogic/c3/isp.h]haThis file documents the Amlogic C3ISP driver located under drivers/media/platform/amlogic/c3/isp.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK hjphhubj)}(hVThe current version of the driver supports the C3ISP found on Amlogic C308L processor.h]hVThe current version of the driver supports the C3ISP found on Amlogic C308L processor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjphhubj)}(hThe driver implements V4L2, Media controller and V4L2 subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported.h]hThe driver implements V4L2, Media controller and V4L2 subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjphhubj)}(h:The driver has been tested on AW419-C308L-Socket platform.h]h:The driver has been tested on AW419-C308L-Socket platform.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjphhubeh}(h] introductionah ]h"] introductionah$]h&]uh1j[hj]hhhhhK ubj\)}(hhh](ja)}(hAmlogic C3 ISPh]hAmlogic C3 ISP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j`hjhhhhhKubj)}(hVThe Camera hardware found on C308L processors and supported by the driver consists of:h]hVThe Camera hardware found on C308L processors and supported by the driver consists of:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjhhubh bullet_list)}(hhh](h list_item)}(h~1 MIPI-CSI-2 module: handles the physical layer of the MIPI CSI-2 receiver and receives data from the connected camera sensor.h]j)}(h~1 MIPI-CSI-2 module: handles the physical layer of the MIPI CSI-2 receiver and receives data from the connected camera sensor.h]h~1 MIPI-CSI-2 module: handles the physical layer of the MIPI CSI-2 receiver and receives data from the connected camera sensor.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hd1 MIPI-ADAPTER module: organizes MIPI data to meet ISP input requirements and send MIPI data to ISP.h]j)}(hd1 MIPI-ADAPTER module: organizes MIPI data to meet ISP input requirements and send MIPI data to ISP.h]hd1 MIPI-ADAPTER module: organizes MIPI data to meet ISP input requirements and send MIPI data to ISP.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h1 ISP (Image Signal Processing) module: contains a pipeline of image processing hardware blocks. The ISP pipeline contains three resizers at the end each of them connected to a DMA interface which writes the output data to memory. h]j)}(h1 ISP (Image Signal Processing) module: contains a pipeline of image processing hardware blocks. The ISP pipeline contains three resizers at the end each of them connected to a DMA interface which writes the output data to memory.h]h1 ISP (Image Signal Processing) module: contains a pipeline of image processing hardware blocks. The ISP pipeline contains three resizers at the end each of them connected to a DMA interface which writes the output data to memory.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK!hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhKhjhhubj)}(h@A high-level functional view of the C3 ISP is presented below.::h]h?A high-level functional view of the C3 ISP is presented below.:}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK%hjhhubh literal_block)}(hX2 +----------+ +-------+ | Resizer |--->| WRMIF | +---------+ +------------+ +--------------+ +-------+ |----------+ +-------+ | Sensor |--->| MIPI CSI-2 |--->| MIPI ADAPTER |--->| ISP |---|----------+ +-------+ +---------+ +------------+ +--------------+ +-------+ | Resizer |--->| WRMIF | +----------+ +-------+ |----------+ +-------+ | Resizer |--->| WRMIF | +----------+ +-------+h]hX2 +----------+ +-------+ | Resizer |--->| WRMIF | +---------+ +------------+ +--------------+ +-------+ |----------+ +-------+ | Sensor |--->| MIPI CSI-2 |--->| MIPI ADAPTER |--->| ISP |---|----------+ +-------+ +---------+ +------------+ +--------------+ +-------+ | Resizer |--->| WRMIF | +----------+ +-------+ |----------+ +-------+ | Resizer |--->| WRMIF | +----------+ +-------+}hjIsbah}(h]h ]h"]h$]h&]hhuh1jGhhhK'hjhhubeh}(h]amlogic-c3-ispah ]h"]amlogic c3 ispah$]h&]uh1j[hj]hhhhhKubj\)}(hhh](ja)}(hDriver architecture and designh]hDriver architecture and design}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1j`hj_hhhhhK2ubj)}(hWith the goal to model the hardware links between the modules and to expose a clean, logical and usable interface, the driver registers the following V4L2 sub-devices:h]hWith the goal to model the hardware links between the modules and to expose a clean, logical and usable interface, the driver registers the following V4L2 sub-devices:}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhK4hj_hhubj)}(hhh](j)}(h51 `c3-mipi-csi2` sub-device - the MIPI CSI-2 receiverh]j)}(hjh](h1 }(hjhhhNhNubhtitle_reference)}(h`c3-mipi-csi2`h]h c3-mipi-csi2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% sub-device - the MIPI CSI-2 receiver}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK8hjubah}(h]h ]h"]h$]h&]uh1jhj~hhhhhNubj)}(h11 `c3-mipi-adapter` sub-device - the MIPI adapterh]j)}(hjh](h1 }(hjhhhNhNubj)}(h`c3-mipi-adapter`h]hc3-mipi-adapter}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh sub-device - the MIPI adapter}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK9hjubah}(h]h ]h"]h$]h&]uh1jhj~hhhhhNubj)}(h)1 `c3-isp-core` sub-device - the ISP coreh]j)}(hjh](h1 }(hjhhhNhNubj)}(h `c3-isp-core`h]h c3-isp-core}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh sub-device - the ISP core}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK:hjubah}(h]h ]h"]h$]h&]uh1jhj~hhhhhNubj)}(h23 `c3-isp-resizer` sub-devices - the ISP resizers h]j)}(h13 `c3-isp-resizer` sub-devices - the ISP resizersh](h3 }(hjhhhNhNubj)}(h`c3-isp-resizer`h]hc3-isp-resizer}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh sub-devices - the ISP resizers}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK;hjubah}(h]h ]h"]h$]h&]uh1jhj~hhhhhNubeh}(h]h ]h"]h$]h&]j7j8uh1jhhhK8hj_hhubj)}(hqThe `c3-isp-core` sub-device is linked to 2 video device nodes for statistics capture and parameters programming:h](hThe }(hj.hhhNhNubj)}(h `c3-isp-core`h]h c3-isp-core}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj.ubh` sub-device is linked to 2 video device nodes for statistics capture and parameters programming:}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK=hj_hhubj)}(hhh](j)}(hCthe `c3-isp-stats` capture video device node for statistics captureh]j)}(hjSh](hthe }(hjUhhhNhNubj)}(h`c3-isp-stats`h]h c3-isp-stats}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjUubh1 capture video device node for statistics capture}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK@hjQubah}(h]h ]h"]h$]h&]uh1jhjNhhhhhNubj)}(hCthe `c3-isp-params` output video device for parameters programming h]j)}(hBthe `c3-isp-params` output video device for parameters programmingh](hthe }(hj~hhhNhNubj)}(h`c3-isp-params`h]h c3-isp-params}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubh/ output video device for parameters programming}(hj~hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKAhjzubah}(h]h ]h"]h$]h&]uh1jhjNhhhhhNubeh}(h]h ]h"]h$]h&]j7j8uh1jhhhK@hj_hhubj)}(hiEach `c3-isp-resizer` sub-device is linked to a capture video device node where frames are captured from:h](hEach }(hjhhhNhNubj)}(h`c3-isp-resizer`h]hc3-isp-resizer}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhT sub-device is linked to a capture video device node where frames are captured from:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKChj_hhubj)}(hhh](j)}(hE`c3-isp-resizer0` is linked to the `c3-isp-cap0` capture video deviceh]j)}(hjh](j)}(h`c3-isp-resizer0`h]hc3-isp-resizer0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is linked to the }(hjhhhNhNubj)}(h `c3-isp-cap0`h]h c3-isp-cap0}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh capture video device}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hE`c3-isp-resizer1` is linked to the `c3-isp-cap1` capture video deviceh]j)}(hjh](j)}(h`c3-isp-resizer1`h]hc3-isp-resizer1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is linked to the }(hjhhhNhNubj)}(h `c3-isp-cap1`h]h c3-isp-cap1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh capture video device}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hF`c3-isp-resizer2` is linked to the `c3-isp-cap2` capture video device h]j)}(hE`c3-isp-resizer2` is linked to the `c3-isp-cap2` capture video deviceh](j)}(h`c3-isp-resizer2`h]hc3-isp-resizer2}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh is linked to the }(hj?hhhNhNubj)}(h `c3-isp-cap2`h]h c3-isp-cap2}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh capture video device}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKHhj;ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]j7j8uh1jhhhKFhj_hhubj)}(hZThe media controller pipeline graph is as follows (with connected a IMX290 camera sensor):h]hZThe media controller pipeline graph is as follows (with connected a IMX290 camera sensor):}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKJhj_hhubhtarget)}(h.. _isp_topology_graph:h]h}(h]h ]h"]h$]h&]refidisp-topology-graphuh1jhKhj_hhhhubkfigure kernel_figure)}(hhh]hfigure)}(hhh](himage)}(he.. kernel-figure:: c3-isp.dot :alt: c3-isp.dot :align: center Media pipeline topology h]h}(h]h ]h"]h$]h&]alt c3-isp.doturiadmin-guide/media/c3-isp.dot candidates}*jsuh1jhjhhhKubhcaption)}(hMedia pipeline topologyh]hMedia pipeline topology}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKShjubeh}(h]id1ah ]h"]h$]h&]aligncenteruh1jhjubah}(h]jah ]h"]isp_topology_graphah$]h&]uh1jhj_hhhhhNexpect_referenced_by_name}jjsexpect_referenced_by_id}jjsubeh}(h]driver-architecture-and-designah ]h"]driver architecture and designah$]h&]uh1j[hj]hhhhhK2ubj\)}(hhh](ja)}(hImplementationh]hImplementation}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j`hjhhhhhKVubj)}(hRuntime configuration of the ISP hardware is performed on the `c3-isp-params` video device node using the :ref:`V4L2_META_FMT_C3ISP_PARAMS ` as data format. The buffer structure is defined by :c:type:`c3_isp_params_cfg`.h](h>Runtime configuration of the ISP hardware is performed on the }(hjhhhNhNubj)}(h`c3-isp-params`h]h c3-isp-params}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh video device node using the }(hjhhhNhNubh)}(h>:ref:`V4L2_META_FMT_C3ISP_PARAMS `h]hinline)}(hj h]hV4L2_META_FMT_C3ISP_PARAMS}(hj hhhNhNubah}(h]h ](xrefstdstd-refeh"]h$]h&]uh1j hj ubah}(h]h ]h"]h$]h&]refdocadmin-guide/media/c3-isp refdomainj reftyperef refexplicitrefwarn reftargetv4l2-meta-fmt-c3isp-paramsuh1hhhhKXhjubh4 as data format. The buffer structure is defined by }(hjhhhNhNubh)}(h:c:type:`c3_isp_params_cfg`h]hliteral)}(hj5 h]hc3_isp_params_cfg}(hj9 hhhNhNubah}(h]h ](j cc-typeeh"]h$]h&]uh1j7 hj3 ubah}(h]h ]h"]h$]h&]refdocj' refdomainjC reftypetype refexplicitrefwarnj- c3_isp_params_cfguh1hhhhKXhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKXhjhhubj)}(hStatistics are captured from the `c3-isp-stats` video device node using the :ref:`V4L2_META_FMT_C3ISP_STATS ` data format.h](h!Statistics are captured from the }(hj_ hhhNhNubj)}(h`c3-isp-stats`h]h c3-isp-stats}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ ubh video device node using the }(hj_ hhhNhNubh)}(h<:ref:`V4L2_META_FMT_C3ISP_STATS `h]j )}(hj{ h]hV4L2_META_FMT_C3ISP_STATS}(hj} hhhNhNubah}(h]h ](j stdstd-refeh"]h$]h&]uh1j hjy ubah}(h]h ]h"]h$]h&]refdocj' refdomainj reftyperef refexplicitrefwarnj- v4l2-meta-fmt-c3isp-statsuh1hhhhK]hj_ ubh data format.}(hj_ hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK]hjhhubj)}(hThe final picture size and format is configured using the V4L2 video capture interface on the `c3-isp-cap[0, 2]` video device nodes.h](h^The final picture size and format is configured using the V4L2 video capture interface on the }(hj hhhNhNubj)}(h`c3-isp-cap[0, 2]`h]hc3-isp-cap[0, 2]}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh video device nodes.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhK`hjhhubj)}(hThe Amlogic C3 ISP is supported by `libcamera `_ with a dedicated pipeline handler and algorithms that perform run-time image correction and enhancement.h](h#The Amlogic C3 ISP is supported by }(hj hhhNhNubh reference)}(h$`libcamera `_h]h libcamera}(hj hhhNhNubah}(h]h ]h"]h$]h&]name libcamerarefurihttps://libcamera.orguh1j hj ubj)}(h h]h}(h] libcameraah ]h"] libcameraah$]h&]refurij uh1j referencedKhj ubhi with a dedicated pipeline handler and algorithms that perform run-time image correction and enhancement.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1jhhhKchjhhubeh}(h]implementationah ]h"]implementationah$]h&]uh1j[hj]hhhhhKVubeh}(h]/amlogic-c3-image-signal-processing-c3isp-driverah ]h"]1amlogic c3 image signal processing (c3isp) driverah$]h&]uh1j[hhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(j`N generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj* error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}(hhjhjjj jj/j#j>j2jMjAj\jPjkj_jzjnjj}jjjjjjjjjjjjjjjjjjjjj.j"j=j1jLj@j[jOjjj^jyjmjj|jjjjjjjjjjjjjjjjjjjjj-j!j<j0jKj?jZjNjij]jxjljj{jjjjjjjjjjjjjjjjjjjjj,j j;j/jJj>jYjMjhj\jwjkjjzjjjjjjjjjjjjjjjjj jjjj+jj:j.jIj=jXjLusubstitution_names}(amphaposjastjbrvbarj bsolj/centj>colonjMcommaj\commatjkcopyjzcurrenjdarrjdegjdividejdollarjequalsjexcljfrac12jfrac14jfrac18jfrac34jfrac38j.frac58j=frac78jLgtj[halfjjhorbarjyhyphenjiexcljiquestjlaquojlarrjlcubjldquojlowbarjlparjlsqbjlsquojltj-microj<middotjKnbspjZnotjinumjxohmjordfjordmjparajpercntjperiodjplusjplusmnjpoundjquestjquotjraquoj,rarrj;rcubjJrdquojYregjhrparjwrsqbjrsquojsectjsemijshyjsoljsungjsup1jsup2jsup3j timesjtradej+uarrj:verbarjIyenjXurefnames}refids}j]jasnameids}(j j jjj\jYjjjjj j j j u nametypes}(j jj\jjj j uh}(j j]jjpjYjjj_jjj jj j jju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j8 KsRparse_messages]transform_messages]hsystem_message)}(hhh]j)}(hhh]h8Hyperlink target "isp-topology-graph" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1j uba transformerN include_log]*Documentation/admin-guide/media/c3-isp.rst(NNNNta decorationNhhub.