mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 22:22:11 +08:00
destroy rgb_to_yuv_state (#2702)
old-commit-hash: 1e9e31d6e1167e309660aad49986524d445b19d3
This commit is contained in:
@@ -129,6 +129,8 @@ CameraBuf::~CameraBuf() {
|
||||
for (int i = 0; i < YUV_COUNT; i++) {
|
||||
visionbuf_free(&yuv_ion[i]);
|
||||
}
|
||||
rgb_to_yuv_destroy(&rgb_to_yuv_state);
|
||||
|
||||
if (krnl_debayer) {
|
||||
CL_CHECK(clReleaseKernel(krnl_debayer));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user