Home
last modified time | relevance | path

Searched refs:videoCap (Results 1 - 3 of 3) sorted by relevance

/foundation/multimedia/av_codec/test/unittest/codeclist_test/inner/
H A Dcodeclist_inner_mock.cpp175 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capabilityData_); in IsVideoSizeSupported() local
176 return videoCap->IsSizeSupported(width, height); in IsVideoSizeSupported()
184 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capabilityData_); in GetVideoFrameRateRange() local
185 auto ret = videoCap->GetSupportedFrameRate(); in GetVideoFrameRateRange()
195 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capabilityData_); in GetVideoFrameRateRangeForSize() local
196 return videoCap->GetSupportedFrameRatesFor(width, height); in GetVideoFrameRateRangeForSize()
205 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capabilityData_); in AreVideoSizeAndFrameRateSupported() local
206 return videoCap->IsSizeAndRateSupported(width, height, frameRate); in AreVideoSizeAndFrameRateSupported()
/foundation/multimedia/av_codec/frameworks/native/capi/common/
H A Dnative_avcapability.cpp470 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capability->capabilityData_); in OH_AVCapability_IsVideoSizeSupported() local
471 return videoCap->IsSizeSupported(width, height); in OH_AVCapability_IsVideoSizeSupported()
484 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capability->capabilityData_); in OH_AVCapability_GetVideoFrameRateRange() local
485 const auto &frameRate = videoCap->GetSupportedFrameRate(); in OH_AVCapability_GetVideoFrameRateRange()
502 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capability->capabilityData_); in OH_AVCapability_GetVideoFrameRateRangeForSize() local
503 const auto &frameRate = videoCap->GetSupportedFrameRatesFor(width, height); in OH_AVCapability_GetVideoFrameRateRangeForSize()
519 std::shared_ptr<VideoCaps> videoCap = std::make_shared<VideoCaps>(capability->capabilityData_); in OH_AVCapability_AreVideoSizeAndFrameRateSupported() local
520 return videoCap->IsSizeAndRateSupported(width, height, frameRate); in OH_AVCapability_AreVideoSizeAndFrameRateSupported()
/foundation/multimedia/av_codec/services/media_engine/filters/
H A Ddecoder_surface_filter.cpp861 std::shared_ptr<MediaAVCodec::VideoCaps> videoCap = std::make_shared<MediaAVCodec::VideoCaps>(capabilityData); in ParseDecodeRateLimit() local
862 FALSE_RETURN_MSG(videoCap != nullptr, "failed to get videoCap instance"); in ParseDecodeRateLimit()
863 const MediaAVCodec::Range &frameRange = videoCap->GetSupportedFrameRatesFor(width, height); in ParseDecodeRateLimit()

Completed in 4 milliseconds