Android RK3588-12 hdmi-in Camera方式最大支持3个

Android系统在RK3588平台上的HDMI-in Camera功能已升级,现在最多可支持同时处理3个流,这提升了外部摄像头设备的多路处理能力。更新涉及了ExternalCameraDeviceSession的相关源代码,将kMaxProcessedStream的最大值从2增加到3。


  hdmi-in Camera最大支持3个

    modified:   hardware/interfaces/camera/device/3.4/default/ExternalCameraDevice.cpp
    modified:   hardware/interfaces/camera/device/3.4/default/ExternalCameraDeviceSession.cpp
    modified:   hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession.h
    modified:   hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession_3.4.h
 

diff --git a/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession.h b/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession.h
index 180f0c1..cf065ed 100644
--- a/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession.h
+++ b/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession.h
@@ -107,7 +107,7 @@ struct ExternalCameraDeviceSession : public virtual RefBase,
         return new TrampolineSessionInterface_3_4(this);
     }

-    static const int kMaxProcessedStream = 2;
+    static const int kMaxProcessedStream = 3;
     static const int kMaxStallStream = 1;
     static const uint32_t kMaxBytesPerPixel = 2;

diff --git a/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession_3.4.h b/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession_3.4.h
index 0a621a4..8e97c31 100755
--- a/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession_3.4.h
+++ b/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ExternalCameraDeviceSession_3.4.h
@@ -112,7 +112,7 @@ struct ExternalCameraDeviceSession : public virtual RefBase,
         return new TrampolineSessionInterface_3_4(this);
     }

-    static const int kMaxProcessedStream = 2;
+    static const int kMaxProcessedStream = 3;
     static const int kMaxStallStream = 1;
     static const uint32_t kMaxBytesPerPixel = 2;
        void createPreviewBuffer();
 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值