/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_font_collection.cpp | 45 OH_Drawing_FontCollection* fc = in OH_Drawing_CreateFontCollection() local 47 if (fc == nullptr) { in OH_Drawing_CreateFontCollection() 51 OH_Drawing_FontCollection* fc = in OH_Drawing_CreateFontCollection() 53 if (fc == nullptr) { in OH_Drawing_CreateFontCollection() 57 g_objectMgr->AddObject(fc); in OH_Drawing_CreateFontCollection() 58 return fc; in OH_Drawing_CreateFontCollection() 64 auto fc = std::make_shared<OHOS::Rosen::AdapterTxt::FontCollection>(); in OH_Drawing_CreateSharedFontCollection() local 66 auto fc = std::make_shared<OHOS::Rosen::AdapterTextEngine::FontCollection>(); in OH_Drawing_CreateSharedFontCollection() 68 OH_Drawing_FontCollection* pointer = reinterpret_cast<OH_Drawing_FontCollection*>(fc.get()); in OH_Drawing_CreateSharedFontCollection() 69 FontCollectionMgr::GetInstance().Insert(pointer, fc); in OH_Drawing_CreateSharedFontCollection() [all...] |
H A D | drawing_register_font.cpp | 70 auto fc = ConvertToOriginalText<FontCollection>(fontCollection); in LoadFromFontCollection() local 71 auto face = fc->LoadFont(familyName, data, dataLength); in LoadFromFontCollection()
|
H A D | drawing_text_typography.cpp | 404 if (auto fc = OHOS::Rosen::Drawing::FontCollectionMgr::GetInstance().Find(fontCollection)) { in OH_Drawing_CreateTypographyHandler() 405 handler = TypographyCreate::Create(*typoStyle, fc); in OH_Drawing_CreateTypographyHandler()
|
/foundation/multimedia/camera_lite/frameworks/ |
H A D | camera_impl.cpp | 96 int32_t CameraImpl::TriggerLoopingCapture(FrameConfig &fc)
in TriggerLoopingCapture() argument 102 int32_t type = fc.GetFrameConfigType();
in TriggerLoopingCapture() 115 int32_t ret = deviceClient_->TriggerLoopingCapture(fc);
in TriggerLoopingCapture() 120 frameConfigs_.emplace_back(&fc);
in TriggerLoopingCapture() 156 int32_t CameraImpl::TriggerSingleCapture(FrameConfig &fc)
in TriggerSingleCapture() argument 166 if (fc.GetFrameConfigType() != FRAME_CONFIG_CAPTURE) {
in TriggerSingleCapture() 170 int32_t ret = deviceClient_->TriggerSingleCapture(dynamic_cast<FrameConfig &>(fc));
in TriggerSingleCapture() 202 void CameraImpl::OnFrameFinished(int32_t ret, FrameConfig &fc)
in OnFrameFinished() argument 213 eventhdl->Post([fsc, this, &fc] {
in OnFrameFinished() 215 fsc->OnFrameError(*this, fc, in OnFrameFinished() [all...] |
H A D | camera_impl.h | 39 int32_t TriggerLoopingCapture(FrameConfig &fc) override;
41 int32_t TriggerSingleCapture(FrameConfig &fc) override;
47 void OnFrameFinished(int32_t ret, FrameConfig &fc);
|
/foundation/multimedia/camera_lite/frameworks/binder/src/ |
H A D | camera_device_client.cpp | 108 int32_t SerilizeFrameConfig(IpcIo &io, FrameConfig &fc, uint32_t maxSurfaceNum) in SerilizeFrameConfig() argument 110 WriteInt32(&io, fc.GetFrameConfigType()); in SerilizeFrameConfig() 111 list<Surface*> surfaceList = fc.GetSurfaces(); in SerilizeFrameConfig() 122 fc.GetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor); in SerilizeFrameConfig() 126 fc.GetParameter(CAM_FRAME_FPS, streamFps); in SerilizeFrameConfig() 130 fc.GetParameter(CAM_IMAGE_INVERT_MODE, invertMode); in SerilizeFrameConfig() 134 fc.GetParameter(CAM_IMAGE_CROP_RECT, streamCrop); in SerilizeFrameConfig() 141 fc.GetParameter(CAM_IMAGE_FORMAT, format); in SerilizeFrameConfig() 143 if (fc.GetFrameConfigType() != FRAME_CONFIG_RECORD) { in SerilizeFrameConfig() 145 fc in SerilizeFrameConfig() 154 TriggerLoopingCapture(FrameConfig &fc) TriggerLoopingCapture() argument 182 TriggerSingleCapture(FrameConfig &fc) TriggerSingleCapture() argument 312 FrameConfig *fc = static_cast<FrameConfig*>(para->frameConfig); DeviceClientCallback() local [all...] |
/foundation/graphic/graphic_3d/kits/js/include/ |
H A D | NodeImpl.h | 36 napi_value GetNodeType(NapiApi::FunctionContext<>& fc); 38 napi_value GetPosition(NapiApi::FunctionContext<>& fc); 39 void SetPosition(NapiApi::FunctionContext<NapiApi::Object>& fc); 41 napi_value GetScale(NapiApi::FunctionContext<>& fc); 42 void SetScale(NapiApi::FunctionContext<NapiApi::Object>& fc); 44 napi_value GetRotation(NapiApi::FunctionContext<>& fc); 45 void SetRotation(NapiApi::FunctionContext<NapiApi::Object>& fc); 52 napi_value GetChildContainer(NapiApi::FunctionContext<>& fc); // returns a container object.
|
H A D | BaseObjectJS.h | 114 NapiApi::FunctionContext fc(env, info); in TROGetter() 115 if (fc) { in TROGetter() 116 if (TrueRootObject* instance = GetThisRootObject(fc)) { in TROGetter() 118 return (impl->*F)(fc); in TROGetter() 129 NapiApi::FunctionContext<Type> fc(env, info); in TROSetter() 130 if (fc) { in TROSetter() 131 if (TrueRootObject* instance = GetThisRootObject(fc)) { in TROSetter() 133 (impl->*F)(fc); in TROSetter() 173 FC fc(env, info); in TROMethod() 174 if (fc) { in TROMethod() [all...] |
/foundation/multimedia/camera_lite/services/impl/src/ |
H A D | camera_device.cpp | 96 static int32_t CameraCreateVideoEnc(FrameConfig &fc, in CameraCreateVideoEnc() argument 198 static CODEC_HANDLETYPE CameraCreateJpegEncProc(FrameConfig &fc, uint32_t srcDev, AvCodecMime codecMime, in CameraCreateJpegEncProc() argument 213 fc.GetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor); in CameraCreateJpegEncProc() 235 static int32_t CameraCreateJpegEnc(FrameConfig &fc, StreamAttr stream, uint32_t srcDev, CODEC_HANDLETYPE *codecHdl) in CameraCreateJpegEnc() argument 249 auto surfaceList = fc.GetSurfaces(); in CameraCreateJpegEnc() 273 *codecHdl = CameraCreateJpegEncProc(fc, srcDev, codecMime, param, paramIndex); in CameraCreateJpegEnc() 296 StreamType streamType, FrameConfig &fc) in StreamAttrInitialize() 303 fc.GetParameter(CAM_IMAGE_FORMAT, streamAttr->format); in StreamAttrInitialize() 306 fc.GetParameter(CAM_FRAME_FPS, streamAttr->fps); in StreamAttrInitialize() 307 fc in StreamAttrInitialize() 295 StreamAttrInitialize(StreamAttr *streamAttr, Surface *surface, StreamType streamType, FrameConfig &fc) StreamAttrInitialize() argument 432 SetFrameConfig(FrameConfig &fc, uint32_t *streamId) SetFrameConfig() argument 544 SetFrameConfig(FrameConfig &fc, uint32_t *streamId) SetFrameConfig() argument 603 SetFrameConfig(FrameConfig &fc, uint32_t *streamId) SetFrameConfig() argument 712 SetFrameConfig(FrameConfig &fc, uint32_t *streamId) SetFrameConfig() argument 852 TriggerLoopingCapture(FrameConfig &fc, uint32_t *streamId) TriggerLoopingCapture() argument 933 TriggerSingleCapture(FrameConfig &fc, uint32_t *streamId) TriggerSingleCapture() argument [all...] |
/foundation/multimedia/camera_lite/services/server/src/ |
H A D | camera_server.cpp | 203 auto fc = new FrameConfig(type); in DeserializeFrameConfig() local 211 delete fc; in DeserializeFrameConfig() 214 fc->AddSurface(*surface); in DeserializeFrameConfig() 220 fc->SetParameter(PARAM_KEY_IMAGE_ENCODE_QFACTOR, qfactor); in DeserializeFrameConfig() 224 fc->SetParameter(CAM_FRAME_FPS, streamFps); in DeserializeFrameConfig() 227 fc->SetParameter(CAM_IMAGE_INVERT_MODE, invertMode); in DeserializeFrameConfig() 233 fc->SetParameter(CAM_IMAGE_CROP_RECT, streamCrop); in DeserializeFrameConfig() 236 fc->SetParameter(CAM_IMAGE_FORMAT, streamFormat); in DeserializeFrameConfig() 243 fc->SetVendorParameter(dataBuff, len); in DeserializeFrameConfig() 245 return fc; in DeserializeFrameConfig() 255 FrameConfig *fc = DeserializeFrameConfig(*req); SetFrameConfig() local 269 FrameConfig *fc = DeserializeFrameConfig(*req); TriggerLoopingCapture() local 285 FrameConfig *fc = DeserializeFrameConfig(*req); TriggerSingleCapture() local [all...] |
/foundation/multimedia/camera_lite/services/impl/include/ |
H A D | camera_device.h | 47 virtual int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) in SetFrameConfig() argument 68 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override; 82 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override; 92 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override; 101 int32_t SetFrameConfig(FrameConfig &fc, uint32_t *streamId) override; 119 int32_t TriggerLoopingCapture(FrameConfig &fc, uint32_t *streamId); 121 int32_t TriggerSingleCapture(FrameConfig &fc, uint32_t *streamId);
|
/foundation/multimedia/camera_lite/frameworks/passthrough/src/ |
H A D | camera_device_client.cpp | 63 int32_t CameraDeviceClient::TriggerLoopingCapture(FrameConfig &fc) in TriggerLoopingCapture() argument 71 return device_->TriggerLoopingCapture(fc, &streamId); in TriggerLoopingCapture() 74 int32_t CameraDeviceClient::TriggerSingleCapture(FrameConfig &fc) in TriggerSingleCapture() argument 82 int32_t ret = device_->TriggerSingleCapture(fc, &streamId); in TriggerSingleCapture() 83 cameraImpl_->OnFrameFinished(ret, fc); in TriggerSingleCapture()
|
/foundation/multimedia/camera_lite/frameworks/passthrough/include/ |
H A D | camera_device_client.h | 34 int32_t TriggerLoopingCapture(FrameConfig &fc); 36 int32_t TriggerSingleCapture(FrameConfig &fc);
|
/foundation/multimedia/camera_lite/frameworks/binder/include/ |
H A D | camera_device_client.h | 39 int32_t TriggerLoopingCapture(FrameConfig &fc); 41 int32_t TriggerSingleCapture(FrameConfig &fc);
|
/foundation/graphic/graphic_3d/lume/LumeRender/api/render/shaders/common/ |
H A D | render_compatibility_common.h | 72 #define CORE_GET_FRAGCOORD_UV(uv, fc, its) (uv = GetFragCoordUv(fc, its))
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | rfcomm.h | 123 uint8_t fc; member 151 uint8_t fc; member
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | run_test.cpp | 47 std::shared_ptr<FontCollection> fc = FontCollection::From(std::make_shared<txt::FontCollection>()); in SetUp() local 48 ASSERT_NE(fc, nullptr); in SetUp() 49 auto tc = OHOS::Rosen::TypographyCreate::Create(ts, fc); in SetUp()
|
/foundation/graphic/graphic_3d/kits/js/include/napi/ |
H A D | napi_api.h | 623 NapiApi::FunctionContext fc(env, info); 624 if (fc) { 625 NapiApi::Object me(env, fc.This()); 628 if (auto ret = (scj->*F)(fc)) { in F() 642 NapiApi::FunctionContext<Type> fc(env, info); in Setter() 643 if (fc) { in Setter() 644 NapiApi::Object me(env, fc.This()); in Setter() 647 (scj->*F)(fc); in Setter() 659 FC fc(env, info); in MethodI() 660 if (fc) { in MethodI() [all...] |
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | fillp_dfx.c | 452 FILLP_CONST struct GlobalAppFlowControl *fc = &resource->flowControl; in DoShowSockConfigRes() local 465 FILLP_DUMP_MSG_ADD_CHECK(data, *len, "Flow control: opposite set rate: %u"CRLF, fc->oppositeSetRate); in DoShowSockConfigRes() 466 FILLP_DUMP_MSG_ADD_CHECK(data, *len, " use const stack send rate: %hhu"CRLF, fc->constRateEnbale); in DoShowSockConfigRes() 467 FILLP_DUMP_MSG_ADD_CHECK(data, *len, " max send rate: %u Kbps"CRLF, fc->maxRate); in DoShowSockConfigRes() 468 FILLP_DUMP_MSG_ADD_CHECK(data, *len, " max recv rate: %u Kbps"CRLF, fc->maxRecvRate); in DoShowSockConfigRes() 469 FILLP_DUMP_MSG_ADD_CHECK(data, *len, " packet size: %hu"CRLF, fc->pktSize); in DoShowSockConfigRes() 470 FILLP_DUMP_MSG_ADD_CHECK(data, *len, " slow start: %hhu"CRLF, fc->slowStart); in DoShowSockConfigRes()
|
/foundation/multimedia/camera_lite/test/unittest/ |
H A D | camera_lite_test.cpp | 247 void OnFrameFinished(Camera &cam, FrameConfig &fc, FrameResult &res) override 252 if (fc.GetFrameConfigType() == FRAME_CONFIG_CAPTURE) { 255 list<Surface *> surfaceList = fc.GetSurfaces(); 271 delete &fc; 353 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_RECORD); in StartRecord() local 354 fc->AddSurface(*surface); in StartRecord() 358 delete fc; in StartRecord() 372 ret = cam_->TriggerLoopingCapture(*fc); in StartRecord() 388 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_PREVIEW); in StartPreview() local 394 delete fc; in StartPreview() 425 FrameConfig *fc = new FrameConfig(FRAME_CONFIG_CAPTURE); Capture() local [all...] |
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/ |
H A D | mtpfs_fuse.cpp | 465 struct fuse_context *fc = fuse_get_context(); in GetAttr() local 466 buf->st_uid = fc->uid; in GetAttr() 467 buf->st_gid = fc->gid; in GetAttr()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/rfcomm/ |
H A D | rfcomm_channel_fsm.c | 370 channel->portConfig.fc = info.rpn.rpnInfo.fc; in RfcommRecvRpnCmd() 1112 status.signals = modemSts->fc ? MSC_FC : 0; in RfcommSendMscReq()
|
H A D | rfcomm_frames.c | 393 header[RFCOMM_RPN_FLC] = portConfig->fc; in RfcommSendUihRpn() 1133 output.info->rpn.rpnInfo.fc = data[RFCOMM_OFFSET_3] & 0x3f; in RfcommSetRpnInfo()
|
H A D | rfcomm_channel.c | 941 * set the fc state and send the data in the queue if the peer can receive data. 957 status.fc = (modemSts->signals & MSC_FC) ? 1 : 0; in RfcommSetPeerModemStatus() 971 LOG_DEBUG("%{public}s:Credit based fc is used, ignore FC-bit.", __func__); in RfcommSetPeerModemStatus()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | SceneJS.cpp | 56 FunctionContext<> fc(e,cb); in Init() 57 return SceneJS::Load(fc); in Init()
|