firmware/general/package/sigmastar-osdrv-ssc335/files/sample/crutches/0001-vpe_fixed.patch

11 lines
454 B
Diff

--- a/app/encoder/main.cpp
+++ b/app/encoder/main.cpp
@@ -919,6 +919,8 @@
stVpeChannelInfo.e3DNRLevel = pstConfig->en3dNrLevel;
stVpeChannelInfo.eHDRtype = eVpeHdrType;
stVpeChannelInfo.bRotation = FALSE;
+ stVpeChannelInfo.eBindSensorId = E_MI_VPE_SENSOR0;
STCHECKRESULT(ST_Vpe_CreateChannel(0, &stVpeChannelInfo));
STCHECKRESULT(ST_Vpe_StartChannel(0)); // ch 0,1,2
memset(&stBindInfo, 0x0, sizeof(ST_Sys_BindInfo_T));