mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-08 13:33:42 +08:00
9 lines
374 B
Python
9 lines
374 B
Python
Import('env', 'arch')
|
|
|
|
# Hardware H.264 for StarPort projection (Qualcomm V4L2). Loaded with ctypes by
|
|
# hw_encoder.py; optional PyAV/libx264 is used only when separately installed.
|
|
if arch == "comma_arm64":
|
|
env.SharedLibrary('hw/starport_encoder', ['hw/starport_encoder.cc'])
|
|
if GetOption('extras'):
|
|
env.Program('hw/test_rgba_to_nv12', ['hw/test_rgba_to_nv12.cc'])
|