static int GetProfileParameter(uint32_t aCameraId, int aQuality, const char* aParameter) { MediaProfiles* profiles = GetMediaProfiles(); return profiles->getCamcorderProfileParamByName(aParameter, static_cast<int>(aCameraId), static_cast<camcorder_quality>(aQuality)); }
static int GetProfileParameter(uint32_t aCameraId, uint32_t aProfileIndex, const char* aParameter) { MediaProfiles* profiles = GetMediaProfiles(); camcorder_quality q = static_cast<camcorder_quality>(ProfileList[aProfileIndex].quality); return profiles->getCamcorderProfileParamByName(aParameter, static_cast<int>(aCameraId), q); }