/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/ |
H A D | bit_reader.h | 35 BitReader(const T* buffer, size_t bufferSize) : BitReader(buffer, buffer + bufferSize) in BitReader() 48 bool ReadBits(uint8_t bits, T& val) in ReadBits() 78 bool PeekBits(uint8_t bits, T& val) in PeekBits() 85 void Reset(const T* buffer, size_t bufferSize) in Reset()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/napi_common/source/ |
H A D | napi_message_sequence_read.cpp | 786 napi_value val = nullptr; in JS_readStringArray() local 803 napi_value val = nullptr; in JS_readStringArray() local 1078 size_t bufferSize = static_cast<size_t>(arraySize); in JS_ReadRawDataBuffer() local 1190 size_t bufferSize = int8Vector.size(); in JS_readInt8ArrayBuffer() local 1201 size_t bufferSize = uint8Vector.size(); in JS_readUInt8ArrayBuffer() local 1212 size_t bufferSize = int16Vector.size() * BYTE_SIZE_16; in JS_readInt16ArrayBuffer() local 1223 size_t bufferSize = uint16Vector.size() * BYTE_SIZE_16; in JS_readUInt16ArrayBuffer() local 1234 size_t bufferSize = int32Vector.size() * BYTE_SIZE_32; in JS_readInt32ArrayBuffer() local 1245 size_t bufferSize = uint32Vector.size() * BYTE_SIZE_32; in JS_readUInt32ArrayBuffer() local 1256 size_t bufferSize = floatVector.size() * BYTE_SIZE_32; in JS_readFloatArrayBuffer() local [all …]
|
/ohos5.0/drivers/peripheral/audio/test/sample/ |
H A D | idl_render.c | 50 int32_t bufferSize; member 328 int32_t bufferSize = param->bufferSize; in FrameStart() local 375 uint64_t bufferSize = 0; in InitPlayingAudioParam() local 754 int32_t val; in SetRenderMute() local 788 float val = 0.0; in SetRenderVolume() local 831 float val = 1.0; in GetRenderGain() local 910 int val = 0; in SelectAttributesFomat() local 1010 int32_t val = 0; in PrintRenderSelectPinFirst() local 1037 int32_t val = 0; in PrintRenderSelectPinSecond() local 1065 int32_t val = 0; in PrintRenderSelectPinThird() local [all …]
|
H A D | idl_capture.c | 123 static int32_t CheckInputName(int type, void *val) in CheckInputName() 335 uint32_t bufferSize = BUFFER_PERIOD_SIZE; in FrameStartCapture() local 338 uint32_t bufferSize = AUDIO_BUFF_SIZE; in FrameStartCapture() local 567 uint32_t bufferSize = PcmFramesToBytes(g_attrs); in RecordingAudioInitCapture() local 816 int32_t val = 0; in SetCaptureMute() local 850 float val = 0.5; in SetCaptureVolume() local 892 float val = 1.0; in SetCaptureGain() local 978 int val = 0; in SelectAttributesFomat() local 1079 int32_t val = 0; in PrintCaptureSelectPin() local 1108 int32_t val = 0; in SelectCaptureScene() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/ |
H A D | rs_marshalling_helper.cpp | 299 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const Drawing::Bitmap& val) in Marshalling() 313 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Bitmap& val) in Unmarshalling() 470 std::shared_ptr<Drawing::Image>& val, void*& imagepixelAddr) in UnmarshallingNoLazyGeneratedImage() 639 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, Drawing::Matrix& val) in Unmarshalling() 971 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const EmitterConfig& val) in Marshalling() 991 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, EmitterConfig& val) in Unmarshalling() 1039 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, ParticleVelocity& val) in Unmarshalling() 1546 bool RSMarshallingHelper::Marshalling(Parcel& parcel, const RRectT<float>& val) in Marshalling() 1552 bool RSMarshallingHelper::Unmarshalling(Parcel& parcel, RRectT<float>& val) in Unmarshalling() 2252 uint32_t bufferSize = parcel.ReadUint32(); in ReadFromParcel() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/daudio_output_test/ |
H A D | daudio_output_test.cpp | 125 ValueType val; variable 134 ValueType val; variable 183 size_t bufferSize = 1024; variable
|
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | sqlite_statement.cpp | 138 constexpr int bufferSize = 4; in ReadFile2Buffer() local 231 ValueObject val; in Bind() local 598 auto val = std::get_if<int64_t>(&arg); in BindInteger() local 607 auto val = std::get_if<double>(&arg); in BindDouble() local 616 auto val = std::get_if<std::string>(&arg); in BindText() local 625 auto val = std::get_if<bool>(&arg); in BindBool() local 634 auto val = std::get_if<std::vector<uint8_t>>(&arg); in BindBlob() local 647 auto val = std::get_if<Asset>(&arg); in BindAsset() local 657 auto val = std::get_if<Assets>(&arg); in BindAssets() local 667 auto val = std::get_if<Floats>(&object); in BindFloats() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dsoftbus_output_audio_test/ |
H A D | dsoftbus_output_audio_plugin_test.cpp | 75 ValueType val; variable 132 size_t bufferSize = 1024; variable
|
/ohos5.0/drivers/peripheral/audio/test/unittest/common/render/ |
H A D | audio_render_common_test.cpp | 64 uint64_t bufferSize = 0; in GetRenderBufferSize() local 602 float val = 0.0; variable 608 float val = 0.0; variable 849 uint64_t bufferSize = BUFFER_LENTH; variable 859 uint64_t bufferSize = BUFFER_LENTH; variable
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/video_capture/ |
H A D | video_capture_filter.cpp | 272 uint64_t bufferSize = 0; in ReadLoop() local 341 auto val = info->extra[PLUGIN_INFO_EXTRA_INPUT_TYPE]; in FindPlugin() local
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/audio_capture/ |
H A D | audio_capture_filter.cpp | 222 …ilter::PickPreferSampleFmt(const std::shared_ptr<Plugin::Meta>& meta, const Plugin::ValueType& val) in PickPreferSampleFmt() 382 uint64_t bufferSize = 0; in ReadLoop() local 546 auto val = info->extra[PLUGIN_INFO_EXTRA_INPUT_TYPE]; in FindPlugin() local
|
/ohos5.0/foundation/communication/ipc/ipc/native/c/manager/src/ |
H A D | serializer.c | 40 void IpcIoInit(IpcIo *io, void *buffer, size_t bufferSize, size_t maxobjects) in IpcIoInit() 805 bool WriteBoolVector(IpcIo *io, const bool *val, size_t size) in WriteBoolVector() 825 bool WriteInt8Vector(IpcIo *io, const int8_t *val, size_t size) in WriteInt8Vector() 849 bool WriteInt16Vector(IpcIo *io, const int16_t *val, size_t size) in WriteInt16Vector() 869 bool WriteInt32Vector(IpcIo *io, const int32_t *val, size_t size) in WriteInt32Vector() 893 bool WriteInt64Vector(IpcIo *io, const int64_t *val, size_t size) in WriteInt64Vector() 917 bool WriteUInt8Vector(IpcIo *io, const uint8_t *val, size_t size) in WriteUInt8Vector() 941 bool WriteUInt16Vector(IpcIo *io, const uint16_t *val, size_t size) in WriteUInt16Vector() 1013 bool WriteFloatVector(IpcIo *io, const float *val, size_t size) in WriteFloatVector() 1037 bool WriteDoubleVector(IpcIo *io, const double *val, size_t size) in WriteDoubleVector() [all …]
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/ |
H A D | pixelmap_native.cpp | 78 static PIXEL_FORMAT ParsePixelForamt(int32_t val) in ParsePixelForamt() 87 static PIXELMAP_ALPHA_TYPE ParseAlphaType(int32_t val) in ParseAlphaType() 488 …OH_PixelmapNative_ReadPixels(OH_PixelmapNative *pixelmap, uint8_t *destination, size_t *bufferSize) in OH_PixelmapNative_ReadPixels() 497 …Code OH_PixelmapNative_WritePixels(OH_PixelmapNative *pixelmap, uint8_t *source, size_t bufferSize) in OH_PixelmapNative_WritePixels() 506 …PixelmapNative_GetArgbPixels(OH_PixelmapNative *pixelmap, uint8_t *destination, size_t *bufferSize) in OH_PixelmapNative_GetArgbPixels()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/ |
H A D | pixel_map.cpp | 231 int32_t bufferSize = pixelMap->GetByteCount(); in CheckPixelmap() local 716 int32_t bufferSize = dstPixelMap.GetByteCount(); in UpdatePixelsAlpha() local 815 int32_t bufferSize = dstPixelMap.GetByteCount(); in SourceCropAndConvert() local 958 int32_t bufferSize = source.GetByteCount(); in CopyPixelMap() local 1516 uint32_t PixelMap::ReadPixels(const uint64_t &bufferSize, uint8_t *dst) in ReadPixels() 1568 uint32_t PixelMap::ReadARGBPixels(const uint64_t &bufferSize, uint8_t *dst) in ReadARGBPixels() 2025 uint8_t *PixelMap::ReadHeapDataFromParcel(Parcel &parcel, int32_t bufferSize) in ReadHeapDataFromParcel() 2094 uint8_t *PixelMap::ReadImageData(Parcel &parcel, int32_t bufferSize) in ReadImageData() 2383 int32_t bufferSize = rowDataSize_ * imageInfo_.size.height; in Marshalling() local 2526 AllocatorType &allocatorType, int32_t &bufferSize, PIXEL_MAP_ERR &error) in ReadPropertiesFromParcel() [all …]
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_engine.cpp | 323 auto val = LocalValueFromJsValue(asyncResourceName); in CreateAsyncWork() local 374 size_t bufferSize, in SubEncodeToUtf8() 397 void NativeEngine::EncodeToUtf8(napi_value value, char* buffer, int32_t* written, size_t bufferSize… in EncodeToUtf8() 611 bool NativeEngine::CallGetAssetFunc(const std::string& uri, uint8_t** buffer, size_t* bufferSize, in CallGetAssetFunc() 904 bool NativeEngine::GetAbcBuffer(const char* path, uint8_t **buffer, size_t* bufferSize, in GetAbcBuffer()
|
/ohos5.0/foundation/distributedhardware/distributed_audio/common/src/ |
H A D | daudio_util.cpp | 243 std::string val; in GetAudioParamBool() local 256 std::string val = "0"; in GetAudioParamInt() local 566 void DumpFileUtil::WriteDumpFile(FILE *dumpFile, void *buffer, size_t bufferSize) in WriteDumpFile()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_base_render_util.cpp | 85 inline Vector3f ApplyTransForm(const Vector3f& val, const PixelTransformFunc& func) in ApplyTransForm() 540 float RGBUint8ToFloat(uint8_t val) in RGBUint8ToFloat() 546 float RGBUint10ToFloat(uint16_t val) in RGBUint10ToFloat() 551 uint8_t RGBFloatToUint8(float val) in RGBFloatToUint8() 557 uint16_t RGBFloatToUint10(float val) in RGBFloatToUint10() 660 uint32_t bufferSize = srcBuf->GetSize(); in ConvertBufferColorGamut() local 750 int32_t bufferSize = static_cast<int32_t>(srcBuf->GetSize()); in ConvertYUV420SPToRGBA() local 1234 Gravity gravity, const RectF& bufferSize, const RectF& bounds) in GetGravityMatrix()
|
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/ |
H A D | napi_geolocation_permission.cpp | 89 size_t bufferSize = 0; in GetStringPara() local 411 napi_value val = nullptr; in GetOriginComplete() local 442 napi_value val = nullptr; in GetOriginsPromiseComplete() local
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/ |
H A D | fcodec.cpp | 174 int32_t val = 0; in ConfigureSurface() local 260 double val = 0; in Configure() local 528 int32_t val = 0; in SetSurfaceParameter() local 746 int32_t FCodec::UpdateBuffers(uint32_t index, int32_t bufferSize, uint32_t bufferType) in UpdateBuffers()
|
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/vsnprintf/ |
H A D | output_p.inl | 32 #define SECUREC_MUL10_ADD_BEYOND_MAX(val) (((val) > SECUREC_INT_MAX_DIV_TEN)) argument 423 int bufferSize = 0; /* size of formatBuf.str */ local
|
/ohos5.0/drivers/peripheral/audio/test/benchmarktest/render/ |
H A D | audio_render_benchmarktest.cpp | 72 uint64_t bufferSize = 0; in GetRenderBufferSize() local 572 float val = 0.0; in BENCHMARK_F() local 757 uint64_t bufferSize = BUFFER_LENTH; in BENCHMARK_F() local
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/ |
H A D | js_url.cpp | 355 std::string val = ""; in DealIpv4() local 553 int val = 0; in BinaryConversion() local 636 int val = stoi(num); in SplitNum() local 1906 size_t bufferSize = 0; in IsHas() local 1933 size_t bufferSize = 0; in Set() local
|
/ohos5.0/base/hiviewdfx/hilog_lite/frameworks/featured/ |
H A D | hiview_log.c | 108 #define SECUREC_MUL10_ADD_BEYOND_MAX(val) (((val) > SECUREC_INT_MAX_DIV_TEN)) argument 557 int bufferSize = 0; /* size of formatBuf.str */ in HiLogSecOutputS() local
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 811 Local<JSValueRef> val = obj->Get(vm, key); in GetProperty() local 895 Local<panda::JSValueRef> val = LocalValueFromJsValue(propertyDescriptor.value); in NapiDefinePropertyInner() local 947 Local<panda::JSValueRef> val = panda::JSValueRef::Undefined(vm); in NapiCreateObjectWithProperties() local 2485 bool ArkNativeEngine::IsValidScriptBuffer(uint8_t* scriptBuffer, size_t bufferSize) in IsValidScriptBuffer() 2602 napi_value ArkNativeEngine::RunActor(uint8_t* buffer, size_t bufferSize, in RunActor()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
H A D | gltf2_loader.cpp | 132 uint32_t val; in DecodeUri() local 688 const auto bufferSize = bufferView->byteLength - byteOffset; in ValidateAccessor() local 2582 const auto& val = extension.string_; in PrimitiveAttributes() local 2604 const auto& val = extension.string_; in PrimitiveAttributes() local
|