/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/src/ |
H A D | avcodec_audio_avbuffer_decoder_demo.cpp | 362 int32_t ret = OH_AudioCodec_RegisterCallback(audioDec_, cb_, signal_); in CreateDec() local 534 int ret; in InputFunc() local 654 int ret = OH_AVFormat_GetIntValue(sourceFormat, OH_MD_KEY_TRACK_COUNT, &g_trackCount); in CreatDeMuxer() local 725 OH_AVErrCode ret = OH_AudioCodec_Destroy(codec); Destroy() local 746 OH_AVErrCode ret = OH_AudioCodec_Stop(codec); Stop() local 752 OH_AVErrCode ret = OH_AudioCodec_Flush(codec); Flush() local 778 OH_AVErrCode ret = OH_AVBuffer_GetBufferAttr(buffer, &info); PushInputData() local 854 OH_AVErrCode ret = OH_AudioCodec_Configure(codec, format); Configure() local 869 OH_AVErrCode ret = OH_AudioCodec_SetParameter(codec, format); SetParameter() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/muxer/NativeAPI/ |
H A D | NativeAVMuxerStablityTest.cpp | 80 OH_AVErrCode ret = muxerDemo->NativeSetRotation(handle, rotation); in SetRotation() local 115 OH_AVErrCode ret = muxerDemo->NativeWriteSampleBuffer(handle, trackIndex, avMemBuffer, info); in WriteSampleBuffer() local 132 OH_AVErrCode ret = muxerDemo->NativeWriteSampleBuffer(handle, trackIndex, avBuffer); in WriteSampleBufferNew() local 199 int ret = 0; in ReadFile() local 223 int ret = 0; WriteTrackSample() local 420 int ret = 0; WriteSingleTrackSample() local 479 int ret = read(fdInput, (void *)data, info.size); WriteTrackCover() local 496 OH_AVErrCode ret; WriteByFormat() local 621 OH_AVErrCode ret = SetRotation(muxerDemo, handle); HWTEST_F() local 689 OH_AVErrCode ret = muxerDemo->NativeStart(handle); HWTEST_F() local 721 OH_AVErrCode ret = muxerDemo->NativeStart(handle); HWTEST_F() local 760 OH_AVErrCode ret = muxerDemo->NativeStart(handle); HWTEST_F() local 803 OH_AVErrCode ret = muxerDemo->NativeStart(handle); HWTEST_F() local 844 OH_AVErrCode ret = muxerDemo->NativeDestroy(handle); HWTEST_F() local 886 OH_AVErrCode ret; HWTEST_F() local 951 OH_AVErrCode ret; HWTEST_F() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/InnerAPI/ |
H A D | videodec_ndk_inner_sample.cpp | 192 int32_t ret = vdec_->Release(); in Release() local 235 int32_t ret = vdec_->Start(); in StartVideoDecoder() local 283 int32_t ret = CreateByName(codeName); in RunVideoDecoder() local 504 int32_t ret = PushData(buffer, index); InputFunc() local [all...] |
/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avsession_service_stub.cpp | 74 auto ret = CreateSessionInner(sessionTag, sessionType, *elementName, object); in HandleCreateSessionInner() local 94 int32_t ret = GetAllSessionDescriptors(descriptors); in HandleGetAllSessionDescriptors() local 109 int32_t ret = GetSessionDescriptorsBySessionId(data.ReadString(), descriptor); in HandleGetSessionDescriptorsById() local 129 int32_t ret = GetHistoricalSessionDescriptors(data.ReadInt32(), descriptors); in HandleGetHistoricalSessionDescriptors() local 198 int32_t ret = GetHistoricalAVQueueInfos(maxSize, maxAppSize, avQueueInfos); HandleGetHistoricalAVQueueInfos() local 245 int32_t ret = StartAVPlayback(bundleName, asserId); HandleStartAVPlayback() local 263 bool ret = IsAudioPlaybackAllowed(uid, pid); HandleIsAudioPlaybackAllowed() local 282 int32_t ret = CreateControllerInner(data.ReadString(), object); HandleCreateControllerInner() local 302 int32_t ret = GetAVCastControllerInner(data.ReadString(), object); HandleGetAVCastControllerInner() local 447 int32_t ret = RegisterClientDeathObserver(clientDeathObserver); HandleRegisterClientDeathObserver() local 463 int32_t ret = Close(); HandleClose() local 505 int32_t ret = CastAudio(token, sinkAudioDescriptors); HandleCastAudio() local 545 int32_t ret = CastAudioForAll(sinkAudioDescriptors); HandleCastAudioForAll() local 567 int32_t ret = ProcessCastAudioCommand(command, sessionInfo, output); HandleRemoteCastAudio() local 603 int32_t ret = AVRouter::GetInstance().StartCastDiscovery(castDeviceCapability, drmSchemes); HandleStartCastDiscovery() local 626 int32_t ret = AVRouter::GetInstance().StopCastDiscovery(); HandleStopCastDiscovery() local 651 int32_t ret = AVRouter::GetInstance().StartDeviceLogging(fd, maxSize); HandleStartDeviceLogging() local 674 int32_t ret = AVRouter::GetInstance().StopDeviceLogging(); HandleStopDeviceLogging() local 699 int32_t ret = AVSESSION_SUCCESS; HandleSetDiscoverable() local 798 int32_t ret = StartCast(sessionToken, outputDeviceInfo); HandleStartCast() local 827 int32_t ret = StopCast(sessionToken); HandleStopCast() local [all...] |
/foundation/multimedia/camera_framework/interfaces/inner_api/native/test/ |
H A D | camera_capture_mode.cpp | 270 int32_t ret = -1; in main() local [all...] |
/foundation/multimedia/image_effect/frameworks/native/utils/common/ |
H A D | common_utils.cpp | 377 int ret = exifMetadata->GetValue(key, strValue); in GetImagePropertyInt() local
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/include/ |
H A D | pixel_convert.h | 171 uint16_t ret = val1; in U8ToU16() local
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_format_convert_test.cpp | 172 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); in RgbConvertToYuv() local 224 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); in YuvConvertToRgb() local 288 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); YuvP010ConvertToRgb() local 328 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); Rgba1010102ConvertToYuvP010() local 387 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); RgbConvertToYuvByPixelMap() local 429 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); RgbConvertToYuvP010ByPixelMap() local 465 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); RgbConvertToYuvP010() local 1643 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); HWTEST_F() local 1666 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); HWTEST_F() local 1689 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); HWTEST_F() local 1780 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcPixelMap, destFormat); HWTEST_F() local 1795 uint32_t ret = ImageFormatConvert::ConvertImageFormat(srcDataInfo, destInfo); HWTEST_F() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | vpe_utils.cpp | 218 auto ret = MetadataManager::ConvertMetadataToVec(colorSpaceInfo, colorSpaceInfoVec);
in SetColorSpaceInfo() local 228 auto ret = buffer->GetMetadata(ATTRKEY_COLORSPACE_INFO, colorSpaceInfoVec);
in GetColorSpaceInfo() local 244 auto ret = SetColorSpaceInfo(buffer, colorSpaceInfo);
in SetSbColorSpaceType() local 270 auto ret in SetSbMetadataType() local 284 auto ret = buffer->GetMetadata(ATTRKEY_HDR_METADATA_TYPE, hdrMetadataTypeVec); GetSbMetadataType() local 455 auto ret = SetColorSpaceInfo(buffer, outputColorSpaceInfo); SetSbColorSpaceDefault() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/ |
H A D | heif_hw_decoder.cpp | 112 GSError ret = output->Alloc(config); in AllocateOutputBuffer() local 162 int32_t ret = heifDecoderImpl_->SetCallback(cb); in SetCallbackForDecoder() local 200 int32_t ret = heifDecoderImpl_->Configure(format); in ConfigureDecoder() local 214 int32_t ret = heifDecoderImpl_->SetOutputBuffer(output); SetOutputBuffer() local 226 GSError ret = surfaceBuffer->GetPlanesInfo(reinterpret_cast<void**>(&outputPlanes)); GetUvPlaneOffsetFromSurfaceBuffer() local 244 int ret = -1; DumpSingleInput() local 373 int32_t ret = heifDecoderImpl_->Release(); ReleaseDecoder() local 415 int ret = 0; DumpOutput() local 465 errno_t ret = memcpy_s(buffer->GetAddr(), static_cast<size_t>(buffer->GetCapacity()), one.data(), one.size()); PrepareInputCodecBuffer() local 479 bool ret = inputCond_.wait_for(lk, chrono::milliseconds(BUFFER_CIRCULATE_TIMEOUT_IN_MS), [this] { WaitForOmxToReturnInputBuffer() local 515 int32_t ret = heifDecoderImpl_->QueueInputBuffer(bufferId); SendInputBufferLoop() local 529 bool ret = outputCond_.wait_for(lk, chrono::milliseconds(BUFFER_CIRCULATE_TIMEOUT_IN_MS), [this] { WaitForOmxToReturnOutputBuffer() local 547 errno_t ret = EOK; CopyRawYuvData() local 632 int32_t ret = heifDecoderImpl_->ReleaseOutputBuffer(bufferId); ReceiveOutputBufferLoop() local [all...] |
/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/ |
H A D | demuxer_filter.cpp | 486 ErrorCode ret = ErrorCode::SUCCESS; in PrepareStreams() local 510 auto ret in GetTrackMeta() local [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/minimp4_demuxer/ |
H A D | minimp4_demuxer_plugin.cpp | 219 auto ret = memmove_s(inIoBuffer_,
in GetDataFromSource() local 481 auto ret = reg->AddPlugin(regInfo);
in RegisterPlugins() local
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/aac_demuxer/ |
H A D | aac_demuxer_plugin.cpp | 160 int ret = AudioDemuxerAACPrepare(inIoBuffer_, ioDataRemainSize_, &aacDemuxerRst_);
in GetMediaInfo() local
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/video_decoder/ |
H A D | video_ffmpeg_decoder_plugin.cpp | 281 auto ret = memcpy_s(avCodecContext_->extradata, configSize, codecConfig.data(), configSize); in SetCodecExtraData() local 310 Status ret = Status::OK; in CloseCodecContext() local 400 Status ret; in Stop() local 440 Status ret; in QueueInputBuffer() local 481 auto ret = avcodec_send_packet(avCodecContext_.get(), avPacket_.get()); SendBufferLocked() local 712 auto ret = ScaleVideoFrame(); FillFrameBuffer() local 751 auto ret = avcodec_receive_frame(avCodecContext_.get(), cachedFrame_.get()); ReceiveBufferLocked() local [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/audio_server_sink/ |
H A D | audio_server_sink_plugin.cpp | 313 auto ret = audioRenderer_->SetParams(rendererParams_); in Prepare() local 372 bool ret = false; in Start() local 690 int32_t ret = audioRenderer_->SetVolume(volume); in SetVolume() local 740 int32_t ret in Write() local [all...] |
/foundation/multimedia/media_foundation/src/filter/ |
H A D | filter.cpp | 94 Status ret = DoPrepare(); in PrepareDone() local 135 Status ret = DoStart(); in StartDone() local 145 auto ret in Pause() local 160 auto ret = DoPauseDragging(); PauseDragging() local 175 Status ret = DoPause(); PauseDone() local 208 Status ret = DoResume(); ResumeDone() local 242 auto ret = StopDone(); Stop() local 257 Status ret = DoStop(); StopDone() local 301 Status ret = DoRelease(); ReleaseDone() local 320 Status ret = DoPreroll(); Preroll() local 337 Status ret = Status::OK; WaitPrerollDone() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/jpeg_yuv_decoder/ |
H A D | jpeg_decoder_yuv.cpp | 88 bool ret = false; in IsSupportedSubSample() local 346 int ret = DoDecodeToYuvPlane(context, dehandle, outwidth, outheight); in DoDecode() local 410 int ret = tjDecompressHeader3(dehandle, in DecodeHeader() local 435 int ret in DoDecodeToYuvPlane() local 490 int ret = tjDecompressToYUVPlanes(dehandle, DecodeFrom420To420() local 545 int ret = JpegYuvDecodeError_ConvertError; ConvertFrom4xx() local 609 int ret = I400ToI420_wrapper(srcPlaneInfo, dest); ConvertFromGray() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | exif_maker_note.cpp | 125 auto ret = GetValue(value, exifData, item, mock);
in GetValue() local 145 auto ret = GetValue(value, exifContent, item, mock);
in GetValue() local 172 auto ret = GetValue(value, exifEntry, item, mock);
in GetValue() local 475 bool ret = ParserIFD(ifd0_offset_, HW_MNOTE_IFD_DEFAULT);
in ParserHwMakerNote() local 667 std::string ret; Dump() local [all...] |
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/ |
H A D | ffmpeg_demuxer_plugin.cpp | 407 int ret = avformat_open_input(&formatContext, nullptr, pluginImpl_.get(), nullptr); in InitAVFormatContext() local 436 int ret = avcodec_parameters_to_context(codecContext.get(), avStream.codecpar); in InitCodecContext() local 491 auto ret = avformat_find_stream_info(formatContext, nullptr); in ParseMediaData() local
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/muxer/ |
H A D | ffmpeg_muxer_plugin.cpp | 240 auto ret = SetCodecOfTrack(fmt, stream, meta); in SetTagsOfTrack() local 264 auto ret = memcpy_s(stream->codecpar->extradata, extraSize, codecConfig.data(), extraSize); in SetTagsOfTrack() local 445 int ret = avformat_write_header(formatContext_.get(), nullptr); in WriteHeader() local 473 auto ret = av_write_frame(formatContext_.get(), cachePacket_.get()); WriteFrame() local 489 int ret = av_write_trailer(formatContext_.get()); WriteTrailer() local [all...] |
/foundation/multimedia/media_foundation/services/media_monitor/server/src/ |
H A D | media_audio_encoder.cpp | 226 int32_t ret = SUCCESS; in Init() local 300 int32_t ret = ParseAudioArgs(filename, config); GetAudioConfig() local 308 int32_t ret = SUCCESS; InitMux() local 350 int32_t ret = SUCCESS; InitAudioEncode() local 392 int32_t ret = apiWrap_->FrameGetBuffer(avFrame_.get(), 0); InitFrame() local 424 int32_t ret = sampleConvert_->Init(param); InitSampleConvert() local 459 int32_t ret = SUCCESS; WritePcm() local 476 int32_t ret = SUCCESS; WriteFrame() local [all...] |
/foundation/multimedia/av_codec/test/moduletest/audio_encoder/Common/src/ |
H A D | AudioEncoderDemoCommon.cpp | 133 OH_AVErrCode ret = OH_AudioEncoder_Start(codec); in NativeStart() local 337 int32_t ret = AVCS_ERR_OK; in NativeInputFunc() local 449 OH_AVErrCode ret = OH_AudioEncoder_FreeOutputData(audioEnc_, index); in NativeOutputFunc() local 795 OH_AVErrCode ret = OH_AudioEncoder_FreeOutputData(audioEnc_, index); TestOutputFunc() local 915 int32_t ret = inneraudioEnc_->Start(); InnerStartWithThread() local 949 int32_t ret = inneraudioEnc_->Flush(); InnerFlush() local 1008 int ret = InnerRelease(); InnerDestroy() local 1109 int32_t ret = AVCS_ERR_OK; InnerInputFunc() local [all...] |
/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_controller_test.cpp | 116 auto ret = AVSessionManager::GetInstance().CreateController(avsession_->GetSessionId(), controller_); in SetUp() local 123 [[maybe_unused]] int32_t ret = AVSESSION_ERROR; in TearDown() local 811 auto ret = controller_->SendControlCommand(command); HWTEST_F() local 834 int ret = controller_->SendCommonCommand(commonCommand, commandArgs); HWTEST_F() local 854 int ret = controller_->SendCommonCommand(commonCommand, commandArgs); HWTEST_F() local 1236 auto ret = AVSessionManager::GetInstance().CreateController(avsession_->GetSessionId(), controller2); HWTEST_F() local [all...] |
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | profession_session_napi.cpp | 888 int ret = uv_queue_work_with_qos(loop, work, [] (uv_work_t* work) {}, [] (uv_work_t* work, int status) {
in OnExposureInfoChangedCallbackAsync() local 942 int ret = uv_queue_work_with_qos(loop, work, [] (uv_work_t* work) {}, [] (uv_work_t* work, int status) {
in OnIsoInfoChangedCallbackAsync() local 995 int ret = uv_queue_work_with_qos(loop, work, [] (uv_work_t* work) {}, [] (uv_work_t* work, int status) {
in OnApertureInfoChangedCallbackAsync() local 1049 int ret = uv_queue_work_with_qos(loop, work, [] (uv_work_t* work) {}, [] (uv_work_t* work, int status) {
in OnLuminationInfoChangedCallbackAsync() local
|
H A D | time_lapse_photo_session_napi.cpp | 333 int32_t ret = obj->timeLapsePhotoSession_->IsTryAENeeded(needed);
in IsTryAENeeded() local 357 int32_t ret = obj->timeLapsePhotoSession_->StartTryAE();
in StartTryAE() local 380 int32_t ret = obj->timeLapsePhotoSession_->StopTryAE();
in StopTryAE() local 403 int32_t ret = obj->timeLapsePhotoSession_->GetSupportedTimeLapseIntervalRange(range);
in GetSupportedTimeLapseIntervalRange() local 433 int32_t ret in GetTimeLapseInterval() local 457 int32_t ret = obj->timeLapsePhotoSession_->SetTimeLapseInterval(interval); SetTimeLapseInterval() local 480 int32_t ret = obj->timeLapsePhotoSession_->SetTimeLapseRecordState(static_cast<TimeLapseRecordState>(state)); SetTimeLapseRecordState() local 503 int32_t ret = obj->timeLapsePhotoSession_->SetTimeLapsePreviewType(static_cast<TimeLapsePreviewType>(type)); SetTimeLapsePreviewType() local 527 int32_t ret = obj->timeLapsePhotoSession_->GetExposure(exposure); GetExposure() local 551 int32_t ret = obj->timeLapsePhotoSession_->SetExposure(exposure); SetExposure() local 574 int32_t ret = obj->timeLapsePhotoSession_->GetSupportedExposureRange(range); GetSupportedExposureRange() local 604 int32_t ret = obj->timeLapsePhotoSession_->GetSupportedMeteringModes(modes); GetSupportedMeteringModes() local 633 int32_t ret = obj->timeLapsePhotoSession_->IsExposureMeteringModeSupported( IsExposureMeteringModeSupported() local 656 int32_t ret = obj->timeLapsePhotoSession_->GetExposureMeteringMode(mode); GetExposureMeteringMode() local 680 int32_t ret = obj->timeLapsePhotoSession_->SetExposureMeteringMode(static_cast<MeteringMode>(mode)); SetExposureMeteringMode() local 704 int32_t ret = obj->timeLapsePhotoSession_->GetIso(iso); GetIso() local 728 int32_t ret = obj->timeLapsePhotoSession_->SetIso(iso); SetIso() local 751 int32_t ret = obj->timeLapsePhotoSession_->IsManualIsoSupported(supported); IsManualIsoSupported() local 775 int32_t ret = obj->timeLapsePhotoSession_->GetIsoRange(range); GetIsoRange() local 809 int32_t ret = obj->timeLapsePhotoSession_->IsWhiteBalanceModeSupported( IsWhiteBalanceModeSupported() local 834 int32_t ret = obj->timeLapsePhotoSession_->GetWhiteBalanceRange(range); GetWhiteBalanceRange() local 864 int32_t ret = obj->timeLapsePhotoSession_->GetWhiteBalanceMode(mode); GetWhiteBalanceMode() local 888 int32_t ret = obj->timeLapsePhotoSession_->SetWhiteBalanceMode(static_cast<WhiteBalanceMode>(mode)); SetWhiteBalanceMode() local 911 int32_t ret = obj->timeLapsePhotoSession_->GetWhiteBalance(balance); GetWhiteBalance() local 935 int32_t ret = obj->timeLapsePhotoSession_->SetWhiteBalance(balance); SetWhiteBalance() local 1129 int ret = uv_queue_work_with_qos(loop, work, [] (uv_work_t* work) {}, OnTryAEInfoChangedCallbackAsync() local [all...] |