Lines Matching refs:streamAttr
295 static void StreamAttrInitialize(StreamAttr *streamAttr, Surface *surface,
298 if (streamAttr == nullptr || surface == nullptr) {
301 (void)memset_s(streamAttr, sizeof(StreamAttr), 0, sizeof(StreamAttr));
302 streamAttr->type = streamType;
303 fc.GetParameter(CAM_IMAGE_FORMAT, streamAttr->format);
304 streamAttr->width = surface->GetWidth();
305 streamAttr->height = surface->GetHeight();
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);