/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render_backend/ |
H A D | drawing_context.cpp | 102 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in AcquireSurfaceInGLES() local 103 if (frameConfig == nullptr) { in AcquireSurfaceInGLES() 104 LOGE("Failed to acquire surface in gles, frameConfig is nullptr"); in AcquireSurfaceInGLES() 107 GrBackendRenderTarget backendRenderTarget(frameConfig->width, frameConfig->height, 0, STENCIL_BUFFER_SIZE, in AcquireSurfaceInGLES() 130 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in AcquireSurfaceInRaster() local 131 if (frameConfig == nullptr) { in AcquireSurfaceInRaster() 132 LOGE("Failed to acquire surface in raster, frameConfig i in AcquireSurfaceInRaster() 179 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; GetSkColorSpace() local [all...] |
H A D | render_backend_utils.cpp | 28 std::shared_ptr<FrameConfig> frameConfig = frame->frameConfig; in IsValidFrame() local 29 if (frameConfig == nullptr) { in IsValidFrame()
|
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 1044 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); in HWTEST_F() local 1045 EXPECT_NE(frameConfig.get(), nullptr); in HWTEST_F() 1050 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); in HWTEST_F() local 1051 EXPECT_NE(frameConfig.get(), nullptr); in HWTEST_F() 1056 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); in HWTEST_F() local 1057 EXPECT_NE(frameConfig.get(), nullptr); in HWTEST_F() 1062 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); in HWTEST_F() local 1063 EXPECT_NE(frameConfig.get(), nullptr); in HWTEST_F() 1068 shared_ptr<FrameConfig> frameConfig = nullptr; in HWTEST_F() local 1076 frameConfig in HWTEST_F() 1086 shared_ptr<FrameConfig> frameConfig = nullptr; HWTEST_F() local 1104 shared_ptr<FrameConfig> frameConfig = nullptr; HWTEST_F() local 1122 shared_ptr<FrameConfig> frameConfig = nullptr; HWTEST_F() local 1218 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1231 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1244 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); HWTEST_F() local 1257 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); HWTEST_F() local 1270 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1291 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1312 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); HWTEST_F() local 1333 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); HWTEST_F() local 1354 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1378 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1402 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); HWTEST_F() local 1426 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); HWTEST_F() local 1458 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1476 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1493 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1502 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1512 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); HWTEST_F() local 1521 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); HWTEST_F() local 1530 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1550 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CAPTURE); HWTEST_F() local 1571 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_RECORD); HWTEST_F() local 1591 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_CALLBACK); HWTEST_F() local 1657 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1666 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1676 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1687 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1706 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1716 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1728 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local 1741 shared_ptr<FrameConfig> frameConfig = make_shared<FrameConfig>(FRAME_CONFIG_PREVIEW); HWTEST_F() local [all...] |
/foundation/multimedia/camera_lite/interfaces/kits/ |
H A D | frame_state_callback.h | 69 * @param frameConfig Indicates the frame configuration.
72 virtual void OnFrameFinished(Camera &camera, FrameConfig &frameConfig, FrameResult &frameResult) {}
in OnFrameFinished() argument 78 * @param frameConfig Indicates the frame configuration.
82 virtual void OnFrameError(Camera &camera, FrameConfig &frameConfig, int32_t errorCode, FrameResult &frameResult) {}
in OnFrameError() argument
|
H A D | camera.h | 114 virtual int32_t TriggerLoopingCapture(FrameConfig &frameConfig)
in TriggerLoopingCapture() argument 138 virtual int32_t TriggerSingleCapture(FrameConfig &frameConfig)
in TriggerSingleCapture() argument
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
H A D | boot_picture_player.cpp | 93 FrameRateConfig frameConfig; in ReadPicZipFile() local 94 ReadZipFile(GetPicZipPath(), imgVec, frameConfig); in ReadPicZipFile() local 103 if (CheckFrameRateValid(frameConfig.frameRate)) { in ReadPicZipFile() 104 freq = frameConfig.frameRate; in ReadPicZipFile() 106 LOGW("Only Support 30, 60 frame rate: %{public}d", frameConfig.frameRate); in ReadPicZipFile()
|
H A D | util.cpp | 195 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig) in ReadZipFile() argument 229 if (!ReadImageFile(zipFile, name, imgVec, frameConfig, fileInfo.uncompressed_size)) { in ReadZipFile() 263 FrameRateConfig& frameConfig, unsigned long fileSize) in ReadImageFile() 294 ParseImageConfig(imageStruct->memPtr.memBuffer, totalLen, frameConfig); in ReadImageFile() 302 bool ParseImageConfig(const char* fileBuffer, int totalsize, FrameRateConfig& frameConfig) in ParseImageConfig() argument 313 frameConfig.frameRate = frameRate->valueint; in ParseImageConfig() 314 LOGI("freq: %{public}d", frameConfig.frameRate); in ParseImageConfig() 262 ReadImageFile(const unzFile zipFile, const std::string& fileName, ImageStructVec& imgVec, FrameRateConfig& frameConfig, unsigned long fileSize) ReadImageFile() argument
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | camera_component.cpp | 50 Media::FrameConfig &frameConfig, in OnFrameFinished() 53 if (frameConfig.GetFrameConfigType() != Media::FRAME_CONFIG_CAPTURE) { in OnFrameFinished() 57 auto surfaceList = frameConfig.GetSurfaces(); in OnFrameFinished() 100 Media::FrameConfig &frameConfig, in OnFrameError() 421 Media::FrameConfig *frameConfig = component->GetFrameConfig(); in CaptureFrame() local 422 if (frameConfig == nullptr) { in CaptureFrame() 435 frameConfig->SetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor); in CaptureFrame() 444 return camera->TriggerSingleCapture(*frameConfig) == MEDIA_OK; in CaptureFrame() 49 OnFrameFinished(Media::Camera &camera, Media::FrameConfig &frameConfig, Media::FrameResult &frameResult) OnFrameFinished() argument 99 OnFrameError(Media::Camera &camera, Media::FrameConfig &frameConfig, int32_t errorCode, Media::FrameResult &frameResult) OnFrameError() argument
|
H A D | camera_component.h | 59 Media::FrameConfig &frameConfig, 62 Media::FrameConfig &frameConfig,
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/include/ |
H A D | util.h | 145 bool ReadZipFile(const std::string& srcFilePath, ImageStructVec& imgVec, FrameRateConfig& frameConfig); 150 FrameRateConfig& frameConfig, unsigned long fileSize); 152 bool ParseImageConfig(const char* fileBuffer, int totalsize, FrameRateConfig& frameConfig);
|
/foundation/multimedia/camera_lite/services/server/include/ |
H A D | camera_type.h | 49 void* frameConfig; member
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/render_backend/ |
H A D | rs_render_surface_frame.h | 118 std::shared_ptr<FrameConfig> frameConfig; member
|
/foundation/multimedia/camera_lite/frameworks/binder/src/ |
H A D | camera_device_client.cpp | 198 para_->frameConfig = &fc; in TriggerSingleCapture() 312 FrameConfig *fc = static_cast<FrameConfig*>(para->frameConfig); in DeviceClientCallback()
|