/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | uid_util.h | 50 auto* dst = str.data(); in to_string() local 53 Uint8ToHex(data >> 56U, dst, dst + 1); in to_string() 54 dst += 2; in to_string() 57 *dst++ = '-'; in to_string() 59 Uint8ToHex(data >> 56U, dst, dst + 1); in to_string() 60 dst += 2; in to_string() 63 *dst++ = '-'; in to_string() 65 Uint8ToHex(data >> 56U, dst, ds in to_string() [all...] |
H A D | base64_encode.h | 45 inline signed EncodeTriplets(char*& dst, const uint8_t*& src, signed left) in EncodeTriplets() argument 48 Detail::ToBase64(src, dst); in EncodeTriplets() 50 dst += 4U; in EncodeTriplets() 55 inline void FillTriplet(uint8_t* dst, const uint8_t*& src, signed left) in FillTriplet() argument 59 *dst++ = *src++; in FillTriplet() 61 *dst++ = *src++; in FillTriplet() 65 inline void EncodeTail(char* dst, const uint8_t* src, signed left) in EncodeTail() argument 70 Detail::ToBase64(rest, dst, left); in EncodeTail() 84 auto dst = encodedString.data(); in Base64Encode() local 89 left = Detail::EncodeTriplets(dst, sr in Base64Encode() [all...] |
/base/security/device_auth/common_lib/impl/src/ |
H A D | hc_parcel.c | 99 HcBool ParcelReadWithoutPopData(HcParcel *parcel, void *dst, uint32_t dataSize)
in ParcelReadWithoutPopData() argument 102 HcBool ret = ParcelReadRevert(parcel, dst, dataSize);
in ParcelReadWithoutPopData() 104 HcBool ret = ParcelRead(parcel, dst, dataSize);
in ParcelReadWithoutPopData() 112 HcBool ParcelRead(HcParcel *parcel, void *dst, uint32_t dataSize)
in ParcelRead() argument 115 if (parcel == NULL || dst == NULL || dataSize == 0) {
in ParcelRead() 124 rc = memmove_s(dst, dataSize, parcel->data + parcel->beginPos, dataSize);
in ParcelRead() 132 HcBool ParcelEraseBlock(HcParcel *parcel, uint32_t start, uint32_t dataSize, void *dst)
in ParcelEraseBlock() argument 135 if (parcel == NULL || dst == NULL || dataSize == 0) {
in ParcelEraseBlock() 148 rc = memmove_s(dst, dataSize, beginCopy, dataSize);
in ParcelEraseBlock() 162 HcBool ParcelReadRevert(HcParcel *parcel, void *dst, uint32_ argument 190 ParcelReadInt32(HcParcel *parcel, int *dst) ParcelReadInt32() argument 195 ParcelReadUint32(HcParcel *parcel, uint32_t *dst) ParcelReadUint32() argument 200 ParcelReadInt16(HcParcel *parcel, short *dst) ParcelReadInt16() argument 205 ParcelReadUint16(HcParcel *parcel, uint16_t *dst) ParcelReadUint16() argument 210 ParcelReadInt8(HcParcel *parcel, char *dst) ParcelReadInt8() argument 215 ParcelReadUint8(HcParcel *parcel, uint8_t *dst) ParcelReadUint8() argument 220 ParcelReadUint64(HcParcel *parcel, uint64_t *dst) ParcelReadUint64() argument 225 ParcelReadInt64(HcParcel *parcel, int64_t *dst) ParcelReadInt64() argument 366 ParcelReadParcel(HcParcel *src, HcParcel *dst, uint32_t size, HcBool copy) ParcelReadParcel() argument 384 ParcelCopy(HcParcel *src, HcParcel *dst) ParcelCopy() argument 409 ParcelReadInt32Revert(HcParcel *parcel, int32_t *dst) ParcelReadInt32Revert() argument 418 ParcelReadUint32Revert(HcParcel *parcel, uint32_t *dst) ParcelReadUint32Revert() argument 427 ParcelReadInt16Revert(HcParcel *parcel, short *dst) ParcelReadInt16Revert() argument 436 ParcelReadUint16Revert(HcParcel *parcel, uint16_t *dst) ParcelReadUint16Revert() argument 448 ParcelReadInt8Revert(HcParcel *parcel, char *dst) ParcelReadInt8Revert() argument 453 ParcelReadUint8Revert(HcParcel *parcel, uint8_t *dst) ParcelReadUint8Revert() argument 458 ParcelReadUint64Revert(HcParcel *parcel, uint64_t *dst) ParcelReadUint64Revert() argument 467 ParcelReadInt64Revert(HcParcel *parcel, int64_t *dst) ParcelReadInt64Revert() argument [all...] |
/base/security/device_auth/common_lib/interfaces/ |
H A D | hc_parcel.h | 41 HcBool ParcelReadWithoutPopData(HcParcel *parcel, void *dst, uint32_t dataSize);
42 HcBool ParcelRead(HcParcel *parcel, void *dst, uint32_t dataSize);
44 HcBool ParcelReadRevert(HcParcel *parcel, void *dst, uint32_t dataSize);
50 HcBool ParcelReadInt32(HcParcel *parcel, int *dst);
51 HcBool ParcelReadUint32(HcParcel *parcel, uint32_t *dst);
52 HcBool ParcelReadInt16(HcParcel *parcel, short *dst);
53 HcBool ParcelReadUint16(HcParcel *parcel, uint16_t *dst);
54 HcBool ParcelReadInt8(HcParcel *parcel, char *dst);
55 HcBool ParcelReadUint8(HcParcel *parcel, uint8_t *dst);
56 HcBool ParcelReadUint64(HcParcel *parcel, uint64_t *dst);
[all...] |
/foundation/bundlemanager/bundle_framework_lite/utils/bundle_lite/ |
H A D | utils.h | 37 char *dst = reinterpret_cast<char *>(AdapterMalloc(len + 1)); in Strdup() local 38 if (dst == nullptr) { in Strdup() 41 errno_t err = strncpy_s(dst, len + 1, src, len); in Strdup() 43 AdapterFree(dst); in Strdup() 46 return dst; in Strdup() 55 void *dst = AdapterMalloc(len); in Memdup() local 56 if (dst == nullptr) { in Memdup() 60 int ret = memcpy_s(dst, len, src, len); in Memdup() 62 AdapterFree(dst); in Memdup() 66 return dst; in Memdup() [all...] |
/foundation/arkui/ui_lite/frameworks/engines/gfx/ |
H A D | soft_engine.cpp | 28 void SoftEngine::DrawArc(BufferInfo& dst, in DrawArc() argument 35 DrawArc::GetInstance()->Draw(dst, arcInfo, mask, style, opacity, cap); in DrawArc() 38 void SoftEngine::DrawLine(BufferInfo& dst, in DrawLine() argument 46 DrawLine::Draw(dst, start, end, mask, width, color, opacity); in DrawLine() 60 void SoftEngine::DrawCubicBezier(BufferInfo& dst, in DrawCubicBezier() argument 70 DrawCurve::DrawCubicBezier(dst, start, control1, control2, end, mask, width, color, opacity); in DrawCubicBezier() 73 void SoftEngine::DrawRect(BufferInfo& dst, in DrawRect() argument 79 DrawRect::Draw(dst, rect, dirtyRect, style, opacity); in DrawRect() 82 void SoftEngine::DrawTransform(BufferInfo& dst, in DrawTransform() argument 90 DrawUtils::GetInstance()->DrawTransform(dst, mas in DrawTransform() 101 Blit(BufferInfo& dst, const Point& dstPos, const BufferInfo& src, const Rect& subRect, const BlendOption& blendOption) Blit() argument 112 Fill(BufferInfo& dst, const Rect& fillArea, const ColorType color, const OpacityType opacity) Fill() argument 117 DrawPath(BufferInfo& dst, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DrawPath() argument 129 FillPath(BufferInfo& dst, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) FillPath() argument [all...] |
/foundation/multimedia/audio_framework/services/audio_service/common/src/ |
H A D | audio_common_converter.cpp | 32 void AudioCommonConverter::ConvertBufferTo32Bit(const uint8_t *buffer, int32_t format, int32_t *dst, size_t count, in ConvertBufferTo32Bit() argument 37 dst += count; in ConvertBufferTo32Bit() 40 *--dst = ((int32_t)(*--buffer) - 0x80) << AUDIO_SAMPLE_24BIT_LENGTH; in ConvertBufferTo32Bit() 45 dst += count; in ConvertBufferTo32Bit() 48 *--dst = (int32_t)((*--src << AUDIO_SAMPLE_16BIT_LENGTH) * volume); in ConvertBufferTo32Bit() 53 dst += count; in ConvertBufferTo32Bit() 57 *--dst = ((buffer[0] << BYTES_ALIGNMENT_SIZE) | (buffer[1] << AUDIO_SAMPLE_16BIT_LENGTH) | in ConvertBufferTo32Bit() 64 dst += count; in ConvertBufferTo32Bit() 67 *--dst = (*--src * volume); in ConvertBufferTo32Bit() 74 *dst in ConvertBufferTo32Bit() 83 ConvertBufferTo16Bit(const uint8_t *buffer, int32_t format, int16_t *dst, size_t count, float volume) ConvertBufferTo16Bit() argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | memcpy_helper.cpp | 25 void MemcpyHelper::CopyData(CopyInfo &src, CopyInfo &dst) in CopyData() argument 28 uint8_t *dstBuffer = dst.data; in CopyData() 37 BufferInfo &dstInfo = dst.bufferInfo; in CopyData() 41 dst.data, dstInfo.height_, dstInfo.formatType_, dstInfo.rowStride_, dstInfo.len_); in CopyData() 90 void MemcpyHelper::CopyData(EffectBuffer *src, EffectBuffer *dst) in CopyData() argument 92 CHECK_AND_RETURN_LOG(src != nullptr && dst != nullptr, in CopyData() 93 "Input effect buffer is null! src=%{public}p, dst=%{public}p", src, dst); in CopyData() 95 if (src == dst) { in CopyData() 104 CreateCopyInfoByEffectBuffer(dst, dstCopyInf in CopyData() 109 CopyData(EffectBuffer *src, CopyInfo &dst) CopyData() argument 118 CopyData(CopyInfo &src, EffectBuffer *dst) CopyData() argument 145 CopyData(MemoryData *src, MemoryData *dst) CopyData() argument [all...] |
/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | xml_helper_test.cpp | 60 int dst; in HWTEST_F() local 61 XmlHelper::SetIntParam(param, key, dst, 0); in HWTEST_F() 62 EXPECT_EQ(dst, 2147483647); in HWTEST_F() 70 int dst; in HWTEST_F() local 71 XmlHelper::SetIntParam(param, key, dst, 0); in HWTEST_F() 72 EXPECT_EQ(dst, 0); in HWTEST_F() 80 int dst; in HWTEST_F() local 81 XmlHelper::SetIntParam(param, key, dst, 0); in HWTEST_F() 82 EXPECT_EQ(dst, 0); in HWTEST_F() 90 int dst; in HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/ |
H A D | ext_pixel_convert.cpp | 48 void PixelCopy(RGBPixel* src, RGBxPixel* dst)
in PixelCopy() argument 50 dst->r = src->r;
in PixelCopy() 51 dst->g = src->g;
in PixelCopy() 52 dst->b = src->b;
in PixelCopy() 53 dst->x = NUM_0;
in PixelCopy() 56 void PixelCopy(RGBxPixel* src, RGBPixel* dst)
in PixelCopy() argument 58 dst->r = src->r;
in PixelCopy() 59 dst->g = src->g;
in PixelCopy() 60 dst->b = src->b;
in PixelCopy() 63 uint32_t ExtPixelConvert::RGBxToRGB(const ExtPixels &src, ExtPixels &dst)
in RGBxToRGB() argument 80 RGBToRGBx(const ExtPixels &src, ExtPixels &dst) RGBToRGBx() argument [all...] |
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/containers/ |
H A D | allocator.h | 34 inline bool CloneData(void* const dst, const size_t dstSize, const void* const src, const size_t srcSize) in CloneData() argument 36 if (dst && src && srcSize <= dstSize) { in CloneData() 38 auto status = memcpy_s(dst, dstSize, src, srcSize); in CloneData() 45 return (dst && src && srcSize <= dstSize); in CloneData() 48 inline bool MoveData(void* const dst, const size_t dstSize, const void* const src, const size_t srcSize) in MoveData() argument 50 if (dst && src && srcSize <= dstSize) { in MoveData() 52 auto status = memmove_s(dst, dstSize, src, srcSize); in MoveData() 59 return (dst && src && srcSize <= dstSize); in MoveData() 62 inline bool ClearToValue(void* dst, size_t dstSize, uint8_t val, size_t count) in ClearToValue() argument 64 if (dst in ClearToValue() [all...] |
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_service_converter_test.cpp | 90 ColorModeCode dst; in HWTEST_F() local 91 EXPECT_EQ(ConvertColorModeCode(src, dst), false); in HWTEST_F() 104 ColorModeCode dst; in HWTEST_F() local 105 bool re = ConvertColorModeCode(src, dst); in HWTEST_F() 106 EXPECT_EQ(dst, 1); in HWTEST_F() 113 ColorModeCode dst; in HWTEST_F() local 114 bool re = ConvertColorModeCode(src, dst); in HWTEST_F() 115 EXPECT_EQ(dst, 0); in HWTEST_F() 122 ColorModeCode dst; in HWTEST_F() local 123 bool re = ConvertColorModeCode(src, dst); in HWTEST_F() 131 ColorModeCode dst; HWTEST_F() local 166 PrintPageSize dst; HWTEST_F() local 173 PrintPageSize dst; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_pixel_map_util.cpp | 147 Drawing::Rect& src, Drawing::Rect& dst, Drawing::Canvas& canvas) in TransformDataSetForAstc() 153 dst.SetLeft(dst.GetLeft() - (realSize.width - src.GetRight()) / HALF_F); in TransformDataSetForAstc() 154 dst.SetTop(dst.GetTop() - (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc() 155 dst.SetRight(dst.GetRight() + (realSize.width - src.GetRight()) / HALF_F); in TransformDataSetForAstc() 156 dst.SetBottom(dst.GetBottom() + (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc() 162 matrix.PostScale(transformData.scaleX, transformData.scaleY, dst in TransformDataSetForAstc() 146 TransformDataSetForAstc(std::shared_ptr<Media::PixelMap> pixelMap, Drawing::Rect& src, Drawing::Rect& dst, Drawing::Canvas& canvas) TransformDataSetForAstc() argument [all...] |
/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_converter.cpp | 53 bool ConvertStringToInt(const char *src, int &dst) in ConvertStringToInt() argument 58 dst = atoi(src); in ConvertStringToInt() 66 bool ConvertOrientationMode(const uint32_t &src, Print_OrientationMode &dst) in ConvertOrientationMode() argument 69 dst = static_cast<Print_OrientationMode>(src - ORIENTATION_OFFSET); in ConvertOrientationMode() 76 bool ConvertColorMode(const uint32_t &src, Print_ColorMode &dst) in ConvertColorMode() argument 79 dst = static_cast<Print_ColorMode>(src); in ConvertColorMode() 86 bool ConvertDuplexMode(const uint32_t &src, Print_DuplexMode &dst) in ConvertDuplexMode() argument 89 dst = static_cast<Print_DuplexMode>(src); in ConvertDuplexMode() 96 bool ConvertQuality(const uint32_t &src, Print_Quality &dst) in ConvertQuality() argument 99 dst in ConvertQuality() [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libwebpplugin/include/ |
H A D | webp_encoder.h | 41 bool DoTransform(Media::PixelMap &pixelMap, char* dst, int componentsNum); 51 static bool DoTransformMemcpy(Media::PixelMap &pixelMap, char* dst, int componentsNum); 52 static bool DoTransformRGBX(Media::PixelMap &pixelMap, char* dst, int componentsNum); 53 static bool DoTransformRgbA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 54 static bool DoTransformBGRX(Media::PixelMap &pixelMap, char* dst, int componentsNum); 55 static bool DoTransformBGRA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 56 static bool DoTransformBgrA(Media::PixelMap &pixelMap, char* dst, int componentsNum); 57 static bool DoTransformF16To8888(Media::PixelMap &pixelMap, char* dst, int componentsNum); 58 static bool DoTransformF16pTo8888(Media::PixelMap &pixelMap, char* dst, int componentsNum); 59 static bool DoTransformArgbToRgb(Media::PixelMap &pixelMap, char* dst, in [all...] |
/foundation/arkui/ui_lite/frameworks/engines/gfx/hi3516/ |
H A D | hi3516_engine.cpp | 29 void Hi3516GfxEngine::Fill(BufferInfo& dst, in Fill() argument 37 data.phyAddr = static_cast<uint8_t *>(dst.phyAddr); in Fill() 38 data.width = dst.width; in Fill() 39 data.height = dst.height; in Fill() 40 data.stride = dst.stride; in Fill() 47 SoftEngine::Fill(dst, fillArea, color, opacity); in Fill()
|
/base/useriam/user_auth_framework/frameworks/native/common/attributes/src/ |
H A D | attributes.cpp | 74 static bool EncodeUint32Value(uint32_t src, std::vector<uint8_t> &dst); 75 static bool DecodeUint32Value(const std::vector<uint8_t> &src, uint32_t &dst); 80 static bool EncodeBoolValue(bool src, std::vector<uint8_t> &dst); 81 static bool EncodeUint64Value(uint64_t src, std::vector<uint8_t> &dst); 82 static bool EncodeUint16Value(uint16_t src, std::vector<uint8_t> &dst); 83 static bool EncodeUint8Value(uint8_t src, std::vector<uint8_t> &dst); 84 static bool EncodeInt32Value(int32_t src, std::vector<uint8_t> &dst); 85 static bool EncodeInt64Value(int64_t src, std::vector<uint8_t> &dst); 86 static bool EncodeStringValue(const std::string &src, std::vector<uint8_t> &dst); 87 static bool EncodeUint64ArrayValue(const std::vector<uint64_t> &src, std::vector<uint8_t> &dst); 675 EncodeBoolValue(bool src, std::vector<uint8_t> &dst) EncodeBoolValue() argument 684 EncodeUint64Value(uint64_t src, std::vector<uint8_t> &dst) EncodeUint64Value() argument 694 EncodeUint32Value(uint32_t src, std::vector<uint8_t> &dst) EncodeUint32Value() argument 704 EncodeUint16Value(uint16_t src, std::vector<uint8_t> &dst) EncodeUint16Value() argument 714 EncodeUint8Value(uint8_t src, std::vector<uint8_t> &dst) EncodeUint8Value() argument 722 EncodeInt32Value(int32_t src, std::vector<uint8_t> &dst) EncodeInt32Value() argument 732 EncodeInt64Value(int64_t src, std::vector<uint8_t> &dst) EncodeInt64Value() argument 742 EncodeStringValue(const std::string &src, std::vector<uint8_t> &dst) EncodeStringValue() argument 754 EncodeUint64ArrayValue(const std::vector<uint64_t> &src, std::vector<uint8_t> &dst) EncodeUint64ArrayValue() argument 772 EncodeUint32ArrayValue(const std::vector<uint32_t> &src, std::vector<uint8_t> &dst) EncodeUint32ArrayValue() argument 789 EncodeUint16ArrayValue(const std::vector<uint16_t> &src, std::vector<uint8_t> &dst) EncodeUint16ArrayValue() argument 806 EncodeInt32ArrayValue(const std::vector<int32_t> &src, std::vector<uint8_t> &dst) EncodeInt32ArrayValue() argument 823 EncodeUint8ArrayValue(const std::vector<uint8_t> &src, std::vector<uint8_t> &dst) EncodeUint8ArrayValue() argument 834 DecodeBoolValue(const std::vector<uint8_t> &src, bool &dst) DecodeBoolValue() argument 843 DecodeUint64Value(const std::vector<uint8_t> &src, uint64_t &dst) DecodeUint64Value() argument 855 DecodeUint32Value(const std::vector<uint8_t> &src, uint32_t &dst) DecodeUint32Value() argument 866 DecodeUint16Value(const std::vector<uint8_t> &src, uint16_t &dst) DecodeUint16Value() argument 877 DecodeUint8Value(const std::vector<uint8_t> &src, uint8_t &dst) DecodeUint8Value() argument 886 DecodeInt32Value(const std::vector<uint8_t> &src, int32_t &dst) DecodeInt32Value() argument 897 DecodeInt64Value(const std::vector<uint8_t> &src, int64_t &dst) DecodeInt64Value() argument 908 DecodeStringValue(const std::vector<uint8_t> &src, std::string &dst) DecodeStringValue() argument 924 DecodeUint64ArrayValue(const std::vector<uint8_t> &src, std::vector<uint64_t> &dst) DecodeUint64ArrayValue() argument 941 DecodeUint32ArrayValue(const std::vector<uint8_t> &src, std::vector<uint32_t> &dst) DecodeUint32ArrayValue() argument 958 DecodeUint16ArrayValue(const std::vector<uint8_t> &src, std::vector<uint16_t> &dst) DecodeUint16ArrayValue() argument 975 DecodeUint8ArrayValue(const std::vector<uint8_t> &src, std::vector<uint8_t> &dst) DecodeUint8ArrayValue() argument 982 DecodeInt32ArrayValue(const std::vector<uint8_t> &src, std::vector<int32_t> &dst) DecodeInt32ArrayValue() argument [all...] |
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_xz_utils.cpp | 49 std::vector<uint8_t> dst(srcLen, ' '); in XzDecompress() 52 dst.resize(dst.size() * EXPAND_FACTOR); in XzDecompress() 54 size_t dstRemain = dst.size() - dstOff; in XzDecompress() 56 reinterpret_cast<Byte*>(&dst[dstOff]), &dstRemain, in XzDecompress() 70 dst.resize(dstOff); in XzDecompress() 71 *out = std::move(dst); in XzDecompress()
|
/base/hiviewdfx/faultloggerd/common/cutil/ |
H A D | dfx_cutil.c | 31 static bool ReadStringFromFile(const char* path, char* dst, size_t dstSz) in ReadStringFromFile() argument 33 if ((dst == NULL) || (path == NULL)) { in ReadStringFromFile() 64 if (memcpy_s(dst, dstSz, nameFilter, strlen(nameFilter) + 1) != 0) { in ReadStringFromFile() 133 bool TrimAndDupStr(const char* src, char* dst) in TrimAndDupStr() argument 135 if ((src == NULL) || (dst == NULL)) { in TrimAndDupStr() 142 dst[j++] = src[i]; in TrimAndDupStr() 146 dst[j] = '\0'; in TrimAndDupStr() 149 dst = strchr(dst, '\n'); in TrimAndDupStr() 150 if (dst ! in TrimAndDupStr() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/codec/src/ |
H A D | media_frame_pipeline.cpp | 43 void FrameSource::AddAudioDestination(std::shared_ptr<FrameDestination> dst) in AddAudioDestination() argument 46 RETURN_IF_NULL(dst); in AddAudioDestination() 48 audioDsts_.push_back(dst); in AddAudioDestination() 50 dst->SetAudioSource(shared_from_this()); in AddAudioDestination() 53 void FrameSource::RemoveAudioDestination(std::shared_ptr<FrameDestination> dst) in RemoveAudioDestination() argument 56 RETURN_IF_NULL(dst); in RemoveAudioDestination() 58 audioDsts_.remove(dst); in RemoveAudioDestination() 60 dst->UnsetAudioSource(); in RemoveAudioDestination()
|
/foundation/multimedia/image_effect/interfaces/inner_api/native/utils/ |
H A D | memcpy_helper.h | 36 IMAGE_EFFECT_EXPORT static void CopyData(CopyInfo &src, CopyInfo &dst); 37 IMAGE_EFFECT_EXPORT static void CopyData(EffectBuffer *src, EffectBuffer *dst); 38 IMAGE_EFFECT_EXPORT static void CopyData(EffectBuffer *src, CopyInfo &dst); 39 IMAGE_EFFECT_EXPORT static void CopyData(CopyInfo &src, EffectBuffer *dst); 41 IMAGE_EFFECT_EXPORT static void CopyData(MemoryData *src, MemoryData *dst);
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | post_proc_slr.cpp | 92 bool SLRCheck(const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) in SLRCheck() argument 100 if (dst.size_.width == 0 || dst.size_.height == 0) { in SLRCheck() 119 bool SLRBoxCheck(const SLRSliceKey &key, const SLRMat &src, const SLRMat &dst, const SLRWeightMat &x, in SLRBoxCheck() argument 131 uint32_t* dstArr = static_cast<uint32_t*>(dst.data_); in SLRBoxCheck() 137 int dstM = dst.size_.height, dstN = dst.size_.width; in SLRBoxCheck() 152 int dstIndex = key.x * dst.rowStride_ + key.y; in SLRBoxCheck() 155 IMAGE_LOGE("SLRBoxCheck dst index error:%{public}d, %{public}d", dstIndex, maxDstSize); in SLRBoxCheck() 161 void SLRBox(const SLRSliceKey &key, const SLRMat &src, SLRMat &dst, cons argument 201 Serial(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) Serial() argument 217 SLRSubtask(const SLRSliceKey &key, const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) SLRSubtask() argument 231 Parallel(const SLRMat &src, SLRMat &dst, const SLRWeightMat &x, const SLRWeightMat &y) Parallel() argument [all...] |
/base/print/print_fwk/services/print_service/src/ |
H A D | print_service_converter.cpp | 26 bool ConvertColorModeCode(const char *src, ColorModeCode &dst) in ConvertColorModeCode() argument 32 dst = COLOR_MODE_COLOR; in ConvertColorModeCode() 34 dst = COLOR_MODE_MONOCHROME; in ConvertColorModeCode() 36 dst = COLOR_MODE_AUTO; in ConvertColorModeCode() 65 bool ConvertPrintPageSize(const char *src, PrintPageSize &dst) in ConvertPrintPageSize() argument 69 return PrintPageSize::FindPageSizeById(id, dst); in ConvertPrintPageSize()
|
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/brightness/ |
H A D | cpu_brightness_algo.cpp | 47 ErrorCode CpuBrightnessAlgo::OnApplyRGBA8888(EffectBuffer *src, EffectBuffer *dst, in OnApplyRGBA8888() argument 51 CHECK_AND_RETURN_RET_LOG(src != nullptr && dst != nullptr, ErrorCode::ERR_INPUT_NULL, in OnApplyRGBA8888() 52 "input para is null! src=%{public}p, dst=%{public}p", src, dst); in OnApplyRGBA8888() 55 auto *dstRgb = static_cast<unsigned char *>(dst->buffer_); in OnApplyRGBA8888() 62 if (src != dst) { in OnApplyRGBA8888() 63 errno_t result = memcpy_s(dstRgb, dst->bufferInfo_->len_, srcRgb, src->bufferInfo_->len_); in OnApplyRGBA8888() 80 uint32_t dstRowStride = dst->bufferInfo_->rowStride_; in OnApplyRGBA8888() 95 ErrorCode CpuBrightnessAlgo::OnApplyYUVNV21(EffectBuffer *src, EffectBuffer *dst, in OnApplyYUVNV21() argument 100 CHECK_AND_RETURN_RET_LOG(src != nullptr && dst ! in OnApplyYUVNV21() 155 OnApplyYUVNV12(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV12() argument [all...] |
/foundation/multimedia/image_effect/frameworks/native/efilter/filterimpl/contrast/ |
H A D | cpu_contrast_algo.cpp | 38 ErrorCode CpuContrastAlgo::OnApplyRGBA8888(EffectBuffer *src, EffectBuffer *dst, in OnApplyRGBA8888() argument 42 CHECK_AND_RETURN_RET_LOG(src != nullptr && dst != nullptr, ErrorCode::ERR_INPUT_NULL, in OnApplyRGBA8888() 43 "input para is null! src=%{public}p, dst=%{public}p", src, dst); in OnApplyRGBA8888() 46 auto *dstRgb = static_cast<unsigned char *>(dst->buffer_); in OnApplyRGBA8888() 53 if (src != dst) { in OnApplyRGBA8888() 54 errno_t result = memcpy_s(dstRgb, dst->bufferInfo_->len_, srcRgb, src->bufferInfo_->len_); in OnApplyRGBA8888() 70 uint32_t dstRowStride = dst->bufferInfo_->rowStride_; in OnApplyRGBA8888() 86 ErrorCode CpuContrastAlgo::OnApplyYUVNV21(EffectBuffer *src, EffectBuffer *dst, in OnApplyYUVNV21() argument 90 CHECK_AND_RETURN_RET_LOG(src != nullptr && dst ! in OnApplyYUVNV21() 143 OnApplyYUVNV12(EffectBuffer *src, EffectBuffer *dst, std::map<std::string, Plugin::Any> &value, std::shared_ptr<EffectContext> &context) OnApplyYUVNV12() argument [all...] |