[feat] implementation for ScreenCapturerSck::Destroy() and ScreenCapturerSck::Stop()

This commit is contained in:
dijunkun
2025-05-29 15:49:42 +08:00
parent 920677a433
commit a8b5e934b8
4 changed files with 48 additions and 10 deletions

View File

@@ -117,7 +117,7 @@ void ScaleNv12ToABGR(char* src, int src_w, int src_h, int dst_w, int dst_h,
memset(dst_rgba, 0, dst_w * dst_h * 4);
for (int i = 0; i < dst_w * dst_h; ++i) {
dst_rgba[i * 4 + 3] = 255;
dst_rgba[i * 4 + 3] = 0xFF;
}
for (int y = 0; y < fit_h; ++y) {