#pragma once
#include "AiDemoTypes.h"

bool AiCopySdkFrame(const HWS_VIDEO_FRAME* src, int slot, AiCapturedFrame* outFrame);
bool AiEncodeFrameToJpeg(const AiCapturedFrame& frame, int jpegQuality, std::vector<unsigned char>* outJpeg, std::wstring* errorText);
const char* AiPixelFormatName(HWS_PIXEL_FORMAT fmt);
