Home
last modified time | relevance | path

Searched refs:MAX_BUFFER_SIZE (Results 1 - 25 of 41) sorted by relevance

12

/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/
H A Daudio_speed.cpp27 static const int32_t MAX_BUFFER_SIZE = 100000; member
118 static_cast<unsigned char*>(outBuffer.get()), MAX_BUFFER_SIZE); in ChangeSpeedFor8Bit()
134 MAX_BUFFER_SIZE); in ChangeSpeedFor16Bit()
145 if (bufferSize <= 0 || bufferSize > MAX_BUFFER_SIZE) { in ChangeSpeedFor24Bit()
156 float *speedBuf = new (std::nothrow) float[MAX_BUFFER_SIZE]; in ChangeSpeedFor24Bit()
175 if (bufferSize <= 0 || bufferSize > MAX_BUFFER_SIZE) { in ChangeSpeedFor32Bit()
186 float *speedBuf = new (std::nothrow) float[MAX_BUFFER_SIZE]; in ChangeSpeedFor32Bit()
208 int32_t outSamples = sonicReadFloatFromStream(sonicStream_, outBuffer, MAX_BUFFER_SIZE); in ChangeSpeedForFloat()
/foundation/arkui/napi/utils/
H A Dlog.cpp50 constexpr uint32_t MAX_BUFFER_SIZE = 4096; variable
61 char buf[MAX_BUFFER_SIZE] = { '\0' }; in PrintLog()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/log/
H A Dlogger.cpp68 constexpr const size_t MAX_BUFFER_SIZE = 1024; member
147 char buffer[MAX_BUFFER_SIZE]; in VLogAssert()
148 const int numWritten = vsnprintf_s(buffer, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE - 1, format.data(), args); in VLogAssert()
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dextra_data.h29 static constexpr int32_t MAX_BUFFER_SIZE = 1024; member
/foundation/multimedia/av_codec/test/unittest/hls_test/
H A Dhls_media_downloader_unit_test.h42 constexpr uint32_t MAX_BUFFER_SIZE = 20 * 1024 * 1024; member
H A Dhls_media_downloader_unit_test.cpp227 hlsMediaDownloader->totalBufferSize_ = MAX_BUFFER_SIZE; in HWTEST_F()
229 EXPECT_EQ(hlsMediaDownloader->totalBufferSize_, MAX_BUFFER_SIZE); in HWTEST_F()
744 downloader->totalBufferSize_ = MAX_BUFFER_SIZE; in HWTEST_F()
746 EXPECT_EQ(downloader->totalBufferSize_, MAX_BUFFER_SIZE); in HWTEST_F()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/
H A Dlocal_data_source.h34 Cache(int64_t pos, int64_t capacity = MAX_BUFFER_SIZE);
55 static const int MAX_BUFFER_SIZE = 5 * 1024 * 1024; // 5MB member in OHOS::CastEngine::CastEngineService::final
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/
H A Dlocal_data_source.h34 Cache(int64_t pos, int64_t capacity = MAX_BUFFER_SIZE);
55 static const int MAX_BUFFER_SIZE = 5 * 1024 * 1024; // 5MB member in OHOS::CastEngine::CastEngineService::final
/foundation/ability/dmsfwk/test/fuzztest/dschedtransportsoftbusadapter_fuzzer/
H A Ddschedtransportsoftbusadapter_fuzzer.cpp26 constexpr uint32_t MAX_BUFFER_SIZE = 80 * 1024 * 1024; member
65 if ((data == nullptr) || (size < sizeof(size_t)) || size >= MAX_BUFFER_SIZE) { in FuzzConnectDevice()
102 if ((data == nullptr) || (size < sizeof(size_t)) || size >= MAX_BUFFER_SIZE) { in FuzzOnDataReady()
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsSocketBranchTest.cpp45 static constexpr const size_t MAX_BUFFER_SIZE = 8192; member
280 char buffer[MAX_BUFFER_SIZE]; in HWTEST_F()
281 bzero(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
282 int recvSslNull = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
289 int recv = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
/foundation/communication/netstack/test/unittest/tls_test/client/
H A DTlsSocketBranchTest.cpp45 static constexpr const size_t MAX_BUFFER_SIZE = 8192; member
280 char buffer[MAX_BUFFER_SIZE]; in HWTEST_F()
281 bzero(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
282 int recvSslNull = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
289 int recv = tlsSocketInternal->Recv(buffer, MAX_BUFFER_SIZE); in HWTEST_F()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/http/
H A Dhttp_media_downloader.cpp35 constexpr int MAX_BUFFER_SIZE = 19 * 1024 * 1024;
101 } else if (totalBufferSize > MAX_BUFFER_SIZE) { in InitRingBuffer()
104 totalBufferSize, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE); in InitRingBuffer()
105 ringBuffer_ = std::make_shared<RingBuffer>(MAX_BUFFER_SIZE); in InitRingBuffer()
106 totalBufferSize_ = MAX_BUFFER_SIZE; in InitRingBuffer()
126 } else if (totalBufferSize > MAX_BUFFER_SIZE) { in InitCacheBuffer()
129 totalBufferSize, MAX_BUFFER_SIZE, MAX_BUFFER_SIZE); in InitCacheBuffer()
130 cacheMediaBuffer_->Init(MAX_BUFFER_SIZE, CHUNK_SIZ in InitCacheBuffer()
[all...]
/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dipc_test_helper.cpp30 static const int MAX_BUFFER_SIZE = 1024; member
94 char buf[MAX_BUFFER_SIZE]; in GetPidByName()
125 if (fgets(buf, MAX_BUFFER_SIZE - 1, fp) == nullptr) { in GetPidByName()
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/
H A Dreference_parser_demo.cpp34 constexpr int32_t MAX_BUFFER_SIZE = 8294400; member
86 buffer_ = AVBuffer::CreateAVBuffer(allocator, MAX_BUFFER_SIZE); in InitScene()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_framebuffer_surface.h60 static constexpr uint32_t MAX_BUFFER_SIZE = 3; member in OHOS::Rosen::HdiFramebufferSurface
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/
H A Dhdiframebuffersurface_test.cpp72 ASSERT_EQ(hdiFramebufferSurface_->GetBufferQueueSize(), HdiFramebufferSurface::MAX_BUFFER_SIZE); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_framebuffer_surface.cpp59 ret = fbSurface->SetBufferQueueSize(MAX_BUFFER_SIZE); in CreateFramebufferSurface()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dlocal_data_source.cpp177 if (capacity > MAX_BUFFER_SIZE || capacity <= 0) { in Cache()
178 capacity = MAX_BUFFER_SIZE; in Cache()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dlocal_data_source.cpp176 if (capacity > MAX_BUFFER_SIZE || capacity <= 0) { in Cache()
177 capacity = MAX_BUFFER_SIZE; in Cache()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/include/
H A Da2dp_codec_constant.h25 #define MAX_BUFFER_SIZE 19200 macro
/foundation/distributedhardware/distributed_camera/services/data_process/include/pipeline_node/multimedia_codec/decoder/
H A Ddecode_data_process.h103 constexpr static int32_t MAX_BUFFER_SIZE = 1920 * 1080 * 4 * 2; member in OHOS::DistributedHardware::DecodeDataProcess
/foundation/graphic/graphic_2d/frameworks/vulkan_layers/swapchain_layer/
H A Dswapchain_layer.cpp74 constexpr uint32_t MAX_BUFFER_SIZE = SURFACE_MAX_QUEUE_SIZE; member
289 } images[MAX_BUFFER_SIZE];
727 if (numImages > MAX_BUFFER_SIZE) { in SetWindowQueueSize()
729 numImages, MAX_BUFFER_SIZE); in SetWindowQueueSize()
1333 uint32_t defaultQueueSize = MAX_BUFFER_SIZE; in GetPhysicalDeviceSurfaceCapabilitiesKHR()
1351 capabilities->maxImageCount = std::max(defaultQueueSize, MAX_BUFFER_SIZE); in GetPhysicalDeviceSurfaceCapabilitiesKHR()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_surface.cpp29 constexpr int32_t MAX_BUFFER_SIZE = 3; member
413 if (availableBuffers_.size() >= MAX_BUFFER_SIZE) { in DrawBuffer()
/foundation/communication/netstack/interfaces/innerkits/tls_socket/include/
H A Dtls_socket_server.h455 static constexpr const size_t MAX_BUFFER_SIZE = 8192; member in OHOS::NetStack::TlsSocketServer::TLSSocketServer
/foundation/communication/netstack/frameworks/js/napi/tls/src/
H A Dtls_socket_server.cpp1276 char buffer[MAX_BUFFER_SIZE]; in RecvRemoteInfo()
1277 if (memset_s(buffer, MAX_BUFFER_SIZE, 0, MAX_BUFFER_SIZE) != EOK) { in RecvRemoteInfo()
1281 int len = it->second->Recv(buffer, MAX_BUFFER_SIZE); in RecvRemoteInfo()

Completed in 21 milliseconds

12