Permission to enable third-party apk dump raw data

Regarding the modification of tripartite apk's permission to enable dump raw; the
main modification points involve the following issues:
1. You need to open the raw permission of the feature in the file of /device/vendor name/project name/android.hardware.camera.xml;
add: Change the setting is actually necessary to open, but in the current project cts turned off this feature;
2. Change the configuration data in vendor/mediatek/proprietary/custom/common/hal/imgsensor_metadata/common/config_static_XXXM_sensor_metadata_scaler.h about the raw configuration data of the sensor whose configuration is specific to a few M.
CONFIG_ENTRY_VALUE (HAL_PIXEL_FORMAT_RAW16, MINT64)
CONFIG_ENTRY_VALUE (XXX (capsize.W drive configuration), MINT64)
CONFIG_ENTRY_VALUE (XXX (capsize.H drive configuration), MINT64)
CONFIG_ENTRY_VALUE (MTK_SCALER_AVAILABLE_STREAM_CONFIGURATIONS_OUTPUT, MINT64)
CONFIG_ENTRY_VALUE (50000000, MINT64) // frame duration
CONFIG_ENTRY_VALUE(33333333, MINT64) // stall duration
configured here is the corresponding configuration point about raw16;
To be continued; wait until tomorrow’s verification result is ok and then update; haha

Guess you like

Origin blog.csdn.net/www18251955310/article/details/108631111