요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
digraph board {
rankdir=TB
n00000001 [label="{{<port0> 0 | <port1> 1 | <port2> 2 | <port7> 7} | pispbe\n | {<port3> 3 | <port4> 4 | <port5> 5 | <port6> 6}}", shape=Mrecord, style=filled, fillcolor=green]
n00000001:port3 -> n0000001c [style=bold]
n00000001:port4 -> n00000022 [style=bold]
n00000001:port5 -> n00000028 [style=bold]
n00000001:port6 -> n0000002e [style=bold]
n0000000a [label="pispbe-input\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
n0000000a -> n00000001:port0 [style=bold]
n00000010 [label="pispbe-tdn_input\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
n00000010 -> n00000001:port1 [style=bold]
n00000016 [label="pispbe-stitch_input\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
n00000016 -> n00000001:port2 [style=bold]
n0000001c [label="pispbe-output0\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
n00000022 [label="pispbe-output1\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
n00000028 [label="pispbe-tdn_output\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
n0000002e [label="pispbe-stitch_output\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
n00000034 [label="pispbe-config\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
n00000034 -> n00000001:port7 [style=bold]
}
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
PiSP 백엔드의 입력·출력·설정 비디오 큐
1-20이 Graphviz DOT 원문은 Raspberry Pi PiSP 백엔드의 V4L2 미디어 그래프를 나타냅니다. 중앙의 초록색 `pispbe` 엔티티가 네 입력 패드와 네 출력 패드를 가지며, 주변의 노란색 `/dev/video0`부터 `/dev/video7`까지 여덟 비디오 노드가 각 패드와 일대일로 연결됩니다.
입력 방향 링크는 비디오 노드에서 `pispbe`로 향합니다. `/dev/video0`은 일반 영상 입력 port0, `/dev/video1`은 TDN 입력 port1, `/dev/video2`는 스티치 입력 port2, `/dev/video7`은 설정 입력 port7에 연결됩니다. 설정 큐도 그래프 방향상 백엔드로 들어가는 입력이라는 점이 중요합니다.
출력 방향 링크는 `pispbe`에서 비디오 노드로 향합니다. port3과 port4는 일반 출력 `/dev/video3-4`, port5는 TDN 출력 `/dev/video5`, port6은 스티치 출력 `/dev/video6`으로 이어집니다. 원문의 모든 링크는 `style=bold`이며 점선 후보 링크는 없습니다.
입력 큐와 설정 큐는 중앙 처리 엔티티로 들어가고 네 결과 큐는 중앙 엔티티에서 나옵니다.
비디오 노드에서 중앙 `pispbe` 엔티티로 향하는 네 굵은 링크입니다.
중앙 `pispbe` 엔티티의 source 패드에서 비디오 노드로 향하는 네 굵은 링크입니다.
20줄 DOT 원문에서 감사 도구가 검증하는 고정 수량입니다.
각 엔티티와 링크가 등장하는 원문 범위를 구분합니다.
아래 코드는 Linux v6.18.37 원문 1-20줄 전체입니다. 표시 안정성을 위해 탭만 여덟 칸으로 정규화했으며 노드 ID, 엔티티명, 장치 경로, 패드 번호, 링크 방향과 `bold` 스타일은 변경하지 않았습니다.
digraph board {
rankdir=TB
n00000001 [label="{{<port0> 0 | <port1> 1 | <port2> 2 | <port7> 7} | pispbe\n | {<port3> 3 | <port4> 4 | <port5> 5 | <port6> 6}}", shape=Mrecord, style=filled, fillcolor=green]
n00000001:port3 -> n0000001c [style=bold]
n00000001:port4 -> n00000022 [style=bold]
n00000001:port5 -> n00000028 [style=bold]
n00000001:port6 -> n0000002e [style=bold]
n0000000a [label="pispbe-input\n/dev/video0", shape=box, style=filled, fillcolor=yellow]
n0000000a -> n00000001:port0 [style=bold]
n00000010 [label="pispbe-tdn_input\n/dev/video1", shape=box, style=filled, fillcolor=yellow]
n00000010 -> n00000001:port1 [style=bold]
n00000016 [label="pispbe-stitch_input\n/dev/video2", shape=box, style=filled, fillcolor=yellow]
n00000016 -> n00000001:port2 [style=bold]
n0000001c [label="pispbe-output0\n/dev/video3", shape=box, style=filled, fillcolor=yellow]
n00000022 [label="pispbe-output1\n/dev/video4", shape=box, style=filled, fillcolor=yellow]
n00000028 [label="pispbe-tdn_output\n/dev/video5", shape=box, style=filled, fillcolor=yellow]
n0000002e [label="pispbe-stitch_output\n/dev/video6", shape=box, style=filled, fillcolor=yellow]
n00000034 [label="pispbe-config\n/dev/video7", shape=box, style=filled, fillcolor=yellow]
n00000034 -> n00000001:port7 [style=bold]
}
요약·해설
raspberrypi-pisp-be.dot:1-20Raspberry Pi PiSP 백엔드의 일반 영상·TDN·스티치·설정 입력 큐와 네 출력 큐가 중앙 `pispbe` 엔티티의 여덟 패드에 연결되는 구조를 해설합니다.
네 입력 큐가 중앙 백엔드로 들어가고 네 출력 큐가 처리 결과를 받습니다.