Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between HAL and Drivers

Following to my post I'd like to know what's the difference between drivers and HAL ?

like image 404
Armand Avatar asked Mar 22 '26 03:03

Armand


1 Answers

From this doc:

HAL The hardware abstraction layer defines the standard interface that the camera service calls into and that you must implement to have your camera hardware function correctly.

Kernel driver The camera's driver interacts with the actual camera hardware and your implementation of the HAL. The camera and driver must support YV12 and NV21 image formats to provide support for previewing the camera image on the display and video recording.

enter image description here

like image 178
stinepike Avatar answered Mar 24 '26 17:03

stinepike



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!