/ohos5.0/foundation/multimedia/player_framework/frameworks/native/capi/player/ |
H A D | native_avplayer.cpp | 536 avFormat->format_.PutIntValue(OH_PLAYER_BITRATE, bitRate); in OnBitRateDoneCb() 592 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnPositionUpdateCb() 607 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnVolumeChangeCb() 647 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnVideoSizeChangedCb() 679 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnBufferingUpdateCb() 704 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnBitRateCollectedCb() 726 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnAudioInterruptCb() 740 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnDurationUpdateCb() 753 reinterpret_cast<OH_AVFormat *>(avFormat.GetRefPtr())); in OnNotifyIsLiveStream() 794 avFormat->format_.PutIntValue(OH_PLAYER_SUBTITLE_PTS, pts); in OnSubtitleInfoCb() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avsource/ |
H A D | native_avsource.cpp | 133 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AVSource_GetSourceFormat() local 134 CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Format is nullptr"); in OH_AVSource_GetSourceFormat() 135 avFormat->format_ = format; in OH_AVSource_GetSourceFormat() 137 return avFormat; in OH_AVSource_GetSourceFormat() 153 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AVSource_GetTrackFormat() local 154 CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Format is nullptr"); in OH_AVSource_GetTrackFormat() 155 avFormat->format_ = format; in OH_AVSource_GetTrackFormat() 157 return avFormat; in OH_AVSource_GetTrackFormat()
|
/ohos5.0/foundation/multimedia/media_foundation/src/capi/ |
H A D | native_avbuffer.cpp | 100 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AVBuffer_GetParameter() local 101 if (!avFormat->format_.SetMeta(buffer->buffer_->meta_)) { in OH_AVBuffer_GetParameter() 103 OH_AVFormat_Destroy(avFormat); in OH_AVBuffer_GetParameter() 104 avFormat = nullptr; in OH_AVBuffer_GetParameter() 106 return avFormat; in OH_AVBuffer_GetParameter()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/capi/ |
H A D | videodec_capi_mock.cpp | 186 OH_AVFormat *avFormat = formatMock->GetFormat(); in Configure() local 187 if (avFormat != nullptr) { in Configure() 188 return OH_VideoDecoder_Configure(codec_, avFormat); in Configure()
|
H A D | videoenc_capi_mock.cpp | 218 OH_AVFormat *avFormat = formatMock->GetFormat(); in Configure() local 219 if (avFormat != nullptr) { in Configure() 220 return OH_VideoEncoder_Configure(codec_, avFormat); in Configure()
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/avcodec/ |
H A D | native_video_encoder.cpp | 613 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_VideoEncoder_GetOutputDescription() local 614 …CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Video encoder get output description faile… in OH_VideoEncoder_GetOutputDescription() 615 avFormat->format_ = format; in OH_VideoEncoder_GetOutputDescription() 617 return avFormat; in OH_VideoEncoder_GetOutputDescription() 852 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_VideoEncoder_GetInputDescription() local 853 …CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Video encoder get input description failed… in OH_VideoEncoder_GetInputDescription() 854 avFormat->format_ = format; in OH_VideoEncoder_GetInputDescription() 856 return avFormat; in OH_VideoEncoder_GetInputDescription()
|
H A D | native_audio_codec.cpp | 390 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AudioCodec_GetOutputDescription() local 391 CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "audioCodec OH_AVFormat_Create failed!"); in OH_AudioCodec_GetOutputDescription() 392 avFormat->format_ = format; in OH_AudioCodec_GetOutputDescription() 394 return avFormat; in OH_AudioCodec_GetOutputDescription()
|
H A D | native_audio_decoder.cpp | 410 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AudioDecoder_GetOutputDescription() local 411 CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "audioCodec OH_AVFormat_Create failed!"); in OH_AudioDecoder_GetOutputDescription() 412 avFormat->format_ = format; in OH_AudioDecoder_GetOutputDescription() 414 return avFormat; in OH_AudioDecoder_GetOutputDescription()
|
H A D | native_audio_encoder.cpp | 408 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AudioEncoder_GetOutputDescription() local 409 CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "audioCodec OH_AVFormat_Create failed!"); in OH_AudioEncoder_GetOutputDescription() 410 avFormat->format_ = format; in OH_AudioEncoder_GetOutputDescription() 412 return avFormat; in OH_AudioEncoder_GetOutputDescription()
|
H A D | native_video_decoder.cpp | 594 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_VideoDecoder_GetOutputDescription() local 595 …CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Video decoder get output description faile… in OH_VideoDecoder_GetOutputDescription() 596 avFormat->format_ = format; in OH_VideoDecoder_GetOutputDescription() 598 return avFormat; in OH_VideoDecoder_GetOutputDescription()
|
/ohos5.0/foundation/multimedia/av_codec/frameworks/native/capi/common/ |
H A D | native_avcapability.cpp | 545 OH_AVFormat *avFormat = OH_AVFormat_Create(); in OH_AVCapability_GetFeatureProperties() local 546 …CHECK_AND_RETURN_RET_LOG(avFormat != nullptr, nullptr, "Get feature properties failed: create OH_A… in OH_AVCapability_GetFeatureProperties() 547 avFormat->format_ = format; in OH_AVCapability_GetFeatureProperties() 548 return avFormat; in OH_AVCapability_GetFeatureProperties()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert_utils.cpp | 71 auto avFormat = findPixelFormat(format); in CalcRGBStride() local 72 switch (avFormat) { in CalcRGBStride()
|