Home
last modified time | relevance | path

Searched refs:decode (Results 1 - 12 of 12) sorted by relevance

/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/streamdepacketizer_fuzzer/
H A Dstreamdepacketizer_fuzzer.cpp39 Communication::SoftBus::StreamDepacketizer decode(1); in DepacketizeHeaderTest()
40 decode.DepacketizeHeader((const char *)tmp); in DepacketizeHeaderTest()
53 Communication::SoftBus::StreamDepacketizer decode(1); in DepacketizeBufferTest()
54 decode.DepacketizeBuffer((char *)tmp, sizeof(tmp)); in DepacketizeBufferTest()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Dutf8_decode.h48 constexpr inline uint32_t decode(uint32_t* state, uint32_t* codep, unsigned char byte) in decode() function
69 decode(&state, &codepoint, static_cast<unsigned char>(**buf)); in GetCharUtf8()
95 if (!decode(&state, &codepoint, static_cast<unsigned char>(*s))) { in CountGlyphsUtf8()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameradata/feedingsmoother/derived/
H A Ddcamera_time_statistician.cpp29 int64_t decode = frameInfo.timePonit.finishDecode - frameInfo.timePonit.startDecode; in CalProcessTime() local
36 averDecodeTime_ = CalAverValue(decode, decodeTimeSum_); in CalProcessTime()
41 DHLOGD("Encode %{public}" PRId64", trans %{public}" PRId64", decode %{public}" PRId64", decode2Scale %{public}" in CalProcessTime()
45 decode, decode2Scale, scale, recv2Feed, averEncodeTime_, averTransTime_, averDecodeTime_, in CalProcessTime()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/heif_impl/
H A DHeifDecoder.h83 virtual bool decode(HeifFrameInfo* frameInfo) = 0;
H A DHeifDecoderImpl.h47 bool decode(HeifFrameInfo *frameInfo) override;
/foundation/arkui/ace_engine/adapter/preview/sdk/dump/
H A Dresource_index.py188 d_value = d_buf[10:10 + d_value_len - 1].decode("utf-8")
193 d_name = str(d_buf[12 + d_value_len:12 + d_value_len + d_name_len - 1].decode("utf-8"))
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant.cpp1748 std::string decode; in Decode() local
1752 decode += str[i]; in Decode()
1757 decode += "\\"; in Decode()
1761 decode += "\\"; in Decode()
1765 decode += "="; in Decode()
1768 decode += ";"; in Decode()
1771 decode += "\\" + str.substr(i, 1); in Decode()
1775 decode += "\\" + str.substr(i, 1); in Decode()
1780 return decode; in Decode()
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py90 data = (int)(data.decode("utf-8"))
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/
H A Dvtp_stream_socket.cpp1108 StreamDepacketizer decode(streamType_); in ProcessCommonDataStream()
1114 decode.DepacketizeHeader(header); in ProcessCommonDataStream()
1117 decode.DepacketizeBuffer(buffer, plainDataLength - sizeof(CommonHeader)); in ProcessCommonDataStream()
1119 extBuffer = decode.GetUserExt(); in ProcessCommonDataStream()
1120 extLen = decode.GetUserExtSize(); in ProcessCommonDataStream()
1121 info = decode.GetFrameInfo(); in ProcessCommonDataStream()
1122 dataBuffer = decode.GetData(); in ProcessCommonDataStream()
1123 dataLength = decode.GetDataLength(); in ProcessCommonDataStream()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/
H A Dext_decoder.cpp234 .format = GRAPHIC_PIXEL_FMT_RGBA_8888, // hardware decode only support rgba8888 in DmaMemAlloc()
336 IMAGE_LOGE("heif yuv decode, Get planesInfo failed, retVal:%{public}d", retVal); in HeapMemAlloc()
433 // calculate sample size and dst size for hardware decode in HeapMemAlloc()
504 IMAGE_LOGE("GetImageSize failed, decode header failed."); in HeapMemAlloc()
594 // get dstInfo for hardware decode in HeapMemAlloc()
853 IMAGE_LOGI("Decode sample not support, apply rgb decode"); in HeapMemAlloc()
889 IMAGE_LOGD("decode format %{public}d", skEncodeFormat); in HeapMemAlloc()
1019 // update yuv outInfo if decode success, same as jpeg hardware decode in HeapMemAlloc()
1112 IMAGE_LOGI("yuv hardware decode onl in HeapMemAlloc()
[all...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/
H A DHeifDecoderImpl.cpp487 bool HeifDecoderImpl::decode(HeifFrameInfo *frameInfo) in decode() function in OHOS::ImagePlugin::HeifDecoderImpl
489 ImageTrace trace("HeifDecoderImpl::decode"); in decode()
623 IMAGE_LOGE("decode AllocateOutputBuffer return null"); in HwDecodeImage()
838 IMAGE_LOGE("SwDecodeGrids decode failed: %{public}d", retCode); in SwDecodeGrids()
874 IMAGE_LOGE("SwDecodeSingleImage decode failed: %{public}d", retCode); in SwDecodeSingleImage()
951 // decode alpha image in HwApplyAlphaImage()
957 IMAGE_LOGE("hw decode alpha image failed"); in HwApplyAlphaImage()
989 IMAGE_LOGE("sw decode alpha image failed"); in SwApplyAlphaImage()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/
H A Dimage_source.cpp831 IMAGE_LOGE("[ImageSource]decode source fail, ret:%{public}u.", errorCode);
832 imageEvent.SetDecodeErrorMsg("decode source fail, ret:" + std::to_string(errorCode));
1145 IMAGE_LOGE("[ImageSource]image decode plugin is null.");
1146 imageEvent.SetDecodeErrorMsg("image decode plugin is null.");
1162 IMAGE_LOGE("[ImageSource]set decode options error (index:%{public}u), ret:%{public}u.", index, errorCode);
1163 imageEvent.SetDecodeErrorMsg("set decode options error, ret:." + std::to_string(errorCode));
1218 IMAGE_LOGE("[ImageSource]decode source fail, ret:%{public}u.", errorCode);
1219 imageEvent.SetDecodeErrorMsg("decode source fail, ret:." + std::to_string(errorCode));
1262 // not ext decode, dump pixelMap while decoding svg here
1304 IMAGE_LOGD("[ImageSource]promote decode
[all...]

Completed in 14 milliseconds