diff options
author | zengdongbao <zengdb@chinatelecom.cn> | 2022-01-04 16:41:32 +0800 |
---|---|---|
committer | zen <zengdongbao@gmail.com> | 2024-01-17 09:29:03 +0000 |
commit | f279fe81faada11f531a2d88b1b50bb4990deeca (patch) | |
tree | 7220b68f4b1ecb1e66033a674a562889f1495b62 /README | |
parent | 9c8377f86c3423010e5705861429761074ed63e2 (diff) |
If the frame data is large, it will be divided into multiple packets. In the current processing mode, each packet will be merged with the old packet into a new buffer, resulting in a large number of redundant operations.
Optimization scheme: Use array cache packets, and finally use DataView.set to do a merge.
After testing, 1080p picture data merging time can be reduced from 100ms to <5ms
Signed-off-by: zengdongbao <zengdongbao@gmail.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions