Lines Matching defs:fc

96 static int32_t CameraCreateVideoEnc(FrameConfig &fc,
198 static CODEC_HANDLETYPE CameraCreateJpegEncProc(FrameConfig &fc, uint32_t srcDev, AvCodecMime codecMime,
213 fc.GetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor);
235 static int32_t CameraCreateJpegEnc(FrameConfig &fc, StreamAttr stream, uint32_t srcDev, CODEC_HANDLETYPE *codecHdl)
249 auto surfaceList = fc.GetSurfaces();
273 *codecHdl = CameraCreateJpegEncProc(fc, srcDev, codecMime, param, paramIndex);
296 StreamType streamType, FrameConfig &fc)
303 fc.GetParameter(CAM_IMAGE_FORMAT, streamAttr->format);
306 fc.GetParameter(CAM_FRAME_FPS, streamAttr->fps);
307 fc.GetParameter(CAM_IMAGE_INVERT_MODE, streamAttr->invertMode);
308 fc.GetParameter(CAM_IMAGE_CROP_RECT, streamAttr->crop);
432 int32_t RecordAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId)
434 fc_ = &fc;
435 auto surfaceList = fc.GetSurfaces();
446 StreamAttrInitialize(&stream, surface, STREAM_VIDEO, fc);
448 StreamAttrInitialize(&stream, g_surface, STREAM_VIDEO, fc);
462 fc.GetVendorParameter(streamInfo.u.data, PRIVATE_TAG_LEN);
467 ret = CameraCreateVideoEnc(fc, stream, deviceId, &codecHdl);
544 int32_t PreviewAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId)
546 fc_ = &fc;
547 auto surfaceList = fc.GetSurfaces();
554 StreamAttrInitialize(&stream, surface, STREAM_PREVIEW, fc);
603 int32_t CaptureAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId)
605 auto surfaceList = fc.GetSurfaces();
620 StreamAttrInitialize(&stream, surface, STREAM_CAPTURE, fc);
630 ret = CameraCreateJpegEnc(fc, stream, deviceId, &vencHdl_);
712 int32_t CallbackAssistant::SetFrameConfig(FrameConfig &fc, uint32_t *streamId)
714 fc_ = &fc;
715 auto surfaceList = fc.GetSurfaces();
721 fc.GetParameter(CAM_IMAGE_FORMAT, imageFormat);
726 StreamAttrInitialize(&stream, surface, STREAM_CALLBACK, fc);
852 int32_t CameraDevice::TriggerLoopingCapture(FrameConfig &fc, uint32_t *streamId)
856 int32_t fcType = fc.GetFrameConfigType();
883 auto surfaceList = fc.GetSurfaces();
893 int32_t ret = assistant->SetFrameConfig(fc, streamId);
933 int32_t CameraDevice::TriggerSingleCapture(FrameConfig &fc, uint32_t *streamId)
935 return TriggerLoopingCapture(fc, streamId);