Lines Matching defs:fc
203 auto fc = new FrameConfig(type);
211 delete fc;
214 fc->AddSurface(*surface);
220 fc->SetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor);
224 fc->SetParameter(CAM_FRAME_FPS, streamFps);
227 fc->SetParameter(CAM_IMAGE_INVERT_MODE, invertMode);
233 fc->SetParameter(CAM_IMAGE_CROP_RECT, streamCrop);
236 fc->SetParameter(CAM_IMAGE_FORMAT, streamFormat);
243 fc->SetVendorParameter(dataBuff, len);
245 return fc;
255 FrameConfig *fc = DeserializeFrameConfig(*req);
256 if (fc == nullptr) {
260 delete fc;
269 FrameConfig *fc = DeserializeFrameConfig(*req);
270 if (fc == nullptr) {
275 int32_t loopingCaptureStatus = device_->TriggerLoopingCapture(*fc, &streamId);
277 delete fc;
285 FrameConfig *fc = DeserializeFrameConfig(*req);
286 if (fc == nullptr) {
291 int32_t singleCaptureStatus = device_->TriggerSingleCapture(*fc, &streamId);
293 delete fc;