mirror of
https://github.com/openharmony/multimedia_video_processing_engine.git
synced 2026-07-01 06:41:58 -04:00
!48 merge master into master
fix invalid address Created-by: pxh123456 Commit-by: pxh123456 Merged-by: openharmony_ci Description: ### 一、内容说明(相关的Issue) https://gitcode.com/openharmony/multimedia_video_processing_engine/issues/34 ### 二、建议测试周期和提测地址 建议测试完成时间:2026.02.12 投产上线时间:2026.02.12 提测地址:CI环境/压测环境 测试账号: ### 三、变更内容 * 3.1 关联PR列表 * 3.2 数据库和部署说明 不涉及 * 3.4 其他技术优化内容(做了什么,变更了什么) 不涉及 * 3.5 废弃通知(什么字段、方法弃用?) 不涉及 * 3.6 后向不兼容变更(是否有无法向后兼容的变更?) 不涉及 ### 四、研发自测点(自测哪些?冒烟用例全部自测?) 自测测试结论:功能正常 ### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方) 检查点:xts | 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 | |------|------------|----------|---------------| | xxx | 否 | 需要 | 不需要 | | | | | | 接口测试:正常 性能测试:正常 并发测试:正常 其他:正常 See merge request: openharmony/multimedia_video_processing_engine!48
This commit is contained in:
+2
-1
@@ -44,7 +44,8 @@
|
||||
"egl",
|
||||
"opengles",
|
||||
"bounds_checking_function",
|
||||
"opencl-headers"
|
||||
"opencl-headers",
|
||||
"window_manager"
|
||||
],
|
||||
"third_party": [
|
||||
]
|
||||
|
||||
@@ -720,10 +720,11 @@ bool VpeNapi::ParseDetailImageParameter(napi_env env, napi_callback_info info, N
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VpeNapi::ParseLCDParameter(napi_env env, napi_callback_info info, NapiValues& nVal)
|
||||
bool VpeNapi::ParseLCDParameter(napi_env env, napi_callback_info info)
|
||||
{
|
||||
VPETrace vpeTrace("VpeNapi::DetailEnhance");
|
||||
std::lock_guard<std::mutex> lock(g_contrastLock);
|
||||
NapiValues nVal;
|
||||
nVal.argc = NUM_3;
|
||||
napi_value argValue[NUM_3] = {0};
|
||||
if (!PrepareNapiEnv(env, info, &nVal, argValue)) {
|
||||
@@ -764,8 +765,7 @@ napi_value VpeNapi::SetLcdImage(napi_env env, napi_callback_info info)
|
||||
VPE_LOGE("context == nullptr");
|
||||
return result;
|
||||
}
|
||||
NapiValues nVal;
|
||||
if (!ParseLCDParameter(env, info, nVal)) {
|
||||
if (!ParseLCDParameter(env, info)) {
|
||||
VPE_LOGE("parse parameter failed");
|
||||
return result;
|
||||
}
|
||||
|
||||
@@ -125,7 +125,7 @@ private:
|
||||
|
||||
// contrast enhancer
|
||||
static bool InitContrastAlgo(napi_env env);
|
||||
static bool ParseLCDParameter(napi_env env, napi_callback_info info, NapiValues& nVal);
|
||||
static bool ParseLCDParameter(napi_env env, napi_callback_info info);
|
||||
static bool ParseDetailImageParameter(napi_env env, napi_callback_info info, NapiValues& nVal);
|
||||
static bool GenerateRegionHist(napi_env env, ContrastEnhanceContext* context);
|
||||
static bool UpdateMetadataBasedOnHist(ContrastEnhanceContext* context);
|
||||
|
||||
Reference in New Issue
Block a user