| /foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
| H A D | media_audio_encoder.cpp | 190 uint8_t *buffer = reinterpret_cast<uint8_t *>(malloc(bufferLen)); in EncodePcmToFlac() local 444 int32_t MediaAudioEncoder::FillFrameFromBuffer(const uint8_t *buffer, size_t size) in FillFrameFromBuffer() argument 457 WritePcm(const uint8_t *buffer, size_t size) WritePcm() argument [all...] |
| /foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/ |
| H A D | AudioEncoderDemoCommon.cpp | 349 auto buffer = signal_->inBufferQueue_.front(); in NativeInputFunc() local 1090 auto buffer = innersignal_->inInnerBufQueue_.front(); in InnerInputFunc() local 1147 auto buffer = innersignal_->outInnerBufQueue_.front(); InnerOutputFunc() local 1363 OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) OnInputBufferAvailable() argument 1375 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument [all...] |
| /foundation/multimedia/camera_lite/services/impl/src/ |
| H A D | camera_device.cpp | 277 static int32_t CopyCodecOutput(uint8_t *dst, uint32_t *size, CodecBuffer *buffer) in CopyCodecOutput() argument [all...] |
| /foundation/multimedia/image_effect/frameworks/native/capi/ |
| H A D | image_effect_filter.cpp | 678 const char **buffer = (const char **)malloc(matchEFilter.size() * sizeof(const char *)); in OH_EffectFilter_LookupFilters() local
|
| /foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapisetparameter_fuzzer/ |
| H A D | audioencoderdemo.cpp | 573 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local
|
| /foundation/multimedia/av_codec/test/unittest/filter_test/ |
| H A D | decoder_surface_filter_unit_test.cpp | 112 void OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnInputBufferAvailable() argument 130 void OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) in OnOutputBufferAvailable() argument
|
| /foundation/multimedia/av_codec/test/unittest/video_test/video_test/common/include/ |
| H A D | sample_info.h | 146 uintptr_t *buffer = nullptr;
member
|
| /foundation/multimedia/drm_framework/frameworks/js/drm_napi/ |
| H A D | media_key_system_napi.cpp | 190 char buffer[PATH_MAX];
in IsMediaKeySystemSupported() local 1054 char buffer[PATH_MAX];
in SetEventCallback() local 1094 char buffer[PATH_MAX]; UnsetEventCallback() local [all...] |
| /foundation/multimedia/av_codec/test/fuzztest/audioencoderpreapidescription_fuzzer/ |
| H A D | audioencoderdemo.cpp | 573 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local
|
| /foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
| H A D | tester_common.cpp | 636 sptr<SurfaceBuffer> buffer; in OnBufferAvailable() local
|
| /foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
| H A D | video_output_napi.cpp | 387 char buffer[PATH_MAX]; in AttachMetaSurface() local
|
| /foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
| H A D | NativeAVMuxerFunctionTest.cpp | 77 unsigned char buffer[100] = { 0 }; in AddAudioTrack() local 105 unsigned char buffer[100] = { 0 }; in AddVideoTrack() local 273 unsigned char buffer[100] = { 0 }; in AddAudioTrackByFd() local 300 unsigned char buffer[10 in AddAudioTrackAACByFd() local 326 unsigned char buffer[100] = { 0 }; AddVideoTrackByFd() local 561 unsigned char buffer[100] = { 0 }; AddVideoTrackH264ByFd() local [all...] |
| /foundation/multimedia/av_codec/test/moduletest/muxer/InnerAPI/ |
| H A D | InnerAVMuxerFunctionTest.cpp | 138 unsigned char buffer[10 in RemoveHeader() local 442 unsigned char buffer[100] = {0}; RunMuxer() local [all...] |
| /foundation/multimedia/av_codec/test/unittest/audio_test/ |
| H A D | audio_decoder_capi_unit_test.cpp | 279 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local 504 char buffer[dataSize]; in Configure() local 1851 uint8_t buffer[1]; in HWTEST_F() local 1864 uint8_t buffer[1]; HWTEST_F() local [all...] |
| H A D | audio_encoder_avbuffer_capi_unit_test.cpp | 135 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnInputBufferAvailable() argument 145 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *buffer, void *userData) in OnOutputBufferAvailable() argument 266 auto buffer in InputFunc() local [all...] |
| H A D | audio_encoder_capi_unit_test.cpp | 211 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local
|
| H A D | audio_decoder_ability_unit_test.cpp | 324 auto buffer = signal_->inBufferQueue_.front(); in InputFunc() local 495 char buffer[extradataSize]; in InitFile() local
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
| H A D | exif_metadata.cpp | 330 void *buffer = exif_mem_alloc(exifMem, valueLen); in CreateEntry() local
|
| /foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
| H A D | videodec_ndk_sample.cpp | 77 sptr<SurfaceBuffer> buffer; variable 142 bool VDecNdkSample::MdCompare(unsigned char *buffer, int len, const char *source[]) in MdCompare() argument 394 void VDecNdkSample::WriteOutputFrame(uint32_t index, OH_AVMemory *buffer, OH_AVCodecBufferAttr attr, FILE *outFile) in WriteOutputFrame() argument 440 OH_AVMemory *buffer = signal_->outBufferQueue_.front(); in OutputFunc() local 507 int32_t VDecNdkSample::ReadData(uint32_t index, OH_AVMemory *buffer) in ReadData() argument 539 SendData(uint32_t bufferSize, uint32_t index, OH_AVMemory *buffer) SendData() argument 608 auto buffer = signal_->inBufferQueue_.front(); InputFunc_AVCC() local 638 auto buffer = signal_->inBufferQueue_.front(); InputFunc_FUZZ() local [all...] |
| /foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/InnerAPI/ |
| H A D | videodec_ndk_inner_sample.cpp | 85 sptr<SurfaceBuffer> buffer; variable 110 void VDecInnerCallback::OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVSharedMemory> buffer) in OnInputBufferAvailable() argument 352 int32_t VDecNdkInnerSample::ReadData(std::shared_ptr<AVSharedMemory> buffer, uint32_t index) in ReadData() argument 124 OnOutputBufferAvailable(uint32_t index, AVCodecBufferInfo info, AVCodecBufferFlag flag, std::shared_ptr<AVSharedMemory> buffer) OnOutputBufferAvailable() argument 385 SendData(uint32_t bufferSize, uint32_t index, std::shared_ptr<AVSharedMemory> buffer) SendData() argument 557 auto buffer = signal_->inBufferQueue_.front(); InputFunc() local 600 std::shared_ptr<AVSharedMemory> buffer = signal_->outBufferQueue_.front(); OutputFunc() local 636 ProcessOutputData(uint32_t index, AVCodecBufferInfo info, std::shared_ptr<AVSharedMemory> buffer, FILE *file) ProcessOutputData() argument 714 MdCompare(unsigned char *buffer, int len, const char *source[]) MdCompare() argument [all...] |
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/picture/ |
| H A D | picture.cpp | 144 static CM_ColorSpaceType GetCMColorSpaceType(sptr<SurfaceBuffer> buffer) in GetCMColorSpaceType() argument
|
| /foundation/multimedia/av_codec/services/services/codec/ipc/ |
| H A D | codec_listener_stub.cpp | 39 std::shared_ptr<AVBuffer> buffer = nullptr; member 175 void AVBufferToAVSharedMemory(const std::shared_ptr<AVBuffer> &buffer, std::shared_ptr<AVSharedMemory> &memory) in AVBufferToAVSharedMemory() argument 391 OnInputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) OnInputBufferAvailable() argument 397 OnOutputBufferAvailable(uint32_t index, std::shared_ptr<AVBuffer> buffer) OnOutputBufferAvailable() argument 452 std::shared_ptr<AVBuffer> &buffer = elem.buffer; OnOutputBufferAvailable() local 502 std::shared_ptr<AVBuffer> &buffer = elem.buffer; WriteInputMemoryToParcel() local 521 std::shared_ptr<AVBuffer> &buffer = elem.buffer; WriteInputBufferToParcel() local [all...] |
| /foundation/multimedia/av_codec/test/nativedemo/avmuxer/ |
| H A D | native_avmuxer_demo.c | 105 unsigned char buffer[CONFIG_BUFFER_SIZE] = {0}; in AddTrackAudio() local 145 unsigned char buffer[CONFIG_BUFFER_SIZE] = {0}; in AddTrackVideo() local 189 static bool UpdateWriteBufferInfo(int fd, OH_AVMemory **buffer, OH_AVCodecBufferAttr *info) in UpdateWriteBufferInfo() argument 234 OH_AVMemory *buffer = NULL; WriteSingleTrackSample() local [all...] |
| /foundation/multimedia/image_effect/test/unittest/ |
| H A D | TestUtils.cpp | 246 std::shared_ptr<EffectBuffer> buffer = std::make_unique<EffectBuffer>(bufferinfo, addr, extrainfo); in HWTEST_F() local 286 void *buffer = malloc(size); in AllocBuffer() local
|
| /foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/ |
| H A D | recorder_mock.cpp | 388 OHOS::sptr<OHOS::SurfaceBuffer> buffer; in HDICreateESBuffer() local 443 OHOS::sptr<OHOS::SurfaceBuffer> buffer; HDICreateYUVBufferError() local 485 OHOS::sptr<OHOS::SurfaceBuffer> buffer; HDICreateYUVBuffer() local [all...] |