Repository navigation
Expand file tree
/
Copy pathNOTICE
More file actions
815 lines (697 loc) · 45.2 KB
/
Copy pathNOTICE
File metadata and controls
815 lines (697 loc) · 45.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
The integer luma conversion in src/pixels.zig is adapted from
home-lang/home packages/image/src/simd.zig at commit
8169786c89a997f153ab339a5d1e627046a320d8.
MIT License
Copyright (c) 2026 Chris Breuer and Home contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Additional Home adaptations and reusable modules:
- src/home/kms_catalog.zig, kms_discovery.zig, kms_discovery_host.zig,
kms_discovery_test.zig, kms_scanout.zig and kms_scanout_host.zig are verbatim
Home video display helpers at
1ab0d4f307c699a61f4e7061deda2141a4c71822, under the MIT license above.
- src/home/catalog_envelope.zig is verbatim Home video exact nested HCAT
snapshots at a7987b68f0b0648f33594ca32acfeb7d214c8b9c (implementation introduced
at 0804c17f111cb0dc4184e8cbef948615cdb3ed29). Camera owns property
namespace/session caching and request/process lifetimes; no Home OS source
is copied.
- src/home/dispatch_pool.zig is verbatim Home video bounded least-pending/joined
dispatch policy at 4fdf531deac44b87f435f9b44cc576b10d64f35b, reusing the
already attributed owned_admission module. Native/Bun process ownership and
supervision are camera glue; no Home OS kernel implementation is copied.
- src/home/descriptor_channel.zig is verbatim Home hosted local fd transport at
f3070f293988bb3d0ef930d6837829a7e53b4518. Verified ABI/behavior references in
Home's packages/io/docs/descriptor-channel.md are not copied kernel source.
- src/home/posix_shared_memory.zig and owned_admission.zig are verbatim Home
hosted POSIX owners and resizable reservation registry at
2c6513a47c80b24ea8b90491543b5338c753a277.
- src/home/pixel_resample.zig and tests/resample_fixture.zig/resample_reference.c
are verbatim Home checked native-precision resampling and independent reference
fixtures at d2123edf5e6d17352a234b9986ac430d93a83b7c.
- src/home/pixel_view.zig and raster_encoder.zig reuse Home's shared checked
integer raster view and consumer aliases at
ec74cce5a9c51b33a4e3b88a476c80a56eaf2ce5. tests/pixel_fixture.zig and
pixel_reference.c reuse that revision's independent sample-reference fixtures.
- src/home/gif_encoder.zig, gif_lzw.zig and palette_quantizer.zig are verbatim
Home Image checked GIF/weighted palette/dictionary modules at
c206b47164384ae99c3abb842ed2816afa34df0b. Tests/gif_raster_fixture.zig and
tests/decode_gif.c reuse that revision's independent test-only giflib fixtures.
- src/raw.zig and src/dng.zig adapt Bayer/IFD conventions from packages/image.
- src/home/jpeg_encoder.zig and jpeg_dct.zig are the native Home baseline JPEG
implementation; src/home/mjpeg_stream.zig uses Home Matroska/EBML conventions.
Canonical Home contribution: https://github.com/home-lang/home/pull/912
Source commit: 458eb0c20 (feat/native-jpeg-mjpeg).
The Home MIT license and copyright reproduced above apply to these files.
Home AVC/HEVC integration and MP4 streaming additions (0.3):
- src/home/native_encoder.{c,h,zig}, rgb_i420.zig and mp4_stream.zig are
verbatim Home modules with the MIT attribution above. The C adapter links
optional libx264/libx265 directly; those libraries retain their own licenses.
Canonical contribution: https://github.com/home-lang/home/pull/913
Source commit: cf7cd358fd051f1634281adf0596e21e704472ea.
Home job completion (0.4):
- src/home/completion_gate.zig is the verbatim allocation-free Home async gate.
Canonical contribution: https://github.com/home-lang/home/pull/914
Source commit: e79c0176184c08b04188712d5a6bbcce63089eee.
The Home MIT license above applies.
Home capture plane packing (0.5):
- src/home/plane_pack.zig is the verbatim checked, allocation-free Home module
from packages/video/src/core/plane_pack.zig.
Source commit: 9d5a70a00 (feat/checked-plane-packing).
The Home MIT license above applies.
Canonical Home plane packing contribution: https://github.com/home-lang/home/pull/915
Home encoded history and split recording (0.6):
- src/home/packet_ring.zig is the verbatim Home bounded encoded-packet arena.
Canonical contribution: https://github.com/home-lang/home/pull/916
Source commit: 2dab097b2 (feat/keyframe-packet-ring).
- src/home/native_encoder.{c,h,zig} includes explicit IDR requests from Home
source commit 5e6d256f4, updating https://github.com/home-lang/home/pull/913.
The Home MIT license above applies.
Home synchronized PCM capture and rotation (0.7):
- src/home/av_stream.zig, pcm_timeline.zig, recording_policy.zig and
native_capture.{c,h,zig} are verbatim Home streaming modules.
Canonical contribution: https://github.com/home-lang/home/pull/917
Source commit: bad4882f9 (feat/pcm-av-streaming).
- mp4_stream.zig exposes checked avcC/hvcC bytes for Matroska, updating
https://github.com/home-lang/home/pull/913 at source commit 0a0525f91.
The Home MIT license above applies. ALSA retains its own license.
Home AAC-LC and synchronized MP4 (0.8):
- src/home/native_aac.{c,h,zig} and native_aac_test.zig are verbatim Home
streaming AAC adapter/tests at 53c1b108f (feat/aac-mp4-recording).
Canonical contribution: https://github.com/home-lang/home/pull/918
- src/home/mp4_stream.zig includes synchronized AAC tracks, edit lists, roll
groups and final-sample trimming from Home commit 27f5fe0e2, updating
https://github.com/home-lang/home/pull/913.
The Home MIT license above applies to the adapter and container modules.
The optional separately installed FDK AAC library retains its own license:
https://github.com/mstorsjo/fdk-aac/blob/v2.0.3/NOTICE
Home circular PCM history (0.9):
- src/home/pcm_timeline.zig is verbatim Home packages/video/src/core/pcm_timeline.zig
at 41b071c04 (feat/pcm-av-streaming), extending the 0.7 queue with rolling
ownership, non-consuming windows and original-clock chunk endpoints.
https://github.com/home-lang/home/pull/917
Home owned snapshots and delayed FIFO (0.10):
- src/home/packet_ring.zig is verbatim Home packages/video/src/core/packet_ring.zig
at 07b94d268 (feat/keyframe-packet-ring), with FIFO/backpressure and owned copies.
https://github.com/home-lang/home/pull/916
- src/home/pcm_timeline.zig is verbatim Home packages/video/src/core/pcm_timeline.zig
at 860a2ab5a (feat/pcm-av-streaming), with independent sample-window cloning.
https://github.com/home-lang/home/pull/917
Home packet/PTS output helpers (0.11):
- src/home/packet_output.zig is verbatim Home packages/video/src/core/packet_output.zig
at 9b281486b (feat/packet-output-streams), with checked Annex B conversion,
exact integer PTS formatting and sink-backed timestamp output.
https://github.com/home-lang/home/pull/919
Home fractional PCM clock correction (0.12):
- src/home/pcm_timeline.zig is now verbatim Home packages/video/src/core/pcm_timeline.zig
at 3a63fce82 (main), carrying sample phase across blocks, wraps and frozen windows.
Supersedes the earlier PCM timeline versions listed above.
https://github.com/home-lang/home/commit/3a63fce82
Home bounded output attachment helpers (0.13):
- src/home/packet_output.zig is now verbatim Home packages/video/src/core/packet_output.zig
at 4e886d52b (main), including fixed-capacity stable attachment IDs.
Supersedes the earlier packet_output version listed above.
https://github.com/home-lang/home/commit/4e886d52b
Home stable output replacement (0.14):
- src/home/packet_output.zig is now verbatim Home packages/video/src/core/packet_output.zig
at 1511771dd (main), adding stable replacement with stale-ID protection.
Supersedes the earlier packet_output versions listed above.
https://github.com/home-lang/home/commit/1511771dd
Home output recovery and queue reset (0.15):
- src/home/output_recovery.zig and src/home/packet_ring.zig are verbatim Home
packages/video/src/core modules at 61391c260 (main), adding bounded retry
claims and allocation-free packet queue resets. Supersedes packet_ring above.
https://github.com/home-lang/home/commit/61391c260
Home owned operation FIFO (0.16):
- src/home/owned_fifo.zig is verbatim Home packages/video/src/core/owned_fifo.zig
at f3c64ed41 (main), with fixed byte/entry bounds and in-flight acknowledgement.
https://github.com/home-lang/home/commit/f3c64ed41
Home FIFO completion (0.17):
- src/home/completion_watermark.zig is verbatim from Home's
packages/async/src/completion_watermark.zig at df4b991ef.
Source: https://github.com/home-lang/home/commit/df4b991ef
The Home MIT license above applies.
Home cooperative preparation (0.18):
- src/home/preparation_gate.zig is verbatim from Home's
packages/async/src/preparation_gate.zig at 1ebb311b3.
Source: https://github.com/home-lang/home/commit/1ebb311b3
The Home MIT license above applies.
Home indexed recording paths (0.19):
- src/home/recording_path.zig is verbatim from Home's
packages/video/src/core/recording_path.zig. It supplies allocation-free,
strictly validated indexed names for async rotation and recovery.
The Home MIT license above applies. Source: aa968cc8dbdbd0c06ecca48f4a32823f60e0a869.
https://github.com/home-lang/home/commit/aa968cc8dbdbd0c06ecca48f4a32823f60e0a869
Home acknowledged host delivery (0.20):
- src/home/delivery_fifo.zig is verbatim from Home's
packages/video/src/core/delivery_fifo.zig. It composes owned_fifo with
sequence-checked acknowledgement and retained fixed-prefix completion.
The Home MIT license above applies.
Source: 51422a0c728730dae97f45b2e44ab0bff0253ee6.
https://github.com/home-lang/home/commit/51422a0c728730dae97f45b2e44ab0bff0253ee6
Home shared PTS clock (0.21):
- src/home/pts_clock.zig is verbatim from Home's
packages/video/src/core/pts_clock.zig at ffb6a26ad3983c13ebc20df8d768b439b272aea8.
It supplies exact source-clock epochs across separately rebased output segments.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/ffb6a26ad3983c13ebc20df8d768b439b272aea8
Home asynchronous factory policy (0.22):
- src/home/factory_policy.zig and src/home/output_recovery.zig are verbatim
packages/video/src/core modules at be777d256133638f6242dfdd7a7f2bd847882906.
Factory admission composes the existing recording thresholds and retry helper;
failed asynchronous construction arms backoff at completion without spending
another attempt. Supersedes output_recovery listed above.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/be777d256133638f6242dfdd7a7f2bd847882906
Home host queue telemetry and capacity waits (0.23):
- src/home/delivery_fifo.zig and src/home/capacity_wait.zig are verbatim Home
packages/video/src/core modules at 8451cabb28301c5f4ea1ef429122a0151dcbf4ba.
They provide acknowledged ownership telemetry and bounded, caller-clocked
cooperative capacity tickets without hidden threads, sleeps or allocations.
Supersedes the delivery_fifo version listed above. The Home MIT license applies.
https://github.com/home-lang/home/commit/8451cabb28301c5f4ea1ef429122a0151dcbf4ba
Home owned producer admission (0.24):
- src/home/owned_admission.zig is verbatim from Home's
packages/video/src/core/owned_admission.zig at a276dca96b958fec80b51220433b9d499c1c9b54.
It bounds separately allocated RGB/PCM inputs with byte/count ownership and
stale-ticket protection. The existing capacity_wait and delivery_fifo modules
supply actual timed native producer waits and host acknowledgement accounting.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/a276dca96b958fec80b51220433b9d499c1c9b54
Home producer ownership fences (0.25):
- src/home/owned_admission.zig is verbatim from Home's
packages/video/src/core/owned_admission.zig at 55852d43d52c745565176d0b3ed52ec1304ab1e9.
Fixed-prefix cleanup scans handle out-of-order releases and later slot reuse
without retaining payloads or keeping an unbounded completion history.
Supersedes the owned_admission version above. The Home MIT license applies.
https://github.com/home-lang/home/commit/55852d43d52c745565176d0b3ed52ec1304ab1e9
Home terminal media finalization (0.26):
- src/home/recording_policy.zig is verbatim from Home's
packages/video/src/core/recording_policy.zig at 3b4b323f3100e513e25e63c2e4679064238ef89b.
Finalization enters once and latches success/failure, preventing repeated codec
tails and container patches. Supersedes recording_policy listed above.
The Home MIT license applies.
https://github.com/home-lang/home/commit/3b4b323f3100e513e25e63c2e4679064238ef89b
Home reusable recording sessions (0.27):
- src/home/recording_policy.zig is verbatim from Home's
packages/video/src/core/recording_policy.zig at 71f639d7f0f0109d053f0a6e4a46d184952158fc.
nextSession prepares a fresh open state with a nonwrapping identity while
preserving the previous terminal result until publication. Supersedes the
recording_policy version above. The Home MIT license applies.
https://github.com/home-lang/home/commit/71f639d7f0f0109d053f0a6e4a46d184952158fc
Home immutable session settings (0.28):
- src/home/session_config.zig is verbatim from Home's
packages/video/src/core/session_config.zig at 5d03fefdbc4728ec9479809d6058f3751ceab4e0.
Allocation-free video/PCM queue/AAC bitrate validation precedes encoder and
output preparation. The Home MIT license above applies.
https://github.com/home-lang/home/commit/5d03fefdbc4728ec9479809d6058f3751ceab4e0
Home negotiated session geometry (0.29):
- src/home/session_config.zig is verbatim from Home's
packages/video/src/core/session_config.zig at 79484d1a12ae9ab0b325474faebd2ad2a0cc3d3e.
withGeometry resolves omitted capture dimensions and validates exact dimensions
and codec shapes without changing the proposal. Supersedes session_config above.
The Home MIT license applies.
https://github.com/home-lang/home/commit/79484d1a12ae9ab0b325474faebd2ad2a0cc3d3e
Home bounded desired settings (0.30):
- src/home/keyed_state.zig is verbatim from Home's
packages/video/src/core/keyed_state.zig at 6e1926728200f9e35470ecdeeb9f3a088589695d.
It stages sorted bounded settings with dependency invalidation and immutable
source state on failure. The camera publishes only after driver acceptance.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/6e1926728200f9e35470ecdeeb9f3a088589695d
Home autofocus observation ordering (0.31):
- src/home/completion_gate.zig is copied verbatim from
packages/async/src/completion_gate.zig, with monotonic observation revisions.
Source commit: 012ffc48852bb77d5527ae67c01dc5f8b1827eeb.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/012ffc48852bb77d5527ae67c01dc5f8b1827eeb
Home continuous AF acknowledgement jobs (0.32):
- src/home/completion_gate.zig is verbatim packages/async/src/completion_gate.zig,
adding revision-filtered single-phase command acknowledgement.
Source commit: 5c80e5d184337b81fcf712286797b99c95fbc987.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/5c80e5d184337b81fcf712286797b99c95fbc987
Home retained capture request leases (0.33):
- src/home/lease_pool.zig is verbatim packages/video/src/core/lease_pool.zig.
Source commit: f29a36b4a0be60c9b781dbf1358826a5359cb10b.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/f29a36b4a0be60c9b781dbf1358826a5359cb10b
Home reserved retained leases (0.34):
- src/home/lease_pool.zig is verbatim packages/video/src/core/lease_pool.zig,
adding atomic reference retention with reserved producer capacity.
Source commit: 29f568c7a8e724b15da671de65fe097730a5dc7d.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/29f568c7a8e724b15da671de65fe097730a5dc7d
Home typed capability/metadata catalogs (0.35):
- src/home/typed_catalog.zig is verbatim packages/video/src/core/typed_catalog.zig.
Source commit: f313dc5a6b0472b7f6837fd314f7ef5575c546b9.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/f313dc5a6b0472b7f6837fd314f7ef5575c546b9
Home owned device identities (0.36):
- src/home/device_identity.zig is verbatim packages/video/src/core/device_identity.zig.
Source commit: ec65db3bb34c885d9e2a24c4d7a243f7ab8c8801.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/ec65db3bb34c885d9e2a24c4d7a243f7ab8c8801
Home transactional typed state (0.37):
- src/home/catalog_state.zig is verbatim packages/video/src/core/catalog_state.zig.
It prepares sorted owned replacements, removal-before-update precedence and
bounded rejection before external publication; the camera supplies validation,
revisions and backend ownership. The Home MIT license above applies.
Source commit: b5ff735d009f3b56c78bc060fdaacf10654480e0.
https://github.com/home-lang/home/commit/b5ff735d009f3b56c78bc060fdaacf10654480e0
Home frame selection barriers (0.38):
- src/home/frame_barrier.zig is verbatim packages/video/src/core/frame_barrier.zig.
Source commit: 691fd4f5cfef4fd3b7da11342b2c066a50f33471.
Exact inclusive thresholds, saturated exposure guards, distinct completion drops
and immutable acceptance use no allocation or retained frame. The Home MIT
license above applies.
https://github.com/home-lang/home/commit/691fd4f5cfef4fd3b7da11342b2c066a50f33471
Home exact image orientation (0.42):
- src/home/orientation.zig is verbatim packages/image/src/ops/orientation.zig.
Source commit: 0f75b12b4aa8f63780ed1adaccd03f1760919557.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/0f75b12b4aa8f63780ed1adaccd03f1760919557
Home autofocus result publication fences (0.41):
- src/home/completion_gate.zig is verbatim packages/async/src/completion_gate.zig,
adding success-only result revision validation against the acknowledgement.
Source commit: 795a5d6c29448362cc738394d7bbd1b4f61a267e.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/795a5d6c29448362cc738394d7bbd1b4f61a267e
Home scoped frame access (0.39):
- src/home/frame_access.zig is verbatim packages/video/src/core/frame_access.zig.
Source commit: 1e4274a587635602b9b76a5edbacd4fa2557e01a.
It stages shared reader/exclusive writer access, ownership checks and bounded
counters; lease_pool continues to own generation tokens and producer capacity.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/1e4274a587635602b9b76a5edbacd4fa2557e01a
Home shared still-image encoding (0.43):
- src/home/raster_encoder.zig and zlib_stream.zig are verbatim Home
packages/image/src/formats sources at 4899b5c3b7c727e3811cf87d77fa78f757709333.
The Home MIT license above applies. zlib_stream's C ABI declarations are
adapted from Home runtime/src/zlib/zlib.zig, originating from Bun at
fd0b6f1a271fca0b8124b69f230b100f4d636af6, under the following MIT license.
https://github.com/home-lang/home/commit/4899b5c3b7c727e3811cf87d77fa78f757709333
MIT License
Copyright (c) 2019-2025 Bun
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Home checked YCbCr conversion (0.44):
- src/home/yuv_rgb.zig is verbatim packages/video/src/core/yuv_rgb.zig.
Source commit: 98c7e78c6d1a7d508fad3c3d86cd81c480d6d301.
The Home MIT license above applies. It shares checked strided RGB24/I420,
fixed point matrix/range conversion and actual 2x2 chroma averaging.
https://github.com/home-lang/home/commit/98c7e78c6d1a7d508fad3c3d86cd81c480d6d301
Home direct I420 matrix/range mapping (0.45):
- src/home/yuv_remap.zig is verbatim packages/video/src/core/yuv_remap.zig.
Source commit: 3659d9ad3115e4f54d46b821ffcc9551ee5e1639.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/3659d9ad3115e4f54d46b821ffcc9551ee5e1639
Home bounded frame consumer admission (0.46):
- src/home/frame_fanout.zig is verbatim packages/video/src/core/frame_fanout.zig.
Source commit: ff51b18e44e5fe82dba14258fa1034fb9aef8cdf.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/ff51b18e44e5fe82dba14258fa1034fb9aef8cdf
Home bounded shared PCM sample windows (0.47):
- src/home/pcm_fanout.zig is verbatim packages/video/src/core/pcm_fanout.zig.
Source commit: 53fdf28d5b1aa07a71d3b917f15c6a11f686dd2d.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/53fdf28d5b1aa07a71d3b917f15c6a11f686dd2d
Home shared publication preflight (0.48):
- src/home/publication_batch.zig is verbatim packages/async/src/publication_batch.zig.
Source commit: 854d00fb613fd06b5739764b5aca9bdaf009ddb7.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/854d00fb613fd06b5739764b5aca9bdaf009ddb7
Home checked RGBA overlay rows (0.49):
- src/home/rgba_view.zig is verbatim packages/image/src/ops/rgba_view.zig.
Source commit: b8c29c456e2ec001a30dc5d24743b71bd8d6a486.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/b8c29c456e2ec001a30dc5d24743b71bd8d6a486
Home checked display geometry (0.51):
- src/home/region.zig and viewport.zig are verbatim packages/image/src/ops modules.
Source commit: ac8eef68bd64a601ca72399a19fd3152dc81bba0.
Existing orientation.zig is unchanged and retains its earlier provenance.
The Home MIT license above applies.
https://github.com/home-lang/home/commit/ac8eef68bd64a601ca72399a19fd3152dc81bba0
Home shared-chroma I420 decoding (0.52):
- src/home/yuv_rgb.zig is copied verbatim from packages/video/src/core/yuv_rgb.zig
at 7ec5214016ca0486b48eb9ad48b2574726fa960a. The shared 2x2 chroma terms preserve
legacy pixel output, checked spans, strides and padding. Home includes equivalence
tests, a reproducible legacy/block benchmark and all raw local timing rows.
https://github.com/home-lang/home/commit/7ec5214016ca0486b48eb9ad48b2574726fa960a
The Home MIT license and copyright reproduced above apply.
Home owned tuning documents (0.64):
- src/home/tuning.zig is copied verbatim from Home image metadata/tuning.zig at
960700eb74abd292d86bc884b2f667e3862a38dd. It supplies bounded strict JSON,
exact number text and transactional algorithm edits without device ownership.
https://github.com/home-lang/home/commit/960700eb74abd292d86bc884b2f667e3862a38dd
The Home MIT license and copyright reproduced above apply.
Home owned POSIX environment values and overrides (0.65):
- src/home/posix_env.zig and tests/home_env_no_libc.zig are copied verbatim from
Home packages/env/src/posix_env.zig and packages/env/tests/no_libc.zig at
3888e242056533d2da2e0c082129354885d920ec. They supply owned raw-byte reads,
allocation-atomic overrides, retryable restoration and unsupported-libc checks.
https://github.com/home-lang/home/commit/3888e242056533d2da2e0c082129354885d920ec
The Home MIT license and copyright reproduced above apply.
Home relative capture intervals (0.61):
- src/home/relative_delay.zig is copied verbatim from Home async's
src/relative_delay.zig at 8779c7c861360540bcf1fe49f4329d8c5f0f2397. It supplies
checked relative idle deadlines without allocation, sleeping or device ownership.
https://github.com/home-lang/home/commit/8779c7c861360540bcf1fe49f4329d8c5f0f2397
The Home MIT license and copyright reproduced above apply.
Home ICC profile foundation:
- src/home/metadata/icc.zig, icc_curve.zig and icc_layout.zig are copied verbatim
from packages/image/src/metadata at
2c0d4c5be72b3c271d2b1e8988757fde1d932f64. The profile, fixture and Little CMS
tests in tests/home_icc* are verbatim copies of packages/image/tests/icc*.
They preserve real sampled/parametric curves, validate tag geometry before
owned parsing and generate a piecewise sRGB profile. Little CMS is test-only.
https://github.com/home-lang/home/commit/2c0d4c5be72b3c271d2b1e8988757fde1d932f64
The Home MIT license and copyright reproduced above apply.
Home encoder/container color signaling:
- src/home/color_description.zig, native_encoder.{c,h,zig} and mp4_stream.zig,
plus tests/home_color_signal.zig (Home packages/video/tests/color_signal.zig),
are copied verbatim from Home at 4aeedc1e4a06aaec93201ac8e245e0ee1f0166b3.
They add explicit ISO tag mapping, additive AVC/HEVC VUI and MP4 nclx recipes,
and independent emitted-header/container tests while retaining legacy defaults.
These primitives do not implement pixel/gamut/transfer conversion or expose
camera session color selection on their own.
https://github.com/home-lang/home/commit/4aeedc1e4a06aaec93201ac8e245e0ee1f0166b3
The Home MIT license and copyright reproduced above apply.
Home portable color descriptions and negotiation (0.54):
- src/home/color_description.zig is copied verbatim from
packages/video/src/core/color_description.zig at
3c3c3a8814d822de8df0d0085fbb94d9c1a242cf. It supplies checked descriptors,
presets, RGB normalization and explicit requested/effective/actual strict policy.
It performs no pixel or gamut/gamma conversion.
https://github.com/home-lang/home/commit/3c3c3a8814d822de8df0d0085fbb94d9c1a242cf
The Home MIT license and copyright reproduced above apply.
Home ICC embedding (0.56):
- src/home/metadata_embed.zig reuses packages/image/src/metadata_embed.zig at
f310e9345448d909041ad20a3bc332d07b78130f. Only its two format-module import
paths change to the camera's existing flat Home directory. Inline tests remain.
- src/home/zlib_stream.zig is verbatim from the same commit, including cleanup
of its owner when C stream initialization fails. Existing Home/Bun attribution
applies; no second compressor or container implementation is introduced.
https://github.com/home-lang/home/commit/f310e9345448d909041ad20a3bc332d07b78130f
The Home MIT license and copyright reproduced above apply.
Home Exif metadata foundation:
- src/home/metadata/exif.zig, exif_builder.zig and exif_layout.zig are copied
verbatim from Home packages/image/src/metadata at
05c131f97466cce6cb497aad5607e4dc77ad6ad6. tests/home_exif.zig,
home_exif_fixture.zig and home_exif_libexif.c are verbatim copies of Home's
packages/image/tests/exif_test.zig, exif_fixture.zig and exif_libexif.c.
They supply bounded classic-TIFF directory views, owned selected metadata and
typed serialization. Libexif is an independent test-only reader/writer.
https://github.com/home-lang/home/commit/05c131f97466cce6cb497aad5607e4dc77ad6ad6
The Home MIT license and copyright reproduced above apply.
Home combined ICC/Exif embedding:
- src/home/metadata_tiff.zig and metadata/exif.zig are copied verbatim from
Home packages/image/src at ee61d81948836c7c2e1943d9fd402f8d178ce674.
- metadata_embed.zig has only the two existing flat format-module import-path
adjustments. metadata_test_exports.zig changes only its raster import path.
- tests/home_metadata_fixture.zig is verbatim from Home packages/image/tests/metadata_fixture.zig.
home_metadata_readers.c is verbatim from Home packages/image/tests/metadata_readers.c
at 917c796e0b37acc9f018bf802bcc90c3f6a95547, including explicit POSIX descriptor seeking.
Independent container, Exif and CMM libraries remain test-only dependencies.
https://github.com/home-lang/home/commit/ee61d81948836c7c2e1943d9fd402f8d178ce674
The Home MIT license and copyright reproduced above apply.
Home capture Exif and inline JPEG metadata (0.58):
- jpeg_encoder.zig, jpeg_metadata.zig, metadata/exif.zig, exif_defaults.zig,
exif_layout.zig, exif_value.zig and metadata_tiff.zig are verbatim copies of
Home packages/image/src at d0abb3777b6255843ffe2364f1bd09e660c36ced.
- metadata_embed.zig changes only the two flat format imports; the test facade
changes only its raster import. The updated Exif/metadata fixtures and readers
are verbatim; tests/read_image_exif.c is Home tests/exif_inspect.c.
https://github.com/home-lang/home/commit/d0abb3777b6255843ffe2364f1bd09e660c36ced
The Home MIT license and copyright reproduced above apply.
The capture JSON reader is updated verbatim from Home image
77b7b7340c6671b59249b3821f6b7cc1d84a0768 for GCC warning-free seek/bounds
statements; production sources remain at d0abb3777 above.
Home heterogeneous capture plane bundles (0.59):
- src/home/plane_pack.zig is copied verbatim from Home video core/plane_pack.zig
at 44bf4e911437251479a4a535fc311e1471cc93d5. It supplies checked all-plane preflight and
allocation-free packing shared by rows, I420 and request stream bundles.
https://github.com/home-lang/home/commit/44bf4e911437251479a4a535fc311e1471cc93d5
The Home MIT license and copyright reproduced above apply.
Home per-observation capture readiness (0.62):
- src/home/frame_barrier.zig is copied verbatim from Home video
core/frame_barrier.zig at 1f1c8690507bf14e71c8c5ea273ade18366493a1. It combines
explicit request readiness with distinct drops and exact timing without allocation
or device ownership.
https://github.com/home-lang/home/commit/1f1c8690507bf14e71c8c5ea273ade18366493a1
The Home MIT license and copyright reproduced above apply.
Home processed-stream geometry planning (0.63):
- src/home/stream_alignment.zig is copied verbatim from Home video
core/stream_alignment.zig at 34aa602dfba2bd6af982c5e6b4887550a5da70b2. It supplies
explicit VC4/PiSP layout recipes and minimum geometry without pixel/device
ownership or allocation.
https://github.com/home-lang/home/commit/34aa602dfba2bd6af982c5e6b4887550a5da70b2
The Home MIT license and copyright reproduced above apply.
Home HEVC picture geometry (0.72):
- src/home/bit_reader.zig, hevc_conformance.zig and hevc_conformance_c.zig are
verbatim Home portable codec helpers. The native encoder and copied fixture
use them for bounded SPS edits, tiny-input padding and shared CTU32 sessions.
The Home MIT license and copyright above apply.
Home counted keyframe requests (0.73):
- src/home/keyframe_requests.zig is the verbatim Home allocation-free ledger for
bounded pending intent and nonwrapping per-session request/input counters.
The Home MIT license and copyright above apply.
Home repeated packet headers (0.74):
- src/home/packet_output.zig additionally supplies checked parameter-set filtering
and atomic Annex B prefix/access-unit assembly, copied verbatim from Home.
The Home MIT license and copyright above apply.
Home named capture quality (0.75):
- src/home/capture_quality.zig is the verbatim Home allocation-free tier policy,
reusing session_config and standard integer square root for rational estimates.
The Home MIT license and copyright above apply.
Home packed RGB input (0.76):
- src/home/packed_rgb.zig is the verbatim Home checked allocation-free byte-layout
converter, including explicit opaque-X handling and preflight overlap rejection.
https://github.com/home-lang/home/commit/321fe476c625d398d9b80abaaa8695e110025ae2
The Home MIT license and copyright above apply.
Home semi-planar YUV (0.77):
- src/home/yuv_rgb.zig and yuv_remap.zig include the verbatim Home checked
chroma-step views, semi-planar RGB encoding/decoding, canonical packing and
direct matrix/range remapping with overlap preflight.
https://github.com/home-lang/home/commit/26f842190aa69a3d23ed73756ecc4815b0433e80
The Home MIT license and copyright above apply.
Home packed YUV 4:2:2 (0.78):
- src/home/packed_yuv422.zig and the updated yuv_rgb.zig/yuv_remap.zig are verbatim
Home checked packed-pair RGB conversion and direct I420 sampling/remapping.
https://github.com/home-lang/home/commit/49793c1fe7b6d65e58833cdc880ec1dd48326f0e
The Home MIT license and copyright above apply.
Home RGB16 word views (0.79):
- src/home/rgb16_view.zig is copied verbatim from
home-lang/home packages/image/src/ops/rgb16_view.zig at
0e0dc7d39b71f422ac22e5707e0ce44dfaf72ecd (MIT, Home contributors).
- Checked allocation-free RGB/BGR u16 views, endian/layout conversion and explicit
high-byte RGB8 reduction. Existing Home raster encoders/codecs are unchanged.
Home sensor raw views (0.80):
- src/home/sensor_raw.zig and sensor_raw_vectors.zig are verbatim Home image
ops modules at 82d0989566ca6f4e01a48fc0d6d581a54072e5ef. Checked views and
packing use Home contributor MIT terms. COMP1 decoding/reference equations
adapt raspberrypi/picamera2 request.py Helpers.decompress at
5e2a35d3bb230825c98c56d98e01b41ddeb43e86; the retained license follows.
- tests/ts/sensor-reference.ts is a scalar numeric reference of those equations.
BSD 2-Clause License
Copyright (c) 2021, Raspberry Pi
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Home native zlib initialization cleanup (0.80.1):
- src/home/zlib_stream.zig is copied verbatim from Home
packages/image/src/formats/zlib_stream.zig at
cf409eea44d0769862b2c04dd5717a930673579c, superseding its earlier copy.
Native initialization failure destroys its pinned owner once. The private test
seam covers error results outside the caller's Zig allocator; public ABI stays
unchanged. Existing Home/Bun MIT attribution applies.
Home checked APNG and shared PNG streaming (0.81):
- src/home/apng_encoder.zig, src/home/raster_encoder.zig,
tests/apng_fixture.zig and tests/apng_libpng.c are copied verbatim from
Home packages/image/src/formats/{apng_encoder,raster_encoder}.zig and
packages/image/tests/apng_{fixture.zig,libpng.c} at
924bbf199cc3a7ffed382fb5c8d44f891eb8b786. The raster copy supersedes its
earlier version. Home MIT attribution above applies. libpng/zlib readback
in the C harness is test-only and retains those projects' own licenses.
Home cooperative PNG/APNG checkpoints (0.82):
- src/home/apng_encoder.zig and src/home/raster_encoder.zig are verbatim
Home packages/image/src/formats modules at
9992b0608a44d6bca818900e0f2170e55adc48b1, superseding their 0.81 copies.
Home MIT attribution above applies. src/apng_job.zig and bounded staged-file
admission reuse the already attributed Home preparation_gate and
owned_admission modules; camera/worker/file ownership remains hosted glue.
Home exact typed scalar reads (0.91):
- src/home/typed_catalog.zig is updated verbatim from
packages/video/src/core/typed_catalog.zig at commit
6ebca8044eaa09f0430ec722cad8b1d91b0237b8.
Adds exact scalar type/order/shape reads and explicit provenance/role/flag
lookup with absent and ambiguous values kept distinct. The Home MIT license
above applies. Camera Exif policy reuses existing Home image writers.
https://github.com/home-lang/home/commit/6ebca8044eaa09f0430ec722cad8b1d91b0237b8
- src/home/catalog_projection.zig is verbatim Home video/core catalog projection at
e260034eebf954ad99415ea04bdb117d560bae15. Camera owns the request schema,
source-session lifetime and process admission; no Home OS source is copied.
- src/home/budget_allocator.zig and zlib_stream.zig are verbatim from Home
e499d6e91b89296bb0a47e763452240467817c56. Native zlib workspace now uses the
caller allocator; the existing Bun ABI attribution in zlib_stream remains.
- src/home/apng_encoder.zig is updated verbatim from Home
0349186f0cc38bdf6be2a714f04ae0a6ae543b2a, counting native workspace in the
height-independent allocation test. Camera owns native job/lease/file policy.
Home counted typed strings (0.98):
- src/home/typed_catalog.zig is updated verbatim from
packages/video/src/core/typed_catalog.zig at
271a5c11406c6d65c30ba0eeffbcbbe48cfbcfc1, adding strict borrowed UTF-8
values and provenance/role/flag lookup through the existing selection scan.
Home MIT attribution above applies.
https://github.com/home-lang/home/commit/271a5c11406c6d65c30ba0eeffbcbbe48cfbcfc1
Home exact orthogonal pixels (0.99):
- src/home/oriented_pixels.zig is adapted from Home
packages/image/src/oriented_pixels.zig at
3d06866b74de1516625f070e96b7a4dc3bcdb01e; only the flattened pixel_view.zig
and orientation.zig import paths differ. Existing Home MIT attribution applies.
- tests/pixel_orientation_fixture.zig and pixel_orientation_reference.c are
verbatim Home packages/image/tests fixtures at that same revision.
https://github.com/home-lang/home/commit/3d06866b74de1516625f070e96b7a4dc3bcdb01e
Home bounded PNG/APNG decoding (0.100):
- src/home/png_decoder.zig is adapted from Home
packages/image/src/png_decoder.zig at
e3aa7a790af9d84affc290558f50ab745db401ff; only flattened format import
paths differ. src/home/zlib_stream.zig is copied verbatim from that revision.
- tests/png_decode_fixture.zig and png_decode_libpng.c are verbatim Home
packages/image/tests fixtures. Existing Home MIT attribution above applies.
https://github.com/home-lang/home/commit/e3aa7a790af9d84affc290558f50ab745db401ff
PNG core follow-up 1c3781d90110ea13a13e220fdbd786135b023f69 bounds cancellation within wide rows;
the camera copy includes it with the same import-only adaptation.
Final PNG metadata validation 207d20242d3dbaec74b9888f70b9f516521f55de enforces the RGB cICP
matrix and PNG Exif header structure; the camera copy includes this follow-up.
src/home/manager_gate.zig and sensor_node.zig are copied
verbatim from home-lang/home packages/video/src/core at revision
4a5d30540bd6b483c634ddd86de4fe27bef32115, under the MIT license above.
src/home/nal_convert.zig and rtp_wire.zig are copied verbatim from
home-lang/home packages/video/src/{core,streaming} at revision
f0db151808bbd71a8459050fc299aaf6681b5303. rtp_packetizer.zig adapts only its
flattened nal_convert import. All are under the MIT license above.
src/home/socket_write.zig is copied verbatim from home-lang/home
packages/video/src/core/socket_write.zig at revision
b32fcc0e9cb086d29ae37f0d463b9cccfd43fcb9, under the MIT license above.
src/home/byte_tail.zig and process_output_wire.zig are copied verbatim from
home-lang/home packages/video/src/core at revision
6b9c9000460501866cecaa809b5f65bba2254987. process_output_host.zig is copied from
packages/video/src/io with only its process_output_wire import flattened. All
are under the MIT license above.
src/home/mp4_stream.zig is copied verbatim from home-lang/home
packages/video/src/containers/mp4_stream.zig at revision
19b67a8a7df2a5bc4ea2dddbe0a8ef9a3e761519, including bounded forward-only AAC
fragmented MP4, under the MIT license above.
src/home/process_output_host.zig includes the verified existing-group startup
fix from home-lang/home packages/video/src/io/process_output_host.zig at
5fe691d067a7aa33d60ad6fc276e2ba2aed0c121, with only the wire import flattened,
under the MIT license above.
src/home/apng_compositor.zig is copied from home-lang/home
packages/image/src/apng_compositor.zig at revision
24733f83b0a09b8b8edc733967bf2c7d7ed0d025 with only the pixel_view import flattened,
under the MIT license above.
src/home/process_output_host.zig includes independent cancellation/proof channels
from home-lang/home packages/video/src/io/process_output_host.zig at
126f6952de819aae4decb31f6c42e71967e33ae9, with only the wire import flattened,
under the MIT license above.
src/home/process_output_host.zig includes exec-status retirement ordering from
home-lang/home packages/video/src/io/process_output_host.zig at
22c9d6786317fcb476ac2e53a53163a9c7a06dc0, with only the wire import flattened,
under the MIT license above.
src/home/serial_worker.zig is copied from home-lang/home packages/video/src/io
at 10203a0bd0beb877fa64d2eff6e7155fbab7b663 with only its owned_admission import
flattened, under the MIT license above.
Home RGBA view and the six src/home/kms*.zig helpers are copied verbatim from
home-lang/home at 2559d54a0ca33909b8e8d327151b8eddf4c9db41, under the MIT license above.
The update adds checked BGRA alpha uploads, strict stacking and shared two-plane
atomic retirement. Home OS kernel sources are not copied into this repository.
Home JPEG decoder and the independent reference fixtures are copied verbatim
from home-lang/home at 7a3fbfdff7d9654d521bade9b5b84180aacfa1a3:
packages/image/src/jpeg_decoder.zig -> src/home/jpeg_decoder.zig;
packages/image/tests/jpeg_decode_{fixture.zig,libjpeg.c} -> tests/.
The existing jpeg_dct.zig is reused verbatim. All are under the MIT license above.
Libjpeg is an independent test producer/decoder, not a runtime decode dependency.
The JPEG decoder/reference fixtures additionally include single-component MCU
geometry and portable green-conversion fixes from Home 7d9ba7825b7dc2bf77d4fb37c331f38134e2d89b,
under the same MIT license.
src/home/capture_allocation.zig is copied verbatim from home-lang/home
packages/video/src/core/capture_allocation.zig at
ac27dba288a22785aa062a197b81129cb01b6ef8, under the MIT license above. It reuses
the existing verbatim lease_pool and owned_admission modules. This is portable
ownership policy, not a Home OS kernel or Linux DMA heap allocator.
Home persistent capture backing (0.115):
- src/home/capture_allocation.zig, capture_backing.zig, capture_dma_heap.zig and
capture_host.zig are verbatim packages/video/src/core sources at
86f00f0e5a7015955f04324bec8635b84144c9eb.
- tests/capture_backing_fixture.zig and capture_backing_linux.c are verbatim
packages/video/tests sources from the same revision.
- Existing lease_pool and owned_admission remain verbatim.
The Home MIT license above applies. Home OS source is not copied.
The capture policy/owner and independent fixtures additionally include failed-
coherency discard and cleanup-before-replacement from Home 2f4a6a7ac3a8d229d5f7b16f91a69f33c69e8395,
under the same MIT license. Failed-fence backing is never cached as reusable.
- src/home/pixel_composite.zig is verbatim Home image native-precision alpha
composition at d02f7b2398b5959169d1b01e3013dd068f7e43b6. apng_compositor.zig
reuses that implementation with only sibling import paths adapted. The Home
MIT attribution/license above applies; Home OS source is not copied.
- src/home/frame_match.zig is verbatim Home video core/frame_match.zig at
90172471547e0b8884cdda2cddacec42442d2299. The Home MIT license above applies.
It selects bounded same-clock candidate replacement masks without owning
frames or clocks; no Home OS source is copied.
CNN tensor layout/decoder and exact typed metadata selection are copied from
home-lang/home packages/video/src/core/{tensor_layout,cnn_outputs,typed_catalog}.zig
at 7f857166f3786a8e7102ad5dc702a4d7dbe75436, under the Home MIT license reproduced above.
Raspberry Pi CNN descriptor layouts are interface facts checked against the
upstream libcamera producer, credited in docs/cnn-outputs.md.
Sensor inference region projection and CNN KPI decoding are copied from
home-lang/home packages/video/src/core/{inference_region,cnn_kpi}.zig at
ee5616cb9b6bd937bb46b0df15e5479c4c9c698c, under the Home MIT license above. Interface sequence
and primary Raspberry Pi/libcamera sources are credited in docs/inference-regions.md.
src/home/{observed_control,boolean_control,imx500_roi}.zig are copied verbatim
from home-lang/home packages/video/src/core at revision
f310a0c86d7d5b18f1b77b1d618650ef907065e4, under the Home MIT license above.
IMX500 V4L2 interface facts were independently inspected in Raspberry Pi Linux
5bd564aaa8dc4b1b8ed11733c19ec8ece63a72cc drivers/media/i2c/imx500.c; no kernel
implementation is copied. Home OS 151269666bc09aa15a271f1c1f4603f681132e65
is a read-only architecture reference; its Home kernel remains unchanged.