요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
digraph board {
rankdir=TB
n00000001 [label="{{<port0> 0} | stf_isp\n/dev/v4l-subdev0 | {<port1> 1}}", shape=Mrecord, style=filled, fillcolor=green]
n00000001:port1 -> n00000008 [style=dashed]
n00000004 [label="capture_raw\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
n00000008 [label="capture_yuv\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
n0000000e [label="{{<port0> 0} | cdns_csi2rx.19800000.csi-bridge\n | {<port1> 1 | <port2> 2 | <port3> 3 | <port4> 4}}", shape=Mrecord, style=filled, fillcolor=green]
n0000000e:port1 -> n00000001:port0 [style=dashed]
n0000000e:port1 -> n00000004 [style=dashed]
n00000018 [label="{{} | imx219 6-0010\n/dev/v4l-subdev1 | {<port0> 0}}", shape=Mrecord, style=filled, fillcolor=green]
n00000018:port0 -> n0000000e:port0 [style=bold]
}
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
IMX219에서 RAW 직접 캡처와 ISP YUV 출력으로 갈라지는 경로
1-12이 Graphviz DOT 원문은 StarFive Camera Subsystem(CAMSS)의 V4L2 미디어 토폴로지를 나타냅니다. `imx219 6-0010` 센서의 출력 port0이 Cadence CSI-2 수신 브리지 `cdns_csi2rx.19800000.csi-bridge`의 입력 port0으로 연결됩니다.
CSI-2 브리지의 출력 port1은 두 경로를 제공합니다. 하나는 `capture_raw` `/dev/video0`으로 직접 전달되는 RAW 캡처 경로이고, 다른 하나는 `stf_isp` `/dev/v4l-subdev0`의 입력 port0으로 들어가는 ISP 처리 경로입니다. ISP 출력 port1은 `capture_yuv` `/dev/video1`로 이어집니다.
센서에서 CSI-2 브리지로 들어가는 링크 1개는 `style=bold`이고, 브리지에서 RAW·ISP로 가는 두 링크와 ISP에서 YUV로 가는 링크는 모두 `style=dashed`입니다. 브리지는 출력 port1-4를 선언하지만 이 12줄 그래프에서 실제 링크가 있는 출력은 port1뿐이며 port2-4는 연결되지 않습니다.
동일한 센서 입력이 CSI-2 브리지에서 직접 RAW 캡처와 ISP 처리 후 YUV 캡처 경로로 나뉩니다.
세 서브디바이스와 두 비디오 캡처 노드의 경로·패드·역할입니다.
원문의 네 링크를 출발·목적지와 선 모양별로 보존합니다.
12줄 DOT 원문에서 전용 감사가 검증하는 구조입니다.
짧은 그래프의 선언과 링크 위치를 줄 단위로 구분합니다.
아래 코드는 Linux v6.18.37 원문 1-12줄 전체입니다. 표시 안정성을 위해 탭만 여덟 칸으로 정규화했으며 노드 ID, 엔티티명, 장치 경로, 패드 번호, 링크 방향과 스타일은 그대로 보존했습니다.
digraph board {
rankdir=TB
n00000001 [label="{{<port0> 0} | stf_isp\n/dev/v4l-subdev0 | {<port1> 1}}", shape=Mrecord, style=filled, fillcolor=green]
n00000001:port1 -> n00000008 [style=dashed]
n00000004 [label="capture_raw\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
n00000008 [label="capture_yuv\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
n0000000e [label="{{<port0> 0} | cdns_csi2rx.19800000.csi-bridge\n | {<port1> 1 | <port2> 2 | <port3> 3 | <port4> 4}}", shape=Mrecord, style=filled, fillcolor=green]
n0000000e:port1 -> n00000001:port0 [style=dashed]
n0000000e:port1 -> n00000004 [style=dashed]
n00000018 [label="{{} | imx219 6-0010\n/dev/v4l-subdev1 | {<port0> 0}}", shape=Mrecord, style=filled, fillcolor=green]
n00000018:port0 -> n0000000e:port0 [style=bold]
}
요약·해설
starfive_camss_graph.dot:1-12StarFive CAMSS에서 IMX219 센서 입력이 Cadence CSI-2 브리지를 거쳐 RAW 직접 캡처와 ISP 처리 후 YUV 캡처로 갈라지는 미디어 토폴로지를 해설합니다.
CSI-2 브리지에서 RAW 직접 캡처와 ISP YUV 처리 경로로 분기합니다.