<sa8650>QCX Usecase 使用详解—如何配置任意数据流分辨率
camxoemcustomization.cpp 中的 GetCustomStandardImageDimension API 可添加和删除分辨率。
\camera_qcx\camx-common\oemcustomization\
分辨率必须在 standardImgDimenson 中添加和删除。
CamxResult OEMCustomization::GetCustomStandardImageDimension(
std::vector<DimensionCap>& rStandardImgDimension)
{
// Sample code for OEM to customize the Standard Image dimensions
std::vector<DimensionCap> standardImgDimenson;
// Sample code for OEM to customize more data in PlatformStaticCaps
standardImgDimenson =
{
// This is the pre-defined table, and available image sizes capability. Can be modified based on user requirement
{ 3180, 1428 },
{ 1088, 488 },
{ 1280, 720 },
{ 2564, 1984 },
{ 2564, 1200 },
{ 1358, 764 },
{ 960, 772 },
{ 320, 160 },
{ 384, 160 },
};
rStandardImgDimension = standardImgDimenson;
return CamxResultSucces