Home
last modified time | relevance | path

Searched +defs:val +defs:bufferSize (Results 1 – 25 of 54) sorted by relevance

123

/ohos5.0/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/utils/
H A Dbit_reader.h35 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 Dnapi_message_sequence_read.cpp786 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 Didl_render.c50 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 Didl_capture.c123 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/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/daudio_output_test/
H A Ddaudio_output_test.cpp125 ValueType val; variable
134 ValueType val; variable
183 size_t bufferSize = 1024; variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dsoftbus_output_audio_test/
H A Ddsoftbus_output_audio_plugin_test.cpp75 ValueType val; variable
132 size_t bufferSize = 1024; variable
/ohos5.0/drivers/peripheral/audio/test/unittest/common/render/
H A Daudio_render_common_test.cpp64 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/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_statement.cpp138 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/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp299 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 …]
/aosp12/hardware/samsung/nfc/halimpl/src/
H A Dutil.cc93 long int val; in __get_config_int() local
160 int get_config_string(const char* field, char* strBuffer, size_t bufferSize) { in get_config_string()
/aosp12/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp90 size_t bufferSize = 1 * 1024 * 1024; // default buffer size is 1MB. in muxing() local
188 int32_t val; in muxing() local
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/source/video_capture/
H A Dvideo_capture_filter.cpp272 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 Daudio_capture_filter.cpp222 …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 Dserializer.c40 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 …]
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
H A DDvrStorageManager.java79 public boolean reachedStorageMax(long bufferSize, long pendingDelete) { in reachedStorageMax()
90 int val = in.readInt(); in readFormatInt() local
98 long val = in.readLong(); in readFormatLong() local
106 float val = in.readFloat(); in readFormatFloat() local
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
H A DDvrStorageManager.java79 public boolean reachedStorageMax(long bufferSize, long pendingDelete) { in reachedStorageMax()
90 int val = in.readInt(); in readFormatInt() local
98 long val = in.readLong(); in readFormatLong() local
106 float val = in.readFloat(); in readFormatFloat() local
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/pixelmap_ndk/
H A Dpixelmap_native.cpp78 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/arkui/napi/native_engine/
H A Dnative_engine.cpp323 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/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp231 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/distributedhardware/distributed_audio/common/src/
H A Ddaudio_util.cpp243 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()
/aosp12/frameworks/av/camera/
H A DCameraMetadata.cpp29 #define ALIGN_TO(val, alignment) \ argument
173 size_t CameraMetadata::bufferSize() const { in bufferSize() function in android::CameraMetadata
321 size_t bufferSize = get_camera_metadata_size(mBuffer); in updateImpl() local
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_base_render_util.cpp85 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()
/aosp12/hardware/qcom/audio/legacy/alsa_sound/
H A DAudioUsbALSA.cpp273 void AudioUsbALSA::setkillUsbRecordingThread(bool val){ in setkillUsbRecordingThread()
282 unsigned long bufferSize, reqBuffSize; in setHardwareParams() local
/ohos5.0/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_geolocation_permission.cpp89 size_t bufferSize = 0; in GetStringPara() local
411 napi_value val = nullptr; in GetOriginComplete() local
442 napi_value val = nullptr; in GetOriginsPromiseComplete() local
/aosp12/hardware/interfaces/camera/common/1.0/default/
H A DCameraMetadata.cpp33 #define ALIGN_TO(val, alignment) \ argument
307 size_t bufferSize = get_camera_metadata_size(mBuffer); in updateImpl() local

123