| /foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
| H A D | hcodec.h | 178 virtual int32_t OnConfigureBuffer(std::shared_ptr<AVBuffer> buffer) { return AVCS_ERR_UNSUPPORT; } in OnConfigureBuffer() argument [all...] |
| H A D | hencoder.cpp | 245 int32_t HEncoder::OnConfigureBuffer(std::shared_ptr<AVBuffer> buffer) in OnConfigureBuffer() argument 793 sptr<SurfaceBuffer> buffer; ClearDirtyList() local [all...] |
| H A D | hdecoder.cpp | 775 std::vector<HCodec::BufferInfo>::iterator HDecoder::FindBelongTo(sptr<SurfaceBuffer>& buffer) in FindBelongTo() argument 912 sptr<SurfaceBuffer> buffer = SurfaceBuffer::Create(); BufferDynamicModeSubmitBuffer() local [all...] |
| /foundation/multimedia/av_codec/services/media_engine/plugins/source/ |
| H A D | file_fd_source_plugin.cpp | 156 Status FileFdSourcePlugin::Read(std::shared_ptr<Buffer>& buffer, uint64_t offset, size_t expectedLen) in Read() argument 161 Status FileFdSourcePlugin::Read(int32_t streamId, std::shared_ptr<Buffer>& buffer, uint64_t offset, size_t expectedLen) in Read() argument 171 Status FileFdSourcePlugin::ReadOfflineFile(int32_t streamId, std::shared_ptr<Buffer>& buffer, in ReadOfflineFile() argument 195 ReadOnlineFile(int32_t streamId, std::shared_ptr<Buffer>& buffer, uint64_t offset, size_t expectedLen) ReadOnlineFile() argument 642 GetBufferPtr(std::shared_ptr<Buffer>& buffer, size_t expectedLen) GetBufferPtr() argument 709 DeleteCacheBuffer(char* buffer, size_t bufferSize) DeleteCacheBuffer() argument [all...] |
| /foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
| H A D | rs_uni_render_visitor_test.cpp | 478 const auto& buffer = node->GetRSSurfaceHandler()->GetBuffer(); in HWTEST_F() local 507 auto& buffer = node->surfaceHandler_->buffer_.buffer; in HWTEST_F() local 542 auto& buffer = node->surfaceHandler_->buffer_.buffer; in HWTEST_F() local 1361 const sptr<SurfaceBuffer>& buffer = surfaceNode->GetRSSurfaceHandler()->GetBuffer(); HWTEST_F() local [all...] |
| H A D | rs_round_corner_display_test.cpp | 1028 std::shared_ptr<uint8_t> buffer = std::make_shared<uint8_t>(10000); in HWTEST_F() local
|
| H A D | rs_main_thread_test.cpp | 1975 sptr<SurfaceBuffer> buffer; in HWTEST_F() local
|
| /foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/unittest/renderer_test/src/ |
| H A D | audio_renderer_unit_test.cpp | 139 void AudioRendererUnitTest::ReleaseBufferAndFiles(uint8_t* &buffer, uint8_t* &metaBuffer, in ReleaseBufferAndFiles() argument 158 auto buffer = std::make_unique<uint8_t[]>(bufferLen); in StartRenderThread() local 1767 uint8_t *buffer in HWTEST() local 127 GetBuffersAndLen(unique_ptr<AudioRenderer> &audioRenderer, uint8_t *&buffer, uint8_t *&metaBuffer, size_t &bufferLen) GetBuffersAndLen() argument 1820 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 1852 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 1886 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 1924 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 1963 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 2003 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 2041 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 2111 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 2148 uint8_t *buffer; HWTEST() local 2195 uint8_t *buffer; HWTEST() local 2235 uint8_t *buffer; HWTEST() local 2275 uint8_t *buffer = new uint8_t[bufferLen]; HWTEST() local 2319 uint8_t *buffer = new uint8_t[bufferLen]; HWTEST() local 2360 uint8_t *buffer; HWTEST() local 2401 uint8_t *buffer; HWTEST() local 2442 uint8_t *buffer; HWTEST() local 2484 uint8_t *buffer; HWTEST() local 2526 uint8_t *buffer; HWTEST() local 2594 uint8_t *buffer; HWTEST() local 2637 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 2847 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3030 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3070 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3225 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3373 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3554 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3615 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 3764 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 4032 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 5715 auto buffer = std::make_unique<uint8_t[]>(bufferSize); HWTEST() local 6301 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 6361 uint8_t *buffer = nullptr; HWTEST() local 6419 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local 6568 uint8_t *buffer = (uint8_t *) malloc(bufferLen); HWTEST() local [all...] |
| /foundation/multimedia/av_codec/services/media_engine/modules/sink/ |
| H A D | audio_sink.cpp | 519 bool AudioSink::UpdateTimeAnchorIfNeeded(const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) in UpdateTimeAnchorIfNeeded() argument 547 int64_t AudioSink::DoSyncWrite(const std::shared_ptr<OHOS::Media::AVBuffer>& buffer) in DoSyncWrite() argument [all...] |
| /foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/ |
| H A D | gltf2_util.cpp | 112 BufferLoadResult LoadBuffer(Data const& data, Buffer& buffer, IFileManager& fileManager) in LoadBuffer() argument 1074 Buffer* buffer = data.buffers[i].get(); LoadBuffers() local 1186 Buffer* buffer = buffers[i].get(); ReleaseBuffers() local [all...] |
| /foundation/graphic/graphic_surface/surface/src/ |
| H A D | native_window.cpp | 155 void DestroyNativeWindowBuffer(OHNativeWindowBuffer* buffer)
in DestroyNativeWindowBuffer() argument 207 int32_t NativeWindowFlushBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer,
in NativeWindowFlushBuffer() argument 163 NativeWindowRequestBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer, int *fenceFd) NativeWindowRequestBuffer() argument 259 GetLastFlushedBuffer(OHNativeWindow *window, OHNativeWindowBuffer **buffer, int *fenceFd, float matrix[16]) GetLastFlushedBuffer() argument 279 NativeWindowAttachBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer) NativeWindowAttachBuffer() argument 288 NativeWindowDetachBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer) NativeWindowDetachBuffer() argument 297 NativeWindowCancelBuffer(OHNativeWindow *window, OHNativeWindowBuffer *buffer) NativeWindowCancelBuffer() argument 525 GetBufferHandleFromNative(OHNativeWindowBuffer *buffer) GetBufferHandleFromNative() argument 768 GetLastFlushedBufferV2(OHNativeWindow *window, OHNativeWindowBuffer **buffer, int *fenceFd, float matrix[16]) GetLastFlushedBufferV2() argument [all...] |
| H A D | consumer_surface.cpp | 91 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument 107 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, sptr<SyncFence>& fence, in AcquireBuffer() argument 125 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, const sptr<SyncFence>& fence) in ReleaseBuffer() argument 133 GSError ConsumerSurface::AcquireBuffer(sptr<SurfaceBuffer>& buffer, int32_t& fence, in AcquireBuffer() argument 146 GSError ConsumerSurface::ReleaseBuffer(sptr<SurfaceBuffer>& buffer, int32_ argument 152 AttachBufferToQueue(sptr<SurfaceBuffer> buffer) AttachBufferToQueue() argument 161 DetachBufferFromQueue(sptr<SurfaceBuffer> buffer) DetachBufferFromQueue() argument 170 AttachBuffer(sptr<SurfaceBuffer>& buffer) AttachBuffer() argument 178 AttachBuffer(sptr<SurfaceBuffer>& buffer, int32_t timeOut) AttachBuffer() argument 186 DetachBuffer(sptr<SurfaceBuffer>& buffer) DetachBuffer() argument 642 GetSurfaceBufferTransformType(sptr<SurfaceBuffer> buffer, GraphicTransformType *transformType) GetSurfaceBufferTransformType() argument 660 AcquireLastFlushedBuffer(sptr<SurfaceBuffer> &buffer, sptr<SyncFence> &fence, float matrix[16], uint32_t matrixSize, bool isUseNewMatrix) AcquireLastFlushedBuffer() argument 666 ReleaseLastFlushedBuffer(sptr<SurfaceBuffer> buffer) ReleaseLastFlushedBuffer() argument [all...] |
| /foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
| H A D | audio_stream_info.h | 629 uint8_t *buffer; member
|
| /foundation/multimedia/audio_framework/frameworks/native/audioutils/test/unittest/ |
| H A D | audio_utils_unit_test.cpp | 607 int32_t buffer[10] = {0}; in HWTEST() local 621 int32_t buffer[10] = {2, 3, 2, 3, 2, 3, 2, 3, 2, 3}; in HWTEST() local 637 int32_t buffer[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in HWTEST() local 655 int32_t buffer[10] = {0, 1, 0, 1, 0, 1, 0, 1, 0, 1 }; in HWTEST() local 2328 uint8_t buffer[0] = {}; HWTEST() local 2564 uint32_t buffer[10] = {0}; HWTEST() local 2719 uint8_t buffer[10] = {0}; HWTEST() local 2735 uint8_t buffer[10] = {2, 3, 2, 3, 2, 3, 2, 3, 2, 3}; HWTEST() local 2751 uint8_t buffer[10] = {2, 3, 2, 3, 2, 3, 2, 3, 2, 3}; HWTEST() local [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
| H A D | rs_uni_render_composer_adapter.cpp | 131 const auto& buffer = surfaceHandler->GetBuffer(); // we guarantee the buffer is valid. in BuildComposeInfo() local 188 const auto& buffer = node.GetBuffer(); // we guarantee the buffer is valid. in BuildComposeInfo() local 273 sptr<SurfaceBuffer> buffer = displayDrawable.GetRSSurfaceHandlerOnDraw()->GetBuffer(); SetBufferColorSpace() local 313 SetMetaDataInfoToLayer(const LayerInfoPtr& layer, const sptr<SurfaceBuffer>& buffer, const sptr<IConsumerSurface>& surface) const SetMetaDataInfoToLayer() argument 792 const auto& buffer = surfaceHandler->GetBuffer(); BuildComposeInfo() local 862 const auto& buffer = params->GetBuffer(); BuildComposeInfo() local 922 const auto& buffer = surfaceHandler->GetBuffer(); CheckStatusBeforeCreateLayer() local 959 const auto& buffer = params->GetBuffer(); CheckStatusBeforeCreateLayer() local 1011 const auto& buffer = layer->GetBuffer(); LayerScaleDown() local 1079 const auto& buffer = layer->GetBuffer(); LayerScaleDown() local 1147 const auto& buffer = layer->GetBuffer(); LayerScaleFit() local 1263 const auto& buffer = layer->GetBuffer(); CreateBufferLayer() local 1325 const auto& buffer = layer->GetBuffer(); CreateBufferLayer() local [all...] |
| H A D | rs_composer_adapter.cpp | 204 auto buffer = layerInfo->GetBuffer(); in DumpLayersToFile() local 385 const auto& buffer = surfaceHandler->GetBuffer(); BuildComposeInfo() local 406 const auto& buffer = surfaceHandler->GetBuffer(); // we guarantee the buffer is valid. BuildComposeInfo() local 508 const auto buffer = node.GetRSSurfaceHandler()->GetBuffer(); CheckStatusBeforeCreateLayer() local 778 const auto& buffer = layer->GetBuffer(); LayerScaleDown() local 838 const auto& buffer = layer->GetBuffer(); LayerPresentTimestamp() local [all...] |
| /foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/params/ |
| H A D | rs_render_params.h | 245 virtual void SetBuffer(const sptr<SurfaceBuffer>& buffer, const Rect& damageRect) {} in SetBuffer() argument
|
| /foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
| H A D | rs_main_thread_unit_test.cpp | 1971 sptr<SurfaceBuffer> buffer; in HWTEST_F() local
|
| /foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
| H A D | hdi_device_impl.cpp | 254 int32_t HdiDeviceImpl::SetScreenClientBuffer(uint32_t screenId, const BufferHandle *buffer, uint32_t cacheIndex, in SetScreenClientBuffer() argument
|
| H A D | hdi_output.cpp | 398 bool HdiOutput::CheckAndUpdateClientBufferCahce(sptr<SurfaceBuffer> buffer, uint32_t& index) in CheckAndUpdateClientBufferCahce() argument [all...] |
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
| H A D | jpg_yuv_test.cpp | 189 const uint8_t *buffer = nullptr; in DecodeToYuv() local 254 const uint8_t *buffer = nullptr; in YuvRotate() local 289 const uint8_t *buffer = nullptr; in YuvCrop() local 334 const uint8_t *buffer = nullptr; in YuvWriteConvert() local 368 const uint8_t *buffer = nullptr; in ScaleYuv420() local 400 const uint8_t *buffer = nullptr; ResizeYuv420() local 450 const uint8_t *buffer = nullptr; FlipYuv420() local 483 const uint8_t *buffer = nullptr; TranslateYuv420() local 516 const uint8_t *buffer = nullptr; ReadYuv420() local 551 const uint8_t *buffer = nullptr; WriteYuv420() local 584 const uint8_t *buffer = nullptr; WritesYuv420() local 647 const uint8_t *buffer = nullptr; YuvP010Crop() local 686 const uint8_t *buffer = nullptr; YuvP010Rotate() local 727 const uint8_t *buffer = nullptr; ScaleYuv420P010() local 765 const uint8_t *buffer = nullptr; ResizeYuv420P010() local 807 const uint8_t *buffer = nullptr; FlipYuv420P010() local 847 const uint8_t *buffer = nullptr; TranslateYuv420P010() local 887 const uint8_t *buffer = nullptr; RGBA1010102Crop() local 924 const uint8_t *buffer = nullptr; RGBA1010102Rotate() local 963 const uint8_t *buffer = nullptr; RGBA1010102Scale() local 1000 const uint8_t *buffer = nullptr; RGBA1010102Resize() local 1041 const uint8_t *buffer = nullptr; RGBA1010102Flip() local 1080 const uint8_t *buffer = nullptr; RGBA1010102Translate() local 1477 const uint8_t *buffer = nullptr; ApplyColorSpaceYuv420() local [all...] |
| /foundation/multimedia/image_framework/frameworks/kits/js/common/ |
| H A D | image_creator_napi.cpp | 476 OHOS::sptr<OHOS::SurfaceBuffer> buffer; in TestAcquireBuffer() local 723 char *buffer = static_cast<char *>(malloc((bufLength + 1) * sizeof(char))); in CheckOnParam0() local [all...] |
| /foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
| H A D | gif_encoder.cpp | 646 uint32_t GifEncoder::LZWEncode(uint8_t *buffer, int length) in LZWEncode() argument
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
| H A D | image_source_test.cpp | 169 uint8_t *buffer = static_cast<uint8_t *>(malloc(bufferSize));
in HWTEST_F() local 336 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(bufferSize));
in HWTEST_F() local 386 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(bufferSize));
in HWTEST_F() local 513 uint8_t *buffer in HWTEST_F() local 812 uint8_t *buffer = nullptr; HWTEST_F() local 831 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(bufferSize)); HWTEST_F() local 849 uint8_t *buffer = nullptr; HWTEST_F() local [all...] |
| /foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/texture_encode/ |
| H A D | astc_codec.cpp | 687 void AstcCodec::WriteAstcExtendInfo(uint8_t *buffer, uint32_t offset, AstcExtendInfo &extendInfo) in AstcSoftwareEncodeCore() argument 387 TryAstcEncBasedOnCl(TextureEncodeOptions ¶m, uint8_t *inData, uint8_t *buffer, const std::string &clBinPath) AstcSoftwareEncodeCore() argument
|